/* ===== 基本設定 ===== */
:root {
  --primary-color: #3e3e3e;
  --secondary-color: #C97B84;
  --background-light: #F2EFEA;
  --white-color: #fff;
  --font-body: "Shippori Mincho", "Noto Serif JP", serif;
  --main-font: var(--font-body);
  --header-h: 96px;
  --hero-x: 160px;
  --hero-gap: 1.8rem;
  --icon-size: 50px;
  --icon-radius: 50%;
  --icon-fg: #4d4d4d;

  --text-color: #111;
  --container-max: 1400px;
  --page-gutter: 20px;

  --hero-left: 11.5vw;
  --hero-bottom: 10.5vh;

  --hero-main-lh: 1.95;
  --hero-main-tracking: 0.18em;
  --hero-en-tracking: 0.10em;
  --hero-sub-max: 34ch;
  --hero-sub-leading: 1.7;

  --sp-hero-gap: 1.1rem;
  --sp-hero-leading: 1.65;
  --sp-hero-tracking: 0.02em;
}

/* ===== 汎用初期化（見た目を変えない安全系のみ） ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 長文のはみ出し防止（和文影響なし） */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: anywhere;
}

/* 共通コンテナ（左右20px余白） */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: var(--primary-color);
  font-family: var(--main-font);
  font-feature-settings: "palt" 1;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0.8) 0%,
    rgba(245,245,245,0.95) 45%,
    rgba(235,235,235,0.9) 100%
  );
  background-size: 200% 200%;
  animation: gradientFlow 30s ease-in-out infinite alternate;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at bottom center,
    rgba(0,0,0,0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4 {
  margin-top: 0;
}

h2, h3 {
  color: var(--primary-color);
  font-family: var(--main-font);
}

.section--even {
  background-color: var(--background-light);
}

.content-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  letter-spacing: 2px;
}

.content-section__title {
  font-size: 2.3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* ===============================
   Header
=============================== */
.header{
  background: linear-gradient(to bottom, rgba(242,239,234,1), rgba(242,239,234,0));
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  position: fixed; 
  top:0; 
  width:100%;
  z-index:100;
  transition: background-color .4s ease;
}
.header.is-scrolled{ background:#f4f4f4; box-shadow:none; }

.header__container{
  height:96px; padding:0 24px;
  display:flex; 
  justify-content:center; 
  align-items:center;
  position:relative;
  transition: height .25s ease;
}
.header__logo img,
.logo__mark{
  height:72px; 
  width:auto; 
  display:block; 
  margin:0;
  transition: height .25s ease;
}
.header.is-scrolled .header__container{ 
    height:78px; 
}
.header.is-scrolled .header__logo img{ 
    height:60px; 
}

/* ===============================
   Hamburger 
=============================== */
.hamburger-menu {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;       /* 横長で繊細 */
  height: 26px;      /* 縦を抑えて上品に */
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s ease, box-shadow .25s ease, opacity .25s ease;
}

/* --- 墨線ベース（白背景向け） --- */
.hamburger-menu__bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.78); /* 墨のような深い黒 */
  border-radius: 2px;
  transform-origin: center;
  transition: transform .28s ease, opacity .28s ease, background-color .25s ease;
  transform: translate(-50%, -50%);
}

/* 間隔に“間”を作る */
.hamburger-menu__bar--top {
  transform: translate(-50%, calc(-50% - 7px));
}
.hamburger-menu__bar--middle {
  transform: translate(-50%, -50%);
}
.hamburger-menu__bar--bottom {
  transform: translate(-50%, calc(-50% + 7px));
}

/* hover：うっすら梅色が浮く（和の余韻） */
.hamburger-menu:hover .hamburger-menu__bar {
  background: var(--secondary-color);
}

/* --- open時（静寂の変化） --- */
.hamburger-menu.is-active .hamburger-menu__bar--top {
  transform: translate(-50%, -50%) rotate(38deg);
}
.hamburger-menu.is-active .hamburger-menu__bar--middle {
  opacity: 0;
}
.hamburger-menu.is-active .hamburger-menu__bar--bottom {
  transform: translate(-50%, -50%) rotate(-38deg);
}

