@charset "utf-8";
body {
    background: #fff;
    color: #000;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    margin:0;
}
img{
    width:100%;
    height:auto;
}
/* =========================
   header
========================= */
.l-header {
    position: fixed;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
}

.l-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.l-header__logo {
    flex: 0 0 auto;
}

.l-header__logo a {
    display: block;
}

.l-header__logo img {
    display: block;
    width: auto;
    height: 56px;
}

.l-header__nav {
    margin-left: auto;
}

.l-header__nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.l-header__nav-item a {
    display: inline-block;
    color: #222;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.l-header__nav-item a:hover {
    opacity: 0.7;
}

.l-header__menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
}

.l-header__menu-btn span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #333;
    transform: translateX(-50%);
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.l-header__menu-btn span:nth-child(1) {
    top: 13px;
}

.l-header__menu-btn span:nth-child(2) {
    top: 21px;
}

.l-header__menu-btn span:nth-child(3) {
    top: 29px;
}

.l-header__menu-btn.is-open span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.l-header__menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.l-header__menu-btn.is-open span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* =========================
   responsive
========================= */
@media screen and (max-width: 767px) {
    .l-header__inner {
        padding: 10px 16px;
    }

    .l-header__logo img {
        height: 44px;
    }

    .l-header__menu-btn {
        display: block;
    }

    .l-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #f5f5f5;
        border-bottom: 2px solid #6ea8ff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .l-header__nav.is-open {
        display: block;
    }

    .l-header__nav-list {
        display: block;
        padding: 8px 0;
    }

    .l-header__nav-item {
        border-top: 1px solid #dddddd;
    }

    .l-header__nav-item:first-child {
        border-top: 0;
    }

    .l-header__nav-item a {
        display: block;
        padding: 14px 16px;
        font-size: 15px;
    }
}
/* =========================
   footer
========================= */
.l-footer {
    background: #54afff;
    width: 100%;
    padding: 32px 0px 0;
}

.l-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 40px;
}

.l-footer__logo {
    margin-bottom: 28px;
}

.l-footer__logo a {
    display: inline-block;
}

.l-footer__logo img {
    display: block;
    width: 180px;
    height: auto;
    max-width: 100%;
    /* height: 72px; */
    margin: 0 auto;
}

.l-footer__sns-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.l-footer__sns-item a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.l-footer__sns-item a:hover {
    opacity: 0.7;
}
/* footer bottom */
.l-footer__bottom {
    background: #000;
    padding: 10px 16px;
    text-align: center;
}

.l-footer__copy {
    margin: 0;
    font-size: 12px;
    color: #fff;
    letter-spacing: 0.05em;
}
@media screen and (max-width: 767px) {

    .l-footer__logo {
        margin-bottom: 24px;
    }


    .l-footer__sns-list {
        gap: 24px;
    }

    .l-footer__sns-item a {
        font-size: 22px;
    }
}

/* =========================
   layout
========================= */
.l-main {
    overflow: hidden;
}

.l-container {
    width: 980px;
    max-width: 90%;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
}

@media screen and (max-width: 767px) {
    .l-container {
        padding-right: 16px;
        padding-left: 16px;
    }
    footer{
        margin-bottom: 80px;
    }
}

/* =========================
   top common section
========================= */
.top-news,
.insta,
.twitter,
.top-text {
    padding: 80px 0;
}

@media screen and (max-width: 767px) {
    .top-news,
    .insta,
    .twitter,
    .top-text {
        padding: 56px 0;
    }
}

/* =========================
   top common title
========================= */
.top-news__title,
.ameblo__ttl,
.toppoints__title {
    margin: 0 0 32px;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .top-news__title,
    .ameblo__ttl,
    .toppoints__title {
        margin-bottom: 24px;
        font-size: 24px;
    }
}

/* =========================
   common button
========================= */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 56px;
    padding: 14px 28px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.c-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.c-btn--ghost {
    color: #0b5f75;
    background: #fff;
    border: 1px solid #0b5f75;
}

