/*
Theme Name: WEAVIA
Theme URI: https://mjeinc.co.jp/
Author: MJE INC.
Description: 「WEAVIA」コワーキング＆シェアオフィスのリーシング用ランディングページ（ペライチ）。Adobe XD デザイン案を忠実に再現したレスポンシブ対応のオリジナルテーマです。Contact Form 7 対応。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weavia
*/

/* =====================================================================
   1. DESIGN TOKENS
   ===================================================================== */
:root {
  --green:        #08A270;
  --green-dark:   #086548;
  --brown:        #77603f;
  --brown-dark:   #241513;
  --olive:        #77603f;
  --red:          #be2425;
  --red-dark:     #a81e1f;
  --ink:          #212A2E;
  --ink-soft:     #212A2E;
  --gray-bg:      #eeeeee;
  --gray-line:    #d8d8d4;
  --cream:        #f3efe8;
  --white:        #ffffff;

  /* 茶色グラデーション #77603F → #241513 */
  --brown-grad:   linear-gradient(to right, #77603f 0%, #241513 100%);

  --container:    1180px;
  --header-h:     88px;

  --ff-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --ff-en: "Jost", "Noto Sans JP", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =====================================================================
   2. RESET / BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-jp);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.9;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s, color .25s; }
a:hover { opacity: .75; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* =====================================================================
   3. LAYOUT HELPERS
   ===================================================================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Section heading block: 大きな日本語見出し + 英語サブラベル */
.sec-head { margin-bottom: 44px; }
.sec-head__jp {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  color: var(--ink);
}
.sec-head__en {
  display: block;
  margin-top: 4px;
  font-family: var(--ff-en);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--olive);
}
.sec-head__lead { margin-top: 16px; font-size: 15px; color: var(--ink-soft); }
.sec-head--center { text-align: center; }

/* center heading (used for amenities / floormap) */
.head-center {
  text-align: center;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 36px;
}

/* =====================================================================
   4. BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:hover { opacity: 1; }

/* white pill button used on green bands */
.btn--cta {
  width: min(460px, 100%);
  padding: 22px 32px;
  background: var(--white);
  color: var(--green);
  font-size: 20px;
  border-radius: 4px;
}
.btn--cta .btn__arrow { color: var(--green); }

/* 矢印アイコン（SVG）。chevron＝細い「>」, tri＝塗りつぶし三角「▶」 */
.btn__arrow {
  display: inline-flex;
  align-items: center;
  transition: transform .25s var(--ease);
}
.btn__arrow svg { display: block; }
.ico-chev { width: 14px; height: 8px; }
.ico-tri  { width: 12px; height: 10px; }

.btn:hover .btn__arrow,
.btn--cta:hover,
a:hover .btn__arrow {
	transform: translateY(3px);
}

/* =====================================================================
   5. HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background .35s, box-shadow .35s, height .35s;
}
/* 非スクロール時、ヒーロー画像上での視認性確保用グラデーション */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15,12,8,.42) 0%, rgba(15,12,8,0) 100%);
  transition: opacity .35s;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 0 0 32px;
  display: flex;
  align-items: center;
}
.site-logo { flex: none; }
.site-logo img { height: 46px; width: auto; transition: opacity .3s; }
.site-logo .logo--color { display: none; }

.site-nav { margin-left: auto; }
.site-nav .only-sp { display: none; }
.site-nav ul { display: flex; gap: 38px; }
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--white);
  position: relative;
  padding: 6px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { width: 100%; }

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  height: var(--header-h);
  background: var(--white);
  color: var(--green);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 15px;
  margin-left: 24px;
transition:.35s;
}
.header-contact .btn__arrow { color: var(--green); }
.header-contact .ico-chev { width: 14px; height: 8px; }
.header-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 96px;
  height: var(--header-h);
  background: #08A270;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
	transition:.35s;
}
.header-login svg { width: 22px; height: 22px; }

