@charset "UTF-8";
/* ==========================================================================
   当院についてページ専用スタイル（p-about-）
   共通部品（c-）は common.css 側を使い、ここにはこのページ固有のものだけを書く。
   カンプ: Figma winjeLDXMguhfDP4yN4FVL / node-id 1259-10777（PC 1440px）
   ※ 施術案内（1259-9957）と同じ改訂版。ページMVは共通部品 c-page-mv を使い、
      ここでは写真・装飾円の位置など、このページ固有の差分だけを指定する。
   ========================================================================== */

.p-about-inner { width: 100%; }

/* ==========================================================================
   1. ページMV
   ========================================================================== */
/* 共通部品 c-page-mv（common.css）を使い、ここではページ固有の差分だけ指定する */
.p-about-mv { padding-bottom: 99px; }

.p-about-mv-photo--01 { left: 57.64%; top: 73px;  width: 18.89%; }
.p-about-mv-photo--02 { left: 70%;    top: 156px; width: 30%; }

/* 装飾円（MV） */
.p-about-mv .c-deco-circle--blue        { left: 91px;   top: 73px;  width: 172px; height: 172px; }
.p-about-mv .c-deco-circle--cream       { left: 218px;  top: 193px; width: 113px; height: 113px; }
.p-about-mv .c-deco-circle--pink        { left: 1270px; top: -18px; width: 122px; height: 122px; }
.p-about-mv .c-deco-circle--blue-small  { left: 919px;  top: 258px; width: 121px; height: 121px; background: var(--c-blue02); }

.p-about-mv .c-page-mv-en{
  line-height: 1.4;
}

/* ==========================================================================
   2. 「がちょう整骨院 院長 3つの想い」の見出し
      手書き風の吹き出し＋装飾数字のため、画像で入れる
   ========================================================================== */
.p-about-omoi-head {
  position: relative;
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
  justify-content: center;
  align-items: center;
}

/* h1〜h5 の中に img を入れられないため background-image で表示する */
.p-about-omoi-head-title {
  width: 523px;
  height: 210px;
  background: url("/system_panel/uploads/images/about_heading-omoi.png") no-repeat center center / contain;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1px;
}

.p-about-omoi-head-mascot {
  width: 200px;
  height: 200px;
}

.p-about-omoi-head-caption {
  position: absolute;
  left: 1090px;
  top: 210px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   3. 3つの想い（01〜03）
   ========================================================================== */
.p-about-omoi { position: relative; }

/* 帯が右端まで伸びる（左側が120px角丸） */
.p-about-omoi--r {
  margin-left: 5%;
  border-radius: var(--r-band) 0 0 var(--r-band);
}

/* 帯が左端まで伸びる（右側が120px角丸） */
.p-about-omoi--l {
  margin-right: 5%;
  border-radius: 0 var(--r-band) var(--r-band) 0;
}

.p-about-omoi + .p-about-omoi { margin-top: 96px; }
.p-about-omoi--blue03 { margin-top: 70px; }

.p-about-omoi--blue01 { background: var(--c-blue01); }
.p-about-omoi--blue02 { background: var(--c-blue02); }
.p-about-omoi--blue03 { background: var(--c-blue03); }

.p-about-omoi-inner {
  display: flex;
  gap: 38px;
}

.p-about-omoi--r .p-about-omoi-inner { padding: 64px 5% 70px 185px; }
.p-about-omoi--l .p-about-omoi-inner { flex-direction: row-reverse; padding: 39px 177px 42px 5%; }

.p-about-omoi-figure {
  position: relative;
  flex: 0 0 337px;
  max-width: 337px;
}

.p-about-omoi-photo {
  display: block;
  width: 100%;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-hard);
}

/* 破線の丸番号（写真の左上／右上に重なる） */
.p-about-omoi-num {
  position: absolute;
  left: -124px;
  top: -70px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 192px;
  height: 192px;
  background: var(--c-white);
  border: 4px dashed var(--c-navy);
  border-radius: 50%;
  box-shadow: var(--shadow-hard);
  font-family: var(--font-ja);
  font-size: 7rem;
  font-weight: 700;
  line-height: -1;
  letter-spacing: 0.02em;
  color: var(--c-navy);
}

.p-about-omoi--l .p-about-omoi-num { left: auto; right: -124px; }

.p-about-omoi-body {
  flex: 1 1 auto;
  min-width: 0;
}

