@charset "UTF-8";

/*
Theme Name: Newyou
Description: LP用テーマ
Version: 1.0
Author: MK Design
Text Domain: newyou
*/


html {
  font-size: 100%;
  /* ページ内リンク */
  scroll-behavior: smooth;
  scroll-padding-top: 80px;

}

body {
  color: #333;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
}

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

li {
  list-style: none;
}

a {
  color: #1f1f1f;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

iframe {
  vertical-align: bottom;
}

html {
  font-size: 100%;
  /* ページ内リンク */
  scroll-behavior: smooth;
  scroll-padding-top: 80px;

}

body {
  color: #333;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
}

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

li {
  list-style: none;
}

a {
  color: #1f1f1f;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

iframe {
  vertical-align: bottom;
}

.wrapper-1200 {
  max-width: 1200px;
  padding: 0 20px;
}

.wrapper-1040 {
  max-width: 1040px;
  padding: 0 20px;
  margin: 0 auto
}

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

.wrapper-960 {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 50px;
  text-align: left;
  margin-bottom: 40px;
  font-weight: 100;
}



/* header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  font-family: "Cormorant Garamond", serif;
  z-index: 10;
  /* padding: 0 40px; ←これ削除 */
}

#header .logo {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#header .logo.is-hide {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}



#header .logo a {
  display: block;
}

#header .logo img {
  width: 80px;
  height: auto;
  position: relative;
  top: 60px;
  left: 60px;
}

#header .navi .menu {
  display: flex;
  align-items: center;
  font-size: 16px;
}

#header .navi .menu .header-btn a {
  background-color: #000;
  border: 1px solid #fff;
  border-radius: 30px;
  color: #fff;
  padding: 8px 40px;
  display: block;
  letter-spacing: 0.1em;
}

#header .navi .menu>li {
  margin-left: 40px;
}

/* =========================
  Hamburger (like image)
========================= */
#header {
  position: fixed;
  z-index: 1000;
}

.hamburger {
  width: 56px;
  height: 56px;
  position: absolute;
  top: 12px;
  /* 好みで調整OK */
  right: 40px;
  top: 40px;
  /* 好みで調整OK */
  cursor: pointer;
  z-index: 2000;
}

.hamburger span {
  position: absolute;
  height: 1px;
  background: #000;
  /* 黒 */
  border-radius: 999px;
  transition: transform .35s ease, top .35s ease, width .35s ease, opacity .2s ease;
}

/* 上：長め（左寄り） */
.hamburger span:nth-child(1) {
  width: 34px;
  top: 18px;
  left: 10px;
}

/* 下：短め（右寄り） */
.hamburger span:nth-child(2) {
  width: 22px;
  top: 30px;
  right: 12px;
}

/* open時：× */
#header.is-open .hamburger span:nth-child(1) {
  top: 24px;
  left: 10px;
  width: 34px;
  transform: rotate(45deg);
}

#header.is-open .hamburger span:nth-child(2) {
  top: 24px;
  right: 12px;
  width: 34px;
  /* ×のときは同じ長さにして綺麗に */
  transform: rotate(-45deg);
}

/* =========================
  Drawer Menu + Mask
========================= */
/* ===== Drawer Nav（背景：黒、文字：白） ===== */
.navi {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 420px);
  height: 100vh;
  background-image: url(img/gradation.png);
  /* 背景白 */
  transform: translateX(100%);
  transition: transform .4s ease;
  z-index: 1500;
  padding: 90px 28px 28px;
  overflow-y: auto;
}

#header.is-open .navi {
  transform: translateX(0);
}

/* メニューを縦並び（1列） */
.navi .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  /* ここがポイント */
  flex-direction: column;
  /* 縦並び */
  gap: 18px;
  /* 行間 */
}

/* 文字を黒に */
.navi .menu a {
  color: #000;
  /* 文字黒 */
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.02em;
}


/* マスク（好みで濃さ調整） */
.mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 1200;
}

#header.is-open .mask {
  opacity: 1;
  pointer-events: auto;
}

#header.is-open .hamburger span {
  background: #000;
}

/* mainvisual を横いっぱいに */
#mainvisual {
  width: 100%;
}

/* picture をブロック化して横幅100%に */
#mainvisual .img picture {
  display: block;
  width: 100%;
}

/* 中の画像を横幅100%に（比率維持） */
#mainvisual .img picture img {
  display: block;
  width: 100%;
  height: auto;
}

