/* -------- カラー / 共通変数 -------- */
:root {
  --color-primary: #0022a5;
  --color-primary-soft: #92a1c7;
  --color-text: #393939;
  --color-text-strong: #3b3c40;
  --color-blue-bg: #e5e7f3;
  --color-store-line: #392214;
  --color-store-bg: #e1dedc;
  --font-en: "Marcellus", serif;
  --font-mincho: "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --font-noto: "Noto Sans JP", "Noto Sans JP", sans-serif;
  --content-width: 1200px;
  --content-gutter: 40px;
}

/* -------- レイアウト土台 -------- */
.layout {
  overflow-x: hidden;
}

.inner {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

/* =============================================================
共通パーツ（margin / width は持たせない）
   ============================================================= */

/* ページタイトル */
.page-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  opacity: 1;
}

.page-title__en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 70px;
  line-height: 1.2;
  letter-spacing: .05em;
}

.page-title__ja {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.02em;
  padding: 20px 0;
}

.page-title--dark {
  color: var(--color-text-strong);
}

/* セクションタイトル */
.section-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-title__en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 58px;
  line-height: 1.2;
  letter-spacing: .05em;
  color: var(--color-text-strong);
}

.section-title__ja {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0em;
  padding: 20px 0;
  color: #000;
}

.section-title--center {
  align-items: center;
  text-align: center;
}

/* ボタン */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 25px;
  background-color: #fff;
  box-shadow: inset 0 0 0 1px var(--color-primary);
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-primary);
  cursor: pointer;
  text-align: center;
}

#wrapper {
  background: transparent;
}

main {
  position: relative;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url(../images/about/about_bg.webp) center top / cover no-repeat;
  z-index: -1;
}

/* =============================================================
ヒーロー
============================================================= */
.hero {
  min-height: 560px;
  position: static;
}

.hero__rogo  {
    position: absolute;
    top: -30px;
    right: 7.2%;
}
.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orbs span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
}

.hero__inner {
  position: relative;
  min-height: 876px;
}

.hero__photo {
  position: absolute;
  right: max(40px, calc((100% - var(--content-width)) / 2 + 40px));
  bottom: -80px;
  width: 340px;
  height: 460px;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

.hero__fade {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
  z-index: -1;
}

/* =========================================================
Store information
========================================================= */
.hero + .content{
    padding: 75px 0 0 ;
}
.store-info {
  position: relative;
  z-index: 1;
  padding-bottom: 100px;
  background-color: transparent;
}

.panel {
  background-color: #fff;
  padding: 76px 50px 80px;
}

.store-info__lead {
  margin-top: 32px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.9;
  color: #000;
}

/* --- info table --- */

.store-info__cols {
  display: grid;
  grid-template-columns: 375px 1fr;
  gap: 40px;
  margin-top: 60px;
}
.access dt {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue, #0022A5);
  color: #000;
}
.access dd {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28.75px;
  white-space: pre-line;
  padding-top: 12px;
  color: #000;
}
.access__block { margin-top: 34px; }
.access__block:first-child { margin-top: 0; }
.access__tel {
  margin-top: 25px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  color: #000;
}

.access__block:nth-child(2) {
  padding-top: 0px;
  border-top: 2px solid var(--blue, #0022A5);
}

.access__tel small {
  font-size: 14px;
  font-weight: 600;
  margin-right: 8px;
}

.br-sp {
  display: inline;
}
@media (max-width: 767px) {
  .br-sp {
    display: block;
  }
}
.access dd .br-sp {
    display: inline-block;
    margin-bottom: -0.5em;
}

/* --- map --- */
.map {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.map img {
  margin-top: 7px;
  max-width:97.5%;
}
.map .button {
  margin-top: 26px;
  margin-right: 20px;
  width: 200px;
}

/* --- photos --- */
.access-guide {
  display: grid;
  grid-template-columns: 302px 23px 302px 23px 469px;
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 0px;
  margin: auto;
  padding-top: 60px;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
  margin-left: -10px;
  margin-right: -10px;
}

/* 各ステップ：等幅 */
.step {
  display: contents;
}
.step:nth-of-type(1) .step__img  { grid-column: 1; grid-row: 1; }
.step:nth-of-type(1) .step__text { grid-column: 1; grid-row: 2; }
.step:nth-of-type(3) .step__img  { grid-column: 3; grid-row: 1; }
.step:nth-of-type(3) .step__text { grid-column: 3; grid-row: 2; }
.step:nth-of-type(5) .step__img  { grid-column: 5; grid-row: 1; }
.step:nth-of-type(5) .step__text { grid-column: 5; grid-row: 2; }

.arrow:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.arrow:nth-of-type(4) { grid-column: 4; grid-row: 1; }
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
}
.arrow img {
  display: block;
  margin: 0 auto;
}
.step__title { margin: 0 0 6px; }

.step:nth-of-type(1) .step__img img,
.step:nth-of-type(3) .step__img img {
  width: 300px;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* 2枚並び */
.step__img--split {
  display: flex;
  aspect-ratio: unset;
  width: 468px;
  height: 280px;
}
.step__img--split > picture,
.step__img--split > img {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: block;
}
.step__img--split > picture > img,
.step__img--split > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト */
.step__title {
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 18px;
  color: black;
}
.step__desc {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: black;
}


/* =========================================================
MIWA Online shop
========================================================= */
.online {
  padding: 0 0 120px;
  background-color: transparent;
}

.online__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 60px;
  padding: 26px 50px 27px 32px;
  background-color: #fff;
  border-left: 4px solid #C3181F;
  border-radius: 0 80px 80px 0;
}

/* Stockists heading */
.stockists-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 120px;
}

.stockists-head .en {
  font-family: var(--font-en);
  font-size: 58px;
  line-height: 1;
  letter-spacing: .05em;
  color: #fff;
}

.stockists-head .ja {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
  color: #fff;
  padding: 26px 0 12px;
}

.stockists-head .note {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 18px;
  padding-top: 37px;
  color: #fff;
}

.online__brand {
  display: flex;
  align-items: center;
  gap: 54px;
}

.online__icon {
  width: 60px;
  color: #c3181f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.online__title {
  display: flex;
  flex-direction: column;
}

.online__title .en {
  font-family: var(--font-en);
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-text-strong);
}

