@charset "UTF-8";
/*
Theme Name: horseone
Theme URI: https://horseone-morimon-2026.web.app/
Description: 有限会社ホースワン（堺市・不動産売却専門）コーポレートサイトテーマ
Author: 株式会社ハナシパナシ
Version: 1.0
Text Domain: horseone
*/

/* ============================================================
 * style.css — 全ページ共通スタイル
 * 対象: header / drawer / footer / contact-banner /
 *       layout / utils / photo-placeholder / annotation /
 *       floating-contact-btn / fade-up
 * ============================================================ */

/* 数字専用フォント */
@font-face {
  font-family: 'number';
  src: url('font/number.woff') format('woff');
  font-display: swap;
  unicode-range: U+0030-0039, U+002C, U+002E; /* 0-9, , . */
}

/*-----------------------------
CSS 変数（Figma準拠 - hoseone_index-pc）
-----------------------------*/
:root {
  /* ブランドカラー */
  --accent:     #ee8657;   /* オレンジ */
  --accent-dk:  #d97442;
  --navy:       #3865cd;   /* ネイビー（ロゴ/売却系） */

  /* 背景系 */
  --cream:      #f5ede0;
  --cream-lt:   #fdf8f2;
  --bg:         #ffffff;

  /* テキスト */
  --text:       #2d2820;
  --text-mid:   #555;
  --text-lt:    #888;

  /* その他 */
  --white:      #fff;
  --gray:       #666;
  --border:     #e0d9c8;
  --border-dk:  #c0b9a8;
  --surface:    #f7f4ee;
  --surface2:   #efe9dc;

  /* サイズ */
  --header-h:   80px;
  --inner:      1200px;
}

/*-----------------------------
リセット・ベース
-----------------------------*/
*  { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.8;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Noto Sans JP', sans-serif; }
.sec-eyebrow .en,
.heading-en { font-family: 'Caveat', cursive; font-weight: 400; }
img { max-width: 100%; }
a   { color: inherit; }

/*-----------------------------
HEADER
-----------------------------*/
header {
  position: fixed;
  left: 150px;
  right: 150px;
  top: 20px;
  z-index: 100;
  background: #fff;
  height: 80px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  transition: left .3s ease, right .3s ease, top .3s ease, height .3s ease, border-radius .3s ease;
}
header.is-scrolled {
  left: 0; right: 0; top: 0;
  height: 60px;
  border-radius: 0;
}
header.is-scrolled .logo { height: 60px; border-radius: 0; }
@media (max-width: 1480px) {
  header { left: 50px; right: 50px; }
}
.header-inner {
  width: 100%; height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 30px;
}
.logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 280px; height: 80px;
  background: var(--navy);
  border-radius: 100px 0 0 100px;
  text-decoration: none;
  flex-shrink: 0;
  transition: height .3s ease, border-radius .3s ease;
}
.logo-text { color: #fff; font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
@media (max-width: 767px) {
  header { left: 0; right: 0; top: 0; height: 56px; border-radius: 0; }
  header.is-scrolled { height: 56px; }
  .header-inner { padding-right: 15px; }
  .logo { width: 180px; height: 56px; border-radius: 0; }
  header.is-scrolled .logo { height: 56px; border-radius: 0; }
  .logo-text { font-size: 16px; }
  .hamburger span { width: 24px; }
}
@media (max-width: 380px) {
  .logo { width: 156px; }
  .logo-text { font-size: 14px; }
}

/* PC ナビ */
.pc-nav { display: none; }
@media (min-width: 960px) {
  .pc-nav { display: flex; align-items: center; gap: 0; }
}
.pc-nav a {
  color: var(--text); text-decoration: none;
  font-size: 18px; padding: 3px 18px;
  font-weight: 500; letter-spacing: .04em;
  position: relative;
  transition: color .2s;
}
.pc-nav a::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.pc-nav a:hover, .pc-nav a.current { color: var(--accent); }
.pc-nav a:hover::after, .pc-nav a.current::after { transform: scaleX(1); }
.pc-nav-ig::after { display: none; }
.pc-nav-ig {
  display: flex; align-items: center;
  margin-left: 10px; color: var(--text);
  transition: opacity .2s;
}
.pc-nav-ig:hover { opacity: .6; }
.pc-nav-ig svg, .pc-nav-ig img { width: 33px; height: 33px; display: block; }

/* ハンバーガー */
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
@media (min-width: 960px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); }

