@charset "UTF-8";

:root {
    /* font family */
    --font-family-main: "Zen Kaku Gothic New", sans-serif;
    --font-family-accent: "Jost", sans-serif;
    --font-family-sub: "Noto Sans JP", sans-serif;
    /* color */
    --color-main-text: #202020;
    --color-sub-text: #ffffff;
    --color-accent-1: #E62F2B;
    --color-title-gradient: linear-gradient(45deg, #DA3E3B 0%, #FF7341 50%, #FBA681 100%);
    /* font size */
    --h1-font-size: 3rem;
    --h1-font-size-sp: 2.3rem;
    --h1-font-size-en: 1.1rem;
    --h1-font-size-en-sp: 0.8rem;
    --h2-font-size: 2.5rem;
    --h2-font-size-sp: 1.8rem;
    --h2-font-size-en: 1.3rem;
    --h2-font-size-en-sp: 0.9rem;
    --h3-font-size: 1.8rem;
    --h3-font-size-sp: 1.4rem;
    --h3-font-size-en: 0.9rem;
    --main-text-font-size: 1rem;
    --small-text-font-size: 0.9rem;
    /* height */
    --main-text-line-height: 1.75;
    /* gradient */
    --vivid01: linear-gradient(45deg, #FB3F3C 0%, #FF7745 50%, #FBA681 100%);
    --orange03: linear-gradient(to right, #F57504, #FBA55A);
}

body {
    color: var(--color-main-text);
    font-size: 100%;
    font-weight: 500;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ~~~~~~~~~~~~~~~~~~~~
index
~~~~~~~~~~~~~~~~~~~~~~ */
.about__inner {
    background-image: url(../images/about_bg_main.png);
    background-position: bottom;
    background-size: cover;
}

.about__container {
    display: flex;
    gap: 5.5%;
    margin-bottom: 17.64%;
}

.about__text {
    padding-top: 100px;
    width: 520px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.about__cards {
    margin-top: 80px;
}

.about__card {
    margin-bottom: 40px;
    padding: 40px 60px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(67, 67, 67, 0.1);
}

.about__card--title {
    color: var(--color-accent-1);
    font-size: 1.1rem;
}

.about__card-header {
    margin-bottom: 20px;
    position: relative;
}

.about__card-label {
    color: #e74c3c;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.about__card-label-en {
    color: #e74c3c;
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

.about__card-content {
    margin-top: 20px;
}

.about__card-title {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 10px;
}

.about__card-text {
    font-size: var(--main-text-font-size);
    line-height: 1.8;
    margin-top: 20px;
}

.about__card-list ul {
    padding-left: 20px;
}

.about__card-list li {
    margin-bottom: 8px;
    font-weight: bold;
}

.about__image {
    width: 500px;
    padding-top: 120px;
    height: auto;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
}

.about__image img {
    width: 100%;
    height: auto;
}

.about__contact {
    background-color: #fff;
}

.about__links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin-bottom: 9.7%;
}

.about__link img {
    box-shadow: 0px 4px 10px rgba(67, 67, 67, 0.1);
}

/* ~~~~~~~~~~~~~~~~~~~
attempt
~~~~~~~~~~~~~~~~~~~ */

.attempt {
    background-image: url(../images/about_attempt_bg.png);
    background-position: top;
    background-size: cover;
}

.attempt__inner {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.attempt__container {
    padding-top: 80px;
    padding: 80px 0 60px;
    width: 95%;
}

.attempt__content {
    display: flex;
    gap: 10%;
}

.attempt__content--reverse {
    flex-direction: row-reverse;
}

.attempt__image-wrapper {
    width: 440px;
    height: auto;
    flex-shrink: 0;
}

.attempt__image {
    width: 100%;
    height: auto;
    display: block;
}

.attempt__content-block {
    margin-bottom: 20px;
}

.attempt__title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 28px;
    letter-spacing: 0;
}

.attempt__text {
    font-size: 18px;
    margin-bottom: 28px;
    line-height: 1.77;
    font-family: var(--font-family-sub);
    letter-spacing: 0;
    font-weight: 400;
}

.attempt__text p {
    margin-bottom: 15px;
}

.attempt__text p:last-child {
    margin-bottom: 0;
}

.attempt__qualifications {
    background-color: #fff;
    padding: 24px;
}

.attempt__qualifications-title {
    font-size: 18px;
    font-weight: bold;
    color: #DA3E3B;
    padding-left: 16px;
    margin-bottom: 16px;
    position: relative;
}

.attempt__qualifications-title::before {
    content: '';
    width: 1px;
    height: 28px;
    background-color: #DA3E3B;
    position: absolute;
    left: 0;
}

.attempt__qualifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attempt__qualifications-list li {
    font-size: var(--main-text-font-size);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0;
}

.attempt__dot {
    color: #DA3E3B;
}

/* ~~~~~~~~~~~~~~~~~~~~
message
~~~~~~~~~~~~~~~~~~~~~~ */
.message {
    padding: 80px 0;
    background-color: #fff;
}

.message__inner {
    display: flex;
    max-width: 1105px;
    width: 100%;
    gap: 4.5%;
    padding: 0;
}

.message__content {
    width: 580px;
}

.message__highlight {
    margin-bottom: 20px;
}

.message__highlight--line2 {
    margin-bottom: 58px;
    position: relative;
    right: -50%;
}

.message__highlight-title {
    display: inline-block;
    padding: 14px 20px;
    color: white;
    font-size: 2.2rem;
    font-weight: bold;
    background: var(--vivid01);
}

.message__text-block {
    margin-bottom: 60px;
}

.message__text {
    font-size: var(--main-text-font-size);
    line-height: var(--main-text-line-height);
    margin-bottom: 1.5em;
    font-weight: 500;
}

.message__text:last-child {
    margin-bottom: 0;
}

.message__sign {
    max-width: 197px;
    width: 100%;
    text-align: left;
    margin-left: auto;
    margin-top: 20px;
}

.message__date {
    font-size: 1rem;
    margin-bottom: 5px;
}

.message__position {
    font-size: var(--main-text-font-size);
    line-height: var(--main-text-line-height);
    font-weight: 500;
}

.message__image {
    flex: 48;
    flex-shrink: 0;
    width: 400px;
}

.message__image img {
    width: 100%;
    height: auto;
}

.recruit__container {
    padding-block: 20px 100px;
}

.recruit__links {
    display: flex;
    gap: 20px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .message-hero__content {
        margin-top: 20px;
    }
    .message-hero__content  .hero__title {
        margin-bottom: 0;
    }
    .message {
        padding: 50px 0;
    }
    .message__inner {
        flex-direction: column-reverse;
        gap: 40px;
    }
    .message__inner.container {
        padding-inline: 0;
    }
    .message__content {
        max-width: 100%;
    }
    .message__sign {
        margin-left: auto;
        margin-right: 20px;
    }
    .message__text-block {
        padding: 0 max(20px, 5%);
    }
    .message__image {
        width: 100%;
        margin: 0 auto;
    }
    .message__highlight-title {
        font-size: 1.1rem;
        padding: 10px 16px;
    }
    .message__highlight--line2 {
        position: static;
        text-align: right;
        margin-bottom: 20px;
    }
    .recruit__links {
        flex-direction: column;
    }
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~
company-info 会社概要
~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.company-info__wrapper {
    background-image: url(../images/company-info_bg.png);
    background-position: bottom;
    padding-block: 100px 160px;
    margin-top: 80px;
}
.company-info__container {
    max-width: 1100px;
    width: 100%;
    margin-inline: auto;
}
.page-company-info .section__title {
    margin-bottom: 28px;
}

/* コンテンツ共通スタイル */
.company-info__content,
.history__content,
.certificate__content {
    background-color: #fff;
    padding: 60px;
    margin: 0 auto;
    box-shadow: 0px 4px 10px rgba(67, 67, 67, 0.1);
}
.company-info__content,
.history__content {
    margin-bottom: 80px;
}
/* テーブル共通スタイル */
.company-info__table,
.history__table,
.certificate__table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #D6D6D6;
}

.company-info__row,
.history__row,
.certificate__row {
    border-bottom: 1px solid #D6D6D6;
}

.company-info__header,
.history__header,
.certificate__header {
    width: 25%;
    padding: 24px 0;
    text-align: left;
    font-weight: bold;
    vertical-align: top;
    font-size: var(--main-text-font-size);
    line-height: 1.75;
}

.company-info__data,
.history__data,
.certificate__data {
    width: 75%;
    padding: 24px 0;
    line-height: 1.6;
    font-size: var(--main-text-font-size);
    font-weight: 400;
}

.company-info__data p,
.history__data p,
.certificate__data p {
    margin: 0;
    padding: 0 0 5px 0;
}

/* 会社概要セクション固有のスタイル */
.company-info {
    margin-bottom: 60px;
}
.company-info__officer {
    display: flex;
    gap: 60px;
    justify-content: flex-start;
}
.company-info__position {
    width: 30%;
}
.company-info__name {
    width: 70%;
}
.company-info__officer--president {
    margin-bottom: 1em;
}

.history {
    margin-bottom: 60px;
}
.history__content {
    height: 512px;
    overflow-y: auto;
}

    .history__content::-webkit-scrollbar {
    width: 8px;
}

    .history__content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

    .history__content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    .history__content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.certificate__locations {
    display: flex;
    flex-direction: column;
}

.certificate__location-item {
    width: 50%;
    padding-bottom: 10px;
    display: flex;
}

.certificate__location-name {
    width: 200px;
    font-weight: bold;
    flex-shrink: 0;
}

.certificate__location-address {
    width: fit-content;
    flex-shrink: 0;
}

.company-info-contact {
    background-color: #fff !important;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~
safety-management
~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.safety__qualifications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 30px;
    width: 80%;
}

.safety__qualifications-list li {
    margin: 0;
}

.safety__qualifications-text {
    margin-top: 15px;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
}

.safety__qualifications-text a {
    color: #0274A6;
}

.safety-management__point {
    font-family: var(--font-family-accent);
    font-weight: 500;
    font-size: 14px;
    padding: 5px 0 5px 16px;
    background: linear-gradient(-65deg, #FB3F3C 0%, #FF7745 50%, #FBA681 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    position: relative;
}

.safety-management__point::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    left: 0;
    top: 0;
    background: #E62F2B;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1100px) {
    .company-info__wrapper {
        padding-inline: 20px;
    }
}

@media screen and (max-width: 768px) {

    .company-info__wrapper {
        background-image: url(../images/company-info_bg-sp.png);
        padding: 60px 20px 80px;
    }
    .company-info__content, .history__content, .certificate__content {
        padding: 40px 20px;
    }
    .company-info__row {
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }
    .certificate__row {
        display: flex;
        gap: 16px;
    }
    .branch__row {
        display: flex;
        flex-direction: column;
    }

    .company-info__header {
        width: 35%;
        padding-block: 20px;
    }
    .history__header, 
    .certificate__header {
        width: 30%;
        padding-block: 20px;
    }
    .history__row-pc {
        display: none;
    }
    .branch__header {
        width: 100%;
    }
    .company-info__data,
    .history__data,
    .certificate__data {
        width: 65%;
        padding-block: 20px;
    }
    .branch__data {
        width: 100%;
    }
    .certificate__location-item {
        width: 100%;
        display: flex;
        gap: 16px;
        padding-inline: 20px;
    }
    .certificate__location-name {
        width: 80px;
    }
    .certificate__location-address {
        width: calc(100% - 80px);
    }
    .company-info__content, .history__content {
        margin-bottom: 60px;
    }
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
for sp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@media screen and (max-width: 768px) {

    /* ~~~~~~~~~~~~~~~~~~~~~~~
    index
    ~~~~~~~~~~~~~~~~~~~~~~~~ */
    .about__inner {
        background-image: url(../images/about_bg_main-sp.png);
    }

    .about__container {
        flex-direction: column;
        margin-bottom: 80px;
    }

    .about__text {
        width: 100%;
        padding-top: 60px;
    }

    .about__image {
        position: static;
        width: 100%;
        padding-top: 24px;
    }

    .about__cards {
        margin-top: 60px;
    }

    .about__card {
        padding: 28px 20px;
        margin-bottom: 20px;
    }

    .about__card-title {
        font-size: var(--h3-font-size-sp);
    }

    .about__links {
        flex-direction: column;
        padding: 0 max(20px, 5%);
    }

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    attempt
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    .attempt {
        background-image: url(../images/about_attempt_bgsp.png);
    }

    .attempt__inner {
        flex-direction: column;
        gap: 48px;
    }

    .attempt__container {
        padding: 0 20px 60px;
        width: 100%;
    }

    .attempt__content {
        width: 100%;
        flex-direction: column-reverse;
    }

    .attempt__title {
        font-size: var(--h3-font-size-sp);
        margin-bottom: 1rem;
    }

    .attempt__text {
        margin-bottom: 20px;
        line-height: 1.75;
        text-align: justify;
    }

    .attempt__content-block {
        margin-bottom: 0;
    }

    .attempt__image-wrapper {
        width: 100%;
        margin-bottom: 0;
    }

    .attempt__content:last-child {
        margin-bottom: 0;
    }

    /* ~~~~~~~~~~~~~~~~~~~~~~~~
    safety-management
    ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .safety__qualifications-list {
        width: 100%;
        gap: 8px 30px;
    }
    .attempt__qualifications {
        margin-bottom: 18px;
    }

    .safety-management__point {
        padding: 0 0 0 16px;
        margin-bottom: 8px;
    }
}