@charset "UTF-8";
/* =============================================================
   株式会社アドバンスフィールド  リニューアルサイト
   元サイトの白×紺基調を継承しつつ、沖縄の海を想起させる
   ティールのアクセントと広い余白で少しだけ印象を刷新。
   ============================================================= */

/* ---------- デザイントークン ---------- */
:root {
  --navy:      #16263f;   /* メイン（紺） */
  --navy-soft: #24405f;
  --teal:      #0e9a93;   /* アクセント（海） */
  --teal-dark: #0a7a75;
  --ink:       #2b3440;   /* 本文 */
  --muted:     #6b7785;
  --line:      #e4e8ee;
  --bg:        #f6f8fa;   /* 背景 */
  --bg-soft:   #eef2f6;
  --white:     #ffffff;
  --red:       #d24a4a;
  --radius:    14px;
  --shadow:    0 10px 30px rgba(22, 38, 63, .08);
  --shadow-sm: 0 4px 16px rgba(22, 38, 63, .06);
  --maxw:      1120px;
  --ease:      .35s cubic-bezier(.22, .61, .36, 1);
  --serif-en:  'Jost', sans-serif;
  --sans:      'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--ease), opacity var(--ease); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
table { border-collapse: collapse; }

/* ---------- 共通レイアウト ---------- */
.section { padding: clamp(56px, 8vw, 104px) 20px; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dfe6ee; }
.inner { max-width: var(--maxw); margin-inline: auto; }
.narrow { max-width: 880px; margin-inline: auto; }

/* セクション見出し */
.heading { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.heading__en {
  display: block;
  font-family: var(--serif-en);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: .06em;
  color: var(--navy);
  line-height: 1.1;
}
.section--navy .heading__en { color: #fff; }
.heading__ja {
  display: inline-block;
  position: relative;
  margin-top: 14px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--teal);
  padding: 0 14px;
}
.heading__ja::before, .heading__ja::after {
  content: ""; position: absolute; top: 50%; width: 26px; height: 1px;
  background: var(--teal); opacity: .6;
}
.heading__ja::before { right: 100%; }
.heading__ja::after  { left: 100%; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 14px 34px;
  font-family: var(--serif-en);
  font-size: .95rem; letter-spacing: .08em;
  border-radius: 999px;
  background: var(--teal); color: #fff;
  box-shadow: 0 8px 20px rgba(14, 154, 147, .28);
}
.btn:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); box-shadow: none; }
.btn--ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn i { font-size: .8em; transition: transform var(--ease); }
.btn:hover i { transform: translateX(3px); }

/* ============================================================
   ヘッダー / ナビ
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform var(--ease), box-shadow var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
  max-width: 1280px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.site-header__logo img { height: 38px; width: auto; }

.gnav { display: flex; align-items: center; gap: 22px; }
.gnav__list { display: flex; gap: 2px; }
.gnav__list a {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 12px; font-weight: 700; font-size: .9rem;
  color: var(--navy); position: relative; white-space: nowrap;
}
.gnav__list a span {
  font-family: var(--serif-en); font-size: .62rem; font-weight: 500;
  color: var(--muted); letter-spacing: .08em; margin-top: 2px;
}
.gnav__list a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 2px; background: var(--teal);
  transform: translateX(-50%); transition: width var(--ease);
}
.gnav__list a:hover::after, .gnav__list a.is-current::after { width: 60%; }
.gnav__list a.is-current { color: var(--teal); }

.gnav__contact { display: flex; align-items: center; gap: 16px; }
.gnav__tel {
  font-family: var(--serif-en); font-weight: 600; font-size: 1.05rem;
  color: var(--navy); display: inline-flex; align-items: center; gap: .4em;
}
.gnav__tel i { color: var(--teal); font-size: .85em; }
.gnav__btn {
  background: var(--navy); color: #fff; padding: 10px 22px;
  border-radius: 999px; font-size: .85rem; font-weight: 700;
}
.gnav__btn:hover { background: var(--teal); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: none; background: none;
  cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle span {
  position: absolute; left: 11px; width: 24px; height: 2px; background: var(--navy);
  transition: var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(22, 38, 63, .5);
  opacity: 0; visibility: hidden; transition: var(--ease); z-index: 90;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/1.jpg") center/cover no-repeat;
  transform: scale(1.08); animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(13, 38, 63, .78) 0%, rgba(14, 154, 147, .35) 100%);
}
.hero__inner { max-width: var(--maxw); margin-inline: auto; padding: 120px 28px 80px; width: 100%; }
.hero__label {
  font-family: var(--serif-en); letter-spacing: .3em; font-size: .8rem;
  text-transform: uppercase; opacity: 0; animation: fadeUp .8s .3s forwards;
}
.hero__title {
  font-size: clamp(2rem, 6vw, 3.8rem); font-weight: 700; line-height: 1.45;
  margin: 18px 0 20px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
  opacity: 0; animation: fadeUp .9s .55s forwards;
}
.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 500; opacity: 0;
  animation: fadeUp .9s .85s forwards;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: var(--serif-en); font-size: .65rem; letter-spacing: .2em;
  writing-mode: vertical-rl; opacity: .85;
}
.hero__scroll::after {
  content: ""; display: block; width: 1px; height: 46px; margin: 10px auto 0;
  background: #fff; animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(.3); opacity:.3; } 50% { transform: scaleY(1); opacity:1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   トップ：イントロ
   ============================================================ */