/*-----------------------------
SP DRAWER
-----------------------------*/
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: -280px;
  width: 280px; height: 100dvh;
  background: var(--accent);
  z-index: 300;
  transition: right .3s;
  padding: 60px 0 40px;
  overflow-y: auto;
}
.drawer.open { right: 0; }
.drawer-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.8); font-size: 24px; line-height: 1;
  padding: 4px 8px;
  transition: color .2s;
}
.drawer-close:hover { color: #fff; }
.drawer nav a {
  display: block;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  padding: 14px 28px;
  font-size: 19px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.drawer nav a .nnum { font-size: 13px; color: rgba(255,255,255,.4); margin-right: 8px; font-family: 'Caveat', cursive; font-weight: 400; }
.drawer nav a:hover { background: rgba(255,255,255,.08); }
.drawer-tel { padding: 24px 28px 0; color: #fff; }
.drawer-tel .tl { font-size: 15px; color: rgba(255,255,255,.5); display: block; margin-bottom: 4px; }
.drawer-tel .tn { font-size: 30px; font-weight: 700; display: block; }

/*-----------------------------
PAGE HERO
-----------------------------*/
.page-hero {
  background: var(--accent);
  padding: calc(60px + 150px) 0px 120px;
}
.page-hero-inner { max-width: var(--inner); margin: 0 auto; text-align: center; position: relative; }
.page-hero-bg-en {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Caveat', cursive; font-weight: 400;
  font-size: clamp(56px, 16vw, 160px); line-height: 1;
  color: rgba(255,255,255,.18);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0;
}
.page-hero-en {
  font-size: 15px; color: rgba(255,255,255,.4);
  letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 6px; text-align: center;
}
.page-hero-title {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700; color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
  position: relative; z-index: 1;
}
@media (max-width: 767px) {
  .page-hero { padding: calc(60px + 70px) 15px 60px; }
  .page-hero-en { font-size: 12px; }
}

/*-----------------------------
パンくずリスト
-----------------------------*/
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-bar-inner {
  max-width: var(--inner); margin: 0 auto;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 6px;
  font-size: 16px; color: var(--text-lt);
  flex-wrap: wrap;
}
.breadcrumb-bar-inner a { color: var(--navy); text-decoration: none; }
.breadcrumb-bar-inner a:hover { opacity: .7; }
.breadcrumb-bar ~ section:first-of-type .sec-pad { padding-top: 80px; }
.breadcrumb-bar-inner .sep { opacity: .5; }
.breadcrumb-bar-inner .current { color: var(--text-mid); }
/* WP のパンくず（ul li 形式）にも同じ見た目を当てる */
.breadcrumb-bar-inner ul {
  list-style: none; display: flex; align-items: center;
  gap: 6px; flex-wrap: wrap; margin: 0; padding: 0;
}
.breadcrumb-bar-inner ul li { display: inline-flex; align-items: center; }
.breadcrumb-bar-inner ul li:not(:last-child)::after {
  content: '›'; opacity: .5; margin: 0 6px;
}
.breadcrumb-bar-inner ul li:last-child { color: var(--text-mid); }
@media (max-width: 767px) {
  .breadcrumb-bar-inner { padding: 8px 15px; font-size: 12px; gap: 4px; }
  .breadcrumb-bar ~ section:first-of-type .sec-pad { padding-top: 40px; }
}

/*-----------------------------
LAYOUT / SECTION 共通
-----------------------------*/
.inner { max-width: var(--inner); margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .inner { padding-left: 15px; padding-right: 15px; } }
.sec-pad { padding-top: 60px; padding-bottom: 60px; }
@media (min-width: 768px) { .sec-pad { padding-top: 88px; padding-bottom: 88px; } }

.sec-eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 10px;
}
.sec-eyebrow .en {
  font-family: 'Caveat', cursive; font-weight: 400;
  font-size: 120px;
  letter-spacing: 0; color: var(--accent);
  text-transform: none;
  line-height: 1;
}
.sec-eyebrow .num  { display: none; }
.sec-eyebrow::after { display: none; }

.sec-label { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-lt); margin-bottom: 8px; text-align: center; }
.sec-title { font-size: 32px; font-weight: 800; line-height: 1.25; margin-top: -15px; margin-bottom: 40px; text-align: center; color: var(--text); }
.sec-desc  { font-size: 20px; color: var(--text); line-height: 1.7; margin-bottom: 40px; text-align: center; }
@media (max-width: 767px) {
  .sec-eyebrow .en { font-size: 72px; }
  .sec-title { font-size: 24px; margin-top: -8px; margin-bottom: 24px; }
  .sec-desc  { font-size: 15px; margin-bottom: 28px; line-height: 1.8; }
  .sec-label { font-size: 12px; }
}

/* 波形ディバイダー */
.wave-divider{ position:relative; height:80px; overflow:hidden; margin:0; padding:0; }
.wave-divider svg{ position:absolute; bottom:0; left:0; width:100%; height:100%; display:block; }

.sec-pad { padding-top: 100px; padding-bottom: 120px; }
@media (max-width: 767px) { .sec-pad { padding-top: 60px; padding-bottom: 72px; } }

.grid-std-gap{gap:24px;}

/*-----------------------------
CTAボタン
-----------------------------*/
.btn-cta,
.btn-cta-white{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center;
  width:420px; height:70px; max-width:100%;
  margin-top:50px;
  padding:0 40px;
  background:#fff;
  color:var(--navy);
  border:1px solid var(--navy);
  border-radius:35px;
  font-size:20px; font-weight:700;
  text-decoration:none; cursor:pointer;
  font-family:'Noto Sans JP', sans-serif;
  transition:background .2s ease, color .2s ease;
}
.btn-cta::after,
.btn-cta-white::after{
  content:'→';
  position:absolute; right:30px; top:50%;
  transform:translateY(-50%);
  font-size:20px; font-weight:500; color:var(--navy);
  transition:color .2s ease;
}
.btn-cta:hover,
.btn-cta-white:hover{ background:var(--navy); color:#fff; }
.btn-cta:hover::after,
.btn-cta-white:hover::after{ color:#fff; }
@media (max-width: 767px) {
  .btn-cta, .btn-cta-white {
    width: 100%; max-width: 360px;
    height: 58px;
    margin-top: 32px;
    padding: 0 28px;
    font-size: 16px;
  }
  .btn-cta::after, .btn-cta-white::after { right: 20px; font-size: 16px; }
}

/*-----------------------------
ユーティリティ
-----------------------------*/
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  background: var(--accent); color: #fff;
  font-size: 19px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  font-family: inherit;
}
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 32px;
  background: transparent; color: var(--accent);
  font-size: 19px; font-weight: 700;
  text-decoration: none; border: 1px solid var(--accent);
  font-family: inherit;
}
.btn-center  { text-align: center; margin-top: 32px; }
.tag         { font-size: 15px; background: var(--accent); color: #fff; padding: 2px 10px; font-weight: 700; }
.tag-outline { font-size: 15px; border: 1px solid var(--border-dk); color: var(--text-mid); padding: 2px 8px; }
.divider     { height: 1px; background: var(--border); margin: 40px 0; }

/*-----------------------------
フォト プレースホルダー
-----------------------------*/
.photo-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; }
.ph-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--border); }
.ph-rect   { width: 60px; height: 8px; background: var(--border); margin-top: 4px; }

