@charset "UTF-8";
/* パンくず */
.globalnav ul a.pan_color {
    color: #b48519;
    border-bottom: 2px solid #b48519;
}

h2::before,
h2::after {
    width: 0px;
    margin: 0;
}

.contents_bg {
    padding-top: 100px;
}
/* contents story */
/* section story */
.story h3.text_brown {
    font-size: 4rem;
}

.story_text {
    margin-top: 20px;
    text-align: left;
}

/* section 物語 */
.origin .boxarea {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
}

.origin .box {
    max-width: 320px;
    margin-left: 10px;
    border: 1px solid #1c2b33;
    background-color: #fafafa;
}

.origin .box img {
    width: 320px;
    object-fit: cover;
}

.origin .box:nth-child(1) {
    margin-left: 0;
}

.origin .box h3 {
    font-size: 3rem;
}

.origin .box h4 {
    padding: 10px;
}

.origin .box .prosperity_h4 {
    background-color: aquamarine;
}

.origin .box .culture_h4 {
    background-color: tomato;
}

.origin .box .traditional_h4 {
    background-color: cornflowerblue;
}

.origin .box p {
    margin-top: 15px;
    text-align: left;
    padding: 0 10px 10px 10px;
    font-weight: 400;
}

/* contents 映像ギャラリー */
.videogallery {
    margin-bottom: 30px;
}

.videogallery h3 {
    margin-bottom: 15px;
    font-size: 3rem;
    font-weight: 600;
}

.videogallery a {
    color: #1c2b33;
    margin-top: 10px;
}

.videogallery a:hover {
    color: #b48519;
}

.youtube_1retu {
    margin-top: 70px;
}

.youtube_1retu h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.youtube {
    display: block;
    width: 90%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 auto;
}

.youtube_2retu {
    margin-top: 100px;
}

.youtube_2retu .boxarea {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
}

.youtube_2retu .box {
    margin-bottom: 30px;
}

.youtube_2retu .box p {
    margin-bottom: 10px;
    font-size: 2rem;
}

/* contents アクセス */

.left_line {
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
    border-left: 2px solid #213c83;
    padding-left: 10px;
    font-weight: 600;
}

.left_line2 {
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
    border-left: 2px solid #213c83;
    padding-left: 10px;
    font-weight: 600;
    font-size: 3rem;
}

.none_line {
    font-size: 2.4rem;
}

.access h4 {
    margin-top: 70px;
}

.access table {
    width: 100%;
}

.access table td:nth-child(1) {
    width: 30%;
}

/* テーブル全ページ共通 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
    font-weight: 400;
}

th,
td {
    border: 1px solid rgb(160 160 160);
    padding: 20px 10px;
}

th {
    background-color: #213c83;
    color: #fafafa;
    font-weight: bold;
    text-align: center;
    width: 22%;
}

tr {
    background-color: #fafafa;
}

/* contents 構成文化財 */
.culture .boxarea {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: left;
}

.culture .box {
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
    max-width: 280px;
    background-color: #fafafa;
}

.culture .box h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 10px;
    font-weight: 600;
}

.culture .box p {
    padding: 0 10px 10px 10px;
}

.culture .box img {
    aspect-ratio: 7 / 5;
    object-fit: cover;
    width: 280px;
}

.culture .boxarea a {
    text-decoration: none;
}

.culture .boxarea a:hover {
    color: #b48519;
}

.culture .small-text {
    font-size: 1.6rem;
}

/* 詳細ページ */
.culture_text {
    text-align: left;
    margin-bottom: 100px;
}

.culture a,
.guidance a {
    color: #1c2b33;
}

.culture table {
    margin-bottom: 100px;
}

/* contents 日本遺産ガイダンス */
.guidance h3.h3_noline {
    border-left: none;
    font-size: 2.4rem;
    font-weight: 600;
}

.guidance p {
    text-align: left;
}

.bgskew:hover::before {
    animation: skewanime 0.5s forwards;
}

