@charset "UTF-8";

/* フォント
    * ----------------------------------------------- */
body {
    font-family: "fot-tsukuardgothic-std", sans-serif;
}

.-education h1,
.-education h2,
.-education h3,
.-education h4,
.-education h5,
.-education h6,
.-education dt {
    font-family: "fot-tsukuardgothic-std", sans-serif !important;
    font-weight: bold;
    font-feature-settings: "palt";
}

/* 教育旅行プログラム css
    * ----------------------------------------------- */

#main.o-spot.-education,
#main.o-archive-spot.-education {
    padding-top: 44px;
    /*    padding-top: 96px;*/
}

@media (max-width: 320px) {
    #main.o-spot.-education,
    #main.o-archive-spot.-education {
        padding-top: 40px;
        /*        padding-top: 96px;*/
    }
}

@media (min-width: 576px) {
    #main.o-spot.-education,
    #main.o-archive-spot.-education {
        padding-top: 52px;
        /*        padding-top: 96px;*/
    }
}

@media (min-width: 768px) {
    #main.o-spot.-education,
    #main.o-archive-spot.-education {
    }
}

@media (min-width: 992px) {
    #main.o-spot.-education,
    #main.o-archive-spot.-education {
        padding-top: 65px;
        /*        padding-top: 116px;*/
    }
}

@media (min-width: 1200px) {
}

span.program-catchcopy {
    display: block;
    font-size: 0.85em;
}

#hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 100%;
    text-align: right;
    padding-left: 0;
    padding-right: 0;
}

#hero-text img {
    width: 100%;
}

#title-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: left;
}

#title-hero img {
    width: 90%;
    /*    max-width: 370px;*/
}

/* バナーエリア */
.block-banner {
    display: flex;
    /* justify-content: space-evenly; */
    justify-content: space-between;
    margin-bottom: 2em;
    margin-top: 1.8em;
}

.block-banner > div {
    flex: 0 0 49.5%;
    position: relative;
    isolation: isolate;
}

/* ざらついた縁の背景（SVGフィルターで縁を歪ませる） */
.block-banner > div::before {
    content: "";
    position: absolute;
    inset: 0;
    filter: url(#rough-edge);
    z-index: -1;
}

.block-banner > div.-whats_gujo::before {
    background: #2b5f31;
}

.block-banner > div.-real_exp::before {
    background: #00436d;
}

.block-banner > div.-whats_gujo:hover::before,
.block-banner > div.-real_exp:hover::before {
    background: #b8b8b8;
}

.block-banner img {
    display: block;
}

@media (min-width: 768px) {
    .block-banner {
        padding-left: 0;
        padding-right: 0;
    }
}

/* タイトル */
#archive-spot.-education {
    padding-top: 0;
    border: none;
}

#archive-spot.-education .container {
    margin-top: 0;
    margin-bottom: 20px;
}

#archive-spot.-education .container .d-flex {
    position: relative;
    color: #fff;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 28px 34px;
    align-items: center;
    isolation: isolate;
}

/* ざらついた縁の赤背景（SVGフィルターで縁を歪ませる） */
#archive-spot.-education .container .d-flex::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #9f141d;
    filter: url(#rough-edge);
    z-index: -1;
}

#archive-spot.-education .container .d-flex.-bottom::before {
    background: #002413;
}

#archive-spot.-education .container .d-flex.-bottom {
    justify-content: center;
}

/* SVGフィルター定義は非表示（領域を取らない） */
.rough-edge-svg {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* 体験施設セクション */
#archive-facility.-education {
    padding-top: 0;
    border: none;
}

#archive-facility.-education .container {
    margin-top: 0;
    margin-bottom: 20px;
}

#archive-facility.-education .container .d-flex {
    position: relative;
    color: #fff;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 28px 34px;
    align-items: center;
    isolation: isolate;
}

/* ざらついた縁の赤背景（SVGフィルターで縁を歪ませる） */
#archive-facility.-education .container .d-flex::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #9f141d;
    filter: url(#rough-edge);
    z-index: -1;
}

