body {
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS Mincho", serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* 念のため横スクロール防止 */
}

#header {
    background-color: #ffffff;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    position: relative;
    position: fixed;
    top: 0;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 下にほんのり影 */
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    position: absolute;
    left: 50px;
}

.gnav-pc-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 50px;
}

ul.gnav-pc li {
    display: inline;
    margin-right: 47px;
}

ul.gnav-pc li a {
    text-decoration: none;
    color: #293d4c;
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.1em;
}

ul.gnav-pc li a:hover {
    color: #d17e9a;
}

.button-small { 
    display: block;
    width: 151px;
    height: 56px;
    background-color: #d17e9a;
    color: #ffffff;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    letter-spacing: 0em;
    text-align: center;
    border-radius: 50px;
    line-height: 56px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button-small:hover {
    background-color: #c16b89;
} 

body, img {
    margin: 0;
    padding: 0;
}

#mainvisual {
    width: 100vw;
    height: 100vh;
    background-image: url(img/background-mv.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.about-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
    position: relative; 
}

.about-title {
    position: relative;
    width: max-content; /* テキスト幅に合わせる */
    margin: 0 auto;     /* 全体を中央寄せ */
    text-align: center;
}
.about-inner p {
    font-size: 18px;
}

.jp {
    font-size: 22px; 
    letter-spacing: 0.1em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) ;  /* 英語文字の真ん中に配置 */
    z-index: 1;
    color: #293d4c;
}

.en {
    font-size: 138px;
    font-family: "athelas", serif;
    font-weight: 400;
    font-style: normal;
    color: #293d4c;
    opacity: 0.1;
    letter-spacing: 0.4em;
    position: relative;
    display: block;
    transform: translateX(0.2em);
}

p {
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.highlight {
    color: #d17e9a;
}

.about-subtitle {
    font-size: 20px;
}

.method {
    font-size: 20px;
    color: #d17e9a;
}

#staff {
    margin-top: -100px;
}

.staff-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff;
    position: relative;
    margin-bottom: 10px;
}

.staff-title {
    position: relative;
    width: max-content;
    margin: 0 auto 15px;
    text-align: center;
}

.staff-inner {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: flex-start;   /* 画像とテキストを同じ高さに */
    flex-wrap: wrap; /* スマホで縦積みに */
    max-width: 960px;
    margin: 0 auto;
}

.staff-profile {
    text-align: left;  
}


.staff-photo img {
    max-width: 295px;
    max-height: 369px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 柔らかい影 */
}

.name {
    text-align: center;
    transform: translateX(-0.9em);
    margin-bottom: 60px;
}

.name .name-en {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #d17e9a;
    display: block;
    line-height: 1.5;
    margin-bottom: 8px; 
}

.name .name-jp {
    font-size:20px;
    color: #d17e9a;
    display: block;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.career {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    list-style: none;
    padding-left: 60px;
    margin: 0;
    flex: 1;
}

.career li {
    display: flex;           /* ドットとテキストを横並び */
    align-items: flex-start; /* ドットを1行目の頭に揃える */
    margin-bottom: 15px;
    font-size: 16px;
}

.career li:last-child {
  margin-bottom: 0;      /* 最後だけ余白なしにして整える */
}

.career li::before {
    content: "";
    flex-shrink: 0;
    width: 0.5em;
    height: 0.5em;
    margin-right: 0.8em;
    margin-top: 0.6em;        /* ← ドットをテキストの1行目に合わせる */
    background-color: #d17e9a;
    border-radius: 50%;
}

.career li span {
    display: block;
    text-align: left;         /* テキストを左寄せ */
    line-height: 1.8;
}

#class {
    margin-top: -100px;
}

.class-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff;
    position: relative;
}

.class-title {
    position: relative;
    width: max-content;
    margin: 0 auto 15px;
    text-align: center;
}

.class-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: block;
    text-align: right;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 960px;   /* 全体幅を固定 */
    margin: 0 auto;     /* 真ん中に寄せる */
}

.class-schedule {
    text-align: center;   
    margin-top: 30px;
}

