/* ==========================================================================
   不動産のITR（株式会社ITR） - 売却LP Stylesheet
   ITR brand tone (deep navy / white / warm taupe), refined serif with wide tracking
   ========================================================================== */

:root{
  --itr-navy: #18253A;        /* ITR navy */
  --itr-navy-deep: #030E29;
  --itr-slate: #263238;
  --itr-taupe: #75674A;       /* warm accent */
  --itr-taupe-pale: #F3F0EA;
  --itr-red: #D62323;
  --itr-bg: #EEF1F5;          /* section background */
  --itr-bg-light: #F9FCFF;
  --line: #D9DEE6;
  --text-main: #1A1A1A;
  --text-sub: #4F5660;
  --white: #ffffff;
  --shadow-soft: 0 14px 34px rgba(24, 37, 58, 0.07);
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans: 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-main);
  background: var(--white);
  line-height: 2;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-serif); font-weight:600; margin:0; line-height:1.6; }
p{ margin:0; }

.container{ max-width: 1160px; margin:0 auto; padding: 0 24px; }
.container--narrow{ max-width: 840px; }

.pc-only{ display:inline; }
.sp-only{ display:none; }

.text-accent{ color: var(--itr-taupe); }

/* ---- top notice bar ---- */
.topbar{
  background: var(--itr-navy);
  color: var(--white);
  text-align:center;
  font-size: 12.5px;
  letter-spacing: .1em;
  padding: 8px 16px;
}

/* ---- header ---- */
.header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.logo{ display:flex; align-items:center; flex-shrink:0; }
.logo img{ width: 190px; height:auto; }
.logo--footer{ margin-bottom: 18px; }
.logo--footer img{ width: 210px; }

.nav{ display:flex; gap: 22px; flex: 1; justify-content:center; }
.nav a{
  font-size: 13.5px; color: var(--itr-navy); letter-spacing: .08em;
  position: relative; padding: 4px 0; white-space: nowrap;
}
.nav a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:1px;
  background: var(--itr-navy); transition: width .25s ease;
}
.nav a:hover::after{ width:100%; }

.header__cta{ flex-shrink:0; }

.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:8px; flex-direction:column; gap:7px;
}
.nav-toggle span{ width:30px; height:1.5px; background: var(--itr-navy); display:block; }

/* ---- buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:14px;
  padding: 16px 38px; font-weight:500; font-size:15px; letter-spacing: .12em;
  border: 1px solid transparent; cursor:pointer; transition: background .25s ease, color .25s ease, transform .2s ease;
  white-space: nowrap; font-family: var(--font-serif);
}
.btn--small{ padding: 11px 24px; font-size: 13.5px; }
.btn--primary{ background: var(--itr-navy); color: var(--white); }
.btn--primary::after{ content:""; width: 22px; height: 1px; background: currentColor; transition: width .25s ease; }
.btn--primary:hover{ background: var(--itr-navy-deep); }
.btn--primary:hover::after{ width: 32px; }
.btn--outline{ border-color: var(--itr-navy); color: var(--itr-navy); background: rgba(255,255,255,.75); }
.btn--outline:hover{ background: var(--itr-navy); color: var(--white); }
.btn--wide{ width:100%; padding: 19px 30px; font-size:16px; }

/* ---- section basics ---- */
.section{ padding: 110px 0; }
.section.alt{ background: var(--itr-bg); }
.section-en{
  font-family: var(--font-serif); font-weight:500; font-size: clamp(32px, 4.6vw, 50px); line-height:1.2;
  color: var(--itr-navy-deep); letter-spacing: .19em; margin-bottom: 8px;
}
.eyebrow{
  display:inline-flex; align-items:center; gap: 12px; font-size: 13.5px; letter-spacing: .14em;
  color: var(--itr-navy); margin-bottom: 24px;
}
.eyebrow::before{ content:""; width: 36px; height: 1px; background: var(--itr-navy); }
.section-title{
  font-size: clamp(22px, 3vw, 32px); color: var(--itr-navy-deep);
  margin-bottom: 26px; letter-spacing: .14em;
}
.section-lead{
  font-size: 15.5px; color: var(--text-sub); max-width: 780px; margin-bottom: 44px;
}