.mainvisual {
  position: relative;
  width: 100%;
}

.mainvisual .img {
  width: 100%;
}

.mainvisual .img picture {
  display: block;
  width: 100%;
}

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

.mainvisual .text {
  position: absolute;
  font-family: "Zen Old Mincho", serif;
  top: 30%;
  left: 10%;
  font-size: 40px;
  text-align: left;
  padding: 0 20px;
}

/* タイトル */
.mainvisual .text h2 {
  font-size: 80px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;

  background: linear-gradient(90deg, #0C679C, #2D9CA2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* サブ */
.mainvisual .text p {
  margin-top: 10px;
  font-size: 40px;
  font-weight: 500;
  background: linear-gradient(90deg, #0C679C, #2D9CA2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ボタン */
.mainvisual .btn {
  margin-top: 30px;
}

.mainvisual .btn a {
  display: inline-block;
  padding: 12px 40px;
  font-size: 16px;
  letter-spacing: 0.1em;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;

  background: linear-gradient(90deg, #0C679C, #2D9CA2);
  transition: all .3s ease;
}

/* hover */
.mainvisual .btn a:hover {
  opacity: 0.85;
}

#concept h3 {
  font-size: 40px;
  font-family: "Zen Old Mincho", serif;
  color: #116E9D;
  text-align: center;
  margin-top: 80px;
}

#concept p {
  font-size: 20px;
  font-family: "Zen Old Mincho", serif;
  line-height: 2;
  text-align: center;
  margin-top: 20px;
  color: #333;
}

#concept {
  max-width: 960px;
  /* 好きな幅に調整可 */
  margin: 80px auto 0;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}


.concept-img {
  margin-top: 80px;
}

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

.sp-only {
  display: none;
}

.sp-only {
  display: none;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 50px;
  text-align: left;
  margin-bottom: 40px;
  font-weight: 500;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 80px;
  background: linear-gradient(90deg, #0C679C, #2D9CA2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.type .img {
  width: 100%;
  height: auto;
  position: relative;
  left: 200px;
}

.concept-img {
  position: relative;
}

.concept-img{
  position: relative;
  overflow: visible;
}

.concept-img::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -80px;
  width: 90vw;
  height: 200px;
  background: #ACDBEE;
  z-index: -1;
}



.concept-img::after {
  content: "";
  position: absolute;
  bottom: -890px;
  /* 下に少しはみ出す */
  left: 0px;
  transform: translateX(-50%);
  width: 90vw;
  /* 好みで調整 */
  height: 200px;
  /* 長方形の高さ */
  background-color: #ACDBEE;
  z-index: -1;
  /* 画像の後ろに配置 */
}

/* type 全体の横幅と余白 */
.type {
  max-width: 1100px;
  margin: 120px auto;
  padding: 0 20px;
}

/* 見出しは上に1行で */
.type .section-title {
  margin: 0 0 60px;
}

/* ここが横並びの本体 */
.type .type-description1 {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* 左：画像エリア */
.type .type-description .img {
  position: relative;
  flex: 0 0 420px;
  /* 画像幅 */
  left: -80px;
  top: -20px;
}

.type .type-description .img .back {
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 1;
  opacity: 0.5;
}

/* 画像 */
.type .type-description .img img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

/* 右：テキストエリア */
.type .type-description .text {
  flex: 1;
}

.chatch {
  position: absolute;
  /* ← relativeじゃなくabsolute */
  left: -50px;
  bottom: 20px;
  font-family: "Corinthia", cursive;
  font-size: 60px;
  color: #fff;
  z-index: 3;
  transform: rotate(-10deg);
  pointer-events: none;
}

/* 右側テキスト全体 */
.type .text {
  max-width: 520px;
  font-family: "Zen Old Mincho", serif;
}

/* 英語の見出し（上の1行） */
.type .text .en {
  position: relative;
  padding-bottom: 12px;
  font-size: 30px;
  font-weight: 500;
  top: -30px;
}

.type .text .en::after {
  content: "";
  position: absolute;

  left: -160px;
  /* ← gapと同じ値 */
  width: calc(100% + 80px);
  /* ← gap分足す */

  bottom: 0;
  height: 1px;
  background: #9a9a9a;
  opacity: 0.6;
}

/* 説明文（description） */
.type .text .description {
  font-size: 15px;
  line-height: 2.0;
  color: #666;
  margin-top: 18px;
  letter-spacing: 0.02em;
}

.type .text .ja {
  margin-top: 30px;
  font-size: 24px;
  line-height: 1.8;
  color: #333;
}

.type .text .description {
  margin-top: 20px;
  font-size: 16px;
  line-height: 2.5;
  color: #666;
  font-size: 20px;
}

.type-description {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.type-description.reverse {
  flex-direction: row-reverse;
  margin-bottom: 100px;
}

.type .text .en::after {
  left: -80px;
  width: calc(100% + 80px);
}

.type-description.reverse .img::after {
  left: -100px;
  right: -30px;
}

.type-description {
  margin-top: 100px;
}

.type-description .img {
  position: relative;
  width: 420px;
  /* 画像幅 */
}

/* 画像 */
.type-description .img img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

.type-description .img {
  position: relative;
}

/* reverse のときは線の起点を右側にする */
.type-description.reverse .text .en::after {
  left: auto;
  right: -80px;
  /* ←80は gap と揃える。好みで調整 */
  width: calc(100% + 80px);
  /* ←同じく */
}


.type-description.reverse .chatch {
  left: auto;
  right: -50px;
}

.type-description .text .en::after {
  content: "";
  position: absolute;
  bottom: 0;

  left: -120px;
  /* ← 80 + 40 くらいにして調整 */
  width: calc(100% + 120px);

  height: 1px;
  background: #9a9a9a;
  opacity: 0.6;
}

.type-description .text .en::after {
  left: -200px;
  /* ← 大きくするとさらに左へ */
  width: calc(100% + 200px);
  /* ← 同じ値を足す */
}

/* 2つ目（reverse）の画像の下に長方形 */
/* 2つ目のブロック（reverse）を基準にする */
.type-description.reverse {
  position: relative;
}

/* 右端までの長方形（画面内に収める） */
.type-description.reverse::after {
  content: "";
  position: absolute;
  bottom: -40px;
  /* 好みで調整 */
  right: calc(50% - 50vw);
  /* ← これで右端ぴったり */
  width: 55vw;
  /* ← 画面幅ぴったり */
  height: 200px;
  background: #CBDFDD;
  z-index: -1;
}

/* 1つ目だけ（type-rect）写真の下に長方形 */
.type-description .img::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: calc(50% - 50vw);
  width: 73vw;
  height: 200px;
  background: #BBBFDC;
  z-index: -1;
}

.type-rect {
  margin-top: 30px;
}

.voice {
  margin-top: 120px;
}

.sp-br {
  display: none;
}

/* Plan */
#plan {
  margin-top: 120px;
  background-image: url(img/plan.png);
  background-size: cover;
  background-position: center;
  padding-bottom: 80px;
}

#plan .section-title {
  background: linear-gradient(90deg, #0C679C, #2D9CA2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  padding-top: 60px;
}

#plan .course-title {
  font-size: 24px;
  color: #333;
  margin-top: 20px;
  text-align: center;
  margin-top: -60px;
}


#plan .course-title .underline{
  position: relative;
  display: inline-block;
  z-index: 1;
}