/* scrolled state */
.site-header.is-scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  height: 72px;
}
.site-header.is-scrolled .logo--white { display: none; }
.site-header.is-scrolled .logo--color { display: block; }
.site-header.is-scrolled .site-nav a { color: var(--ink); }
.site-header.is-scrolled .header-contact,
.site-header.is-scrolled .header-login { 
  height: 72px; 
}
/* hamburger */
.nav-toggle { display: none; }
/* =====================================================================
   下層ページ（ファーストビューなし）：ヘッダーを常時ライト表示
   ===================================================================== */
.is-subpage .site-header {
  position: relative;          /* 重なり防止：固定をやめて通常配置に */
  background: var(--white);
  box-shadow: none;            /* 下層では影なし */
  height: var(--header-h);
}
.is-subpage .site-header::before { opacity: 0; }   /* 暗いグラデを消す */
.is-subpage .logo--white { display: none; }
.is-subpage .logo--color { display: block; }       /* カラーロゴに */
.is-subpage .site-nav a   { color: var(--ink); }   /* ナビ文字を黒に */

/* スクロールしても影は出さない（下層のみ） */
.is-subpage .site-header.is-scrolled { box-shadow: none; }
.is-subpage .legal { padding-top: 64px; }   /* header-h ぶんを引く */
/* =====================================================================
   6. HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,16,10,.62) 0%, rgba(20,16,10,.28) 48%, rgba(20,16,10,.05) 75%);
}
.hero__inner { position: relative; width: 100%; padding-bottom: 86px; }
.hero__copy { max-width: 790px; }
.hero__eyebrow {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.hero__title {
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .04em;
}
.hero__lead {
  margin-top: 22px;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 2;
  letter-spacing: .04em;
}

/* circular badge */
.hero__badge {
  position: absolute;
  right: 4%;
  top: auto;
  bottom: 34px;
  width: 252px; height: 252px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brown);
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  padding: 24px;
}
.hero__badge-date {
  font-family: var(--ff-en);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .02em;
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.hero__badge-date .unit { font-size: 17px; font-weight: 500; }
.hero__badge-date .y,
.hero__badge-date .m { color: var(--olive); }
.hero__badge-date b { font-size: 40px; font-weight: 600; color: var(--brown);line-height: 1;}
.hero__badge-sub { font-size: 24px; font-weight: 700; margin: 0px 0 2px; color: var(--ink); }
.hero__badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 4px;
  transition: background .25s;
}
.hero__badge-btn:hover { opacity: 1; background: var(--red-dark); }
.hero__badge-btn .btn__arrow { color: var(--white); }

/* =====================================================================
   7. NEWS (お知らせ)
   ===================================================================== */