.class-schedule .button-border {
    display: inline-block;
}

.class-note {
    font-size: 12px;
    color: #293d4c;
    letter-spacing: 0.1em;
    white-space: nowrap; 
    margin-top: 5px; /* カードとの高さ調整 */ 
    text-align: right; 
}

.sp-br {
    display: none;
}

#tuition {
    margin-top: -80px;
}

.tuition-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff;
    position: relative;
}

.tuition-title {
    position: relative;
    width: max-content;
    margin: 0 auto 15px;
    text-align: center;
}

.tuition-header {
    max-width: 960px;        
    margin: 0 auto 40px;      /* 中央寄せ & 下に余白 */
    position: relative;
    justify-content: space-between; 
    text-align: center;            
}

.tuition-subtitle {
    font-size: 24px;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #293d4c;
    display: inline-block;
    margin-left: -50px;
}

.tuition-note {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 10px;
    color: #293d4c;
    line-height: 1.5;
    text-align: left;
}

.tuition-note-coupon{
    position: absolute;
    top: 20px;
    right: 0;
    font-size: 10px;
    color: #293d4c;
    line-height: 1.5;
    text-align: right;
}

.tuition-table {
    display: grid;
    grid-template-columns: 120px repeat(5, 1fr); /* 1列目: クラス名, 残り: 週1〜週5 */
    text-align: center;
    align-items: center;
    gap: 0px;
}

.tuition-table .week {
    font-weight: normal;
    padding: 8px;
}

.week {
    display: grid;
    grid-template-columns: 120px repeat(5, 140px); /* tuition-table と同じ設定 */
    justify-content: center;
    text-align: center;
    margin: 0 auto 10px; /* 下にちょっと余白 */
}

.week span {
    line-height: 1.6;
    font-weight: normal;
    white-space: nowrap;
    color: #293d4c;
}

.week span:nth-child(n+3) {
    padding-left: 24px; /* 3番目以降（週2〜週5） */
}

.week span:nth-child(n+4) {
    padding-left: 56px; 
}

.week span:nth-child(n+5) {
    padding-left: 92px; 
}

.week span:nth-child(n+6) {
    padding-left: 124px; 
}

.tuition-table {
    max-width: 960px;       
    margin: 0 auto 60px;   
    display: grid;
    grid-template-columns: 1fr; /* 初期は1列（スマホ用） */
    gap: 20px;              /* 画像間の余白 */
}

.benefit {
    max-width: 960px;
    margin: 60px auto 30px auto; /* ← 下の余白を20pxに縮める */
    text-align: center;
}

.benefit-title {
    font-size: 20px;
    color: #293d4c;
    margin: 0;            /* ← 上下マージンを全部リセット */
    padding: 0; 
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;        /* 本文は左揃え */
    display: inline-block;   /* 全体は中央寄せ */
}

.benefit-list li {
    font-size: 18px;
    letter-spacing: 0.1em;
    color: #293d4c;
    margin-bottom: 16px;
    line-height: 1.5;
    position: relative;   /* 疑似要素を配置するため */
    padding-left: 1.5em;  /* ドット分のスペースを確保 */
    align-items: flex-start;
    margin-left: 40px;
}

.benefit-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;          /* テキストの高さに合わせる */
    width: 0.5em;
    height: 0.5em;
    background-color: #d17e9a;
    border-radius: 50%;
}

.highlight-small {
    color: #d17e9a;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.1em;
    white-space: nowrap;
    }


#cta {
    margin-top: 60px;
    background-image: url("img/background-cta.png");
    background-position: top center;
    background-size: cover; 
    background-repeat: no-repeat;
    width: 100%;
    min-height: 500px;
    display: flex;             
    justify-content: center;  
    align-items: center;   
    padding: 0px 20px;
    text-align: center;
    box-sizing: border-box;
}

.cta-box {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8); 
    border-radius: 10px;
}

.cta-title {
    font-size: 30px;
    color: #293d4c;
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    color: #293d4c;
    line-height: 2.2;
    margin-bottom: 20px;  
}