#plan .course-title .underline::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;           /* ← ここで位置調整 */
  width: 100%;
  height: 0.6em;         /* ← 帯の高さ */
  background: #FAFADD;
  z-index: -1;           /* 文字の後ろに */
}

/* =============================
   Voice Section
============================= */
#voice{
  padding: 100px 0;
  background-image: url(img/voice.png);
  background-size: cover;
  background-position: center;
}

#voice .section-title{
  margin-top: -60px;
}

/* 3枚横並び */
.voice-slider{
  max-width: 900px;   /* ← 1100 → 900に */
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* カード */
.voice-slider > div{
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  padding: 30px 20px 24px;
  text-align: center;
}

/* 写真（丸は画像自体） */
.voice-slider .img{
  margin-bottom: 20px;
}

.voice-slider .img img{
  width: 120px;     /* 好みで調整 */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 名前 */
.voice-slider .name{
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  margin-bottom: 12px;
  color: #111;
}

/* 本文 */
.voice-slider .description{
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  text-align: left;
}

/* =============================
   Voice Marquee
============================= */

.voice-marquee{
  overflow: hidden;
  width: 100%;
  margin-top: 80px;
  padding: 20px 0;
  background: transparent; /* 背景入れたいならここ */
}

.marquee-track{
  display: flex;
  white-space: nowrap;
  animation: marqueeMove 20s linear infinite;
}

.marquee-track span{
  font-family: "Zen Old Mincho", serif;
  font-size: 80px;
  letter-spacing: 0.1em;
  color: #fff
}

/* =============================
   Contact Form (like screenshot)
============================= */
.contact {
  padding: 80px 0;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

/* 1行のレイアウト（左ラベル固定 + 右入力） */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 120px 1fr; /* ←左ラベル幅固定 */
  align-items: start;
  column-gap: 28px;
  margin-bottom: 18px;
}

.contact-form .form-label {
  padding-top: 6px;
}

.contact-form .form-label label,
.contact-form .form-label span {
  color: #0C679C;               /* 左ラベル青 */
  font-weight: 600;
  font-size: 18px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
}

.contact-form .req {
  color: #E35B5B;               /* * 赤 */
  margin-left: 6px;
  font-size: 16px;
  font-weight: 700;
}

/* 入力共通（青枠） */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  border: 1.5px solid #2D9CA2;  /* 青枠 */
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 16px;
  color: #333;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

/* プレースホルダー薄め */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0,0,0,.28);
}