.online__title .ja {
  margin-top: 23px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #000;
}

.online__desc {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.7;
  color: #000;
}

.shop-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 68px;
}

.shop-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #fff;
  border-radius: 30px 0 0 0;
  padding: 42px;
}

.shop-item__logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.shop-item__logo img {
  max-height: 50px;
  width: auto;
}

.shop-item__text {
  margin-top: 38px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.9;
  color: #000;
  white-space: pre-line;
}

.shop-item .button {
  margin-top: auto;
  align-self: center;
  width: 200px;
}

.shop-item__text {
  padding-bottom: 40px;
}

.sp {
  display: none;
}
.sp-only {
  display: none;
}
/* =============================================================
レスポンシブ（〜768px：SP）
============================================================= */
@media (max-width: 767px) {
  .store-info__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-map {
    align-items: stretch;
  }

  .info-map .button {
    align-self: center;
  }

  :root {
    --content-gutter: 25px;
  }
  .inner {
    padding-right: 25px;
    padding-left: 25px;
  }

  /* 共通パーツ */
  .page-title__en { font-size: 44px; }
  .page-title__ja { font-size: 18px; }
  .section-title__en { font-size: 36px; }
  .section-title__ja {
    font-size: 16px;
    padding: 10px 0 20px;
  }

  /* ヒーロー */
  .hero {
      min-height: 665px;
  }
  .hero + .content {
      padding: 0;
  }

  .hero__inner {
      /*
    min-height: 50rem;
    padding-top: 1rem;
    padding-bottom: 4rem;
    */
    position: relative;
    z-index: 2;
    min-height: unset;
  }

  .hero__rogo {
    position: absolute;
    top: 90px;
    right: 0;
    left: auto;
    z-index: 1;
    width: 98%;
  }

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

  .hero__fade {
    height: 140px;
  }

.sp {
    display: block;
  }
.sp-only {
    display: block;
  }

  /* 店舗情報 */
.store-info {
    padding-bottom: 72px;
  }

.store-info__cols {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .store-info__lead {
    margin-top: 20px;
    line-height: 1.8;
}
  .panel {
    padding: 40px 25px 40px 25px;
  }

  .stockists-head .en {
    font-size: 36px;
  }

  .shop-item {
    padding: 30px 24px;
  }

  .online__title .en,
  .cta-block {
    font-size: 30px;
  }
  .store-info__lead {
    font-size: 14px;
  }
  .access__block {
    margin-top: 13px;
}
  .access dd .br-sp {
    margin-bottom: 0.7em;
}
.access__tel {
    margin-top: 18px;
}
  .map {
    align-items: stretch;
  }

  .map img {
    width: calc(100% + 50px);
    min-width: calc(100% + 50px);
    flex-shrink: 0;
    margin-left: -25px;
  }

  .map .button {
    margin: 24px auto 0;
  }

/* photos -> vertical */
  .access-guide {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    column-gap: 0;
    padding-top: 40px;
  }

  .step {
    display: block;
    width: 100%;
    max-width: 275px;
  }
  .step__img img {
    width: 275px;
    height: 220px !important;
    object-fit: cover;
    display: block;
  }
  .step__img--split {
    width: 100%;
    height: auto;
    aspect-ratio: 468 / 280;
  }
  .step__img--split > img{
    width: 100%;
    height: auto !important;
    object-fit: cover;
  }
  /*
  .step__img--split > img {
    display: none;
  }
  */
  .step__img--split > picture {
    flex: none;
    width: 275px;
    height: 220px;
  }
  .step__img--split > picture > img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .step__text {
    margin-top: 8px;
  }

  .arrow {
    transform: rotate(90deg);
    width: 15px;
    height: 30px;
  }

  .online__head {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 20px;
  }

  .online__head{
    position:relative;
    flex-direction:column;
    align-items:flex-start;
    gap:30px;
    padding:31px 32px 32px 35px;
    border-radius:0 50px 50px 0;
    margin-left: calc(50% - 50vw);
  }
  .online__icon{
    position:absolute;
    right:26px;
    bottom:16px;
    }
  .online__icon img{
    width:53px;
  }
  .online__title .en{
    font-size:26px;
    letter-spacing: 0.05em;
  }
  .online__title .ja{
    font-size:12px;
    margin-top:22px;
    letter-spacing: 0;
  }
  .online__desc{
    font-size:13px;
    padding-right:70px;
  }
  .online__pc-only{
    display:none;
  }
  .shop-list {
    grid-template-columns: 1fr;
    row-gap: 35px;
    margin-top: 36px;
  }

  .shop-item .button {
        align-self: stretch;
        width: 100%;
  }

.stockists-head .note {
    font-size: 14px;
    padding-top: 25px;
}
.stockists-head {
    margin-top: 94px;
}

}