.news { background: var(--gray-bg); padding: 88px 0; }
.news__list { border-top: 1px solid var(--gray-line); }
.news__item {
  display: flex;
  gap: 36px;
  padding: 22px 6px;
  border-bottom: 1px solid var(--gray-line);
  font-size: 15px;
}
.news__date {
  flex: none;
  width: 100px;
  font-family: var(--ff-en);
  letter-spacing: .04em;
  color: var(--olive);
  font-weight: 500;
}
.news__text a { color: #1f6fb0; text-decoration: underline; }

/* =====================================================================
   8. INTRO (concept band)
   ===================================================================== */
.intro { padding: 96px 0 84px; text-align: center; }
.intro__head {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.6;
}
.intro__logo { margin: 34px auto 30px; width: min(500px, 70%); }
.intro__text { max-width: 720px; margin: 0 auto; font-size: 15px; color: var(--ink-soft); }

/* =====================================================================
   9. FACILITY (施設・設備)
   ===================================================================== */
.facility { background: var(--gray-bg); padding: 84px 0 96px; }
.facility__rows { display: flex; flex-direction: column; }
.facility-card { display: grid; grid-template-columns: 1fr 1fr; }
.facility-card:nth-child(even) .facility-card__body {
  order: 1; /* テキスト（body）を後に（右に）移動 */
}

.facility-card__img { position: relative; overflow: hidden; min-height: 480px; }
.facility-card__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.facility-card__body {
  background: var(--brown-grad);
  color: var(--white);
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.facility-card:nth-child(even) .facility-card__img { order: 2; }
.facility-card__title {
  font-size: clamp(21px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
}
.facility-card__desc { margin-top: 16px; font-size: 15px; color: #fff; }

/* floormap */
.floormap { background: var(--gray-bg); padding: 0 0 90px; }
.floormap__img {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* amenities */
.amenities { background: var(--white); padding: 70px 0 80px; }
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 15px;
  margin: 0 auto;
}
.amenity {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.amenity img { width: 56px; height: 56px; object-fit: contain; }
.amenity span { font-size: 15px;}

/* =====================================================================
   10. GREEN CTA BAND
   ===================================================================== */
.cta-band {
  position: relative;
  background: linear-gradient(180deg, #08A270 0%, #0A7251 100%);
  padding: 56px 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.cta-band__mark {
  position: absolute;
  top: 50%;
  width: 360px;
  opacity: .7;
  transform: translateY(-50%);
  pointer-events: none;
}
.cta-band__mark--l { left: -90px; }
.cta-band__mark--r { right: -90px; }
.cta-band__note {
  position: relative;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
}
.cta-band__note b { font-family: var(--ff-en); font-size: 2em;}
.cta-band .btn--cta { position: relative; }
@media (max-width: 560px) {
  /* ...（既存のスマホ用記述）... */

  /* ▼▼▼ CTAの模様調整（最終版） ▼▼▼ */
  .cta-band__mark {
    width: 280px; /* 模様のディティールが見えるサイズ感をキープ */
    opacity: 0.15; /* PC版に近い、上品な透過度に戻す */
  }
  
  /* ★ここがポイント：画面の外へ大きく引っ張り出して、中央で衝突させない */
  .cta-band__mark--l { left: -140px; }
  .cta-band__mark--r { right: -140px; }
  /* ▲▲▲ ここまで ▲▲▲ */
}
/* =====================================================================
   11. PLAN (プラン・料金)
   ===================================================================== */
.plan { padding: 92px 0 150px; }
.plan__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 0;
border: 1px solid #77603F;
}
.plan-card {
  background: var(--white);
  border: none;                   /* ★各カードのボーダーは基本なし */
/*   border-right: 1px solid #77603F; */
  padding: 40px 32px 38px;
  display: flex;
  flex-direction: column;
}
.plan-card:last-child { border-right: none; }
/* .plan-card + .plan-card { border-left: none; } */
.plan-card--feature {
  background: var(--brown-grad);
  color: var(--white);
  margin: -22px 0;
  padding: 62px 34px 60px;
  border-color: var(--brown-dark);
  box-shadow: 0 22px 44px rgba(0,0,0,.22);
  z-index: 2;
}
.plan-card__en {
  font-family: var(--ff-en);
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--olive);
}
.plan-card--feature .plan-card__en { color: rgba(255,255,255,.7); }
.plan-card__name {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .06em;
  margin: 6px 0 18px;
}
.plan-card__price {
  text-align: center;
  font-family: var(--ff-en);
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 18px 0;
}
.plan-card--feature .plan-card__price { border-color: rgba(255,255,255,.25); }
.plan-card__price b { font-size: 38px; font-weight: 600; }
.plan-card__price span { font-size: 24px; }
.plan-card__desc { font-size: 15px; margin: 18px 0 4px; line-height: 1.85; }
.plan-card--feature .plan-card__desc { color:#fff; }
.plan-spec { margin-top: auto; padding-top: 14px; color: #77603F;}
.plan-spec li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-line);
}
.plan-card--feature .plan-spec li { color: #fff; border-color: rgba(255,255,255,.2); }
.plan-spec li:last-child { border-bottom: none; }
.plan-spec b { font-weight: 700; white-space: nowrap; }

/* =====================================================================
   12. RENTAL OFFICE (dark section)
   ===================================================================== */
.rental {
  background: var(--brown-grad);
  color: var(--white);
  padding: 90px 0 84px;
	position:relative;
}
/* 写真を上にはみ出させる */
.rental__photo {
  margin: -150px auto 48px;  /* 上方向にマイナスマージンで持ち上げる */
  position: relative;
  z-index: 2;               /* 茶色背景より前面に */
}
.rental__body { max-width: 540px; margin: 0 auto; text-align: center; }
.rental__en { font-family: var(--ff-en); font-size: 17px; letter-spacing: .12em; }
.rental__title {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: .12em;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.4);
}
.rental__sub {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  letter-spacing: .14em;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.4);
}
.rental__desc { font-size: 14px; color: rgba(255,255,255,.85); margin: 22px 0 26px; text-align: left; }
.spec-list { text-align: left; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.spec-list b { font-weight: 700; }

/* =====================================================================
   13. ROOM SECTIONS (会議室 / ドロップイン)
   ===================================================================== */
.room { padding: 44px 0; }
.room__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;        /* center → stretch：左右を同じ高さに */
}
.room__img { height: 100%; }
.room__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.room__card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  margin-left: -40px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;     /* 中身を縦中央に。上揃えにしたいなら flex-start */
}
.room__en { font-family: var(--ff-en); font-size: 17px; letter-spacing: .1em; color: var(--olive); }
.room__title {
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: .08em;
  margin: 4px 0 18px;
}
.room__price {
  font-family: var(--ff-en);
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 16px 0;
  text-align: center;
}
.room__price b { font-size: 40px; font-weight: 600; }
.room__price span { font-size: 24px; }
.room__desc { font-size: 13.5px; color: var(--ink-soft); margin: 18px 0 6px; }
.room__rates li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-line);
      color: #77603F;
}
.room__rates li:last-child { border-bottom: none; }
.room__rates b { font-family: var(--ff-en); font-weight: 600; }
/* =====================================================================
   税込表記
   ===================================================================== */

/* メイン料金横の税込表記 */
.tax-note {
  display: inline-block;
  font-family: var(--ff-jp);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: baseline;
  white-space: nowrap;
}

/* 料金内訳・オプション欄の税込表記 */
.tax-note--inline {
  font-size: 10px;
  font-weight: 400;
}

@media (max-width: 560px) {
  .plan-spec li,
  .room__rates li {
    align-items: flex-start;
  }

  .plan-spec li b,
  .room__rates li b {
    text-align: right;
  }

  .tax-note {
    font-size: 10px;
  }

  .tax-note--inline {
    display: block;
    margin-top: 5px;
    margin-left: 0;
    font-size: 9px;
  }
}

/* =====================================================================
   14. SPEC (施設情報)
   ===================================================================== */
.spec { background: #fff; padding: 88px 0 96px; }
.spec__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.spec__img { box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 20px 8px;
  border-bottom: 1px solid var(--gray-line);
  font-size: 14px;
}
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--gray-line); }
.spec-table th { width: 130px; font-weight: 700; }
.spec-table td { color: var(--ink-soft); }