.guidance .pc_none {
    display: none;
}

@keyframes skewanime {
    100% {
        left: -10%;
    }
}

.guidance .boxarea {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    align-items: baseline;
}

.button {
    margin-top: 70px;
}

.button a {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    text-decoration: none;
    display: block;
    max-width: 350px;
    border: 1px solid #b48519;
    background: #fafafa;
    margin: auto;
    padding: 10px 30px;
    text-align: center;
    line-height: 1.8;
    outline: none;
    transition: ease 0.2s;
}

.button a span {
    position: relative;
    z-index: 3;
    color: #b48519;
    font-weight: 400;
    transition: color ease 0.2s;
}

.button a:hover span,
.button a:focus-visible span {
    color: #fafafa;
}

.bgskew::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    background: #b48519;
    width: 120%;
    height: 100%;
    transform: skewX(-25deg);
}

/* contents 周遊マップ・クイズラリー */
.mapandquiz {
    text-align: left;
}

.map_inner {
    margin-top: 70px;
}

.mapandquiz .left_line {
    margin-top: 0;
}

.mapandquiz h3 {
    /* margin-top: 70px; */
    margin-bottom: 10px;
    font-size: 3rem;
    font-weight: 600;
}

.mapandquiz h4 {
    margin-top: 20px;
    font-size: 2.4rem;
    font-weight: 600;
}

.mapandquiz h5 {
    font-size: 2rem;
    margin-top: 50px;
    font-weight: 600;
}

.mapandquiz .imgbox {
    display: grid;
    flex-direction: column;
}

.mapandquiz .imgbox img {
    max-width: 550px;
    margin: 10px auto;
}

.mapandquiz .btnarea a {
    color: #b48519;
    text-decoration: none;
}

.mapandquiz .btnarea {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    text-align: center;
}

.mapandquiz .btn_app:hover {
    opacity: 0.7;
}

.mapandquiz table {
    width: 100%;
}

.tour_map {
    aspect-ratio: 5 / 3;
    display: block;
    width: 100%;
    height: auto;
    margin: 15px auto;
}

.mapandquiz th {
    width: 120px;
}

.mapandquiz td {
    width: 85%;
}

.mapandquiz .underlidquiz .pdfne {
    border-bottom: 1px solid #213c83;
    width: 41%;
    margin-top: 15px;
}

.mapandquiz td p {
    margin-bottom: 10px;
}

.mapandquiz span {
    border-right: 1px solid #213c83;
    padding-right: 5px;
}

.mapandquiz .pdf {
    color: #b48519;
    font-weight: 400;
}

.mapandquiz .button {
    margin-top: 30px;
}

.mapandquiz .pdf:hover {
    color: #fafafa;
    background-color: #b48519;
}

.table_2 {
    width: 100%;
}

.table_2 td:nth-child(1) {
    width: 30%;
}

.howtoplay p {
    padding: 10 px 0;
}

.howtoplay .box {
    display: flex;
}

.howtoplay .box p {
    margin: 5px;
}

.mapandquiz ul {
    margin-bottom: 30px;
}

.course_boxarea a {
    display: block;
    padding: 30px 30px;
    width: 90%;
    background-color: #718ac9;
    color: #fafafa;
    margin: 10px auto;
    text-decoration: none;
    font-weight: 400;
}

.course_boxarea a:hover {
    background-color: #b48519;
}

/* コース詳細 */
.course p {
    text-align: left;
    margin-bottom: 15px;
}

.flow li:not(:last-child) {
    margin-bottom: 60px;
}

.flow li:not(:last-child),
.flow li:not(:first-child) {
    background-color: rgba(250, 250, 250, 0.8);
}

.flow li:not(:first-child)::before {
    content: "";
    height: 60px;
    display: block;
    border-left: 4px dotted #213c83;
    position: absolute;
    top: -60px;
    left: calc(10% + 30px - 2px);
    z-index: 1;
}