/* =========================
   embed adjust
========================= */
.snapwidget-widget {
    width: 100% !important;
    border: 0 !important;
}

.twitter-tweet {
    margin: 0 auto !important;
}


.c-link-more {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    width: 200px;
}

.c-link-more:hover {
    background: #eee;
    color: #333;
}
@media screen and (max-width: 767px) {
    .c-link-more {
        width: 100%;
        text-align: center;
        padding: 14px 16px;
    }
}

/* =========================
   aboutus page
========================= */
.page-hero {
    position: relative;
    min-height: 420px;
    color: #fff;
    background: #0f2430;
}

.page-hero__media {
    position: absolute;
    inset: 0;
}

.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__overlay {
    position: relative;
    z-index: 1;
    min-height: 420px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(6, 11, 16, 0.78) 0%, rgba(6, 11, 16, 0.52) 36%, rgba(6, 11, 16, 0.22) 62%, rgba(6, 11, 16, 0.60) 100%),
        linear-gradient(180deg, rgba(4, 8, 12, 0.22) 0%, rgba(4, 8, 12, 0.36) 100%);
}

.page-hero__content {
    max-width: 720px;
    padding: 120px 0 72px;
}

.page-hero__lead {
    margin: 0 0 16px;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-hero__title {
    margin: 0;
    font-size: 44px;
    line-height: 1.25;
}

.page-hero__text {
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 2;
}

.page-breadcrumb {
    padding: 20px 0;
    background: #f7f7f7;
}

.page-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.page-breadcrumb__item {
    color: #666;
}

.page-breadcrumb__item + .page-breadcrumb__item::before {
    content: ">";
    margin-right: 12px;
    color: #999;
}

.page-breadcrumb__item a {
    color: #666;
    text-decoration: none;
}

.page-breadcrumb__item a:hover {
    text-decoration: underline;
}

.aboutus-intro,
.aboutus-message,
.aboutus-info,
.aboutus-access {
    padding: 88px 0;
}

.aboutus-intro {
    background: #fff;
}

.aboutus-intro__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.aboutus-intro__image img,
.aboutus-info__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.aboutus-intro__eyebrow {
    margin: 0 0 12px;
    color: #54afff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.aboutus-info__image {
    margin-top: 40px;
}
.aboutus-section-title {
    margin: 0 0 24px;
    font-size: 34px;
    line-height: 1.4;
    color: #111;
}

.aboutus-section-title--center {
    text-align: center;
}

.aboutus-intro__text,
.aboutus-message__text,
.aboutus-access__text,
.aboutus-info__table dd {
    margin: 0;
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.aboutus-intro__text + .aboutus-intro__text,
.aboutus-message__text + .aboutus-message__text {
    margin-top: 18px;
}

.aboutus-message {
    background: #f8fbfd;
}

.aboutus-message__box,
.aboutus-access__box {
    padding: 56px 64px;
    background: #fff;
    border: 1px solid #e5eef4;
}

.aboutus-message__box {
    max-width: 960px;
    margin: 0 auto;
}

.aboutus-message__text {
    text-align: center;
}

.aboutus-message__text + .aboutus-message__text {
    margin-top: 16px;
}

.aboutus-info {
    background: #fff;
}

.aboutus-info__table {
    margin: 0;
    border-top: 1px solid #ddd;
}

.aboutus-info__row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.aboutus-info__table dt {
    font-weight: bold;
    color: #111;
}

.aboutus-info__table dd a {
    color: #111;
    text-decoration: none;
}

.aboutus-info__table dd a:hover {
    text-decoration: underline;
}

.aboutus-info__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    justify-content: center;
}

.c-btn--tel {
    color: #fff;
    background: #111;
}

.c-btn--line {
    color: #fff;
    background: #06c755;
}

.aboutus-access {
    background: #f8fbfd;
}

.aboutus-access__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.aboutus-access__item {
    padding: 32px;
    background: #fff;
    border: 1px solid #e5eef4;
}

.aboutus-access__title {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.4;
    color: #111;
}

@media screen and (max-width: 767px) {
    .page-hero {
        min-height: 340px;
    }

    .page-hero__overlay {
        min-height: 340px;
    }

    .page-hero__content {
        padding: 112px 0 56px;
    }

    .page-hero__title {
        font-size: 30px;
    }

    .page-hero__text {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.8;
    }

    .aboutus-intro,
    .aboutus-message,
    .aboutus-info,
    .aboutus-access {
        padding: 56px 0;
    }

    .aboutus-intro__grid,
    .aboutus-info__layout,
    .aboutus-access__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .aboutus-intro__image img,
    .aboutus-info__image img {
        min-height: 240px;
    }

    .aboutus-section-title {
        margin-bottom: 20px;
        font-size: 26px;
    }

    .aboutus-message__box,
    .aboutus-access__box,
    .aboutus-access__item {
        padding: 32px 20px;
    }

    .aboutus-message__text {
        text-align: left;
    }

    .aboutus-info__row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }

    .aboutus-info__cta {
        display: grid;
        grid-template-columns: 1fr;
    }

}
/* =========================
   course page
========================= */
.coursepage-hero {
    position: relative;
    min-height: 250px;
    color: #fff;
    background: #0f2430;
}