.cta-box p:last-of-type {
    margin-bottom: 40px;   /* 最後の段落はボタン前なので余白広め */
}

.button-big {
    display: inline-block;
    width: 200px;
    height: 70px;
    background-color: #d17e9a;
    color: #ffffff;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 500;
    font-size: 20px;
    border-radius: 50px;
    line-height: 70px; 
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center;
}

.button-big:hover {
    background-color: #c16b89;
}

.cta-footer {
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    margin-top: 40px;
    font-size: 24px;
    color: #293d4c;
}

.cta-footer .cta-link {
    color: #293d4c;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px; 
    transition: color 0.3s ease;
    display: inline-flex;
    align-self: center;
    gap: 6px;
}

.cta-footer .cta-link:hover {
    color: #d17e9a;
}

.line-icon {
    width: 40px;    /* アイコンサイズ調整 */
    height: 40px;
}

#access {
    margin-top: 0px;
}

.access-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
    position: relative; 
}

.access-title {
    position: relative;
    width: max-content; /* テキスト幅に合わせる */
    margin: 0 auto;     /* 全体を中央寄せ */
    text-align: center;
}

.button-border {
    display: block;
    font-size: 16px;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 200;
    font-style: normal;
    border-radius: 50px;
    display: inline-block;   /* 横幅に合わせてフィットさせる */
    line-height: 56px;       /* 高さと同じにして文字を縦中央揃え */
    transition: all 0.3s ease;
    cursor: pointer;     
    margin-top: 20px;
    width: 192px;
    height: 56px;
    border: 1px solid #293d4c;
    color: #293d4c
}

.col-2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 960px;   /* 全体の最大幅 */
    margin: 20px auto;     /* 中央寄せ */
    gap: 48px;          /* 地図とテキストの間に余白 */
}

/* 左のGoogle Map */
.gmap iframe {
    width: 100%;
    height: 300px;      
    border: 0;
    border-radius: 10px;
}

/* 右の住所・ボタン部分 */
.item {
    flex: 1;
    text-align: left;
}

.address {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 16px;
}

.button-border:hover {
    background-color: #293d4c;
    color: #fff;
}

#footer {
    position: relative;
    margin-top: 100px;
    background-color: #293d4c;
    padding: 40px 20px;
    text-align: center;
    width: 100vw;
    box-sizing: border-box;
    text-align: center;

}

.footer-logo img {
    width: 70px;
    margin-bottom: 20px;
}

.gnav-footer {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.gnav-footer li a {
    color: #ffffff;
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.1em;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gnav-footer li a:hover {
    color: #d17e9a;
}

.contact ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 2opx;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.contact li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact a {
    color: #ffffff;
    font-size: 16px;
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: #d17e9a;
}

.contact img {
    width: 20px;
    height: 20px;
}

.copy-right {
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 100;
    color: #ffffff;
    font-size: 11px;
    margin-top: 40px;
}

.menu-btn,
.gnav-sp {
    display: none;
}

.menu-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-btn span {
    display: none;
    width: 28px;
    height: 2px;
    background: #293d4c;
    margin: 6px 0;
    transition: 0.4s;
    }

#menu-btn-check {
    display: none;
}

/* スマホ用調整 */
@media (max-width: 768px) {
    html, body {
    width: 100%;
    overflow-x: hidden;  /* 横スクロール禁止 */
}

  * {
    box-sizing: border-box; /* はみ出しを防ぐ */
}


/* ヘッダー */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    position: relative;
}
.header-logo {
    display: flex;
    align-items: center;
    height: 100%;
}
.header-logo a {
    display: block;
    height: auto;
    left: 20px;
}
.header-logo img {
    height: 48px;
    width: auto;
    display: block;
}
.gnav-pc-wrap {
    display: none; 
}


/* 三本線ボタン */
.menu-btn {
    display: flex; 
    position: absolute;
    top: 50%;
    right: 20px;
    align-items: center;
    transform: translateY(-50%);
    width: 32px;
    height: 22px;
    cursor: pointer;
    z-index: 2000;
    flex-direction: column;
    justify-content: center;
}
.menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: #293d4c;
    opacity: 0.1;
    margin: 3px 0;
    transition: 0.4s;
    margin-left: auto;
    text-decoration: none;
}
.menu-btn span,
.menu-btn::before,
.menu-btn::after {
    width: 100%;
    height: 2px;
    background-color: #293d4c; /* 線の色（必要に応じて変更） */
    display: block;
    border-radius: 1px;
}