/* ---- hero (light, large serif type like the corporate top) ---- */
.hero{
  position: relative; overflow:hidden;
  min-height: 88vh; display:flex; align-items:center;
  color: var(--text-main);
}
.hero__bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  transform: scale(1.05); filter: brightness(1.08) saturate(.95);
}
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.86) 45%, rgba(249,252,255,0.4) 78%, rgba(249,252,255,0.12) 100%);
}
.hero__inner{ position:relative; z-index:2; padding: 110px 24px 90px; }
.hero__en{ font-size: 20px; letter-spacing: .3em; color: var(--itr-taupe); margin-bottom: 8px; }
.hero__title{
  font-size: clamp(28px, 4.8vw, 54px); font-weight:500; margin-bottom: 30px; color: #000;
  letter-spacing: .16em; line-height: 1.7;
}
.hero__lead{ font-size: 16px; color: var(--itr-slate); max-width: 700px; margin-bottom: 42px; }
.hero__cta{ display:flex; gap:18px; flex-wrap:wrap; margin-bottom: 46px; }
.hero__badges{ display:flex; flex-wrap:wrap; gap: 12px; }
.hero__badges li{
  font-size: 13px; background: var(--white); border:1px solid var(--itr-navy);
  padding: 6px 18px; color: var(--itr-navy); letter-spacing: .1em;
}

/* ---- pain points ---- */
.pains__grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px;
}
.pain-card{
  background: var(--white); border: 1px solid var(--line);
  padding: 32px 22px; text-align:center;
}
.pain-card__icon{ font-size: 30px; margin-bottom: 16px; }
.pain-card p{ font-size: 14px; color: var(--text-main); }
.pains__note{
  text-align:center; font-size: 17px; font-weight:500; color: var(--white); letter-spacing: .1em;
  background: var(--itr-navy); padding: 30px 26px;
}

/* ---- solution ---- */
.solution__grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.solution-card{
  background: var(--white); padding: 36px 26px; box-shadow: var(--shadow-soft); position:relative;
}
.solution-card__num{
  font-size: 40px; font-weight:500; color: var(--itr-navy); display:block; margin-bottom: 10px; line-height:1; letter-spacing: .08em;
}
.solution-card h3{ font-size: 18px; color: var(--itr-navy-deep); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); letter-spacing: .1em; }
.solution-card p{ font-size: 13.5px; color: var(--text-sub); }

