/* =========================================================
   会社概要ページ
   共通ヘッダー・フッターは job-list.css を使用
   ========================================================= */

.company-page {
    background: #fffaf4;
    color: #20242b;
}

.company-page main {
    overflow: hidden;
}

.company-page main h1,
.company-page main h2,
.company-page main p,
.company-page main dl {
    margin-top: 0;
}

.company-pc-only {
    display: inline;
}

/* =========================================================
   メインビジュアル
   ========================================================= */

.company-hero {
    position: relative;
    display: flex;
    min-height: 345px;
    align-items: center;
    overflow: hidden;
    background-color: #eff6f8;
    background-image: url("/src/img/flow/flow-top.png");
    background-repeat: no-repeat;
    background-position: center 42%;
    background-size: cover;
}

.company-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.92) 29%,
        rgba(255, 255, 255, 0.39) 52%,
        rgba(255, 255, 255, 0.04) 75%,
        rgba(255, 255, 255, 0.34) 100%
    );
}

.company-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.company-hero__copy {
    width: min(530px, 50%);
    padding: 32px 0 29px;
}

.company-hero__message {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
    color: #272b31;
    font-size: clamp(16px, 1.45vw, 21px);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.7;
    transform: rotate(-4deg);
}

.company-hero__message::after {
    position: absolute;
    right: -25px;
    bottom: -4px;
    width: 130px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #ff7622,
        rgba(255, 118, 34, 0)
    );
    content: "";
    transform: rotate(-7deg);
}

.company-hero h1 {
    margin-bottom: 0;
    color: #171a1f;
    font-size: clamp(40px, 4.6vw, 64px);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.28;
    white-space: nowrap;
}

.company-hero__english {
    margin-bottom: 12px;
    color: #ef681f;
    font-size: clamp(19px, 1.7vw, 26px);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.company-hero__lead {
    margin-bottom: 0;
    color: #353a42;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
}

.company-hero__catch {
    position: relative;
    margin: 49px 4px 0 auto;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 24px rgba(48, 59, 68, 0.07);
    color: #282c33;
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 600;
    letter-spacing: 0.11em;
    line-height: 1.7;
    transform: translateX(20px) rotate(-6deg);
}

.company-hero__catch::after {
    display: block;
    width: 105%;
    height: 3px;
    margin-top: 4px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #ff7622 0 76%,
        transparent
    );
    content: "";
    transform: rotate(-6deg);
}

/* =========================================================
   パンくずリスト
   ========================================================= */

.company-breadcrumb {
    border-bottom: 1px solid #eee5da;
    background: #fff;
}

.company-breadcrumb ol {
    display: flex;
    width: min(1200px, calc(100% - 48px));
    min-height: 56px;
    margin: 0 auto;
    padding: 0;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.company-breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: #59616d;
    font-size: 13px;
    font-weight: 500;
}

.company-breadcrumb li + li::before {
    margin-right: 18px;
    color: #a7a29b;
    content: ">";
}

.company-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ed681f;
    font-weight: 700;
}

.company-breadcrumb a:hover {
    text-decoration: underline;
}

/* =========================================================
   会社概要
   ========================================================= */

.company-profile {
    padding: 58px 24px 72px;
    background:
        radial-gradient(
            circle at 1% 8%,
            rgba(255, 212, 166, 0.28),
            transparent 210px
        ),
        radial-gradient(
            circle at 98% 23%,
            rgba(255, 218, 180, 0.28),
            transparent 230px
        ),
        radial-gradient(
            circle at 8% 91%,
            rgba(255, 225, 194, 0.18),
            transparent 240px
        ),
        #fffaf4;
}

.company-profile__inner {
    display: grid;
    width: min(1200px, 100%);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: stretch;
    gap: 28px;
}

.company-section-heading {
    margin-bottom: 25px;
}

.company-section-heading__en {
    margin-bottom: 5px;
    color: #ef681f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.company-section-heading h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 13px;
    color: #171a1f;
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

.company-section-heading h2::after {
    position: absolute;
    top: 3px;
    right: -44px;
    width: 30px;
    height: 36px;
    border-top: 4px solid #f06a1e;
    border-right: 4px solid #f06a1e;
    content: "";
    transform: rotate(27deg) skew(-10deg);
}

.company-section-heading__lead {
    margin-bottom: 0;
    color: #535a64;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.9;
}

.company-info-card,
.company-mission-card,
.company-map-card {
    border: 1px solid #eee3d8;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 42px rgba(84, 62, 40, 0.09);
}

/* =========================================================
   会社情報
   ========================================================= */

.company-info-card {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.company-info-row {
    display: grid;
    min-height: 74px;
    grid-template-columns: 235px minmax(0, 1fr);
    border-bottom: 1px solid #ece7e1;
}

.company-info-row:last-child {
    border-bottom: 0;
}

.company-info-row dt,
.company-info-row dd {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 16px 22px;
    align-items: center;
}

.company-info-row dt {
    gap: 15px;
    background: linear-gradient(
        90deg,
        #fff6ec,
        #fffaf5
    );
    color: #272c33;
    font-size: 15px;
    font-weight: 700;
}

.company-info-row dd {
    overflow-wrap: anywhere;
    color: #4c535d;
    font-size: 15px;
    line-height: 1.75;
}

.company-info-icon {
    display: flex;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(221, 93, 24, 0.11);
    color: #ef681f;
    font-size: 17px;
}

/* =========================================================
   ミッション
   ========================================================= */

.company-mission-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 38px 34px 112px;
}

.company-mission-card::before,
.company-mission-card::after {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 198, 136, 0.18);
    content: "";
}

