/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*****************************************
 * 新設定2025_10*
 * ***************************************/
body {
    margin: 0;
    padding: 0;
    font-size: 100%;
    color: #333;
    background-color: #fff;
    font-family: "Noto Sans Japanese";
}
@media (max-width: 767px) {
/* 全体をゴシック体に統一 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Roboto", "Noto Sans JP", sans-serif !important;
}
}


p {
    font-size: 110%;
    line-height: 180%;
}

@media screen and (min-width:769px) {
    p {
        font-size: 20px;
        letter-spacing: 1px;
    }
}

.site-header {
display : none
}

/* PCでは br-pc を表示、br-sp は非表示 */
.br-pc {
  display: inline;
}
.br-sp {
  display: none;
}

/* スマホ（767px以下）では逆にする */
@media (max-width: 767px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline;
  }
}

.space-40{
	height : 40px;
}

/*ファーストビュー設定*/
/* 共通 */
/* PC用ファーストビュー */
.fv--pc {
  display: block;
  background: url('/wp-content/themes/ystandard-child/images/fv-bg-pc.jpg') no-repeat center center;
  background-size: cover;
  height: 500px; /* 仮の高さ */
  background-color: #44b4b6; /* 画像がない間だけ確認用の色 */  
  text-align: center;
}
.fv--pc .fv-main {
  max-width: 1200px;
  width: 90%;
}

/* SP用ファーストビュー */
.fv--sp {
  display: none;
  height: 300px;  /* 仮の高さ */
  background-color: #44b4b6; /* 画像がない間だけ確認用の色 */
}

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

/* メディアクエリで切り替え */
@media (max-width: 767px) {
  .fv--pc { display: none; }
  .fv--sp { display: block; }
}


/*セクション設定*/
/* トップページだけカバーの余白を上書き */
.home .wp-block-cover {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  min-height: auto !important;  /* 高さ指定が入っていた場合に解除 */
}
@media (max-width: 767px) {
.home .wp-block-cover {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
  min-height: auto !important;  /* 高さ指定が入っていた場合に解除 */
}
}

/*各セクションの見出し*/
/* 見出し部分ラッパー */
.section-nayami-heading{
  text-align: center;
  margin-bottom: 40px;
}
.section-knowhow-heading{
  text-align: center;
  margin-bottom: 40px;
}
.section-kanou-heading{
  text-align: center;
  margin-bottom: 40px;
}
.section-manabubeki-heading{
  text-align: center;
  margin-bottom: 40px;
}
.section-profile-heading{
  text-align: center;
  margin-bottom: 40px;
}

/* 上の英字（小さめ・青系） */
.section-nayami-heading .section-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #4a90e2;  /* 薄めのブルー */
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.section-knowhow-heading .section-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #4a90e2;  /* 薄めのブルー */
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.section-kanou-heading .section-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #4a90e2;  /* 薄めのブルー */
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.section-manabubeki-heading .section-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #ffff00;  /* 薄めのブルー */
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.section-profile-heading .section-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #4a90e2;  /* 薄めのブルー */
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* 日本語見出し */
.section-nayami-heading .section-title {
  font-size: 42px;
  line-height : 52px;
  font-weight: 700;
  color: #222;   /* 濃いグレー（黒に近い） */
  margin: 0;
}
.section-knowhow-heading .section-title {
  font-size: 42px;
  line-height : 52px;
  font-weight: 700;
  color: #222;   /* 濃いグレー（黒に近い） */
  margin: 0;
}
.section-kanou-heading .section-title {
  font-size: 42px;
  line-height : 52px;
  font-weight: 700;
  color: #222;   /* 濃いグレー（黒に近い） */
  margin: 0;
}
.section-manabubeki-heading .section-title {
  font-size: 42px;
  line-height : 52px;
  font-weight: 700;
  color: #fff; 
  margin: 0;
}
.section-profile-heading .section-title {
  font-size: 42px;
  line-height : 52px;
  font-weight: 700;
  color: #222;   /* 濃いグレー（黒に近い） */
  margin: 0;
}

@media (max-width: 767px) {
/* 上の英字（小さめ・青系） */
.section-nayami-heading .section-subtitle {
  font-size: 17px;
}
.section-knowhow-heading .section-subtitle {
  font-size: 17px;
}
.section-kanou-heading .section-subtitle {
  font-size: 17px;
}
.section-manabubeki-heading .section-subtitle {
  font-size: 17px;
}
.section-profile-heading .section-subtitle {
  font-size: 17px;
}

/* 日本語見出し */
.section-nayami-heading .section-title {
  font-size: 32px;
  line-height : 42px;
}
.section-knowhow-heading .section-title {
  font-size: 28px;
  line-height : 38px;
}
.section-kanou-heading .section-title {
  font-size: 32px;
  line-height : 42px;
}
.section-manabubeki-heading .section-title {
  font-size: 32px;
  line-height : 42px;
}
.section-profile-heading .section-title {
  font-size: 32px;
  line-height : 42px;
}
}


