.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 100;
}

.header__logo {
    font-size: 2.4rem;
    font-weight: bold;
    color: #4a90e2;
}

.header__nav-list {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.header__nav-list a {
    font-size: 1.6rem;
    transition: color 0.3s;
}

.header__nav-list a:hover {
    color: #4a90e2;
}

.hero {
    height: 60vh;
    background: url('./img/hero.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 8rem;
}

.hero__content {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero__content h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.hero__content p {
    font-size: 2rem;
}

.section {
    padding: 12rem 2rem;
}

.section__title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #4a90e2;
}

.services__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    padding: 3rem;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: left;
}

.service-item h3 {
    font-size: 2.2rem;
    margin: 1.5rem 0;
    color: #4a90e2;
    text-align: center;
}

.service-item p {
    font-size: 1.6rem;
}

.service-item__description p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
}

.access__content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.access__info {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 3rem;
}

.access__map {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .access__map iframe {
        height: 300px;
    }
}

.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .header__nav-list {
        flex-direction: column;
        text-align: center;
    }

    .hero__content h2 {
        font-size: 3rem;
    }

    .service-item {
        padding: 2rem;
    }

    .service-item__description p {
        font-size: 1.4rem;
    }
}

.about__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about__description {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 5rem;
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.feature-item {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.feature-item__image {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3 / 2;
}

.feature-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-item__image img {
    transform: scale(1.05);
}

.feature-item h3 {
    font-size: 2rem;
    color: #4a90e2;
    margin: 1.5rem 0;
    text-align: center;
}

.feature-item p {
    font-size: 1.6rem;
}

.about__info {
    margin-top: 4rem;
}

.about__info h3 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #4a90e2;
}

.time__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.time-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.time-table th,
.time-table td {
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 1.6rem;
}

.time-table th {
    background: #f8f9fa;
    color: #333;
}

.time-notice {
    font-size: 1.6rem;
    text-align: center;
    color: #666;
}

@media (max-width: 768px) {
    .time-table th,
    .time-table td {
        padding: 1rem;
        font-size: 1.4rem;
    }
}

.about__image {
    margin: 4rem 0;
    text-align: center;
}

.about__main-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-item__image {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    aspect-ratio: 16 / 9;
}

.service-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-item__image img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about__image {
        margin: 3rem 0;
    }
    
    .service-item__image {
        aspect-ratio: 4 / 3;
    }
}

.message {
    background: #f8f9fa;
}

.message__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.message__content {
    display: block;
}

.message__body {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
}

.message__sign {
    font-size: 1.8rem;
    text-align: right;
    font-weight: bold;
    color: #4a90e2;
}

.feature-item__description {
    margin-top: 1.5rem;
}

.feature-item__description p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
}

.feature-item h3 {
    font-size: 2rem;
    color: #4a90e2;
    margin: 1.5rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    .feature-item__description p {
        font-size: 1.4rem;
    }
}

.staff__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.staff__profile {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 6rem;
    padding: 0;
    border-radius: 0;
}

.staff__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
}

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

.staff__name {
    font-size: 2.4rem;
    color: #4a90e2;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #4a90e2;
}

.staff__credentials,
.staff__career,
.staff__message {
    margin-bottom: 2.5rem;
}

.staff__credentials h4,
.staff__career h4,
.staff__message h4 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.2rem;
}

.staff__credentials h4::before,
.staff__career h4::before,
.staff__message h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.8rem;
    background: #4a90e2;
}

.staff__credentials ul,
.staff__career ul {
    font-size: 1.5rem;
    line-height: 1.8;
}

.staff__message p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 768px) {
    .staff__profile {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
    }

    .staff__image {
        max-width: 280px;
        margin: 0 auto;
        order: -1;
    }

    .staff__name {
        font-size: 2rem;
        text-align: center;
    }

    .staff__credentials h4,
    .staff__career h4,
    .staff__message h4 {
        font-size: 1.6rem;
    }

    .staff__credentials ul,
    .staff__career ul,
    .staff__message p {
        font-size: 1.4rem;
    }
}

.final-message {
    background: #f8f9fa;
}

.final-message__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.final-message__text {
    max-width: 800px;
    margin: 0 auto;
}

.final-message__text p {
    font-size: 1.8rem;
    line-height: 2;
    color: #333;
}

@media (max-width: 768px) {
    .final-message__text p {
        font-size: 1.6rem;
        line-height: 1.8;
    }
}

.schedule__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.schedule__frame {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.schedule__frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .schedule__frame {
        height: 400px;
    }
}

/* ハンバーガーメニューボタン */
.header__menu-btn {
    display: none; /* PCでは非表示 */
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.header__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    position: absolute;
    left: 10px;
    transition: 0.3s ease-in-out;
}

.header__menu-btn span:nth-child(1) { top: 15px; }
.header__menu-btn span:nth-child(2) { top: 21px; }
.header__menu-btn span:nth-child(3) { top: 27px; }

/* メニュー開放時のボタンスタイル */
.header__menu-btn.is-active span:nth-child(1) {
    transform: rotate(45deg);
    top: 21px;
}

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

.header__menu-btn.is-active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
}

@media (max-width: 768px) {
    .header__menu-btn {
        display: block;
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 100;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        transition: 0.3s ease-in-out;
        padding-top: 60px;
    }

    .header__nav.is-active {
        right: 0;
    }

    .header__nav-list {
        flex-direction: column;
        padding: 0 20px;
    }

    .header__nav-list li {
        margin: 15px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 40vh;
    }

    .hero__content h2 {
        font-size: 2.4rem;
    }

    .hero__content p {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .header__logo {
        font-size: 2rem;
    }

    .section__title {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }
}