.company-mission-card::before {
    top: 52%;
    right: -55px;
    width: 145px;
    height: 145px;
}

.company-mission-card::after {
    bottom: 72px;
    left: 43px;
    width: 34px;
    height: 34px;
}

.company-mission-card__accent {
    position: absolute;
    right: 28px;
    bottom: 38px;
    left: 28px;
    height: 48px;
    border-bottom: 3px solid rgba(244, 116, 37, 0.48);
}

.company-mission-card__accent::before,
.company-mission-card__accent::after {
    position: absolute;
    bottom: -3px;
    width: 46px;
    height: 22px;
    border: 3px solid rgba(244, 116, 37, 0.48);
    border-bottom: 0;
    content: "";
}

.company-mission-card__accent::before {
    left: 4%;
}

.company-mission-card__accent::after {
    right: 6%;
    height: 35px;
}

.company-mission-card__label {
    position: relative;
    z-index: 1;
    margin-bottom: 17px;
    color: #ef681f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.company-mission-card h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    color: #171a1f;
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.55;
}

.company-mission-card h2 span {
    color: #ef681f;
}

.company-mission-card__text {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: #555d67;
    font-size: 14px;
    font-weight: 500;
    line-height: 2;
}

.company-mission-card__script {
    position: absolute;
    z-index: 1;
    right: 37px;
    bottom: 77px;
    margin-bottom: 0;
    color: rgba(239, 104, 31, 0.68);
    font-family: "Caveat", cursive;
    font-size: 31px;
    line-height: 0.9;
    text-align: right;
    transform: rotate(-7deg);
}

.company-mission-card__line {
    position: absolute;
    right: 34px;
    bottom: 31px;
    left: 34px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #ef681f 18%,
        #ef681f 82%,
        transparent
    );
    opacity: 0.35;
}

/* =========================================================
   地図
   ========================================================= */

.company-map-card {
    width: min(1200px, 100%);
    margin: 28px auto 0;
    padding: 24px;
}

.company-map-card__title {
    display: flex;
    margin-bottom: 18px;
    align-items: center;
    gap: 12px;
    color: #20242b;
    font-size: 22px;
    font-weight: 800;
}

.company-map-card__title > span {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff0e2;
    color: #ef681f;
    font-size: 17px;
}

.company-map-card__frame {
    overflow: hidden;
    border-radius: 12px;
    background: #eee;
}

.company-map-card__frame iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

.company-map-card__details {
    display: flex;
    margin-top: 17px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.company-map-card__details p {
    display: flex;
    margin-bottom: 0;
    align-items: center;
    gap: 9px;
    color: #555d67;
    font-size: 13px;
    font-weight: 600;
}

.company-map-card__details i {
    color: #ef681f;
}

/* =========================================================
   ページ下部CTA
   ========================================================= */

.company-bottom-cta {
    padding: 0 24px 82px;
    background: #fffaf4;
}

.company-bottom-cta__inner {
    position: relative;
    display: grid;
    width: min(1200px, 100%);
    min-height: 155px;
    margin: 0 auto;
    overflow: hidden;
    grid-template-columns: 260px minmax(0, 1fr) 330px;
    align-items: center;
    gap: 28px;
    border: 2px solid #f47a2c;
    border-radius: 17px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.92),
        rgba(255, 248, 238, 0.96)
    );
    box-shadow: 0 13px 34px rgba(110, 68, 34, 0.09);
}

.company-bottom-cta__image {
    height: 100%;
    min-height: 155px;
}

.company-bottom-cta__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 155px;
    object-fit: cover;
    object-position: 63% center;
    -webkit-mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 66%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 66%,
        transparent 100%
    );
}

.company-bottom-cta__copy p {
    margin-bottom: 7px;
    color: #565d66;
    font-size: 14px;
}

.company-bottom-cta__copy h2 {
    margin-bottom: 0;
    color: #23272d;
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 800;
    line-height: 1.5;
}

.company-bottom-cta__copy h2 span {
    color: #ef5b15;
}

.company-bottom-cta__actions {
    display: grid;
    padding-right: 24px;
    gap: 8px;
}

.company-register-button {
    display: grid;
    min-height: 62px;
    padding: 13px 20px;
    grid-template-columns: 25px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 11px;
    border-radius: 999px;
    background: linear-gradient(
        100deg,
        #ff851c,
        #ef450e
    );
    box-shadow: 0 11px 24px rgba(223, 70, 10, 0.2);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.company-register-button .fa-chevron-right {
    font-size: 12px;
}

.company-register-button:hover {
    box-shadow: 0 14px 28px rgba(223, 70, 10, 0.27);
    filter: brightness(1.04);
    transform: translateY(-2px);
}

.company-register-button:focus-visible {
    outline: 3px solid rgba(239, 104, 31, 0.3);
    outline-offset: 4px;
}

.company-bottom-cta__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #3c4149;
    font-size: 13px;
    font-weight: 600;
}

