/*
Theme Name: Toyokuni Terrace
Description: 豊国テラス株式会社様向け オリジナルWordPressテーマ（西海岸風・サーファーズハウス／ガレージハウス販売サイト）
Author: Maggie
Version: 1.0
Text Domain: toyokuni-terrace
*/

:root{
  --white:#FEFDFB;
  --sand:#F4EEE1;
  --wood:#D8BE96;
  --wood-deep:#B99164;
  --blue:#4F93A8;
  --blue-deep:#2E5F70;
  --ink:#2B2A26;
  --ink-soft:#6B675C;
  --line:#E7DFCC;
  --radius:18px;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Noto Sans JP',sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  padding-bottom:64px;
}
h1,h2,h3,.brand{font-family:'M PLUS Rounded 1c',sans-serif;}
img{display:block;width:100%;height:100%;object-fit:cover;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px;}
.eyebrow{
  display:inline-block;font-size:13px;letter-spacing:.12em;
  color:var(--blue-deep);font-weight:700;margin-bottom:10px;
}
.sec-title{font-size:clamp(22px,3.6vw,32px);font-weight:800;color:var(--ink);}
.sec-lead{color:var(--ink-soft);font-size:15px;margin-top:8px;}
.sec-head{text-align:center;margin-bottom:40px;}

/* ===== HEADER ===== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  padding:14px 24px;display:flex;align-items:center;justify-content:space-between;
  background:var(--white);
  box-shadow:0 2px 14px rgba(43,42,38,.06);
}
.site-header .brand{color:var(--ink);font-weight:800;font-size:19px;letter-spacing:.03em;display:inline-block;text-decoration:none;}
.site-header .brand img{
  max-height:92px;height:auto;width:auto;display:block;
  object-fit:contain;
}
.site-header nav{display:flex;gap:10px;}
.site-header .nav-btn{
  font-size:14px;font-weight:700;color:var(--ink);
}

/* ===== HERO ===== */
.hero{
  position:relative;height:92vh;min-height:560px;
  background:
    linear-gradient(180deg,rgba(20,35,42,.15) 0%,rgba(20,35,42,.05) 40%,rgba(20,35,42,.55) 100%),
    url('https://images.unsplash.com/photo-1523217582562-09d0def993a6?q=80&w=1600&auto=format&fit=crop') center/cover;
  display:flex;align-items:flex-end;
}
.hero-inner{width:100%;padding:0 24px 72px;max-width:1120px;margin:0 auto;color:#fff;}
.hero-inner .eyebrow{color:#DCEFF4;}
.hero h1{font-size:clamp(28px,4.6vw,46px);font-weight:800;line-height:1.4;
  text-shadow:0 2px 18px rgba(0,0,0,.35);max-width:680px;}
.hero p.sub{margin-top:16px;font-size:15px;color:#EAF3F1;max-width:520px;
  text-shadow:0 1px 10px rgba(0,0,0,.3);}
.hero-btns{margin-top:30px;display:flex;gap:14px;flex-wrap:wrap;}
.btn{
  display:inline-flex;align-items:center;gap:8px;padding:15px 28px;border-radius:999px;
  font-weight:700;font-size:14.5px;cursor:pointer;transition:.2s;border:none;
}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 8px 24px rgba(46,95,112,.35);}
.btn-primary:hover{background:var(--blue-deep);}
.btn-outline{background:#FF7A1A;color:#fff;border-radius:14px;font-weight:800;}
.btn-outline:hover{background:#E86A0F;}
.btn-line{background:#06C755;color:#fff;}

/* ===== SECTIONS / GALLERY ===== */
.section{padding:88px 0;}
.section.alt{background:var(--sand);}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.card{
  background:#fff;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);transition:.25s;
}
.card:hover{transform:translateY(-4px);box-shadow:0 16px 30px rgba(46,95,112,.12);}
.card .photo{height:190px;position:relative;}
.card .tag{
  position:absolute;top:12px;left:12px;background:rgba(254,253,251,.92);
  color:var(--blue-deep);font-size:11.5px;font-weight:700;padding:5px 12px;border-radius:999px;
}
.card .body{padding:18px 20px 22px;}
.card .price{font-size:20px;font-weight:800;color:var(--blue-deep);}
.card .price span{font-size:12px;font-weight:500;color:var(--ink-soft);margin-left:4px;}
.card .meta{margin-top:10px;font-size:13.5px;color:var(--ink-soft);display:flex;gap:14px;flex-wrap:wrap;}
.more-wrap{text-align:center;margin-top:44px;}
.btn-line-outline{
  display:inline-block;padding:14px 34px;border-radius:999px;border:1.5px solid var(--blue-deep);
  color:var(--blue-deep);font-weight:700;font-size:14px;
}

/* ===== STRENGTHS ===== */
.strengths{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.strength{
  background:#fff;border-radius:var(--radius);padding:38px 26px;text-align:center;
  border:1px solid var(--line);
}
.strength .icon{
  width:64px;height:64px;border-radius:50%;background:var(--sand);
  display:flex;align-items:center;justify-content:center;margin:0 auto 20px;
}
.strength .icon svg{width:30px;height:30px;stroke:var(--blue-deep);}
.strength h3{font-size:17px;font-weight:800;margin-bottom:8px;}
.strength p{font-size:13.5px;color:var(--ink-soft);}

/* ===== CONTACT ===== */
.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.cbox{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:32px 24px;text-align:center;
}
.cbox .icon{
  width:52px;height:52px;border-radius:50%;margin:0 auto 16px;
  display:flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;font-size:22px;
}
.cbox.line .icon{background:#06C755;}
.cbox.tel-card .icon{background:#FF7A1A;}
.cbox h3{font-size:16px;font-weight:800;margin-bottom:6px;}
.cbox p{font-size:13px;color:var(--ink-soft);margin-bottom:18px;}
.cbox .btn{width:100%;justify-content:center;}

/* ===== MOBILE FIXED BAR ===== */
.fixed-bar{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:60;
  background:#fff;border-top:1px solid var(--line);
  box-shadow:0 -6px 20px rgba(0,0,0,.06);
}
.fixed-bar .row{display:flex;}
.fixed-bar a{
  flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 0;font-weight:700;font-size:14px;
}
.fixed-bar .tel{background:#FF7A1A;color:#fff;font-weight:800;}
.fixed-bar .line{background:#06C755;color:#fff;}

/* ===== FOOTER ===== */
.site-footer{background:var(--white);color:var(--ink);text-align:center;padding:28px 20px;font-size:12.5px;border-top:1px solid var(--line);}
.site-footer .copyright{opacity:.6;margin-top:6px;}

@media(max-width:860px){
  .cards{grid-template-columns:repeat(2,1fr);}
  .strengths{grid-template-columns:1fr;}
  .contact-cards{grid-template-columns:1fr;}
}
@media(max-width:600px){
  .cards{grid-template-columns:1fr;}
  .site-header{padding:14px 18px;}
  .site-header nav .nav-btn.ghost{display:none;}
  .hero-inner{padding-bottom:56px;}
  .hero-btns{flex-direction:column;align-items:stretch;}
  .section{padding:60px 0;}
  .fixed-bar{display:block;}
  .site-header .brand img{max-height:56px;height:auto;}
}