.intro__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.intro__copy h2 {
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); line-height: 1.6;
  font-weight: 700; margin-bottom: 22px;
}
.intro__copy h2 em { color: var(--teal); font-style: normal; }
.intro__copy p { color: var(--muted); }
.intro__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.intro__pillar {
  background: var(--white); border-radius: var(--radius); padding: 26px 16px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.intro__pillar i { font-size: 1.6rem; color: var(--teal); margin-bottom: 12px; }
.intro__pillar b { display: block; color: var(--navy); font-size: 1rem; }
.intro__pillar span { font-size: .78rem; color: var(--muted); }

/* ============================================================
   物件カード
   ============================================================ */
.property-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.property-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease);
  display: flex; flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.property-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.property-card:hover .property-card__media img { transform: scale(1.07); }
.property-card__tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 14px;
  font-size: .78rem; font-weight: 700; color: #fff; border-radius: 999px;
  background: var(--teal);
}
.property-card__tag.is-sale { background: var(--navy-soft); }
.property-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.property-card__name { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.property-card__table { width: 100%; font-size: .88rem; margin-bottom: 18px; }
.property-card__table th {
  text-align: left; color: var(--muted); font-weight: 500; width: 4.5em;
  padding: 5px 0; vertical-align: top; white-space: nowrap;
}
.property-card__table td { padding: 5px 0; vertical-align: top; }
.property-card__price { color: var(--red); font-weight: 700; font-size: 1.05rem; }
.property-card__more {
  margin-top: auto; align-self: flex-start;
  font-family: var(--serif-en); font-size: .85rem; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: .4em;
}
.property-card__more i { transition: transform var(--ease); }
.property-card:hover .property-card__more i { transform: translateX(4px); }

/* ============================================================
   コンテンツ（2枚バナー）
   ============================================================ */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.menu-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; box-shadow: var(--shadow-sm);
}
.menu-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.menu-card:hover img { transform: scale(1.06); }
.menu-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 35%, rgba(13, 38, 63, .82));
}
.menu-card__txt { position: absolute; left: 28px; bottom: 24px; z-index: 2; color: #fff; }
.menu-card__txt .en { font-family: var(--serif-en); font-size: 1.5rem; letter-spacing: .05em; }
.menu-card__txt .ja { display: block; font-size: 1rem; font-weight: 700; margin-top: 4px; }
.menu-card__txt .ja::after {
  content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: .75rem; margin-left: 10px; transition: margin var(--ease);
}
.menu-card:hover .menu-card__txt .ja::after { margin-left: 16px; }

/* ============================================================
   下層ページ：ページヘッダー
   ============================================================ */
.page-hero {
  position: relative; padding: 150px 20px 64px; color: #fff; text-align: center;
  background: var(--navy);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background: url("../img/1.jpg") center/cover;
}
.page-hero__en {
  position: relative; font-family: var(--serif-en); font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: .08em;
}
.page-hero__ja { position: relative; font-size: .9rem; letter-spacing: .2em; color: #9fd8d4; margin-top: 8px; }

.breadcrumb { max-width: var(--maxw); margin: 0 auto; padding: 16px 20px; font-size: .8rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 .5em; }

/* ============================================================
   汎用：テキストブロック / テーブル
   ============================================================ */
.lead { text-align: center; font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--navy); font-weight: 500; line-height: 1.9; }
.lead--mb { margin-bottom: clamp(36px, 5vw, 56px); }

.info-table { width: 100%; }
.info-table th, .info-table td { padding: 18px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 30%; color: var(--navy); font-weight: 700; background: var(--bg-soft); }
@media (max-width: 600px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { background: var(--bg-soft); border: none; }
  .info-table td { padding-top: 8px; }
}

/* サービスカード（オーナー向け） */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-item {
  background: var(--white); border-radius: var(--radius); padding: 34px 26px;
  box-shadow: var(--shadow-sm); border-top: 3px solid var(--teal);
}
.feature-item__no { font-family: var(--serif-en); color: var(--teal); font-size: .9rem; letter-spacing: .1em; }
.feature-item__icon { font-size: 2rem; color: var(--navy); margin: 10px 0 16px; }
.feature-item h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.feature-item p { font-size: .92rem; color: var(--muted); }

/* 課題リスト */
.problem-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.problem-list li {
  background: var(--white); border-radius: var(--radius); padding: 22px;
  font-weight: 500; color: var(--navy); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 12px;
}
.problem-list li i { color: var(--teal); font-size: 1.2rem; }

/* CTA（フッター上） */
.contact-cta { background: linear-gradient(120deg, var(--navy) 0%, var(--teal-dark) 130%); color: #fff; padding: clamp(48px, 7vw, 80px) 20px; }
.contact-cta__inner { max-width: 900px; margin-inline: auto; text-align: center; }
.contact-cta__lead { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 700; margin-bottom: 32px; letter-spacing: .05em; }
.contact-cta__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-cta__list a {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius); padding: 22px; transition: var(--ease);
}
.contact-cta__list a:hover { background: rgba(255, 255, 255, .2); transform: translateY(-3px); }
.contact-cta__icon { font-size: 1.5rem; color: #9fd8d4; }
.contact-cta__txt { font-family: var(--serif-en); font-size: 1.4rem; font-weight: 600; text-align: left; }
.contact-cta__txt small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 400; opacity: .8; letter-spacing: .05em; }

/* ============================================================
   お問合わせフォーム
   ============================================================ */
.contact-form .form-row { margin-bottom: 22px; }
.contact-form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: .95rem; }
.contact-form .req {
  display: inline-block; margin-left: 8px; padding: 1px 8px; font-size: .68rem;
  background: var(--red); color: #fff; border-radius: 4px; vertical-align: middle; font-weight: 700;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px; font-size: 1rem; font-family: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 154, 147, .15);
}
.contact-form textarea { resize: vertical; }