/* ---- compare slider ---- */
.compare-block{ margin: 34px 0 28px; }
.compare{
  position: relative; width:100%; aspect-ratio: 4/3;
  overflow:hidden; box-shadow: var(--shadow-soft); background:#eee; user-select:none;
}
.compare-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.compare-reveal{ position:absolute; inset:0; width:50%; height:100%; overflow:hidden; }
.compare-reveal .compare-img{ position:absolute; top:0; left:0; height:100%; width: var(--compare-w, 800px); max-width:none; }
.compare-divider{
  position:absolute; top:0; bottom:0; left:50%; width:2px; background: var(--white);
  transform: translateX(-50%); pointer-events:none; box-shadow: 0 0 10px rgba(0,0,0,.25);
}
.compare-divider::after{
  content:"⇔"; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:46px; height:46px; background: var(--itr-navy); border-radius:50%; border: 2px solid var(--white);
  display:flex; align-items:center; justify-content:center; color: var(--white);
  font-size:18px; box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.compare-badge{
  position:absolute; top:16px; font-size:12.5px; padding: 6px 14px;
  background: rgba(26,26,26,.72); color:#fff; letter-spacing:.08em;
  pointer-events:none;
}
.compare-badge--before{ right:16px; }
.compare-badge--after{ left:16px; background: var(--itr-navy); }
.compare-range{
  position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor: ew-resize;
}
.compare-caption{ margin-top: 14px; font-size: 12px; color: var(--text-sub); }

/* ---- retouch points ---- */
.retouch-points{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 10px 0 34px; }
.retouch-point{
  background: var(--itr-bg-light); padding: 24px 22px 20px; border: 1px solid var(--line);
}
.retouch-point span{ font-size: 22px; display:block; margin-bottom: 6px; }
.retouch-point h4{ font-size: 16px; color: var(--itr-navy-deep); margin-bottom: 4px; }
.retouch-point p{ font-size: 13.5px; color: var(--text-sub); }

/* ---- stat banner ---- */
.stat-banner{
  display:flex; align-items:center; gap: 40px; flex-wrap:wrap;
  background: var(--itr-navy); color: var(--white);
  padding: 34px 38px; margin: 30px 0 6px;
}
.stat-banner--alt{ background: var(--itr-slate); }
.stat-banner__num{ font-size: 18px; white-space:nowrap; letter-spacing: .1em; }
.stat-banner__num span{ color: #D9C9A3; font-size: 30px; font-weight:600; margin-left: 8px; }
.stat-banner__icons{ display:flex; gap: 28px; flex-wrap:wrap; font-size: 13.5px; }
.stat-banner__icons div{ display:flex; flex-direction:column; align-items:center; gap:6px; min-width:70px; }
.stat-banner__icons span{ font-size: 22px; }
.fine-print{ font-size: 11.5px; color: var(--text-sub); margin: 8px 0 0; letter-spacing: .03em; }

.highlight-box{
  margin-top: 30px; background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--itr-taupe); padding: 28px 30px;
}
.highlight-box p{ font-size: 15px; color: var(--text-main); }
.highlight-box strong{ font-weight:600; background: linear-gradient(transparent 64%, rgba(117,103,74,.22) 64%); }
.highlight-box p + p{ margin-top: 10px; }

.sub-block{ margin-top: 68px; padding-top: 56px; border-top: 1px solid var(--line); }
.sub-block__title{ font-size: 22px; color: var(--itr-navy-deep); margin-bottom: 14px; letter-spacing: .1em; }
.sub-block p{ color: var(--text-sub); max-width: 780px; margin-bottom: 8px; }

/* ---- reasons ---- */
.policy{
  background: var(--itr-navy); color: rgba(255,255,255,.88);
  padding: 40px 42px; margin-bottom: 34px;
}
.policy__copy{ font-size: clamp(20px, 2.6vw, 26px); font-weight:500; color: var(--white); margin-bottom: 12px; letter-spacing: .14em; }
.policy p:not(.policy__copy){ font-size: 14.5px; }
.reasons__grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 4px; }
.reason-card{
  display:flex; align-items:center; gap: 18px; background: var(--white);
  border: 1px solid var(--line); padding: 24px 24px;
}
.reason-card__icon{
  font-size: 26px; font-weight:500; line-height:1; flex-shrink:0; color: var(--itr-taupe);
  padding-right: 16px; border-right: 1px solid var(--line);
}
.reason-card p{ font-size: 14.5px; color: var(--itr-navy-deep); font-weight:500; }

