/*
 * ⑮当院の想い・コンセプト 本文（Figma 2566:8201）。基準幅1440px。
 * 横位置・幅はFigmaのpxを1440の箱に対する割合（calc(N * 100% / 1440)）で書き、1440pxで原本の値になる。縦位置はpx。
 * ブロックの高さは本文群3475px（第11ラウンドで下の余白200pxを外した。次は concept-reason）。
 */
.concept-body{overflow-x:clip;background:var(--color-white)}
.concept-body__inner{position:relative;max-width:var(--page-width);margin:0 auto}/* 第11ラウンド: 本文群の直後に concept-reason（上の余白109を含む）が入ったため、まとめCTAまでの余白200pxを外した */

/* 冒頭: 枠線・院長の淡い写真・メッセージ */
.concept-body__intro{position:relative;height:514px}
/* 枠線（Vector 39: 0.5px #030303 のL字）。原本の描画（縦は1列50%、横は2行25%ずつ）に合わせて帯で描く */
.concept-body__intro::before,.concept-body__intro::after{content:"";position:absolute;pointer-events:none}
.concept-body__intro::before{top:0;left:calc(164 * 100% / 1440);width:1px;height:403px;background:rgba(3,3,3,.5)}
.concept-body__intro::after{top:402px;left:calc(165 * 100% / 1440);width:calc(1061 * 100% / 1440);height:2px;background:rgba(3,3,3,.25)}
.concept-body__doctor{position:absolute;z-index:1;top:0;left:calc(969 * 100% / 1440);width:calc(471 * 100% / 1440);height:586px;pointer-events:none}
.concept-body__doctor-img{display:block;width:100%;height:100%;max-width:none;object-fit:fill}
.concept-body__statement{position:relative;max-width:calc(1060 * 100% / 1440);margin-left:calc(256 * 100% / 1440);padding-top:181px;font-family:var(--font-mincho);font-size:24px;font-weight:400;line-height:46px;letter-spacing:1.92px;color:var(--color-charcoal)}

/* 5項目: 写真（重なり・ぼかしは装飾として絶対配置）＋文章 */
.concept-body__item{position:relative}
.concept-body__item--1{min-height:575px}
.concept-body__item--2{min-height:480px;margin-top:69px}
.concept-body__item--3{min-height:455px;margin-top:109px}
.concept-body__item--4{min-height:563px;margin-top:149px}
.concept-body__item--5{min-height:452px;margin-top:109px}
.concept-body__media{position:absolute;inset:0}
.concept-body__photo{position:absolute;overflow:hidden}
.concept-body__photo--blur{overflow:visible;filter:blur(2.9px)}
.concept-body__photo--crop{overflow:hidden}
.concept-body__img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
/* 書き出し済みPNG（不透明度40%を含む）を枠に合わせて伸縮表示する（Figmaの object-bottom・fill と同じ） */
.concept-body__img--fill{object-fit:fill}
.concept-body__img--faint{opacity:.4}
.concept-body__img--lips{object-position:32.07% 50%}
.concept-body__img--consultation{position:absolute;top:-52.77%;left:.05%;width:124.99%;height:152.77%;opacity:.4}

.concept-body__item--1 .concept-body__photo--sub{top:146px;left:0;width:calc(474 * 100% / 1440);height:429px}
.concept-body__item--1 .concept-body__photo--main{top:0;left:calc(189 * 100% / 1440);width:calc(467 * 100% / 1440);height:452px}
.concept-body__item--2 .concept-body__photo--sub{top:173px;left:calc(879 * 100% / 1440);width:calc(562 * 100% / 1440);height:307px}
.concept-body__item--2 .concept-body__photo--main{top:0;left:calc(786 * 100% / 1440);width:calc(655 * 100% / 1440);height:383px}
.concept-body__item--3 .concept-body__photo--main{top:0;left:calc(1 * 100% / 1440);width:calc(655 * 100% / 1440);height:455px}
.concept-body__item--4 .concept-body__photo--sub{top:94px;left:calc(965 * 100% / 1440);width:calc(474 * 100% / 1440);height:469px}
.concept-body__item--4 .concept-body__photo--main{top:0;left:calc(784 * 100% / 1440);width:calc(547 * 100% / 1440);height:465px}
.concept-body__item--5 .concept-body__photo--sub{top:145px;left:calc(1 * 100% / 1440);width:calc(496 * 100% / 1440);height:307px}
.concept-body__item--5 .concept-body__photo--main{top:0;left:calc(1 * 100% / 1440);width:calc(655 * 100% / 1440);height:383px}