/*お悩みセクション*/
/* お悩みセクション（カバー全体に適用） */
.wp-block-cover.section-onayami {
  background: url("https://kanbetsu-shindan.client.kmi-temporary.com/wp-content/themes/ystandard-child/image/onayami-section-bg-pc.jpg") repeat-y center top;
  background-size: auto;
}

@media (max-width: 767px) {
  .wp-block-cover.section-onayami {
    background: url("https://kanbetsu-shindan.client.kmi-temporary.com/wp-content/themes/ystandard-child/image/onayami-section-bg-sp.jpg") repeat-y center top;
    background-size: auto;
  }
}

.section-onayami-list {
  max-width: 940px;   /* PC幅の最大値 */
  margin: 0 auto;     /* 中央寄せ */
  padding: 0 16px;    /* スマホ時の左右余白 */
}

.onayami-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 8px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* ふんわり影 */
}

/* 左アイコン */
.onayami-icon {
  flex-shrink: 0;
  margin-right: 16px;
}
.onayami-icon img {
  width: 110px;
  height: 110px;
}
/* 右テキスト */
.onayami-text p {
  margin: 0;
  font-size: 28px;
  line-height: 1.5;
  color: #333;
  font-weight : 900!important;
  font-family: "Noto Sans Japanese";
}
.highlight-blue {
  color: #0073e6;   /* 青色 */
  font-weight: 600; /* 少し強調 */
}
    .worry_txt {
        width: 600px;
        margin: 0 auto;
        padding: 5px 0 0 0;
    }
@media (max-width: 767px) {
.onayami-icon img {
  width: 60px;
  height: 60px;
}
.onayami-text p {
  font-size: 130%;
	line-height : 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Roboto", "Noto Sans JP", sans-serif !important;
}
    .worry_txt {
        width: auto;
        margin: 0 20px;
    }
}

/*治療院が学ぶべき…*/
.wp-block-cover.section-manabugeki {
  background: url("https://kanbetsu-shindan.client.kmi-temporary.com/wp-content/themes/ystandard-child/image/manabu-section-bg-pc.jpg") repeat-y center top;
  background-size: auto;
}

@media (max-width: 767px) {
  .wp-block-cover.section-manabubeki {
    background: url("https://kanbetsu-shindan.client.kmi-temporary.com/wp-content/themes/ystandard-child/image/manabu-section-bg-sp.jpg") repeat-y center top;
    background-size: auto;
  }
}

.douga_youi_box{
  max-width : 1050px;
  width : 95%;
  margin : 0 auto;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 40px 18px;
  text-align: left;

  display: flex;
  align-items: flex-start;      /* ←テキスト基準に揃える */
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;       /* ←パディングを含めて計算 */
}

.douga_youi_ttl{
  font-size : 110%;
  font-weight : 600;
  margin-top : 20px;
}

.douga_youi_text {
  flex-basis: 55%;   /* 左テキスト幅60% */
  max-width: 55%;
  box-sizing: border-box;
}
.douga_youi_text p{
  font-size : 16px;
}

.douga_youi_img {
  flex-basis: 45%;   /* 右画像幅40% */
  max-width: 45%;
  box-sizing: border-box;
}

.douga_youi_img img {
  max-width: 100%;   /* 親の幅に収める */
  height: auto;
  display: block;
  object-fit: contain; /* はみ出し防止 */
  border-radius: 8px;
}

/* ▼ スマホでは縦並び */
@media (max-width: 767px) {
  .douga_youi_box{
    width : auto;
    margin : 0 20px;
    flex-direction: column;
  }
.douga_youi_ttl{
  margin-bottom : 20px;
}
  .douga_youi_text,
  .douga_youi_img {
    flex-basis: 100%;
    max-width: 100%;
  }
}


/* ▼ EpisodeCards：2カラムレイアウト */
.epsodeCards{
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px;
}

