/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP','Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic','Meiryo',sans-serif;
  line-height: 1.8;
  color: #242424;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: .02em;
}

.sp-only {
    display: none;
  }

  .pc-only {
    display: block;
  }

  .nav-menu.pc-only {
  display: flex; /* または既存のnav-menuの表示方法 */
}

.nav-menu.sp-only {
  display: none !important;
}

a {
  color: #242424;
  text-decoration: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 80px;
}

.ttl-container h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  text-align: center;
  line-height: 1.2;
}

.visually-hidden {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  clip: auto;
  overflow: visible;
  white-space: normal;
}

.header {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  position: fixed;
  inset: 0 0 auto 0;
  height: 100px;
  z-index: 1000;
  box-shadow: none !important;
}

.header .nav {
  height: 100%;
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box; /* 追加 */
}

.logo h1 img {
  height: 80px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 50px;
  transition: transform .4s ease, box-shadow .3s ease, border-color .3s ease;
}

.nav-menu li:nth-child(1) {
  box-shadow: 0 4px 4px 0 #00A29A;
}

.nav-menu li:nth-child(2) {
  box-shadow: 0 4px 0 0 #BE2E62;
}

.nav-menu li:nth-child(3) {
  box-shadow: 0 4px 0 0 #0D843E;
}

.nav-menu li:hover {
  transform: translateY(5px);
  box-shadow: unset;
}

.nav-menu li:nth-child(1):hover {
  border: #00A29A 1px solid;
}

.nav-menu li:nth-child(2):hover {
  border: #BE2E62 1px solid;
}

.nav-menu li:nth-child(3):hover {
  border: #0D843E 1px solid;
}

.nav-menu li a {
  display: inline-block;
  height: 100%;
}

.nav-menu li img {
  height: 50px;
}

/* ===== MV ===== */
.sec-mv {
  position: relative;
  width: 100%;
  margin-top: 100px;
  z-index: auto;
}

.sec-mv .container {
  max-width: 1440px;
  padding-top: 0;
}

.sec-mv .sp-mv img,
.sec-mv .pc-mv img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;      /* 画像自体を角丸 */
}

.sec-mv::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 40%;
  height: 40%;
  background: url(./img/mv_bg_y.png) center/contain no-repeat;
  z-index: -1;
}

/* ===== Chance ===== */
.sec-chance .ttl-container {
  text-align: center;
}

.sec-chance .ttl-container h2 {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
}

.sec-chance .ttl-container h2::before {
  content: "";
  width: 100px;
  height: 100px;
  background: url(./img/rsn-ttl.png) center/contain no-repeat;
  flex: 0 0 auto;
  transform: translateY(20px);
}

.sec-chance .ttl-container h2 span {
  color: #00A29A;
  font-size: clamp(40px, 5vw, 60px);
}

.chance-wrapper {
  margin-top: 40px;
}

.chance-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}

.chance-box::after {
  content: "";
  position: absolute;
  top: 5%;
  right: -24%;
  width: 40%;
  height: 40%;
  background: url(./img/rsn-bg-y.png) center/contain no-repeat;
  z-index: -1;
}

.chance-block {
  flex: 1 1 0;
  min-width: 0;
  min-height: 700px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
  padding: 20px 50px;
  height: 100%;
}

.chance-block1 {
  background-image: url(./img/rsn-block-bg01.png);
}

.chance-block2 {
  background-image: url(./img/rsn-block-bg02.png);
}

.chance-block-ttl {
  margin: 70px 0 10px;
  text-align: center;
}

.chance-block-ttl p {
  font-weight: 700;
  font-size: 24px;
}

.chance-block-ttl h3 {
  position: relative;
  display: inline-block;
  font-size: 32px;
  z-index: 0;
}

.chance-block-ttl h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 10px;
  background: #FFEA00;
  z-index: -1;
}

.chance-block-ttl h3 span {
  color: #E73B79;
}

.chance-block img {
  margin: 30px auto;
  width: 100%;
}

.chance-block p {
  text-align: center;
}

