/* -------------------------------------------
 * グロースセールスページ専用スタイル
 * ------------------------------------------- */


 body {
    font-family: var(--font-noto);
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
/* メニュー表示時に背景をスクロールさせない */
body.menu-open {
    overflow: hidden;
}
/* -------------------------------------------
 * ヘッダー背景
 * ------------------------------------------- */
.site-header {
    background-image: url('../img/common/common_bg_header.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
    position: relative;
    overflow: hidden;
}

/* ヘッダーの下に白いカーブを作成 */
.site-header::after {
    content: '';
    position: absolute;
    bottom: -700px;
    left: -25%;
    width: 150%;
    height: 800px;
    background: white;
    border-radius: 50%;
}

/* ヘッダーコンテナの設定 */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    position: relative;
    z-index: 10;
    height: 100%;
}

.logo img {
    height: 2.5rem;
    width: auto;
}

/* ナビゲーションの文字色を調整 */
header nav a span {
    color: #000000;
}

header nav a .text-custom-orange {
    color: #E74C07;
}

/* メニュー内ロゴの初期設定（非表示） */
.logo-in-menu {
    display: none;
}

.main-nav ul {
    display: flex;
    flex-direction: column; /* スマホでは縦並び */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.main-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-nav .nav-en {
    font-family: var(--font-jost);
    color: var(--custom-orange);
    font-weight: 700;
    font-size: 1.25rem;
}

.main-nav .nav-ja {
    font-weight: 700;
    font-size: 0.6875rem;
    margin-top: -0.25rem;
    color: #000;
}
/* -------------------------------------------
 * ハンバーガーメニュー
 * ------------------------------------------- */
 .hamburger-button {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 1px;
    z-index: 1001; /* メニューより手前に */
}

.hamburger-bar {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-black);
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
}

/* ハンバーガーメニューが開いた時の「×」印アニメーション */
.hamburger-button.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-button.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.hamburger-button.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* -------------------------------------------
 * フッター
 * ------------------------------------------- */
.site-footer {
    background-color: #fff;
    text-align: center;
}

.footer-container {
    padding: 2.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    height: 3rem;
    width: auto;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.social-links img {
    height: 1.5rem;
    width: 1.5rem;
}

.social-links a:last-child img {
    height: 2.25rem;
    width: auto;
}

.copyright {
    background-color: #000;
    color: #fff;
    font-size: 0.75rem;
    padding: 1rem 0;
}

/* -------------------------------------------
 * メインコンテンツ
 * ------------------------------------------- */
.main-container {
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.main-content {
    /* メインコンテンツのスタイル */
}

/* -------------------------------------------
 * ぱんくずリスト
 * ------------------------------------------- */
.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.breadcrumb a {
    text-decoration: none;
}

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

.breadcrumb span {
    font-weight: 600;
}

/* -------------------------------------------
 * ページトップセクション
 * ------------------------------------------- */
.page-top-section {
    margin-bottom: 6rem;
}

.page-top-en {
    font-family: 'Jost', sans-serif;
    font-size: 1.25rem;
    color: #69b55c;
    margin-bottom: 0;
}

.page-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 2rem;
}

.page-title-main {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-title-sub {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

/* -------------------------------------------
 * ヒーローセクション
 * ------------------------------------------- */
.hero-content-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-image {
    height: 400px;
    width: auto;
}

.hero-text-overlay {
    position: absolute;
    bottom: 2rem;
    left: 0;
}

.hero-highlight {
    background-color: #69b55c;
    padding: 0.125rem 0.75rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.hero-highlight p {
    font-weight: 700;
    font-size: 1.875rem;
    color: white;
    margin: 0;
}

.hero-description {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0;
    padding: 0.5rem;
}

/* -------------------------------------------
 * コンテンツセクション
 * ------------------------------------------- */
.content-section {
    margin-bottom: 4rem;
}

.section-title {
    position: relative;
    padding-left: 0;
    display: inline-block;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #69b55c;
}

.section-description {
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

/* -------------------------------------------
 * リストスタイル
 * ------------------------------------------- */
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1em;
    height: 1em;
    border: 4px solid #69b55c;
    border-radius: 50%;
    box-sizing: border-box;
}

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

.content-list-check li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.check-icon {
    min-width: 30px;
    min-height: 30px;
    width: 30px;
    height: 30px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* -------------------------------------------
 * テーブルスタイル
 * ------------------------------------------- */
.table-wrapper {
    overflow-x: auto;
}

.info-table {
    width: 100%;
    border-top: 1px solid #e5e7eb;
}

.info-table th {
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 1rem;
    vertical-align: middle;
    width: 15%;
    text-align: left;
    position: relative;
    font-size: 1.125rem;
    font-weight: 600;
}

.info-table th::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    right: 0;
    width: 1px;
    background-color: #e5e7eb;
}

.info-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 1rem;
    vertical-align: top;
    padding-left: 3rem;
    font-size: 1.125rem;
}

.work-time {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.work-time-detail {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.holiday-main {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.holiday-detail {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    margin-bottom: 0.25rem;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-description {
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* -------------------------------------------
 * カジュアル面談リンク
 * ------------------------------------------- */
.casual-interview-link {
    text-align: center;
}

.link-description {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.link-button {
    display: inline-block;
    border: 1px solid #69b55c;
    background-color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.link-button:hover {
    background-color: #69b55c;
}

.button-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1rem;
}

.button-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: #000;
    transition: color 0.3s ease;
}

.button-subtext {
    font-family: 'Jost', sans-serif;
    font-size: 1.0625rem;
    color: #69b55c;
    transition: color 0.3s ease;
}

.link-button:hover .button-text,
.link-button:hover .button-subtext {
    color: white;
}


/* -------------------------------------------
 * レスポンシブ設定 (スマートフォン)
 * ------------------------------------------- */
@media (max-width: 767px) {
    .site-header::after {
        content: '';
        position: absolute;
        bottom: -50px;
        left: -25%;
        width: 150%;
        height: 200px;
        background: white;
        border-radius: 50%;
    }

    .main-container {
        padding: 1rem;
        margin-top: -6rem;
    }

    .breadcrumb {
        margin-bottom: 2.5rem;
    }

    .main-nav ul {
        gap: 0.5rem; /* 例：スマホではナビゲーションの間隔を詰める */
    }

    .page-top-section {
        margin-bottom: 3rem;
    }

    .page-top-en {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .page-title {
        margin-top: -0.5rem;
    }

    .page-title-sub {
        display: block;
        font-size: 1rem;
        margin-top: -0.5rem;
    }

    .content-section {
        margin-top: -1rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0;
    }

    .section-title::after {
        margin-bottom: 0.5rem;
    }

    .section-description {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        margin-top: 0;
    }

    .hero-content-wrapper{
        display: block;
    }

    .hero-image {
        width: 80%;
        max-width: 600px; /* 画像が大きくなりすぎないように最大幅を指定 */
        height: auto;     /* 高さは自動で調整 */
        display: block;
        margin: 0 auto;
    }
    
    .hero-text-overlay {
        position: static;
        margin-top: -2.5rem;
    }
    
    .hero-highlight {
        background-color: #69b55c;
        padding: 0.125rem 0.75rem;
        display: inline-block;
        /*margin-top: 0.5rem;*/
    }
    
    .hero-highlight p {
        font-weight: 700;
        font-size: 1.125rem;
        color: white;
        margin: 0;
    }
    
    .hero-description {
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
        padding: 0.5rem;
    }

    .content-list li {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        padding-left: 1.3em;
        line-height: 1.3;
    }

    .content-list li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.2em;
        width: 1em;
        height: 1em;
        border: 4px solid #69b55c;
        border-radius: 50%;
        box-sizing: border-box;
    }

    .content-list-check li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .check-icon {
        min-width: 20px;
        min-height: 20px;
        width: 20px;
        height: 20px;
        margin-right: 0.1rem;
        flex-shrink: 0;
    }

    .table-wrapper {
        margin-top: 3rem;
    }

    .info-table th {
        border-bottom: 1px solid #e5e7eb;
        padding: 1.2rem 1rem;
        vertical-align: middle;
        width: 10%;
        text-align: left;
        position: relative;
        font-size: 1rem;
        line-height: 1.2;
    }

    .info-table td {
        vertical-align: middle;
        font-size: 0.9rem;
        padding-left: 1.5rem;
        border-bottom: 1px solid #e5e7eb;
        padding: 1rem 1rem;
        line-height: 1.3;
    }

    .work-time {
        font-size: 0.9rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .work-time-detail {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .holiday-main {
        font-size: 0.9rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .holiday-detail {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .benefit-item {
        margin-bottom: 0rem;
    }

    .benefit-title {
        font-size: 0.9rem;
        margin-top: 0;
        margin-bottom: 0.1rem;
    }
    
    .benefit-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0rem;
    }

    .link-description {
        font-size: 1rem;
    }

    .button-text {
        font-size: 1rem;
    }
    .hamburger-button {
        display: block; /* スマホでは表示 */
    }
    
    .main-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 1000;
        /* メニュー内の配置を調整 */
        flex-direction: column;
        justify-content: flex-start; /* 上から配置 */
        align-items: center;
        padding-top: 0;
        box-sizing: border-box;


        /* 初期状態は画面の外(右)で非表示 */
        transform: translateX(100%);
        visibility: hidden;
        /* なめらかな動きのためのtransition設定 */
        transition: transform 0.4s ease-in-out, visibility 0.4s;
    }
    
    .main-nav.is-active {
        transform: translateX(0);
        visibility: visible;
    }
    
    .main-nav.is-active .logo-in-menu {
        display: block;
        position: absolute; /* ← 要素を独立させる */
        top: 2rem;          /* ← 上からの位置を指定 */
        left: 2rem;         /* ← 左からの位置を指定 */
    }

    .logo-in-menu img {
        height: 2.5rem; /* ヘッダーロゴと同じ高さを指定 */
        width: auto;
    }
    /* メニュー項目を縦並びに */
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        padding-top: 10rem; /* ← ロゴと被らないように上部に余白を追加 */
        width: 100%;       /* 中央揃えを維持するために幅を指定 */
    }
 
}
/* -------------------------------------------
 * レスポンシブ対応
 * ------------------------------------------- */
@media (min-width: 768px) {
    .page-title-main {
        font-size: ２.5rem;
    }
    
    .page-title-sub {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .main-nav ul {
        flex-direction: row; /* デスクトップでは横並び */
        gap: 2rem;
    }

    .page-title-main {
        font-size: 2.5rem;
    }
    
    .page-title-sub {
        font-size: 1.5rem;
    }

    .grid-container {
        grid-template-columns: repeat(12, 1fr);
        gap: 3rem;
    }
    
    .main-content {
        grid-column: span 8 / span 8;
    }

    .sidebar {
        grid-column: span 4 / span 4;
    }

    .sidebar-sticky {
        position: sticky;
        top: 1rem;
    }
}