/* フォーカス時 */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0C679C;
  box-shadow: 0 0 0 3px rgba(12,103,156,.12);
}

/* 備考（大きめ） */
.contact-form textarea {
  min-height: 220px;
  resize: vertical;
}

/* Course（ラジオ横並び + 「・」表示） */
.radio-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 6px;
  flex-wrap: wrap;
}

.radio-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0C679C;
  font-size: 18px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
}

/* ラジオは標準を使いつつ少しだけ整える */
.radio-item input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #0C679C; /* 対応ブラウザならラジオも青 */
}

/* Submit中央 */
.form-submit {
  text-align: center;
  margin-top: 36px;
}

/* SUBMITボタン（丸＋グラデ） */
.submit-btn {
  display: inline-block;
  min-width: 180px;
  padding: 12px 46px;
  border: none;
  border-radius: 999px;
  cursor: pointer;

  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #fff;

  background: linear-gradient(90deg, #0C679C, #2D9CA2);
  box-shadow: 0 12px 22px rgba(0,0,0,.12);
  transition: transform .2s ease, opacity .2s ease;
}

.submit-btn:hover {
  opacity: .92;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}


/* 右→左へ流す */
@keyframes marqueeMove{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}






/* ====== カード共通（graphic / web） ====== */
.graphic,
.web{
  display: flex;
  align-items: center;
  gap: 24px;

  background: #fff;
  border-radius: 12px;
  padding: 18px 24px;

  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  max-width: 860px;          /* 好みで調整 */
  margin: 0 auto 26px;       /* 中央寄せ＋下余白 */
}

.graphic {
  margin-top: 60px;
} 

/* 左画像エリア */
.graphic .img,
.web .img{
  flex: 0 0 190px;           /* 画像枠の固定幅（好みで） */
}

.graphic .img img,
.web .img img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* 右テキストエリア */
.graphic .text,
.web .text{
  flex: 1;
}

/* 英語タイトル（右上の見出し） */
.graphic .text .en,
.web .text .en{
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 10px;
  position: relative;
  padding-bottom: 10px;
}

/* 見出し下の線 */
.graphic .text .en::after,
.web .text .en::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,.25);
}

/* 説明文 */
.graphic .text .description,
.web .text .description{
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}



/* =============================
   Footer
============================= */
.site-footer{
  width: 100%;
  padding: 60px 0 30px;
  text-align: center;

  background: url("img/footer.png") no-repeat center center;
  background-size: cover;
}

/* 中央配置 */
.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 60px;
  margin-bottom: 60px;
}

/* ロゴ中央 */
.footer-logo{
  width: 80px;   /* サイズ調整OK */
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

/* コピーライト */
.footer-copy{
  margin: 0;
  font-size: 12px;
  color: #0C679C;
  letter-spacing: .05em;
}

.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fadein.inview {
  opacity: 1;
  transform: translateY(0);
}

/* =============================
   ✅ Voice 崩れ修正（最終上書き）
============================= */

/* grid/scrollどちらでも崩れないように */
#voice .voice-slider,
#voice .voice-slider *{
  word-break: normal;
  overflow-wrap: normal;
}

/* grid要素のはみ出し対策 */
#voice .voice-slider > div{
  box-sizing: border-box;
  min-width: 0;
}

