/* styles.css */

/* リンクのリセット */
h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-size: 100%;
  line-height: 1;
}

/* ベース設定 */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}



/* ヘッダー固定・透過 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 54, 127, 0.85);
  color: white;
  z-index: 10000;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* ←念のため追加 */
}

/* ロゴ画像サイズ */
.logo img {
  height: 100px;
  width: auto;
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: 0.4s ease;
  left: 0;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 12px; }
.menu-toggle span:nth-child(3) { top: 24px; }

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 12px;
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 12px;
}

/* メニューラベル */
.menu-label {
  font-size: 0.7rem;
  color: #ccc;
  margin-top: 6px;
  white-space: nowrap;
  pointer-events: none;
  text-align: center;
}

nav {
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

/* メインビジュアル共通 */
.main-visual {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
}

.concept-section {
  padding: 5rem 1rem;
  margin-bottom: 0;
  text-align: center;
  display: block;
  margin-bottom: -1px; /* margin collapse 対策 */

  /* 背景画像を設定 */
  background-image: url('img/concept.jpg'); /* ←画像パス */
  background-size: cover;      /* 横幅いっぱい */
  background-position: center; /* 画像の中央を基準 */
  background-repeat: no-repeat;
}

.concept-box {
  display: inline-block;
  padding: 2rem 2rem 3rem 2rem;
  font-size: 5rem;
  font-weight: bold;
  color: #00367f;
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
  background-repeat: no-repeat;
  background-position: top, right, bottom, left;
}

.concept-box p {
  margin: 0;
  line-height: 1.5;
  position: relative;
}

.result-section {
  width: 100%;
  text-align: center;
}

.result-image {
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.voice-inner {
  max-width: 900px;
  margin: 0 auto 75px auto;
}

.voice-title {
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
}

.definition-section {
  width: 100%;
  text-align: center;
}

.definition-image {
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.concept-section + .result-section {
  margin-top: 0 !important;
}

.outcome-section {
  background-color: #fff;
  padding: 1.5rem 0rem 3rem 0rem;
  text-align: center;
}

.outcome-inner {
  max-width: 900px;
  margin: 0 auto;
}

.outcome-item {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.outcome-title {
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
}

.outcome-subtitle {
  font-size: 1.8rem;
  color: #00367f;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.outcome-description {
  font-size: 1.8rem;
  color: #333;
  line-height: 2.8;
  margin: 0 auto;
  max-width: 100%;
}

.support-section {
  background-color: #fff;
  padding: 3rem 0rem;
  text-align: center;
}

.support-inner {
  max-width: 900px;
  margin: 0 auto;
}

h2 {
  font-size: 2.4rem;
  position: relative;
  padding: 1.5rem 1.5rem calc(1.5rem + 10px);
  border: 2px solid #00367f;
}

h2:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  border-top: 1px solid #fff;
  background-image: -webkit-repeating-linear-gradient(135deg, #fff, #fff 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #fff, #fff 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


.support-title {
  font-size: 2.1rem;
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
  font-weight: bold;
}

.support-item {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.support-subtitle {
  font-size: 1.8rem;
  color: #00367f;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.support-description {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 100%;
}

.half-bg-yellow {
  background-image: linear-gradient(to bottom, transparent 50%, yellow 50%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.half-bg-yellow-b {
  background-image: linear-gradient(to bottom, transparent 50%, yellow 50%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #00367f;
  font-weight: bold;
}

.wgite-b {
  color: #fff;
  font-weight: bold;
}


/* 続きを読むスタイル */
.cp_box1 {
  position: relative;
}
.cp_box1 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box1 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 100px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%);
}
/* 開いた時にグラデーションを消す */
.cp_box1 input:checked + label {
  background: inherit;
}
.cp_box1 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box1 .cp_container {
  overflow: hidden;
  height: 250px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box1 label:after,
.cp_box1 label::before {
  content: '';
  position: absolute;
  line-height: 3.0rem;
}
.cp_box1 label:after {
  z-index: 2;
  bottom: 20px;
  width: 15em;
  content: '続きをよむ';
  color: #ffffff;
  background: rgba(0, 35, 81, 0.85); /* ← 85% 不透明 */
  border-radius: 25px;
  font-size: 1.1rem; /
}
.cp_box1 label::before {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 4.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box1 input:checked + label:after {
  content: '閉じる';
}
.cp_box1 input:checked + label:before {
  left: calc(50% - 3.0em);
  transform: scale(1, -1);
}
.cp_box1 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}

.cp_box2 {
  position: relative;
}
.cp_box2 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box2 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 100px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%);
}
/* 開いた時にグラデーションを消す */
.cp_box2 input:checked + label {
  background: inherit;
}
.cp_box2 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box2 .cp_container {
  overflow: hidden;
  height: 250px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box2 label:after,
.cp_box2 label::before {
  content: '';
  position: absolute;
  line-height: 3.0rem;
}
.cp_box2 label:after {
  z-index: 2;
  bottom: 20px;
  width: 15em;
  content: '続きをよむ';
  color: #ffffff;
  background: rgba(0, 35, 81, 0.85); /* ← 85% 不透明 */
  border-radius: 25px;
  font-size: 1.1rem; /
}
.cp_box2 label::before {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 4.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box2 input:checked + label:after {
  content: '閉じる';
}
.cp_box2 input:checked + label:before {
  left: calc(50% - 3.0em);
  transform: scale(1, -1);
}
.cp_box2 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}


.cp_box3 {
  position: relative;
}
.cp_box3 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box3 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 100px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%);
}
/* 開いた時にグラデーションを消す */
.cp_box3 input:checked + label {
  background: inherit;
}
.cp_box3 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box3 .cp_container {
  overflow: hidden;
  height: 250px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box3 label:after,
.cp_box3 label::before {
  content: '';
  position: absolute;
  line-height: 3.0rem;
}
.cp_box3 label:after {
  z-index: 2;
  bottom: 20px;
  width: 15em;
  content: '続きをよむ';
  color: #ffffff;
  background: rgba(0, 35, 81, 0.85); /* ← 85% 不透明 */
  border-radius: 25px;
  font-size: 1.1rem; /
}
.cp_box3 label::before {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 4.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box3 input:checked + label:after {
  content: '閉じる';
}
.cp_box3 input:checked + label:before {
  left: calc(50% - 3.0em);
  transform: scale(1, -1);
}
.cp_box3 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}

.cp_box0 {
  position: relative;
}
.cp_box0 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box0 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 100px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%);
}
/* 開いた時にグラデーションを消す */
.cp_box0 input:checked + label {
  background: inherit;
}
.cp_box0 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box0 .cp_container {
  overflow: hidden;
  height: 450px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box0 label:after,
.cp_box0 label::before {
  content: '';
  position: absolute;
  line-height: 3.0rem;
}
.cp_box0 label:after {
  z-index: 2;
  bottom: 20px;
  width: 15em;
  content: '続きをよむ';
  color: #ffffff;
  background: rgba(0, 35, 81, 0.85); /* ← 85% 不透明 */
  border-radius: 25px;
  font-size: 1.1rem; /
}
.cp_box0 label::before {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 4.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box0 input:checked + label:after {
  content: '閉じる';
}
.cp_box0 input:checked + label:before {
  left: calc(50% - 3.0em);
  transform: scale(1, -1);
}
.cp_box0 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}

.academy-section {
  background-color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}

.academy-inner {
  max-width: 900px;
  margin: 0 auto;
}

.academy-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url('img/academy-banner.jpg'); /* ←実際の画像に差し替え */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 2rem;
}

.academy-content {
  text-align: left;
  padding: 0 1rem;
}

.academy-title {
  font-size: 2.2rem;
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #FFFF00;               /* タイトル文字色を黄色に */
  font-weight: bold;
}

.academy-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}


.academy-content a:hover,
.academy-content a:visited,
.academy-content a:active {
  color: #00367F;             /* 状態変化しても同色 */
  text-decoration: underline;
}

/* 運動が脳に良い理由セクション */
.exercise-section {
  background-color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.exercise-inner {
  max-width: 900px;
  margin: 0 auto;
}

.exercise-title {
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
}

.exercise-subtitle {
  font-size: 1.8rem;
  color: #00367f;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.exercise-image {
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto 30px auto;
}

.exercise-content {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
  text-align: left;
 padding: 0;
  max-width: 100%;
  margin-top: 20px; /* ← 上だけ余白 */
}

.exercise-description {
  font-size: 1.8rem;
  color: #333;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
}


.cp_box4 {
  position: relative;
}
.cp_box4 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box4 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 100px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%);
}
/* 開いた時にグラデーションを消す */
.cp_box4 input:checked + label {
  background: inherit;
}
.cp_box4 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box4 .cp_container {
  overflow: hidden;
  height: 400px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box4 label:after,
.cp_box4 label::before {
  content: '';
  position: absolute;
  line-height: 3.0rem;
}
.cp_box4 label:after {
  z-index: 2;
  bottom: 20px;
  width: 15em;
  content: '続きをよむ';
  color: #ffffff;
  background: rgba(0, 35, 81, 0.85); /* ← 85% 不透明 */
  border-radius: 25px;
  font-size: 1.1rem; /
}
.cp_box4 label::before {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 4.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box4 input:checked + label:after {
  content: '閉じる';
}
.cp_box4 input:checked + label:before {
  left: calc(50% - 3.0em);
  transform: scale(1, -1);
}
.cp_box4 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}





.therapy-scene-section {
  width: 100%;
  margin: 1.5rem 0;   /* 上下の余白 */
  text-align: center;
}

.therapy-scene-image {
  width: 100%;
  max-width: 900px;             /* 最大幅を制限して中央寄せ */
  margin: 0 auto;
  aspect-ratio: 16 / 9;         /* アスペクト比を固定 */
  background-image: url('img/therapy-scene.jpg'); /* ← 実際の画像に差し替え */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.video-section {
  width: 100%;
  margin: 3rem 0;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;  /* ← 中央寄せで最大幅を制限 */
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* ← アスペクト比を維持 */
}

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

/* 裸足療育セクション */
.barefoot-section {
  background-color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}

.barefoot-inner {
  max-width: 900px;
  margin: 0 auto;
}

.barefoot-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url('img/barefoot.jpg'); /* ←実際の画像に差し替え */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 2rem;
}

.barefoot-content {
  text-align: left;
  padding: 0 1rem;
}

.barefoot-title {
  font-size: 2.2rem;
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
}

.barefoot-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}

.cp_box5 {
  position: relative;
}
.cp_box5 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box5 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 100px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%);
}
/* 開いた時にグラデーションを消す */
.cp_box5 input:checked + label {
  background: inherit;
}
.cp_box5 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box5 .cp_container {
  overflow: hidden;
  height: 400px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box5 label:after,
.cp_box5 label::before {
  content: '';
  position: absolute;
  line-height: 3.0rem;
}
.cp_box5 label:after {
  z-index: 2;
  bottom: 20px;
  width: 15em;
  content: '続きをよむ';
  color: #ffffff;
  background: rgba(0, 35, 81, 0.85); /* ← 85% 不透明 */
  border-radius: 25px;
  font-size: 1.1rem; /
}
.cp_box5 label::before {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 4.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box5 input:checked + label:after {
  content: '閉じる';
}
.cp_box5 input:checked + label:before {
  left: calc(50% - 3.0em);
  transform: scale(1, -1);
}
.cp_box5 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}

/* 速聴トレーニングセクション */
.listening-section {
  background-color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}

.listening-inner {
  max-width: 900px;
  margin: 0 auto;
}

.listening-title {
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
}

.listening-image {
  width: 100%;
  aspect-ratio: 16 / 9;   /* PC・タブレット・スマホ共通で同じ比率 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 1.5rem auto;
}

.listening-image.top {
  background-image: url('img/listening-top.jpg'); /* ←上部画像 */
}

.listening-image.bottom {
  background-image: url('img/listening-bottom.jpg'); /* ←下部画像 */
}

.listening-content {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
  padding: 0 1rem;
  margin: 2rem 0;
}

.cp_box6 {
  position: relative;
}
.cp_box6 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box6 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 100px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%);
}
/* 開いた時にグラデーションを消す */
.cp_box6 input:checked + label {
  background: inherit;
}
.cp_box6 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box6 .cp_container {
  overflow: hidden;
  height: 400px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box6 label:after,
.cp_box6 label::before {
  content: '';
  position: absolute;
  line-height: 3.0rem;
}
.cp_box6 label:after {
  z-index: 2;
  bottom: 20px;
  width: 15em;
  content: '続きをよむ';
  color: #ffffff;
  background: rgba(0, 35, 81, 0.85); /* ← 85% 不透明 */
  border-radius: 25px;
  font-size: 1.1rem; /
}
.cp_box6 label::before {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 4.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box6 input:checked + label:after {
  content: '閉じる';
}
.cp_box6 input:checked + label:before {
  left: calc(50% - 3.0em);
  transform: scale(1, -1);
}
.cp_box6 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}


/* 個性は才能セクション */
.talent-section {
  background-color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}

.talent-inner {
  max-width: 900px;
  margin: 0 auto;
}

.talent-title {
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
}

.talent-image {
  width: 100%;
  aspect-ratio: 16 / 13;
  background-image: url('img/talent.jpg'); /* ←画像ファイル名 */
  background-size: cover;
  background-position: center;
  margin: 1rem auto 2rem auto;
}

.talent-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
  padding: 0 1rem;
  margin: 2rem 0;
}

