

.entry_page_main {
    background-color: var(--shinsotsu-color-bg-base);
    background-image: url('../../images/shinsotsu/page-entry-top_bg.webp');
    background-position: top center;
    background-size: 100% auto;
}

/* ==============================
   FV
============================== */

.fv_wrap {
    max-height: none;
    /* overflow: hidden; */
    margin-bottom: 80px;
    display: flex;
    align-items: flex-start;
}

.fv_inner {
    width: calc(100% - 60px);
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 200px;
    display: flex;
    flex-direction: column;
    gap: 0;

    box-sizing: border-box;
}

/* Eyebrow ("Session") */
.fv_eyebrow {
    margin: 0;

    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;

    color: var(--shinsotsu-color-primary);
}

/* Title */
.fv_title {
    margin: 16px 0 0;

    font-size: 45px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.1em;
}

/* アンカーナビ + 説明会予約ボタンの行（PCのみ横並び。SPは元のまま縦積み／下記レスポンシブ部分は変更なし） */
.fv_nav_row {
    display: block;
}

/* Anchor nav */
.fv_nav {
    margin-top: 32px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 32px;
    row-gap: 12px;
}

.fv_nav_item {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.1em;

    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

/* Underline text only, not arrow */
.fv_nav_item_text {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fv_nav_item_arrow {
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
}

.fv_nav_item:hover .fv_nav_item_text {
    color: var(--shinsotsu-color-primary);
}

.fv_entry_btn {
  position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 360px;
    height: 72px;
    padding: 0 60px 0 30px;
    background-color: var(--shinsotsu-color-primary);
    border-radius: 8px;
    text-decoration: none;
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fv_entry_btn:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

/* 2行テキスト（メイン + LINE遷移の注記） */
.fv_entry_btn_label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fv_entry_btn_text {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: bold;
  color: #ffffff;
}

.fv_entry_btn_ext_icon {
  color: #ffffff;
  flex-shrink: 0;
}

.fv_entry_btn_sub {
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: normal;
  color: #ffffff;
  opacity: 0.85;
}

.fv_entry_btn_icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  flex-shrink: 0;
}


/* ==============================
   FV - responsive
============================== */

@media (max-width: 900px) {
    .fv_wrap {
        max-height: none;
        margin-bottom: 20px;
    }

    .fv_inner {
        width: calc(100% - 60px);
        max-width: 1000px;
        padding-top: 80px;
        margin-left: clamp(30px, 8vw, 100px);
    }

    /* パンくずはPCのみ表示。SPでは非表示 */
    .fv_inner .shinsotsu_breadcrumb {
        display: none;
    }

    .fv_eyebrow {
        font-size: 25px;
    }

    .fv_title {
        margin-top: 12px;

        font-size: 32px;
        line-height: 1.3;
        letter-spacing: 0.09em;
    }

    .fv_nav {
        margin: 28px 0;

        flex-direction: column;
        align-items: flex-start;
        row-gap: 20px;
    }

    .fv_nav_item {
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.1em;
    }

    .fv_entry_btn {
        width: 340px;
        height: 66px;
        padding-right: 56px;
        justify-content: center;
    }

    .fv_entry_btn_text {
        font-size: 18px;
    }

    .fv_entry_btn_icon {
        width: 28px;
        height: 28px;
    }
}

/* PCのみ：アンカーナビと説明会予約ボタンを横並びに（SPは上記の縦積みのまま変更なし） */
@media (min-width: 901px) {
    .fv_nav_row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        column-gap: 40px;
        row-gap: 24px;
    }

    .fv_nav_row .fv_nav,
    .fv_nav_row .fv_entry_btn {
        margin-top: 0;
    }
}



/* ==============================
   Content（CLINKSの会社説明会 / 説明会動画）
============================== */

.content_wrap {
    padding-bottom: clamp(50px, 8vw, 100px);
}

.content_inner {
    width: min(1000px, calc(100% - clamp(48px, 9vw, 80px)));
    margin: 0 auto;

    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.08em;

    box-sizing: border-box;
}

/* Section title */
.content_inner h2 {
    margin: 0 0 24px;
    padding-left: 16px;
    border-left: 4px solid var(--shinsotsu-color-primary);

    font-size: clamp(20px, 3vw, 28px);
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.08em;

    color: inherit;
}

/* Body text */
.content_inner p {
    margin: 0 0 16px;

    font-size: 16px;
    font-weight: normal;
    line-height: 1.8;
    letter-spacing: 0.08em;

    overflow-wrap: break-word;
}

/* Last paragraph */
.content_inner p:last-child {
    margin-bottom: 0;
}

/* Link */
.content_inner a {
    color: #0099ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;

    overflow-wrap: break-word;
}

.content_inner a:hover {
    opacity: 0.75;
}

/* 説明会動画（本番は oEmbed の iframe に差し替え。/ .video_frame-mock はモック専用の見た目） */
.video_frame {
    margin-top: clamp(32px, 5vw, 48px);
    border-radius: 24px;
    overflow: hidden;
}

.video_frame-mock {
    aspect-ratio: 16 / 7.4;
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #F5CD5C;
}

.video_frame_mock_text {
    margin: 0;

    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-align: center;

    color: #ffffff;
}

/* oEmbed で iframe が入った場合のレスポンシブ対応 */
.video_frame iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

/* ==============================
   Content - responsive
============================== */

@media (max-width: 900px) {
    .content_wrap {
        padding: 50px 0;
    }

    .content_inner {
        font-size: 16px;
        line-height: 1.8;
        letter-spacing: 0.03em;
    }

    .content_inner h2 {
        margin: 0 0 20px;
        padding-left: 16px;
        border-left-width: 4px;

        font-size: 20px;
        line-height: 1.5;
        letter-spacing: 0.08em;
    }

    .content_inner p {
        margin: 0 0 16px;

        font-size: 16px;
        line-height: 1.8;
        letter-spacing: 0.03em;
    }

    .video_frame {
        margin-top: 28px;
        border-radius: 16px;
    }

    .video_frame-mock {
        aspect-ratio: 4 / 3;
    }

    .video_frame_mock_text {
        font-size: 22px;
    }
}

/* ==============================
   開催概要テーブル
============================== */

.overview_wrap {
    padding: clamp(15px, 3vw, 30px) 0 clamp(50px, 8vw, 100px);
}

.overview_inner {
    width: min(1000px, calc(100% - clamp(48px, 9vw, 80px)));
    margin: 0 auto;
    box-sizing: border-box;
}

/* Title */
.overview_title {
    margin: 0 0 34px;
    padding-left: 16px;
    border-left: 4px solid var(--shinsotsu-color-primary);

    font-size: clamp(20px, 3vw, 28px);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.08em;

    color: inherit;
}

/* Table */
.overview_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;

    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.overview_row {
    border: none;
}

.overview_head,
.overview_data {
    border-bottom: 1px solid #bfbfbf;
    vertical-align: top;
    box-sizing: border-box;
}

.overview_row:last-child .overview_head,
.overview_row:last-child .overview_data {
    border-bottom: none;
}

/* Left column */
.overview_head {
    width: 250px;
    padding: clamp(20px, 4vw, 40px) clamp(20px, 3vw, 30px);

    background: #e0e0e0;

    font-size: 14px;
    font-weight: bold;
    line-height: 2;
    letter-spacing: 0.08em;
    text-align: center;

    color: inherit;
}

/* Right column */
.overview_data {
    padding: clamp(28px, 4vw, 40px) clamp(28px, 6vw, 70px);

    background: #fff;

    font-size: 14px;
    font-weight: normal;
    line-height: 2;
    letter-spacing: 0.08em;

    color: inherit;
    overflow-wrap: break-word;
}

/* If ACF outputs p tags */
.overview_data p {
    margin: 0;
}

.overview_data p + p {
    margin-top: 1em;
}

.overview_data a {
    color: #0099ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.overview_data a:hover {
    opacity: 0.75;
}

/* Radius adjustment */
.overview_row:first-child .overview_head {
    border-top-left-radius: 16px;
}

.overview_row:first-child .overview_data {
    border-top-right-radius: 16px;
}

.overview_row:last-child .overview_head {
    border-bottom-left-radius: 16px;
}

.overview_row:last-child .overview_data {
    border-bottom-right-radius: 16px;
}

/* ==============================
   開催概要テーブル - responsive
============================== */

@media (max-width: 900px) {
    .overview_wrap {
        padding: 15px 0 50px;
    }

    .overview_title {
        margin: 0 0 25px;
        padding-left: 16px;
        border-left-width: 4px;

        font-size: 20px;
        line-height: 1.2;
        letter-spacing: 0.08em;
    }

    .overview_table,
    .overview_table tbody,
    .overview_row,
    .overview_head,
    .overview_data {
        display: block;
        width: 100%;
    }

    .overview_table {
        table-layout: auto;
        border-radius: 12px;
        overflow: hidden;
    }

    .overview_head,
    .overview_data {
        border-bottom: none;
    }

    .overview_head {
        padding: 15px 24px;

        font-size: 14px;
        line-height: 2;
        letter-spacing: 0.08em;
        text-align: left;
    }

    .overview_data {
        padding: 24px 24px 28px;

        font-size: 14px;
        line-height: 2;
        letter-spacing: 0.08em;
    }

    .overview_row:first-child .overview_head {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .overview_row:first-child .overview_data {
        border-top-right-radius: 0;
    }

    .overview_row:last-child .overview_head {
        border-bottom-left-radius: 0;
    }

    .overview_row:last-child .overview_data {
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
}


/* ==============================
   Breadcrumb
   （ベーススタイルは common-shinsotsu.css の .shinsotsu_breadcrumb 側で定義。
   　ここではFV内での配置のみ上書き）
============================== */
.fv_inner .shinsotsu_breadcrumb {
    width: 100%;
    margin: 0 0 72px 0;
}


/* アンカー遷移時のオフセット（ヘッダー高さ分。ヘッダーなし構成のため現状0でも可） */
#video,
#overview {
    scroll-margin-top: 20px;
}


/* ==============================
   説明会予約 CTA（kari/seminar/content4.png のデザインで設定）
============================== */

.seminar_cta_wrap {
    width: min(1000px, calc(100% - clamp(48px, 9vw, 80px)));
    margin: 0 auto clamp(60px, 10vw, 100px);
    padding-bottom: 100px;
}

.seminar_cta_card {
    padding: clamp(40px, 6vw, 64px) clamp(24px, 6vw, 60px);
    background: #ffffff;
    border-radius: 24px;
    text-align: center;
}

.seminar_cta_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 16px;

    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.04em;
    line-height: 1;

    color: #06C755;
}

.seminar_cta_badge_icon {
    flex-shrink: 0;
}

.seminar_cta_title {
    margin: 0 0 20px;

    font-size: clamp(24px, 3vw, 34px);
    font-weight: bold;
    letter-spacing: 0.08em;
    line-height: 1.4;

    color: inherit;
}

.seminar_cta_text {
    margin: 0 0 36px;

    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0.04em;
    line-height: 1.8;

    color: inherit;
}

.seminar_cta_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 72px;
  padding: 0 60px 0 30px;
  background-color: var(--shinsotsu-color-primary);
  border-radius: 8px;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.seminar_cta_btn:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.seminar_cta_btn_label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seminar_cta_btn_text {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: bold;
  color: #ffffff;
}

.seminar_cta_btn_ext_icon {
  color: #ffffff;
  flex-shrink: 0;
}

.seminar_cta_btn_sub {
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: normal;
  color: #ffffff;
  opacity: 0.85;
}

.seminar_cta_btn_icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  flex-shrink: 0;
}