/* =====================================================================
   15. CONTACT
   ===================================================================== */
.contact { padding: 88px 0 100px; background:#EEEEEE;}
.contact__lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 36px; }
.contact__form { max-width: 720px; margin: 0 auto;}

/* placeholder when CF7 not configured */
.cf7-placeholder {
  background: var(--gray-bg);
  border: 1px dashed #c3c3bd;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: #b23b3b;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
}

/* Contact Form 7 styling */
.contact__form .wpcf7 { font-size: 14px; }
.contact__form p { margin: 0 0 18px; }
.contact__form label { display: block; font-weight: 700; margin-bottom: 8px; }
.contact__form input[type=text],
.contact__form input[type=email],
.contact__form input[type=tel],
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-line);
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
  background: #fafaf8;
  transition: border-color .25s;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.contact__form textarea { min-height: 150px; resize: vertical; }
.contact__form .wpcf7-submit {
  display: block;
  width: min(360px, 100%);
  margin: 8px auto 0;
  padding: 18px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 16px;
  border-radius: 4px;
  transition: background .25s, transform .2s;
}
.contact__form .wpcf7-submit:hover { background: var(--green-dark); transform: translateY(-2px); }
.contact__form .wpcf7-spinner { margin: 14px auto 0; display: block; }

/* =====================================================================
   16. FOOTER
   ===================================================================== */
