/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e0f0ff; /* 淡い青色の背景 */
    margin: 0;
    padding: 0;
    /* background-imageプロパティを削除 */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 背景を固定 */
}

/* 背景画像コンテナのスタイル */
.background-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* コンテンツの背面に配置 */
    overflow: hidden;
}

.background-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をコンテナに合わせてトリミング */
    object-position: center;
    opacity: 0.3; /* 背景画像の透明度 */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* Hero Section */
.hero {
    color: white;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
        aspect-ratio: 2676 / 1120;
}

.hero__image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image--mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        display: block;
        min-height: 0;
        height: auto;
        aspect-ratio: 1479 / 1525;
    }

    .hero__image-container {
        position: absolute;
        height: 100%;
    }

    .hero__image--pc {
        display: none;
    }

    .hero__image--mobile {
        display: block;
        object-fit: contain;
        width: 100%;
        height: auto;
    }

    .hero .container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transform: translateY(0);
}

.cta-button:hover {
    background: linear-gradient(135deg, #e55a2b, #e8851a);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

.cta-button--large {
    padding: 16px 32px;
    font-size: 18px;
}

.cta-button--outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.cta-button--outline:hover {
    background: #3b82f6;
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 40px 0;
    text-align: center;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    background: rgba(248, 249, 250, 0.8);
    color: #6b7280;
    padding: 48px 0 24px;
    margin-top: 0;
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer__item {
    flex: 1;
    min-width: 200px;
}

.footer__item--left {
    text-align: left;
}

.footer__item--right {
    text-align: right;
}

.footer__text {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 12px;
    font-weight: 500;
}

.footer__logo {
    max-height: 40px;
    width: auto;
}

.footer__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    justify-content: flex-end;
}

.footer__contact i {
    color: #9ca3af;
    font-size: 14px;
}

.footer__contact a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer__contact a:hover {
    color: #3b82f6;
}

.footer__divider {
    height: 1px;
    background: #e5e7eb;
    margin: 24px 0;
}

.footer__copyright {
    text-align: center;
}

.footer__copyright p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

@media (max-width: 768px) {
    /* モバイル表示でのテーブル調整 - 3カラムのみ表示（時間、集団説明会、個別相談会） */
    .schedule__table th:nth-child(n+4),
    .schedule__table td:nth-child(n+4) {
        display: none;
    }
    
    /* フッターのモバイル表示 - 全て中央寄せ */
    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        align-items: center;
    }
    
    .footer__item {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer__item--left,
    .footer__item--right {
        text-align: center;
    }
    
    .footer__contact {
        justify-content: center;
    }
    
    .footer__logo {
        margin: 0 auto;
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section--gray {
    background: transparent;
}

.section__header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.section__title,
.access__title,
.schedule__title {
    position: relative;
    display: inline-block;
    align-items: center;
    text-align: center;
    width: 100%;
}

.section__title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: center;
}

.section__subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section */
.overview {
    padding: 80px 0;
    background: transparent;
}

.overview .section__header {
    text-align: center;
    margin-bottom: 48px;
}

.overview__content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview__text-content {
    text-align: left;
}

.overview__text {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 32px;
}

.overview__cta {
    text-align: center;
    margin-top: 40px;
}

.overview__images {
    position: relative;
    height: 400px;
}

.overview__image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.overview__image {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

.overview__image--1 {
    width: 70%;
    height: auto;
    top: 5%;
    left: 10%;
    z-index: 2;
}

.overview__image--2 {
    width: 55%;
    height: auto;
    top: 30%;
    right: 5%;
    z-index: 1;
}

.overview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.overview__card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.2s ease;
}

.overview__card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.overview__card-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #3b82f6;
    font-size: 24px;
}

.overview__card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.overview__card-text {
    color: #6b7280;
    line-height: 1.6;
}

/* アクセスセクション */
.access {
    padding: 80px 0;
    background: transparent;
}

.access__title {
    font-size: 36px;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 64px;
    font-weight: 700;
}

.access__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.access__map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 450px;
}

.access__map {
    width: 100%;
    height: 100%;
    border: none;
}

.external-link-icon {
    margin-left: 4px;
    font-size: 0.8em;
}

.access__venue-info {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.access__venue-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.access__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent);
    color: white;
    padding: 40px 30px 30px;
    z-index: 2;
}