.hamburger-menu.is-active {
  opacity: 1;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* アクセシビリティ対応 */
.hamburger-menu:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===============================
   任意テーマ：現代和モダン（金属筆風）
   （例：classに .hamburger-menu--modern を追加）
=============================== */
.hamburger-menu--modern .hamburger-menu__bar {
  background: linear-gradient(
    to right,
    rgba(80,80,80,0.85),
    rgba(100,100,100,0.95),
    rgba(80,80,80,0.85)
  );
}
.hamburger-menu--modern:hover .hamburger-menu__bar {
  background: linear-gradient(
    to right,
    var(--secondary-color),
    rgba(210,150,155,0.9),
    var(--secondary-color)
  );
}


/* ===============================
   Overlay Nav
=============================== */
.nav-overlay{
  position: fixed;
  inset: 0;
  z-index: 130;
  background: var(--white-color);
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
  overscroll-behavior: contain;
}
.nav-overlay.is-active{
  opacity:1;
  visibility: visible;
  pointer-events: auto;
}

/* Close (clean “X” drawn by CSS) */
.nav-overlay__close{
  position:absolute; right:28px; top:22px;
  width:48px; height:48px; background:transparent; border:0; border-radius:50%;
  cursor:pointer; 
  z-index:310;
  transition: transform .18s ease, background-color .18s ease;
}
.nav-overlay__close::before,
.nav-overlay__close::after{
  content:""; position:absolute; left:50%; top:50%;
  width:28px; height:2px; background:var(--primary-color);
  transform-origin:center;
}
.nav-overlay__close::before{ transform:translate(-50%,-50%) rotate(45deg); }
.nav-overlay__close::after { transform:translate(-50%,-50%) rotate(-45deg); }
.nav-overlay__close:hover{ background-color:rgba(0,0,0,.04); }
.nav-overlay__close:hover::before,
.nav-overlay__close:hover::after{ background:var(--secondary-color); }
.nav-overlay__close:focus-visible{
  outline:3px solid var(--secondary-color); outline-offset:3px; border-radius:50%;
}

/* Screen-reader-only text */
.vh{
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ロゴブロック（上部固定） */
.nav-overlay__logo{
  text-align:center;
  margin: clamp(36px, 6vh, 56px) auto 12px;
}
.nav-overlay__logo img{ height:96px; width:auto; }

/* Grid */
.nav-overlay__grid{
  max-width:1200px; width:100%;
  margin: 0 auto clamp(20px, 4vh, 36px);
  padding: 0 28px clamp(28px, 4vh, 36px);
  display:grid; grid-template-columns: repeat(4,1fr); gap:36px;
  border-top:1px solid rgba(0,0,0,.08); padding-top:28px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.nav-overlay__grid section{
  padding:6px 10px 14px; border-right:1px solid rgba(0,0,0,.06);
}
.nav-overlay__grid section:nth-child(4n){ border-right:none; }

/* Headings */
.nav-overlay__heading{
  margin:0 0 10px; position:relative;
  font-weight:800; letter-spacing:.02em;
  font-size:clamp(20px, 2.2vw, 26px); color:var(--primary-color);
}
.nav-overlay__heading::after{
  content:""; display:block; width:34px; height:3px; border-radius:2px;
  background:#D4A055; margin-top:8px;
}
.nav-overlay__heading span{
  display:block; margin-top:4px; letter-spacing:.08em; font-weight:700;
  font-size:clamp(12px, 1.2vw, 14px); color:rgba(0,0,0,.55);
}

/* Links */
.nav-overlay__grid ul{ 
    margin:14px 0 0; padding:0; list-style:none; }
.nav-overlay__grid li{ 
    margin:12px 0; }
.nav-overlay__grid a{
  display:inline-block; position:relative; transform:translateZ(0);
  font-size:clamp(18px, 1.8vw, 22px); font-weight:700; line-height:1.4;
  color:var(--primary-color); text-decoration:none;
  transition: color .18s ease, transform .18s ease;
}
.nav-overlay__grid a::after{
  content:""; position:absolute; left:0; bottom:-4px; width:0; height:2px;
  background:var(--secondary-color); transition:width .22s ease;
}
.nav-overlay__grid a:hover{ 
    color:var(--secondary-color); 
    transform:translateX(2px); }
.nav-overlay__grid a:hover::after{ 
    width:100%; }
.nav-overlay__grid a:focus-visible{
  outline:3px solid var(--secondary-color); outline-offset:3px; border-radius:3px;
}

/* ================================
   HERO：縦2段 × 英字添え（v2025-10-26 修正版）
================================ */
.page-main .hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  display: block;
}

/* 背景動画 */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.12) saturate(0.92);
  transform: scale(1.02);
  transition: filter 1s ease;
  z-index: 0;
}

/* 光層：黒で潰さず柔らかく包む（グラデ少し強化） */
.page-main .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 120% at 70% 15%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.14) 0%, rgba(0,0,0,0.45) 70%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

/* テキスト全体コンテナ */
.hero__inner {
  position: absolute;
  left: var(--hero-left);
  bottom: var(--hero-bottom);
  z-index: 5;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: end;
  gap: var(--hero-gap);
  color: #fff;
}

/* 並び順制御（DOM構造いじらず並べ替え） */
.hero__caption-en { order: 2; }
.hero__title { order: 3; }

/* 英字キャプション（縦添え） */
.hero__caption-en {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Shippori Mincho","Noto Serif JP",serif;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: var(--hero-en-tracking);
  opacity: 0.9;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

/* メインタイトル：2段構成（縦書き主役） */
.hero__title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 40px);
  letter-spacing: var(--hero-main-tracking);
  line-height: var(--hero-main-lh);
  color: #f9f8f6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  margin: 0;
}
.hero__title-line { 
  display: block; 
  margin-bottom: 0.50em; 
}

@supports (mix-blend-mode: multiply){
  .hero__ink{
    position:absolute;
    inset:auto auto calc(var(--hero-bottom) - 2vh) calc(var(--hero-left) - 1vw);
    width:38vw; height:28vh;
    pointer-events:none;
    background: radial-gradient(120% 100% at 0% 100%, rgba(0,0,0,.12), transparent 55%);
    mix-blend-mode: multiply;
    z-index: 4;
  }
}

/* スクロール誘導（据置） */
.scroll-indicator {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}
.scroll-indicator::before {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: 8px auto 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,0.9),
    rgba(255,255,255,0)
  );
  animation: scrollLinePulse 3s ease-in-out infinite;
}

.page-main .greeting {
    display: flex;
    justify-content: space-between;
}

.page-main .greeting__image{
    width: 45%;
    object-fit: cover;
}

.page-main .greeting__message {
    width: 45%;
    letter-spacing: 2px;
}

.page-main .greeting__representative {
    text-align: right;
}
/* =========================================================
   GIG Style - NEWS一覧
   ========================================================= */
/* 見出し */
.section--news .section-header{
  margin-bottom: 40px;
  text-align: center;
}
.section--news .section-eyebrow{
  display: block;
  font-family: var(--main-font);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: 0.18em;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section--news .content-section__title{
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--primary-color);
  font-weight: 500;
}

/* リスト本体（器） */
.section--news .news-list{
  max-width: 1000px;
  margin: 0 auto;
  padding: 6px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  list-style: none;
}