.chance-block-ttl p .txt-dot > span {
  position: relative;
  display: inline-block;
  padding-top: .4em;
  line-height: 1;
}

.chance-block-ttl p .txt-dot > span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: .3em;
  height: .3em;
  background: #00A29A;
  border-radius: 50%;
  transform: translate(-50%, -70%);
  pointer-events: none;
}

/* ===== Contact (lead) ===== */
.sec-contact {
  position: relative;
  background: #FFF67C;
  border-radius: 40px;
}

.sec-contact::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 5%;
  width: 380px;
  aspect-ratio: 3/4;
  background: url(./img/contact-woman.png) right bottom/contain no-repeat;
  z-index: 0;
  pointer-events: none;
}

.sec-contact .ttl-container {
  position: relative;
  z-index: 0;
  margin: 60px 0 100px;
}

.sec-contact .ttl-container::after {
  content: "";
  position: absolute;
  background-image: url(./img/contact-bg-ttl.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: min(80vw, 660px);
  aspect-ratio: 3 / 1;  
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  white-space: nowrap;
}

.contact-wrapper {
  position: relative;
  background: #fff;
  border-radius: 20px;
  margin-top: 60px;
}

.contact-wrapper::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 70%;
  height: 100px;
  background: url(./img/contact-fukidashi.png) center/contain no-repeat;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.contact-wrapper > p {
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
}

.contact-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0 60px;
  margin: 0 auto;
  width: 80%;
  border-bottom: 5px solid #E5E5E5;
}

.contact-btn-wrapper a {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.contact-btn-wrapper a img {
  width: 80%;
  object-fit: contain;
}

.contact-tel-wrapper {
  padding: 0px 40px 40px;
  width: 100%;
}

.contact-tel-wrapper > p {
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  margin: 30px 0 10px;
}

.contact-tel-wrapper .contact-tel a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.contact-tel-wrapper .contact-tel a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 60px;
  height: 60px;
  margin-left: 20px;
  background: url(./img/icon-tel.png) center/contain no-repeat;
  transform: translateY(-51%);
}

.contact-tel-wrapper img {
  width: 70%;
  margin: 0 auto;
}

.contact-tel-wrapper small {
  display: block;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

/* ===== Plan (slider) ===== */
.sec-plan {
  padding: 40px 0;
  background: url(./img/plan-bg.png) center/cover no-repeat;
  width: 100%;
  height: 100%;
}

.sec-plan .ttl-container {
  gap: 2rem;
  justify-content: center;
  margin-bottom: 16px;
  text-align: center;
}

.sec-plan .ttl-container img {
  width: 240px;
  margin: 0 auto;
}

.sec-plan .ttl-container h2 {
  margin: 20px 0 40px;
  font-size: clamp(24px, 3vw, 36px);
}

.plan-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 12px;
}

.plan-nav {
  width: 44px;
  height: 44px;
  border: 1px solid #252525;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  cursor: pointer;
}

.plan-nav:disabled {
  opacity: .4;
  cursor: default;
}

.plan-nav::before {
  content: "";
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  top: 1px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
}

.plan-prev::before {
  transform: rotate(-135deg);
}

.plan-viewport {
  overflow: hidden;
  padding: 0;
}

.plan-viewport,
.instr-viewport {
  overflow-x: hidden;
  overflow-y: visible;
  padding-bottom: 12px;
}

.plan-track {
  --track-gap: 4rem;
  display: flex;
  gap: var(--track-gap);
  will-change: transform;
  transition: transform .35s ease;
}

.plan-card {
  flex: 0 0 calc((100% - var(--track-gap)) / 2);
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #A7A7A7;
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .08);
  padding: 10px 20px;
}

.plan-card .row {
  margin-bottom: 12px;
}

.plan-card .row:last-child {
  margin-bottom: 0;
}

.plan-card .row-1 {
  display: flex;
  align-items: center;
  margin: 20px 0;
  padding: 0 20px;
  border-bottom: 3px solid #E5E5E5;
}

