@charset "UTF-8";
/* ============================================================
   株式会社明成興産 トップページ  style.css
   ------------------------------------------------------------
   1. reset
   2. base
   3. 共通パーツ（ボタン / セクションタイトル / ユーティリティ）
   4. 各セクション
   5. レスポンシブ
   ============================================================ */

/*reset----------------------------------------------------------*/
html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var, b, i,dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, dialog, figure, footer, header,hgroup, menu, nav, section,time, mark, audio, video { list-style:none; margin:0; padding:0; border:0; outline:0;font-size:100%; vertical-align:baseline; background:transparent;}
body { line-height:1;}
article, aside, dialog, figure, footer, header,hgroup, nav, section { display:block;}
nav ul { list-style:none;}
li { margin:0; padding:0;}
blockquote, q { quotes:none;}
blockquote:before, blockquote:after,q:before, q:after { content:''; content:none;}
a { margin:0; padding:0; border:0; font-size:100%; vertical-align:baseline; background:transparent;}
ins { background-color:#ff9; color:#423a2b; text-decoration:none;}
mark { background-color:#ff9; color:#423a2b; font-style:italic; font-weight:bold;}
del { text-decoration: line-through;}
abbr[title], dfn[title] { border-bottom:1px dotted #423a2b; cursor:help;}
table { border-collapse:collapse; border-spacing:0;}
hr {display:block;height:1px;border:0;border-top: 1px solid #e5dcc8;margin:1em 0;padding:0;}
input, select { vertical-align:middle;}
input[type="submit"], input[type="button"],input[type="checkbox"],input[type="radio"],input[type="text"] { margin: 0; padding: 0; background: none; border: none; border-radius: 0; outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none;}


/* ============================================================
   2. base
   ============================================================ */
body {font-family: 'Noto Sans JP', sans-serif;font-weight: 400;font-size: 16px;line-height: 1.8;color: #464646;background: #ffffff;-webkit-font-smoothing: antialiased;}
a { color: #249D57; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
img { max-width: 100%; }
.svg-defs { display: none; }

@keyframes fvB { 0% { opacity: 0; } 33.3% { opacity: 0; } 38.9% { opacity: 1; } 66.7% { opacity: 1; } 72.2% { opacity: 0; } 100% { opacity: 0; } }
@keyframes fvC { 0% { opacity: 0; } 66.7% { opacity: 0; } 72.2% { opacity: 1; } 94.4% { opacity: 1; } 100% { opacity: 0; } }


/* ============================================================
   3. 共通パーツ
   ============================================================ */

/* ---------- ボタン ---------- */
.btn {display: flex;align-items: center;gap: 10px;font-weight: 700;padding: 12px 16px;border-radius: .5em;box-sizing: border-box;}
.btn__icon { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.btn__icon svg { width: 9px; height: 9px; }

/* 緑ボタン */
.btn--green { background: #249D57; color: #ffffff; }
.btn--green .btn__icon { background: #ffffff; color: #249D57; }
.btn--green:hover { background: #1f8449; }

/* 青ボタン */
.btn--blue { background: #244aad; color: #ffffff; gap: 11px; }
.btn--blue .btn__icon { background: #ffffff; color: #244aad; }
.btn--blue:hover { background: #1c3c8f; }

/* 緑ボタン（反転：白地・緑枠・緑文字、円は緑地に白矢印） */
.btn--green-o { background: #ffffff; color: #249D57; border: 2px solid #249D57; }
.btn--green-o .btn__icon { background: #249D57; color: #ffffff; }
.btn--green-o:hover { background: #eef8f2; }

/* グレーボタン */
.btn--gray { background: #f3f3f3; color: #464646; }
.btn--gray .btn__icon { background: #249D57; color: #ffffff; }
.btn--gray:hover { background: #e6e6e6; }
.btn--sm { font-size: 90.6%; padding: 11px 14px; }

/* もっと見る（色は --green / --blue を併用） */
.btn--more { display: inline-flex; margin-top: 30px; padding: 14px 22px; }

/* 複数行になる外部リンク */
.btn--multi {align-items: flex-start;line-height: 1.6;}
.btn--multi .btn__icon { margin-top: 1px; }

/* 強調CTA（影付き） */
.btn--cta { display: inline-flex; padding: 13px 24px; box-shadow: 0 2px 8px rgba(36, 157, 87, 0.35); }
.btn--blue.btn--cta {padding: 14px 20px;box-shadow: 0 2px 8px rgba(36, 74, 173, 0.35);}
.btn--mail { display: inline-flex; padding: 14px 26px; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25); }

/* ---------- セクションタイトル ---------- */
.sec-title {display: flex;align-items: flex-start;gap: .5em;margin-bottom: 1.5em;}
.sec-title--faq { margin-bottom: 30px; }
.sec-title__mark {flex: none;width: 5em;height: 5em;margin-top: .8em;object-fit: contain;}
.sec-title__text {font-size: clamp(24px, 2.6vw, 42px);font-weight: 700;color: #000000;line-height: 1.6;}
.sec-title__en {display: block;font-size: 41%;font-weight: 700;color: #244aad;}

/* ---------- 電話番号（ヘッダー / CTA / フッター共通） ---------- */
.tel {display: inline-flex;align-items: center;font-size: 210%;font-weight: 900;color: #000000;letter-spacing: 0.02em;line-height: 1;}
.tel__icon { width: .66em; height: .66em; flex: none; }

/* ---------- SNSリンク（ヘッダーパネル / フッター共通） ---------- */
.sns { display: flex; align-items: center; gap: 14px; }
.sns a { display: block; }
.sns img { display: block; width: 30px; height: 30px; }

/* ---------- ユーティリティ ---------- */
.u-mt-auto { margin-top: auto; }
.u-self-start { align-self: flex-start; }
.ja {font-family: "Noto Sans JP", sans-serif;font-weight: 400;}
.en {font-family: "Mukta Mahee", sans-serif;font-weight: 700;}

/* ============================================================
   4. 各セクション
   ============================================================ */

/* ---------- ヘッダー ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.3s ease, box-shadow 0.3s ease; }
.header__bar { position: relative; display: flex; align-items: stretch; height: 76px; }
.header__logo { display: flex; align-items: center; padding: 0 22px; }
.header__logo img {height: 48px;width: auto;}

.gnav { display: flex; align-items: center; gap: 26px; margin-left: 6px; }
.gnav a { position: relative; font-size: 93.75%; font-weight: 500; color: #464646; white-space: nowrap; }
.gnav a:hover { color: #244aad; }
/* オンマウスで下線が左から右へ */
.gnav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform 0.3s ease; }
.gnav a:hover::after { transform: scaleX(1); }

.header__tel { margin-left: auto; display: flex; align-items: center; gap: .5em; padding: 0 18px; cursor: pointer; }
.header__tel a { color: inherit; }   /* tel:リンク化してもリンク色（緑）にならないように */
.header__caret { display: inline-flex; color: #999999; transition: transform 0.3s ease; }
.header__caret svg { width: 12px; height: 8px; }

.header__contact { display: flex; align-items: center; gap: 9px; padding: 0 30px; background: #249D57; color: #ffffff; font-size: 100%; font-weight: 700; }
.header__contact svg { width: 18px; height: 18px; }
.header__contact:hover { background: #1f8449; }

/* ハンバーガーメニューボタン（1120px以下で表示） */
.header__menu-btn { display: none; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; gap: 5px; padding: 0 22px; border: 0; appearance: none; font-family: inherit; background: #244aad; color: #ffffff; font-size: 81.25%; font-weight: 800; letter-spacing: .06em; line-height: 1; cursor: pointer; }
.header__menu-btn:hover { background: #1c3c8f; }
.header__menu-btn-close { display: none; }
.header[data-menu="1"] .header__menu-btn-open { display: none; }
.header[data-menu="1"] .header__menu-btn-close { display: inline; }
/* 三本線 → 開いたらバツに */
.header__menu-icon { position: relative; display: block; width: 22px; height: 14px; }
.header__menu-icon span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: #ffffff; transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease; }
.header__menu-icon span:nth-child(1) { top: 0; }
.header__menu-icon span:nth-child(2) { top: 6px; }
.header__menu-icon span:nth-child(3) { top: 12px; }
.header[data-menu="1"] .header__menu-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.header[data-menu="1"] .header__menu-icon span:nth-child(2) { opacity: 0; }
.header[data-menu="1"] .header__menu-icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ドロワーメニュー（1120px以下） */
.drawer { position: absolute; top: 100%; left: 0; right: 0; height: calc(100svh - 76px); overflow-y: auto; background: #ffffff; padding: 24px 5vw 48px; box-sizing: border-box; visibility: hidden; opacity: 0; transition: opacity 0.25s ease, visibility 0.25s ease; }
.header[data-menu="1"] .drawer { visibility: visible; opacity: 1; }
.drawer__menu { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drawer__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.drawer__nav { display: flex; flex-direction: column; margin-top: 26px; border-top: 1px solid #e6e6e6; }
.drawer__nav a { position: relative; padding: 14px 28px 14px 4px; border-bottom: 1px solid #e6e6e6; color: #464646; font-weight: 500; }
.drawer__nav a::after { content: ''; position: absolute; right: 10px; top: 50%; width: 8px; height: 8px; margin-top: -5px; border-top: 2px solid #249D57; border-right: 2px solid #249D57; transform: rotate(45deg); }

/* 店舗情報パネル */
.header__panel { position: absolute; top: 100%; left: 0; right: 0; max-height: 0; overflow: hidden; background: #ffffff; transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.header__panel-inner { display: flex; align-items: flex-start; gap: 44px; padding: 30px 5vw 32px; }
.header__panel-info { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-start; gap: 24px; }
.shop-info { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.shop-info__grid { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; font-size: 93.75%; line-height: 1.7; }
.shop-info__label { font-weight: 700; color: #000000; }
.header__map { flex: 1 1 0; min-width: 0; height: 240px; }

/* パネル左：目的別メニュー（2カラム×2段） */
.panel-menu { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel-menu__item { position: relative; display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 16px 52px 16px 18px; border-radius: 6px; color: #ffffff; box-sizing: border-box; }
.panel-menu__icon { flex: none; width: 56px; height: 56px; padding: 7px; background: #ffffff; border-radius: 8px; object-fit: contain; box-sizing: border-box; }
.panel-menu__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.panel-menu__item--blue { background: #244aad; }
.panel-menu__item--blue:hover { background: #1c3c8f; }
.panel-menu__item--green { background: #249D57; }
.panel-menu__item--green:hover { background: #1f8449; }
.panel-menu__lead { font-size: 81.25%; font-weight: 500; line-height: 1.4; opacity: .9; }
.panel-menu__main { font-size: 180%; font-weight: 900; line-height: 1.2; }
.panel-menu__arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: #ffffff; display: inline-flex; align-items: center; justify-content: center; }
.panel-menu__item--blue .panel-menu__arrow { color: #244aad; }
.panel-menu__item--green .panel-menu__arrow { color: #249D57; }
.panel-menu__arrow svg { width: 10px; height: 10px; }

/* 状態：FV上（透過）/ スクロール後（白） */
.header[data-solid="1"] { background: #ffffff;}
.header:not([data-solid="1"]) .gnav a,
.header:not([data-solid="1"]) .header__tel .tel {color: #ffffff;}
.header:not([data-solid="1"]) .header__caret { color: #ffffff; }
.header:not([data-solid="1"]) .header__logo img { filter: brightness(0) invert(1); }
.header[data-open="1"] .header__panel { max-height: 520px; }
.header[data-open="1"] .header__caret { transform: rotate(180deg); }

/* ---------- ファーストビュー ---------- */
/* 高さ：直後のティッカー（56px・上に28pxかぶせ）が初期画面内に必ず収まるよう確保 */
.fv { position: relative; height: calc(100svh - 40px); min-height: 660px; overflow: hidden; background: #1a2b52; }
.fv__slide { position: absolute; inset: 0; }
.fv__slide--b { opacity: 0; animation: fvB 18s linear infinite; }
.fv__slide--c { opacity: 0; animation: fvC 18s linear infinite; }
.fv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fv__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 44, 0.32) 0%, rgba(8, 18, 44, 0.06) 45%, rgba(8, 18, 44, 0.38) 100%); }
.fv__catch {position: absolute;left: 6vw;top: clamp(56px, 15vh, 150px);color: #ffffff;font-size: clamp(42px, 6.6vw, 96px);font-weight: 900;line-height: 1.3;letter-spacing: 0;}
.fv__catch .en {font-size:150%; line-height:1;}
/* キャッチコピー：1行ごとに下から上へマスク表示 */
.fv__line { display: block; overflow: hidden; }
.fv__line-in { display: inline-block; transform: translateY(112%); animation: fvRise 0.7s cubic-bezier(0.22, 0.65, 0.3, 1) forwards; }
.fv__line:nth-child(1) .fv__line-in { animation-delay: 0.3s; }
.fv__line:nth-child(2) .fv__line-in { animation-delay: 0.5s; }
.fv__line:nth-child(3) .fv__line-in { animation-delay: 0.7s; }
@keyframes fvRise { to { transform: translateY(0); } }
.fv__sub {position: absolute;right: 44px;bottom: 72px;max-width: 468px;opacity: 0;animation: fvFadeUp 0.9s ease 1.2s forwards;}
@keyframes fvFadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .fv__line-in { animation: none; transform: none; }
  .fv__sub { animation: none; opacity: 1; }
}
.fv__glow { position: absolute; right: -80px; bottom: -110px; width: 860px; max-width: none; mix-blend-mode: multiply; pointer-events: none; }
.fv__lead {position: relative;color: #ffffff;font-weight: 500;line-height: 2.15;letter-spacing: 0.04em;padding-bottom: 3em;transition: padding-bottom 0.6s ease;}
/* スクロール開始後は追従CTAとかぶらなくなるため、確保していた余白をスムーズに解除（JSが .fv--scrolled を付与） */
.fv--scrolled .fv__lead { padding-bottom: 0; }

/* ---------- 成約ティッカー（FV直下・FVに28pxかぶせて配置） ---------- */
.ticker { position: relative; z-index: 6; display: flex; align-items: stretch; width: min(980px, 88vw); margin: -28px 0 0 6vw; background: #ffffff; border-radius: 4px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18); overflow: hidden; }
.ticker__label { display: flex; align-items: center; padding: 0 20px; background: #244aad; color: #ffffff; font-size: 87.5%; font-weight: 700; white-space: nowrap; }
.ticker__label-br { display: none; }  /* スマホでのみ2行に */
.ticker__view { flex: 1; min-width: 0; height: 56px; padding: 0 22px; overflow: hidden; }
.ticker__col { transform: translateY(0); transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.ticker__col.no-anim { transition: none; }
.ticker__line { height: 56px; min-width: 320px; display: flex; align-items: center; font-size: 93.75%; font-weight: 500; color: #464646; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker__more { flex: none; display: flex; align-items: center; justify-content: center; padding: 0 16px; border-left: 1px solid #eeeeee; }
.ticker__more:hover { background: #f6f6f6; }
.ticker__more img { display: block; width: 22px; height: 22px; }

/* ---------- サービス（スクロール連動の横スクロール） ---------- */
.services { height: 500vh; margin-top: -28px; background: #f3f3f3; }
.services__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 78px 0 8px; box-sizing: border-box; overflow: hidden; }
/* 背景画像：横スクロール欄の直前からフェードイン（opacity は JS がスクロール量に応じて 0→1 に制御） */
.services__bg { position: absolute; inset: 0; background: url(../img/point_bg.jpg) center / cover no-repeat; opacity: 0; }
.services__bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(214, 232, 255, 0.75) 0%, rgba(120, 170, 255, 0.70) 45%, rgba(36, 74, 173, 0.52) 100%); }  /* 青系のやわらかいトーン */
.services__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 34%); }  /* 上部：白→透明でなじませる */
.services__viewport { position: relative; z-index: 1; width: 100%; }
.services__track { display: flex; align-items: stretch; gap: 28px; width: max-content; padding: 8px 5vw 16px; will-change: transform; }
.svc {flex: none;width: min(720px, 88vw);display: flex;flex-direction: column;padding: 26px 28px;background: #ffffff;border: 1px solid #dddddd;border-radius: 8px;overflow: hidden;box-sizing: border-box;font-size: 93.75%;}
.svc__head .icon {height: 5em;margin-top: .4em;}
.svc__photo { flex: none; height: 140px; margin: -26px -28px 18px; }
.svc__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc__head {display: flex;gap: .8em;margin-bottom: .5em;}
.svc__icon { flex: none; }
.svc__title {font-size: 238%;font-weight: 700;color: #000000;line-height: 1.5;word-break: auto-phrase;font-feature-settings: "palt";}
.svc__title-sub {display: block;font-size: 50%;color: #244aad;}
.svc__lead { margin-bottom: .6em; font-size: 120%; font-weight: 700; line-height: 1.7; }
.svc__text { margin-bottom: 14px; line-height: 1.95; }
.svc__text--last { margin-bottom: 22px; }
.svc__list {display: flex;gap: .5em 1em;line-height: 1.7;flex-wrap: wrap;}
.svc__list li { position: relative; padding-left: 1.1em; }
.svc__list li::before { content: ''; position: absolute; left: 0; top: .65em; width: .45em; height: .45em; border-radius: 50%; background: #244aad; }  /* 中黒をCSSで表現 */
.svc__list--last { margin-bottom: 22px; }
.btn + .svc__list--last {margin-top: 2em;}
.svc__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .5em; }
.svc .btn {width:100%;}


/* 借りたい・買いたい：ワイドカード（本文とリスト群を左右2カラム） */
.svc--wide { width: min(1040px, 92vw); }
.svc--wide .svc__inner {flex: 1;display: grid;grid-template-columns: 1.05fr 1fr;gap: 48px;}
.svc--wide .svc__main { display: flex; flex-direction: column; min-width: 0; }

/* 借りたい・買いたい：リスト＋ボタンの2カラム */
.svc__cols {display: flex;flex-wrap: wrap;gap: 2em;min-width: 0;}
.svc__col {display: flex;flex-direction: column;width: 100%;}
.svc__col .svc__list {}

/* 吹き出し付きボタン（吹き出しはボタン上端に少しかぶせる） */
.balloon-set { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; }
.svc__list + .balloon-set {margin-top: 0.4em;}
.balloon { position: relative; z-index: 1; margin: 0 0 -8px 10px; padding: 5px 13px 6px; background: #ffffff; border: 2px solid #249D57; border-radius: 8px; color: #249D57; font-size: 80%; font-weight: 700; line-height: 1.5; }
.balloon::after { content: ''; position: absolute; left: 22px; bottom: -7px; width: 10px; height: 10px; background: #ffffff; border-right: 2px solid #249D57; border-bottom: 2px solid #249D57; transform: rotate(45deg); }
.balloon-set .btn { padding-top: 16px; }

/* ---------- 選ばれる理由（画像とテキストの交互2カラム） ---------- */
.reasons { padding: 100px 5vw; background: #f3f3f3; }
.reasons__head { max-width: 1240px; margin: 0 auto; }
.reasons__lead { max-width: 500px; font-size: 93.75%; line-height: 2; }
.reasons__list { max-width: 1240px; margin: 48px auto 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.feature__photo { min-height: 320px; }
.feature__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature--rev .feature__photo { order: 2; }
.feature__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 56px 60px; background: #ffffff; }
.feature__num { font-size: 320%; font-weight: 900; color: #244aad; line-height: 1; letter-spacing: -.04em; margin-bottom: .3em; }
.feature__num span { font-size: 120%; line-height: 1; }
.feature__title { margin-bottom: .8em; font-size: 140%; font-weight: 700; color: #000000; line-height: 1.6; }
.feature__btn { margin-top: 1.5em; }

/* ---------- よくあるご質問 ---------- */
.faq { padding: 96px 5vw 100px; background: #f3f3f3; }
.faq__inner { max-width: 980px; margin: 0 auto; }
.faq__list { display: grid; gap: 16px; }
.faq__item { padding: 24px 28px; background: #ffffff; border-radius: .5em; }
.faq__q { display: flex; gap: 14px; font-size: 100%; font-weight: 700; color: #000000; line-height: 1.7; }
.faq__a { display: flex; gap: 14px; margin-top: 12px; font-size: 93.75%; line-height: 1.9; }
.faq__mark { flex: none; font-weight: 900; }
.faq__mark--q { color: #244aad; }
.faq__mark--a { color: #249D57; }

/* ---------- お知らせ・コラム ---------- */
.news { padding: 96px 5vw 100px; background: #ffffff; }
.news__inner { max-width: 1100px; margin: 0 auto; }
.news__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.news__col { display: flex; flex-direction: column; align-items: flex-start; }
.news__col-title { display: inline-block; padding: 4px 16px; border-radius: 2px; font-size: 87.5%; font-weight: 700; color: #ffffff; line-height: 1.6; }
.news__col-title--info { background: #244aad; }
.news__col-title--column { background: #249D57; }
.news__list { width: 100%; margin-top: 6px; }
.news__item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 6px; border-bottom: 1px solid #e3e3e3; color: #464646; }
.news__item:hover { color: #249D57; }
.news__date { flex: none; font-size: 87.5%; color: #888888; line-height: 1.7; }
.news__title { font-size: 93.75%; font-weight: 500; line-height: 1.7; }
.news__col .btn--more { margin-top: 24px; }

/* ---------- お問い合わせCTA ---------- */
.cta { padding: 90px 5vw 0; background: #244aad; color: #ffffff; }
.cta__inner { max-width: 1100px; margin: 0 auto; text-align: center; margin-bottom: -5em; position: relative; }
.cta__title {margin-bottom: 1em;font-size: clamp(22px, 2.6vw, 40px);font-weight: 800;color: #ffffff;line-height: 1.7;}
.cta__lead { margin-bottom: 2em; color: rgba(255, 255, 255, 0.92); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; background: #FFF; border-radius: 1em; color: #464646; padding: 30px 0; }
.cta__col { padding: 6px 24px; }
.cta__col--bordered {border-left: 1px solid rgb(0 0 0 / 30%);}
.cta__label {margin-bottom: .5em;font-size: 160%;font-weight: 800;}
.cta__hours {display: flex;flex-direction: column;align-items: center;gap: .5em;margin-top: 1em;line-height: 1.6;}
.cta__hours span { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 3px; background: #eeeeee; color: #464646; font-size: 81.25%; font-weight: 700; }
.cta__fax { display: inline-flex; align-items: center; gap: .25em; font-size: 187.5%; font-weight: 900; letter-spacing: 0.02em; line-height: 1; }
.cta__fax-icon { flex: none; width: 1em; height: 1em; }  /* 文字サイズと同サイズ */
.cta__note { margin-top: 1em; font-size: 81.25%; color: #888888; line-height: 1.8; }
.cta__text { color: #464646; margin-bottom: 1em; word-break: auto-phrase; }
.cta__map { margin: 0 -5vw; }
.cta__map-frame { display: block; width: 100%; height: 440px; }

/* ---------- フッター（3カラム：会社情報 / ボタン / ロゴ・SNS） ---------- */
.footer { padding: 64px 5vw 0; background: #ffffff; }
.footer__main { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.footer__info { flex: 1 1 0; min-width: 280px; }
.footer__logo {height: 52px;width: auto;}
.footer__addr { margin: 20px 0 8px; }
.footer__tel { margin-bottom: 8px; }
.footer__tel .tel {font-size: 245%;}
.footer__license { color: #777777; }
.footer__side { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.footer__side-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__badge { flex: none; height: 96px; width: auto; }
.footer__sns { margin-left: 26px; }
.footer__nav { max-width: 1240px; margin: 48px auto 0; padding: 22px 0; border-top: 1px solid #e6e6e6; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.footer__nav a { color: #464646; font-size: 87.5%; font-weight: 500; }
.footer__nav a:hover { color: #249D57; }
.footer__copy { max-width: 1240px; margin: 0 auto; padding: 20px 0; border-top: 1px solid #e6e6e6; font-size: 75%; color: #888888; text-align: center; }

/* ---------- 追従CTA ---------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 0; }
.float-cta__btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; color: #ffffff; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.float-cta__btn .btn__icon { background: #ffffff; }
.float-cta__btn--green { background: #249D57; border-radius: 4px 4px 0 0; }
.float-cta__btn--green .btn__icon { color: #249D57; }
.float-cta__btn--green:hover { background: #1f8449; }
.float-cta__btn--blue { background: #244aad; border-radius: 0 0 4px 4px; }
.float-cta__btn--blue .btn__icon { color: #244aad; }
.float-cta__btn--blue:hover { background: #1c3c8f; }


/* ============================================================
   4b. 下層ページ（お知らせ / コラム / ご成約情報）
   ============================================================ */

/* ---------- ページヘッダー ---------- */
.page-head { padding: 130px 5vw 44px; background: #f3f3f3; }
.page-head__inner { max-width: 1100px; margin: 0 auto; }
.page-head .sec-title { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 22px; font-size: 81.25%; color: #888888; }
.breadcrumb a { color: #888888; }
.breadcrumb a:hover { color: #249D57; }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; color: #bbbbbb; }

/* ---------- 一覧共通 ---------- */
.archive-sec { padding: 56px 5vw 96px; background: #ffffff; }
.archive__inner { max-width: 1100px; margin: 0 auto; }

/* カテゴリーラベル */
.cat-label { display: inline-block; padding: 2px 12px; border-radius: 2px; font-size: 75%; font-weight: 700; color: #ffffff; line-height: 1.6; white-space: nowrap; }
.cat-label--info { background: #244aad; }
.cat-label--column { background: #249D57; }
.cat-label--rent { background: #249D57; }
.cat-label--sale { background: #244aad; }
.cat-label--tenant { background: #b8722a; }
.cat-label--parking { background: #6e7686; }

/* コラム一覧：カード */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; color: #464646; transition: box-shadow 0.2s ease; }
.card:hover { color: #464646; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.card:hover .card__title { color: #249D57; }
.card__thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px 20px; }
.card__date { font-size: 81.25%; color: #888888; line-height: 1.6; }
.card__title { font-weight: 700; line-height: 1.6; transition: color 0.2s ease; }

/* カテゴリー切替タブ（ご成約情報） */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-tab { padding: 10px 30px; border: 2px solid #dddddd; border-radius: 999px; background: #ffffff; color: #464646; font-family: inherit; font-size: 93.75%; font-weight: 700; appearance: none; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.filter-tab:hover { border-color: #244aad; color: #244aad; }
.filter-tab.is-active { background: #244aad; border-color: #244aad; color: #ffffff; }
.deal.is-hidden { display: none; }

/* ご成約情報一覧 */
.deal-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.deal { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #f7f7f7; border-radius: 6px; }
.deal__date { flex: none; font-size: 87.5%; color: #888888; }
.deal__title { font-weight: 500; }
.archive__note { margin-top: 28px; font-size: 87.5%; color: #888888; }

/* ページネーション */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dddddd; border-radius: 4px; color: #464646; font-weight: 700; box-sizing: border-box; }
.pagination a:hover { background: #f3f3f3; }
.pagination .current { background: #244aad; border-color: #244aad; color: #ffffff; }
.pagination .dots { border: none; min-width: auto; }

/* ---------- 記事ページ ---------- */
.post { padding: 56px 5vw 96px; background: #ffffff; }
.post__inner { max-width: 860px; margin: 0 auto; }
.post__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.post__date { font-size: 87.5%; color: #888888; }
.post__title { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid #244aad; font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; color: #000000; line-height: 1.6; }
.post__eyecatch { margin-bottom: 36px; border-radius: 8px; overflow: hidden; }
.post__eyecatch img { display: block; width: 100%; }

/* 本文：WordPressビジュアルエディター（ブロックエディター）の出力を想定
   （見出し・段落・リスト・引用・表・画像・ボタンなど素の要素にスタイルを当てる） */
.post-content > * + * { margin-top: 1.5em; }
.post-content h2 { margin-top: 2.4em; padding: 0.55em 0.9em; background: #f0f4fb; border-left: 5px solid #244aad; border-radius: 0 4px 4px 0; font-size: 137.5%; font-weight: 700; color: #000000; line-height: 1.5; }
.post-content h3 { margin-top: 2em; padding-bottom: 0.35em; border-bottom: 2px solid #249D57; font-size: 118.75%; font-weight: 700; color: #000000; line-height: 1.5; }
.post-content h4 { margin-top: 1.8em; font-size: 106.25%; font-weight: 700; color: #244aad; }
.post-content p { line-height: 2; }
.post-content a { text-decoration: underline; }
.post-content strong { font-weight: 700; }
.post-content ul, .post-content ol { display: grid; gap: 0.4em; padding: 1em 1.4em; background: #f7f7f7; border-radius: 6px; }
.post-content ul li { position: relative; padding-left: 1.1em; }
.post-content ul li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 0.45em; height: 0.45em; border-radius: 50%; background: #244aad; }
.post-content ol { padding-left: 2.6em; }
.post-content ol li { list-style: decimal; }
.post-content blockquote { padding: 1em 1.4em; border-left: 4px solid #cccccc; background: #f7f7f7; border-radius: 0 6px 6px 0; color: #666666; }
.post-content table { width: 100%; border-collapse: collapse; }
.post-content th, .post-content td { padding: 0.7em 1em; border: 1px solid #dddddd; text-align: left; line-height: 1.7; }
.post-content th { background: #f0f4fb; font-weight: 700; }
.post-content figure img { display: block; max-width: 100%; border-radius: 6px; }
.post-content figcaption { margin-top: 0.5em; font-size: 81.25%; color: #888888; text-align: center; }
.post-content .wp-block-button__link { display: inline-block; padding: 12px 26px; background: #249D57; color: #ffffff; font-weight: 700; border-radius: 0.5em; text-decoration: none; }
.post-content .wp-block-button__link:hover { background: #1f8449; }

/* ---------- 記事ページ：サイドバー付きレイアウト（PC=左サイドバー / スマホ=本文の下） ---------- */
.post__layout { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.post__layout .post__main { grid-column: 2; grid-row: 1; min-width: 0; }
.post__sidebar { grid-column: 1; grid-row: 1; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; }

/* ウィジェット（WP: 最新の投稿 / カテゴリー / タグクラウド想定） */
.widget {background: #ffffff;/* border: 1px solid #e6e6e6; */border-radius: 8px;/* padding: 20px 22px 24px; */}
.widget__title { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid #244aad; font-size: 100%; font-weight: 700; color: #000000; }
.widget__posts li + li { border-top: 1px dashed #e6e6e6; }
.widget__posts a { display: block; padding: 10px 0; color: #464646; font-size: 87.5%; line-height: 1.6; }
.widget__posts a:hover { color: #249D57; }
.widget__date {display: block;color: #244aad;}
.widget__cats li + li { border-top: 1px dashed #e6e6e6; }
.widget__cats a { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0 9px 1.1em; color: #464646; font-size: 87.5%; }
.widget__cats a::before { content: ''; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -4px; border-top: 2px solid #249D57; border-right: 2px solid #249D57; transform: rotate(45deg); }
.widget__cats a:hover { color: #249D57; }
.widget__count { color: #888888; font-size: 85%; }
.widget__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget__tags a { display: inline-block; padding: 4px 14px; background: #f3f3f3; border-radius: 999px; color: #464646; font-size: 81.25%; }
.widget__tags a:hover { background: #244aad; color: #ffffff; }

/* 前後記事・一覧へ戻る */
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #e6e6e6; }
.post-nav > * { max-width: 46%; min-width: 0; }
.post-nav .post-navigation-link-next { margin-left: auto; }
.post-nav a { display: inline-flex; align-items: center; gap: 8px; color: #464646; font-weight: 700; line-height: 1.6; }
.post-nav a:hover { color: #249D57; }
.post__back { display: flex; justify-content: center; margin-top: 36px; }
.post__back .btn { display: inline-flex; }


/* ============================================================
   5. レスポンシブ
   ============================================================ */

/* ---------- 1250px以下：電話パネルは「情報+地図」の下に4ボタンを横一列 ---------- */
@media (max-width: 1250px) {
.header__panel-inner { flex-direction: column; gap: 24px; }
.header__panel-info { width: 100%; }
.header__panel .panel-menu { order: 2; width: 100%; grid-template-columns: repeat(4, 1fr); }
.header[data-open="1"] .header__panel { max-height: calc(100svh - 76px); overflow-y: auto; }
}

/* ---------- 1120px以下：gnav非表示・電話パネル無効・ハンバーガーメニュー ---------- */
@media (max-width: 1120px) {
.gnav { display: none; }
.header__menu-btn { display: flex; }
.header__caret { display: none; }   /* パネルは開かないためキャレット非表示 */
.header__tel { cursor: default; }
.header__panel { display: none; }
}

@media (max-width: 960px) {
body { padding-bottom: 56px; }

  /* ヘッダー */
.gnav { display: none; }
.header__bar { height: 62px; }
.header__logo img { height: 24px; }
.header__tel { padding: 0 10px; gap: 6px; }
.header__tel .tel { font-size: 106.25%; }
.header__contact { display: none; }   /* 下部固定CTAと重複するため非表示 */
.header__menu-btn { padding: 0 14px; font-size: 68.75%; gap: 4px; }
.drawer { height: calc(100svh - 62px); padding: 20px 5vw 40px; }
/* ドロワーの4ボタン：背景なし・青線・青文字。＞は非表示、アイコンを上にして中央揃え（2カラム×2列） */
.drawer .panel-menu__item { background: #ffffff; border: 2px solid #244aad; color: #244aad; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 0; padding: 16px 10px; text-align: center; }
.drawer .panel-menu__item:hover { background: #eef3ff; }
.drawer .panel-menu__arrow { display: none; }
.drawer .panel-menu__icon { width: 48px; height: 48px; padding: 0; background: transparent; }
.drawer .panel-menu__txt { align-items: center; }
/* お問い合わせ・無料査定は横並び2カラム */
.drawer__cta { flex-direction: row; gap: 10px; }
.drawer__cta .btn { flex: 1; justify-content: center; }
.header[data-open="1"] .header__panel { max-height: calc(100svh - 62px); overflow-y: auto; }
.header__panel-inner { flex-direction: column; gap: 22px; padding: 22px 20px 26px; }
.panel-menu { width: 100%; gap: 10px; }
.panel-menu__item { min-height: 88px; padding: 12px 36px 12px 12px; gap: 10px; }
.panel-menu__icon { width: 42px; height: 42px; padding: 5px; }
.panel-menu__lead {font-size: 75%;color: #464646;}
.panel-menu__main { font-size: 150%; }
.panel-menu__arrow { right: 12px; }
.header__panel-info { width: 100%; flex-direction: column; }
.header__map { width: 100%; height: 200px; }
.btn {width:100%; text-align:center; justify-content:center;word-break: auto-phrase;font-feature-settings: "palt";}
  
  /* ファーストビュー */
.fv { height: calc(100svh - 96px); }  /* 下部固定CTAバー(56px)分も差し引き、ティッカーが隠れないように */
.fv__catch { left: 24px; }
.fv__sub { left: 20px; right: 20px; bottom: 120px; max-width: none; }
.fv__lead { padding-bottom: 0; transition: none; }  /* スマホはスクロール連動で動かさず下に固定表示 */
.fv__glow { display: none; }

  /* ティッカー */
.ticker { width: auto; max-width: none; margin: -28px 14px 0; }
.ticker__label { padding: 0 14px; font-size: 75%; white-space: normal; line-height: 1.5; text-align: center; }
.ticker__label-br { display: inline; }
.ticker__view { padding: 0 12px; }
.ticker__line { display: block; min-width: 0; line-height: 56px; font-size: 87.5%; }

  /* サービス（横スクロール → 縦積み） */
.services { height: auto; }
.services__sticky { position: relative; height: auto; padding: 56px 0; overflow: visible; }  /* relative: .services__bg の基準を維持 */
.services__track { width: auto; max-width: 100%; flex-direction: column; align-items: stretch; gap: 18px; transform: none; padding: 8px 5vw 16px; }
.svc { width: auto; }
.svc--wide { width: auto; }
.svc--wide .svc__inner { display: flex; flex-direction: column; gap: 0; }
.svc--wide .svc__main .btn { margin-bottom: 14px; }
.svc__cols { grid-template-columns: 1fr; }
.svc__head {display:block; text-align:center; margin-bottom:1em;}
.svc__head .icon {margin:0 auto;}

  /* 見出し：マークを上にして中央揃え */
.sec-title { flex-direction: column; align-items: center; text-align: center; gap: .4em; }
.sec-title__mark { margin-top: 0; }

  /* 選ばれる理由（縦積み） */
.reasons { padding: 64px 5vw; }
.reasons__list { margin-top: 32px; }
.feature { grid-template-columns: 1fr; }
.feature--rev .feature__photo { order: 0; }
.feature__photo {min-height: 0;height: auto;}
.feature__body { padding: 28px 22px 36px; }

  /* お知らせ・コラム */
.news__cols { grid-template-columns: 1fr; gap: 48px; }

  /* CTA */
.cta__grid { grid-template-columns: 1fr; gap: 36px; }
.cta__col--bordered { border-left: none; border-top: 1px solid rgb(0 0 0 / 15%); padding-top: 34px; }

  /* フッター */
.footer__main {flex-direction: column;max-width: 500px;text-align: center;align-items: center;}
.footer__side { align-items: flex-start; }
.footer__side-row { justify-content: flex-start; }
.footer__nav { gap: 10px 24px; }

  /* 下層ページ */
.page-head { padding: 100px 5vw 32px; }
.post__layout { grid-template-columns: 1fr; gap: 0; }
.post__layout .post__main { grid-column: 1; grid-row: 1; }
.post__sidebar { grid-column: 1; grid-row: 2; position: static; margin-top: 56px; }
.card-grid { grid-template-columns: 1fr; }
.deal-list { grid-template-columns: 1fr; }
.post-nav { flex-direction: column; }
.post-nav > * { max-width: none; }
.post-nav .post-navigation-link-next { margin-left: 0; }

  /* 追従CTA */
.float-cta { left: 0; right: 0; bottom: 0; flex-direction: row; }
.float-cta__btn { flex: 1; justify-content: center; padding: 15px 6px; border-radius: 0; font-size: 84.4%; }
}

@media (max-width: 480px) {
body { font-size: 3.8vw; }   /* 文字サイズの基準。以下・各所の%指定はこの値に追従する */
.header__logo { padding: 0 12px; }
.header__logo img {height: 28px;}
.header__tel { padding: 0 8px; gap: 4px; }
.header__tel .tel {font-size: 150%;white-space: nowrap;}
.header__panel-inner { padding: 18px 16px 22px; }
.footer__side-row {justify-content: center;}
.fv__catch {font-size: 14vw;}
.svc__title {font-size: 238%; }
.svc__title-sub { font-size: 50%; }

  /* ティッカー */
.ticker {flex-wrap: wrap;}
.ticker__label {width: 100%;font-size: 100%;text-align: center;padding: 1em 0;display: block;}
.ticker__label-br { display: none; }
.ticker__view { padding: 0 12px; }
.ticker__line { display: block; min-width: 0; line-height: 56px; font-size: 87.5%; }
}