.company-bottom-cta__link:hover {
    color: #ef5d17;
}

/* =========================================================
   表示アニメーション
   ========================================================= */

.company-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.company-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   タブレット
   ========================================================= */

@media (max-width: 1050px) {
    .company-profile__inner {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 22px;
    }

    .company-info-row {
        grid-template-columns: 205px minmax(0, 1fr);
    }

    .company-mission-card {
        padding-right: 27px;
        padding-left: 27px;
    }

    .company-bottom-cta__inner {
        grid-template-columns: 210px minmax(0, 1fr) 280px;
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .company-hero {
        min-height: 330px;
        background-position: 62% center;
    }

    .company-hero__copy {
        width: 58%;
    }

    .company-hero__catch {
        display: none;
    }

    .company-profile__inner {
        width: min(720px, 100%);
        grid-template-columns: 1fr;
    }

    .company-mission-card {
        min-height: 470px;
    }

    .company-map-card {
        width: min(720px, 100%);
    }

    .company-bottom-cta__inner {
        padding: 25px;
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .company-bottom-cta__image {
        display: none;
    }

    .company-bottom-cta__actions {
        padding-right: 0;
    }
}

/* =========================================================
   スマートフォン
   ========================================================= */

@media (max-width: 768px) {
    .company-pc-only {
        display: none;
    }

    .company-hero {
        min-height: 440px;
        align-items: flex-end;
        background-position: 68% center;
    }

    .company-hero::after {
        position: absolute;
        z-index: 0;
        inset: 40% 0 0;
        background: linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 255, 255, 0)
        );
        content: "";
    }

    .company-hero__shade {
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.46),
            rgba(255, 255, 255, 0.01)
        );
    }

    .company-hero__inner {
        z-index: 2;
        display: block;
        width: min(100% - 34px, 650px);
    }

    .company-hero__copy {
        width: 100%;
        padding: 195px 0 25px;
    }

    .company-hero__message {
        margin-bottom: 9px;
        font-size: 14px;
    }

    .company-hero h1 {
        font-size: clamp(34px, 10vw, 45px);
    }

    .company-hero__english {
        margin-bottom: 8px;
        font-size: 20px;
    }

    .company-hero__lead {
        font-size: 13px;
    }

    .company-breadcrumb ol {
        width: min(100% - 34px, 650px);
        min-height: 50px;
        gap: 11px;
    }

    .company-breadcrumb li {
        font-size: 12px;
    }

    .company-breadcrumb li + li::before {
        margin-right: 11px;
    }

    .company-profile {
        padding: 39px 17px 55px;
    }

    .company-section-heading {
        margin-bottom: 22px;
    }

    .company-section-heading__en {
        font-size: 12px;
    }

    .company-section-heading h2 {
        font-size: 32px;
    }

    .company-section-heading__lead {
        font-size: 14px;
    }

    .company-info-card,
    .company-mission-card,
    .company-map-card {
        border-radius: 14px;
    }

    .company-info-row {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .company-info-row dt {
        min-height: 58px;
        padding: 10px 15px;
    }

    .company-info-row dd {
        min-height: 55px;
        padding: 12px 17px 16px 70px;
        border-top: 1px dashed #eee5dc;
        font-size: 14px;
    }

    .company-info-icon {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }

    .company-mission-card {
        min-height: 0;
        padding: 29px 23px 110px;
    }

    .company-mission-card h2 {
        font-size: 28px;
    }

    .company-mission-card__text {
        font-size: 14px;
        line-height: 1.9;
    }

    .company-mission-card__script {
        right: 28px;
        bottom: 65px;
        font-size: 28px;
    }

    .company-map-card {
        margin-top: 22px;
        padding: 17px;
    }

    .company-map-card__title {
        margin-bottom: 14px;
        font-size: 19px;
    }

    .company-map-card__frame iframe {
        height: 285px;
    }

    .company-map-card__details {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .company-bottom-cta {
        padding: 0 17px 60px;
    }

    .company-bottom-cta__inner {
        padding: 26px 20px;
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .company-bottom-cta__copy p {
        font-size: 13px;
    }

    .company-bottom-cta__copy h2 {
        font-size: 23px;
    }

    .company-register-button {
        font-size: 15px;
    }
}

@media (max-width: 430px) {
    .company-hero {
        min-height: 420px;
        background-position: 67% 35%;
    }

    .company-hero__copy {
        padding-top: 180px;
    }

    .company-hero h1 {
        font-size: 36px;
    }

    .company-section-heading h2::after {
        right: -37px;
    }

    .company-info-row dd {
        padding-left: 65px;
    }
}

/* =========================================================
   動きを減らす設定
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .company-page *,
    .company-page *::before,
    .company-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .company-reveal {
        opacity: 1;
        transform: none;
    }
}