/* 創環境Design - Custom Styles */

:root {
  --navy: #1A3A5C;
  --steel-blue: #2E75B6;
  --gold: #E8A020;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --text: #333333;
}

* { box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 58, 92, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
}

.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.05em;
}

.logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 18px;
  border-radius: 4px;
}

.nav-cta:hover { background: #d4911c !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--navy);
  padding: 8px 24px 20px;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
  font-weight: 500;
}

.mobile-nav a.nav-cta {
  margin-top: 14px;
  text-align: center;
  border-radius: 4px;
  border-bottom: none;
  padding: 13px;
  color: var(--navy) !important;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d2338 0%, #1A3A5C 55%, #1e4d7b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(46,117,182,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(232,160,32,0.06) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  max-width: 840px;
}

.hero-label {
  display: inline-block;
  background: rgba(232,160,32,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(26px, 5.5vw, 52px);
  font-weight: 700;
  color: white;
  line-height: 1.45;
  margin-bottom: 24px;
}

.hero-title .accent { color: var(--gold); }

.hero-sub {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 34px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232,160,32,0.4);
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary:hover {
  background: #d4911c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.5);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-navy:hover { background: #0f2540; transform: translateY(-1px); }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-gray { background: var(--light-gray); }
.section-navy { background: var(--navy); color: white; }
.section-navy .section-title { color: white; }
.section-navy .section-desc { color: rgba(255,255,255,0.75); }

.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-block;
  color: var(--steel-blue);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-navy .section-label { color: var(--gold); }

.section-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.4;
}

.section-desc {
  color: #666;
  font-size: 15px;
  line-height: 1.85;
  max-width: 680px;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--steel-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.card-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.85;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.comparison-table th {
  background: var(--navy);
  color: white;
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.comparison-table th.col-highlight { background: var(--steel-blue); }

.comparison-table td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
  font-size: 14px;
  background: white;
}

.comparison-table td.col-label {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  background: #f0f4f8;
  white-space: nowrap;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .savings-row td {
  background: linear-gradient(to right, #fff8e8, #fef3cc);
  color: var(--gold);
  font-weight: 700;
  font-size: 17px;
}

.comparison-table .savings-row td.col-label {
  background: linear-gradient(to right, #fff8e8, #fef3cc);
  color: var(--navy);
  font-size: 14px;
}

/* ===== MORTGAGE TABLE ===== */
.mortgage-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  font-size: 13px;
}

.mortgage-table th {
  background: var(--navy);
  color: white;
  padding: 14px 12px;
  text-align: center;
  font-weight: 700;
}

.mortgage-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
  background: white;
}

.mortgage-table tr.highlight-row td { background: #eaf2fb; font-weight: 600; }
.mortgage-table tr:last-child td { border-bottom: none; }
.star-label { color: var(--gold); font-weight: 700; }

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy), var(--steel-blue));
}

.timeline-item {
  position: relative;
  margin-bottom: 22px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--steel-blue);
  border: 2px solid white;
  box-shadow: 0 0 0 3px var(--steel-blue);
}

.timeline-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--steel-blue);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.timeline-content {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ===== STEP PROCESS ===== */
.step-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.step-item {
  text-align: center;
  padding: 24px 10px;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--steel-blue);
  font-size: 26px;
  font-weight: 900;
}

.step-number {
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 10px;
}

.step-label { font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 4px; }
.step-desc { font-size: 11px; color: #999; line-height: 1.5; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #0d2338, var(--navy));
  padding: 80px 24px;
  text-align: center;
  color: white;
}

.cta-free-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.cta-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin: 12px 0 6px;
  display: block;
  text-decoration: none;
}

.cta-phone:hover { opacity: 0.85; }

.cta-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 10px 16px;
  background: white;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
}

.floating-cta a {
  display: block;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  padding: 13px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0d2338;
  color: rgba(255,255,255,0.65);
  padding: 48px 24px 24px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  padding-top: 24px;
  letter-spacing: 0.04em;
}

/* ===== PRICE TABLE ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.price-table th {
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
}

.price-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background: white;
  font-size: 14px;
}

.price-table tr:last-child td { border-bottom: none; }

.price-amount {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--steel-blue);
  font-size: 18px;
}

/* ===== RENO GRID ===== */
.reno-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.reno-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-left: 4px solid var(--steel-blue);
  transition: transform 0.2s;
}

.reno-card:hover { transform: translateY(-2px); }
.reno-card-icon { font-size: 28px; margin-bottom: 8px; }
.reno-card-title { font-weight: 700; color: var(--navy); font-size: 14px; margin-bottom: 5px; }
.reno-card-desc { font-size: 12px; color: #666; line-height: 1.7; }

/* ===== PROFILE ===== */
.profile-photo {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 4px solid white;
}

.profile-photo-placeholder {
  width: 200px;
  height: 250px;
  background: linear-gradient(135deg, var(--navy), var(--steel-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 64px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 4px solid white;
  flex-shrink: 0;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== FORM ===== */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-required { color: #e53e3e; margin-left: 4px; font-size: 12px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #dde4ec;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--steel-blue);
  box-shadow: 0 0 0 3px rgba(46,117,182,0.15);
}

.form-control.error { border-color: #e53e3e; }

.form-error {
  color: #e53e3e;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M5 6L0 0h10z' fill='%231A3A5C'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea.form-control { resize: vertical; min-height: 130px; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, #0d2338, var(--navy));
  padding: 120px 24px 56px;
  text-align: center;
  color: white;
}

.page-header h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.page-header p { color: rgba(255,255,255,0.72); font-size: 15px; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ===== INFO TABLE ===== */
.info-table { width: 100%; border-collapse: collapse; }

.info-table th {
  background: #f0f4f8;
  color: var(--navy);
  font-weight: 700;
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  width: 180px;
  border-bottom: 1px solid #dde4ec;
  vertical-align: top;
}

.info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #dde4ec;
  font-size: 14px;
}

.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

/* ===== NOTICE BOX ===== */
.notice-box {
  background: #fff8e8;
  border: 1px solid #e8c96a;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 12px;
  color: #7a5200;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  body { font-size: 14px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .floating-cta { display: block; }
  .section { padding: 56px 20px; }
  .cta-section { padding-bottom: 96px; }

  .step-process { grid-template-columns: repeat(2, 1fr); }
  .step-item:not(:last-child)::after { display: none; }

  .footer-top { flex-direction: column; align-items: center; text-align: center; }

  .comparison-table th, .comparison-table td { padding: 10px 8px; font-size: 12px; }
  .mortgage-table { font-size: 11px; }
  .mortgage-table th, .mortgage-table td { padding: 9px 5px; }

  .profile-photo, .profile-photo-placeholder { width: 140px; height: 175px; }
  .hero { padding: 100px 20px 70px; min-height: 90vh; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
  .step-process { grid-template-columns: repeat(3, 1fr); }
  .step-item:nth-child(3)::after, .step-item:nth-child(6)::after { display: none; }
}