.plan-card .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #00A29A;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 999px;
  margin-right: 14px;
  line-height: 1;
}

.plan-card .badge::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #00A29A;
}

.plan-card .badge span {
  font-size: 24px;
  color: #FFF67C;
}

.plan-card .label {
  font-weight: 700;
  color: #252525;
  border: 1px solid #252525;
  padding: 5px;
  margin-left: auto;
  border-radius: 5px;
}

.plan-card .date {
  margin-left: 10px;
  font-weight: 700;
  font-size: 30px;
  color: #00A29A;
}

.plan-card .row-2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-card .type {
  font-weight: 700;
  font-size: 18px;
  padding: 5px 10px;
  background: #FFF67C;
  border-radius: 10px;
}

.plan-card .price {
  margin-left: auto;
  font-weight: 700;
  font-size: 20px;
  color: #252525;
}

.plan-card .price span {
  font-size: 60px;
  color: #e73b79;
  margin-right: 10px;
}

.plan-card .row-3 p {
  margin: 0;
  color: #444;
  line-height: 1.7;
  font-size: 14px;
}

.plan-card .row-4 {
  margin-top: 12px;
}

.plan-btn {
  position: relative;
  display: block;
  width: 70%;
  text-align: center;
  border: 1px solid #252525;
  border-radius: 30px;
  padding: 12px 36px 12px 16px;
  margin: 30px auto;
  font-weight: 700;
  color: #252525;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.plan-btn::after {
  content: "";
  position: absolute;
  background-image: url(./img/arrow-b.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 20px;
  height: 30px;
  bottom: -5%;
  right: 10px;
  transform: translate(-50%, -50%);
}

.plan-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 14px rgba(44, 90, 160, .25);
  background: #252525;
  color: #fff;
}

/* ===== Number ===== */
.sec-number {
  background: #C4E5E4;
  margin-top: -30px;
}

.sec-number .ttl-container {
  position: relative;
  gap: 2rem;
  justify-content: center;
  margin: 100px 0 16px;
  text-align: center;
}

.sec-number .ttl-container::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0%;
  width: 240px;
  aspect-ratio: 3/4;
  background: url(./img/reason-bg-obj.png) right bottom/contain no-repeat;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.sec-number .ttl-container img {
  width: 200px;
  margin: 0 auto;
}

.sec-number .ttl-container h2 {
  margin: 20px 0 40px;
  font-size: clamp(24px, 3vw, 36px);
}

.sec-number .ttl-container h2 span {
  color: #006AB7;
}

.sec-number .num-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 390px;
  gap: 20px;
}

.sec-number .num-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  background: #fff;
}

/* レイアウト配置 */
.sec-number .num-item:nth-child(1) {
  grid-column: 1 / span 6;
}

.sec-number .num-item:nth-child(2) {
  grid-column: 7 / span 6;
}

.sec-number .num-item:nth-child(3) {
  grid-column: 1 / -1;
}

.sec-number .num-item:nth-child(4) {
  grid-column: 1 / span 4;
}

.sec-number .num-item:nth-child(5) {
  grid-column: 5 / span 4;
}

.sec-number .num-item:nth-child(6) {
  grid-column: 9 / span 4;
}

.sec-number .num-item:nth-child(7) {
  grid-column: 1 / span 4;
}

.sec-number .num-item:nth-child(8) {
  grid-column: 5 / span 4;
}

.sec-number .num-item:nth-child(9) {
  grid-column: 9 / span 4;
}

.sec-number .num-item:nth-child(10) {
  grid-column: 1 / span 4;
}

.sec-number .num-item:nth-child(11) {
  grid-column: 5 / span 8;
}

.sec-number .num-item:nth-child(12) {
  grid-column: 1 / span 8;
}

.sec-number .num-item:nth-child(13) {
  grid-column: 9 / span 4;
}

.sec-number .num-item:nth-child(14) {
  grid-column: 1 / span 4;
}

.sec-number .num-item:nth-child(15) {
  grid-column: 5 / span 8;
}