.epsodeCards__inner{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* カード本体 */
.epsodeCard{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.epsodeCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}

/* タイトル */
.epsodeCard__no{
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.2;   /* 行間を少し詰める */
  margin: 20px 0 0 0;          /* 下余白を削除 */
  color: #333;  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.epsodeCard__name{
  font-weight: 700;
  font-size: 1em;
  line-height: 1.2;   /* 行間を詰める */
  margin: 2px 0 15px 0;    /* 上にほんの少し余白 */
  color: #367dff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* アイコン */
.epsodeCard__icon{
  width: 100px;
  height: 100px;
  margin: 0 auto;
  overflow: hidden;
  background: none;
}
.epsodeCard__icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 説明文 */
.epsodeCard__desc{
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
}

/* スマホでは1カラム */
@media (max-width: 640px){
  .epsodeCards__inner{
    grid-template-columns: 1fr;
  }
  .epsodeCard{
    padding: 18px 16px;
  }
}

.mitadake-text{
	text-align : center;
	color : #fff;
	line-height : 150%;
}
.shitsumone-text{
	text-align : center;
	font-size : 30px;
	font-weight : 600;
	color : #fff;
	line-height : 0;
}

/* デフォルトはPC用を表示、SP用を非表示 */
.sp-only { display:none; }
.pc-only { display:block; }

/* スマホでは逆にする */
@media (max-width:767px){
  .sp-only { display:block; }
  .pc-only { display:none; }
}



/*鑑別診断を学ぶことで可能になること*/
.kanou_box {
    max-width: 880px;
    margin: 0 auto;
    padding: 40px 80px;
    background-color: rgba(255, 255, 255, 0.3); /* 完全透過 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 薄い影 */
    border-radius: 8px; /* 角丸を付けたい場合は追加（任意） */
}
/* セクション全体の箱感（薄い影＋角丸） */
.knowhow-box{
  max-width: 960px;
  margin: 32px auto;
  padding: 24px 28px;
  background: #fff;              /* 必要に応じて透過にしてOK：rgba(255,255,255,.9) */
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
}

/* チェックリスト：ベース */
.knowhow-checklist{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各行：チェックマーク＋下線（罫線）を再現 */
.knowhow-checklist li{
  position: relative;
  display: flex;              /* アイコンとテキストを横並びに */
  align-items: flex-start;    /* 上端で揃える */
  padding: 14px 8px 14px 0;   /* 左余白は不要、::beforeで確保 */
  font-size: 130%;
  font-weight: 600;
  line-height: 1.7;
  color: #222;
  border-bottom: 1px dotted #333;  /* 下線を薄めに */
}


/* チェックマーク（CSSで描画：丸背景＋✔） */
.knowhow-checklist li::before{
  content: "✓";
  flex: 0 0 24px;             /* 固定幅のアイコン領域 */
  height: 24px;
  margin-right: 12px;         /* テキストとの間隔 */
  margin-top: 6px;            /* テキストと縦位置を微調整 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: #367dff;        /* ご指定の青 */
  box-shadow: 0 2px 6px rgba(15,76,129,.25);
}

/* 行のアクセント（下線を“下側強調”っぽく見せる二重線風） */
.knowhow-checklist li::after{
  content: "";
  position: absolute;
  left: 34px;                  /* テキスト開始位置に揃える */
  right: 0;
  bottom: -1px;                /* border-bottom と重ねる */
  height: 1px;
  background: linear-gradient(to right, #cfd7e6, #e9edf3);
  opacity: .7;
  pointer-events: none;
}

/* モバイル微調整 */
@media (max-width: 767px){
.kanou_box {
    width: auto;
    margin: 0 20px;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.3); /* 完全透過 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 薄い影 */
    border-radius: 8px; /* 角丸を付けたい場合は追加（任意） */
}
  .knowhow-box{
    margin: 24px 16px;
    padding: 18px 16px;
  }
  .knowhow-checklist li{
    padding: 12px 0;           /* 左余白は不要、::beforeで確保 */
    font-size: 18px;
  }
  .knowhow-checklist li::before{
    flex: 0 0 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 2px;           /* 縦位置を微調整 */
    font-size: 13px;
  }
  .knowhow-checklist li::after{
    left: 30px;                /* スマホ用に開始位置を微調整 */
  }
}

/*鑑別診断を学ぶことで可能になること*/
/* コンテナ（最大幅1080px/中央寄せ） */
.PossibleCards{
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* 3カラム（レスポンシブ対応）*/
.PossibleCards__inner{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* カード本体：白のやや透過＋枠＋シャドウ */
.PossibleCard{
  background: rgba(255,255,255,0.92);     /* 白・わずかに透過 */
  border: 1px solid rgba(0,0,0,0.06);      /* ごく薄い枠 */
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);/* 薄い影 */
  padding: 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ほんの少しのホバー演出（任意） */
.PossibleCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}

/* タイトル：太字/110%（高さ揃え＋中央寄せ） */
.PossibleCard__title{
  font-weight: 700;
  font-size: 1.4em;   /* 110% */
  line-height: 1.3;
  margin: 0 0 8px;
    color: #367dff;

  /* ▼高さを固定（2行分を確保） */
  min-height: 3em;    /* line-height(1.5) × 2行 = 3.0em */

  /* ▼中央寄せ */
  display: flex;
  align-items: center;   /* 垂直方向の中央寄せ */
  justify-content: center; /* 横方向の中央寄せ（任意） */
  text-align: center;   /* テキスト中央寄せ */
}

/* アイコン（画像 or 絵文字） */
.PossibleCard__icon{
  width: 100px;
  height: 100px;
  margin: 0 auto;
  overflow: hidden;  /* ←これでアイコン画像を丸く切り抜き */
  background: none;  /* ←背景色を消す */
}
.PossibleCard__icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 説明文 */
.PossibleCard__desc{
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  text-align : left;
}

/* レスポンシブ：中間(≤1024px)は2列 */
@media (max-width: 1024px){
  .PossibleCards__inner{
    grid-template-columns: repeat(2, 1fr);
  }
.PossibleCards{
  width: auto;
  margin: 0 auto;
  padding: 10px 5px;
}
}

/* レスポンシブ：スマホ(≤640px)は1列 */
@media (max-width: 640px){
  .PossibleCards__inner{
    grid-template-columns: 1fr;
  }
  .PossibleCard{
    padding: 18px 16px;
  }
}

/* プロフィール */
.prf_box {
  width: 860px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.prf_pict {
  width: 30%;
}

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

.prf_text {   /* ←クラス名を修正（HTMLと一致） */
  width: 65%;
  padding: 0;
  box-sizing: border-box;
}

.prf_text p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.prf_degree {
  font-size: 18px;
  text-align: left;
  margin-bottom: 4px;
}

.prf_name {
  font-size: 28px;
  text-align: left;
  margin-bottom: 12px;
}

hr.kugiri{
  border: 0;                                 /* 既定の境界線をリセット */
  border-top: 1px dotted rgba(0,0,0,0.2);    /* 薄いドット線 */
  margin: 20px 0 40px;                       /* 下側に40pxの余白 */
  height: 0;                                  /* 余計な高さを持たせない */
}


/* ▼ スマホ（768px以下）では縦並び */
@media (max-width: 768px){
  .prf_box {
    flex-direction: column;
    width: 100%;
  }

  .prf_pict,
  .prf_text {
    width: 100%;
  }

  .prf_pict {
    margin-bottom: 16px; /* 画像とテキストの間に余白 */
  }
.prf_pict img {
  width: 50%;
  height: auto;
  display: block;
  text-align : center;
  margin : 0 auto;
}
.prf_degree {
  font-size: 18px;
  line-height : 28px;
  font-weight : 600;
  margin-bottom: 0px;
  text-align : center;
}

.prf_name {
  font-size: 28px;
  text-align: center;
  margin-bottom: 12px;
  font-weight : 600;
}
}

/* フッター固定CTAエリア */
.fixed-cta {
    display: block;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
    text-align: center;
    margin: 0;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.3);
}

/* ボタン部分 */
.fixed-cta__btn {
  display: flex;               
  align-items: center;
  justify-content: center;
  gap: 12px;

  max-width: 540px;
  margin: 0 auto;

  background: linear-gradient(to bottom, #ffa733, #ff6600);
  color: #fff;
  font-size: 20px;
  font-weight: 700;

  padding: 18px 28px;
  border-radius: 40px;
  text-decoration: none;
  border: 2px solid #e65c00;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);

  transition: background 0.3s, transform 0.2s;
}

/* アイコン部分 */
.fixed-cta__btn::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #fff; /* 白丸 */

  /* オレンジ矢印をSVGで中央配置 */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='8,5 19,12 8,19' fill='%23ff6600'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 75% 75%; /* ← 60% → 75% に変更して矢印を拡大 */
}

/* hover演出 */
.fixed-cta__btn:hover {
  background: linear-gradient(to bottom, #ffb347, #e65c00);
  transform: translateY(-2px);
  color: #fff;
}
@media (max-width: 767px) {
  .fixed-cta__btn {
    margin-left: 12px;
    margin-right: 12px;
    width: auto; /* 幅を縮めて左右余白が反映されるように */
  }
}