.p-about-omoi-title {
  font-family: var(--font-ja);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.p-about-omoi-text {
  margin-top: 40px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.p-about-omoi-text + .p-about-omoi-text { margin-top: 20px; }

/* ==========================================================================
   4. PHILOSOPHY（経営理念）
   ========================================================================== */
.p-about-philosophy {
  position: relative;
  padding: 58px 48px 56px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.p-about-phil-blocks { margin-top: 26px; }

.p-about-phil-block { padding: 14px 0 26px; }

.p-about-phil-block + .p-about-phil-block {
  border-top: 1px solid rgba(24, 61, 129, 0.25);
}

.p-about-phil-label-en {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #8a9bb5;
}

.p-about-phil-label-ja {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.p-about-phil-value {
  margin-top: 22px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* 装飾円（PHILOSOPHY まわり）
   円は .p-about-philosophy の中に入れ、パネルの枠を基準に配置する
   （ウィンドウ左右の端からの絶対配置だと、画面幅が変わるとパネルとの位置関係がずれるため）。
   数値はカンプ（1440px）の座標からパネルの padding box を基準に取り直した値。
   左右はパネルの左端／右端から、上下はパネルの上端／下端から測っている。 */
.p-about-philosophy-wrap { position: relative; margin-top: 135px; }
.p-about-philosophy .c-deco-circle--blue  { right: -98px;  top: -82px; width: 150px; height: 150px; mix-blend-mode:multiply; z-index: 1;}
.p-about-philosophy .c-deco-circle--cream { left: -118px;  bottom: -92px; width: 200px; height: 200px; mix-blend-mode:multiply; z-index: 1;}
.p-about-philosophy .c-deco-circle--pink  { left: 22px;    bottom: -162px; width: 113px; height: 113px; mix-blend-mode:multiply; z-index: 1;}

/* ==========================================================================
   5. GALLERY（院内写真ギャラリー・横スクロール）
   ========================================================================== */
.p-about-gallery { padding: 186px 0 155px; }

.p-about-gallery-en {
  display: inline-block;
  padding-bottom: 0;
  border-bottom: 0;
  font-family: var(--font-base);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-blue-light);
}

.p-about-gallery-ja {
  margin-top: 8px;
  font-family: var(--font-ja);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

/* Splide（arrows は Splide が実行時に生成する。ページには書かない） */
.p-about-gallery-slider { margin-top: 76px; }

.p-about-gallery-slider .splide__arrow {
  width: 56px;
  height: 56px;
  background: var(--c-white);
  border: 2px solid var(--c-navy);
  box-shadow: var(--shadow-hard);
  opacity: 1;
}

.p-about-gallery-slider .splide__arrow svg {
  width: 18px;
  height: 18px;
  fill: var(--c-navy);
}

.p-about-gallery-slider .splide__arrow--prev { left: 24px; }
.p-about-gallery-slider .splide__arrow--next { right: 24px; }

.p-about-gallery-slider .splide__arrow:hover:not(:disabled) {
  background: var(--c-blue02);
  opacity: 1;
}

/* 矢印は写真の高さの中央に置く（キャプション分を除く） */
.p-about-gallery-slider .splide__arrows { position: static; }
.p-about-gallery-slider .splide__arrow { top: 159px; }

.p-about-gallery-item img {
  display: block;
  width: 100%;
  border-radius: var(--r-card);
}

.p-about-gallery-caption {
  margin-top: 30px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

/* ==========================================================================
   レスポンシブ（SP 〜767px / タブレット 768〜991px）
   ※ SP・タブレットのカンプが無いため、こちら側で設計した値
   ========================================================================== */
@media (max-width: 991.98px) {
  .p-about-inner { padding: 0 20px; }


  .p-about-omoi-head { flex-direction: column; padding: 8px 0 0; text-align: center; }
  .p-about-omoi-head-title {
    position: static;
    display: block;
    width: 100%;
    margin: 0 auto;
    background-size: contain;
    background-position: center center;
  }
  .p-about-omoi-head-caption { position: static; display: block; margin-top: 4px; text-align: center; }
  .p-about-omoi-head-mascot { width: 150px; height: auto; margin-left: 8px; }

  .p-about-omoi--r { margin-left: 0; border-radius: 60px 60px 0 0; }
  .p-about-omoi--l { margin-right: 0; border-radius: 0 0 60px 60px; }
  .p-about-omoi--r .p-about-omoi-inner,
  .p-about-omoi--l .p-about-omoi-inner {
    flex-direction: column;
    gap: 24px;
    padding: 96px 20px 40px;
  }
  .p-about-omoi-figure { flex: 0 0 auto; width: 337px; max-width: 100%; margin: 0 auto; }
  /* 写真には丸番号が写り込んでいるため、SPでも同じ位置に重ねて隠す */
  .p-about-omoi-num { left: -14px; top: -46px; width: 30%; height: 30%; font-size: 4rem;}
  .p-about-omoi--l .p-about-omoi-num { left: auto; right: -14px; top: -46px;}
  .p-about-omoi-title { font-size: 1.375rem; text-align: center; }
  .p-about-omoi-text { margin-top: 20px; font-size: 0.9375rem; }

  .p-about-philosophy { padding: 40px 20px 48px; }
  .p-about-phil-block { padding: 18px 0 28px; }
  .p-about-phil-value { font-size: 1.0625rem; }
  .p-about-philosophy-wrap .c-deco-circle { display: none; }

  .p-about-gallery { padding: 72px 0 64px; }
  .p-about-philosophy-wrap { margin-top: 56px; }
  .p-about-gallery-en { font-size: 1.875rem; }
  .p-about-gallery-ja { font-size: 1.25rem; }
  .p-about-gallery-slider { margin-top: 36px; }
  .p-about-gallery-slider .splide__arrow { width: 44px; height: 44px; top: 112px; }
  .p-about-gallery-slider .splide__arrow--prev { left: 8px; }
  .p-about-gallery-slider .splide__arrow--next { right: 8px; }
  .p-about-gallery-caption { margin-top: 16px; font-size: 0.875rem; }
}

@media (max-width: 767.98px) {
  /* MV: 767px以下はカンプ 1396-21350 の記事型SPレイアウト（common.css の c-page-mv--article）。
     768〜991px はPCと同じ表示にするため、タブレット向けの指定は置かない */
  .p-about-mv { padding-bottom: 48px; }

  .p-about-omoi-head-title { max-width: 300px; height: 100px; }
  .p-about-omoi-head-mascot { margin: 8px 0 0; }
  .p-about-gallery-slider .splide__arrow { width: 38px; height: 38px; top: 90px; }
}