#archive-facility.-education .container .d-flex.-bottom::before {
    background: #002413;
}

#archive-facility.-education .container .d-flex.-bottom {
    justify-content: center;
}

.d-flex.-bottom {
    position: relative;
    color: #fff;
    padding: 30px;
    justify-content: center;
    isolation: isolate;
}

.d-flex.-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #002413;
    filter: url(#rough-edge);
    z-index: -1;
}

#archive-spot.-education .container .d-flex .o-section-subtitle {
    margin-bottom: 1.5em;
}

#archive-spot.-education .container .d-flex > * {
    width: 100%;
}

#archive-spot.-education .container .d-flex > div {
    text-align: left;
}

#archive-facility.-education .container .d-flex .o-section-subtitle {
    margin-bottom: 1.5em;
}

#archive-facility.-education .container .d-flex > * {
    width: 100%;
}

#archive-facility.-education .container .d-flex > div {
    text-align: left;
}

.info-education .text {
    font-size: 1.2em;
    font-weight: bold;
    padding-left: 0;
    line-height: 1.2;
    margin-bottom: 1em;
    letter-spacing: 2px;
}

.info-education .sub-title {
    text-align: center;
    color: #ffd800;
    font-size: 0.9em;
}

.info-education .btn-block {
    display: flex;
    flex-wrap: wrap;
}

.info-education .btn_education {
    background-color: #ffd800;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #7b6128 !important;
    padding: 8px 19px;
    width: 100%;
    margin-right: 8px;
    text-align: center;
    margin-top: 0.7em;
    font-weight: bold !important;
}

.info-education .btn_education:hover {
    background-color: #fff;
}

.info-education .btn_education.btn_education-pending {
    background-color: #b8b8b8 !important;
    border-color: #a8a8a8 !important;
    color: #4a4a4a !important;
    cursor: default !important;
    pointer-events: none !important;
    user-select: none;
    -webkit-user-select: none;
}

.info-education .btn_education.btn_education-pending:hover,
.info-education .btn_education.btn_education-pending:focus {
    background-color: #b8b8b8 !important;
    border-color: #a8a8a8 !important;
    color: #4a4a4a !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* SPサイズでギザギザ背景を画面端まで広げる */
@media (max-width: 575px) {
    #archive-spot.-education .container .d-flex::before,
    #archive-facility.-education .container .d-flex::before,
    .d-flex.-bottom::before {
        inset: 0 -40px;
    }

    /* 背景を広げた分、内部コンテンツも横いっぱいに寄せる */
    #archive-spot.-education .container .d-flex,
    #archive-facility.-education .container .d-flex,
    .d-flex.-bottom {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 画面端まで広げたギザギザ背景による横スクロールを抑止（clipはスクロールコンテナを作らないためsticky/fixedへの副作用が少ない） */
    #main.-education {
        overflow-x: clip;
    }
}

@media (min-width: 576px) {
    #hero-text {
        transform: translate(-50%, -50%);
        padding-left: 15px;
        padding-right: 15px;
    }

    #hero-text img {
        width: 15%;
        max-width: 190px;
        margin-right: 10%;
    }

    #title-hero img {
        width: 100%;
        max-width: 810px;
    }

    #archive-spot.-education .container .d-flex .o-section-subtitle {
        margin: 0;
    }

    #archive-facility.-education .container .d-flex .o-section-subtitle {
        margin: 0;
    }

    .info-education .text {
        font-size: 1.5em;
    }

    .info-education .sub-title {
        font-size: 1.1em;
    }

    .info-education .btn-block {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .info-education .btn_education {
        width: 50%;
    }

    .info-education .btn_education.btn_education-pending {
        width: 100%;
        margin-right: 0;
    }

    #archive-spot.-education .container .d-flex {
        margin: 0 -1%;
    }

    #archive-facility.-education .container .d-flex {
        margin: 0 -1%;
    }
}