.concept-body__text{position:relative;z-index:1;width:calc(510 * 100% / 1440);margin-left:calc(753 * 100% / 1440)}
.concept-body__item--1 .concept-body__text{padding-top:198px}
.concept-body__item--2 .concept-body__text{width:calc(518 * 100% / 1440);margin-left:calc(189 * 100% / 1440);padding-top:86px}
.concept-body__item--3 .concept-body__text{padding-top:61px}
.concept-body__item--4 .concept-body__text{margin-left:calc(187 * 100% / 1440);padding-top:136px}
.concept-body__item--5 .concept-body__text{padding-top:86px}
.concept-body__title{max-width:380px;font-family:var(--font-mincho);font-size:22px;font-weight:400;line-height:40px;letter-spacing:1.76px;color:var(--color-charcoal)}
.concept-body__desc{margin-top:59px;font-family:var(--font-sans);font-size:14px;font-weight:400;line-height:31px;letter-spacing:1.12px;color:var(--color-warm-brown-gray)}
.concept-body__links{display:flex;flex-wrap:wrap;gap:16px 48px;margin-top:40px}

/* ---------- SP（1023px以下。Figma ⑮ SP 2881:24808 の Group 1321320596 2881:24826、基準 393px） ----------
   縦1列: メッセージ → 項目ごとに写真（重なり）→ 見出し → 本文。横は 24px の余白、写真の幅・左位置は 345px の箱に対する割合。
   行の高さは Figma の描画どおり整数pxに丸めた値（19px×1.9→36、17px×1.8→31、13px×2→26。参照画像の行位置で確認）。
   SP に無いもの（冒頭の院長の写真・L字の枠線、項目4・5の背面のぼかし写真）は出さない（編集項目は残る）。 */
@media (max-width:1023px){
  .concept-body__inner{padding:72px 24px 40px}
  .concept-body__intro{height:auto}
  .concept-body__intro::before,.concept-body__intro::after,.concept-body__doctor{display:none}
  .concept-body__statement{max-width:none;margin-left:0;padding-top:0;font-size:19px;line-height:36px;letter-spacing:1.52px}

  .concept-body__item,.concept-body__item--2,.concept-body__item--3,.concept-body__item--4,.concept-body__item--5{min-height:0;margin-top:40px}
  .concept-body__media{position:relative;inset:auto}
  .concept-body__item--1 .concept-body__media{height:384.5px}
  .concept-body__item--2 .concept-body__media{height:254px}
  .concept-body__item--3 .concept-body__media{height:240px}
  .concept-body__item--4 .concept-body__media{height:293px}
  .concept-body__item--5 .concept-body__media{height:202px}
  .concept-body__item--4 .concept-body__photo--sub,.concept-body__item--5 .concept-body__photo--sub{display:none}
  /* 項目1: ぼかし写真 345×333（書き出しPNGに不透明度40%を含む）の上に、右寄せの写真 247×322（左98・上62.5） */
  .concept-body__item--1 .concept-body__photo--sub{top:0;left:0;width:100%;height:333px}
  .concept-body__item--1 .concept-body__photo--main{top:62.5px;left:calc(98 * 100% / 345);width:calc(247 * 100% / 345);height:322px}
  .concept-body__img--lips{object-position:38.2% 50%}/* Figma の切り抜き left-56.37%・幅247.55% を cover の位置に直した値 */
  /* 項目2: 写真 345×202 の下に、ぼかし写真 369×201（左37・上53。右は画面外へはみ出して切れる） */
  .concept-body__item--2 .concept-body__photo--sub{top:53px;left:calc(37 * 100% / 345);width:calc(369 * 100% / 345);height:201px}
  .concept-body__item--2 .concept-body__photo--main,.concept-body__item--3 .concept-body__photo--main,.concept-body__item--4 .concept-body__photo--main,.concept-body__item--5 .concept-body__photo--main{top:0;left:0;width:100%;height:100%}
  .concept-body__item--2 .concept-body__photo--main{height:202px}

  .concept-body__text,.concept-body__item--1 .concept-body__text,.concept-body__item--2 .concept-body__text,.concept-body__item--3 .concept-body__text,.concept-body__item--4 .concept-body__text,.concept-body__item--5 .concept-body__text{width:auto;margin-left:0;padding-top:24px}
  .concept-body__title{max-width:none;font-size:17px;line-height:31px;letter-spacing:1.36px}
  .concept-body__desc{margin-top:30px;font-size:13px;line-height:26px;letter-spacing:1.04px}
  .concept-body__links{gap:0;margin-top:20px}
  /* 項目3のリンク2本: 幅165pxの枠2つ（間15px）の中央。狭い画面では枠が縮む */
  .concept-body__item--3 .concept-body__links{display:grid;grid-template-columns:repeat(2,minmax(0,165px));gap:22.5px 15px;justify-items:center}
}
.concept-body__photo > picture{display:block;width:100%;height:100%}

/* ---------- concept-reason: 自費診療専門である理由（第11ラウンド 2026-11-07 追加。PC 3355:1790 1440×1180＋上の余白109＝1289px） ----------
   原本の区画は構造データで x=1441 にあり、区画ごと左右反転（中身も個別に反転して元の向き）で本文の直後に描かれる。
   表示位置（1441−x−幅）に直した: 質感写真 左267・上126（区画内17）691×1008、写真1 左841・上345 543×478、文章 左175・上329 幅637、写真2 左679・上925 464×304。
   文章と写真2は通常の流れ（文章が増えても写真2に重ならない）、質感写真と写真1は絶対配置。行の高さは Figma が整数pxに丸めた値（15×2.1→31、13.5×2.1→28、17×1.8→31、24×1.1→26）。 */