/* 名前が1文字ずつ落ちるのを防ぐ */
#voice .voice-slider .name{
  writing-mode: horizontal-tb !important;
  white-space: normal;
  letter-spacing: 0;
  line-height: 1.2;
  display: block;
}

/* 本文は日本語なので自然に改行できるように */
#voice .voice-slider .description{
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.9;
}




/* =============================
   SP
============================= */
@media (max-width:767px) {

  /* =============================
     Header
  ============================= */
  #header .logo img {
    width: 60px;
    position: absolute;
    top: 30px;
    left: 30px;
  }

  .hamburger {
    right: 15px;
    top: 20px;
  }

  /* =============================
     Main Visual
  ============================= */
  .mainvisual {
    height: 100vh;
    overflow: hidden;
  }

  .mainvisual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .mainvisual .text {
    position: absolute !important;
    left: 20px !important;
    bottom: 30px;
    top: auto !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .mainvisual .text h2 {
    font-size: 35px !important;
    line-height: 1.15 !important;
    margin-bottom: 10px;
  }

  .mainvisual .text p {
    font-size: 20px !important;
  }

  .mainvisual .btn {
    margin-top: -10px !important;
  }

  .mainvisual .btn a {
    padding: 6px 18px !important;
    font-size: 16px !important;
    border-radius: 20px !important;
  }

  /* =============================
     Section Title
  ============================= */
  .section-title {
    font-size: 30px;
    margin: 24px 0 !important;
    line-height: 1.2;
    text-align: center;
  }

  /* =============================
     Concept
  ============================= */
  #concept h3 {
    font-size: 25px;
    margin-top: 60px;
  }

  #concept p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 30px;
  }

  .concept-img {
    height: 30vh;
    overflow: hidden;
  }

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

  /* SPではconceptの巨大帯は消す */
  .concept-img::after {
    display: none !important;
  }

  /* =============================
     Type Section
  ============================= */
  .type {
    margin: 60px auto;
  }

  .type .type-description {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
    margin: 0 auto 120px;
  }

  /* PC用 reverse帯はSPでは消す */
  .type-description.reverse::after {
    display: none !important;
  }

  /* 画像 */
  .type .type-description .img {
    width: 80%;
    margin: 0 auto;
    left: 0;
    top: 0;
    position: relative;
  }

  /* 画像下の帯（ベース：色はここで付けない） */
.type .type-description .img::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 140px;
  z-index: -1;
  background: transparent; /* ← ここが超重要（共通で色を付けない） */
}

/* 1つ目（type1） */
.type .type-description.type1 .img::after{
  background: #ACDBEE;
}

/* 2つ目（type2） */
.type .type-description.type2 .img::after{
  background: #CBDFDD;
}

/* 3つ目（type3） */
.type .type-description.type3 .img::after{
  background: #BBBFDC;
}

  /* =============================
     Text
  ============================= */
  .type .text {
    max-width: 100%;
    text-align: center;
  }

  .type .text .en {
    font-size: 28px;
    margin-top: 8px;
    top: 0;
    padding-bottom: 0;
    white-space: normal;
    text-align: center;

    background: linear-gradient(90deg, #0C679C, #2D9CA2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }

  /* SPだけ英文の下線を消す */
  .type .text .en::after {
    content: none !important;
  }

  .type .text .ja {
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.7;
  }

  .type .text .description {
    margin-top: 14px;
    font-size: 16px;
    line-height: 2.0;
    color: #666;
    text-align: center;
  }

  /* SP改行用 */
  .sp-br {
    display: inline;
  }

  

  /* 1つ目 */
  .type1 .img::after{
    background: #ACDBEE;
  }

  /* 2つ目 */
  .type2 .img::after{
    background: #ACDBEE;
  }

  /* 3つ目 */
  .type3 .img::after{
    background: #BBBFDC;
  }

  .voice {
   margin-top: -10px;
  } 

  /* footer */
.site-footer{
  width: 100%;
  padding: 28px 0 18px;
  text-align: center;

  background:
    radial-gradient(circle at 20% 50%, rgba(190,235,255,.65), transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(255,210,230,.60), transparent 55%),
    linear-gradient(90deg, rgba(190,235,255,.35), rgba(255,210,230,.35));
}

/* 中央寄せ */
.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ロゴ */
.footer-logo{
  margin-bottom: 10px;
}

.footer-logo img{
  width: 60px;       /* ← サイズ調整OK */
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

/* コピーライト */
.footer-copy{
  margin: 0;
  font-size: 11px;
  color: #0C679C;
  letter-spacing: .02em;
}

/* SP */
  .footer-logo img{
    width: 52px;
  }
}

/* =============================
   ✅ Voice 最終FIX（PC=grid / SP=slick）
   ※ style.css 最下部
============================= */


/* PC：3枚grid */
@media (min-width: 768px){
  #voice .voice-slider{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 56px;
    box-sizing: border-box;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
  }

  /* slickが残ってても見た目を戻す保険 */
  #voice .slick-list,
  #voice .slick-track{
    width: 100% !important;
  }

  /* 1人=1枚カード */
  #voice .voice-item{
    background:#fff;
    border:1px solid rgba(0,0,0,.12);
    box-shadow:0 10px 22px rgba(0,0,0,.12);
    padding:34px 26px 28px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    min-width:0;
  }
}