/* ---- flow ---- */
.flow{ display:grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.flow__step{
  background: var(--white); padding: 32px 20px; position:relative; box-shadow: var(--shadow-soft);
}
.flow__num{
  display:block; color: var(--itr-navy); font-size: 34px; font-weight:500; line-height:1; margin-bottom: 14px; letter-spacing:.06em;
}
.flow__num::before{ content:"Step "; font-size: 13px; color: var(--itr-taupe); letter-spacing:.14em; }
.flow__step h3{ font-size:15.5px; color: var(--itr-navy-deep); margin-bottom: 10px; letter-spacing:.06em; }
.flow__step p{ font-size: 13px; color: var(--text-sub); }

/* ---- faq ---- */
.faq__item{
  background: var(--white); border-bottom: 1px solid var(--line); padding: 24px 6px;
}
.faq__item:first-child{ border-top: 1px solid var(--line); }
.faq__item summary{
  cursor:pointer; font-weight:600; color: var(--itr-navy-deep); font-size: 15.5px; list-style:none;
  display:flex; justify-content:space-between; align-items:center;
}
.faq__item summary::before{ content:"Q."; color: var(--itr-taupe); font-size: 22px; font-weight:500; margin-right: 14px; line-height:1; }
.faq__item summary::after{ content:"+"; color: var(--itr-navy); font-size:22px; font-weight:400; margin-left: auto; padding-left: 12px; }
.faq__item[open] summary::after{ content:"−"; }
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item p{ margin-top: 14px; color: var(--text-sub); font-size: 14.5px; padding-left: 38px; }

/* ---- contact ---- */
.contact{ background: var(--itr-bg-light); }
.tel-box{
  background: var(--white); border: 1px solid var(--itr-navy);
  text-align:center; padding: 26px 20px; margin-bottom: 30px;
}
.tel-box__label{ font-size: 13.5px; color: var(--itr-navy); letter-spacing:.12em; }
.tel-box__num{
  display:inline-block; font-size: clamp(32px, 5.6vw, 44px); font-weight:500;
  color: var(--itr-navy-deep); letter-spacing: .08em; line-height:1.4;
}
.tel-box__num::before{ content:"☎ "; font-size: .6em; color: var(--itr-taupe); }
.tel-box__time{ font-size: 12.5px; color: var(--text-sub); }

.form{
  display:flex; flex-direction:column; gap: 22px;
  background: var(--white); padding: 40px 38px; border: 1px solid var(--line);
}
.form[hidden]{ display:none; }
.form__row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label{ display:flex; flex-direction:column; gap:8px; font-size: 13.5px; font-weight:600; color: var(--itr-navy-deep); }
.form input, .form select, .form textarea{
  font-family: var(--font-sans); font-size: 15px; padding: 13px 16px; border-radius: 0; letter-spacing: .02em;
  border: 1px solid var(--line); background: var(--itr-bg-light); color: var(--text-main);
  outline:none; transition: border-color .2s ease, background .2s ease;
}
.form input::placeholder, .form textarea::placeholder{ color: #A2A8B1; }
.form input:focus, .form select:focus, .form textarea:focus{ border-color: var(--itr-navy); background: var(--white); }
.form .form__label{ display:flex; align-items:center; gap:8px; color: var(--itr-navy-deep); font-size:13.5px; }
.form .form__label em{ font-style:normal; font-family: var(--font-sans); color: var(--white); background: var(--itr-red); font-size: 10.5px; padding: 1px 8px; letter-spacing:.05em; }
.form__checkbox{ flex-direction:row !important; align-items:center; gap:10px !important; font-weight:400 !important; }
.form__checkbox input{ width:auto; padding:0; accent-color: var(--itr-navy); }
.form__checkbox span{ color: var(--text-main); font-size: 14px; }
.form__checkbox a{ color: var(--itr-navy); text-decoration: underline; }
.form__note{
  margin-top: 22px; text-align:center; font-size:14px; color: var(--itr-navy);
  background: var(--white); border: 1px solid var(--itr-navy); padding: 18px 20px;
}
#formError{ color:#B3261E; background: #FDECEA; border-color: #F2B8B5; }

/* ---- company ---- */
.shop{ display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 30px; align-items:stretch; }
.shop__table{ margin:0; background: var(--white); border-top: 1px solid var(--itr-navy); }
.shop__table div{ display:grid; grid-template-columns: 130px 1fr; border-bottom: 1px solid var(--line); }
.shop__table dt{ padding: 16px 20px; font-size: 13.5px; font-weight:600; color: var(--itr-navy-deep); background: #E4E9F0; }
.shop__table dd{ margin:0; padding: 16px 20px; font-size: 14px; color: var(--text-main); }
.shop__table dd a{ color: var(--itr-navy); text-decoration: underline; }
.shop__map{ overflow:hidden; min-height: 400px; }
.shop__map iframe{ width:100%; height:100%; min-height: 400px; border:0; display:block; filter: grayscale(.3); }

/* ---- footer ---- */
.footer{ background: var(--itr-navy-deep); color: rgba(255,255,255,.8); padding-top: 68px; }
.footer__top{ display:grid; grid-template-columns: 1.3fr 0.8fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__brand p{ font-size: 13px; color: rgba(255,255,255,.72); max-width: 340px; }
.footer__nav{ display:flex; flex-direction:column; gap: 10px; font-size: 13.5px; }
.footer__nav a:hover{ color: #D9C9A3; }
.footer__info p{ font-size: 12.5px; margin-bottom: 6px; color: rgba(255,255,255,.75); }
.footer__info p:first-child{ color: var(--white); font-weight:600; font-size: 14px; }
.footer__legal{ padding: 26px 0; }
.footer__legal p{ font-size: 11px; color: rgba(255,255,255,.55); margin-bottom: 8px; letter-spacing: .03em; }
.footer__copyright{ text-align:center; font-size: 12px; letter-spacing:.12em; color: rgba(255,255,255,.55); padding-bottom: 30px; }
address.footer__info{ font-style: normal; }

/* ---- floating cta ---- */
.floating-cta{
  position: fixed; right: 0; bottom: 120px; z-index: 90;
  writing-mode: vertical-rl; background: var(--itr-navy); color: var(--white);
  font-size: 14px; letter-spacing: .3em; padding: 22px 14px;
  box-shadow: 0 10px 26px rgba(3,14,41,.3);
  display:none;
}
.floating-cta.show{ display:inline-flex; }

/* ---- definition ---- */
.definition{ background: var(--white); padding: 26px 30px; margin: -16px 0 36px; max-width: 900px; border-left: 3px solid var(--itr-navy); }
.definition__term{ font-weight:600; color: var(--itr-navy-deep); font-size: 17px; margin-bottom: 6px; letter-spacing:.1em; }
.definition p{ font-size: 14.5px; color: var(--text-main); }
.definition strong{ font-weight:600; background: linear-gradient(transparent 64%, rgba(117,103,74,.22) 64%); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px){
  /* serif nav with wide tracking needs room: switch to the menu button earlier, keep the CTA */
  .nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header__inner{ justify-content: flex-start; }
  .header__cta{ margin-left: auto; }
}

@media (max-width: 1100px){
  .solution__grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px){
  .nav{ display:none; }
  .nav-toggle{ display:flex; margin-left:auto; }
  .header__cta{ display:none; }
  .pains__grid{ grid-template-columns: repeat(2, 1fr); }
  .reasons__grid{ grid-template-columns: repeat(2, 1fr); }
  .flow{ grid-template-columns: repeat(2, 1fr); }
  .shop{ grid-template-columns: 1fr; }
  .footer__top{ grid-template-columns: 1fr; }
  .pc-only{ display:none; }
  .sp-only{ display:inline; }
  .hero__overlay{ background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 100%); }
}

@media (max-width: 640px){
  .container{ padding: 0 16px; }
  .section{ padding: 72px 0; }
  .topbar{ font-size: 11px; letter-spacing: .04em; }
  .header__inner{ height: 66px; }
  .logo img{ width: 160px; }
  .section-en{ letter-spacing: .12em; }
  .pains__grid{ grid-template-columns: 1fr 1fr; gap: 12px; }
  .pain-card{ padding: 22px 12px; }
  .pains__note{ font-size: 15px; padding: 22px 18px; letter-spacing: .04em; }
  .solution__grid, .retouch-points, .reasons__grid{ grid-template-columns: 1fr; }
  .stat-banner{ flex-direction:column; align-items:flex-start; gap: 20px; padding: 26px 22px; }
  .policy{ padding: 28px 22px; }
  .form{ padding: 26px 20px; }
  .form__row{ grid-template-columns: 1fr; }
  .flow{ grid-template-columns: 1fr; }
  .hero__inner{ padding: 76px 16px 60px; }
  .hero__title{ letter-spacing: .08em; }
  .hero__cta .btn{ width:100%; white-space: normal; padding: 16px 18px; letter-spacing: .04em; }
  .shop__table div{ grid-template-columns: 96px 1fr; }
  .shop__table dt{ padding: 14px 12px; }
  .shop__table dd{ padding: 14px 14px; }
  .faq__item p{ padding-left: 0; }
  .compare-badge{ font-size: 11px; padding: 5px 10px; top: 10px; }
  .compare-badge--before{ right:10px; }
  .compare-badge--after{ left:10px; }
  .floating-cta{ bottom: 24px; }
}

/* ---- mobile nav open state ---- */
.header.nav-open .nav{
  display:flex; position:absolute; top:100%; left:0; right:0;
  flex-direction:column; background: var(--white); padding: 20px 24px; gap: 18px;
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.header.nav-open .nav a{ font-size: 16px; }

.solution-card__num, .flow__num, .tel-box__num, .reason-card__icon{ font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