@media (max-width: 768px) {
  .sec-number .num-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .sec-number .num-item {
    grid-column: 1 / -1;
  }
}

/* ===== Reason ===== */
.sec-reason .ttl-container img {
  width: 280px;
  margin: 0 auto;
}

.sec-reason .ttl-container h2 {
  margin: 20px 0 40px;
  font-size: clamp(24px, 3vw, 36px);
}

.sec-reason .ttl-container h2 span:nth-of-type(1) {
  color: #006AB7;
  font-size: clamp(28px, 3.2vw, 40px);
}

.ttl-container h2 span:nth-of-type(2) {
  color: #00A29A;
  font-size: clamp(28px, 3.2vw, 40px);
}

.sec-reason .ttl-container p {
  text-align: center;
  line-height: 2;
}

.reason-wrapper {
  margin-top: 60px;
}

.reason-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  margin-top: 100px;
}

.reason-content-wrap:nth-child(even) {
  flex-direction: row-reverse;
}

.content-left {
  width: 55%;
}

.content-left img {
  width: 70px;
}

.content-left h3 {
  margin: 30px 0;
  font-size: 28px;
  line-height: 2;
}

.content-left h3 span {
  background: #E73B79;
  color: #fff;
  font-size: 36px;
  padding: 5px;
  border-radius: 10px;
}

.reason-wrapper .reason-content-wrap:nth-of-type(1) .content-left h3 span {
  margin-left: 5px;

}

.content-left h3 .bg-y {
  background: #EECF00;
}

.content-left h3 .bg-g {
  background: #00A29A;
}

.content-left h3 .bg-b {
  background: #4FA5FC;
}

.content-left p {
  line-height: 2;
}

.content-right {
  position: relative;
  width: 45%;
}

.reason-content-wrap:nth-child(1) .content-right::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: url(./img/reason-bg-p.png) center/contain no-repeat;
  z-index: -1;
}

.reason-content-wrap:nth-child(2) .content-right::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -30%;
  width: 60%;
  height: 60%;
  background: url(./img/reason-bg-y.png) center/contain no-repeat;
  z-index: -1;
}

.reason-content-wrap:nth-child(3) .content-right::before {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: url(./img/reason-bg-g.png) center/contain no-repeat;
  z-index: -1;
}

.reason-content-wrap:nth-child(4) .content-right::before {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -30%;
  width: 60%;
  height: 60%;
  background: url(./img/reason-bg-b.png) center/contain no-repeat;
  z-index: -1;
}

.content-right img {
  width: 100%;
}

/* セクションバリエーション */
.sec-plan02 {
  position: relative;
  background: #C4E5E4;
  background-image: none;
}

.sec-plan02 .container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  aspect-ratio: 3/4;
  background: url(./img/plan-woman.png) right bottom/contain no-repeat;
  z-index: 0;
}

.sec-contact02 {
  margin-top: -30px;
}

/* ===== Voice ===== */
.sec-voice {
  background: url(./img/plan-bg.png) center/contain repeat;
}

.sec-voice .ttl-container {
  margin-top: 100px;
}

.sec-voice .ttl-container img {
  width: 320px;
  margin: 0 auto 20px;
}

.voice-wrapper {
  margin-top: 60px;
}

.voice-content-wrap {
  margin-top: 80px;
}

.voice-ppl-info {
  display: flex;
  align-items: center;
  margin-top: -10px;
}

.voice-ppl-info img {
  width: 160px;
}

.voice-ppl-info p {
  margin-left: 20px;
  font-size: 24px;
  font-weight: 700;
}

/* ===== Message ===== */
.sec-message .ttl-container {
  margin-top: 100px;
}

.sec-message .ttl-container img {
  width: 120px;
  margin: 0 auto 20px;
}

.messege-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  gap: 4rem;
}

.messege-content-wrap .content-left {
  width: 55%;
}

.messege-content-wrap .content-left h3 {
  margin-top: 0;
}

.messege-content-wrap .content-left h3 span {
  color: #4FA5FC;
  background: unset;
}