/* SP：Slickスライダー */
@media (max-width: 767px){
  #voice .voice-slider{
    display: block !important;     /* slickに任せる */
    padding: 0 10px;
  }

  /* slickの左右余白 */
  #voice .slick-list{
    padding: 0 18px !important;
  }

  /* 1枚の幅（これで“横幅が少し欲しい”が叶う） */
  #voice .slick-slide{
    margin: 0 10px;
  }
  #voice .slick-slide > div{
    height: 100%;
  }

  /* 1人=1枚カード */
  #voice .voice-item{
    background:#fff;
    border:1px solid rgba(0,0,0,.12);
    box-shadow:0 10px 22px rgba(0,0,0,.12);
    padding:26px 18px 22px;
    border-radius: 14px;
    box-sizing:border-box;
  }

  /* dots位置調整 */
  #voice .slick-dots{
    bottom: -34px;
  }
}

/* Slickのラッパーだけは透明（カードは .voice-item で作る） */
#voice .slick-list,
#voice .slick-track,
#voice .slick-slide{
  background: transparent !important;
  box-shadow: none !important;
}

#voice .slick-slide > div{
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* カード本体は白 */
#voice .voice-item{
  background: #fff !important;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
  padding: 40px 30px 36px;
  box-sizing: border-box;
}

/* =============================
   ✅ SPだけ Voice を横スクロール（PCはそのまま）
   ※ style.css 最下部に貼る
============================= */
@media (max-width: 767px){

  #voice .voice-slider{
    display: flex !important;
    gap: 16px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;
    padding: 0 16px 12px !important;
    margin: 0 !important;
  }

  /* 1人＝1枚のカード幅（好みで調整） */
  #voice .voice-item{
    flex: 0 0 86vw !important;   /* ← 80〜90vwで好み */
    scroll-snap-align: start;

    background: #fff !important;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
    padding: 26px 18px 22px !important;
    box-sizing: border-box;
  }

  /* スクロールバー（任意） */
  #voice .voice-slider::-webkit-scrollbar{
    height: 6px;
  }
  #voice .voice-slider::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,.15);
    border-radius: 999px;
  }
}

/* =============================
   ✅ SPだけ course-title の重なり修正
============================= */
@media (max-width: 767px){

  /* 行間をもう少し確保（重なり防止） */
  #plan .course-title{
    line-height: 2.2 !important;
  }

  /* 帯が文字に被らないように“下げる＆薄くする” */
  #plan .course-title .underline{
    display: inline-block;
    position: relative;
    padding-bottom: .35em;   /* ← 帯分の逃げ */
  }

  #plan .course-title .underline::after{
    bottom: 0 !important;    /* ← 帯を一番下へ */
    height: .45em !important;/* ← 帯を少し薄く */
  }
}

/* =============================
   ✅ SPだけ course-title を下にずらす
============================= */
@media (max-width: 767px){

  #plan .course-title{
    margin-top: 20px !important;   /* ← 数字を増やすとさらに下がる */
  }

}

/* =============================
   ✅ SP：course-title デザイン調整
============================= */
@media (max-width: 767px){

  /* 全体サイズ少し小さく */
  #plan .course-title{
    font-size: 15px !important;   /* ← 小さく */
    line-height: 1.8 !important;
    text-align: center;
  }

  /* 下線を“重ねる黄色帯”に */
  #plan .course-title .underline{
    position: relative;
    display: inline-block;
    z-index: 1;
  }

  #plan .course-title .underline::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: .15em;                 /* ← 文字に少し重ねる */
    width: 100%;
    height: .55em;                 /* ← 帯の厚み */
    background: #FAF3A6;           /* ← 柔らかい黄色 */
    z-index: -1;
  }

}