/*-----------------------------
ANNOTATION
-----------------------------*/
.annotation {
  margin-top: 28px; padding: 14px 18px;
  background: var(--surface);
  border-left: 3px solid var(--border-dk);
  font-size: 16px; color: var(--text-lt); line-height: 1.7;
}
.annotation strong { color: var(--text); font-weight: 700; }

/*-----------------------------
お問い合わせ CTAバナー
-----------------------------*/
.contact-banner {
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(56,101,205,.8), rgba(56,101,205,.8)),
    url('images/contact-bg.jpg');
  background-size: cover; background-position: center;
  padding: 90px 24px; text-align: center;
}
.contact-banner-heading {
  font-family: 'Caveat', cursive; font-weight: 400;
  font-size: clamp(56px, 14vw, 120px); color: #F1E8D9;
  line-height: 1; text-align: center;
  margin-bottom: 10px; position: relative; z-index: 2;
}
.contact-banner-subtitle {
  font-size: clamp(20px, 5vw, 32px); font-weight: 800;
  color: #fff; line-height: 1.35; text-align: center;
  margin-bottom: 40px; position: relative; z-index: 2;
}
.contact-banner-inner  {
  max-width: 740px; margin: 0 auto;
  text-align: center; display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 2;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 40px;
}
.contact-banner-label  { font-size: 24px; color: #fff; font-weight: 700; display: block; margin-bottom: 20px; text-align: center; line-height: 1.4; }
.contact-banner-tel    { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(32px,7vw,64px); font-weight: 700; color: #fff; line-height: 1; white-space: nowrap; text-decoration: none; text-align: center; font-family: 'number', 'Noto Sans JP', sans-serif; }
.contact-banner-tel::before {
  content: '';
  width: 0.78em; height: 0.72em;
  background: url('images/phone.svg') no-repeat center / contain;
  flex-shrink: 0;
  margin-top: 10px;
}
.contact-banner-note   { font-size: 16px; color: rgba(255,255,255,.85); margin-top: 18px; text-align: center; }
.contact-banner-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 20px; padding: 13px 36px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  font-size: 19px; font-weight: 700; text-decoration: none;
  transition: background .2s;
}
.contact-banner-btn:hover { background: rgba(255,255,255,.1); }
@media (max-width: 767px) {
  .contact-banner { padding: 56px 15px; }
  .contact-banner-inner { padding: 24px 15px; border-radius: 8px; }
  .contact-banner-label { font-size: 16px; margin-bottom: 14px; }
  .contact-banner-note  { font-size: 13px; margin-top: 12px; line-height: 1.7; }
  .contact-banner-btn   { font-size: 15px; padding: 11px 28px; margin-top: 14px; }
}

/*-----------------------------
FOOTER
-----------------------------*/
footer { background: #FDF8F2; padding: 56px 24px 40px; color: var(--text); }
@media (max-width: 767px) { footer { padding: 40px 15px 90px; } }
.footer-inner { max-width: var(--inner); margin: 0 auto; }
.footer-top   { display: flex; flex-direction: column; gap: 32px; margin-bottom: 36px; }
@media (min-width: 768px) {
  .footer-top { flex-direction: row; align-items: flex-start; gap: 0; }
  .footer-top > div:first-child { flex: 1; padding-right: 60px; }
  .footer-top .footer-nav { flex: 1; padding-left: 60px; border-left: 1px solid var(--accent); }
}
.footer-logo      { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-logo-mark {
  width: 32px; height: 32px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #fff;
}
.footer-logo-text { font-size: 28px; font-weight: 700; color: var(--text); }
.footer-tagline   { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.footer-address   { font-size: 16px; color: var(--text); line-height: 1.8; }
@media (max-width: 767px) {
  .footer-logo-text { font-size: 22px; }
  .footer-tagline, .footer-address { font-size: 14px; }
  .footer-nav a { font-size: 15px; padding: 10px 0; }
  .footer-top { gap: 24px; margin-bottom: 24px; }
  .footer-copy { font-size: 12px; line-height: 1.6; padding-top: 16px; }
}
.footer-sns       { display: flex; gap: 16px; margin-top: 16px; }
.footer-sns-icon  {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); text-decoration: none;
  transition: opacity .2s;
}
.footer-sns-icon:hover { opacity: .7; }
.footer-sns-icon svg, .footer-sns-icon img { width: 27px; height: 27px; display: block; }
.footer-nav { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 480px) { .footer-nav { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; } }
.footer-nav a {
  color: var(--text); text-decoration: none;
  font-size: 18px; padding: 8px 0;
  border-bottom: 1px solid var(--accent);
  display: flex; align-items: center; gap: 6px;
}
.footer-nav a::before { content: '→'; font-size: 15px; color: var(--accent); }
.footer-nav a:hover   { color: var(--accent); }
.footer-copy {
  font-size: 14px; color: var(--text);
  padding-top: 20px;
  border-top: 1px solid var(--accent);
  text-align: center;
}
@media (max-width: 1023px) { .footer-copy { border-top: none; } }

/*-----------------------------
STICKY BOTTOM CTA
-----------------------------*/
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 990;
  display: flex; justify-content: center;
  box-shadow: 0 -6px 24px rgba(0,0,0,.18);
  transform: translateY(100%);
  transition: transform .35s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 768px) { .sticky-cta { display: none; } }
.sticky-btn {
  padding: 12px 8px;
  display: flex; flex-direction: row;
  align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700;
  cursor: pointer; border: none;
  min-height: 54px; justify-content: center;
  font-family: inherit;
  width: 100%;
}
.sticky-btn.tel { background: var(--accent); color: #fff; }
.sticky-btn svg { width: 20px; height: 20px; }

/*-----------------------------
フローティング Page Top ボタン
-----------------------------*/
.floating-pagetop-btn {
  position: fixed; bottom: 28px; right: 24px; z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 16px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700; line-height: 1.3;
  text-decoration: none; text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: opacity .2s, transform .2s;
}
.floating-pagetop-btn:hover { opacity: .88; transform: translateY(-2px); }
@media (max-width: 767px) {
  .floating-pagetop-btn {
    bottom: 72px; right: 12px;
    padding: 8px 10px; font-size: 11px;
    border-radius: 8px;
  }
}

/*-----------------------------
FADE UP アニメーション
-----------------------------*/
.fade-up         { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up > *                      { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible > *              { opacity: 1; transform: translateY(0); }
.fade-up.visible > *:nth-child(1) { transition-delay: .1s;  }
.fade-up.visible > *:nth-child(2) { transition-delay: .3s;  }
.fade-up.visible > *:nth-child(3) { transition-delay: .5s;  }
.fade-up.visible > *:nth-child(4) { transition-delay: .7s;  }
.fade-up.visible > *:nth-child(5) { transition-delay: .9s;  }
.fade-up.visible > *:nth-child(n+6){ transition-delay: 1.1s; }