.coursepage-hero__media {
    position: absolute;
    inset: 0;
}

.coursepage-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coursepage-hero__overlay {
    position: relative;
    z-index: 1;
    min-height: 250px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(6, 11, 16, 0.56) 0%, rgba(6, 11, 16, 0.26) 45%, rgba(6, 11, 16, 0.18) 100%),
        linear-gradient(180deg, rgba(4, 8, 12, 0.10) 0%, rgba(4, 8, 12, 0.24) 100%);
}

.coursepage-hero__content {
    max-width: 720px;
    padding: 118px 0 46px;
}

.coursepage-hero__lead {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.coursepage-hero__title {
    margin: 0;
    font-size: 40px;
    line-height: 1.25;
}

.coursepage-hero__text {
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 1.9;
}

.coursepage-intro,
.coursepage-section,
.coursepage-contact {
    padding: 84px 0;
}

.coursepage-intro {
    background: #fff;
}

.coursepage-intro__box {
    padding: 38px 42px;
    border: 1px solid #e5eef4;
    background: #f8fbfd;
}

.coursepage-intro__title {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.5;
    color: #111;
}

.coursepage-intro__guide {
    margin: 0;
    padding: 0;
    list-style: none;
}

.coursepage-intro__guide li {
    position: relative;
    padding-left: 1.2em;
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.coursepage-intro__guide li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #54afff;
    transform: translateY(-50%);
}

.coursepage-section--snorkel {
    background: #fff;
}

.coursepage-section--trial,
.coursepage-section--license {
    background: #f8fbfd;
}

.coursepage-section--fun,
.coursepage-section--point,
.coursepage-contact {
    background: #fff;
}

.coursepage-snorkel {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 40px;
    align-items: stretch;
}

.coursepage-snorkel__media {
    min-height: 520px;
    overflow: hidden;
}

.coursepage-snorkel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.coursepage-snorkel__body {
    padding: 42px 0;
}

.coursepage-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
    align-items: flex-start;
}

.coursepage-layout--reverse .coursepage-layout__media {
    order: 2;
}

.coursepage-layout--reverse .coursepage-layout__body {
    order: 1;
}

.coursepage-layout__media {
    overflow: hidden;
}

.coursepage-layout__media img {
    width: 100%;
    height: auto;
}

.coursepage-section__label {
    margin: 0 0 12px;
    color: #54afff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.coursepage-section__title {
    margin: 0 0 20px;
    font-size: 34px;
    line-height: 1.4;
    color: #111;
}

.coursepage-section__title--center {
    text-align: center;
}