/* スマホ用メニュー本体 */
.gnav-sp {
    display: none ;
    position: fixed;
    top: 0;
    right: 0px; 
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    z-index: 2000;
    padding-top: 60px;
}
.gnav-sp li:last-child {
    border-bottom: none;
}
.gnav-sp .button-small {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;        
    width: 200%;
    max-width: 80%;              /* 画面幅に合わせて広げる */
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    border: none; 
    background-color: #d17e9a; 
    font-size: 16px;
    line-height: 56px;      
    height: 56px;
    width: 151px;
    height: 56px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.gnav-sp ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gnav-sp li {
    border-bottom: 1px solid #ddd;
    margin: 20px 0;
}
.gnav-sp a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #293d4c;
    font-size: 20px;
}
.gnav-sp a:hover {
    color: #d17e9a;
}
.button-small:hover {
    background-color: #c16b89;
    color: #ffffff !important; ;
    opacity: 1 !important; ;
}

/* メニューが開いたとき */
.gnav-sp.active {
    right: 0;
}

/* ✕ボタン */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    cursor: pointer;
    color: #293d4c;
    opacity: 0.1;
}

/* メインビジュアル */
#mainvisual {
    width: 100vw;                
    height: auto;
    aspect-ratio: 16 / 9;     /* 画像の比率を保ちながら表示 */
    background-size: cover;  
    background-position: center; 
}
#mainvisual {
    height: auto;
    aspect-ratio: 16 / 9; /* 比率を固定して縦伸び防止 */
    background-position: center bottom;
}

/* ABOUT */
#staff,
#class,
#tuition {
    margin-top: 0 !important;  
}
.about-section,
.staff-section,
.class-section,
.tuition-section,
.access-section {
    padding: 30px 15px;
    height: auto !important;      /* ← 固定高さを無効化 */
    min-height: auto !important;  /* ← もし min-height 固定されてたら解除 */
    overflow: visible !important; /* ← 隠れないようにする */
}
.en {
    font-size: 60px;
    letter-spacing: 0.2em;
    transform: translateX(-0em);
}
.jp {
    font-size: 16px;
    transform: translate(-50%, -50%) translateX(-0.5em);
}
p {
    font-size: 12px;
    line-height: 1.5;
    padding: 0 5px;
    word-break: keep-all;   /* ← 単語の途中で改行しない */
    overflow-wrap: break-word; /* ← はみ出す場合だけ改行 */
}
.about-subtitle,
.method {
    font-size: 14px;
    line-height: 1.5;
    padding: 0 5px;
}
br {
    display: none;
}
.about-inner {
    max-width: 720px;   
    margin: 0 auto;    
    text-align: center;  
    padding: 0 15px;    
}
.about-inner p {
    font-size: 12px;
}

/* STAFF */
.staff-inner {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 720px;   
    margin: 0 auto;     
    text-align: left;   
    padding: 0 15px;    
}
.name .name-en { font-size: 24px; }
.name .name-jp { font-size: 16px; }
.career { padding-left: 0; }
.career li {
    font-size: 14px;
}

/* CLASS */
.class-grid {
    grid-template-columns: 1fr; /* 1列表示 */
    justify-items: center;
    gap: 20px;
}
.class-grid img {
    max-width: 90%;
    height: auto;
}
.class-note {
    text-align: center;
    white-space: normal;
    font-size: 10px;
    margin-top: 10px;
}
.sp-br {
    display: block;   
}