/* 個人情報保護方針 */
.policy h3 {
  font-size: 1rem; color: var(--navy); margin: 24px 0 6px; padding-left: 14px;
  position: relative;
}
.policy h3::before { content: ""; position: absolute; left: 0; top: .25em; width: 4px; height: 1.1em; background: var(--teal); border-radius: 2px; }
.policy p { font-size: .92rem; color: var(--muted); }
.policy h3:first-child { margin-top: 0; }

/* ユーティリティ */
.pcbr { display: inline; }
@media (max-width: 600px) { .pcbr { display: none; } }

/* ============================================================
   フッター
   ============================================================ */
.site-footer { background: var(--navy); color: #c3ccd8; padding: 64px 20px 0; }
.site-footer__inner { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.site-footer__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.site-footer__catch { margin-top: 18px; font-size: .9rem; opacity: .8; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 22px; }
.site-footer__nav a { font-size: .9rem; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__address { font-size: .88rem; line-height: 2; opacity: .85; }
.site-footer__copy { text-align: center; font-family: var(--serif-en); font-size: .75rem; letter-spacing: .05em; padding: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8b97a6; }

/* ページトップ */
.page-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy);
  color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: var(--ease);
}
.page-top.is-visible { opacity: 1; visibility: visible; }
.page-top:hover { background: var(--teal); transform: translateY(-3px); }

/* スマホ固定ボタン */
.sp-fixed-btn { display: none; position: fixed; inset: auto 0 0 0; z-index: 80; grid-template-columns: 1fr 1fr; }
.sp-fixed-btn a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px; color: #fff; font-size: .72rem; }
.sp-fixed-btn li:first-child a { background: var(--teal); }
.sp-fixed-btn li:last-child a  { background: var(--navy); }
.sp-fixed-btn i { font-size: 1.1rem; }

/* ============================================================
   スクロールアニメーション
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 980px) {
  .intro__inner { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .gnav {
    /* site-header の backdrop-filter が包含ブロックになるため bottom:0 に頼らず
       height で明示（ビューポート基準の vh/dvh）。これで全項目が縦に収まる。 */
    position: fixed; top: 0; right: 0; left: auto; width: min(86vw, 360px); z-index: 110;
    height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 22px;
    background: var(--white); padding: 84px 28px 32px; transform: translateX(100%);
    transition: transform var(--ease); box-shadow: -10px 0 40px rgba(0,0,0,.12);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  body.nav-open .gnav { transform: translateX(0); }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { flex-direction: row; gap: 10px; justify-content: flex-start; padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .gnav__list a span { margin-top: 0; }
  .gnav__list a::after { display: none; }
  .gnav__contact { flex-direction: column; align-items: stretch; gap: 12px; }
  .gnav__btn { text-align: center; padding: 14px; }
  .gnav__tel { justify-content: center; font-size: 1.3rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .contact-cta__list { grid-template-columns: 1fr; }
  .sp-fixed-btn { display: grid; }
  body { padding-bottom: 56px; }
  .page-top { bottom: 70px; }
}
@media (max-width: 560px) {
  .intro__pillars { grid-template-columns: 1fr; }
  .contact-cta__txt { font-size: 1.15rem; }
  .hero { min-height: 78vh; }
}
