/* ==========================================================================
   Base / Reset
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family:
        "游ゴシック", "Yu Gothic", YuGothic, "Noto Sans JP", "ヒラギノ角ゴ Pro",
        "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4d4d4d;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
}

address {
    font-style: normal;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

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

.header__logo a {
    display: block;
}

.header__logo img {
    width: 440px;
    height: auto;
}

.header__line {
    display: none;
    height: 12px;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 4px,
        #ec8000 4px,
        #ec8000 6px
    );
}

/* ハンバーガーメニュー（SPのみ） */
.header__hamburger {
    display: none;
    width: 40px;
    height: 30px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ec8000;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition:
        transform 0.3s,
        opacity 0.3s;
}

.header__hamburger span:nth-child(1) {
    top: 0;
}
.header__hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.header__hamburger span:nth-child(3) {
    bottom: 0;
}

.header__hamburger.is-open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.header__hamburger.is-open span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ==========================================================================
   Main Visual
   ========================================================================== */
.mv {
    position: relative;
    overflow: hidden;
}

.mv__img img {
    width: 100%;
    height: auto;
    display: block;
}

.mv__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.mv__wave img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Global Navigation
   ========================================================================== */
.gnav {
    background-color: #fff8ee;
}

.gnav__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.gnav__item {
    text-align: center;
}

.gnav__item a {
    display: block;
    padding: 16px 8px;
    font-size: 16px;
    font-weight: bold;
    color: #4d4d4d;
    transition:
        color 0.3s,
        background-color 0.3s;
    position: relative;
}

.gnav__item a:hover {
    color: #ec8000;
    background-color: rgba(236, 128, 0, 0.06);
}

.gnav__line {
    max-width: 800px;
    margin: 20px auto 0;
    height: 12px;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 4px,
        #ec8000 4px,
        #ec8000 6px
    );
}

.gnav--sp {
    display: none;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
    background-color: #fff8ee;
    position: relative;
}

.section--cards,
.section--blog {
    background-color: #fff;
}

.section__wave {
    position: absolute;
    top: -59px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.section__wave img {
    width: 100%;
    height: auto;
    display: block;
}

.section__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0 120px;
}

.section__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.section__heading-icon {
    width: 40px;
    height: 40px;
}

.section__title {
    font-family:
        "dnp-shuei-mgothic-std", "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
}

.section__heading-deco {
    width: 52px;
    height: auto;
}

/* ==========================================================================
   News
   ========================================================================== */
.news {
    border-radius: 16px;
    padding: 40px 60px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 3px 3px #ec8000;
}

.news__item {
    display: flex;
    gap: 20px;
    padding: 40px 0;
    border-bottom: 1px dotted #ccc;
}

.news__item:first-child {
    padding-top: 0;
}