@media (max-width: 767px){

  #plan .course-title{
    font-size: 15px !important;
    line-height: 1.9 !important;
    text-align: center;
  }

  #plan .course-title .underline{
    display: inline;
    background: linear-gradient(
      to top,
      #FAFADD 0%,
      #FAFADD 55%,   /* ← ここが“重なり量” */
      transparent 55%
    );
    padding: 0 .1em;
  }

}

/* =============================
   ✅ SP：Graphic / Web カード化
============================= */
@media (max-width: 767px){

  #plan .graphic,
  #plan .web{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;

    width: calc(100% - 32px);
    max-width: 360px;
    margin: 20px auto;

    padding: 24px 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    box-sizing: border-box;
  }

  /* 画像 */
  #plan .graphic .img,
  #plan .web .img{
    width: 100%;
    margin-bottom: 18px;
  }

  #plan .graphic .img img,
  #plan .web .img img{
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
  }

  /* 英語タイトル */
  #plan .graphic .text .en,
  #plan .web .text .en{
    font-size: 22px;
    margin-bottom: 12px;
  }

  /* 説明文 */
  #plan .graphic .text .description,
  #plan .web .text .description{
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
  }

}

@media (max-width: 767px){

  #voice .section-title{
    margin-top: -60px !important;  /* ← 数字を増やすとさらに上へ */
  }

}

/* =============================
   ✅ SPだけ Voice マーキーテキストを小さく
============================= */
@media (max-width: 767px){

  #voice .marquee-track span{
    font-size: 28px !important;   /* ← 好みで調整 */
  }

}

.radio-group .wpcf7-form-control.wpcf7-radio{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}
.radio-group .wpcf7-list-item{ margin:0; }
.radio-group .wpcf7-list-item label{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.radio-group input[type="radio"]{
  accent-color:#116E9C;
  margin:0;
}

/* ===== CF7 Course radio（位置ズレ＋色） ===== */
.form-row.is-radio { 
  align-items: center;
}

.form-row.is-radio .radio-group{
  min-height: 48px;              /* inputの高さに合わせる */
  display: flex;
  align-items: center;
}

/* CF7のradio本体（外側span） */
.form-row.is-radio .radio-group .wpcf7-form-control.wpcf7-radio {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* class:radio-item を付けた場合も確実に当てる */
.form-row.is-radio .radio-group .wpcf7-form-control.wpcf7-radio.radio-item {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.form-row.is-radio .radio-group .wpcf7-list-item {
  margin: 0;
}

.form-row.is-radio .radio-group .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-row.is-radio .radio-group input[type="radio"]{
  accent-color: #116E9C;
  margin: 0;
}

/* ラジオボタンの色変更 */
.radio-group input[type="radio"] {
  accent-color: #116E9C;
  width: 18px;
  height: 18px;
}

html, body {
  overflow-x: hidden;
}

/* ===== Contact Form SP（レスポンシブ） ===== */
@media (max-width: 767px) {

  .contact-form {
    width: 100%;
  }

  /* 2カラム → 縦積み */
  .contact-form .form-row {
    display: block;        /* flexなら解除 */
    margin-bottom: 18px;
  }

  .contact-form .form-label {
    width: 100%;
    margin-bottom: 8px;
  }

  .contact-form .form-field {
    width: 100%;
  }

  /* 入力欄を100%に */
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea,
  .contact-form select {
    width: 100%;
    box-sizing: border-box;
  }

  /* Course（radio）も縦ズレ防止 */
  .contact-form .form-row.is-radio .radio-group {
    min-height: auto;
    display: block;
  }

  .contact-form .radio-group .wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: column; /* SPは縦並び */
    gap: 10px;
  }

  /* 送信ボタン */
  .contact-form .form-submit {
    text-align: center;
    margin-top: 24px;
  }

  .contact-form .submit-btn,
  .contact-form input[type="submit"] {
    width: 100%;
    max-width: 360px;
    padding: 14px 16px;
    box-sizing: border-box;
  }
}

/* PCだけ：type2（おすすめ）の帯を消す */
@media (min-width: 768px){
  .type-description.type2 .img::after{
    content: none !important;
    display: none !important;
  }
}