.coursepage-section__lead {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.9;
    color: #111;
}

.coursepage-section__lead--center,
.coursepage-section__text--center {
    text-align: center;
}

.coursepage-section__text {
    margin: 0;
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.coursepage-section__text + .coursepage-section__text {
    margin-top: 14px;
}

.coursepage-section__caption {
    margin: 20px 0 0;
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

.coursepage-recommend {
    margin-top: 28px;
    padding: 24px 26px;
    background: #f8fbfd;
    border: 1px solid #e5eef4;
}

.coursepage-recommend__title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.5;
    color: #111;
}

.coursepage-recommend__list {
    margin: 0;
    padding-left: 1.2em;
}

.coursepage-recommend__list li {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

.coursepage-pricecard {
    margin-top: 28px;
    padding: 28px 30px;
    background: #fff;
    border: 1px solid #d8e6ef;
}

.coursepage-pricecard__title {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.5;
    color: #111;
}

.coursepage-pricecard__price {
    margin: 0;
    font-size: 30px;
    line-height: 1.4;
    font-weight: bold;
    color: #111;
}

.coursepage-pricecard__price span {
    font-size: 15px;
    font-weight: normal;
}

.coursepage-pricecard__table {
    margin: 0;
    border-top: 1px solid #ddd;
}

.coursepage-pricecard__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #ddd;
}

.coursepage-pricecard__row dt,
.coursepage-pricecard__row dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #111;
}

.coursepage-pricecard__row dd {
    font-weight: bold;
}

.coursepage-pricecard__notes {
    margin: 16px 0 0;
    padding-left: 1.2em;
}

.coursepage-pricecard__notes li {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

.coursepage-pricecard__subblock {
    margin-top: 20px;
}

.coursepage-pricecard__subttl {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.8;
    color: #111;
}

.coursepage-rental {
    margin-top: 26px;
}

.coursepage-rental__title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.5;
    color: #111;
}

.coursepage-rental__table {
    margin: 0;
    border-top: 1px solid #ddd;
}

.coursepage-rental__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.coursepage-rental__row dt,
.coursepage-rental__row dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.coursepage-rental__row dd {
    font-weight: bold;
    color: #111;
}

.coursepage-box {
    max-width: 880px;
    margin: 0 auto;
    padding: 48px 56px;
    border: 1px solid #e5eef4;
    background: #f8fbfd;
}

.coursepage-license {
    max-width: 860px;
    margin: 0 auto;
}

.coursepage-license__card {
    margin-top: 34px;
    padding: 40px 42px;
    background: #fff;
    border: 1px solid #d8e6ef;
    text-align: center;
}

.coursepage-license__card .coursepage-pricecard__notes {
    display: inline-block;
    text-align: left;
}

.coursepage-contact__box {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 56px;
    background: #f8fbfd;
    border: 1px solid #e5eef4;
}

.coursepage-contact__cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.coursepage-floatcta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coursepage-floatcta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.coursepage-floatcta__btn--tel {
    background: #111;
}

.coursepage-floatcta__btn--line {
    background: #06c755;
}