.cp_box7 {
  position: relative;
}
.cp_box7 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box7 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 100px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%);
}
/* 開いた時にグラデーションを消す */
.cp_box7 input:checked + label {
  background: inherit;
}
.cp_box7 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box7 .cp_container {
  overflow: hidden;
  height: 400px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box7 label:after,
.cp_box7 label::before {
  content: '';
  position: absolute;
  line-height: 3.0rem;
}
.cp_box7 label:after {
  z-index: 2;
  bottom: 20px;
  width: 15em;
  content: '続きをよむ';
  color: #ffffff;
  background: rgba(0, 35, 81, 0.85); /* ← 85% 不透明 */
  border-radius: 25px;
  font-size: 1.1rem; /
}
.cp_box7 label::before {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 4.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box7 input:checked + label:after {
  content: '閉じる';
}
.cp_box7 input:checked + label:before {
  left: calc(50% - 3.0em);
  transform: scale(1, -1);
}
.cp_box7 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}

.program-section {
  background-color: #fff;
  padding: 2rem 0rem 1.5rem 0rem;
  text-align: center;
}

.program-inner {
  max-width: 900px;
  margin: 0 auto;
}

.program-title {
  font-size: 2.1rem;
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
  font-weight: bold;
}

.program-item {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.program-subtitle {
  font-size: 1.8rem;
  color: #00367f;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.program-description {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 100%;
}

.program-description a {
  color: #00367F;          /* リンク文字色 */
  text-decoration: underline; /* アンダーバー付き */
}

.program-description a:hover,
.program-description a:visited,
.program-description a:active {
  color: #00367F;          /* ホバー・クリック後も同じ色 */
  text-decoration: underline; /* 常にアンダーバー表示 */
}

.program-image {
  width: 100%;
  aspect-ratio: 9 / 16;
  background-image: url('img/program.jpg'); /* ←画像ファイル名 */
  background-size: cover;
  background-position: center;
  margin: 1rem auto 0rem auto;
}

.program-instagram img {
  width: 100%;
  max-width: 900px; /* 画面が広いときの最大サイズ */
  height: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* ほんのり影をつける場合 */
  transition: opacity 0.3s;
}

.program-instagram img:hover {
  opacity: 0.8; /* ホバー時に少し暗くする */
}

.cp_box8 {
  position: relative;
}
.cp_box8 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box8 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 100px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%);
}
/* 開いた時にグラデーションを消す */
.cp_box8 input:checked + label {
  background: inherit;
}
.cp_box8 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box8 .cp_container {
  overflow: hidden;
  height: 350px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box8 label:after,
.cp_box8 label::before {
  content: '';
  position: absolute;
  line-height: 3.0rem;
}
.cp_box8 label:after {
  z-index: 2;
  bottom: 20px;
  width: 15em;
  content: '続きをよむ';
  color: #ffffff;
  background: rgba(0, 35, 81, 0.85); /* ← 85% 不透明 */
  border-radius: 25px;
  font-size: 1.1rem; /
}
.cp_box8 label::before {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 4.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box8 input:checked + label:after {
  content: '閉じる';
}
.cp_box8 input:checked + label:before {
  left: calc(50% - 3.0em);
  transform: scale(1, -1);
}
.cp_box8 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}


/* 食育セクション */
.food-education-section {
  background-color: #fff;
  padding: 1.5rem 0 3rem 0;
  text-align: center;
}

.food-education-inner {
  max-width: 900px;
  margin: 0 auto;
}

.food-education-title {
  font-size: 2.1rem;
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
  font-weight: bold;
}


.food-education-description {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin: 1rem auto;
  max-width: 100%;
  text-align: left;
}

.food-education-image {
  width: 100%;
  aspect-ratio: 1 / 2;
  background-image: url('img/food-education.jpg'); /* 食育の画像 */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 1rem;
}

.staff-section {
  background-color: #fff;
  padding: 1.5rem 0 3rem 0;
  text-align: center;
}

.staff-inner {
  max-width: 900px;
  margin: 0 auto;
}

.staff-title {
  font-size: 2.1rem;
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
  font-weight: bold;
}

.staff-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  text-align: left;
}

