/* 基本設定 */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fff;
}

h1,h2,h3 {
  font-family: 'Noto Serif JP', serif;
}

.container {
  width: 90%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bold {
  font-weight: bold;
}

.red {
  color: #ff3131;
}

.d_red {
  color: #840303
}

.brown {
  color: #a05e4b;
}

.blue {
  color: #004aad;
}

.d_blue {
  color: #03306c;
}

.white{
  color:#fff;
}

.center {
  text-align: center;
  padding: 0 1rem;
}

.mt2 {
  margin-top: 2rem;
}

.mt3 {
  margin-top: 3rem;
}

.mb2 {
  margin-bottom: 2rem;
}

.mb3 {
  margin-bottom: 3rem;
}

.pb1 {
  padding-bottom: 1rem;
}

.lh {
  line-height: 1.2;
}

.marker {
  background: linear-gradient(transparent 0%, #70fffdbf 0%);
}

.decorated-heading {
  position: relative;
  text-align: center;
  font-size: 2.2rem;
  margin: 2em 0;
}

.decorated-heading::before,
.decorated-heading::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
}

.decorated-heading::before {
  content: '＼';
  left: 0.5em;
}

.decorated-heading::after {
  content: '／';
  right: 0.5em;
}

.annotation {
  color: #828282;
  font-size: 0.7rem;
  margin: 1rem 0;
  padding: 1rem;
}

/* 2カラム */
.two-column {
  display: flex;
  align-items: center;
  gap: 20px;
}

.two-column .image {
  flex: 1;
}

.two-column .text {
  flex: 2;
}

.two-column .image img {
  /* width: 100%; */
  height: auto;
  display: block;
}

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

  .two-column .image,
  .two-column .text {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .pcmt1 {
    margin-top: 1rem;
  }
}

.opacity {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.3s ease;
}

.opacity:hover {
  filter: brightness(1.2); /* 明るさを20%アップ */
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }
  .decorated-heading {
    font-size: 1.2rem;
  }
  .decorated-heading::before,
  .decorated-heading::after {
    font-size: 2rem;
    transform: translateY(-30%);
  }
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ヘッダー */
.header {
  background-color: #ffffff;
  /* padding: 1rem 0; */
}

.site-title {
  font-size: 1.5rem;
  margin: 0;
  text-align: center;
}

/* 説明セクション */
.explanation {
  /* background-color: #ffeef0; */
  text-align: center;
  padding: 0;
}

/* Risa先生の活動パート */
.career {
  background-color: #c4ddff3b;
  margin: 3rem 0 0 0;
}

.career-title {
  font-size: 2rem;
  background-color: #003070;
  color: #fff;
  padding: 0.5rem 0;
}

.career-box {
  padding: 3rem 3rem 0 3rem;
}

.career-text {
  text-align: justify;
}

.career-image {
  text-align: center;
  margin-top: 2rem;
}

.career-image img {
  display: inline-block;
}

@media (max-width: 768px) {
  .career-box {
  padding: 2rem 2rem 0 2rem;
  }
  .career-title {
  font-size: 1.4rem;
  }
  .career-prof {
    width: 70%;
    margin: 0 auto;
  }
}

/* 特徴 */
.features {
  /* background-color: #f9f9f9; */
  padding: 0;
}

.features-bg,
.features-bg02 {
  position: relative; /* 疑似要素の基準にするため追加 */
  background-color: transparent;
  z-index: 0;
  padding: 3rem;
}

.features-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/05_back.jpg'); /* 同じ画像を再設定 */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1.0; /* ← ここで「薄さ」を調整（0.0〜1.0） */
  z-index: -1;
}

.features-bg02::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/features02_back.jpg'); /* 同じ画像を再設定 */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.8; /* ← ここで「薄さ」を調整（0.0〜1.0） */
  z-index: -1;
}

/* WebP対応ブラウザ用に上書き */
@supports (background-image: url("image.webp")) {
  .features-bg::before {
    background-image: url('../img/05_back.webp');
  }
  .features-bg02::before {
    background-image: url('../img/features02_back.webp');
  }
}

.features-text {
  text-align: justify;
  font-size: 1.2rem;
  padding: 2rem 1rem;
  background-color: #ffffffcc;   
}

.features-title {
  text-align: center;
  font-size: 1.6rem;
  margin: 2rem 0;
}

.features-cont {
  padding: 3rem 0;
  p {
    text-align: center;
    padding: 2rem 0;
    font-size: 1.2rem;
  }
  img{
    margin: 0;
  }
}

.bk_blue{
  background-color: #03306c;
}

@media (max-width: 768px) {
  .features-bg,
  .features-bg02 {
  padding: 1rem;
  }
  .features-title {
    font-size: 1.4rem;
  }
  .features-text {
  font-size: 1rem;
  padding: 2rem 1rem;
  }
  .features-cont {
  padding: 0 0 1rem 0;
  }
}

/* ポイント */
.point {
  /* background-color: #f9f9f9; */
  padding: 0;
}

.point-bg {
  background-color: #c4ddff3b;
}

.point-bg2 {
  background-color: #d0c3944d;
  padding: 1rem;
}

.point-bg-inner {
  background-color: #ffffff;
  padding: 1rem;
}

.point-text {
  text-align: justify;
  font-size: 1rem;
  padding: 2rem 3rem;
}

.point02-text {
  text-align: justify;
  font-size: 1rem;
  padding: 2rem 3rem;
}

.point-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 2rem 0;
  line-height: 1.3;
}

.point02-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 2rem 0;
  line-height: 1.3;
}

#point01, #point02, #point03 {
  margin-bottom: 4vh;
}

.video-title {
  text-align: center;
  font-size: 1.6rem;
  margin: 1rem;
}