@media (min-width: 768px) {
    #archive-spot.-education .container .d-flex > h2 {
        width: 40%;
    }

    #archive-spot.-education .container .d-flex > div {
        width: 50%;
    }

    #archive-facility.-education .container .d-flex > h2 {
        width: 40%;
    }

    #archive-facility.-education .container .d-flex > div {
        width: 50%;
    }

    #archive-spot.-education .banner {
        text-align: left;
    }

    #archive-spot.-education .banner img {
        max-width: 980px;
    }
}

/*プログラム一覧*/
.program-card {
    padding-top: 8px;
    padding-bottom: 8px;
}

.program-card .inner {
    position: relative;
    padding: 18px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-between;
    isolation: isolate;
}

/* ざらついた縁の背景（SVGフィルターで縁を歪ませる） */
.program-card .inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #7b6128;
    filter: url(#rough-edge);
    z-index: -1;
}

.program-card .inner.-facility::before {
    background: #4a4949;
}

.program-card__content {
    width: 100%;
}

.program-card a {
    color: #fff !important;
    font-weight: bold;
    width: 100%;
    /*    display: block;*/
    display: flex;
}

.program-card a:hover,
.program-card a:focus {
    font-weight: bold !important;
    opacity: 0.8;
}

.program-card_head {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /*    margin-bottom: 4px;*/
}

.program-card__category {
    display: inline-block;
}

.program-card__category .icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
}

.icon.cat-mountain_program {
    background-image: url(../img/education/icon-mountain.svg);
}

.icon.cat-river_program {
    background-image: url(../img/education/icon-river.svg);
}

.icon.cat-snow_program {
    background-image: url(../img/education/icon-snow.svg);
}

.icon.cat-cultures_program {
    background-image: url(../img/education/icon-culture.svg);
}

.icon.cat-facility_program {
    background-image: url(../img/education/icon-facility.svg);
}

.program-card__area {
    padding-left: 8px;
    font-size: 1.2em;
    width: 10ch;
}

.program-card_head > div {
    margin-bottom: 4px;
}

.program-card_head .program-card_head__term {
    display: flex;
    align-items: stretch;
    margin-bottom: 4px;
}

.program-card_head .program-card_head__info span {
    display: block;
    font-size: 11px;
    line-height: 10px;
    margin-bottom: 4px;
    /*    width: 23ch;*/
}

.program-card__participants {
    color: #ffd900;
}

.program-card__title {
}

.program-card__title .program-card__catchcopy {
    color: #ffd900;
    display: block;
    font-size: 0.85em;
}

.program-card .program-card__thumbnail {
    width: 100%;
}

.program-card .program-card__thumbnail img {
    border: 3px solid #fff;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

@media (min-width: 576px) {
    .program-card {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
}

/* 詳細ページ */

.-education .o-page-contant-title {
    margin-bottom: 20px;
    margin-top: 20px;
}

.slick-initialized .slick-slide {
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

.spot-slider img {
    opacity: 1 !important;
}

.o-spot.-education .o-info-graph {
    max-width: 880px;
    border-top: 1px solid #aaa;
}

.o-spot.-education .o-spot-taxonomy-info {
    position: relative;
    color: #fff;
    font-weight: bold;
    padding: 6px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    isolation: isolate;
}

/* ざらついた縁の背景（SVGフィルターで縁を歪ませる） */
.o-spot.-education .o-spot-taxonomy-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #7b6128;
    filter: url(#rough-edge);
    z-index: -1;
}

.o-spot.-education .o-spot-taxonomy-info.-facility::before {
    background: #4a4949;
}

.o-spot.-education .o-spot-taxonomy-info__term {
    display: flex;
    align-items: center;
}

.o-spot.-education .o-spot-taxonomy-info__term .program-category {
    height: 24px;
}

.o-spot.-education .o-spot-taxonomy-info__term .icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
}

.o-spot.-education .o-spot-taxonomy-info__term .program-area {
    font-size: 1em;
    padding-left: 1em;
}

#spot-the-contents.-education {
    padding-bottom: 40px;
}

#spot-the-contents.-education .o-spot-box {
    justify-content: center;
}

#spot-the-contents.-education .program-description {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    margin-top: 16px;
    padding: 1rem 8px 0px;
}