.messege-content-wrap .content-left img {
  width: 30%;
  margin-top: 20px;
}

.messege-content-wrap .content-right {
  position: relative;
  width: 40%;
}

.messege-content-wrap .content-right::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -40%;
  width: 100%;
  height: 100%;
  background: url(./img/message-bg-y.png) center/contain no-repeat;
  z-index: -1;
}

/* ===== Instructor (slider) ===== */
.sec-instructor {
  position: relative;
  background: #C4E5E4;
  border-radius: 100px 100px 0 0;
  padding-bottom: 140px;
  z-index: 0;
}

.sec-instructor .ttl-container {
  margin-top: 60px;
}

.sec-instructor .ttl-container img {
  width: 280px;
  margin: 0 auto 20px;
}

.instructor-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 12px;
  margin-top: 60px;
}

.instr-nav {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  cursor: pointer;
}

.instr-nav:disabled {
  opacity: .4;
  cursor: default;
}

.instr-nav::before {
  content: "";
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  top: 1px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
}

.instr-prev::before {
  transform: rotate(-135deg);
}

.instr-viewport {
  overflow: hidden;
  position: relative;
  padding: 0;
}

.instr-track {
  --track-gap: 2rem;
  display: flex;
  gap: var(--track-gap);
  will-change: transform;
  transition: transform .35s ease;
}

.instr-card {
  flex: 0 0 calc((100% - (var(--track-gap) * 2)) / 3);
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  padding: 16px;
}

.instr-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 0 12px 0;
}

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

.instr-name-kanji {
  font-weight: 700;
  font-size: 24px;
}

.instr-name-kana {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.instr-license {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.instr-license .license-item {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  color: #00A29A;
  border: 1px solid #00A29A;
  border-radius: 6px;
  line-height: 1.4;
}

.instr-text {
  background: #ECECE3;
  padding: 20px;
  border-radius: 6px;
  margin: 20px 0;
  line-height: 1.7;
  font-size: 14px;
}

@media (max-width: 768px) {
  .instr-track {
    --track-gap: 1rem;
  }

  .instr-card {
    flex: 0 0 calc((100% - var(--track-gap)) / 2);
  }
}

@media (max-width: 560px) {
  .instr-card {
    flex: 0 0 100%;
  }
}

/* ===== FAQ ===== */
.sec-faq {
  position: relative;
  background: #00A29A;
  border-radius: 100px 100px 0 0;
  margin-top: -100px;
}

.sec-faq::after {
  content: "";
  position: absolute;
  background-image: url(./img/faq-bg-bike.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 200px;
  min-height: 200px;
  bottom: 0px;
  right: 0%;
}

.sec-faq .ttl-container {
  position: relative;
  margin: 60px 0 60px;
}

.sec-faq .ttl-container::before {
  content: "";
  position: absolute;
  background-image: url(./img/faq-bg-g.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 240px;
  height: 240px;
  aspect-ratio: 3 / 1;  
  top: -40px;
  left: 0%;
  transform: translate(-50%, -50%);
}

.sec-faq .ttl-container img {
  width: 60px;
  margin: 0 auto 20px;
}

.sec-faq .ttl-container h2 {
  color: #fff;
}

.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  margin: 12px 0;
  overflow: hidden;
}

.faq-a {
  background: #ECECE3;
  height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  transition: height .35s ease, opacity .25s ease;
  will-change: height;
}

.faq-item.is-open .faq-a {
  padding: 10px 20px 20px;
}

.faq-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  text-align: left;
  padding: 30px 64px 30px 80px;
  font-size: 16px;
  font-weight: 700;
  color: #242424;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-toggle::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: url("./img/faq-q.png") center/contain no-repeat;
}

.faq-toggle::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00A29A;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
}

.faq-item.is-open .faq-toggle::after {
  content: "−";
}

.faq-a p {
  margin: 0;
  padding: 10px 0 20px 60px;
  line-height: 1.8;
  color: #444;
  position: relative;
}

.faq-a p::before {
  content: "";
  position: absolute;
  left: 12px;
  top: .3em;
  width: 36px;
  height: 36px;
  background: url("./img/faq-a.png") center/contain no-repeat;
}

.faq-toggle:focus-visible {
  outline: 2px solid #006ab7;
}

/* ===== Access ===== */
.sec-access .ttl-container {
  margin-top: 80px;
}

.sec-access .ttl-container img {
  width: 60px;
  margin: 0 0 20px 0;
}

.sec-access .ttl-container h2 {
  text-align: left;
}

.sec-access .access-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.sec-access .access-table {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  table-layout: fixed;
}

.sec-access .access-image {
  margin: 0;
  flex: 1 1 0;
}

.sec-access .access-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.sec-access .access-table th {
  width: 8em;
  text-align: left;
  padding: 20px 12px;
  color: #222;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
  vertical-align: middle;
}

.sec-access .access-table th::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 5px;
  background: #E73B79;
  border-radius: 5px;
}