.news__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news__date {
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.news__text {
    font-size: 16px;
    line-height: 1.6;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.section--cards .section__inner {
    padding-top: 20px;
}

.cards {
    display: flex;
    justify-content: space-between;
}

.card {
    display: block;
    text-align: center;
    max-width: 240px;
    transition: opacity 0.3s;
}

.card:hover {
    opacity: 0.8;
}

.card__img {
    width: 240px;
    height: 240px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
}

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

.card__title {
    font-family:
        "dnp-shuei-mgothic-std", "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #ec8000;
}

.card__desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.card__link {
    display: inline-block;
    width: 200px;
    height: 34px;
    line-height: 34px;
    background-color: #ec8000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-radius: 17px;
    transition: opacity 0.3s;
}

.card:hover .card__link {
    opacity: 0.8;
}

/* ==========================================================================
   Evaluation
   ========================================================================== */
.evaluation__text {
    text-align: center;
    margin-bottom: 24px;
}

/* Button */
.btn {
    display: block;
    width: 200px;
    height: 34px;
    line-height: 34px;
    margin: 0 auto;
    background-color: #ec8000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-radius: 17px;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog__banner {
    display: block;
    max-width: 500px;
    margin: 0 auto;
    transition: opacity 0.3s;
}

.blog__banner:hover {
    opacity: 0.8;
}

.blog__banner img,
.blog__banner video {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #fff;
}

.footer__line {
    height: 12px;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 4px,
        #ec8000 4px,
        #ec8000 6px
    );
}

.footer__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer__label {
    font-size: 14px;
    margin-bottom: 4px;
}

.footer__name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__address {
    font-size: 14px;
    line-height: 2;
}

.footer__address a {
    color: #4d4d4d;
}

.footer__nav {
    display: flex;
    gap: 48px;
}

.footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav-col a {
    font-size: 16px;
    transition: color 0.3s;
    font-weight: bold;
}

.footer__nav-col a:hover {
    color: #ec8000;
}

.footer__copy {
    background-color: #ec8000;
    text-align: center;
    padding: 12px 10px;
}

.footer__copy p {
    font-size: 13px;
    color: #fff;
}

/* ==========================================================================
   Sub Page Header
   ========================================================================== */
.header--sub {
    position: relative;
    background-color: #fff;
}

.header__inner--sub {
    justify-content: center;
}

.header__logo--sub {
    text-align: center;
}

.header__logo--sub img {
    width: 440px;
}

.gnav--sub {
    background-color: #fff;
}

.gnav--sub .gnav__line {
    max-width: none;
}

/* ==========================================================================
   Section Backgrounds (Sub Page)
   ========================================================================== */
.section--white {
    background-color: #fff;
}

.section--color {
    background-color: #fff8ee;
}

/* ==========================================================================
   Sub Title (h3)
   ========================================================================== */
.section__title--sub {
    color: #4d4d4d;
}

.section__subtitle {
    font-family:
        "dnp-shuei-mgothic-std", "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #ec8000;
    letter-spacing: 0.1em;
}

.section__heading--left {
    justify-content: flex-start;
    margin-bottom: 16px;
}

/* ==========================================================================
   Content Block (image + text)
   ========================================================================== */
.content-block {
    display: flex;
    align-items: center;
    gap: 40px;
}

.content-block--reverse {
    flex-direction: row-reverse;
}

.content-block__img {
    flex-shrink: 0;
    width: 380px;
}

.content-block__img img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.content-block__text {
    flex: 1;
}

.content-block__text p {
    line-height: 2;
}

/* ==========================================================================
   List Dot
   ========================================================================== */
.list-dot {
    list-style: none;
}

.list-dot li {
    position: relative;
    padding-left: 1.2em;
    line-height: 2;
    margin-bottom: 20px;
}

.list-dot li:last-child {
    margin-bottom: 0;
}

.list-dot li::before {
    content: "";
    position: absolute;
    top: 0.85em;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #ec8000;
    border-radius: 50%;
}

/* ==========================================================================
   Facility
   ========================================================================== */
.facility__hours {
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
}

.capacity-table {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 3px 3px #ec8000;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

.capacity-table th,
.capacity-table td {
    padding: 12px 8px;
    text-align: center;
    font-size: 16px;
    border-right: 1px solid #ec8000;
}

.capacity-table th:last-child,
.capacity-table td:last-child {
    border-right: none;
}

.capacity-table th {
    font-weight: bold;
    background-color: #fce2c4;
}

.capacity-table td {
    border-top: 1px solid #ec8000;
}

.facility__map {
    max-width: 700px;
    margin: 0 auto;
}

.facility__map img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Privacy
   ========================================================================== */
.privacy__block {
    margin-bottom: 48px;
}

.privacy__block:last-child {
    margin-bottom: 0;
}

.privacy__h3 {
    font-size: 20px;
    font-weight: bold;
    color: #ec8000;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ==========================================================================
   FAQ / Contact
   ========================================================================== */
.faq__list {
    max-width: 700px;
    margin: 0 auto;
}

.faq__item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(236, 128, 0, 0.3);
}

.faq__item:first-child {
    padding-top: 0;
}

.faq__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq__q {
    font-weight: bold;
    color: #ec8000;
    margin-bottom: 6px;
    line-height: 1.6;
}

.faq__a {
    line-height: 1.8;
}

.contact__box {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 3px 3px #ec8000;
    padding: 48px 60px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact__lead {
    color: #ec8000;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact__name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.contact__tel {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 4px;
}

.contact__tel a {
    color: #ec8000;
}

.contact__hours {
    font-size: 14px;
}

/* ==========================================================================
   Recruit
   ========================================================================== */
.recruit__lead {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #ec8000;
    margin-bottom: 48px;
}

.recruit__block {
    margin-bottom: 64px;
}

.recruit__block:last-child {
    margin-bottom: 0;
}

.recruit-table {
    width: 100%;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 3px 3px #ec8000;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

.recruit-table th,
.recruit-table td {
    padding: 14px 20px;
    font-size: 16px;
    text-align: left;
    vertical-align: top;
}

.recruit-table th {
    font-weight: bold;
    background-color: #fce2c4;
    white-space: nowrap;
    width: 160px;
}

.recruit-table tr + tr th,
.recruit-table tr + tr td {
    border-top: 1px solid #ec8000;
}

.recruit-table th {
    border-right: 1px solid #ec8000;
}

/* ==========================================================================
   Entrance
   ========================================================================== */
.entrance__box {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 3px 3px #ec8000;
    padding: 48px 60px;
    text-align: center;
    margin-bottom: 48px;
}

.entrance__lead {
    color: #ec8000;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 24px;
}

.entrance__org {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.entrance__tel {
    font-size: 20px;
    font-weight: bold;
}

.entrance__tel a {
    color: #ec8000;
}

.entrance__footprints {
    text-align: center;
}

.entrance__footprints img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Access
   ========================================================================== */
.access__info {
    text-align: center;
    line-height: 2.2;
    margin-bottom: 40px;
}

.access__info a {
    color: #ec8000;
}

.access__map {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    margin-bottom: 40px;
}

.access__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.access__map-link {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 40px;
    font-size: 14px;
}

.access__map-link a {
    color: #ec8000;
    text-decoration: underline;
}

.access__illust {
    max-width: 480px;
    margin: 0 auto;
}

.access__illust img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Schedule
   ========================================================================== */
.schedule__img {
    max-width: 640px;
    margin: 0 auto;
}

.schedule__img img {
    width: 100%;
    height: auto;
}

.section__note {
    margin-top: 24px;
    font-size: 14px;
    line-height: 2;
}

.event-table {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 3px 3px #ec8000;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

.event-table th,
.event-table td {
    padding: 12px 16px;
    font-size: 16px;
    text-align: left;
}

.event-table th {
    font-weight: bold;
    background-color: #fce2c4;
    white-space: nowrap;
    width: 140px;
    text-align: center;
}

.event-table tr + tr th,
.event-table tr + tr td {
    border-top: 1px solid #ec8000;
}

.event-photos {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.event-photos img {
    width: calc(50% - 12px);
    height: auto;
    border-radius: 8px;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.sp-br {
    display: none;
}

.pc-br {
    display: inline;
}

/* ==========================================================================
   SP (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
    .sp-br {
        display: inline;
    }

    .pc-br {
        display: none;
    }

    body {
        font-size: 14px;
    }

    /* Header */
    .header {
        position: relative;
        background-color: #fff;
        z-index: 250;
    }

    .header__inner--sub {
        justify-content: space-between;
    }

    .header__logo img,
    .header__logo--sub img {
        width: 60vw;
        max-width: 300px;
    }

    .header__hamburger {
        display: block;
    }

    .header__line {
        display: block;
    }

    /* Navigation */
    .gnav--pc {
        display: none;
    }

    .gnav--sp {
        display: block;
    }

    .gnav--sub {
        display: none;
    }

    .gnav--sp {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #fff8ee;
        z-index: 200;
        transition: right 0.3s;
        overflow-y: auto;
        padding-top: 70px;
    }

    .header__hamburger {
        z-index: 300;
    }

    .gnav.is-open {
        right: 0;
    }

    .gnav__list {
        flex-direction: column;
    }

    .gnav__item a {
        padding: 16px 24px;
        text-align: left;
        font-size: 16px;
        border-bottom: 1px solid rgba(77, 77, 77, 0.1);
    }

    /* Overlay */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 190;
    }

    .overlay.is-active {
        display: block;
    }

    /* Section */
    .section__wave {
        top: -39px;
    }

    .section__inner {
        padding: 40px 10px 80px;
    }

    .section__title {
        font-size: 24px;
    }

    .card__title {
        font-size: 20px;
    }

    .section__heading-icon {
        width: 32px;
        height: 32px;
    }

    .section__heading-deco {
        width: 44px;
    }

    /* News */
    .news {
        padding: 20px 16px;
    }

    .news__item {
        flex-direction: column;
        gap: 4px;
    }

    /* Cards */
    .cards {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .card {
        max-width: 240px;
    }

    .card__img {
        width: 200px;
        height: 200px;
    }

    /* Footer */
    .footer__inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer__nav {
        gap: 32px;
    }

    /* Sub Page Header */
    .header__logo--sub img {
        width: 60vw;
        max-width: 300px;
    }

    /* Sub Title */
    .section__subtitle {
        font-size: 20px;
    }

    /* Content Block */
    .content-block,
    .content-block--reverse {
        flex-direction: column;
        align-items: center;
    }

    .content-block__img {
        width: 260px;
    }

    .section__heading--left {
        justify-content: center;
    }

    /* Schedule */
    .section__note {
        font-size: 12px;
    }

    .event-table th,
    .event-table td {
        padding: 10px 12px;
        font-size: 14px;
    }

    .event-photos {
        flex-direction: column;
        gap: 16px;
    }

    .event-photos img {
        width: 100%;
    }

    /* FAQ / Contact */
    .contact__box {
        padding: 32px 20px;
    }

    .contact__lead {
        font-size: 15px;
    }

    .contact__tel {
        font-size: 20px;
    }

    /* Recruit */
    .recruit__lead {
        font-size: 15px;
    }

    .recruit__block {
        margin-bottom: 48px;
    }

    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
        padding: 10px 16px;
        border-right: none;
    }

    .recruit-table th {
        border-top: 1px solid #ec8000;
        white-space: normal;
    }

    .recruit-table tr:first-child th {
        border-top: none;
    }

    .recruit-table tr + tr th,
    .recruit-table tr + tr td {
        border-top: none;
    }

    .recruit-table td {
        border-top: none;
        border-bottom: 1px solid #ec8000;
    }

    .recruit-table tr:last-child td {
        border-bottom: none;
    }

    /* Entrance */
    .entrance__box {
        padding: 32px 20px;
    }

    .entrance__lead {
        font-size: 16px;
    }

    .entrance__org,
    .entrance__tel {
        font-size: 16px;
    }

    /* Facility */
    .facility__hours {
        font-size: 14px;
    }

    .capacity-table {
        max-width: 100%;
    }

    .capacity-table thead {
        display: none;
    }

    .capacity-table tbody,
    .capacity-table tr {
        display: block;
        width: 100%;
    }

    .capacity-table td {
        display: grid;
        grid-template-columns: 40% 1fr;
        align-items: center;
        text-align: center;
        padding: 0;
        border: none;
        border-bottom: 1px solid #ec8000;
    }

    .capacity-table td::before {
        content: attr(data-label);
        font-weight: bold;
        background-color: #fce2c4;
        padding: 12px 16px;
        text-align: center;
    }

    .capacity-table td:last-child {
        border-bottom: none;
    }
}