.-education #nearest-spot .carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.-education #nearest-spot .carousel {
    display: flex;
    transition: transform 0.5s ease;
}

/* .slide の幅はグリッドクラスに任せるため、固定のmin-widthは指定しません */
.-education #nearest-spot .slide {
    /* flex: 0 0 auto; */
}

/* ボタン共通配置（PC / スマホ共通） */
.-education #nearest-spot .prev,
.-education #nearest-spot .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
}

.-education #nearest-spot .prev {
    left: 10px;
}

.-education #nearest-spot .next {
    right: 10px;
}

@media screen and (max-width: 767px) {
    .-education .spot-slider .slick-dots {
        bottom: -26px;
    }

    .-education #nearest-spot .carousel {
        -webkit-overflow-scrolling: touch;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }

    .-education #nearest-spot .slide {
        scroll-snap-align: start;
    }

    /* スマホ用にボタンサイズを少し小さく */
    .-education #nearest-spot .prev,
    .-education #nearest-spot .next {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* PCサイズの場合、ネイティブスクロールを無効化 */
@media (min-width: 768px) {
    .-education #nearest-spot .carousel {
        /* overflow-x: hidden; */

        scroll-snap-type: none;
        scroll-behavior: auto;
    }
}

/* What's GUJO ページ */

#main.-education.--whats_gujo {
    background-color: #2b5f31;
}

.--whats_gujo #o-breadcrumb,
.--whats_gujo #o-breadcrumb a {
    color: #fff !important;
}

#main.--whats_gujo .bg-color {
    color: #fff;
    padding: 0px 20px;
    font-weight: 600;
}

#main.--whats_gujo .bg-color,
#main.--real_exp .bg-color {
    position: relative;
}

#main.--whats_gujo .bg-color::after,
#main.--real_exp .bg-color::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 10px;
    background-repeat: repeat-x;
    background-position: left bottom;
    background-size: auto 100%;
    pointer-events: none;
    z-index: 10;
}

#main.--whats_gujo .bg-color::after {
    background-image: url(../img/education/bg_terminal_green.png);
}

#main.--real_exp .bg-color::after {
    background-image: url(../img/education/bg_terminal_blue.png?V=1.0.0);
}

#archive-spot.--whats_gujo .container .d-flex {
    background-color: #2b5f31;
}

.bg-color .o-page-contant.--whats_gujo > .container:first-child {
    padding: 0;
}

.bg-color .o-page-contant.--whats_gujo > .container:nth-child(2) {
    padding: 0 15px;
}

.bg-color .o-page-contant.--whats_gujo > .container {
    padding: 10px 15px 10px;
}

.--whats_gujo .container .o-heading {
    margin-bottom: 24px;
}

.--whats_gujo #section02 .o-block__content {
    margin-bottom: 24px;
}

.--whats_gujo #section02 .o-block__title {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #fff;
}

.--whats_gujo #section02 .o-block__title > span {
    display: block;
}

.--whats_gujo #section02 .o-block__title .cat-sub_title {
    margin-right: 14px;
}

.--whats_gujo #section02 .o-block__title .cat-sub_title img {
    height: 82px;
    width: auto !important;
}

.--whats_gujo #section02 .o-block__content .img {
    margin-bottom: 12px;
}

.--whats_gujo #section02-1 {
    padding-top: 20px;
}

.--whats_gujo #section02-1 .o-heading {
    margin-bottom: 24px;
}

.--whats_gujo #section02-1 .o-heading .o-section-title {
    margin-bottom: 24px;
    max-width: 800px;
    margin-inline: auto;
}

.--whats_gujo #section02-1 .o-heading p {
    font-size: 16px;
    font-weight: bold;
}

.--whats_gujo #section03 .o-heading {
    margin-bottom: 0px;
}

.--whats_gujo #section03 .o-heading .o-section-title {
    font-size: 16px;
    font-weight: bold;
}

.--whats_gujo #section03 .o-heading p {
    text-align: left;
}