.flow {
    margin-top: 30px;
    font-weight: 400;
    padding-left: 0;
}

.flow li:last-child::before {
    left: calc(19% + 30px - 2px);
}

.flow li:nth-child(2)::before {
    /* content: "徒歩10分"; */
    padding-left: 10px;
}

.flow li:nth-child(3)::before {
    /* content: "徒歩10分"; */
    padding-left: 10px;
}

.flow li:nth-child(4)::before {
    /* content: "バス5分"; */
    padding-left: 10px;
}

.flow li:nth-child(5)::before {
    /* content: "バス5分"; */
    padding-left: 10px;
    color: #1c2b33;
}

.flow li:nth-child(1),
.flow li:last-child {
    background-color: #213c83;
    color: #fafafa;
    width: 250px;
}

.flow li {
    width: 450px;
    padding: 20px 30px;
    align-items: center;
    text-align: left;
    border: 2px solid #213c83;
    border-radius: 10px;
    position: relative;
    list-style-type: none;
}

.course .boxarea {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail {
    margin-top: 70px;
}

.detail .flow .boxarea {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.detail .flow li {
    width: 100%;
}

.course table {
    width: 100%;
}

.detail .flow .detail_image {
    display: flex;
    justify-content: space-around;
}

.detail .flow li:not(:first-child)::after {
    content: "";
    width: 50px;
    height: 50px;
    background-color: #fafafa;
    border: 3px solid #213c83;
    border-radius: 50%;
    position: absolute;
    top: -63px;
    left: calc(10% + 30px - 24px);
    z-index: 2;
    background-image: url(../mapandquiz/img/pict.png);
    background-position: center;
    background-repeat: no-repeat;
}

.detail .flow li:not(:last-child) {
    margin-bottom: 80px;
}

.detail .flow li:not(:first-child)::before {
    height: 80px;
    top: -80px;
}

.detail .flow li::before {
    padding-left: 50px;
    padding-top: 20px;
}

.detail .flow li:last-child::before {
    left: calc(10% + 30px - 2px);
}

/* contents 観光ガイドツアー情報 */
.guide p {
    text-align: left;
}

.guide img {
    margin-top: 30px;
}

.guide .left_line {
    margin-top: 50px;
}

.guide a {
    text-decoration: none;
    color: #1c2b33;
}

.guide .button {
    margin-top: 50px;
}

.guide h4 {
    text-align: left;
    margin-top: 20px;
    font-weight: 600;
}

.guide .flow li:last-child {
    background-color: rgba(250, 250, 250, 0.8);
    color: #1c2b33;
    width: 80%;
}

.guide .flow li:last-child::before {
    left: calc(10% + 30px - 2px);
}

.guide .flow li {
    width: 80%;
}

.guide .flow li:first-child {
    width: 40%;
}

.guide .table_2 {
    text-align: center;
}

.guide .table_2 td:nth-child(1) {
    width: 25%;
}

.guide .text_center {
    text-align: center;
    font-size: 1.6rem;
}

.guide .boxarea {
    margin: 30px 0;
}

.guide .box_flex {
    display: flex;
    align-items: center;
}

.guide .box_flex img {
    margin-right: 20px;
    margin-top: 7px;
    margin-bottom: 20px;
}

.guide .sp-kv {
    margin-top: 30px;
    width: 100%;
}

.guide .sp-contents-text {
    margin-top: 0;
}

.guide .guide-section {
    margin-top: 50px;
}

.guide .guide-card-img {
    margin-top: 0;
}

/* バーチャル */
.virtual .youtube_2retu {
    margin-top: 30px;
}

.virtual h4 {
    margin-top: 15px;
    font-weight: 600;
}

.virtual h3 {
    font-weight: 600;
}

.virtual a {
    color: #b48519;
    text-decoration: none;
}

.btn_app {
    width: 250px;
    padding: 10px 5px;
    background-color: #fafafa;
    margin: 0 10px;
    font-weight: 400;
}

.virtual .btnarea {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.virtual .btn_app:hover {
    opacity: 0.7;
}

.virtual .imgbox {
    display: flex;
    justify-content: center;
}

.virtual .imgbox img {
    max-width: 350px;
    margin: 30px 15px;
}

/* ニシン親子サンドの店 */
.sandwich img {
    width: 750px;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    margin: 15px 0;
}

.sandwich p {
    text-align: left;
}

.btnbox a {
    text-decoration: none;
    padding: 15px 25px;
    background-color: #213c83;
    color: #fafafa;
    border-radius: 15px;
    margin: 15px 0;
    width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btnbox {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    font-weight: 400;
}

.btnbox a:hover {
    background-color: #b48519;
}

/* contents  名物「ニシンそば」の店*/
.specialty h3,
.specialty p {
    text-align: left;
}

.specialty .none_line {
    margin-top: 30px;
}

.culture_mv {
    width: 750px;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
}

.specialty .boxarea {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

/* ニシン創作料理 */
.cooking p {
    text-align: left;
}

.cooking a {
    text-decoration: none;
    border-radius: 15px;
    padding: 15px 25px;
    background-color: #213c83;
    color: #fafafa;
    display: block;
    width: 500px;
    margin-top: 70px;
    font-weight: 400;
}

.cooking a:hover {
    background-color: #b48519;
}

.cooking .boxarea {
    font-weight: 400;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.cooking .box {
    background-color: #fafafa;
    width: 300px;
    margin: 0 10px;
}

.cooking .boxarea p {
    padding: 10px;
}

.cooking p span {
    font-size: 1.2rem;
}

.cooking .boxarea p:nth-child(1) {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

/* ニシン関連のお土産 */
.souvenir .button a {
    padding: 20px 30px;
    max-width: 400px;
}

.souvenir pre {
    font-size: 1.8rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
    word-wrap: break-word; /* 長い単語を強制的に折り返す */
    overflow-wrap: break-word; /* `word-wrap` の新しい仕様 */
    white-space: normal; /* 通常の改行ルールを適用 */
}

.souvenir h3 {
    font-size: 2.6rem;
}

.souvenir .box {
    margin-top: 50px;
}

/* スイーツ提供店 */
.sweets h3,
.sweets p,
.souvenir h3,
.souvenir p {
    text-align: left;
}

.sweets .boxarea,
.souvenir .boxarea {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
.announcements_table {
    width: 100%;
}

@media (max-width: 850px) {
    /* 物語り */
    .origin .boxarea {
        grid-template-columns: none;
    }

    .origin .box {
        max-width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }

    .origin img {
        margin-top: 10px;
    }

    /* 映像ギャラリー */

    .videogallery h3 {
        font-size: 2.6rem;
    }

    /* 周遊マップ・クイズラリー */
    .course_boxarea a {
        padding: 30px 15px;
    }

    /* コース詳細 */
    .course .boxarea {
        grid-template-columns: none;
    }

    .course .boxarea .box:nth-child(3) {
        order: 4;
    }

    .detail .flow .detail_image {
        flex-wrap: wrap;
    }

    .detail_image img {
        margin-top: 10px;
    }
}

/* バーチャル */
.virtual .imgbox img {
    max-width: 300px;
    margin: 30px 10px;
}

@media (max-width: 700px) {
    table {
        margin: 15px auto;
        width: 100%;
    }
    /* ガイダンス */
    .guidance .boxarea {
        grid-template-columns: repeat(1, 1fr);
    }

    .guidance .boxarea .box:nth-child(1) {
        order: 1;
    }

    .button {
        margin-top: 20px;
    }

    .guidance .pc_none {
        display: block;
        max-width: 350px;
        margin: 0 auto;
    }

    /* ガイドツアー */
    .guide .box_flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .guidance .sp_none {
        display: none;
    }

    /* 名物 */
    .specialty .boxarea {
        grid-template-columns: none;
        gap: 0;
    }

    .specialty .boxarea .box:nth-child(1) {
        order: 2;
    }

    .specialty .boxarea img {
        margin-top: 10px;
    }

    /* スイーツ提供店 */
    .sweets .boxarea,
    .souvenir .boxarea {
        grid-template-columns: none;
    }

    .sweets .boxarea .box:nth-child(1),
    .souvenir .boxarea .box:nth-child(1) {
        order: 2;
    }

    .sweets .box img,
    .souvenir .box img {
        margin-top: 10px;
    }

    /* 映像ギャラリー */
    .youtube_2retu {
        margin-top: 50px;
    }
    .youtube_1retu {
        margin-top: 0;
    }

    /* コース詳細 */

    .detail .flow .boxarea {
        display: grid;
        grid-template-columns: 1fr;
    }

    .detail .flow li .box:nth-child(2) {
        margin-left: 0px;
    }

    .detail .flow li .box:nth-child(4) {
        order: 3;
    }

    .detail .flow .detail_image {
        flex-wrap: wrap;
    }

    .detail .flow li {
        padding: 15px 7px;
    }

    .detail .sp_center_image {
        /* max-width: 350px; */
        margin: 15px auto;
        display: flex;
        justify-content: center;
    }

    /* 構成文化財 */
    .culture .boxarea {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    /* テーブル全体 */
    th,
    td {
        display: inline-block;
        width: 100%;
        padding: 10px;
    }

    td {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    /* 江差の物語 */
    .story h3.text_brown {
        font-size: 3rem;
    }

    .story h3 {
        font-size: 2rem;
    }

    /* 観光ガイドツアー情報 */
    .guide td {
        width: 100%;
    }

    .mapandquiz th {
        width: 100%;
    }

    .mapandquiz td {
        width: 100%;
    }

    .table_2 th,
    .table_2 td {
        display: table-cell;
        width: 30%;
    }

    /* 周遊マップ */
    .mapandquiz .imgbox img {
        max-width: 330px;
    }

    .mapandquiz .imgbox {
        flex-wrap: wrap;
    }

    .mapandquiz .imgbox img {
        margin: 10px auto;
    }

    /* コース詳細 */
    /* .course td,
    .course th {
        width: 330px;
    } */
    .course h2 {
        text-align: left;
    }

    .course h2 span {
        font-size: 2.4rem;
    }

    .flow li {
        width: 100%;
    }

    .flow li:last-child::before {
        left: calc(17% + 30px - 2px);
    }

    /* ニシン創作料理 */
    .cooking .boxarea {
        flex-wrap: wrap;
        margin-top: 15px;
    }

    .cooking .box {
        margin-top: 10px;
    }

    .cooking a {
        width: 350px;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
    }

    /* バーチャル */
    .virtual .imgbox img {
        max-width: 230px;
        margin: 10px 10px;
    }

    .virtual .imgbox {
        flex-wrap: wrap;
    }

    .youtube_2retu .boxarea {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        margin-top: 30px;
    }

    /* アクセス */
    .access th,
    .access td {
        display: table-cell;
        width: 30%;
    }

    .access h4 {
        margin-top: 30px;
    }
}

/* add2025 */
/* リセット */
.sp-guide section {
    text-align: left;
}
.sp-guide p {
    margin-bottom: 0;
}
.sp-guide ul {
    padding-left: 0;
}

/* スライダーMV */
.sp-slider-item {
    position: relative;
}
.sp-slider-item a {
    color: #3a3a3a;
}
.sp-slider-item-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.sp-slider-item-text {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.6);
    width: 40%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.sp-slider .slick-dots {
    bottom: -35px;
}
.sp-slider .slick-dots li {
    margin: 0 6px;
}
/* ドットのボタン */
.sp-slider .slick-dots li button {
    padding: 0;
}
.sp-slider .slick-dots li button:before {
    font-size: 10px;
    line-height: 10px;
    color: transparent;
    width: 10px;
    height: 10px;
    border: 1.5px solid #213c83;
    background-color: #fafafa;
    border-radius: 50%;
    opacity: 1;
    content: "";
}
/* アクティブ時 */
.sp-slider .slick-dots li.slick-active button:before {
    background-color: #213c83;
    border-color: #213c83;
}

/* コンテンツ */
.sp-contents {
    margin-top: 120px;
}

/* タイトル */
.sp-title {
    position: relative;
    padding-left: 40px;
    width: fit-content;
    font-weight: 600;
    font-size: 3rem;
    margin-bottom: 30px;
}
.sp-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 70px;
    height: 2px;
    background-color: #63768d;
    transform: rotate(-50deg);
}
.sp-title span {
    font-size: 80%;
}

.sp-kv {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.sp-contents-text {
    margin: 30px 0;
}
.sp-flex-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* コースフロー */
.sp-course-flow p {
    font-weight: normal;
}
li.flow-start,
li.flow-end {
    background-color: #213c83 !important;
    color: #fafafa;
}
.sp-course-flow li:not(:last-child),
.sp-course-flow li:not(:first-child) {
    background-color: rgba(250, 250, 250, 0.8);
}
li.flow-option {
    background-color: rgba(250, 250, 250, 0.8) !important;
    color: #1c2b33 !important;
}
.sp-course-flow li:not(:last-child) {
    margin-bottom: 40px;
}
.sp-course-flow li:not(:first-child)::before {
    content: "";
    height: 40px;
    display: block;
    border-left: 4px dotted #213c83;
    position: absolute;
    top: -40px;
    left: calc(10% + 30px - 2px);
    z-index: 1;
}
.sp-course-flow li.flow-option::after {
    content: "▶オプション申込みの方";
    position: absolute;
    top: -40px;
    left: calc(10% + 30px + 8px);
    height: 40px;
    line-height: 40px;
    z-index: 2;
    white-space: nowrap;
}
html[lang^="en"] .sp-course-flow li.flow-option::after,
.sp-course-flow[data-locale^="en"] li.flow-option::after {
    content: "▶Options";
}
.sp-course-flow::before {
    padding-left: 10px;
}
.sp-course-flow li {
    /* width: 450px; */
    padding: 20px 30px;
    align-items: center;
    text-align: left;
    border: 2px solid #213c83;
    border-radius: 10px;
    position: relative;
    list-style-type: none;
}
.flow-course-title {
    border-bottom: 1px dotted #213c83;
    font-weight: 600;
}
.flow-course-start,
.flow-course-end {
    border-bottom: 1px dotted #fafafa;
    font-weight: 600;
}
.flow-course-text {
    font-size: 1.4rem;
}

/* 行程間の移動時間表示 */
.sp-course-flow li.flow-between {
    background-color: transparent !important;
    border: none;
    padding: 0;
    margin-bottom: 0 !important;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: calc(10% + 30px + 10px);
}
.sp-course-flow li.flow-between::before {
    content: none;
}
.flow-time-to-next {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #213c83;
}
.flow-time-to-next::before {
    content: "▶";
    font-size: 1.2rem;
}

/* コーススライダー */
/* メイン画像 */
.course-slider-box {
    max-width: 500px;
}
.course-slider-main {
    margin-bottom: 12px;
}
.course-slider-main img {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

/* サムネイル */
.course-slider-thumb .slick-slide {
    padding: 0 6px;
}
.course-slider-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
}

/* おすすめポイント */
.point {
    margin-top: 70px;
}
.point-title {
    position: relative;
    padding: 0.3em 0 0.2em 1em;
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.point-title span {
    font-size: 80%;
}
.point-title::before {
    position: absolute;
    top: 0;
    left: 0.3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #ffeb55;
    content: "";
}
.point-title::after {
    position: absolute;
    transform: rotate(15deg);
    top: 0.6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #ffeb55;
    content: "";
}
.point-item-flex {
    display: flex;
    gap: 12px;
}
.point-item {
    display: flex;
    flex-direction: column;
    width: 320px;
    background: #fafafa;
}
.point-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.point-item-text {
    padding: 18px 7px;
}
.point-item-text h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.point-item-text p {
    font-size: 1.4rem;
}

/* ガイドカード */
.guide-section {
    margin-top: 70px;
}
.guide-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}
.guide-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.guide-card-content {
    padding: 20px;
}
.guide-card-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.guide-card-body {
    font-size: 1.6rem;
    margin-bottom: 16px;
    line-height: 1.8;
}
.guide-card-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 1.4rem;
}
.guide-card-table th,
.guide-card-table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}
.guide-card-table th {
    background: #f5f5f5;
    width: 120px;
    font-weight: normal;
    color: #1c2b33;
    white-space: nowrap;
}
.guide-card-link {
    margin-top: 8px;
}
.guide-card-link a {
    color: #0066cc;
    word-break: break-all;
    font-size: 1.4rem;
}
.guide-card-link a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 600px) {
    .guide-card-table th,
    .guide-card-table td {
        display: inline-block;
        width: 100%;
        padding: 8px 10px;
    }
}

/* セクションブロック（独立テキストセクション） */
.section-block {
    margin-top: 50px;
}
.section-block-title {
    margin-bottom: 15px;
    text-align: left;
    border-left: 2px solid #213c83;
    padding-left: 10px;
    font-weight: 600;
    font-size: 1.1em;
}
.section-block-body {
    line-height: 1.8;
}

/* 備考 */
.sp-note {
    margin-top: 40px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 4px;
}
.sp-note h4 {
    font-weight: 600;
    margin-bottom: 10px;
}
.sp-note p {
    line-height: 1.8;
}

/* 表 */
.sp-info-table {
    margin-top: 70px;
}
.sp-info-table table {
    width: 100%;
}

@media screen and (max-width: 1023px) {
    .course-slider-box {
        max-width: 450px;
    }
    .sp-course-flow li {
        width: 380px;
    }
}
@media screen and (max-width: 900px) {
    .sp-flex-box {
        display: inline;
    }
    .course-slider-box {
        max-width: 500px;
        margin: 0 auto 15px auto;
    }
    .sp-course-flow li {
        width: 100%;
    }
    .point-item-flex {
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 711px) {
    .point-item-flex {
        justify-content: center;
    }
    .sp-slider-item-text {
        width: 100%;
        line-height: 1.2;
        font-size: 0.8em;
    }
}
.img-center-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 25px;
}

.img-center,
.img-center-small,
.img-center-big {
    display: block;
    margin-bottom: 7px;
}

.img-center {
    width: 75%;
}

.img-center-small {
    width: 50%;
}

.img-center-big {
    width: 100%;
}

.caption {
    font-size: 1rem;
}

.table-pattern {
    margin: 42px auto;
}

.table-title {
    font-size: 2rem;
}

.privacy-link-box {
    margin-top: 50px;
    display: flex;
    gap: 4px;
    justify-content: end;
    flex-wrap: wrap;
}

.privacy-link {
    color: #686868;
    font-size: 1.6rem;
}

.privacy-link:hover {
    color: #3a3a3a;
}

@media screen and (max-width: 765px) {
    .img-center,
    .img-center-small,
    .img-center-big {
        width: 100%;
    }
}

/* Step info table (for course detail pages) */
.flow-course-info {
    margin-top: 10px;
}

.step-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
    background: #fff;
}

.step-info-table th,
.step-info-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.step-info-table th {
    background: #f5f5f5;
    width: 100px;
    font-weight: normal;
    white-space: nowrap;
}

.step-info-table td a {
    color: #0066cc;
    word-break: break-all;
}

.step-info-table td a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 765px) {
    .step-info-table th {
        width: 80px;
        font-size: 1.2rem;
    }
    .step-info-table td {
        font-size: 1.2rem;
    }
}