/* 各項目 */
.section--news .news-list__item{
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.section--news .news-list__item:last-child{ border-bottom: none; }

/* 行全体リンク（横並び） */
.section--news .news-list__link{
  display: grid;
  grid-template-columns: 9.5rem 1fr auto;
  align-items: baseline;
  column-gap: 2.4rem;
  padding: 14px 0;
  color: var(--primary-color);
  text-decoration: none;
  transition: color .35s ease;
}

/* 日付（控えめ） */
.section--news .news-list__date{
  font-family: var(--main-font);
  font-size: 0.95rem;
  color: rgba(0,0,0,0.56);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* タイトル（長文2行まで） */
.section--news .news-list__title{
  line-height: 1.7;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* 行末の矢印（控えめ演出） */
.section--news .news-list__link::after{
  content: "→";
  align-self: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: transform .35s ease, opacity .35s ease;
  color: var(--secondary-color);
  font-size: 0.9em;
}

/* ホバー：上品に色と矢印だけ反応 */
.section--news .news-list__item:hover .news-list__link{ color: var(--secondary-color); }
.section--news .news-list__item:hover .news-list__link::after{
  opacity: 1; transform: translateX(0);
}

/* フッター導線 */
.section--news .section-footer{
  max-width: 1000px;
  margin: 18px auto 0;
  text-align: right;
}
.section--news .news-list__more-link{
  position: relative;
  display: inline-block;
  letter-spacing: 0.08em;
  padding-bottom: 2px;
  color: var(--primary-color);
  text-decoration: none;
  transition: color .3s ease;
}
.section--news .news-list__more-link::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.section--news .news-list__more-link:hover{
  color: var(--secondary-color);
}
.section--news .news-list__more-link:hover::after{
  transform: scaleX(1);
}

/* A11y：フォーカスリング（color-mix 非使用で安全化） */
.section--news .news-list__link:focus-visible,
.section--news .news-list__more-link:focus-visible{
  outline: 2px solid rgba(201,123,132,0.65);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-main .contact-button-area {
    margin-top: 120px;
    margin-bottom: 200px;
    text-align: center;
}

.page-main .business-section {
    padding: 60px 20px;
    max-width: 1300px;
    margin: 0 auto;
    letter-spacing: 2px;
}

.page-main .business-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-main .card {
    border: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.page-main .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.page-main .card__title {
    margin-bottom: 15px;
    text-align: center;
}

.page-main .card__image {
    width: 100%;
    height: 150px;
    background-color: #e9e9e9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
    margin-top: 20px;
}
.page-main .card__image::after {
    content: 'Image';
}

/* ===== 共通 Block: page-hero ===== */
.page-hero{
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: var(--hero-gap);
  border-bottom: 1px solid #D4A055;
}

.page-hero__title {
  margin: 0;
  margin-left: var(--hero-x);
  font-size: clamp(2.1rem, 2.3vw, 2.6rem);
  line-height: 1.35;
  letter-spacing: .08em;
  color: #4A5A41;
}

.page-contact .page-hero__title {
    font-size: 2.0rem;
}

/* ===== 会社紹介ページ (page-company) 固有スタイル ===== */
.page-company .content-section {
    max-width: 1000px;
}

.page-company .greeting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-top: 130px;
    margin-bottom: 150px;
}

.page-company .greeting__image {
    width: 45%;
    object-fit: cover;
}

.page-company .greeting__text {
    width: 50%;
    letter-spacing: 2px;
}

.page-company .greeting__title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.page-company .greeting__representative {
    text-align: right;
    margin-top: 20px;
}

.page-company .mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-company .content-section__title,
.page-company .mission-item{
    display: block;
    margin-bottom: 40px;
    text-align: center;
}

.page-company .mission-item__title {
    margin-bottom: 10px;
}

.page-company .timeline {
    max-width: 800px; 
    margin: 0 auto; 
    text-align: left; 
}

.page-company .timeline__item { 
    margin-bottom: 15px; 
    display: flex; 
}

.page-company .timeline__date { 
    font-weight: bold; 
    text-align: right; 
    margin-right: 100px; 
    min-width: 100px; 
}

.page-company .profile { 
    display: flex; 
    justify-content: space-between; 
}

.page-company .profile__table { 
    width: 45%; 
    max-width: 800px; 
    margin: 0 auto 40px; 
    border-collapse: collapse; 
    text-align: left; 
}

.page-company .profile__table th, 
.page-company .profile__table td { 
    border: 1px solid #ddd; 
    padding: 15px; 
}

.page-company .profile__table th { 
    width: 25%; 
    font-weight: bold; 
}

.page-company .profile__map { 
    width: 45%; 
    height: 400px; 
    background-color: #e9e9e9; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    color: #aaa; 
    font-size: 1.2rem; 
}

/* ===== MVV Visual (画像左＋テキスト右) ===== */
.mvv-visual__grid{
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.mvv-visual__image img{
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.15));
}

/* テキスト列 */
.mvv-visual__texts{
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* 見出しバッジ */
.mvv-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .9rem;
  color: #4A5A41;
  background: #F7F3EC;
  border: 1px solid rgba(212,160,85,.45);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  white-space: nowrap;
}

/* 本文 */
.mvv-lead{
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.8;
  margin: 0;
  color: var(--primary-color, #333);
}
.mvv-lead span{
  color: #D4A055;
  font-weight: 700;
}

/* Valuesリスト */
.mvv-values{
  margin: 6px 0 0 0;
  padding: 0;
  list-style: none;
}
.mvv-values li{
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.mvv-values li strong{
  color: var(--secondary-color, #4A5A41);
  min-width: 4em;
}

.mvv-row{
  position: relative;
  padding-left: 0;
}

/* ===== お知らせページ (page-news) 固有スタイル ===== */
.page-news .content-section { 
    max-width: 1200px; 
}

.page-news .blog-category { 
    margin-bottom: 60px; 
}

.page-news .blog-category__title { 
    text-align: left; 
    margin-bottom: 40px; 
}

.page-news .post-grid { 
    display: grid; 
    grid-template-columns: repeat(3,1fr); 
    gap: 30px; 
}

.page-news .post-card { 
    display: flex; 
    flex-direction: column; 
}

.page-news .post-card__image { 
    background-color: #e9e9e9; 
    min-height: 300px; 
}

.page-news .post-card__content { 
    margin: 30px 20px; 
}

.page-news .blog-category__more-link { 
    display: block; 
    font-weight: bold; 
    text-align: right; 
    margin: 20px 0 50px; 
}

.page-news .blog-category__more-link:hover{ 
    color: var(--secondary-color); 
}

/* ===== 飲食店紹介ページ (page-restaurant) 固有スタイル ===== */
.page-restaurant .content-section__title { 
    text-align: left; 
    margin-bottom: 80px;
}

.page-restaurant .restaurant__name { 
    font-size: 2rem; 
    margin-top: 50px; 
    margin-left: 160px; 
    text-align: left; 
}

.page-restaurant .restaurant-info { 
    padding: 60px 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
    letter-spacing: 2px; 
    display: flex; 
    justify-content: space-between; 
    align-items: stretch; 
}


/* ===== 飲食店紹介ページのスライダー調整 ===== */
.page-restaurant .restaurant-info__slider {
    width: 50%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.page-restaurant .restaurant-info__slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slickの矢印やドットの色を調整（任意） */
.slick-prev:before, .slick-next:before {
    color:var(--primary-color) ;
}

.page-restaurant .restaurant-info__details { 
    width: 45%; 
    display: flex; 
    flex-direction: column; 
    text-align: left;
}

.page-restaurant .restaurant-info__item-title { 
    padding-bottom: 10px; 
}

.page-restaurant .restaurant-info__item p { 
    margin-bottom: 20px; 
}

.page-restaurant .restaurant-info__map { 
    display: flex; 
    align-items:start; 
}

.page-restaurant .restaurant-info__address { 
    margin-top: 0; 
    margin-right: 50px; 
}

.page-restaurant .restaurant-info__reservation-button { 
    text-align: center; 
}
.page-restaurant .menu__category-title{
  text-align: center;
  margin-top: 60px;
  margin-bottom: 24px;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.page-restaurant .menu__category-title:first-of-type{
  margin-top: 20px;
}

.page-restaurant .menu-grid { 
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.page-restaurant .menu-grid__image { 
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin: 8px 0 18px;
  height: auto; 
}

/* =========================================================
   GIG Style - Reviews（BAR・梅ト蜂 共通）
========================================================= */

.section--reviews {
  padding: clamp(60px, 8vw, 120px) 20px;
  color: var(--primary-color, #3e3e3e);
  font-family: "Noto Serif JP", "Shippori Mincho", serif;
}

/* ------------------------------
   見出し
------------------------------ */
.section--reviews .reviews-header {
  text-align: left;
  margin-bottom: clamp(40px, 6vw, 60px);
}

.section--reviews .reviews-eyebrow {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: clamp(22px, 5vw, 32px);
  letter-spacing: 0.18em;
  color: var(--primary-color, #3e3e3e);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.section--reviews .reviews-title-ja {
  font-size: clamp(18px, 3.8vw, 22px);
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--primary-color, #3e3e3e);
  margin: 0;
}

/* ------------------------------
   カードグリッド
------------------------------ */
.section--reviews .review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 30px);
  max-width: 1080px;
  margin: 0 auto;
}

/* ------------------------------
   各カード
------------------------------ */
.section--reviews .review-card {
  background: #fff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  gap: 12px;
}

.section--reviews .review-card--full {
  grid-column: 1 / -1;
}

/* ------------------------------
   星評価（CSSで★を充填）
------------------------------ */
.section--reviews .review-rating .stars {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.15);
}

.section--reviews .review-rating .stars::before {
  content: "★★★★★";
}

.section--reviews .review-rating .stars::after {
  content: "★★★★★";
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: calc((var(--rating, 0) / 5) * 100%);
  color: var(--secondary-color, #C97B84);
  white-space: nowrap;
}

/* スクリーンリーダー用 */
.section--reviews .sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ------------------------------
   本文・メタ情報
------------------------------ */
.section--reviews .review-body {
  font-size: 0.98rem;
  line-height: 1.9;
  color: #2c2c2c;
  margin-bottom: 4px;
}

.section--reviews .review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
}

.section--reviews .review-meta .review-source {
  margin-left: auto;
  color: var(--secondary-color, #C97B84);
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.section--reviews .review-meta .review-source:hover {
  opacity: 0.8;
}

.section--reviews .reviews-footer {
  max-width: 1080px;
  margin: clamp(36px, 6vw, 56px) auto 0;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.section--reviews .btn-more-reviews {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 26px;
  background: #fff;
  color: var(--primary-color, #3e3e3e);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.section--reviews .btn-more-reviews:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  background: #fffaf9;
}

.section--reviews .powered-by {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.08em;
}

/* ------------------------------
   モバイル対応
------------------------------ */
@media (max-width: 768px) {
  .section--reviews .review-grid {
    grid-template-columns: 1fr;
  }
  .section--reviews .review-card--full {
    grid-column: auto;
  }
}

/* ===== 農園ページ (page-farm) 固有スタイル ===== */
.page-farm .content-section { 
    max-width: 1200px; 
}
.page-farm .project-overview { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 20px; 
    margin-bottom: 100px; 
}

.page-farm .project-overview__text, .page-farm .project-overview__map { 
    width: 45%; 
}

.page-farm .farm-details { 
    display: flex;
    justify-content: space-between; 
    margin-top: 30px; 
    margin-bottom: 100px; 
}

.page-farm .farm-details__photo { 
    width: 50%; 
    height: 500px; 
    object-fit: cover; 
}

.page-farm .farm-details__content { 
    width: 45%; 
}

.page-farm .farm-details__item { 
    margin-bottom: 30px; 
}

.page-farm .farm-details__item-title { 
    margin-bottom: 20px; 
    letter-spacing: 2px;
}

.page-farm .staff-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 30px; 
    margin-bottom: 100px; 
}

.page-farm .staff-member { 
    text-align: center; 
}

.page-farm .staff-member__image { 
    width: 120px; 
    height: 120px; 
    border-radius: 50%; 
    background-color: #e9e9e9; 
    margin: 0 auto 15px; }

.page-farm .vision__image-placeholder { 
    width: 100%; 
    height: 300px; 
    background-color: #e9e9e9; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    color: #aaa; 
}

.page-farm .vision__text { 
    margin-top: 30px; 
    margin-bottom: 100px; 
}

/* ===== AI・DX支援ページ (page-ai-dx) 固有スタイル ===== */
.page-ai-dx .content-section { 
    max-width: 1200px; 
}

.page-ai-dx .service-cards { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-bottom: 100px; 
}

.page-ai-dx .service-card { 
    display: flex; 
    flex-direction: column; 
    font-size: 1.2rem; 
    text-align: center; 
}

.page-ai-dx .service-card__image { 
    width: 100%; 
    height: 300px; 
    object-fit: cover; 
    margin-bottom: 20px; 
}

.page-ai-dx .use-case { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 80px; 
}

.page-ai-dx .use-case__content { 
    width: 45%;
}

.page-ai-dx .use-case__image { 
    width: 45%; 
    object-fit: cover; 
}

.page-ai-dx .use-case-grid__title { 
    font-size: 1.5rem; 
    margin-bottom: 30px; 
    display: flex; 
    align-items: center; 
}

.page-ai-dx .use-case-grid__title::before, 
.page-ai-dx .use-case-grid__title::after{ 
    content: ""; 
    width: 3%; 
    border-top: 2px solid #4A5A41; 
    margin: 0 10px; 
}

.page-ai-dx .use-case__list-item { 
    margin-bottom: 15px; 
    list-style: disc; 
    margin-left:20px ; 
}

.page-ai-dx .use-case__content-title { 
    margin: 20px 0; 
    color: #4A5A41; 
}

.page-ai-dx .flow-steps { 
    display: flex; 
    justify-content: space-between; 
    gap: 30px; 
}

.page-ai-dx .flow-step {
    width: 30%; 
    border: 3px solid #D4A055; 
    background-color: #fff; 
    border-radius: 20px; 
    padding: 60px 0; 
    text-align: center; 
    position: relative; 
}

.page-ai-dx .flow-steps .flow-step:not(:last-child)::after { 
    content: "→ "; 
    position: absolute; 
    right: -55px; 
    top: 50%; 
    transform: translateY(-50%); 
    font-size: 40px; 
    color:var(--primary-color); 
}

.page-ai-dx .flow-step__description { 
    margin: 20px 40px; 
}

.page-ai-dx .seminar-info { 
    padding: 20px; 
    margin-top: 40px; 
    margin-bottom: 60px; 
    background-color: var(--white-color); 
    border-left: 8px solid #D4A055; 
}

.page-ai-dx .seminar-item { 
    margin-left: 20px; 
    margin-bottom: 60px; 
}

.page-ai-dx .seminar-item__title { 
    margin-bottom: 20px; 
}

/* ===== お問い合わせページ (page-contact) 固有スタイル ===== */
.page-contact .content-section { 
    max-width: 1200px; 
}

.page-contact .form { 
    max-width: 700px; 
    margin: 40px auto; 
    background-color: var(--white-color); 
    padding: 40px; 
    border: 1px solid #ddd; 
}

.page-contact .form__group { 
    margin-bottom: 40px; 
    display: flex; 
    flex-wrap: wrap; 
}

.page-contact .form__label { 
    flex-basis: 100%; 
    margin-bottom: 8px; 
    text-align: left; 
    font-weight: bold;
}

.page-contact .form__required-mark { 
    color: #D4A056; 
}

.page-contact .form__input, 
.page-contact .form__textarea { 
    width: 100%; 
    padding: 10px; 
    border: 1px solid var(--primary-color); 
    border-radius: 4px; 
    font-size: 1rem; 
    transition: border 0.1s ease-in-out; 
}

.page-contact .form__input:focus, 
.page-contact .form__textarea:focus{ 
    border: 3px solid var(--secondary-color); 
}

.page-contact .form__captcha { 
    padding: 20px;
    border: 1px solid #ccc; 
    background-color: #f9f9f9; 
}

.page-contact .form__submit-area { 
    text-align: center; 
    margin-top: 30px; 
}

/* ↓ エラーメッセージ用のスタイルを追加 */
.form__error-message {
    color: #C97B84; /* 注意を引く色 */
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none; /* 初期状態では非表示 */
}

.form__error-message.is-visible {
    display: block; /* is-visibleクラスが付いたら表示 */
}

/* ===== 共通 Block: btn ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D4A056;
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}
.btn:hover { 
    opacity: 0.8; 
}

.btn--large { 
    padding: 12px 400px; 
}

.btn--map { 
    padding: 0px 30px; 
}

.btn--reservation{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: min(100%, 320px);
  padding: 14px 18px;
  margin: 20px auto;
  font-size: 1rem;
  white-space: nowrap;
}

.btn--submit {
    padding: 5px 270px; 
    font-size: 1.2rem; 
    letter-spacing: 10px; 
}

/* ===== 共通 Block: footer ===== */
.footer { 
    background-color: var(--primary-color); 
    color: var(--white-color);
    padding: 50px 20px 20px; 
}

.footer a { 
    color: var(--white-color); 
    transition: opacity 0.3s; 
}

.footer a:hover { 
    color: #D4A055; 
}

.footer__container { 
    display: flex; 
    justify-content: space-between; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding-bottom: 40px; 
    gap: 40px; 
}

.footer__info p { 
    margin-top: 80px; 
}

.footer__logo { 
    display: flex; 
    align-items:center; 
}

footer .logo__text{
    color: var(--white-color);
}

.footer__links { 
    flex-basis: 65%; 
    display: flex; 
    justify-content: space-between; 
    gap: 20px; 
}

.footer__links-group-title { 
    margin-bottom: 15px; 
    border-bottom: 1px solid var(--white-color); 
    padding-bottom: 8px; 
}

.footer__links-item {
    margin-bottom: 8px; 
}

.footer__copyright { 
    text-align: center; 
    padding-top: 20px; 
    font-size: 0.7rem; 
}


/* =========================================================
   Float Navigation
   ========================================================= */

/* --- Layout --- */
.float-nav { 
  position: fixed; 
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 200; 
}

.float-nav__list { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-end;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.float-nav__item { 
  position: relative; 
  padding: 0; 
}

/* --- Tooltip --- */
.float-nav__item .tooltip {
  position: absolute;
  top: 100%;
  right: 110%;
  transform: translateY(200%);
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.float-nav__item:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

/* --- Button Area --- */
.float-nav__item a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--icon-size);
  height: var(--icon-size);
  border: 1px solid transparent;
  border-radius: 18px;
  background: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s ease, filter .22s ease, opacity .22s ease;
}

.float-nav__item a:hover {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* --- Icon --- */
.float-nav__item i {
  position: relative;
  z-index: 2;
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
  color: currentColor;
}

/* --- Fill Animation (下→上) --- */
.float-nav__item a .filled {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform .25s ease;
}
.float-nav__item a:hover .filled {
  transform: scaleY(1);
}

/* --- SNS Colors --- */
.float-nav__item a[data-social="instagram"] .filled {
  background: linear-gradient(45deg,#405de6,#5b51db,#b33ab4,#c135b4,#e1306c,#fd1f1f);
}
.float-nav__item a[data-social="line"] .filled { 
  background:#06c655; 
}
.float-nav__item a[data-social="youtube"] .filled { 
  background:#ff0000; 
}

/* =========================================================
   Mode Control (JS scroll toggle)
   ========================================================= */
/* Hero上（is-light）: 白モード */
.float-nav.is-light a,
.float-nav.is-light a:hover { 
  color: #fff;
  text-shadow: 0 0 6px rgba(0,0,0,.18);
}

/* Body上（is-dark）: 黒モード */
.float-nav.is-dark a,
.float-nav.is-dark a:hover { 
  color: #111;
  text-shadow: none;
}

/* Tooltip文字もモードに連動 */
.float-nav.is-light .tooltip { 
  color: #fff; 
}
.float-nav.is-dark  .tooltip { 
  color: #111;
}

/* Iconは常にcurrentColorを参照 */
.float-nav__item i { 
  color: currentColor; 
}

/* セクション共通 */
.section-title {
  text-align: center;
  margin: 0 auto 60px;
  line-height: 1.4;
}

.section-title .heading-en {
  display: block;
  font-family: var(--main-font);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-color);
  margin-bottom: 0.3em;
}

.section-title .heading-jp {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(62, 62, 62, 0.7);
}

/* ===== Concept Section ===== */
.concept-section{
  background: var(--white-color);
  padding: clamp(60px, 8vw, 120px) 20px;
  border-top: 6px solid #D4A0551A;
  text-align: center;
}

.concept-section__inner{
  width: min(900px, 92%);
  margin: 0 auto;
}

.concept-section__text{
  letter-spacing: 0.5px;
  line-height: 1.9;
  text-align: center;
}

.concept-section__lead{
  font-weight: 600;
  font-size: clamp(16px, 2.2vw, 20px);
  margin: 0 0 20px;
  color: var(--primary-color);
  line-height: 1.8;
}

.concept-section__desc{
  font-size: 1rem;
  color: #555;
  line-height: 1.9;
}

/* =========================================================
   GIG Style - Entrances (4つの入口) 最適化版
   ========================================================= */

/* --- ラッパー（4つの入口まとめ） --- */
.entrances {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* --- 各入口のベース --- */
.entrance {
  margin-block: clamp(96px, 10vw, 140px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 32px 24px;
  align-items: start;
  position: relative;
}

/* =========================================================
   1. テキスト部（タイトル・説明・more）
   ========================================================= */
.entrance__top {
  display: contents;
}

/* ── 左パターン ───────────────────────── */
.entrance .entrance__block--title {
  grid-column: 2 / span 4;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.entrance .entrance__block--desc {
  grid-column: 2 / span 4;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.entrance__eyebrow,
.entrance__title,
.entrance__brand,
.entrance__desc {
  font-family: var(--font-body, "Shippori Mincho","Noto Serif JP",serif);
  color: var(--primary, #3e3e3e);
  font-feature-settings: "palt";
}

/* 見出しブロック */
.entrance__eyebrow {
  font-weight: 600;
  font-size: clamp(40px, 3.1vw, 48px);
  line-height: 1.05;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary, #C97B84);
  margin: 0 0 4px;
  opacity: .9;
}

.entrance__title {
  font-weight: 700;
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.15;
  margin: 0;
  position: relative;
}

.entrance__title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--secondary,#C97B84) 90%, transparent) 0%,
    color-mix(in oklab, var(--secondary,#C97B84) 65%, transparent) 100%
  );
}

.entrance__brand {
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.5;
  letter-spacing: .02em;
  color: #2b2b2b;
  margin-top: 12px;
  margin-bottom: 18px;
  opacity: .92;
}

.entrance__desc {
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.82;
  max-width: 40em;
  margin: 0;
  color: #3a3a3a;
  text-wrap: pretty;
}

/* =========================================================
   2. moreボタン（説明文のすぐ下にある前提）
   ========================================================= */

.entrance__more {
  --_bdc: color-mix(in oklab, var(--primary,#3e3e3e) 55%, transparent);
  --_bg-hov: color-mix(in oklab, var(--secondary,#C97B84) 12%, white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--_bdc);
  border-radius: 999px;
  color: var(--primary,#3e3e3e);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  letter-spacing: .01em;
  transition: background-color .22s, border-color .22s, color .22s, transform .22s;
  will-change: transform;
}

.entrance__more::after {
  content: "→";
  display: inline-block;
  opacity: .9;
  transition: transform .22s ease, opacity .22s ease;
}

.entrance__more:hover {
  background: var(--_bg-hov);
  border-color: color-mix(in oklab, var(--secondary,#C97B84) 60%, transparent);
  color: #222;
  transform: translateY(-1px);
}

.entrance__more:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

.entrance__more:focus-visible {
  outline: 2px solid var(--secondary,#C97B84);
  outline-offset: 2px;
  text-decoration: none;
}

/* =========================================================
   3. ギャラリー部（メイン画像＋サブ画像群）
   ========================================================= */

.entrance__gallery {
  grid-column: 7 / span 5; 
  grid-row: 2; 
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* メイン画像（事業の顔になる1枚） */
.gallery__main {
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
  min-height: 220px;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform .25s ease;
}

.gallery__main img:hover {
  transform: scale(1.015);
}

/* サブ画像（具体・手仕事・内装など） */
.gallery__subs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery__subs img {
  flex: 1;
  width: 100%;
  min-height: 90px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  opacity: .95;
  transition: opacity .25s ease, transform .25s ease;
}

.gallery__subs img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* =========================================================
   4. 交互レイアウト（左右反転のとき）
   ========================================================= */

.entrance.entrance--reverse .entrance__block--title {
  grid-column: 8 / span 4;
  grid-row: 1;
}
.entrance.entrance--reverse .entrance__block--desc {
  grid-column: 8 / span 4;
  grid-row: 2;
}
.entrance.entrance--reverse .entrance__gallery {
  grid-column: 2 / span 5;
  grid-row: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* ===== アニメーション設定 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.6s ease-out, transform 2s ease-out;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* キーフレーム */
@keyframes kb-pan-right {
  0%   { transform: scale(var(--kb-scale)) translateX(calc(-1 * var(--kb-shift))); }
  100% { transform: scale(var(--kb-scale)) translateX(var(--kb-shift)); }
}
@keyframes kb-pan-left {
  0%   { transform: scale(var(--kb-scale)) translateX(var(--kb-shift)); }
  100% { transform: scale(var(--kb-scale)) translateX(calc(-1 * var(--kb-shift))); }
}

@keyframes scrollLinePulse {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}

@keyframes gradientFlow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* =========================================================
   Responsive（まとめ版）
   ========================================================= */

/* -------------------------
   <=1199.98px（Entrance系）
------------------------- */
@media (max-width:1199.98px){
  .entrance{ grid-template-columns: 1fr; }
  .entrance__top{
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 12px;
  }
  .entrance__actions{ 
    grid-column: 1 / -1;
    justify-self: center;
  }
  .entrance__gallery{
    grid-column: 1 / -1;
    gap: 14px;
  }
  .entrance__eyebrow{ font-size: clamp(18px, 2vw, 24px); margin-bottom: 8px; }
  .entrance__title  { font-size: clamp(28px, 2.5vw, 34px); margin-bottom: 12px; }
  .entrance__brand  { font-size: clamp(18px, 1.5vw, 20px); margin-bottom: 14px; }
  .entrance__desc   { font-size: 16px; line-height: 1.8; }
}

/* -------------------------
   <=1024px（タブレット）
------------------------- */
@media (max-width:1024px){
  :root{
    --header-h: 84px;
    --hero-x: 80px;
    --hero-gap: 36px;
  }

  /* Header */
  .header__container{ 
    height:84px; 
    padding:0 22px; }
  .header__logo img{ 
    height:72px; 
  }

  /* Overlay */
  .nav-overlay__logo img{ 
    height:84px; 
  }
  .nav-overlay__grid{
    grid-template-columns:repeat(2,1fr);
    gap:28px;
    padding:0 22px;
    padding-top:24px;
  }
  .nav-overlay__grid section{ border-right:none; }

  /* Hero */
  .hero__inner {
    margin-left: 90px;
    max-width: 640px;
  }

  /* MVV */
  .mvv-visual__grid{ grid-template-columns: 1fr; }
  .mvv-visual__pyramid{
    transform: perspective(900px) rotateY(-4deg);
    max-width: 500px;
    margin-inline: auto;
  }

  /* 共通レイアウト */
  .content-section{ padding: 52px 22px; }
  .page-main .business-section{ padding: 56px 22px; }
}

/* -------------------------
   <=768px（スマホ）
------------------------- */
@media (max-width: 768px){
  :root{
    --header-h: 72px;
    --hero-x: 15px;
    --hero-gap: 28px;
  }

  /* 共通余白/文字 */
  .content-section{ padding: 40px 15px; }
  .content-section__title{ font-size: 1.5rem; }

  /* Header / Hamburger */
  .header__container{ height:72px; padding:0 16px; }
  .header__logo img{ height:56px; }
  .hamburger-menu {
    width: 42px;
    height: 42px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
  }

  .hamburger-menu__bar--top {
    transform: translate(-50%, calc(-50% - 6px));
  }
  .hamburger-menu__bar--bottom {
    transform: translate(-50%, calc(-50% + 6px));
  }
  .hamburger-menu.is-active .hamburger-menu__bar--top {
    transform: translate(-50%, -50%) rotate(40deg);
  }
  .hamburger-menu.is-active .hamburger-menu__bar--bottom {
    transform: translate(-50%, -50%) rotate(-40deg);
  }

  /* Overlay（内部スクロール継続） */
  .nav-overlay__close{ right:18px; top:16px; width:42px; height:42px; }
  .nav-overlay__close::before,
  .nav-overlay__close::after{ width:24px; }
  .nav-overlay__logo{ margin:32px auto 12px; }
  .nav-overlay__logo img{ height:64px; }
  .nav-overlay__grid{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 18px clamp(20px, 3vh, 28px);
    padding-top: 20px;
    margin-bottom: 20px;
    max-height: none;
  }
  .nav-overlay__heading{ font-size:18px; }
  .nav-overlay__heading span{ font-size:12px; }
  .nav-overlay__grid a{ font-size:18px; }

  /* Hero（モバイル最適：縦→横／サブ無し） */
  .hero__inner {
    left: 6vw;
    bottom: 36vh;
    grid-auto-flow: row;
    align-items: flex-start;
    gap: var(--sp-hero-gap);
    text-align: left;
    max-width: 80vw; 
  }

  .hero__title,
  .hero__caption-en {
    writing-mode: horizontal-tb;
    letter-spacing: var(--sp-hero-tracking);
    line-height: var(--sp-hero-leading);
  }

  .hero__title {
    order: 1;
    font-weight: 500;
    font-size: clamp(18px, 6vw, 28px);
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
    margin: 0;
  }

  .hero__title-line {
    margin-bottom: 0.25em;
  }

  .hero__caption-en {
    order: 2;
    font-size: clamp(12px, 3.2vw, 14px);
    opacity: 0.9;
    margin-top: 0.2em;
  }

  /* ページヒーロー */
  .page-hero__title {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  /* フロートSNS */
  .float-nav {
    top: auto;
    bottom: 32px;
    right: 12px;
    transform: none;
  }

  .float-nav__item a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .float-nav__list {
    gap: 14px;
  }

  .float-nav__item .tooltip {
    display: none !important;
  }

  .float-nav__item i {
    font-size: 19px;
  }

  /* フッター */
  .footer__container{ flex-direction: column; gap: 30px; }
  .footer__links{ flex-direction: column; text-align: center; }
  .footer__info p{ margin-top: 20px; text-align: center; }

  /* トップ */
  .page-main .greeting{ flex-direction: column-reverse; }
  .page-main .greeting__image,
  .page-main .greeting__message{ width: 100%; }
  .page-main .greeting__image{ margin-top: 20px; }
  .page-main .news-list__item{ flex-direction: column; margin-bottom: 10px; }
  .page-main .news-list__date{ margin-left: 0; margin-bottom: 5px; }
  .page-main .business-section{ padding: 40px 15px; }
  .page-main .business-cards{ grid-template-columns: repeat(2, 1fr); }
  .page-main .contact-button-area{ margin: 40px 0; }
  .page-main .btn--large{ width: 100%; padding: 15px 20px; }

  /* 飲食店 */
  .page-restaurant .restaurant__name{ font-size: 1.5rem; margin: 30px 0 0 15px; }
  .page-restaurant .restaurant-info{
    flex-direction: column; gap: 20px; padding: 20px 15px;
  }
  .page-restaurant .restaurant-info__slider{
    width: 100%; aspect-ratio: 4/3; margin-bottom: 20px;
  }
  .page-restaurant .restaurant-info__details{ width: 100%; }
  .page-restaurant .menu-grid{ 
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .page-restaurant .review-grid{ grid-template-columns: 1fr; }
  .btn--reservation{ width: 100%; max-width: none; }

  /* 会社 */
  .page-company .greeting,
  .page-company .profile{ flex-direction: column; }
  .page-company .greeting{ flex-direction: column-reverse; }
  .page-company .greeting__image,
  .page-company .greeting__text,
  .page-company .profile__table,
  .page-company .profile__map{ width: 100%; }
  .page-company .greeting__image{ margin-top: 20px; }
  .page-company .profile__map{ margin-top: 20px; height: 300px; }
  .page-company .timeline__item{ flex-direction: column; margin-bottom: 20px; }
  .page-company .timeline__date{ text-align: left; margin-bottom: 5px; }
  .mvv-visual{ padding-inline: 16px; }
  .mvv-visual__pyramid{ transform: none; filter: drop-shadow(0 10px 20px rgba(0,0,0,.10)); }
  .mvv-kicker{ font-size: .8rem; }
  .mvv-row::before{ top: 22px; width: 40px; }

  /* お問い合わせ */
  .page-contact .form{ padding: 20px; }
  .page-contact .btn--submit{ width: 100%; padding: 15px 20px; letter-spacing: 2px; }

  /* 農園 */
  .page-farm .project-overview,
  .page-farm .farm-details{ flex-direction: column; }
  .page-farm .project-overview__text,
  .page-farm .project-overview__map,
  .page-farm .farm-details__photo,
  .page-farm .farm-details__content{ width: 100%; }
  .page-farm .project-overview__map,
  .page-farm .farm-details__photo{ margin-top: 20px; }
  .page-farm .staff-grid{ grid-template-columns: 1fr; gap: 40px; }

  /* ピラー（縦カード） */
  .pillarsv__item{ flex-direction: column; align-items: center; }
  .pillarsv__texts{ text-align: center; margin-bottom: 15px; }
  .pillarsv__image--duo{ grid-template-columns: 1fr; gap: 10px; padding: 0; }
  .pillarsv__image--duo img{ aspect-ratio: 4/3; transform: none; box-shadow: 0 8px 18px rgba(0,0,0,.10); }
  .pillarsv__arrow{ display: block; margin-top: 20px; }

  /* AI-DX */
  .page-ai-dx .service-cards,
  .page-ai-dx .flow-steps{ grid-template-columns: 1fr; gap: 20px; }
  .page-ai-dx .use-case{ flex-direction: column; }
  .page-ai-dx .use-case__content,
  .page-ai-dx .use-case__image{ width: 100%; }
  .page-ai-dx .use-case__image{ margin-top: 20px; }
  .page-ai-dx .use-case-grid__title:nth-of-type(2) + .use-case{ flex-direction: column-reverse; }
  .page-ai-dx .flow-steps .flow-step:not(:last-child)::after{
    content: "▼"; transform: rotate(30deg); left: 85%; font-size: 25px; top: auto; bottom: 150px;
  }
  .page-ai-dx .flow-step{ margin-bottom: 50px; }
  .page-ai-dx .flow-steps .flow-step:last-child{ margin-bottom: 0; }

  /* ニュース */
  .page-news .post-grid{ grid-template-columns: 1fr; }
}

/* -------------------------
   <=767.98px（Entranceスマホ）
------------------------- */
@media (max-width:767.98px){
  .entrance{ margin-block: clamp(44px, 8vw, 64px); }
  .entrance__top{ grid-template-columns: 1fr; }
  .entrance__gallery{
    display: flex;
    gap: 12px;
    padding-inline: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .entrance__thumb{ 
    flex: 0 0 65%;
    scroll-snap-align: start;
    aspect-ratio: 3 / 2; 
  }
  .entrance__eyebrow{ font-size: clamp(16px, 4vw, 20px); letter-spacing: 0.06em; }
  .entrance__title  { font-size: clamp(24px, 5vw, 30px); line-height: 1.24; }
  .entrance__brand  { font-size: clamp(16px, 4vw, 18px); line-height: 1.5; }
  .entrance__desc   { font-size: 15px; line-height: 1.75; }
  .entrance__actions{ margin-top: 14px; justify-self: center; }
  .entrance__more{ min-height: 48px; padding: 12px 22px; font-size: 16px; width: auto; }
  
  .section--reviews .review-grid {
    grid-template-columns: 1fr;
  }
  .section--reviews .review-card--full {
    grid-column: auto;
  }
}

/* -------------------------
   Motion preference
------------------------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ 
    animation-duration:.001ms!important; 
    animation-iteration-count:1!important; 
    transition-duration:.001ms!important; 
    scroll-behavior:auto!important; 
  }
  .mvv-visual__pyramid{ transform: none; }
  .mvv-visual__pyramid, .mvv-visual__pyramid *{ 
    transition: none !important; animation: none !important; 
  }
  .entrance__more, .entrance__more::after{ transition: none !important; }
  .entrance__thumb{ animation: none !important; }

  .hero *{ animation: none !important; transition: none !important; }

  .section--news .news-list__link,
  .section--news .news-list__more-link {
    transition: none !important;
  }
}