@media screen and (max-width: 767px) {
    .coursepage-hero {
        min-height: 200px;
    }

    .coursepage-hero__overlay {
        min-height: 200px;
    }

    .coursepage-hero__content {
        padding: 104px 0 34px;
    }

    .coursepage-hero__title {
        font-size: 30px;
    }

    .coursepage-hero__text {
        font-size: 14px;
        line-height: 1.8;
    }

    .coursepage-intro,
    .coursepage-section,
    .coursepage-contact {
        padding: 56px 0;
    }

    .coursepage-intro__box,
    .coursepage-box,
    .coursepage-license__card,
    .coursepage-contact__box {
        padding: 28px 20px;
    }

    .coursepage-intro__title {
        font-size: 24px;
    }

    .coursepage-snorkel,
    .coursepage-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .coursepage-snorkel__media {
        min-height: auto;
    }

    .coursepage-snorkel__media img,
    .coursepage-layout__media img {
        height: 220px;
    }

    .coursepage-snorkel__body {
        padding: 0;
    }

    .coursepage-layout--reverse .coursepage-layout__media,
    .coursepage-layout--reverse .coursepage-layout__body {
        order: initial;
    }

    .coursepage-section__title {
        font-size: 28px;
    }

    .coursepage-section__lead {
        font-size: 16px;
        line-height: 1.8;
    }

    .coursepage-section__lead--center,
    .coursepage-section__text--center {
        text-align: left;
    }

    .coursepage-pricecard {
        padding: 24px 20px;
    }

    .coursepage-pricecard__title {
        font-size: 22px;
    }

    .coursepage-pricecard__price {
        font-size: 26px;
    }

    .coursepage-pricecard__row,
    .coursepage-rental__row {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .coursepage-license__card {
        text-align: left;
    }

    .coursepage-license__card .coursepage-pricecard__notes {
        display: block;
    }

    .coursepage-contact__cta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .coursepage-floatcta {
        right: 0;
        bottom: 0;
        left: 0;
        flex-direction: row;
        gap: 0;
    }

    .coursepage-floatcta__btn {
        min-width: 0;
        width: 50%;
        min-height: 54px;
        box-shadow: none;
    }
}
.coursepage-layout__media img {
    filter: brightness(0.95) contrast(0.95);
}
/* =========================
   course layout adjust
========================= */

/* レイアウト比率（画像小さめ・テキスト広め） */
.coursepage-layout,
.coursepage-snorkel {
    display: grid;
    grid-template-columns: 38% 62%;
    gap: 44px;
    align-items: flex-start;
}

/* 反転は使わないので無効化 */
.coursepage-layout--reverse .coursepage-layout__media,
.coursepage-layout--reverse .coursepage-layout__body {
    order: initial;
}

/* 画像制御（重要） */
.coursepage-layout__media img,
.coursepage-snorkel__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5; /* 縦長すぎない */
    object-fit: cover;

    /* 主張抑えるフィルター */
    filter: brightness(0.95) contrast(0.95);
}

/* シュノーケリングも同じ構造に揃える */
.coursepage-snorkel__media {
    min-height: auto;
}

/* テキスト余白少し広げる */
.coursepage-layout__body,
.coursepage-snorkel__body {
    padding: 10px 0;
}




/* =========================
   SPはそのまま縦積み維持
========================= */
@media screen and (max-width: 767px) {
    .coursepage-layout,
    .coursepage-snorkel {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .coursepage-layout__media img,
    .coursepage-snorkel__media img {
        aspect-ratio: 16 / 10; /* 横寄りで軽くする */
        filter: none; /* SPはそのままでOK（好みで残しても可） */
    }
}
.coursepage-intro__box {
    padding: 38px 42px;
    border: 1px solid #e5eef4;
    background: #f8fbfd;
}

.coursepage-intro__title {
    margin: 0 0 24px;
    font-size: 28px;
    line-height: 1.5;
    color: #111;
    text-align: center;
}

.coursepage-intro__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.coursepage-intro__card {
    padding: 22px 22px 20px;
    background: #fff;
    border: 1px solid #dfeaf1;
}

.coursepage-intro__card-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.5;
    color: #111;
}

.coursepage-intro__card-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

.coursepage-intro__card-course {
    margin: 14px 0 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    color: #54afff;
}

@media screen and (max-width: 767px) {
    .coursepage-intro__box {
        padding: 28px 20px;
    }

    .coursepage-intro__title {
        margin-bottom: 20px;
        font-size: 24px;
        text-align: left;
    }

    .coursepage-intro__cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .coursepage-intro__card {
        padding: 18px 16px;
    }

    .coursepage-intro__card-title {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .coursepage-intro__card-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .coursepage-intro__card-course {
        margin-top: 10px;
        font-size: 15px;
    }
}