.sns-block {
  margin: 2rem 0 4rem 0;
}

.sns-title {
  text-align: center;
  font-size: 1.4rem;
  padding: 2rem 0 1rem 0;
}

.sns-btn {
  width: 45%;
  margin: 0 auto;
}

.subtitle {
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .point-text {
    padding: 0 1.5rem; 
  }
  .point02-text {
    padding: 0; 
  }
  .point-title {
    font-size: 1.5rem;
  }
  .point02-title {
    font-size: 1.2rem;
  }
  .point-text_mb {
    padding: 0 2rem;
    margin-bottom: 2rem;
  }
  .video-title {
    font-size: 1.4rem;
    margin: 2rem 0;
    line-height: 1.2;
  }
  .sns-title {
    font-size: 1.2rem;
  }
  .sns-btn {
    width: 90%;
  }
  .subtitle {
    font-size: 1.2rem;
  }
}

/* 受験生の声 */
.voice {
  padding: 0;
  .container h2{
    text-align: center;
    padding: 2rem 0;
    font-size: 1.6rem;
  }
}

.voice-bg {
  /* background-color: #eae6e6; */
  padding: 2rem 0;
  margin: 2rem 0;
}

.voice-bg02 {
  background-color: #d0c3944d;
  padding: 2rem 0;
  margin: 2rem 0;
}

.voice-title {
  text-align: center;
  font-size: 1.4rem;
  margin: 2rem;
  line-height: 1.4;
}

.voice-text {
  text-align: justify;
  padding: 0 3rem;
}

.card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .voice-title {
    font-size: 1.5rem;
  }
  .voice-title {
    font-size: 1.2rem;
    margin: 2rem 0;
    line-height: 1.2;
  }
  .voice-text {
    padding: 0 1rem 1rem 1rem;
  }
}

/* CTA */
.cta {
  /* background-color: #ffebee; */
  text-align: center;
  /* padding: 3rem 1rem; */
}

.cta_back {
  background-color: #003070;
  padding: 1.5rem;
}

.cta_cover {
  background-color: #fff;
  border-radius: 20px;
  padding: 1rem;
}

.cta-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.offer-text{
  font-size: 1.8rem;
  font-weight: bold;
  color: #1ba2d4;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .cta img {
    margin: 1rem auto;
  }
  .cta_back {
    padding: 0.8rem;
  }

  .cta_cover {
    padding: 0.5rem;
  }
  .offer-text {
    font-size: 1.4rem;
    padding: 1rem 0;
  }
}


/* フォーム */
.form-container {
  width: 100%;
  height: 70vh; /* ビューポートの高さの80% */
  max-width: 100%;
  overflow: hidden;
  margin: 60px 0;
  border: solid 3px #d1cccc;
}
.form-cover {
  padding: 25px;
}
@media (max-width: 768px) {
  .form-container {
    margin: 25px 0;
  }
  .form-cover {
    padding: 0;
 }
}

.form-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* フットリズム整体詳細 */
.detail {
  padding: 0;
}

.detail-text {
  text-align: justify;
  padding: 0 1rem;
}

.heading-list {
  list-style: none;
  padding: 0 4rem;
  margin: 4rem 0;
  line-height: 2;
}

.heading-list li {
  margin-bottom: 2rem;
}

.heading-list-title {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .detail-text {
    padding: 0 1rem 1rem 1rem;
  }
  .heading-list {
    padding: 0 1rem;
  }
}

/* Q＆A */
.qa-bg {
  background-color: #d0c3944d;
  padding: 2rem;
  margin: 2rem 0;
}

.qa-bg h2 {
  color: #a05e4b;
  font-size: 2.5rem;
  text-align: center;
}

.qa-box {
  padding: 1.5em 2em;
  margin-bottom: 2em;
}

.qa-box .question {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1em;
}

.qa-box .q-number {
  color: #a05e4b;
  font-weight: bold;
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.qa-box .q-text {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.4;
}

.qa-box .answer {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
}

.qa-box .note {
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.5em;
}

@media (max-width: 768px) {
  .qa-bg {
    padding: 2rem 0;
    margin: 0;
  }
}

/* precautions */
.precautions01-bg {
  position: relative; /* 疑似要素の基準にするため追加 */
  background-color: transparent;
  z-index: 0;
  padding: 3rem;
}

.precautions01-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/precautions_back01.jpg'); /* 同じ画像を再設定 */
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.3; /* ← ここで「薄さ」を調整（0.0〜1.0） */
  z-index: -1;
}

.precautions02-bg {
  position: relative; /* 疑似要素の基準にするため追加 */
  background-color: transparent;
  z-index: 0;
  padding: 3rem;
}

.precautions02-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/precautions_back02.jpg'); /* 同じ画像を再設定 */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.3; /* ← ここで「薄さ」を調整（0.0〜1.0） */
  z-index: -1;
}

.precautions-title {
  text-align: center;
  font-size: 1.4rem;
  margin: 2rem 0;
}

.precautions-text {
  text-align: justify;
  font-size: 1rem;
  padding: 2rem 1rem;
}

@media (max-width: 768px) {
  .precautions01-bg,
  .precautions02-bg {
    padding: 2rem 1rem;
  }
  .precautions-title {
    margin: 1rem 0;
  }
}

/* WebP対応ブラウザ用に上書き */
@supports (background-image: url("image.webp")) {
  .precautions01-bg::before {
    background-image: url('../img/precautions_back01.webp');
  }
  .precautions02-bg::before {
    background-image: url('../img/precautions_back02.webp');
  }
}

.link-space a {
  margin-right: 1em;
}

.link-space a:last-child {
  margin-right: 0;
}

/* フッター */
.footer {
  background-color: #f0f0f0;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.875rem;
}