/* TUITION */
.tuition-subtitle { 
    margin-left: 0; 
    font-size: 20px;
    display: block;
    margin-bottom: 10px;
}
.tuition-note, .tuition-note-coupon {
    position: static; /* 絶対位置を解除 */
    text-align: center;
    margin-top: 10px;
    font-size: 10px;
}
.tuition-table img {
    width: 100%;
    height: auto;
}
.week {
    grid-template-columns: 80px repeat(5, 1fr); /* 左列だけ固定幅、残りは均等 */
    gap: 4px; /* 少しだけ余白 */
}

.week span {
    padding-left: 0 !important; /* PC用の手動paddingは解除 */
    font-size: 10px; /* 文字も少し小さく */
}
}

/* BENEFIT */
@media (max-width: 768px) {
.benefit-list {
    display: block;
    margin: 0;
}
.benefit-list li {
    margin-left: 0;
    font-size: 14px;
    line-height: 1.8;
} .highlight-small {
    font-size: 14px;
}

/* CTA */
.cta-box {
    max-width: 95%;   /* スマホは狭め */
    padding: 15px;
}
.cta-title {
    font-size: 22px;
}
.cta-box p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
}
.button-big {
    width: 160px;
    height: 56px;
    line-height: 56px;
    font-size: 16px;
}
.cta-footer { 
    font-size: 14px; 
}
.line-icon { 
    width: 28px; height: 28px; 
}

/* ACCESS */
.col-2 {
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.address { 
    font-size: 14px; 
    text-align: center;
}
.minute { 
    font-size: 14px; 
    text-align: center;
}
.gmap-btn {
    display: flex;
    justify-content: center;
}

/* FOOTER */
.gnav-footer {
    flex-direction: column;
    gap: 16px;
}
.contact ul {
    flex-direction: column;
    gap: 16px;
}
.contact a {
    font-size: 14px;
}
}


/* ===========================
    ▼ Windows古ブラウザ対応＋等比スケール調整
   =========================== */

/* 1. ヘッダーのロゴを縦基準で等比スケール */
.header-logo img {
    height: 70px;  /* ヘッダー内に収まる高さ */
  width: auto;
  object-fit: contain;
  display: block;
}

/* ヘッダー内のレイアウトが崩れないように中央揃え */
#header {
    background-color: #ffffff;
  width: 100%;
  height: 100px; /* ここを固定高さに */
  display: flex;
  justify-content: space-between;
  align-items: center; /* ロゴを中央揃え */
  position: fixed;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 2. メインビジュアルのアスペクト比を固定 */
#mainvisual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;            /* 常に16:9の比率を保つ */
    overflow: hidden;
    margin-top: 100px;
}

#mainvisual img {
    width: 100%;
    height: 100%;
    object-fit: cover;               /* 縦横比を維持してトリミング */
    display: block;
    object-position: 40% center;
}

/* 3. キャッチコピーを中央に重ねる */
.mainconcept {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    font-size: clamp(20px, 4vw, 36px); /* 画面サイズで自動調整 */
    line-height: 1.5;
    letter-spacing: 0.1em;
}

/* 4. 古ブラウザ（aspect-ratio非対応）フォールバック */
@supports not (aspect-ratio: 16 / 9) {
    #mainvisual {
        height: 56.25vw; /* 16:9の比率（高さ＝幅×9/16） */
    }
    #mainvisual img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ===========================
   メインビジュアル：ロゴ画像＋コピー配置
   =========================== */
#mainvisual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 100px; /* ヘッダー固定分 */
}

#mainvisual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center; /* 左寄せ構図 */
  display: block;
}

/* コンテンツ全体 */
.mv-content {
  position: absolute;
  top: 52%; /* ロゴとコピーの全体位置 */
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  text-align: left;
}

/* ピンクロゴ画像 */
.mv-logo-img img {
  width: clamp(180px, 25vw, 380px);
  height: auto;
  display: block;
  margin: 0 0 0.6em 0; /* 下に少し余白 */
}

/* 日本語コピー */
.mv-copy {
  font-family: "hiragino-mincho-pron", serif;
  font-size: clamp(16px, 2vw, 26px);
  line-height: 1.8;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin: 0;
}