/* スタッフ画像 */
.staff-photo img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 1.5rem;
}

/* スタッフ情報 */
.staff-info {
  flex: 1;
}

.staff-role {
  font-weight: bold;
  color: #00367F;
  margin: 0;
}

.staff-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0.25rem 0;
}

.staff-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}


.adress-section {
  background-color: #fff;
  padding: 2rem 0rem 1.5rem 0rem;
  text-align: center;
}

.adress-inner {
  max-width: 900px;
  margin: 0 auto;
}

.adress-title {
  font-size: 2.1rem;
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
  font-weight: bold;
}

.adress-item {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.adress-subtitle {
  font-size: 1.8rem;
  color: #00367f;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.adress-description {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 100%;
}

/* Googleマップ iframe 調整 */
.adress-map iframe {
  width: 100%;
  height: 400px;   /* 高さを調整できます */
  border: 0;
  border-radius: 10px; /* 角丸にしたい場合 */
}

/* 事業所評価セクション */
.evaluation-section {
  background-color: #fff;
  padding: 2rem 0rem 1.5rem 0rem;
  text-align: center;
}

.evaluation-inner {
  max-width: 900px;
  margin: 0 auto;
}

.evaluation-title {
  font-size: 2.1rem;
  text-align: center;
  margin: 1.0rem 0rem 0rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
  font-weight: bold;
}

.evaluation-group {
  margin: 2.5rem 0;
  text-align: left; /* リストを左揃えに */
}

.evaluation-subtitle {
  font-size: 1.8rem;
  color: #00367f;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

/* PDFリンクのリスト */
.evaluation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.evaluation-list li {
  margin: 0.6rem 0;
  line-height: 1.7;
}

.evaluation-list a {
  color: #00367F;             /* 指定色 */
  text-decoration: underline; /* 常に下線 */
}

.evaluation-list a:hover,
.evaluation-list a:visited,
.evaluation-list a:active {
  color: #00367F;             /* 状態変化しても同色 */
  text-decoration: underline;
}

.contact-section {
  background-color: #fff;
  padding: 2rem 0rem 5rem 0rem;
  text-align: center;
}

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

.contact-title {
  font-size: 2.1rem;
  text-align: center;
  margin: 1.0rem 0rem 1.5rem 0rem;
  background-color: #00367F; /* タイトル枠全体の背景色 */
  color: #fff;               /* タイトル文字色を白に */
  font-weight: bold;
}

.contact-form {
  padding: 0 1rem;  /* 入力フォーム部分だけ左右に余白を追加 */
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-form .required {
  color: red;
  font-size: 0.9rem;
}

.contact-form .note {
  color: #666;
  font-size: 0.9rem;
}


.contact-form input,
.contact-form textarea {
  width: 100%;      /* 余白を含んで100%にする */
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form select {
  padding: 1rem 0.8rem; /* 上下を1remにして高さをそろえる */
  width: 100%;      /* 余白を含んで100%にする */
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.form-actions {
  text-align: left;   /* 左端に揃える */
  margin-top: 2rem;
}

/* 送信ボタンだけ強調 */
.form-actions .btn-submit {
  display: inline-block;
  background-color: #00367F;
  color: #fff;
  border: none;
  padding: 1.2rem 2.5rem !important;   /* 強制的に反映 */
  border-radius: 5px;
  font-size: 1.5rem !important;          /* 強制的に反映 */
  cursor: pointer;
  margin-right: 1rem;
 margin-bottom: 1.5rem;  /* 下に1.5remの余白を追加 */
  transition: background-color 0.3s ease;
}

.btn-reset {
  display: inline-block;       /* 横並びにする */
  background-color: #00367F;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 1rem;          /* ボタン同士の間隔 */
  transition: background-color 0.3s ease;
}

.btn-reset {
  background-color: #777;      /* リセットボタンは別色 */
}

.btn-submit:hover {
  background-color: #0055aa;
}

.btn-reset:hover {
  background-color: #555;
}




/* スマホ固定ボタン */
.contact-fixed-mobile {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: #00367F;
  z-index: 1000;
}
.contact-fixed-mobile img {
  width: 100%;
  max-width: 500px; /* 最大幅を制限（任意） */
}

/* フッター */
.contact-footer {
  background: #f2f2f2;
  padding: 2rem 1rem;
  text-align: center;
}
.contact-footer img {
  max-width: 750px; /* PC用は適度な幅に調整 */
}
.footer-copyright {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: #fff;
}


/* Instagramリンク & ページトップボタンを右下に縦並び */
#instagram-link,
#back-top {
  position: fixed;
  right: 5px;   /* ← 右側に配置 */
  z-index: 1000;
}

/* Instagramは下から165pxあたりに配置 */
#instagram-link {
  bottom: 165px;
}

/* ページトップはさらに下に配置 */
#back-top {
  bottom: 70px;
}

/* 画像サイズ（倍にする） */
#instagram-link img,
#back-top img {
  width: 85px;   
  height: auto;
  cursor: pointer;
  transition: opacity 0.1s;
}

#instagram-link img:hover,
#back-top img:hover {
  opacity: 0.85;  /* ホバー時の薄くなる効果 */
}