.site-footer { background: var(--brown); color: var(--white); padding: 64px 0 28px; }
.site-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}
.footer-logo img {
  width: auto;
  height: 84px;          /* 横長ロゴの高さ。お好みで調整 */
}
.footer-links {
  display: flex;
  flex-direction: row;   /* 横並び */
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  padding-top: 0;
}
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.footer-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a .ext { font-size: 11px; } /* ← 旧グリフ用。残しても害なし */

/* 外部リンクアイコン（SVG） */
.footer-links a {
  gap: 5px;                /* 文字とアイコンの間隔。既存の gap:6px を上書き */
}
.ext-ico {
  width: 17px;
  height: 17px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  transition: transform .25s var(--ease);
}
.footer-links a:hover .ext-ico {
  transform: translate(2px, -2px);   /* ホバーで右上にふわっと */
}
.footer-partner {
  background: var(--white);
  padding: 8px;
  border-radius: 2px;
  max-width: 540px;
}
.footer-partner img { width: 100%; }
.site-footer__copy {
  margin-top: 48px;
  text-align: center;
  font-family: var(--ff-en);
  font-size: 13px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.85);
}

/* =====================================================================
   17. BACK TO TOP
   ===================================================================== */
.to-top {
  position: fixed;
  right: 22px; bottom: 26px;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--brown-grad);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s, transform .35s, visibility .35s;
  z-index: 900;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { opacity: 1; transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* =====================================================================
   18. TOKUSHOHO (特定商取引法) PAGE
   ===================================================================== */
.legal { padding: calc(var(--header-h) + 64px) 0 96px; }
.legal__title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: .06em;
}
.legal__en {
  display: block;
  font-family: var(--ff-en);
  font-size: 18px;
  letter-spacing: .12em;
  color: var(--olive);
  margin: 2px 0 40px;
}