.scroll-container img {
    max-width: none;
    height: auto;
}

@media screen and (max-width: 767px) {
    .scroll-container {
        width: 100%;
        overflow-x: scroll;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 24px;
    }

    .scroll-container img {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .bg-color .o-page-contant.--whats_gujo > .container {
        padding: 20px 15px 20px;
    }

    .--whats_gujo .container .o-heading {
        margin-bottom: 24px;
    }

    .--whats_gujo #section02-1 .o-heading p {
        font-size: 18px;
    }

    .--whats_gujo #section03 .o-heading {
        margin-bottom: 12px;
    }

    .--whats_gujo #section03 .o-heading .o-section-title {
        font-size: 18px;
    }

    .--whats_gujo #section03 .o-heading p {
        text-align: center;
    }

    .--whats_gujo #section03 .o-block__content {
        text-align: center;
    }

    .scroll-container img {
        width: 100%;
        max-width: 860px;
    }
}

@media (min-width: 992px) {
    /* .o-page-contant.-education.--whats_gujo .bg-color>.container {
        padding: 45px 30px;
    } */
}

@media (min-width: 1200px) {
    /* .o-page-contant.-education.--whats_gujo .bg-color>.container {
        padding: 60px 40px;
    } */
}

/* Real Exp ページ */

/* .o-page-contant.-education.--real_exp .bg-color>.container {
    background-color: #00436D;
    color: #FFF;
    padding: 30px 20px;
} */

#main.-education.--real_exp {
    background-color: #00436d;
}

.--real_exp #o-breadcrumb,
.--real_exp #o-breadcrumb a {
    color: #fff !important;
}

#main.--real_exp .bg-color {
    color: #fff;
    padding: 0px 20px;
    font-weight: 600;
}

#archive-spot.--real_exp .container .d-flex {
    background-color: #00436d;
}

.bg-color .o-page-contant.--real_exp > .container:first-child {
    padding: 0;
}

.bg-color .o-page-contant.--real_exp > .container:nth-child(2) {
    padding: 0 15px;
}

.bg-color .o-page-contant.--real_exp > .container {
    padding: 10px 15px 10px;
}

.--real_exp .container .o-heading {
    margin-bottom: 24px;
}

.--real_exp #section02 .row {
    padding-top: 12px;
}

.--real_exp #section02 .row > div {
    margin-bottom: 12px;
}

.--real_exp #section02 .row > div:last-child {
    margin-bottom: 0px;
}

.--real_exp #section02-1.container .o-heading {
    margin-bottom: 8px;
}

.--real_exp #section02-1 h3 {
    color: #edaf32;
    font-size: 16px;
    margin-top: -1em;
}

.--real_exp #section03 .o-block__content {
    text-align: center;
}

@media (min-width: 768px) {
    .bg-color .o-page-contant.--real_exp > .container {
        padding: 20px 15px 20px;
    }

    .--real_exp .container .o-heading {
        margin-bottom: 24px;
    }

    .--real_exp .bg-color .o-section-title {
        max-width: 640px;
    }

    .--real_exp #section02-1 h3 {
        font-size: 18px;
    }

    .--real_exp #section02,
    .--real_exp #section02-1,
    .--real_exp #section03 {
        max-width: 960px;
    }

    .--real_exp .scroll-container img {
        max-width: 800px;
    }
}

@media (min-width: 992px) {
    /* .--real_exp .bg-color>.container {
        padding: 45px 30px;
    } */
}

@media (min-width: 1200px) {
    /* .--real_exp .bg-color>.container {
        padding: 60px 40px;
    } */
}

/* 教育旅行 トップページへボタン */
.btn-back-to-top {
    background-color: #043621 !important;
    font-weight: bold !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}
.btn-back-to-top__icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    transform: translateY(-1px);
}
@media (min-width: 768px) {
    .btn-back-to-top {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        font-size: 1.2rem !important;
    }
}
.btn-back-to-top:hover,
.btn-back-to-top:focus {
    background-color: #ffffff !important;
    color: #7b6128 !important;
    font-weight: bold !important;
}