/* PC表示 */
@media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
  }

  .menu-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .menu-label {
    display: none;
  }

  nav a {
    padding: 0 1.5rem;
    font-size: 1.2rem; 
  }

  .main-visual {
    width: 100%;
aspect-ratio: 635 / 304;
    background-image: url('img/main-visual-pc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
}

  .concept-box {
    --x-gradient: linear-gradient(90deg, #00367f 0 50px, transparent 0 calc(100% - 50px), #00367f calc(100% - 50px));
    --y-gradient: linear-gradient(#00367f 0 50px, transparent 0 calc(100% - 50px), #00367f calc(100% - 50px));
    background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
    background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
  }

  .result-image {
    width: 100%;
    aspect-ratio: 100 / 43;
    background-image: url('img/result-pc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .definition-image {
    width: 80%;
    margin: 50px auto; /* 中央寄せにする */
    aspect-ratio: 8 / 5;
    background-image: url('img/definition-pc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
}

  .contact-fixed-mobile {
    display: none;
  }

  .contact-footer {
    padding: 2rem 1rem;
    background-color: #00367f;
    color: white;
    text-align: center;
  }

  .footer-inner a {
    color: #fff;
    text-decoration: underline;
  }

  .exercise-image {
    aspect-ratio: 20/11;
    background-image: url('img/exercise-pc.jpg');
  }

}

/* タブレット表示 */
@media (min-width: 769px) and (max-width: 1024px) {
  /* ハンバーガーメニューを表示 */
  .menu-toggle {
    display: block;
  }

  .menu-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .menu-label {
    display: block;
    font-size: 0.9rem;
    margin-top: 4px;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: rgba(0, 54, 127, 0.85);
    z-index: 1000;
  }

  nav.open {
    display: flex;
    padding-bottom: 2rem;
  }

  nav a {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #DDD;
    font-size: 1.6rem;
    text-align: left;
  }

  .logo img {
    height: 90px;
  }

  .main-visual {
  aspect-ratio: 512 / 683;
    background-image: url('img/main-visual-tab.jpg');
    background-size: cover;
    background-position: center;
  }

  .concept-box {
    --x-gradient: linear-gradient(90deg, #00367f 0 20px, transparent 0 calc(100% - 20px), #00367f calc(100% - 20px));
    --y-gradient: linear-gradient(#00367f 0 20px, transparent 0 calc(100% - 20px), #00367f calc(100% - 20px));
    background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
    background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
    padding: 2rem 2rem 2.5rem 2rem;
    font-size: 3rem;
 }

  .result-image {
    width: 100%;
    aspect-ratio: 128 / 75;
    background-image: url('img/result-tab.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .definition-image {
    width: 100%;
    aspect-ratio: 512 / 1155;
    background-image: url('img/definition-tab.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
 }

 .contact-fixed-mobile {
    display: none;
  }

  .contact-footer {
    padding: 2rem 1rem;
    background-color: #00367f;
    color: white;
    text-align: center;
  }

  .footer-inner a {
    color: #fff;
    text-decoration: underline;
  }

  .exercise-image {
    aspect-ratio: 1/1;
    background-image: url('img/exercise-tab.jpg');
  }

}



/* モバイル表示 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin: auto 0;
  }

/* ロゴ画像サイズ */
.logo img {
  height: auto;
  width: auto;
max-width: 100%;
}

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(0, 54, 127, 0.85);
    flex-direction: column;
    display: none;
    z-index: 1000;
  }

  nav.open {
    display: flex;
    padding-bottom: 2rem; 
  }

nav a {
  padding: 3.2rem 1.5rem 1.5rem 1.5rem; 
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  text-align: left; /* 任意：左寄せにしたい場合 */
}


  .main-visual {
  aspect-ratio: 9 / 16;
    background-image: url('img/main-visual-sp.jpg');
  }

  .concept-box {
    --x-gradient: linear-gradient(90deg, #00367f 0 20px, transparent 0 calc(100% - 20px), #00367f calc(100% - 20px));
    --y-gradient: linear-gradient(#00367f 0 20px, transparent 0 calc(100% - 20px), #00367f calc(100% - 20px));
    background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
    background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
    padding: 1rem 1rem;
    font-size: 2.5rem;
 }

  .result-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-image: url('img/result-sp.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .definition-image {
    width: 100%;
    aspect-ratio: 24 / 67;
    background-image: url('img/definition-sp.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
 }

.outcome-subtitle {
  font-size: 1.5rem;
  color: #00367f;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.outcome-description {
  font-size: 0.90rem;
  color: #333;
  line-height: 2.8;
  margin: 0 auto;
  max-width: 100%;
  font-weight: bold;
}

.support-subtitle {
  font-size: 1.5rem;
  color: #00367f;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.support-description {
  font-size: 1.0rem;
  color: #333;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 100%;
    text-align: left;
}

.academy-content {
  font-size: 1rem;
  line-height: 1.25;
  color: #333;
  text-align: left;
  padding: 0 1rem;
  margin: 0rem 0;
}

  .contact-fixed-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 9999;
  }

  .contact-footer {
    display: none;
  }

  .exercise-image {
    aspect-ratio: 12/13;
    background-image: url('img/exercise-sp.jpg');
  }

.exercise-subtitle {
  font-size: 1.20rem;
  color: #00367f;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.exercise-description {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
}

.voice-content {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  text-align: left;
  padding: 0 1rem;
  margin: 0.5rem 0;
}

.exercise-content {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  text-align: left;
  padding: 0 1rem;
  max-width: 100%;
  margin-top: 20px; /* ← 上だけ余白 */
}

.barefoot-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.listening-content {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  text-align: left;
  padding: 0 1rem;
  margin: 0.5rem 0;
}

.program-item {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.program-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 100%;
}

.program-image {
  width: calc(100% - 1rem); /* 両側に0.5remずつ余白 */
  aspect-ratio: 9 / 16;
  background-image: url('img/program.jpg'); /* ←画像ファイル名 */
  background-size: cover;
  background-position: center;
  margin: 0rem auto 0rem auto;
}

.program-instagram img {
  width: calc(100% - 2rem); /* 両側に1remずつ余白 */
}

.food-education-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  margin: 0 auto;
  padding: 1rem 1rem 0rem 1rem;
  max-width: 100%;
}

  .staff-item {
    flex-direction: column; /* 縦並び */
    text-align: center;
  }

  .staff-photo img {
    margin: 0.25rem 0 0.25rem 0; /* 下に余白 */
  }

  .staff-info {
    text-align: center;
  }

.staff-description {
  margin: 0 1rem;   /* 左右に1rem余白 */
  text-align: left;
}

.adress-section {
  background-color: #fff;
  padding: 1rem 0rem 0rem 0rem;
  text-align: center;
}

.adress-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 100%;
}

  .adress-map iframe {
    width: calc(100% - 2rem); /* 両側に1remずつ余白 */
    margin: 1rem;           /* 上下左右余白 */
    height: 300px;            /* 高さも少し縮める例 */
  }

/* 事業所評価セクション */
.evaluation-section {
  background-color: #fff;
  padding: 1rem 0rem 1.5rem 0rem;
  text-align: center;
}

.evaluation-group {
  margin: 2rem 1rem;
  text-align: left; /* リストを左揃えに */
}

  .evaluation-title {
    font-size: 1.8rem;
  }
  .evaluation-subtitle {
    font-size: 1.4rem;
  }
  .evaluation-list li {
    margin: 0.5rem 0;
  }

.contact-section {
  background-color: #fff;
  padding: 1rem 0rem 10rem 0rem;
  text-align: center;
}

  .contact-form select {
    height: 3.5rem; /* 直接高さを指定してしまう */
    font-size: 1rem;
  }

}