.access__venue {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.access__address {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.access__address i {
    color: #60a5fa;
    margin-right: 8px;
    width: 20px;
}

.access__directions {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

.access__directions-title {
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 8px;
    font-size: 14px;
}

.access__directions-text {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

/* Schedule Section */
.schedule {
    padding: 80px 0;
    background: transparent;
}

.schedule__title {
    font-size: 36px;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 64px;
    font-weight: 700;
    line-height: 1.2;
}

.schedule__filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid rgb(0, 149, 216);
    background: white;
    color: rgb(0, 149, 216);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: rgb(0, 149, 216);
    color: white;
}

.schedule__table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-size: 16px;
    max-width: 1200px;
    margin: 0 auto;
    table-layout: fixed;
}

.schedule__table-container {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
}

.schedule__table th {
    background: rgb(0, 149, 216);
    color: white;
    padding: 15px 10px;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    text-align: center;
}

.schedule__table td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    vertical-align: middle;
    font-size: 13px;
    color: #333;
    text-align: center;
}

.schedule__table tr:hover {
    background: #f9fafb;
}

.schedule__table tr:last-child td {
    border-bottom: none;
}

.schedule__table th:last-child,
.schedule__table td:last-child {
    border-right: none;
}

.schedule__time {
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    width: 100px;
}

/* タイムテーブルのカラム幅調整 */
.schedule__table th:nth-child(1),
.schedule__table td:nth-child(1) {
    width: 12%;
}

.schedule__table th:nth-child(2),
.schedule__table td:nth-child(2) {
    width: 30%;
}

.schedule__table th:nth-child(3),
.schedule__table td:nth-child(3) {
    width: 20%;
}

.schedule__table th:nth-child(4),
.schedule__table td:nth-child(4) {
    width: 9%;
}

.schedule__table th:nth-child(5),
.schedule__table td:nth-child(5) {
    width: 10%;
}

.schedule__table th:nth-child(6),
.schedule__table td:nth-child(6) {
    width: 9%;
}

.highlight {
  text-decoration: underline; /* 下線 */
  text-decoration-thickness: 0.5em; /* 線の太さ */
  text-decoration-color: skyblue;
  text-underline-offset: -0.2em; /* 線の位置。テキストに重なるようにやや上部にする */
  text-decoration-skip-ink: none; /* 下線と文字列が重なる部分でも下線が省略されない（線が途切れない） */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .hero__subtitle {
        font-size: 16px;
    }
    
    .section__title {
        font-size: 28px;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .overview__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .schedule__table {
        font-size: 12px;
    }
    
    .schedule__table th,
    .schedule__table td {
        padding: 12px 16px;
    }
    

    

    
    .nav__menu {
        flex-direction: column;
        gap: 16px;
    }
    
    .header {
        padding: 16px 0;
    }
    
    /* アクセスセクション レスポンシブ */
    .access__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .access__venue-info {
        height: 350px;
    }
    
    .access__map-container {
        height: 300px;
    }
    
    .access__map {
        height: 100%;
    }
    
    .header__nav {
        display: none;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .overview__content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .overview__images {
         height: 300px;
     }
     
     .overview__image {
         width: 240px;
         height: 160px;
     }
     
     .overview__image--1 {
        top: 20%;
        left: 15%;
     }
     
     .overview__image--2 {
        top: 45%;
        right: 10%;
     }
    
    .access__venue {
        font-size: 22px;
    }
    
    .access__address {
        font-size: 14px;
    }
    
    .access__directions {
        padding: 12px;
    }
    
    .access__info {
        padding: 30px 20px 20px;
    }
    
    .schedule__table {
        font-size: 0.9rem;
    }
    
    .schedule__table th,
    .schedule__table td {
        padding: 10px 8px;
    }
    

    
    .overview__title,
    .access__title,
    .schedule__title {
        font-size: 2rem;
        text-align: center;
    }
    
    .footer__content,
    .footer__contact,
    .footer__copyright {
        text-align: center;
    }
}