/* =========================================================
   style.css ─ ひよりハウス トップページ
   色・フォント・余白の数値は tokens.css で管理しています
   ========================================================= */

/*-------------------------準備中----------------------------*/

.jyunbi {
    height: 100vh;
    height: 100dvh;

    display: flex;
    justify-content: center; /* 横方向の中央 */
    align-items: center;     /* 縦方向の中央 */

    font-size: 2em;
    text-align: center;
	
}

/* ---------- 基本設定 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.9;
  letter-spacing: 0.03em;
  word-break: auto-phrase; /* 対応ブラウザでは文節の切れ目で改行（1文字だけの行を防ぐ） */
  line-break: strict;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s, background-color .2s, transform .2s; }
.icon { width: 1em; height: 1em; flex-shrink: 0; fill: currentColor; }
.icon--lg { width: 1.45em; height: 1.45em; }
.icon--end { margin-left: auto; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.section { position: relative; padding: var(--section-space) 0; }
.center { text-align: center; }
.is-pink { color: var(--color-pink); }
.is-green { color: var(--color-green); }
.is-leaf { color: var(--color-leaf); }
.is-sky { color: var(--color-sky); }
.hand { font-family: var(--font-hand); color: var(--color-navy); }
.script { font-family: var(--font-script); }
.sp-only { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.6em;
  border-radius: var(--radius-pill);
  font-weight: 700; line-height: 1.4; letter-spacing: .06em;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn--lg { font-size: 18px; padding: 1em 1.6em 1em 1.8em; min-width: 250px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.btn--xl { font-size: 20px; padding: 1em 2.2em; min-width: 420px; justify-content: center; }
.btn--xl .icon--end { margin-left: 1.6em; }
.btn--wide { min-width: 360px; }
.btn--pink { background: var(--color-pink); color: #fff; }
.btn--green { background: var(--color-green); color: #fff; }
.btn--outline-pink { border-color: var(--color-pink); color: var(--color-pink); background: #fff; padding: .8em 2.2em; }
.btn--outline-navy { border-color: var(--color-navy); color: var(--color-navy); background: #fff; }
.btn--outline-white { border-color: rgba(255,255,255,.85); color: #fff; padding: .85em 2.4em; }
.btn--map { border: 1.5px solid var(--color-sky); color: #1f7fd0; background: #fff; font-size: var(--fs-small); padding: .55em 1.3em; }

.circle-arrow {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--color-pink-border); color: var(--color-pink); background: #fff;
  flex-shrink: 0; transition: background-color .2s, color .2s;
}
.circle-arrow .icon { width: 18px; height: 18px; }
.circle-arrow--lg { width: 48px; height: 48px; box-shadow: 0 2px 10px var(--color-pink-shadow); }
a:hover .circle-arrow { background: var(--color-pink); color: #fff; }

/* ---------- タグ ---------- */
.tag {
  display: inline-block; padding: .25em 1em; border-radius: 6px;
  font-size: var(--fs-xsmall); font-weight: 700; line-height: 1.6; letter-spacing: .06em; white-space: nowrap;
}
.tag--pink { background: var(--color-pink-light); color: var(--color-pink); }
.tag--sky { background: var(--color-sky-light); color: var(--color-sky); }
.tag--green { background: var(--color-green-light); color: var(--color-green); }
.tag--solid-pink { background: var(--color-pink); color: #fff; }
.tag--solid-sky { background: var(--color-sky); color: #fff; }
.tag--solid-green { background: var(--color-green); color: #fff; }

/* ---------- 見出しまわり ---------- */
.section-head { text-align: center; margin-bottom: 64px; position: relative; }
.en-label {
  display: inline-flex; align-items: center; gap: 1.2em;
  font-family: var(--font-en); font-size: 22px; letter-spacing: .25em;
  color: var(--color-sky); margin-bottom: 8px;
}
.en-label::before, .en-label::after { content: ""; width: 64px; border-top: 1.5px dashed var(--color-sky); }
.en-label--script { font-family: var(--font-script); letter-spacing: .18em; font-size: 28px; }
.en-label--script::before, .en-label--script::after { border-top-style: solid; }
.en-label--left::before { width: 70px; }
.section-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 50px; line-height: 1.35; letter-spacing: .1em; color: var(--color-navy);
}
.section-title .is-pink { font-size: 1.2em; }
.section-title--lg { font-size: 64px; }
.section-title--lg .is-pink { font-size: 1em; }
.section-lead { margin-top: 24px; font-size: var(--fs-body); color: var(--color-text); }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: relative; z-index: 50;
  background: #fff;
}
.site-header__inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 32px 14px;
}
.site-header__brand { display: flex; align-items: center; gap: 36px; position: relative; z-index: 60; }
.site-logo img { width: 230px; }
.site-header__tagline { font-size: var(--fs-xsmall); line-height: 1.8; color: var(--color-text-sub); letter-spacing: .08em; }
.site-header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.site-header__contact { display: flex; align-items: center; gap: 12px; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; margin-right: 8px; line-height: 1.25; color: var(--color-navy); }
.header-tel__num { display: flex; align-items: center; gap: 6px; font-size: 25px; font-weight: 700; letter-spacing: .02em; }
.header-tel__num .icon { width: 22px; height: 22px; }
.header-tel__time { font-size: var(--fs-xsmall); color: var(--color-text-sub); }
.btn-header {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 8px;
  color: #fff; font-weight: 700; font-size: 16px;
}
.btn-header .icon { width: 24px; height: 24px; }
.btn-header--line { background: var(--color-green); }
.btn-header--mail { background: var(--color-pink); }
.btn-header:hover { opacity: .85; }

.global-nav__list { display: flex; gap: 6px; }
.global-nav__item { position: relative; }
.global-nav__item > a {
  display: block; padding: 6px 18px; font-size: 17px; font-weight: 700; color: var(--color-navy); letter-spacing: .08em;
}
.global-nav__item > a:hover, .global-nav__item > a[aria-current="page"] { color: var(--color-pink); }
.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.sub-menu {
  position: absolute; top: 100%; left: 50%; min-width: 170px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-card); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: .2s;
}
.sub-menu a { display: block; padding: 8px 22px; font-size: 16px; color: var(--color-navy); white-space: nowrap; }
.sub-menu a:hover { color: var(--color-pink); background: var(--color-pink-light); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.global-nav__sp-contact { display: none; }
.menu-toggle { display: none; }

/* =========================================================
   メインビジュアル
   ========================================================= */
.hero { position: relative; min-height: 700px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::before { /* 文字を読みやすくする白いグラデーション */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.35) 38%, rgba(255,255,255,0) 60%);
}
.hero::after { /* 下の白い波 */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 40C220 95 460 20 760 55S1240 70 1440 20V90H0z' fill='%23fff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.hero__inner { position: relative; z-index: 3; max-width: 1440px; margin: 0 auto; padding: 110px 60px 160px; }
.hero__title {
  position: relative; display: inline-block;
  font-family: var(--font-serif); font-weight: 700; color: var(--color-navy);
  line-height: 1.2; transform: rotate(-4deg); transform-origin: left bottom;
  text-shadow: 0 0 18px rgba(255,255,255,.9), 0 0 4px rgba(255,255,255,.8);
}
.hero__title > span { display: block; }
.hero__title-small { font-size: 40px; letter-spacing: .12em; line-height: 1.5; margin-left: 10px; }
.hero__title-main { font-size: 92px; letter-spacing: .02em; margin-top: 6px; }
.hero__title-accent { font-size: 100px; color: var(--color-pink); margin: -6px 0 0 280px; letter-spacing: .06em; }
.hero__bird { position: absolute !important; top: 34px; left: 440px; width: 190px; }
.hero__bird img { width: 84px; position: absolute; left: 4px; top: -14px; }
.hero__bird svg { width: 190px; position: absolute; left: -40px; top: 46px; transform: scaleX(-1) rotate(-12deg); }
.hero__lead {
  margin-top: 36px; font-size: 22px; font-weight: 700; line-height: 1.9; color: var(--color-navy);
  text-shadow: 0 0 14px rgba(255,255,255,.95), 0 0 3px #fff;
}
.hero__buttons { display: flex; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.hero__script {
  position: absolute; z-index: 3; right: 6%; bottom: 90px;
  font-size: 44px; line-height: 1; color: #fff; transform: rotate(-14deg);
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}

/* =========================================================
   選ばれる3つの理由
   ========================================================= */
.feature {
  background:
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(214,234,248,.6), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 70%, rgba(214,234,248,.6), transparent 70%),
    #fff;
  padding-bottom: 150px;
}
.feature::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 20C300 110 620 120 900 70S1300 50 1440 90V120H0z' fill='%23e8f3fb'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.reasons { display: grid; gap: 72px; position: relative; z-index: 1; }
.reason { display: grid; grid-template-columns: 1fr 38%; gap: 48px; align-items: center; }
.reason--reverse { grid-template-columns: 38% 1fr; }
.reason--reverse .reason__img { order: -1; }
.reason__body { display: flex; gap: 40px; align-items: flex-start; }
.reason__num {
  font-family: var(--font-en); font-style: italic; font-weight: 500;
  font-size: 120px; line-height: 1; width: 110px; text-align: center; flex-shrink: 0;
  padding-bottom: 14px; border-bottom: 2px solid currentColor;
}
.reason__text { padding-top: 10px; }
.reason__label { font-size: var(--fs-small); font-weight: 700; letter-spacing: .1em; }
.reason__title { font-size: 34px; font-weight: 700; color: var(--color-navy); letter-spacing: .08em; line-height: 1.5; margin: 4px 0 18px; }
.reason__text p:last-child { font-size: var(--fs-body); line-height: 2; }
.reason__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-m); box-shadow: var(--shadow-card); }

/* =========================================================
   物件を見てみる
   ========================================================= */
.search {
  background: url("../images/search-bg.jpg") center top / cover no-repeat;
  padding-top: 90px; padding-bottom: 70px;
}
.search::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(to bottom, rgba(242,248,253,0), #f2f8fd 55%);
}
.search .container { position: relative; z-index: 1; }
.search__head { margin-bottom: 44px; }
.search__title {
  font-family: var(--font-serif); font-weight: 600; font-size: 76px; line-height: 1.3; color: var(--color-navy); letter-spacing: .08em;
  text-shadow: 0 0 24px rgba(255,255,255,.9);
}
.search__title .is-pink { font-size: 1.12em; }
.search .section-lead { font-size: 20px; font-weight: 500; color: var(--color-navy); text-shadow: 0 0 10px #fff; }
.search__note {
  position: absolute; top: 6px; right: 6%; font-size: 21px; line-height: 1.7; transform: rotate(-12deg); letter-spacing: .08em;
}
.search__bird { position: absolute; width: 66px; left: -60px; top: -62px; }
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card a { display: block; height: 100%; background: #fff; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-card); }
.cat-card a:hover { transform: translateY(-4px); }
.cat-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cat-card__body {
  display: grid; grid-template-columns: 62px 1fr auto; column-gap: 14px; align-items: center;
  padding: 22px 28px 30px;
}
.cat-card__icon { width: 54px; height: 54px; grid-row: 1 / 3; align-self: start; }
.cat-card__title { font-size: 26px; font-weight: 700; color: var(--color-navy); letter-spacing: .1em; }
.cat-card__text { grid-column: 2 / 4; font-size: var(--fs-small); line-height: 1.85; margin-top: 8px; }

/* =========================================================
   お知らせ
   ========================================================= */
.news { background: linear-gradient(#f2f8fd, #eef6fc); padding-top: 50px; padding-bottom: 70px; }
.news__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; margin-bottom: 28px; padding: 0 30px; }
.news__title { display: flex; align-items: center; gap: 20px; font-size: 44px; font-weight: 700; color: var(--color-navy); letter-spacing: .1em; }
.news__icon { width: 56px; height: 56px; color: var(--color-pink); }
.news__lead { font-size: var(--fs-body); color: var(--color-navy); }
.news-list { background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow-card); padding: 12px 28px; }
.news-item + .news-item { border-top: 1px solid var(--color-line); }
.news-item a { display: grid; grid-template-columns: 130px 120px 1fr 24px; gap: 28px; align-items: center; padding: 22px 8px; }
.news-item time { font-family: var(--font-en); font-feature-settings: "lnum"; font-variant-numeric: lining-nums; font-size: 20px; color: var(--color-text); letter-spacing: .04em; }
.news-item .tag { text-align: center; }
.news-item__title { font-size: 19px; color: var(--color-navy); }
.news-item__arrow { width: 22px; height: 22px; color: var(--color-pink); }
.news-item a:hover .news-item__title { color: var(--color-pink); }

/* =========================================================
   LINE相談
   ========================================================= */
.line-cta {
  position: relative; padding: 40px 0 110px; overflow: hidden;
  background: linear-gradient(#eef6fc, #f3f9fb 50%, #f6fafd);
}
.line-cta::before { /* 海の写真を強くぼかし、上下左右を背景色に溶け込ませる */
  content: ""; position: absolute; left: -40px; right: -40px; bottom: -10px; height: 300px;
  background: url("../images/search-bg.jpg") 0% 85% / 170% auto no-repeat;
  filter: blur(16px) saturate(.9); opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 60%, transparent 100%);
}
.line-cta .container { position: relative; z-index: 1; }
.line-box {
  display: grid; grid-template-columns: 90px 1fr 250px; align-items: stretch;
  background: rgba(255,255,255,.94); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card);
}
.line-box__side { background: var(--color-green); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 34px 0; gap: 14px; }
.line-box__logo { width: 64px; height: 64px; fill: #fff; }
.line-box__logo, .btn--green .icon, .btn-header--line .icon { --line-text: var(--color-green); }
.line-box__vertical { writing-mode: vertical-rl; font-size: 30px; font-weight: 700; letter-spacing: .12em; }
.line-box__main { padding: 44px 20px 36px 52px; }
.line-box__title { font-size: 42px; font-weight: 700; line-height: 1.45; color: var(--color-navy); letter-spacing: .06em; }
.line-box__title .is-green { font-size: 1.3em; font-family: var(--font-sans); letter-spacing: .02em; }
.line-box__lead { margin: 12px 0 26px; font-size: var(--fs-body); font-weight: 500; color: var(--color-navy); }
.line-box__main .btn--xl { box-shadow: 0 6px 16px rgba(31,170,89,.3); margin-left: 60px; }
.line-box__checks { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 26px; }
.line-box__checks li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-body); font-weight: 500; color: var(--color-navy); }
.line-box__checks .icon { width: 28px; height: 28px; color: var(--color-green); fill: none; }
.line-box__illust { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 20px 0 0; }
.line-box__illust img { width: 100%; max-width: 180px; margin: 0 auto; }
.line-box__note { font-size: 20px; line-height: 1.5; transform: rotate(-12deg); margin: 0 0 14px 40px; }

/* =========================================================
   おすすめの物件
   ========================================================= */
.pickup {
  background:
    radial-gradient(ellipse 50% 30% at 10% 20%, rgba(214,234,248,.7), transparent 70%),
    radial-gradient(ellipse 50% 30% at 90% 60%, rgba(214,234,248,.7), transparent 70%),
    #f6fafd;
  padding-top: 30px;
}
.property-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 44px; margin-bottom: 56px; }
.property-card a { display: block; height: 100%; background: #fff; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-card); }
.property-card a:hover { transform: translateY(-4px); }
.property-card__img { position: relative; }
.property-card__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.property-card__tags { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.property-card__tags .tag { padding: .35em 1.2em; }
.property-card__body { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 26px 24px 28px; }
.property-card__title { grid-column: 1 / 3; font-size: 22px; font-weight: 700; color: var(--color-navy); letter-spacing: .06em; line-height: 1.5; }
.property-card__price { font-weight: 700; color: var(--color-pink); font-size: 22px; line-height: 1.2; margin-top: 4px; }
.property-card__price .num { font-family: var(--font-serif); font-variant-numeric: lining-nums; font-size: 44px; letter-spacing: 0; margin-right: 4px; }
.property-card__info { grid-column: 1 / 3; border-top: 1px solid var(--color-line); margin-top: 18px; padding-top: 14px; display: grid; gap: 4px; }
.property-card__info li { display: flex; align-items: center; flex-wrap: wrap; font-size: var(--fs-small); color: var(--color-text); }
.property-card__info .icon { width: 22px; height: 22px; color: var(--color-green); margin-right: 22px; }
.property-card__info span + span::before { content: ""; display: inline-block; width: 1px; height: 1em; background: #c9ced8; margin: 0 14px; vertical-align: -2px; }

/* =========================================================
   売却・相続サポート
   ========================================================= */
.sale { position: relative; overflow: hidden; padding: 70px 0 150px; background: linear-gradient(#f6fafd, #fff 30%); }
.sale__img { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; }
.sale__img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.sale__img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.6) 18%, rgba(255,255,255,0) 40%), linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 22%);
}
.sale::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 50C360 0 700 90 1060 40S1360 20 1440 30V80H0z' fill='%235a3d26'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.sale__inner { position: relative; z-index: 1; }
.sale__content { max-width: 660px; }
.sale__title { font-family: var(--font-serif); font-weight: 600; font-size: 54px; line-height: 1.4; color: var(--color-navy); margin: 18px 0 30px; letter-spacing: .04em; }
.sale__text { font-size: var(--fs-body); line-height: 2; margin-bottom: 36px; }
.sale .btn--lg { min-width: 390px; }
.sale__note { position: absolute; z-index: 1; top: 30px; right: 6%; font-size: 28px; line-height: 1.6; color: #1f5fae; transform: rotate(-16deg); letter-spacing: .12em; }
.sale__script { position: absolute; z-index: 3; right: 6%; bottom: 110px; font-size: 40px; line-height: 1; color: var(--color-sky); transform: rotate(-14deg); }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: var(--color-brown); color: #fff; }
.footer-main { display: grid; grid-template-columns: 300px 1fr 1fr; gap: 40px; padding: 50px 0 40px; border-bottom: 1px solid rgba(255,255,255,.4); }
.footer-map { position: relative; border-radius: var(--radius-m); overflow: hidden; min-height: 340px; background: #e9eef1; }
.footer-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.footer-map__card { position: absolute; top: 12px; left: 12px; right: 12px; background: rgba(255,255,255,.95); color: var(--color-navy); border-radius: 10px; padding: 12px 16px 14px; font-size: var(--fs-small); line-height: 1.7; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.footer-map__card .btn { margin-top: 6px; width: 100%; justify-content: center; }
.footer-logo img { width: 250px; }
.footer-info { padding-right: 36px; border-right: 1px solid rgba(255,255,255,.35); }
.footer-info__tagline { font-size: var(--fs-xsmall); margin: 12px 0 16px; line-height: 1.8; }
.footer-info__company { font-size: var(--fs-small); line-height: 1.8; }
.footer-tel { display: inline-flex; align-items: center; gap: 10px; font-size: 32px; font-weight: 700; margin-top: 10px; line-height: 1.3; }
.footer-tel .icon { width: 28px; height: 28px; }
.footer-info__time { font-size: var(--fs-xsmall); margin-left: 38px; }
.footer-info__license { font-size: var(--fs-xsmall); line-height: 1.9; margin-top: 14px; opacity: .9; }
.footer-about { font-size: var(--fs-small); line-height: 2; }
.footer-about .btn { margin: 24px 0 26px; min-width: 240px; justify-content: center; }
.footer-sns { display: flex; gap: 24px; }
.footer-sns a { display: block; width: 50px; height: 50px; }
.footer-sns svg { width: 100%; height: 100%; }
.footer-sns__line { background: #fff; border-radius: 10px; padding: 7px; }
.footer-sns__line svg { color: var(--color-green); }
.footer-nav ul { display: flex; justify-content: center; flex-wrap: wrap; padding: 22px 0; }
.footer-nav li { font-size: var(--fs-small); letter-spacing: .1em; }
.footer-nav li + li::before { content: ""; display: inline-block; width: 1px; height: 1.1em; background: rgba(255,255,255,.5); margin: 0 36px; vertical-align: -3px; }
.footer-nav a:hover, .footer-bottom a:hover { opacity: .7; }
.footer-visual { position: relative; }
.footer-visual > img:first-child { width: 100%; height: 230px; object-fit: cover; object-position: center 70%; }
.footer-visual::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50px; background: linear-gradient(var(--color-brown), rgba(90,61,38,0)); }
.footer-visual__note { position: absolute; left: 8%; top: 14px; color: #fff; font-size: 22px; line-height: 1.6; transform: rotate(-10deg); letter-spacing: .14em; }
.footer-visual__bird { position: absolute; left: calc(8% + 250px); top: 0; width: 60px; }
.footer-visual__script { position: absolute; right: 6%; top: 10px; color: #fff; font-size: 34px; line-height: 1; transform: rotate(-14deg); opacity: .9; }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 18px; font-size: var(--fs-xsmall); }

.page-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 50px; height: 50px; border-radius: 50%; background: var(--color-pink); color: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden;
}
.page-top.is-show { opacity: 1; visibility: visible; }
.page-top .icon { transform: rotate(-90deg); width: 22px; height: 22px; }

/* =========================================================
   スクロールでふわっと表示（main.js と連動）
   ・動きの大きさ：translateY の数値　・速さ：transition の秒数
   ・JavaScriptが動かない環境では、最初から普通に表示されます
   ========================================================= */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.reveal-ready .sale__img.reveal { transform: none; } /* 写真は動かさず、ふわっと浮かび上がるだけ */

/* =========================================================
   タブレット（1200px以下）
   ========================================================= */
@media (max-width: 1200px) {
  .site-header__tagline { display: none; }
  .global-nav__item > a { padding: 6px 12px; font-size: 16px; }
  .hero__title-main { font-size: 76px; }
  .hero__title-accent { font-size: 84px; margin-left: 220px; }
  .hero__bird { left: 360px; }
  .reason__num { font-size: 96px; width: 80px; }
  .reason__body { gap: 24px; }
  .reason__title { font-size: 28px; }
  br.pc-only { display: none; }
  .news-item a { grid-template-columns: 110px 110px 1fr 20px; gap: 18px; }
  .line-box__title { font-size: 34px; }
  .line-box__main .btn--xl { margin-left: 0; }
  .sale__content { max-width: 50%; }
  .sale__title { font-size: 40px; }
  .sale .btn--lg { min-width: 0; font-size: 16px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-map { grid-column: 1 / 3; min-height: 280px; }
}

/* =========================================================
   スマホメニュー切り替え（1024px以下）
   ========================================================= */
@media (max-width: 1024px) {
  .site-header { position: sticky; top: 0; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
  .site-header__inner { padding: 10px var(--gutter); }
  .site-logo img { width: 140px; }
  .site-header__contact { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    width: 56px; height: 56px; border: 0; border-radius: 10px; background: var(--color-pink); color: #fff; cursor: pointer; position: relative; z-index: 60;
  }
  .menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; position: relative; }
  .menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bar { margin-top: 2px; }
  .menu-toggle__bar::before { top: -7px; }
  .menu-toggle__bar::after { top: 7px; }
  .menu-toggle__label { font-size: 10px; letter-spacing: .1em; line-height: 1; margin-top: 9px; font-weight: 700; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { top: 0; transform: rotate(-45deg); }

  .global-nav {
    position: fixed; inset: 0; z-index: 55; background: #fff;
    padding: 96px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: .25s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav__list { flex-direction: column; gap: 0; max-width: 480px; margin: 0 auto; }
  .global-nav__item { border-bottom: 1px solid var(--color-line); }
  .global-nav__item > a { padding: 16px 6px; font-size: 17px; }
  .has-sub > a::after { display: none; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; display: grid; grid-template-columns: 1fr 1fr; padding: 0 0 12px 12px; }
  .sub-menu a { padding: 6px 8px; font-size: 16px; }
  .sub-menu a::before { content: "- "; color: var(--color-pink); }
  .global-nav__sp-contact { display: grid; gap: 12px; max-width: 480px; margin: 28px auto 0; }
  .global-nav__sp-contact .btn { justify-content: center; font-size: 17px; }
  body.is-menu-open { overflow: hidden; }
}

/* =========================================================
   スマホ（768px以下）
   ========================================================= */
@media (max-width: 768px) {
  .sp-only { display: block; }
  .pc-only { display: none !important; }
  .btn--lg { font-size: 17px; min-width: 0; }
  .btn--xl { font-size: 18px; min-width: 0; width: 100%; padding: 1em 1.4em; }
  .btn--wide { min-width: 0; max-width: 340px; }
  .section-head { margin-bottom: 40px; }
  .en-label { font-size: 17px; }
  .en-label::before, .en-label::after { width: 36px; }
  .section-title { font-size: 30px; }
  .section-title--lg { font-size: 38px; }
  .section-lead { font-size: var(--fs-body); margin-top: 16px; }
  .section-lead br { display: none; }

  /* ヒーロー */
  .hero { min-height: 0; }
  .hero__bg img { object-position: 30% center; }
  .hero__bg::before { background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.35) 45%, rgba(255,255,255,0) 70%); }
  .hero::after { height: 40px; }
  .hero__inner { padding: 56px var(--gutter) 150px; }
  .hero__title { transform: rotate(-4deg); }
  .hero__title-small { font-size: 22px; margin-left: 4px; }
  .hero__title-main { font-size: 46px; }
  .hero__title-accent { font-size: 54px; margin-left: 110px; }
  .hero__bird { left: 210px; top: 6px; width: 110px; }
  .hero__bird img { width: 50px; top: -12px; }
  .hero__bird svg { width: 110px; top: 30px; left: -20px; }
  .hero__lead { font-size: 16px; margin-top: 22px; letter-spacing: 0; }
  .hero__buttons { gap: 10px; margin-top: 24px; }
  .hero__buttons .btn { flex: 1 1 150px; padding: .9em .9em .9em 1.1em; gap: .4em; font-size: 16px; letter-spacing: 0; white-space: nowrap; }
  .hero__script { display: none; }

  /* 理由 */
  .feature { padding-bottom: 100px; }
  .reasons { gap: 56px; }
  .reason, .reason--reverse { grid-template-columns: 1fr; gap: 20px; }
  .reason--reverse .reason__img { order: 0; }
  .reason__body { display: block; }
  .reason__num { float: left; font-size: 60px; width: 50px; padding-bottom: 4px; margin: 0 14px 6px 0; }
  .reason__text { padding-top: 4px; }
  .reason__text p:last-child { clear: both; padding-top: 6px; }
  .reason__label { font-size: var(--fs-xsmall); }
  .reason__title { font-size: 23px; margin-bottom: 10px; }
  .reason__text p:last-child { font-size: var(--fs-body); }

  /* 物件を見てみる */
  .search { padding-top: 90px; padding-bottom: 72px; background-position: 70% top; background-size: auto 520px; }
  .search__title { font-size: 40px; }
  .search .section-lead { font-size: var(--fs-body); }
  .search__note { top: -58px; right: 12px; font-size: 14px; }
  .search__bird { width: 40px; left: -44px; top: -6px; }
  .cat-cards { grid-template-columns: 1fr; gap: 18px; }
  .cat-card a { display: grid; grid-template-columns: 38% 1fr; }
  .cat-card__img img { height: 100%; aspect-ratio: auto; }
  .cat-card__body { grid-template-columns: 34px 1fr auto; column-gap: 8px; padding: 14px 14px 16px; }
  .cat-card__icon { width: 32px; height: 32px; grid-row: auto; align-self: center; }
  .cat-card__title { font-size: 20px; letter-spacing: .04em; }
  .cat-card .circle-arrow { width: 32px; height: 32px; }
  .cat-card__text { grid-column: 1 / 4; font-size: var(--fs-small); line-height: 1.7; }
  .cat-card__text br { display: none; }

  /* お知らせ */
  .news { padding-top: 64px; }
  .news__head { grid-template-columns: 1fr; gap: 10px; padding: 0; text-align: center; margin-bottom: 24px; }
  .news__title { justify-content: center; font-size: 30px; gap: 12px; }
  .news__icon { width: 38px; height: 38px; }
  .news__lead { font-size: var(--fs-small); }
  .news-list { padding: 4px 16px; margin-bottom: 28px; }
  .news-item a { grid-template-columns: auto 1fr 16px; gap: 6px 12px; padding: 16px 0; }
  .news-item time { font-size: 17px; }
  .news-item .tag { justify-self: start; font-size: var(--fs-xsmall); }
  .news-item__title { grid-column: 1 / 3; font-size: var(--fs-body); line-height: 1.6; }
  .news-item__arrow { grid-column: 3; grid-row: 1 / 3; width: 18px; height: 18px; }

  /* LINE */
  .line-cta { padding: 20px 0 80px; }
  .line-cta::before { height: 220px; }
  .line-box { grid-template-columns: 1fr; position: relative; }
  .line-box__side { flex-direction: row; justify-content: center; padding: 12px; gap: 10px; }
  .line-box__logo { width: 40px; height: 40px; }
  .line-box__vertical { writing-mode: horizontal-tb; font-size: 20px; }
  .line-box__main { padding: 24px 20px 28px; }
  .line-box__title { font-size: 22px; padding-right: 96px; }
  .line-box__lead { font-size: var(--fs-small); margin: 10px 0 20px; }
  .line-box__checks { gap: 10px 18px; margin-top: 18px; justify-content: center; }
  .line-box__checks li { font-size: var(--fs-small); gap: 6px; }
  .line-box__checks .icon { width: 22px; height: 22px; }
  .line-box__illust { position: absolute; right: 10px; top: 76px; width: 96px; padding: 0; }
  .line-box__note { display: none; }

  /* おすすめ物件 */
  .property-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .property-card__body { padding: 18px 18px 20px; }
  .property-card__title { font-size: 20px; }
  .property-card__price .num { font-size: 36px; }
  .property-card__price { font-size: 18px; }
  .property-card__info li { font-size: var(--fs-small); }
  .property-card__info .icon { width: 18px; height: 18px; margin-right: 10px; }
  .property-card__info span + span::before { margin: 0 8px; }
  .property-card__tags .tag { font-size: var(--fs-xsmall); }

  /* 売却・相続 */
  .sale { padding: 0 0 110px; }
  .sale__img { position: relative; width: 100%; height: 280px; }
  .sale__img::before { background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 40%); }
  .sale__content { margin-top: -30px; max-width: none; }
  .sale__title { font-size: 32px; margin: 12px 0 20px; }
  .sale__text { font-size: var(--fs-body); margin-bottom: 26px; }
  .sale .btn--lg { min-width: 0; width: 100%; font-size: 16px; padding-left: 1.2em; padding-right: 1.2em; }
  .sale__note { top: 20px; right: 16px; font-size: 16px; }
  .sale__script { display: none; }

  /* フッター */
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-top: 30px; }
  .footer-map { grid-column: auto; min-height: 260px; }
  .footer-info { padding-right: 0; border-right: 0; text-align: center; }
  .footer-logo img { width: 200px; margin: 0 auto; }
  .footer-info__time { margin-left: 0; }
  .footer-tel { font-size: 28px; }
  .footer-about { text-align: center; font-size: var(--fs-small); }
  .footer-about p br { display: none; }
  .footer-sns { justify-content: center; }
  .footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 18px 0; }
  .footer-nav li { border-bottom: 1px solid rgba(255,255,255,.2); }
  .footer-nav li a { display: block; padding: 12px 6px; }
  .footer-nav li + li::before { display: none; }
  .footer-visual > img:first-child { height: 150px; }
  .footer-visual__note { font-size: 15px; left: 16px; }
  .footer-visual__bird { left: 180px; width: 40px; }
  .footer-visual__script { font-size: 22px; right: 16px; }
  .footer-bottom__inner { flex-direction: column-reverse; gap: 6px; font-size: var(--fs-xsmall); }
}