.sec-access .access-table td {
  padding: 20px 12px;
  color: #242424;
  line-height: 1.7;
  border-bottom: 1px solid #E0E0E0;
  word-break: break-word;
}

.sec-access .access-table .tel-link {
  text-decoration: none;
}

.sec-access .ttl-container {
  margin-bottom: 20px;
}

.sec-access iframe {
  width: 100%;
  margin-top: 60px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .sec-access .access-wrap {
    flex-direction: column;
  }

  .sec-access .access-table {
    max-width: none;
  }

  .sec-access .access-table th {
    width: 7.5em;
  }
}

/* ===== Form ===== */
.sec-form {
  position: relative;
  background: #FFF67C;
  border-radius: 100px 100px 0 0;
  padding-top: 40px;
  z-index: 0;
}

.sec-form .ttl-container img {
  width: 300px;
  margin: 0 auto 40px;
}

.sec-form .ttl-container h2 {
  position: relative;
  z-index: 0;
  margin-top: 70px;
}

.sec-form .ttl-container h2::before {
  content: "";
  position: absolute;
  background-image: url(./img/contact-bg-ttl.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: min(80vw, 660px);
  aspect-ratio: 3 / 1;  
  top: -15%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  white-space: nowrap;
}

.contact-info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  margin-top: 40px;
}

.contact-info-wrapper .contact-line-wrap,
.contact-info-wrapper .contact-tel-wrap {
  flex: 1 1 0;
  min-height: 380px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.contact-info-wrapper .contact-line-wrap {
  background-image: url(./img/line-bg.png);
}

.contact-info-wrapper .contact-tel-wrap {
  background-image: url(./img/tel-bg.png);
}

.contact-info-wrapper .contact-line-wrap p,
.contact-info-wrapper .contact-tel-wrap p {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-top: 140px;
}

.contact-info-wrapper .contact-line-wrap a img,
.contact-info-wrapper .contact-tel-wrap a img {
  width: 70%;
  margin: 20px auto;
}

.contact-info-wrapper .contact-tel-wrap small {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.contact-form-wrapper {
  padding: 60px 60px 40px;
  background: url(./img/form-bg.png) top/cover no-repeat;
}

.contact-form-wrapper h3 {
  text-align: center;
  font-weight: 700;
  font-size: 28px;
  margin-top: 40px;
}

.contact-form-wrapper p {
  margin: 20px 0;
  text-align: center;
}

/* 入力レイアウト */
#contactForm {
  display: grid;
  gap: 16px;
  margin-top: 60px;
}

#contactForm {
  row-gap: 12px;
  column-gap: 8px;
}

.field-row {
  padding-top: 8px;
  padding-bottom: 8px;
}

@media (max-width: 768px) {
  #contactForm {
    row-gap: 20px;
    column-gap: 12px;
  }

  .field-row {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}


.field-row {
  display: grid;
  grid-template-columns: 30% 65%;
  gap: 20px;
  align-items: start;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  color: #222;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  color: #fff;
  line-height: 1.6;
}

