.sp {
  display: none;
}


.flex {
  display: flex;
  flex-wrap: wrap;
}


/* --- 変更点1：画像の幅制限を解除 --- */
img {
  /* max-width: 550px; */
  /* 480pxから100%に変更 */
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.teach-important-frame {
  max-width: 550px;
  width: 100%;
}

h3 {
  font-size: clamp(23px, 2.7vw, 38px);
  padding: 35px 10px;
  text-align: center;
}

h5 {
  line-height: 1.2em;
  padding: 45px 10px;
  text-align: center;
  font-size: clamp(18px, 1.8vw, 26px);
}

.text {
  padding: 0 30px;
  margin: 35px 0px 35px 0px;
  line-height: 1.5em;

}

.img-flex {
	display:flex;
	padding-bottom:1rem;
}

/*-----------ヘッダー----------*/

.logo {
  width: 50%;

}

header {
	background-color:#fff;
	position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.logo img {
  max-width: 350px;
  width: 100%;
  padding: 0px 5px;
  margin: 10px 5px;
}

.site-header .flex {
  /* max-width: 1366px; */
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.header-content {
  max-width: 1366px;
	height: 100%;
  display: flex;
  /* flex-wrap: nowrap; */
  flex-wrap: nowrap;
  justify-content: flex-start;
  /* 全要素を右寄せ */
  background-color: #886669;
  /* 画像背景色に近似 */
  padding: 12px 15px;
  gap: 1em;
  color: #fff;
  align-items: center;
  /* 垂直方向中央揃え */
  /* width: 100vw; */
  /* justify-content: space-between; */
  /* justify-content: center; */
  /* margin: 0 auto; */
}

/* .header-contact-info {
  flex-wrap: wrap;
} */

.header-contact-info {
  display: flex;
  /* Flexboxを有効化 */
  flex-direction: column;
  /* 中身を常に「縦並び」にする */
  justify-content: center;
  /* 縦方向の中央寄せ */
  align-items: center;
  /* 横方向の中央揃え */
  /* gap: 5px; */
  /* 各行の隙間を少し空ける（お好みで調整） */
}

/* 以前の flex-wrap: wrap; は削除または上書きされます */
.campaign-text {
  font-size: clamp(14px, 1.5vw, 16px);
  margin: auto;
  text-align: center;
}

.phone-number {
  /* color: #fff;
  font-size: clamp(28px, 2.5vw, 36px);
  margin: 0 auto;
  text-decoration: none; */
  /* 下線を削除 */
}

/* --- 修正1：強制的に改行を禁止する --- */
.phone-number,
.button001 a {
  white-space: nowrap;
  /* これで「折り返し」がなくなります */
}

/* --- 修正2：文字サイズを少し小さくする（枠に収めるため） --- */
/* 現在のサイズだと大きすぎてはみ出す可能性が高いため、全体的に少し下げます */

.phone-number {
  /* 元: clamp(28px, 2.5vw, 36px); */
  font-size: clamp(20px, 2.2vw, 30px);
}


.reception-hours {
  font-size: clamp(11px, 1.1vw, 16px);
  margin: 0 auto;
  margin-left: -5px;
}


.button001 {
  /* text-align: center;
  min-width: 150px;
  padding: 2%; */
}

.button001 p {
  /* margin-top: 5px;
  color: #ffffff;
  font-size: clamp(11px, 1.1vw, 16px);
  display: inline-block;
  position: relative;
  margin: 0 auto; */
}

/* --- ボタンエリア全体の配置修正 --- */
.button001 {
  /* これを追加して、ボタンと下の文字を強制的に中央揃えにする */
  display: flex;
  flex-direction: column;
  /* 縦並び */
  align-items: center;
  /* 左右中央揃え */
  justify-content: center;
  gap: 5px;
  /* ボタンと下の文字の間隔 */
}

/* --- ボタン内の余白（パディング）修正 --- */
.button001 a {
  /* 上下10px、左右30pxに広げてゆとりを持たせる */
  padding: 10px 30px;

  /* 念のため、ボタン自体の幅が縮こまらないように設定 */
  width: auto;
  min-width: 200px;
  /* 必要に応じて調整してください */

  /* 前回の修正（1行維持） */
  white-space: nowrap;
}

/* --- 下の文字（24時間...）の微調整 --- */
.button001 p {
  text-align: center;
  margin: 0;
  /* 不要な余白を削除（gapで制御するため） */
  white-space: nowrap;
  /* これも折り返さないようにする */
}

/* .button001 a {
  background: #C56175;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;

  padding: 5px;
  color: #ffffff;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-decoration: none;
  font-size: clamp(16px, 1.5vw, 23px);
  line-height: 120%;
  box-shadow: 0px 8px 8px -7px rgba(0, 0, 0, 0.2);
}

.button001 a:hover {
  background: #b25467;
  color: #FFF;
}

.button001 a:after {
  content: '';
  width: 12px;
  height: 12px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
} */

/* --- ボタン本体のデザイン --- */
.button001 a {
  background: #C56175;
  /* 色はお好みで微調整してください */
  border-radius: 50px;
  position: relative;
  display: inline-block;
  /* flexから変更：文字幅制御のため */

  /* 文字周りの余白（重要：右を広めにして矢印のスペースを確保） */
  padding: 9px 45px 12px 30px;

  color: #ffffff;
  font-weight: 700;
  /* 文字を太くハッキリと */
  text-decoration: none;
  font-size: clamp(14px, 1.5vw, 18px);
  /* サイズ感調整 */
  line-height: 1;
  /* 高さのズレを防ぐ */
  letter-spacing: 0.05em;
  /* 文字間を少し開けて読みやすく */
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  /* ふんわりした影 */
  transition: 0.3s;
}

/* ホバー時の挙動 */
.button001 a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  /* 少し浮き上がる */
}

/* --- 矢印（>）のデザイン --- */
.button001 a:after {
  content: '';

  /* 矢印のサイズと線の太さ */
  width: 8px;
  /* 大きすぎず、上品なサイズに */
  height: 8px;
  border-top: 2.5px solid #ffffff;
  /* 3pxだと太すぎ、2pxだと細すぎるため2.5px */
  border-right: 2.5px solid #ffffff;

  /* 角度と配置 */
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  /* 右端からの距離 */

  /* 位置の微調整（真ん中に見えるように） */
  margin-top: -2px;
  transition: 0.3s;
}

.button001 a:hover:after {
  border-color: #FFF;
}


/*-----------ファーストビュー----------*/

/* --- 変更点2：FVの幅制限を解除 --- */
.fv {
  width: 100%;
  /* max-width: 480px を削除し、width: 100% に */
  margin: 0 auto;
}

.mvArea img {
  width: 100%;
}

/*-----------CTAボタン----------*/

.cta-gradation-back {
  background-image: linear-gradient(0deg, #5a302d, #ae7e88);
  padding: 15px 20px;
  width: 100%;
}

.cta-title {
  max-width: 550px;
  width: 100%;
  align-items: center;
  padding: 20px 10px;
  display: block;
}

.cta-button01 {
  max-width: 450px;
  width: 100%;
  align-items: center;
  display: block;
  padding-bottom: 10px;
  margin: 0 auto;
}

/*-----------section class="plobrem----------*/

.plobrem-title {
  /* font-size: clamp(18px, 2.1vw, 26px); */
  font-size: 1.5rem;
  margin: 30px auto -5px;
  padding: 25px 0px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5em;
}

.plobrem-img {
  max-width: 9em;
  width: 100%;
  margin: 0 auto;
  padding: 2em 0 0 0;
}

.plobrem02-img {
  max-width: 20em;
  width: 100%;
  margin: 0 auto;
  padding: 2em 0 0 0;
}

.flow-img {
  max-width: 18em;
  width: 100%;
  margin: 0 auto;
  padding: 2em 0 0 0;
}

.flow02-img {
  max-height: 15em;
  height: 100%;
  padding: 5px;
}

.plobrem-title span {
  /* font-size: clamp(25px, 2.6vw, 38px); */
  font-size: 2.3rem;
  color: #C56175;
}

.plobrem-frame {
  max-width: 500px;
  width: 95%;
  border: 2px solid #886669;
  border-radius: 15px;
  margin: 0 auto;
  /* width: 100%; */
  /* max-width: 800px; */
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}

/* --- 1. 外枠のデザイン --- */
.plobrem-frame {
  border: 2px solid #8c6a6d;
  /* 画像に近い落ち着いた茶色の枠線 */
  border-radius: 10px;
  /* 角丸 */
  padding: 25px 30px;
  /* 枠内の余白 */
  background-color: #fff;
  max-width: 800px;
  /* 必要に応じて調整 */
  margin: 0 auto;
  /* 中央配置 */
}

.plobrem-frame02 {
  border: none;
  /* 画像に近い落ち着いた茶色の枠線 */
  border-radius: 10px;
  /* 角丸 */
  padding: 25px 20px;
  /* 枠内の余白 */
  background-color: #fff;
  max-width: 550px;
  /* 必要に応じて調整 */
  margin: 0 auto;
  /* 中央配置 */
}

/*==================================================
  【修正版】お悩みリストのCSS（全書き換え）
==================================================*/

/* 1. リスト全体の設定 */
.plobrem-ul {
  list-style: none !important;
  /* 点を消す */
  padding: 0 !important;
  margin: 0 !important;
}

/* 1. リスト項目（テキスト部分）の設定 */
.plobrem-ul li {
  display: flex !important;

  /* ▼▼▼ ここを変更（上揃え flex-start → 中央揃え center） ▼▼▼ */
  align-items: center !important;

  gap: 15px !important;

  /* 文字サイズ（維持） */
  font-size: clamp(18px, 4.5vw, 25px) !important;
  line-height: 1.6 !important;
  font-weight: bold !important;
  color: #333 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
}

/* 2. チェックマークアイコンの設定 */
.plobrem-ul li::before {
  content: '';
  display: inline-block;
  margin-right: 15px;
  width: 26px;
  height: 26px;
  min-width: 26px;

  background-color: #c56175;

  /* ▼▼▼ 修正：中央揃えにするので、上からの位置調整は不要（0にする） ▼▼▼ */
  margin-top: 0 !important;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
  flex-shrink: 0;
}

/* .plobrem-ul li {
  background: url(img/check-ic.png) no-repeat;
  background-position: left 0 top .45em;
  --icon: 1em;
  background-size: var(--icon);
  --gap: .6em;
  padding-left: calc(var(--icon) + var(--gap));
  color: #2D2D2D;
  margin: 20px 0px;
  font-weight: bold;
  line-height: 1.5em;
} */

.plobrem-text {
  text-align: center;
  line-height: 1.5em;
}

.plobrem-text span {
  /* ▼▼▼ 修正：インパクトのある大きさに変更 ▼▼▼ */
  /* スマホで最低30px 〜 画面幅に応じて最大52pxまで巨大化 */
  font-size: clamp(38px, 6vw, 52px);

  color: #886669;
  font-weight: bold;

  /* 文字がかなり大きくなるので、行間を少し詰めて一体感を出す */
  line-height: 1.5em;
}

.input-frame {
  max-width: 550px;
  width: 98%;
  margin: 0 auto;
  align-items: center;
  display: block;
}

.check02 {
  max-width: 100px;
  width: 100%;
  align-items: left;
  margin-left: auto;
	padding-top: 10px;
}

.input-text {
  padding: 10px;
  max-width: 550px;
  width: 100%;
  margin: auto;
}

.input-ul li {
  font-weight: 500;
  margin: 10px 0px;
}

.input-subtitle {
  color: #886669;
  font-weight: bold;
  font-size: clamp(19px, 1.7vw, 30px);
  line-height: 2rem;
}

.input-title {
	font-size: clamp(26px, 2.1vw, 34px);
	 line-height: 2.5rem;
}

.input-content-text {
  padding: 0 30px;
  margin-bottom: 35px;
  line-height: 1.5em;
}

.teach-content-text {
  padding: 0 30px;
  margin: 20px 0px;
  line-height: 1.5em;
  text-align: center;
}

.fullback {
  text-align: center;
  background-color: #C56175;

  color: #FFF;
  font-weight: bold;
}

.fullback h3 {
  text-align: center;
  color: #FFF;
  font-weight: bold;
  line-height: 1.5em;
}



.teach-ul li {
  font-weight: 500;
  margin: 10px 0px;
  background: url("img/circle-ic.png") no-repeat;
  background-position: left 0 top .45em;
  --icon: 0.5em;
  background-size: var(--icon);
  --gap: .4em;
  padding-left: calc(var(--icon) + var(--gap));
}

.brown {
  background-color: #886669;
  margin-bottom: 35px;
}


.teach-subtitle {
  line-height: 1.5em;
}

.teach-subtitle span {
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: bold;
}

hr {
  border-color: #886669;
  border-width: 2px 0px 0px 0px;
  /* 太さ1px */
  margin-top: 35px;
  padding: 55px 55px 0px 55px;
  margin: auto;
  max-width: 1000px;
  text-align: center;
}

.profile-title {
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: bold;
  text-align: center;
  line-height: 1.5em;
	align-items:center;
	margin:auto 0;
}

.profile-subtitle{
  font-size: clamp(23px, 2.3vw, 33px);
  color: #886669;
  line-height: 1.5em;
  padding: 0px;
  padding-bottom: 2.5rem;
}

.inner-img {
  max-width: 250px;
  width: 100%;
}

.konkyo-text p span {
  color: #C56175;
}

.frame-img {
  max-width: 550px;
  width: 98%;
}

.numbering {
  padding: 20px;
  counter-reset: listnum;
  /* カウンターをリセット */
  list-style: none;
  /* 標準のスタイルは消す */
}

.numbering li {
  font-weight: 500;
  margin: 10px 0px;
  margin-bottom: 35px;
}


.numbering li:before {
  counter-increment: listnum;
  content: counter(listnum) ".";
  /* 半角スペースを入れて""の中にピリオドを追加 */
  padding-right: 15px;
  color: #C56175;
  vertical-align: middle;
  font-size: 24px;
  font-family: roboto;
  font-weight: bold;
}

/*==================================================
  数字付きリスト (.numbering) の設定
==================================================*/

/* 1. リスト全体のリセット */
ol.numbering {
  list-style: none !important;
  /* デフォルトの数字を消す */
  padding: 10 !important;
  margin: 0 auto !important;
  counter-reset: num;
  /* カウンター「num」をリセット */
}

/* 2. リスト項目の設定 */
ol.numbering li {
  /* ▼ レイアウト設定（ここが重要） */
  display: flex !important;
  align-items: center !important;
  /* 常に垂直方向の中央に揃える */
  gap: 15px !important;
  /* 数字とテキストの間隔 */

  /* ▼ 文字サイズ（チェックリストと同様にレスポンシブ対応） */
  font-size: clamp(16px, 4vw, 20px) !important;
  line-height: 1.6 !important;

  font-weight: bold !important;
  color: #333 !important;
  margin-bottom: 20px !important;
  /* 項目ごとの余白 */
}

ol.numbering li:last-child {
  margin-bottom: 0 !important;
}

/* 3. 数字（1. 2. 3...）のデザイン設定 */
ol.numbering li::before {
  /* カウンターを使って数字を自動生成 */
  counter-increment: num;
  content: counter(num) ". ";

  /* ▼ 数字のデザイン */
  color: #c56175;
  /* ピンク色 */
  font-size: 1.5em;
  /* 本文より1.5倍大きく */
  font-weight: bold;
  font-family: Arial, sans-serif;
  /* 数字がきれいに見えるフォント */

  /* ▼ レイアウト保持設定 */
  flex-shrink: 0;
  /* 数字が潰れないように固定 */
  line-height: 1;
  /* 数字の上下余白を詰める */
}

.acc-numbering {
  padding: 10px 0px 20px 0px;
}

.acc-numbering li {
  margin-bottom: 0px;
}

.acc-numbering li:before {
  content: "特徴 " counter(listnum);
  /* 半角スペースを入れて""の中にピリオドを追加 */
  font-size: 21px;
}

.acc-box {
  background-color: #F2E5E1;
  max-width: 480px;
  width: 100%;
}

/* --- 変更点3：アコーディオンなどの幅制限を緩和 --- */
.acc-box,
.price-title,
.price-text {
  max-width: 1000px;
  /* 480px だと狭すぎるので、読みやすい最大幅(1000px等)に広げるか、100%にします */
  width: 100%;
  margin: 0 auto;
  /* 中央寄せ */
}

.readmore {
  position: relative;
  margin: 1.2em auto;
  display: block;
  color: #3f3f3f;
  border: none;
  outline: 0;
  cursor: pointer;
  background: none;
  letter-spacing: 0.1em;
  align-items: center;
}


.readmore:before {
  content: "";
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;
  display: block;
  margin: 0 auto .5em;
  background-image: url("../img/arrow.png");
  background-repeat:no-repeat;
  background-position: center;
  background-size: 20px; 
  transition: .3s;
}


.readmore span {
  margin-bottom: 15px;
  font-size: 14px;
}

.readmore.on-click:before {
  transform: rotate(180deg);
}

.readmore .open {
  display: block;
}

.readmore.on-click .open {
  display: none;
}

.readmore .close {
  display: none;
}

.readmore.on-click .close {
  display: block;
}

.acc-number {
  color: #C56175;
  vertical-align: middle;
  font-size: 21px;
  font-family: roboto;
  font-weight: bold;
  padding-top: 20px;
}

.acc-text {
  margin: 0px auto;
  padding: 0 30px;
  line-height: 1.5em;
}

.price-textbox {
  margin-bottom: 25px;
}

.price-title {
  background-color: #C56175;
  color: #ffffff;
  margin: 0px;
  max-width: 550px;
  width: 100%;
  margin: auto;
}

.price-text {
  background-color: #F2E5E1;
  padding: 20px;
  max-width: 480px;
  width: 100%;
  margin: auto;
}

.flow-title {
  margin-bottom: 20px;
  color: #886669;
}

.flow-title span {
  color: #000000;
}

.flow-text {
  padding-bottom: 20px;
}

.triangle {
  font-size: 26px;
  color: #886669;
  text-align: center;
  margin: 25px auto;

}

.ps-text {
  font-size: clamp(18px, 1.9vw, 23px);

}

.table-frame {

  border: 2px solid #886669;
  border-collapse: collapse;
 margin: 0 auto;
  margin-bottom: 50px;
  font-size: 1.1rem;
	width: 100%;
  max-width: 550px;
}

.iframe {
margin:20px auto;

}


.table_design02 th,
.table_design02 td {
  padding: 1em;
}

.table_design02 th {
  font-weight: bold;
  text-align: center;
  width: 40%;
  min-width: 4em;
}

.small-text {
  background-color: #C56175;
  color: #FFF;
  text-align: center;
  padding: 15px;
}

/* 画像が枠からはみ出さないための基本設定 */
.pc-flex img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  /* 画像下の隙間消し */
}



/*==================================================
  スマホ極小サイズ(395px以下) 最大化調整版
==================================================*/
@media screen and (max-width: 395px) {

	
  /* 1. 大枠：余白をほぼゼロにして、全幅をコンテンツに使う */
  .header-content {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    padding: 10px 0 !important;
    /* 上下は確保、左右は0 */
    gap: 0;
    /* ブロック間の隙間もなし */
    justify-content: space-between;
    width: 100%;
  }

  /* 2. 左側：電話番号エリア（幅46%） */
  .header-contact-info {
    width: 46%;
    padding-left: 2px;
    /* 左端に1mmだけ余白 */
    align-items: center;
  }

  .campaign-text {
    font-size: 10px;
    /* サイズアップ */
    white-space: nowrap;
    margin-bottom: 2px;
  }

  .phone-number {
    /* 【重要】画面幅の6%のサイズにする設定。これで常にギリギリを攻められます */
    font-size: 6vw;
    line-height: 1.1;
    white-space: nowrap;
    font-weight: 800;
    /* より太く */
  }

  .reception-hours {
    font-size: 9px;
    /* サイズアップ */
    white-space: nowrap;
    transform: none;
    /* 縮小解除 */
    margin-left: 0;
  }

  /* 3. 右側：ボタンエリア（幅54%） */
  .button001 {
    width: 54%;
    /* 文字数が多いのでこちらを広めに */
    padding-right: 2px;
    /* 右端に1mmだけ余白 */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .button001 a {
    width: 100%;
    box-sizing: border-box;

    /* 文字サイズアップ */
    font-size: 13px;
    /* 11px -> 13px (太字なのでこれくらいが限界) */
    font-weight: bold;

    /* 余白の限界調整：左は最小限、右は矢印の分だけ確保 */
    padding: 10px 20px 10px 5px !important;

    /* 1行制限 */
    white-space: nowrap;
    text-align: center;
  }

  /* 矢印 */
  .button001 a:after {
    right: 6px !important;
    /* 右端ギリギリに */
    width: 5px;
    height: 5px;
    border-width: 1.5px;
  }

  /* 下の文字 */
  .button001 p {
    font-size: 10px;
    /* サイズアップ */
    transform: none;
    /* 縮小解除 */
    margin-top: 3px;
    white-space: nowrap;
  }
}




/*==================================================
  スマホ極小サイズ(395px以下) 
  整頓・バランス調整版（団子状態の解消）
==================================================*/
@media screen and (max-width: 395px) {

  /* 1. 大枠：少しだけ隙間と余白を与えて整理する */
  .header-content {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    /* 左右に均等配置 */
    width: 100%;

    /* 詰まりすぎ解消のための余白設定 */
    padding: 10px 2px !important;
    /* 画面端との隙間を2px確保 */
    gap: 5px;
    /* 電話とボタンの間に5pxの隙間を確保 */
  }

  /* 2. 左側：電話番号エリア（幅を少し調整） */
  .header-contact-info {
    /* 隙間(5px)の分を考慮して幅を設定 */
    width: 48%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .campaign-text {
    font-size: 9px;
    /* 10pxだと改行する恐れがあるため9pxへ */
    white-space: nowrap;
    margin-bottom: 2px;
  }

  .phone-number {
    /* 隙間を作った分、6vw→5.5vwに調整。これでも十分デカいです */
    font-size: 5.5vw;
    line-height: 1.1;
    white-space: nowrap;
    font-weight: 800;
    letter-spacing: -0.5px;
    /* 数字の横幅を少し詰めて大きく見せるテクニック */
  }

  .reception-hours {
    font-size: 8px;
    white-space: nowrap;
    transform: scale(0.9);
    /* 少し小さくして電話番号を引き立てる */
    margin-left: -2px;
  }

  /* 3. 右側：ボタンエリア */
  .button001 {
    width: 50%;
    /* 残りの幅 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 左右中央揃え */
  }

  .button001 a {
    width: 100%;
    box-sizing: border-box;
    display: block;
    /* flex解除でテキスト配置を安定させる */
    position: relative;

    font-size: 12px;
    font-weight: bold;

    /* 文字数に対してボタン幅が狭いので、内側の余白を微調整 */
    padding: 9px 0 9px 0 !important;
    /* 左右パディングを0にして中央揃えに任せる */
    padding-right: 15px !important;
    /* 右だけ矢印用に少し空ける */

    text-align: center;
    /* 文字を強制的に中央へ */
    white-space: nowrap;
  }

  /* 矢印（位置を少し内側に戻して安定させる） */
  .button001 a:after {
    right: 5px !important;
    width: 5px;
    height: 5px;
    border-width: 1.5px;
    margin-top: -2px;
  }

  /* 下の文字 */
  .button001 p {
    font-size: 9px;
    transform: scale(0.9);
    margin-top: 3px;
    white-space: nowrap;
  }
}








/*==================================================
  スマホ極小サイズ(395px以下) 
  【最終調整】視認性確保・矢印形成
==================================================*/
@media screen and (max-width: 395px) {

  /* --- 1. 大枠の設定 --- */
  .header-content {
    flex-direction: row !important;
    /* 横並び */
    flex-wrap: nowrap !important;
    /* 折り返しなし */
    justify-content: space-between;
    width: 100%;

    /* 左右の余白を少し確保して、窮屈さをなくす */
    padding: 10px 5px !important;
    gap: 4px;
    /* 左右ブロックの隙間 */
  }

  /* --- 2. 左側：電話番号エリア --- */
  .header-contact-info {
    width: 48%;
    /* 左側エリア幅 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .campaign-text {
    font-size: 9px;
    margin-bottom: 2px;
    white-space: nowrap;
  }

  /* 電話番号：vwをやめて、確実に収まるpx指定にする */
  .phone-number {
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
    /* 800だと滲むので700に */
    white-space: nowrap;
    letter-spacing: -0.5px;
    /* 文字間を少し詰めて大きく見せる */
  }

  .reception-hours {
    font-size: 9px;
    /* 小さすぎないサイズに */
    white-space: nowrap;
    transform: scale(0.95);
    /* ほんの少しだけ縮小 */
    margin-left: 0;
  }

  /* --- 3. 右側：ボタンエリア --- */
  .button001 {
    width: 50%;
    /* 右側エリア幅 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* ボタン本体のデザイン修正 */
  .button001 a {
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;

    /* 文字サイズと太さの最適化 */
    font-size: 12px;
    font-weight: 600;
    /* 太すぎると潰れるので600に */

    /* 余白：右側を矢印用に確保、上下で高さを出す */
    padding: 8px 0;
    padding-right: 18px !important;
    /* 右側に矢印スペースを強制確保 */
    padding-left: 5px !important;
    /* 左はバランス調整 */

    text-align: center;
    white-space: nowrap;
    line-height: 1.4;
    /* 行間を整えて文字の垂直位置を安定させる */
  }

  /* 崩れていた矢印（＞）の完全修正 */
  .button001 a:after {
    content: '';
    position: absolute;

    /* 綺麗な「くの字」を作るためのサイズ設定 */
    width: 6px;
    height: 6px;

    /* 線を細くして潰れを防ぐ */
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;

    /* 位置合わせ */
    top: 50%;
    right: 8px !important;
    /* ボタン右端からの距離 */

    /* 回転と位置微調整 */
    transform: rotate(45deg) translateY(-50%);
    margin-top: -2px;
    /* 重心を真ん中に戻す */
  }

  /* 下の「24時間...」文字 */
  .button001 p {
    font-size: 9px;
    margin-top: 4px;
    white-space: nowrap;
    transform: scale(0.9);
  }
}





/*==================================================
  スマホ極小サイズ(395px以下) 
  【修正】矢印のはみ出し防止・位置調整
==================================================*/
@media screen and (max-width: 395px) {

  /* 1. 全体の枠 */
  .header-content {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    width: 100%;
    padding: 10px 5px !important;
    gap: 4px;
  }

  /* 2. 左側エリア */
  .header-contact-info {
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .campaign-text {
    font-size: 11px;
    margin-bottom: 2px;
    white-space: nowrap;
    font-weight: normal;
  }

  .phone-number {
    font-size: 19px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -0.5px;
    font-family: sans-serif;
  }

  .reception-hours {
    font-size: 11px;
    white-space: nowrap;
    transform: none;
    margin-left: 0;
  }

  /* 3. 右側エリア */
  .button001 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* ボタン文字設定（サイズ14px維持） */
  .button001 a {
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;

    font-size: 14px;
    font-weight: 600;

    padding: 9px 0 !important;

    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.5px;
  }

  /* ▼ 修正：矢印を内側に移動（6px → 12px） */
  .button001 a:after {
    content: '';
    position: absolute;
    border: none !important;
    border-top: 2px solid #ffffff !important;
    border-right: 2px solid #ffffff !important;
    width: 6px;
    height: 6px;

    top: 50%;
    /* 右端からの距離を増やして、内側に入れます */
    right: 20px !important;

    transform: rotate(45deg) translateY(-50%);
    margin-top: -2px;
  }

  /* 下の文字設定（サイズ12px・中央揃え維持） */
  .button001 p {
    font-size: 12px;
    margin-top: 3px;
    white-space: nowrap;
    transform: none;
    width: 100%;
    text-align: center;
    letter-spacing: -0.5px;
  }
}




@media not all and (min-width: 480px) {



	
  .sp {
    display: block;
  }
}


/* ====================================
   PC用 レスポンシブ設定 (768px以上)
   ==================================== */
@media screen and (min-width: 768px) {

	
  /* --- レイアウト共通 --- */
  .flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* 要素を左右に配置 */
    align-items: center;
    /* 上下中央揃え */
    gap: 40px;
    /* 要素間の余白 */
  }

  /* --- ヘッダー調整 --- */
  .header-content {
    padding: 15px 40px;
    /* 左右の余白を増やす */
    /* max-width: 1200px; */
    /* 広がりすぎないように制限 */
  }

  .logo {
    width: auto;
    /* ロゴ幅の自動調整 */
  }

  .header-contact-info {
    display: flex;
    align-items: center;
    /* gap: 20px; */
  }

  /* --- プロフィールなどを横並びにする --- */
  /* HTMLの構造によりますが、画像とテキストを横並びにしたい場合に使います */
  .profile-section .flex,
  .plobrem-frame {
    max-width: 550px;
    /* コンテンツ幅をPC向けに広く */
    width: 96%;
    margin: 0 auto;
  }

  /* --- 画像サイズの制限を再設定（必要なら） --- */
  /* アイコンなどが巨大化するのを防ぐ */
  .plobrem-ul li,
  .teach-ul li {
    /* font-size: 18px; */
    /* PCでは文字を少し大きく */
    font-size: 1.8rem;
  }

  /* --- コンテンツ幅の調整 --- */
  .text,
  .input-content-text,
  .teach-content-text,
  .acc-text {
    max-width: 550px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

    /* ▼▼▼ 修正：スマホでも18pxを下回らないように設定 ▼▼▼ */
    /* 最小18px 〜 画面幅に応じて最大24pxまで大きくなります */
    font-size: clamp(18px, 4vw, 24px);

    /* 文字が大きいので、行間も少しゆったりと */
    line-height: 1.7;

    /* (任意) 文字が太すぎて圧迫感がある場合は normal にしても良いかもしれません */
    /* font-weight: normal; */
  }

  .profile-box {
    font-size: 1.2rem;
  }


  /* --- スマホ専用要素を隠す --- */
  .sp {
    display: none;
  }

  /* PC専用要素を表示するクラスが必要なら */
  .pc {
    display: block;
  }
}



/*==================================================
  PC表示用設定 (画面幅768px以上)
==================================================*/
@media screen and (min-width: 768px) {

  .pc-flex {
    display: flex;
    justify-content: center;

    /* ▼▼▼ 追加：これで2つの画像を「下揃え」にします ▼▼▼ */
    align-items: flex-end;

    /* gap: 20px; */
    max-width: 960px;
    margin: 0 auto;
  }

  .pc-flex a {
    width: 48%;
    display: block;
    transition: 0.3s;
  }

  .pc-flex a:hover {
    opacity: 0.8;
  }


}



/* PC表示の定義よりも下に記述してください */

/* 画面幅が1024px以下（タブレット〜スマホ）の時に適用 */
@media screen and (max-width: 1024px) {

  /* 1. 大枠：ロゴと茶色の帯を「縦並び」にする */
  .site-header .flex {
    flex-direction: column;
    width: 100%;
  }

  /* 2. ロゴと茶色エリアの幅を強制的に100%にする */
  .logo {
    width: 100%;
    /* ロゴが左寄りで良ければ center を flex-start に、中央なら center のまま */
    justify-content: center;
  }

  .header-content {
    width: 100%;
    /* これで茶色の背景が右端まで伸びます */

    /* 中身（電話とボタン）は「横並び」を維持 */
    flex-direction: row;
    justify-content: center;
    /* 全体を中央寄せ */
    gap: 15px;
    /* 電話とボタンの距離 */
    padding: 10px;
    /* 上下の余白調整 */
  }

  /* 3. スマホ幅（さらに狭い時）の微調整 */
  /* 文字やボタンがぶつからないように縮小 */
  .button001 a {
    /* ボタンの横幅を少しスリムに */
    padding: 10px 20px;
    min-width: auto;
    /* 必要に応じて固定幅を解除 */
  }
}

/*==================================================
  修正：ヘッダー内のレイアウト調整
==================================================*/

/* --- 1. 親枠（茶色の帯）の設定 --- */
.header-content {
  display: flex;
  justify-content: center;
  /* 横方向の中央寄せ */
  align-items: center;
  /* 【重要】縦方向のど真ん中に揃える */
  gap: 20px;
  /* 左ブロックと右ブロックの間隔 */

  /* レスポンシブ用（画面幅が狭い時）の設定 */
  flex-wrap: wrap;
  /* 必要に応じて折り返し */
}

/* --- 2. 左側：電話番号エリアの縦ズレ修正 --- */
.header-contact-info {
  display: flex;
  flex-direction: column;
  /* 縦並び */
  justify-content: center;
  /* 縦方向の中央寄せ */
  align-items: center;
  /* 横方向の中央寄せ */

  /* 【重要】行間は gap で管理し、余計な margin を消す */
  gap: 2px;
}

/* 中にあるpタグやaタグの余白を一度リセットして、ズレを無くす */
.header-contact-info p,
.header-contact-info a {
  margin: 0;
  padding: 0;
  line-height: 1.3;
  /* 行間を少し詰め気味にして一体感を出す */
}

/* --- 3. 右側：ボタンの矢印重なり修正 --- */
.button001 a {
  /* 文字サイズを少し抑えて、枠に収まりやすくする */
  font-size: clamp(13px, 1.4vw, 16px);

  /* 【重要】右の余白(55px)をガッツリ広げて、矢印のスペースを確保 */
  padding: 12px 55px 12px 30px;

  /* その他の装飾 */
  position: relative;
  display: inline-block;
  background: #C56175;
  border-radius: 50px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  /* 改行禁止 */
}

/* 矢印の位置調整 */
.button001 a:after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;

  position: absolute;
  top: 50%;
  right: 20px;
  /* 右端からの距離 */

  transform: rotate(45deg) translateY(-50%);
  margin-top: -2px;
  /* 微調整 */
}

.input-text {
  max-width: 550px;
  width: 100%;
  margin: 20px auto;
  font-size: 1.3rem;
}