/* ==========================
   初期設定・共通ルール
========================== */

:root {
  --color-main: #5f6b4d;
  --color-main-soft: #aab39a;
  --color-text: #4a413b;
  --color-muted: #756d66;
  --color-bg: #f8f6f2;
  --color-panel: #efeae2;
  --color-white: #fcfbf8;
  --color-border: #ddd5ca;

  --font-jp: "Noto Serif JP", serif;
  --font-en: "Cormorant Garamond", serif;

  --font-size-h1: 3.2rem;
  --font-size-h2: 3rem;
  --font-size-h3: 2.4rem;
  --font-size-body: 1.8rem;
  --font-size-small: 1.6rem;
  --font-size-menu: 2.6rem;

  --leading-tight: 1.45;
  --leading-body: 2;

  --container-width: 1120px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ==========================
   Reset
========================== */

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: var(--font-jp);
  font-size: var(--font-size-body);
  line-height: var(--leading-body);
  letter-spacing: 0;
}

body.is-fixed {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================
   Typography
========================== */

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--leading-tight);
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--leading-tight);
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--leading-tight);
}

small,
.section-kana {
  font-size: var(--font-size-small);
}

.en {
  font-family: var(--font-en);
}

/* ==========================
   Common layout
========================== */

.container {
  width: min(100% - 40px, var(--container-width));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.section-label {
  color: var(--color-text);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.section-kana {
  margin-top: 1rem;
  color: var(--color-muted);
  font-weight: 600;
}

.section-heading--center {
  text-align: center;
}

/* 下層ページのファーストビュータイトル */
.menu-hero .section-label,
.product-hero .section-label,
.about-hero .section-label,
.access-hero .section-label {
  font-size: 6rem;
}

/* ==========================
   Common buttons
========================== */

.button-link,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
  min-width: 23rem;
  min-height: 4.8rem;
  padding: 1rem 2rem;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.2;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.button-link {
  background: var(--color-main);
  color: var(--color-white);
}

.outline-button {
  border: 1px solid var(--color-text);
  background: transparent;
  color: var(--color-text);
}

.button-link:hover,
.outline-button:hover {
  border-color: var(--color-main);
  background: var(--color-main-soft);
  color: var(--color-text);
}

.is-placeholder {
  outline: 0;
}
/* ==========================
  角丸

========================== */
:root {
  --radius-card: 0.3rem;
  --radius-button: 0.3rem;
  --radius-image: 0.3rem;
}

/* カード・枠 */
.menu-card,
.product-card,
.contact-card,
.treatment-card,
.option-card,
.dog-menu-card,
.dog-care-note__box,
.access-info-card,
.flavor-card,
.enjoy-card {
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* ボタン */
.button-link,
.outline-button,
.c-cta,
.menu-bottom-link,
.map-button {
  border-radius: var(--radius-button);
}

/* コンテンツ画像 */
.menu-card > img,
.product-card__image,
.treatment-card__image,
.option-card > img,
.dog-menu-card > img,
.dog-gallery__images img,
.product-detail__media img,
.about-story__image img,
.owner-section__image img,
.access-map__image {
  border-radius: var(--radius-image);
}

/* ==========================
   Common responsive
========================== */

@media (max-width: 767px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 2.6rem;
    --font-size-h3: 1.4rem;
    --font-size-body: 1.4rem;
    --font-size-small: 1rem;
  }

  .section-label {
    font-size: 2.6rem;
  }

  .menu-hero .section-label,
  .product-hero .section-label,
  .about-hero .section-label,
  .access-hero .section-label {
    font-size: 3.2rem;
  }

  .button-link,
  .outline-button {
    min-width: 27rem;
    min-height: 4.5rem;
    font-size: 1.4rem;
  }
}
/* ==========================
   共通
========================== */
/* 遷移ページ下部リンク */
.menu-bottom-links {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  width: min(100% - 22rem, 920px);
  margin: 0 auto;
  padding: 7rem 0 8.4rem;
}
.menu-bottom-area {
  width: 100%;
  background: var(--color-panel);
}

.menu-bottom-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  min-height: 8.4rem;
  border: 1px solid #9d978d;
  background: var(--color-white);
  font-weight: 700;
  line-height: 1.3;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}
.menu-bottom-link:hover {
  background-color: #aab39a;
}
.menu-bottom-link small {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.1rem;
}

.menu-bottom-link [data-lucide] {
  width: 4rem;
  height: 4rem;
  stroke-width: 1.6;
}
.menu-bottom-link-insta {
  width: 4rem;
  height: 4rem;
}
.icon_insta {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  flex-shrink: 0;
}
.menu-bottom-links__deco {
  position: absolute;
  top: 5.6rem;
  width: 9rem;
  pointer-events: none;
}

.menu-bottom-links__deco--left {
  left: -8rem;
}

.menu-bottom-links__deco--right {
  right: -8rem;
}

/* 遷移ページトップ */
:root {
  --lower-page-width: 1140px;
}

/* 本文幅も共通化 */
.menu-detail,
.product-detail,
.flavor-section,
.enjoy-section,
.about-story,
.owner-section,
.about-rinto,
.access-guide,
.access-content {
  width: min(calc(100% - 80px), var(--lower-page-width));
  margin-inline: auto;
}
/* 遷移ページ共通トップ */
.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: 30% 70%;
  height: 600px;
  overflow: hidden;
  background: var(--color-panel);
}
.access-hero {
  grid-template-columns: 38% 62%;
}

.page-hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px clamp(40px, 7vw, 100px);
}

.page-hero__title {
  font-size: 6rem;
  line-height: 1;
  width: fit-content;
}

.page-hero__sub {
  margin-top: 16px;
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.page-hero__image {
  position: relative;
  z-index: 0;
  min-width: 0;
  height: 600px;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像位置だけページ別に調整 */
.menu-hero .page-hero__image img {
  object-position: center 20%;
}

.product-hero .page-hero__image img {
  object-position: center 10%;
}

.about-hero .page-hero__image img {
  object-position: 0% 50%;
}

.access-hero .page-hero__image img {
  object-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(170, 179, 154, 0.8) 0%,
    rgba(248, 246, 242, 1) 30%,
    rgba(248, 246, 242, 0.75) 48%,
    rgba(248, 246, 242, 0) 72%
  );
}

/* スマホのみレイアウト変更 */
@media (max-width: 767px) {
  . {
    display: block;
    height: min(72vh, 560px);
    min-height: 420px;
  }

  .page-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .page-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-hero__body {
    position: absolute;
    inset: 0;
    z-index: 2;
    justify-content: flex-end;
    padding: 0 24px 44px;
    color: var(--color-white);
    text-shadow: 0 0.2rem 1.6rem rgba(48, 42, 38, 0.35);
  }

  .page-hero__title {
    font-size: 5rem;
    color: var(--color-text);
  }

  .page-hero__sub {
    margin-top: 8px;
    font-size: 2rem;
    color: var(--color-text);
  }
  .page-hero::before {
    background: linear-gradient(
      180deg,
      rgba(248, 246, 242, 0.02) 0%,
      rgba(248, 246, 242, 0.08) 42%,
      rgba(248, 246, 242, 0.5) 74%,
      rgba(248, 246, 242, 0.8) 100%
    );
  }
  .about-hero .page-hero__image img {
    object-position: 40% 100%;
  }
}