.badge-required {
  background: #E73B79;
}

.badge-optional {
  background: #00A29A;
}

.field-input input:not([type="radio"]):not([type="checkbox"]),
.field-input select,
.field-input textarea {
  width: 100%;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #CFCFCF;
  border-radius: 8px;
  background: #fff;
  color: #222;
  display: block;
}

.field-input input:focus,
.field-input select:focus,
.field-input textarea:focus {
  outline: none;
  border-color: #006AB7;
  box-shadow: 0 0 0 3px rgba(0, 106, 183, .12);
}

.field-input.center.no-wrap {
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
}

.radio input {
  accent-color: #00A29A;
}

#topic.field-input.center.no-wrap {
  margin: 0;
  justify-content: flex-start;
  text-align: left;
}

#topic .radio {
  margin-right: 16px;
}

@media (max-width: 768px) {
  #topic.field-input.center.no-wrap {
    gap: 8px;
    flex-wrap: wrap;
  }
}

.addr-vertical {
  display: grid;
  gap: 12px;
  justify-items: start;
  width: 100%;
}

.addr-vertical input,
.addr-vertical select,
.addr-vertical textarea {
  width: 100%;
}

.zip-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  width: 50%;
}

.zip-mark {
  font-weight: 700;
}

.zip-example {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}

.addr1-wrap {
  display: grid;
  gap: 4px;
  width: 100%;
}

.addr-note {
  color: #666;
  font-size: 13px;
}

.note {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 6px;
  color: #666;
  font-size: 13px;
}

.consent-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  text-align: center;
}

.consent-row .check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-submit {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 320px;
  text-align: center;
  padding: 14px 18px;
  border-radius: 30px;
  border: 1px solid #252525;
  background: #fff;
  color: #252525;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn-submit::after {
  content: "";
  position: absolute;
  background-image: url(./img/arrow-b.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 20px;
  height: 30px;
  bottom: -10%;
  right: 10px;
  transform: translate(-50%, -50%);
}

.btn-submit:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 14px rgba(44, 90, 160, .25);
  background: #252525;
  color: #fff;
}

/* フォーム：スマホ縦積み */
@media (max-width: 768px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .field-input.center.no-wrap {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .note {
    text-align: left;
  }
}

/* プライバシーポリシー Styles */
.privacy-policy {
  margin-top: 40px;
  border-radius: unset !important;
  overflow: hidden;
}

/* h3をボタン風に装飾 */
.privacy-toggle {
  position: relative;
  margin: 0;
  padding: 16px 48px 16px 20px;
  background: #00A29A;
  color: #fff;
  font-size: 20px !important;
  font-weight: 700;
  text-align: left !important;
  cursor: pointer;
}

/* ＋記号（閉じている時） */
.privacy-toggle::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #00A29A;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
}

/* 開いた時は「−」に */
.privacy-policy.is-open .privacy-toggle::after {
  content: "−";
}

/* 本文部分 */
.privacy-content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.35s ease, opacity 0.25s ease;
  padding: 0 20px;
}

.privacy-policy.is-open .privacy-content {
  height: auto;
  opacity: 1;
  padding: 20px;
}

.privacy-content h4 {
  font-size: 20px;
}

.privacy-content p {
  text-align: left;
  font-size: 14px;
  margin-top: 0px;
}

.privacy-lead {
  text-align: left;
}

.privacy-sign p {
  text-align: right;
}

.privacy-contact {
  padding: 20px;
  border-radius: 20px;
  background: #e1e1e1;
}

/* ===== Footer ===== */
.footer-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 16px;
  gap: clamp(2rem, 8vw, 10rem);
}

.footer-logo img {
  height: 200px;
}

.footer-info p {
  margin: 5px 0;
}

.footer-info .school-name {
  font-size: 20px;
  font-weight: 700;
}

.ft-sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ft-sns img {
  width: 30px;
  height: 30px;
}

.footer-banner {
  display: flex;
  flex-direction: column;
}

.footer-banner img {
  width: 300px;
}