@media screen and (max-width: 900px) {
    .seminar_cta_card {
        border-radius: 16px;
    }

    .seminar_cta_badge {
        font-size: 16px;
    }

    .seminar_cta_title {
        font-size: 24px;
    }

    .seminar_cta_text {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .seminar_cta_btn {
        width: min(340px, 100%);
        height: 66px;
        justify-content: center;
        padding-right: 56px;
    }
}


/* ==============================
   開催日程／予約
============================== */

.seminar_wrap {
    padding-bottom: 200px;
}

.seminar_inner {
    width: min(1000px, calc(100% - clamp(48px, 9vw, 80px)));
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.seminar_header {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 見出しのサイズ・装飾は既存の .overview_title を使用 */
.seminar_title {
    margin: 0;
    flex-shrink: 0;
}

.seminar_badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;

    font-size: 20px;
    font-weight: bold;
    line-height: 2;
    letter-spacing: 0;

    color: #04C755;
}

.seminar_badge_icon {
    display: block;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.seminar_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
}

.seminar_item {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 80px;
    padding: 18px 40px;

    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 3px 6px #0000001A;
}

.seminar_type {
    flex-shrink: 0;
    margin: 0;

    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.1em;

    color: #181714;
}

.seminar_datetime {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;

    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 0.5em;
    row-gap: 4px;

    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.1em;

    color: #181714;
}

.seminar_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 16px;
    width: 180px;
    height: 35px;

    background-color: #04C755;
    border-radius: 20px;

    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0;
    white-space: nowrap;
    text-decoration: none;

    color: #FFFFFF;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.seminar_btn:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
    color : #04C755;
    border: 2px solid #04C755 ;
    transition: .25s ease;
}

.seminar_btn_arrow {
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

/* ==============================
   開催日程／予約 - responsive
============================== */

@media screen and (max-width: 900px) {
    .seminar_wrap {
        padding-bottom: 120px;
    }

    .seminar_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .seminar_badge {
        order: -1;
    }

    .seminar_list {
        gap: 20px;
    }

    .seminar_item {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        min-height: 155px;
        padding: 24px 16px;
        text-align: center;
    }

    .seminar_type {
        font-size: clamp(14px, 3vw, 16px);
    }

    .seminar_datetime {
        flex: 0 1 auto;
        justify-content: center;
        width: 100%;
        font-size: clamp(14px, 3vw, 16px);
        letter-spacing: 0;
    }

    .seminar_btn {
        margin-top: 4px;
    }
}

/* アンカー遷移時のオフセット */
#video,
#overview,
#seminar_date {
 scroll-margin-top: 100px; 
}