.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 22px 18px;
  border-bottom: 1px solid var(--gray-line);
  font-size: 14px;
  line-height: 1.95;
}
.legal-table tr:first-child th, .legal-table tr:first-child td { border-top: 1px solid var(--gray-line); }
.legal-table th { width: 210px; font-weight: 700; background: #faf9f7; }
.legal-table td { color: var(--ink-soft); }
.legal-table small { display: block; font-size: 13px; }

/* =====================================================================
   19. SCROLL REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   20. RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .amenity-grid { grid-template-columns: repeat(4, 1fr); gap: 30px 20px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  /* header → hamburger */
  .site-header__inner { padding-left: 18px; }
  .site-header.is-scrolled {
        height: 66px;
  }
  .site-logo img { height: 38px; }
  .header-contact, .header-login { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 60px; height: var(--header-h);
    margin-left: auto;
    background: var(--green);
  }
  .nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    margin: 0 auto;
    background: var(--white);
    transition: transform .3s, opacity .3s;
  }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255,255,255,.99);
    box-shadow: 0 14px 24px rgba(0,0,0,.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
    margin: 0;
  }
  body.nav-open .site-nav { max-height: 420px; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav .only-sp { display: block; }
  .site-nav li { border-bottom: 1px solid var(--gray-line); }
  .site-nav a { display: block; padding: 18px 24px; color: var(--ink) !important; }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta {
    background: var(--green);
    color: var(--white) !important;
    text-align: center;
  }

  /* hero */
  .hero { min-height: 500px; flex-direction: column; align-items: stretch;
          padding: calc(var(--header-h) + 44px) 0 64px; }
  .hero__inner { 
    padding-bottom: 130px!important; 
    padding-top: 24px; /* 前回追加したpadding */
  }
  .hero::before { background: linear-gradient(180deg, rgba(20,16,10,.58), rgba(20,16,10,.34)); }
  .hero__copy { 
    max-width: 100%; 
    padding-right: 20px;
  }
	.hero__lead{
		margin-bottom:15px;
	}
.hero__badge {
    position: absolute; /* ★中央揃えから、PCと同じabsolute配置に変更 */
    z-index: 2;
    bottom: 20px;
    right: 3%; /* ★右下に配置 */
    transform: none;
    margin: 0; /* ★マージンは不要 */
    
    /* ★バッジ自体を少し小さくする */
    width: 170px;
    height: 170px;
    padding: 20px; /* ★パディングも少し詰める */
  }
  /* ★テキストサイズを全体的に縮小 */
  .hero__badge-date { font-size: 18px; } /* 22px → 18px */
  .hero__badge-date b { font-size: 30px; } /* 40px(PC) → 30px */
  .hero__badge-sub { font-size: 15px; margin: 0 0 6px; } /* 24px → 16px */
  .hero__badge-btn { 
    font-size: 14px; /* 20px → 14px */
    padding: 10px 20px; /* ★パディング調整 */
    white-space: nowrap; 
  }

  /* facility */
  .facility-card { grid-template-columns: 1fr; }
  .facility-card:nth-child(even) .facility-card__img { order: 0; }
  .facility-card__img { min-height: 240px; }
  .facility-card__body { padding: 38px 28px; }

  /* plan */
.plan__grid {
    grid-template-columns: 1fr;
    border: none;                 /* デスクトップ用の外枠を解除 */
  }
  .plan-card {
    border: 1px solid #77603F;    /* 各カードを単独で囲う */
    border-top: none;             /* 連結部の線を1本化（上は前カードの下線に任せる） */
  }
  .plan-card:first-child {
    border-top: 1px solid #77603F;/* 先頭だけ上線を復活 */
  }
  .plan-card--feature {
    margin: 0;                    /* 重なり解除はそのまま */
    border-color: #77603F;        /* 念のため枠色を統一 */
  }

  /* rooms */
  .room__inner { grid-template-columns: 1fr; }
  .room__card { margin: -36px 16px 0; }

  /* spec */
  .spec__inner { grid-template-columns: 1fr; gap: 30px; }
  .spec-table th { width: 96px; }

  /* footer */
  .site-footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { flex-direction: column; gap: 30px; }

  .to-top { width: 62px; height: 62px; right: 14px; bottom: 16px; }
  .legal-table th { width: 130px; }
}
.hero__title .br-sp { display: none; }
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero__title { font-size: 32px; line-height: 1.5; }
	.hero__title .br-sp { display: inline; }
  .hero__eyebrow { font-size: 15px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .news__item { flex-direction: column; gap: 2px; }
  .news__date { width: auto; }
  .plan-card__price b, .room__price b { font-size: 32px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: none; padding-bottom: 4px; }
  .legal-table td { padding-top: 4px; }
  .spec-table { display: block; }
  .spec-table tbody, .spec-table tr { display: block; }
  .spec-table th, .spec-table td { display: block; width: 100%; padding: 6px 4px; border: none; }
  .spec-table tr { border-bottom: 1px solid var(--gray-line); padding: 14px 0; }
}
/* =====================================================================
   THANKS PAGE (サンクスページ)
   ===================================================================== */
.thanks {
  /* ヘッダーの高さ分を下げる + 上下余白 */
  padding: calc(var(--header-h) + 64px) 0 120px;
}

.thanks__message {
  text-align: center;
  margin-top: 80px;
  line-height: 2.2;
}

.thanks__note {
  color: var(--red); /* 既存の赤色変数を活用 */
  margin-top: 32px;
}

.thanks__action {
  text-align: center;
  margin-top: 72px;
}

/* 既存のCTAボタンは背景白/文字緑ですが、背景緑のボタンに上書きして目立たせます */
.thanks__btn {
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
}
.thanks__btn:hover {
  background: var(--green-dark);
  color: var(--white);
}
.thanks__btn .btn__arrow {
  color: var(--white);
}

/* --- レスポンシブ (スマホ表示) --- */
@media (max-width: 560px) {
  .thanks {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 80px;
  }
  .thanks__message {
    text-align: left; /* スマホでは読みやすいように左寄せ */
    margin-top: 48px;
    line-height: 1.8;
  }
  .thanks__message br {
    display: none; /* スマホでは自然な位置で改行させる */
  }
}