.concept-reason{overflow-x:clip;background:var(--color-white)}
.concept-reason__inner{position:relative;max-width:var(--page-width);margin:0 auto;padding:329px 0 60px}
.concept-reason__texture{position:absolute;top:126px;left:calc(267 * 100% / 1440);width:calc(691 * 100% / 1440);height:1008px;pointer-events:none}
.concept-reason__texture-img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}/* 書き出しPNGに不透明度30%が焼き込み済み（アルファ 47〜76/255）。CSS では重ねない */
.concept-reason__photo{overflow:hidden}
.concept-reason__photo--1{position:absolute;top:309px;left:calc(841 * 100% / 1440);width:calc(543 * 100% / 1440);height:523px}/* 第13ラウンド: 写真の差し替え（3441:3175）で上36px・高さ+45px（478→523） */
.concept-reason__photo--2{position:relative;margin-top:93px;margin-left:calc(679 * 100% / 1440);width:calc(464 * 100% / 1440);height:304px}
.concept-reason__img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.concept-reason__img--smile{object-position:78.66% 0}/* 第13ラウンド: 新しい写真（3840×2160）の切り抜きは Figma の書き出しとの当てはめで cover・横 78.66%・上端（倍率は cover の1.001倍） */
.concept-reason__content{position:relative;z-index:1;width:calc(637 * 100% / 1440);margin-left:calc(175 * 100% / 1440)}
.concept-reason__title{font-family:var(--font-mincho);font-size:30px;font-weight:400;line-height:48px;letter-spacing:3px;color:var(--color-charcoal)}
.concept-reason__title::after{content:"";display:block;width:36px;height:1px;margin-top:24px;background:var(--color-charcoal)}
.concept-reason__lead{margin-top:24px;font-family:var(--font-sans);font-size:15px;font-weight:400;line-height:31px;letter-spacing:1.2px;color:var(--color-warm-brown-gray)}
.concept-reason__list{display:flex;flex-direction:column;gap:22px;margin:24px 0 0;padding:50px 0 0;list-style:none}
.concept-reason__item{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:start}/* 原本の間は14pxだが、番号の箱がブラウザでは原本（01: 21px、02・03: 23px）より2px広いため12pxにして見出し・本文の左端（区画内 35・37）に合わせた */
.concept-reason__number{grid-row:1;grid-column:1;margin-top:2px;font-family:var(--font-en);font-size:24px;font-weight:300;line-height:26px;letter-spacing:1.44px;color:var(--color-stone-gray)}
.concept-reason__item-title{grid-row:1;grid-column:2;font-family:var(--font-mincho);font-size:17px;font-weight:500;line-height:31px;letter-spacing:1.7px;color:var(--color-charcoal)}
.concept-reason__item-text{grid-row:2;grid-column:2;margin-top:6px;font-family:var(--font-sans);font-size:13.5px;font-weight:400;line-height:28px;letter-spacing:.54px;color:var(--color-warm-brown-gray)}

/* SP（1023px以下。3359:3452 393×1217）: 写真1 345×384 → 12 → 見出し → 12 → 本文 → 24 → 3項目（間20）→ 24 → 写真2 345×179。上下72・左右24。
   SP に質感写真と見出しの下の線は無い。本文の色は SP のキャンバスでは #151515（PC は #6b655d）。 */
@media (max-width:1023px){
  .concept-reason__inner{display:flex;flex-direction:column;padding:72px 24px}
  .concept-reason__texture,.concept-reason__title::after{display:none}
  .concept-reason__photo--1{position:relative;top:auto;left:auto;order:1;width:100%;height:384px}
  .concept-reason__img--smile{object-position:83.54% 0;transform:scale(1.01425);transform-origin:0 0}/* 第13ラウンド: SP の切り抜き（3479:27792 の書き出しとの当てはめ）は cover の1.014倍・左−286.1px・上端。cover・横83.54% を左上を起点に拡大 */
  .concept-reason__content{order:2;width:auto;margin:12px 0 0}
  .concept-reason__title{font-size:22px;line-height:35px;letter-spacing:2.2px}
  .concept-reason__lead{margin-top:12px;font-size:13px;line-height:27px;letter-spacing:.52px;color:var(--color-charcoal)}
  .concept-reason__list{gap:20px;margin-top:24px;padding-top:0}
  .concept-reason__item{column-gap:9px;align-items:center}/* 原本の間は10px（番号の箱 18・19px）。PC と同じく番号の箱がブラウザで約1px広いため9px */
  .concept-reason__number{font-size:20px;line-height:22px;letter-spacing:1.2px}
  .concept-reason__item-title{font-size:15px;line-height:27px;letter-spacing:1.5px}
  .concept-reason__item-text{font-size:12.5px;line-height:26px;letter-spacing:.5px}
  .concept-reason__photo--2{order:3;width:100%;height:179px;margin:24px 0 0}
}
