/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

/* SEO対策用非表示スタイル */
.seo-content,
.seo-h1,
.seo-h2,
.seo-h3,
.seo-footer-content,
.seo-keywords {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    min-height: 60px;
}

.logo h1 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 13px;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav a:hover {
    color: #007bff;
}

/* Main Visual Styles */
.main-visual {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #f0f2f5;
}

.mv-container {
    height: 100%;
    display: flex;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Side - Image */
.mv-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-text {
    z-index: 2;
    position: relative;
    color: #fff;
    writing-mode: vertical-rl;
    font-family: "Zen Old Mincho", "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ＭＳ 明朝", "MS Mincho", serif;
    text-align: center;
    letter-spacing: 0.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.mv-image img {
    width: 100%;
}

/* Responsive Image Variants */
.mv-image-desktop {
    /* デスクトップは従来通りの表示（.mv-imageクラスのスタイルを継承） */
    display: block;
}

.mv-image-tablet,
.mv-image-mobile {
    display: none;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Desktop Japanese text overlay */
.mv-ja-image-desktop {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 120px;
    height: auto;
    transform: translateY(-50%);
    z-index: 2;
}

/* Default: Desktop (769px and above) */
.mv-image-desktop {
    display: block;
}

.mv-image-tablet {
    display: none;
}

.mv-image-mobile {
    display: none;
}

.mv-ja-image-desktop {
    display: block;
}

/*========= 上部固定させるためのCSS ===============*/

#header {
    position: fixed;
    /*fixedを設定して固定*/
    height: 70px;
    /*高さ指定*/
    width: 100%;
    /*横幅指定*/
    z-index: 999;
    /*最前面へ*/
    /*以下はレイアウトのためのCSS*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    padding-left: 0;
}

#header .logo h1 {
    margin-left: 20px;
}

/*==ふわっと出現させるためのCSS*/

/*　上に上がる動き　*/

#header.UpMove {
    position: fixed;
    width: 100%;
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}

/*　下に下がる動き　*/

#header.DownMove {
    position: fixed;
    width: 100%;
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet (481px to 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .mv {
        padding-top: 0;
        height: 100vh;
        position: relative;
    }

    .mv-image-desktop {
        display: none;
    }

    .mv-image-tablet {
        display: block;
    }

    .mv-image-mobile {
        display: none;
    }

    .mv-ja-image-desktop {
        display: none;
    }
}

.image-overlay {
    display: none;
}

/* Right Side - Vertical Text */
.mv-text {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 80px 50px 20px;
    position: relative;
}

.vertical-text-container {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.main-title {
    position: relative;
}

.title-large {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 8px;
    line-height: 1.8;
    text-shadow: none;
}

.sub-title {
    position: relative;
}

.sub-text {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: 6px;
    line-height: 1.8;
}

/* Decorative Elements */
.decorative-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: none;
}

.shape-1 {
    width: 150px;
    height: 100px;
    top: 15%;
    left: 8%;
    border-radius: 20px;
    animation: none;
}

.shape-2 {
    width: 200px;
    height: 80px;
    top: 25%;
    left: 12%;
    border-radius: 15px;
    animation: none;
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    background: #fff;
    margin-bottom: 2px;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #007bff;
    margin: 20px auto 0;
    border-radius: 2px;
}

.content-section p {
    text-align: center;
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/*========= ぼかしのためのCSS ===============*/

.mainblur {
    filter: blur(8px);
}


/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position: fixed;
    z-index: -1;
    opacity: 0;
    /*はじめは透過0*/
    /*ナビの位置と形状*/
    top: 0;
    width: 100%;
    /*ナビの高さ*/
    background: rgba(255, 255, 255, 0.3);
    /*背景を少し透過させる*/
    /*動き*/
    transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
    opacity: 1;
    z-index: 999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;
    /*はじめは非表示*/
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#g-nav.panelactive ul {
    display: block;
}

/*リストのレイアウト設定*/

#g-nav li {
    list-style: none;
    text-align: center;
}

#g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

/*×に変化*/
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 1px;
    border-radius: 2px;
    background-color: #000;
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/* Responsive Design */
@media (max-width: 768px) {

    .about,
    .instagram,
    .qanda,
    .contact {
        margin-top: 0px !important;
    }

    .about,
    .instagram,
    .qanda,
    .contact,
    .features,
    .price,
    .facilities,
    .voice,
    .access {
        width: 90%;
        margin: 0 auto;
    }

    .feature_image {
        flex: unset !important;
    }

    .feature_item {
        display: flex !important;
        flex-direction: column-reverse;
    }

    .feature_item.reverse {
        flex-direction: column !important;
    }

    .feature_image {
        flex: none;
        width: 100%;
    }


    .features_title {
        text-align: left !important;
    }

    /* Responsive Image Switching - Tablet */
    .mv-image-desktop {
        display: none;
    }

    .mv-image-tablet {
        display: block;
    }

    .mv-image-mobile {
        display: none;
    }

    .header .container {
        display: none;
    }

    .logo h1 {
        font-size: 16px;
        text-align: center;
    }

    .nav ul {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .nav a {
        font-size: 13px;
    }

    .main-visual {
        height: auto;
        min-height: 100vh;
    }

    .mv-container {
        flex-direction: column;
        padding-top: 120px;
    }

    .mv-image {
        padding: 30px 20px;
        flex: none;
    }

    .mv-image img {
        max-width: 100%;
        border-radius: 10px;
    }

    .mv-text {
        flex: none;
        padding: 30px 20px;
        min-height: 200px;
    }

    .vertical-text-container {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        text-align: center;
        gap: 20px;
        flex-direction: column;
    }

    .title-large {
        font-size: 20px;
        letter-spacing: 2px;
        line-height: 1.6;
    }

    .sub-text {
        font-size: 14px;
        letter-spacing: 1px;
        line-height: 1.6;
    }

    .decorative-shape {
        display: none;
    }

    .content-section {
        padding: 60px 0;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    /* About Section Tablet */
    .about-section {
        padding: 80px 0;
    }

    .about-container {
        flex-direction: column;
        gap: 50px;
        padding: 0 30px;
    }

    .about-content {
        gap: 40px;
    }

    .about-motto {
        height: auto;
        flex: none;
    }

    .motto-text {
        height: auto;
        gap: 15px;
    }

    .about-illustration {
        height: 400px;
    }

    /* Features Section Tablet */
    .features {
        padding: 80px 0;
    }

    .features_title {
        font-size: 28px;
        margin-bottom: 60px;
    }

    .feature_item {
        gap: 40px;
        margin-bottom: 80px;
    }

    .feature_image {
        flex: 0 0 350px;
    }

    .feature_image img {
        height: 250px;
    }

    .feature_title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .feature_text {
        font-size: 15px;
        margin-bottom: 16px;
    }

    /* Pricing Section Tablet */
    .pricing {
        padding: 80px 0;
    }

    .pricing_container {
        flex-direction: column;
        gap: 50px;
        padding: 0 30px;
    }

    .pricing_content {
        max-width: 100%;
    }

    .pricing_title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .pricing_description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .pricing_table {
        flex: none;
        max-width: 500px;
        margin: 0 auto;
        padding: 30px 25px;
    }

    .price_item {
        padding: 16px 0;
    }

    .price_value {
        font-size: 18px;
    }

    /* Voice Section Tablet */
    .voice {
        padding: 80px 0;
    }

    .voice_slideshow {
        padding: 0 30px;
    }

    .voice_slide {
        padding: 35px;
        gap: 25px;
    }

    .voice_card {
        padding: 25px;
    }

    .voice_nav_btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .voice_prev_btn {
        left: -22px;
    }

    .voice_next_btn {
        right: -22px;
    }
}

@media (max-width: 480px) {

    /* Responsive Image Switching - Mobile */
    .mv {
        padding-top: 0;
        height: 100vh;
        position: relative;
    }

    .mv-image-desktop {
        display: none;
    }

    .mv-image-tablet {
        display: none;
    }

    .mv-image-mobile {
        display: block;
    }

    .mv-ja-image-desktop {
        display: none;
    }

    .mv-image {
        padding: 20px 15px;
    }

    .mv-text {
        padding: 20px 15px;
        padding-top: 80px;
    }

    .title-large {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .sub-text {
        font-size: 14px;
    }

    .content-section {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Title decorations adjustment for mobile */
    .about_title::before,
    .features_title::before,
    .price_title::before,
    .facilities_title::before,
    .voice_title::before,
    .instagram_title:before,
    .access_title:before,
    .qanda_title:before,
    .contact_title:before {
        font-size: 60px !important;
        top: -30px !important;
        left: 60% !important;
        transform: translateX(-50%) !important;
    }

    /* About Section Mobile */
    .about-section {
        padding: 60px 0;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-motto {
        flex: none;
        height: auto;
        order: -1;
    }

    .motto-text {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        flex-direction: column;
        text-align: center;
        gap: 10px;
        height: auto;
    }

    .motto-highlight,
    .motto-main,
    .motto-support {
        writing-mode: horizontal-tb;
        margin-left: 0;
        line-height: 1.6;
        letter-spacing: 2px;
    }

    .motto-highlight {
        font-size: 18px;
        background: linear-gradient(90deg, transparent 5%, #ffeb3b 5%, #ffeb3b 95%, transparent 95%);
        padding: 4px 12px;
        display: inline-block;
    }

    .motto-main {
        font-size: 16px;
    }

    .motto-support {
        font-size: 14px;
    }

    .about-illustration {
        flex: none;
        height: 300px;
    }

    .about-description {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 8px;
    }

    /* Features Section Mobile */
    .features {
        padding: 60px 0;
    }

    .features_title {
        font-size: 24px;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .feature_item {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 60px;
        padding: 0 20px;
    }

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

    .feature_image {
        flex: none;
        width: 100%;
        max-width: 400px;
        order: 1;
    }

    .feature_image img {
        height: 220px;
        border-radius: 8px;
    }

    .feature_content {
        flex: none;
        max-width: 100%;
        order: 2;
        text-align: center;
		width: 100%;
    }

    .feature_title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .feature_text {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 14px;
        text-align: left;
    }

    .highlight {
        background: linear-gradient(90deg, transparent 2%, #ffeb3b 2%, #ffeb3b 98%, transparent 98%);
        padding: 3px 6px;
        display: inline-block;
    }

    /* Pricing Section Mobile */
    .pricing {
        padding: 60px 0;
    }

    .pricing_container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .pricing_title {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }

    .pricing_description {
        font-size: 15px;
        margin-bottom: 25px;
        text-align: center;
    }

    .features_subtitle {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .features_list li {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .pricing_note {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .pricing_table {
        padding: 25px 20px;
        max-width: 100%;
    }

    .price_item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
        gap: 8px;
    }

    .price_label {
        font-size: 15px;
    }

    .price_value {
        font-size: 18px;
        align-self: flex-end;
    }

    .price_note {
        align-self: flex-end;
        margin-top: 2px;
    }

    /* Voice Section Mobile */
    .voice {
        padding: 60px 0;
    }

    .voice_slideshow {
        padding: 0 20px;
    }

    .voice_slide {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    .voice_card {
        padding: 20px;
    }

    .voice_card_header {
        margin-bottom: 15px;
        gap: 12px;
    }

    .voice_avatar {
        width: 50px;
        height: 50px;
    }

    .voice_name {
        font-size: 16px;
    }

    .voice_profile {
        font-size: 13px;
    }

    .voice_comment {
        font-size: 14px;
        line-height: 1.6;
        padding-left: 15px;
    }

    .voice_comment::before {
        font-size: 24px;
    }

    .voice_nav_btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .voice_prev_btn {
        left: -20px;
    }

    .voice_next_btn {
        right: -20px;
    }
}

/* Pricing Animation */
.pricing_table {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.price_item {
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.6s ease-out forwards;
}

.price_item:nth-child(1) {
    animation-delay: 0.1s;
}

.price_item:nth-child(2) {
    animation-delay: 0.2s;
}

.price_item:nth-child(3) {
    animation-delay: 0.3s;
}

.price_item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pricing_content {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
body {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Text Animation */
.title-large,
.sub-text {
    opacity: 0;
    animation: slideIn 1s ease-out forwards;
}

.sub-text {
    animation-delay: 0.5s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

section {
    position: relative;
}

.mv-image {
    margin-top: 120px;
}

.mv-ja-image {
    margin-top: 40px;
    position: absolute;
}

/* About Section Styles */
.about-section {
    background: #f8f9fa;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.about-content {
    flex: 1;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    max-width: 500px;
}

.about-description {
    font-size: 16px;
    line-height: 2.2;
    color: #333;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.about-motto {
    flex: 0 0 200px;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.motto-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
}

.motto-highlight {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    letter-spacing: 8px;
    line-height: 1.8;
    position: relative;
    background: linear-gradient(180deg, transparent 30%, #ffeb3b 30%, #ffeb3b 70%, transparent 70%);
    padding: 0 8px;
}

.motto-main {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    letter-spacing: 6px;
    line-height: 1.8;
    margin-left: 15px;
}

.motto-support {
    font-size: 16px;
    font-weight: 400;
    color: #555;
    letter-spacing: 5px;
    line-height: 1.8;
    margin-left: 10px;
}

.about-illustration {
    flex: 0 0 400px;
    position: relative;
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.about-illustration img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: sepia(10%) brightness(1.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-description {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.8s ease-out forwards;
}

.about-description:nth-child(1) {
    animation-delay: 0.1s;
}

.about-description:nth-child(2) {
    animation-delay: 0.2s;
}

.about-description:nth-child(3) {
    animation-delay: 0.3s;
}

.about-description:nth-child(4) {
    animation-delay: 0.4s;
}

.about-description:nth-child(5) {
    animation-delay: 0.5s;
}

.about-description:nth-child(6) {
    animation-delay: 0.6s;
}

.about-description:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.motto-text {
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

/* Features Section Styles */
.features {
    position: relative;
}

.features_title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 80px;
    position: relative;
}

.feature_item {
    max-width: 1200px;
    margin: 0 auto 100px auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px;
}

.feature_item:nth-child(2) {
    max-width: 1200px;
    margin: 0 auto 100px auto;
    justify-content: space-around;
    display: flex;
    align-items: center;
    gap: 60px;
}

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

.feature_item.reverse {
    flex-direction: row;
}

.feature_image {
    flex: 0 0 500px;
    position: relative;
}

.feature_image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature_image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature_title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
}

.feature_text,
.price_text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

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

.highlight {
    background: linear-gradient(180deg, transparent 30%, #ffeb3b 30%, #ffeb3b 70%, transparent 70%);
    padding: 2px 4px;
    font-weight: 500;
    color: #333;
}

/* Feature Animation */

.features {
    margin-top: 100px;
}

.feature_item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature_item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature_item:nth-child(3) {
    animation-delay: 0.4s;
}

.feature_item:nth-child(4) {
    animation-delay: 0.6s;
}

.feature_image img {
    opacity: 0;
    transform: scale(0.95);
    animation: zoomIn 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about_text_box {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.about_text_box img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-left: 100px;
}

.about_text {
    font-size: 14px;
    margin-top: 80px;
}

.about_illust-container {
    text-align: -webkit-right;
    margin-top: -80px;
}

.about_title {
    position: relative;
    margin-bottom: 0.2rem;
    font-weight: bold;
    font-size: 26px;
    text-align: left;
    margin-top: 100px;
}

.about_title::before {
    position: absolute;
    top: 0px;
    left: 20%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 160px;
    text-transform: uppercase;
    content: 'about';
    z-index: -1;
}

.features_title {
    position: relative;
    font-weight: bold;
    font-size: 26px;
    text-align: right;
}

.features_title::before {
    position: absolute;
    top: -120px;
    left: 65%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 160px;
    text-transform: uppercase;
    content: 'FEATURES';
    z-index: -1;
}

.price_title {
    position: relative;
    font-weight: bold;
    font-size: 26px;
    text-align: left;
    margin-top: 200px;
    margin-bottom: 25px;
}

.price_title::before {
    position: absolute;
    top: -120px;
    left: 20%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 160px;
    text-transform: uppercase;
    content: 'PRICE';
    z-index: -1;
}

.price_text {
    font-size: 13px;
    margin-top: 20px;
}

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

.price_container_left {
    width: 50%;
}

.price_text_top {
    font-size: 16px;
    margin-bottom: 10px;
}

.price_number {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}


.facilities_title {
    position: relative;
    font-weight: bold;
    font-size: 26px;
    text-align: left;
    margin-top: 200px;
    margin-bottom: 25px;
}

.facilities_title::before {
    position: absolute;
    top: -120px;
    left: 60%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 160px;
    text-transform: uppercase;
    content: 'FACILITIES';
    z-index: -1;
}

.facilities_text {
    font-size: 13px;
    margin-top: 20px;
}

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

.facilities_container_left {
    width: 50%;
}

.facilities_text_top {
    font-size: 16px;
    margin-bottom: 10px;
}

.facilities_number {
    font-size: 16px;
    color: #333;
    margin-bottom: 50px;
}


.facilities_room {
    margin: 0 auto;
    width: 150px;
    margin-top: 40px;
}


.voice_title {
    position: relative;
    font-weight: bold;
    font-size: 26px;
    text-align: left;
    margin-top: 200px;
    margin-bottom: 25px;
}

.voice_title::before {
    position: absolute;
    top: -120px;
    left: 20%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 160px;
    text-transform: uppercase;
    content: 'VOICE';
    z-index: -1;
}

/* Voice Section Slideshow Styles */
.voice {
    padding: 100px 0;
    position: relative;
}

.voice_intro {
    margin-bottom: 60px;
}

.voice_text_top {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.voice_slideshow {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.voice_slides_container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.voice_slides_wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.voice_slide {
    min-width: 100%;
    display: flex;
    gap: 30px;
    padding: 40px;
    background: #ffffff;
}

.voice_slide.active {
    opacity: 1;
}

.voice_card {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.voice_card_header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.voice_avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e9ecef;
}

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

.voice_info {
    flex: 1;
}

.voice_name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.voice_profile {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.voice_content {
    margin-top: 15px;
}

.voice_comment {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.voice_comment::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 30px;
    color: #007bff;
    font-family: Georgia, serif;
}

/* Navigation Buttons */
.voice_nav_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.voice_nav_btn:hover {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.voice_prev_btn {
    left: -25px;
}

.voice_next_btn {
    right: -25px;
}

.voice_nav_icon {
    display: block;
    line-height: 1;
}

/* Indicators */
.voice_indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.voice_indicator {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voice_indicator.active {
    background: #007bff;
    transform: scale(1.2);
}

.voice_indicator:hover {
    background: #007bff;
    opacity: 0.7;
}

.voice_text {
    font-size: 13px;
    margin-top: 20px;
}

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

.voice_container_left {
    width: 50%;
}

.voice_text_top {
    font-size: 16px;
    margin-bottom: 10px;
}

.voice_number {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

/*==================================================
スライダーのためのcss
===================================*/
.slider {
    /*横幅94%で左右に余白を持たせて中央寄せ*/
    width: 94%;
    margin: 0 auto;
}

.card_container {
    height: auto;
}

.slider .slick-slide {
    transform: scale(0.8);
    /*左右の画像のサイズを80%に*/
    transition: all .5s;
    /*拡大や透過のアニメーションを0.5秒で行う*/
    opacity: 0.5;
    /*透過50%*/
    width: 380px !important;
    /*スライダー内の画像を60vwにしてレスポンシブ化*/
}

.slider .slick-slide.slick-center {
    transform: scale(1);
    /*中央の画像のサイズだけ等倍に*/
    opacity: 1;
    /*透過なし*/
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    /*絶対配置にする*/
    top: 42%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;
    /*矢印の色*/
    border-right: 2px solid #666;
    /*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align: center;
    margin: 20px 0 0 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    /*ドットボタンのサイズ*/
    height: 8px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #ccc;
    /*ドットボタンの色*/
}

.slick-dots .slick-active button {
    background: #333;
    /*ドットボタンの現在地表示の色*/
}

.card_head {
    display: flex;
    align-items: center;
    justify-content: left;
}

.card_head img {
    width: 100px;
}

.card_student_category {
    border: 1px solid #000;
    width: fit-content;
    padding: 2px 5px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.voice_student_voice {
    font-size: 20px;
    text-align: left;
    margin-left: 40px;
}

.voice_student_text {
    line-height: 2;
}

.slider_voice li {
    background-color: #fff;
    padding: 30px 30px;
    border-radius: 20px;
}

/* Instagram Section */
.instagram {
    margin-top: 100px;
}

.instagram_title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .5px;
    margin: 0 0 18px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.instagram_title:before {
    position: absolute;
    top: -120px;
    left: 61%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 160px;
    text-transform: uppercase;
    content: 'INSTAGRAM';
    z-index: -1;
}

.instagram_intro {
    color: #222;
    line-height: 1.9;
    margin: 0 0 55px;
    text-align: left;
    max-width: 520px;
    z-index: 2;
    position: relative;
}

.instagram_grid {
}

#sbi_images {
	display: flex;
}

.sbi-screenreader {
	display:none;
}

.insta_item {
    background: #fff;
    border: 1px solid #c8c8c8;
    border-radius: 12px;
    aspect-ratio: 1/1;
    display: block;
    position: relative;
    overflow: hidden;
}

.insta_ph {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #fafafa, #fafafa 10px, #f0f0f0 10px, #f0f0f0 20px);
    transition: .35s;
}

.insta_item:hover .insta_ph {
    transform: scale(1.06);
}

.btn_instagram {
    margin-top: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #000;
    color: #fff;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .5px;
    padding: 12px 45px 12px 28px;
    border-radius: 8px;
    position: relative;
    text-decoration: none;
    transition: .3s;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.btn_instagram .btn_arrow {
    font-size: 10px;
    transform: translateY(1px);
}

.btn_instagram:after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    transition: .3s;
}

.btn_instagram:hover {
    background: #111;
    transform: translateY(-2px);
}

.btn_instagram:hover:after {
    right: 14px;
}

/* Revised Access Styles */
.access {
    margin-top: 100px;
}

.access_title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .5px;
    margin: 0 0 24px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.access_title:before {
    position: absolute;
    top: -120px;
    left: 25%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 160px;
    text-transform: uppercase;
    content: 'ACCESS';
    z-index: -1;
}

.access_intro {
    line-height: 1.9;
    color: #222;
    margin: 0 0 55px;
    z-index: 2;
    position: relative;
}

.access_points_simple p {
    font-size: 20px;

}

.access_line {
    font-size: 12.5px;
    line-height: 1.9;
    margin: 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.access_line .spot {
    position: relative;
    font-weight: 600;
}

.access_line .spot:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 6px;
    background: #ffeb3b;
    z-index: -1;
}

.access_line .time {
    font-weight: 500;
}

.access_map_block {
    border-radius: 12px;
}

.access_map {
    width: 100%;
    height: 340px;
    border: 0;
    display: block;
}

.access_address_line {
    margin-top: 20px;
    letter-spacing: .5px;
    color: #222;
}

/* Instagram Section */
.qanda {
    margin-top: 100px;
}

.qanda_title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .5px;
    margin: 0 0 18px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.qanda_title:before {
    position: absolute;
    top: -120px;
    left: 85%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 160px;
    text-transform: uppercase;
    content: 'Q&A';
    z-index: -1;
}

.qanda_intro {
    color: #222;
    line-height: 1.9;
    margin: 0 0 55px;
    text-align: left;
    z-index: 2;
    position: relative;
}

.qanda_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 32px;
    max-width: 100%;
}

/* Q&A Accordion Styles */
.qanda_list {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.q_item {
    background: #fff;
    border-radius: 20px;
    padding: 16px 52px 16px 32px;
    position: relative;
}


.q_header {
    all: unset;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    cursor: pointer;
    width: 100%;
    position: relative;
}

.q_mark {
    font-size: 30px;
    font-weight: 100;
    line-height: 1;
}

.q_question {
    line-height: 1.7;
    flex: 1;
    padding-top: 4px;
}

.q_icon {
    position: absolute;
    right: 0;
    top: 18px;
    width: 20px;
    height: 2px;
    background: #222;
}

.q_icon:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 2px;
    background: #222;
    transform: rotate(90deg);
    transition: .35s;
}

.q_item.open .q_icon:after {
    transform: rotate(0deg);
    opacity: 0;
}

.q_body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(.57, .21, .26, .99);
}

.a_row {
    display: flex;
    gap: 28px;
    padding-top: 26px;
}

.a_mark {
    font-size: 34px;
    font-weight: 100;
    line-height: 1;
}

.a_content p {
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

/* Revised Access Styles */
.contact {
    margin-top: 100px;
}

.contact_title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .5px;
    margin: 0 0 24px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.contact_title:before {
    position: absolute;
    top: -120px;
    left: 25%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 160px;
    text-transform: uppercase;
    content: 'CONTACT';
    z-index: -1;
}

.contact_intro {
    line-height: 1.9;
    color: #222;
    margin: 0 0 55px;
    z-index: 2;
    position: relative;
}

.contact_points_simple p {
    font-size: 16px;
    text-align: center;

}

.contact_line {
    font-size: 12.5px;
    line-height: 1.9;
    margin: 0 0 10px;
    gap: 12px;
}

.contact_call {
    font-size: 24px !important;
}

.contact_line .spot {
    position: relative;
    font-weight: 600;
}

.contact_line .spot:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 6px;
    background: #ffeb3b;
    z-index: -1;
}

.contact_line .time {
    font-weight: 500;
}

.contact_map_block {
    border-radius: 12px;
}

.contact_map {
    width: 100%;
    height: 340px;
    border: 0;
    display: block;
}

.contact_address_line {
    margin-top: 20px;
    letter-spacing: .5px;
    color: #222;
}

.footer {
    background: #f8f9fa;
    border-top: 1px solid #111;
    padding: 70px 0 90px;
    font-size: 14px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
}

.footer_inner {
    margin: 0 auto;
    margin-top: 100px;
}

.footer_inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 60px;
    align-items: flex-start;
}

.footer_col {
    position: relative;
}

.footer_brand_line {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 28px;
}

.footer_brand_name {
    font-size: 34px;
    font-weight: 600;
    margin: 0;
}

.footer_nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 14px 90px;
    position: relative;
}

.footer_nav:before,
.footer_info:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #444;
    opacity: .35;
    left: -60px;
}

.footer_info:before {
    left: -60px;
}

.footer_nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.footer_nav_list a {
    color: #111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .5px;
    position: relative;
}

.footer_nav_list a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: #ffeb3b;
    transition: .35s;
}

.footer_nav_list a:hover:after {
    width: 100%;
}

.footer_info {
    font-size: 14px;
    line-height: 1.9;
}

.footer_tel a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    background: linear-gradient(180deg, transparent 60%, #ffeb3b 60%);
    padding: 2px 6px;
}

.footer_tel {
    margin: 0 0 26px;
    font-size: 15px;
}

.footer_person {
    font-size: 13px;
    margin-left: 6px;
}

.footer_addr {
    margin: 0 0 6px;
}

.footer_copy {
    margin: 34px 0 0;
    font-size: 13px;
    color: #555;
}

.sp {
    display: none;
}

.about_ja {
    width: 30% !important;
}

@media (max-width:1100px) {
    .footer_inner {
        grid-template-columns: 280px 1fr 280px;
        gap: 40px;
        padding: 0 40px;
    }

    .footer_nav {
        gap: 14px 60px;
    }
}

@media (max-width:900px) {
    .footer_inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer_nav:before {
        display: none;
    }

    .footer_info:before {
        display: none;
    }

    .footer_brand {
        grid-column: 1/3;
    }

    .footer_nav {
        order: 3;
        grid-column: 1/3;
        margin-top: 20px;
    }

    .footer_info {
        order: 2;
    }
}

@media (max-width:640px) {
    .footer {
        padding: 60px 0 70px;
    }

    .footer_inner {
        grid-template-columns: 1fr;
        gap: 46px;
        padding: 0 28px;
    }

    .footer_brand_name {
        font-size: 30px;
    }

    .footer_nav {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 10px 40px;
    }

    .footer_nav_list {
        gap: 18px;
    }

    .footer_tel {
        font-size: 14px;
    }
}

@media (max-width:420px) {
    .footer_brand_line {
        font-size: 18px;
    }

    .footer_brand_name {
        font-size: 26px;
    }

    .footer_nav_list a {
        font-size: 15px;
    }
}

/* =============================
   Additional Responsive Tweaks
   (Instagram / Access / Q&A / Contact / Headings)
   ============================= */
@media (max-width: 900px) {
    .instagram {
        margin-top: 140px;
    }

    .instagram_intro {
        max-width: 100%;
    }

    .instagram_grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 24px;
    }

    .access {
        margin-top: 160px;
    }

    .access_intro {
        max-width: 640px;
    }

    .access_map {
        height: 300px;
    }

    .qanda {
        margin-top: 140px;
    }

    .q_item {
        padding: 16px 44px 16px 26px;
    }

    .contact {
        margin-top: 160px;
    }
}

@media (max-width: 768px) {

    /* 背景英字サイズ縮小 */
    .about_title::before,
    .features_title::before,
    .price_title::before,
    .facilities_title::before,
    .voice_title::before,
    .instagram_title:before,
    .access_title:before,
    .qanda_title:before,
    .contact_title:before {
        font-size: 120px;
        top: -90px;
    }

    .instagram_grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 22px;
    }

    .insta_item {
        border-radius: 10px;
    }

    .access_line {
        font-size: 11.5px;
        gap: 10px;
    }

    .access_points_simple p {
        font-size: 16px;
    }

    .qanda_list {
        gap: 28px;
    }

    .q_item {
        border-radius: 18px;
        padding: 14px 40px 14px 22px;
    }

    .q_mark {
        font-size: 26px;
    }

    .a_mark {
        font-size: 30px;
    }

    .a_content p {
        font-size: 15px;
    }

    .contact_line {
        font-size: 11.5px;
    }

    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    .about_text {
        margin-top: 0;
    }

    .features {
        padding-top: 100px !important;
    }
    .feature_item:nth-child(2) {
        gap: 20px;
        margin-bottom: 40px;
    }
    .facilities_number {
        margin-bottom: 20px;
    }
    .slider .slick-slide {
        width: 360px;
    }
    .slick-prev, .slick-next {
        z-index: 2;
        top: 50%;
    }
    .slick-dots li {
        padding: 0;
    }
    .voice_intro {
        margin-bottom: 0 !important;
    }
    .access {
        margin-top: 40px !important;
    }
    .features_title {
        padding: 0;
    }
}

@media (max-width: 640px) {

    .instagram_title:before,
    .access_title:before,
    .qanda_title:before,
    .contact_title:before {
        font-size: 90px;
        top: -70px;
    }

    .instagram_title,
    .access_title,
    .qanda_title,
    .contact_title {
        font-size: 22px;
    }

    .instagram_intro,
    .access_intro,
    .qanda_intro,
    .contact_intro {
        margin: 0 0 40px;
        font-size: 14.5px;
    }

    .instagram_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .access_map {
        height: 270px;
    }

    .access_line {
        font-size: 11px;
    }

    .q_item {
        padding: 14px 36px 14px 20px;
    }

    .q_icon {
        top: 16px;
        width: 20px;
    }

    .q_icon:after {
        width: 20px;
    }

    .a_row {
        gap: 22px;
        padding-top: 20px;
    }

    .contact_call {
        font-size: 20px !important;
    }
}

@media (max-width: 560px) {
    .insta_item {
        border-radius: 8px;
    }

    .access {
        margin-top: 120px;
    }

    .qanda {
        margin-top: 120px;
    }

    .contact {
        margin-top: 140px;
    }

    .q_item {
        padding: 12px 32px 12px 18px;
    }

    .q_mark {
        font-size: 24px;
    }

    .a_mark {
        font-size: 26px;
    }

    .a_content p {
        font-size: 14px;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .instagram {
        margin-top: 80px;
    }

    .instagram_intro {
        font-size: 16px;
    }

    .btn_instagram {
        margin-top: 36px;
        padding: 11px 40px 11px 24px;
    }

    .access_intro {
        font-size: 16px;
    }

    .access_map {
        height: 240px;
    }

    .access_line {
        font-size: 10.5px;
        line-height: 1.7;
    }

    .qanda_intro {
        font-size: 16px;
    }

    .qanda_list {
        gap: 22px;
    }

    .q_item {
        padding: 12px 30px 12px 16px;
    }

    .q_question {
        font-size: 14px;
    }

    .a_content p {
        font-size: 13.5px;
    }

    .contact_intro {
        font-size: 16px;
    }

    .footer {
        margin-top: 80px;
    }
}

@media (max-width: 380px) {

    .instagram_title:before,
    .access_title:before,
    .qanda_title:before,
    .contact_title:before {
        font-size: 58px;
        top: -48px;
    }

    .instagram_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .q_item {
        padding: 10px 26px 10px 14px;
    }

    .q_icon {
        top: 14px;
        width: 22px;
    }

    .q_icon:after {
        width: 22px;
    }

    .a_row {
        gap: 18px;
    }
}

/* =============================
   Horizontal Overflow Fix & Mobile Flex Adjustments
   ============================= */
html,
body {
    overflow-x: hidden;
}

/* 共通セクションで背景擬似要素はみ出し抑制 */
.about,
.features,
.price,
.facilities,
.voice,
.instagram,
.access,
.qanda,
.contact {
    position: relative;
}

/* Slick スライダーの横スクロール抑止 */
.slider {
    overflow: hidden;
}

@media (max-width: 1024px) {

    /* iPad などでの微調整 */
    .feature_item {
        gap: 40px;
    }

    .slick-prev {
        left: 6px;
    }

    .slick-next {
        right: 6px;
    }
}

@media (max-width: 900px) {

    .price_container,
    .facilities_container {
        flex-direction: column;
    }

    .price_container_left,
    .facilities_container_left,
    .price_container_right,
    .facilities_container_right {
        width: 100% !important;
    }

    .price_container_right,
    .facilities_container_right {
        margin-top: 30px;
    }
}

@media (max-width: 780px) {

    /* 追加: 背景英字縮小が未適用な新セクション用保険 */
    .about_title::before,
    .features_title::before,
    .price_title::before,
    .facilities_title::before,
    .voice_title::before,
    .instagram_title:before,
    .access_title:before,
    .qanda_title:before,
    .contact_title:before {
        max-width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {

    /* flex解除と余白調整 */
    .about_text_box {
        flex-direction: column;
        margin-top: 100px;
    }

    .about_text_box img {
        margin-left: 0;
        max-width: unset;
    }

    .about_ja_sp {
        position: absolute;
        top: 120px;
        right: 0;
        width: 40% !important;
        height: 100%;
        z-index: 1;
    }

    .price_container,
    .facilities_container {
        gap: 10px;
    }

    .facilities_room {
        margin-top: 20px;
    }

    .feature_item {
        padding: 0 0;
    }

    .feature_image img {
        border-radius: 10px;
    }

    /* Slick 矢印の外側余白撤去（万一表示されるケース） */
    .slick-prev {
        left: 4px;
    }

    .slick-next {
        right: 4px;
    }
}

@media (max-width: 560px) {

    /* スライド幅・スケール調整でオーバーフロー抑制 */
    .slider .slick-slide {
        transform: scale(.85);
    }

    .slider .slick-slide.slick-center {
        transform: scale(.95);
    }

    .feature_item {
        margin: 0 0 50px;
    }

    .facilities_container,
    .price_container {
        padding: 0;
    }
}

@media (max-width: 480px) {

    /* 更に安全側でスケール */
    .slider .slick-slide {
        transform: scale(.8);
    }

    .slider .slick-slide.slick-center {
        transform: scale(.9);
    }

    .price_number,
    .facilities_number {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .facilities_number {
        font-size: 13px;
    }
    

    .price_text_top {
        font-size: 16px;
    }

    .facilities_text_top {
        font-size: 16px;
    }

    .feature_title {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .feature_item {
        gap: 20px;
    }

    .slider .slick-slide {
        transform: scale(.78);
    }

    .slider .slick-slide.slick-center {
        transform: scale(.88);
    }

    /* Q&A 余白さらに圧縮 */
    .q_item {
        padding: 10px 22px 10px 12px;
    }
}

/* =============================
   Section Spacing Normalization
   ============================= */
.about,
.features,
.price,
.facilities,
.voice,
.instagram,
.access,
.qanda,
.contact {
    /* 基本 vertical rhythm */
    padding: 140px 0 110px;
}

/* 個別（既存 padding があるものを統一）*/
.voice {
    padding: 140px 0 110px;
}

.instagram {
    padding: 140px 0 110px;
}

.access {
    padding: 140px 0 110px;
}

.qanda {
    padding: 140px 0 110px;
}

.contact {
    padding: 140px 0 110px;
}

/* タイトルの不要な上マージン除去 */
.about_title,
.price_title,
.facilities_title,
.voice_title {
    margin-top: 0 !important;
}

.features {
    margin-top: 0 !important;
}

/* 余白微調整（直後に続くセクション間を詰めすぎないよう最下部余白確保） */
.footer {
    margin-top: 60px;
}

@media (max-width: 900px) {

    .about,
    .features,
    .price,
    .facilities,
    .voice,
    .instagram,
    .access,
    .qanda,
    .contact {
        padding: 120px 0 90px;
    }

    .footer {
        margin-top: 50px;
    }
}

@media (max-width: 640px) {

    .about,
    .features,
    .price,
    .facilities,
    .voice,
    .instagram,
    .access,
    .qanda,
    .contact {
        padding: 90px 0 70px;
    }

    .footer {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {

    .about,
    .features,
    .price,
    .facilities,
    .voice,
    .instagram,
    .access,
    .qanda,
    .contact {
        padding: 70px 0 60px;
    }

    .footer {
        margin-top: 36px;
    }
}

/* =============================
   Spacing Refinement Overrides
   ============================= */
:root {
    --space-section-top-desktop: 90px;
    --space-section-bottom-desktop: 70px;
    --space-section-top-large: 110px;
    --space-section-bottom-large: 85px;
    --space-section-top-tablet: 70px;
    --space-section-bottom-tablet: 55px;
    --space-section-top-mobile: 60px;
    --space-section-bottom-mobile: 50px;
    --space-section-top-small: 50px;
    --space-section-bottom-small: 45px;
}

/* 以前一律140/110pxだった余白を整理 */
.about,
.features,
.price,
.facilities,
.voice,
.instagram,
.access,
.qanda,
.contact {
    padding: var(--space-section-top-desktop) 0 var(--space-section-bottom-desktop);
}

/* ファーストビュー直下（about）はやや詰める */
.about {
    padding-top: var(--space-section-top-desktop) - 10px;
    margin-top: 150px;
}

/* セクション内の内部マージン微調整 */
.features_title,
.price_title,
.facilities_title,
.voice_title,
.instagram_title,
.access_title,
.qanda_title,
.contact_title {
    margin-bottom: 42px;
    /* 以前より統一 */
}

/* feature アイテム間隔 */
.feature_item {
    margin: 0 auto 80px;
}

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

/* 料金 / 設備 の左右カラム距離が縦積み時に過大な余白を作らないよう */
@media (max-width: 900px) {

    .price_container_right,
    .facilities_container_right {
        margin-top: 22px;
    }
}

/* Q&A カード間隔を圧縮 */
.qanda_list {
    gap: 26px;
}

@media (max-width: 640px) {
    .qanda_list {
        gap: 20px;
    }
}

/* カード内パディングも僅かに圧縮 */
.q_item {
    padding: 14px 40px 14px 26px;
}

@media (max-width: 640px) {
    .q_item {
        padding: 12px 30px 12px 18px;
    }
}

/* Instagram グリッドの余白が縦方向に空き過ぎる場合を調整 */
.instagram_intro {
    margin-bottom: 42px;
}

.btn_instagram {
    margin-top: 40px;
}

/* Access ポイント行間調整 */
.access_line {
    margin-bottom: 6px;
    line-height: 1.6;
}

.access_intro {
    margin-bottom: 42px;
}

/* Voice セクションの上部余白調整（元々大きかった場合の保険） */
.voice {
    padding-top: var(--space-section-top-desktop);
}

.voice_intro {
    margin-bottom: 46px;
}

/* Contact セクションはコンパクトに */
.contact_intro {
    margin-bottom: 36px;
}

.contact {
    padding-bottom: 60px;
}

.footer {
    margin-top: 50px;
}

/* ラージスクリーンでだけ若干余裕を追加 */
@media (min-width: 1400px) {

    .about,
    .features,
    .price,
    .facilities,
    .voice,
    .instagram,
    .access,
    .qanda,
    .contact {
        padding: var(--space-section-top-large) 0 var(--space-section-bottom-large);
    }

    .feature_item {
        margin-bottom: 90px;
    }
}

@media (min-width: 768px) {
    .mv-text {
        display: none;
    }
}

/* タブレット */
@media (max-width: 900px) {

    .about,
    .features,
    .price,
    .facilities,
    .voice,
    .instagram,
    .access,
    .qanda,
    .contact {
        padding: var(--space-section-top-tablet) 0 var(--space-section-bottom-tablet);
    }

    .feature_item {
        margin-bottom: 60px;
    }

    .features_title,
    .price_title,
    .facilities_title,
    .voice_title,
    .instagram_title,
    .access_title,
    .qanda_title,
    .contact_title {
        margin-bottom: 36px;
    }
}

/* モバイル */
@media (max-width: 640px) {

    .about,
    .features,
    .price,
    .facilities,
    .voice,
    .instagram,
    .access,
    .qanda,
    .contact {
        padding: var(--space-section-top-mobile) 0 var(--space-section-bottom-mobile);
    }

    .feature_item {
        margin-bottom: 50px;
    }

    .features_title,
    .price_title,
    .facilities_title,
    .voice_title,
    .instagram_title,
    .access_title,
    .qanda_title,
    .contact_title {
        margin-bottom: 32px;
    }

    .instagram_intro,
    .access_intro,
    .qanda_intro,
    .contact_intro {
        margin-bottom: 32px;
    }

    .btn_instagram {
        margin-top: 32px;
    }

    .access_line {
        font-size: 11px;
    }
}

/* スモールモバイル */
@media (max-width: 480px) {

    .about,
    .features,
    .price,
    .facilities,
    .voice,
    .instagram,
    .access,
    .qanda,
    .contact {
        padding: var(--space-section-top-small) 0 var(--space-section-bottom-small);
    }

    .feature_item {
        margin-bottom: 44px;
    }

    .q_item {
        padding: 10px 26px 10px 14px;
    }
}

/* 背景英字位置微調整（余白縮小に伴う視覚調整） */
.about_title::before,
.features_title::before,
.price_title::before,
.facilities_title::before,
.voice_title::before,
.instagram_title:before,
.access_title:before,
.qanda_title:before,
.contact_title:before {
    top: -100px;
}

@media (max-width: 640px) {

    .about_title::before,
    .features_title::before,
    .price_title::before,
    .facilities_title::before,
    .voice_title::before,
    .instagram_title:before,
    .access_title:before,
    .qanda_title:before,
    .contact_title:before {
        top: -70px;
    }
}

@media (max-width: 480px) {

    .about_title::before,
    .features_title::before,
    .price_title::before,
    .facilities_title::before,
    .voice_title::before,
    .instagram_title:before,
    .access_title:before,
    .qanda_title:before,
    .contact_title:before {
        top: -58px;
    }
}

/* 余剰な上下スペースを視覚的に確認しやすくするための一時アウトライン（必要なら有効化） */
/* .about, .features, .price, .facilities, .voice, .instagram, .access, .qanda, .contact { outline:1px dashed rgba(0,0,0,.07); } */