@charset "UTF-8";
/* ==========================================================================
   大津百町百福物語とは（page-about.php）
   ========================================================================== */

.aboutPage {
  overflow-x: clip;
  padding-bottom: 163.2px;
}

/* はじめ（文章＋写真2枚の重なり）
   - 写真は本文の幅（900px）より右へ、ヘッダーの幅（1400px）の端まではみ出します
   - 写真2枚の大きさ・位置は、PC・スマホとも同じ比率です
   -------------------------------------------------------------------------- */
.aboutIntro {
  --introOverhang: min(250px, (100vw - var(--innerWidth)) / 2);
  padding-top: 99.9px;
}
.aboutIntro .inner {
  display: grid;
  grid-template-columns: 463.29px 1fr;
  align-items: start;
}
.aboutIntroText .pageText {
  margin-top: 26.5px;
}
.aboutIntroImgs {
  position: relative;
  margin: 5.2px calc(var(--introOverhang) * -1) 0 0;
  aspect-ratio: 686.71 / 701.42;
}
.aboutIntroImgs img {
  position: absolute;
  object-fit: cover;
}
.aboutIntroImg01 {
  top: 0;
  right: 0;
  width: 78.92%;
  aspect-ratio: 541.96 / 531.84;
}
.aboutIntroImg02 {
  bottom: 0;
  left: 0;
  width: 52.65%;
  aspect-ratio: 361.56 / 261.31;
}
@media (max-width: 1024px) {
  .aboutIntro {
    padding-top: 35.3px;
  }
  .aboutIntro .inner {
    display: flex;
    flex-direction: column-reverse;
  }
  .aboutIntroImgs {
    align-self: flex-end;
    width: min(100% + var(--sidePadding), 640px);
    margin-right: calc(var(--sidePadding) * -1);
  }
  .aboutIntroText {
    margin-top: 48.8px;
  }
  .aboutIntroText .pageText {
    margin-top: 26.9px;
  }
}

/* Section 01〜05（写真は奇数が左・偶数が右。スマホは 見出し → 写真 → 文章 の順）
   -------------------------------------------------------------------------- */
.aboutSec .inner {
  display: grid;
  grid-template-columns: 430.07px 1fr;
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "img head"
    "img text"
    "img btns";
  column-gap: 112.25px;
  align-items: start;
}
.aboutSecRev .inner {
  grid-template-columns: 1fr 430.07px;
  grid-template-areas:
    "head img"
    "text img"
    "btns img";
  column-gap: 20px;
}
.aboutSec .secHead {
  grid-area: head;
  margin-top: 0;
}
.aboutSec .secTitle {
  margin-top: 18px;
}
.aboutSec .secText {
  grid-area: text;
  margin-top: 36px;
}
/* 幅390px以上はデザインの改行どおりに（行が本文の幅の右端を少し越えます）。それより狭いスマホは自動で折り返します */
@media (min-width: 390px) {
  .aboutPage .pageText,
  .aboutSec .secText {
    white-space: nowrap;
  }
}
.aboutSecImg {
  grid-area: img;
  margin-top: 4.2px;
}
.aboutSecImg img {
  width: 100%;
  aspect-ratio: 430.07 / 310.83;
  object-fit: cover;
}
/* 写真の下のキャプション（絵の出どころ。デザインには無いので、商品詳細の写真のキャプションに合わせて右寄せの小さい文字） */
.aboutSecCaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .05em;
  text-align: right;
}
/* セクションの間隔（デザインに合わせてセクションごとに指定） */
.aboutSec01 { margin-top: 239.6px; }
.aboutSec02 { margin-top: 160.5px; }
.aboutSec03 { margin-top: 189.3px; }
.aboutSec04 { margin-top: 182.8px; }
.aboutSec05 { margin-top: 195.4px; }

.aboutBtns {
  grid-area: btns;
  display: flex;
  flex-direction: column;
  gap: 15.04px;
  margin-top: 33px;
}
@media (max-width: 1024px) {
  .aboutSec .inner,
  .aboutSecRev .inner {
    grid-template-columns: 100%;
    grid-template-rows: none;
    grid-template-areas:
      "head"
      "img"
      "text"
      "btns";
  }
  .aboutSec .secTitle {
    margin-top: 1px;
  }
  .aboutSecImg {
    margin-top: 15.1px;
  }
  .aboutSec .secText {
    margin-top: 22px;
  }
  .aboutSec01 { margin-top: 83.7px; }
  .aboutSec02 { margin-top: 53.3px; }
  .aboutSec03 { margin-top: 47px; }
  .aboutSec04 { margin-top: 49.3px; }
  .aboutSec05 { margin-top: 51.7px; }
  .aboutBtns {
    align-items: center;
    margin-top: 36px;
  }
}
@media (max-width: 560px) {
  .aboutPage {
    padding-bottom: 98.8px;
  }
  .aboutSec .secTitle {
    line-height: 32.2px;
  }
  .aboutSec .secText {
    letter-spacing: .05em;
  }
}
