/* ===================================================
   ちびGO東海 LP — v1.1.0
   見出しフォント: コーポレート・ロゴ (Adobe Fonts)
   本文フォント  : Noto Sans JP / システムフォント
   =================================================== */

/* ----- CSS変数 ----- */
:root {
  --green:        #4a7a32;
  --green-dark:   #3a6225;
  --green-light:  #6bab40;
  --green-pale:   #e8f4de;
  --orange:       #e8901a;
  --olive:        #5f7a28;
  --text:         #333333;
  --text-mid:     #555555;
  --text-light:   #777777;
  --bg:           #f7f7f0;
  --white:        #ffffff;
  --border:       #deded4;
  --shadow:       0 3px 16px rgba(0,0,0,0.08);
  --radius:       12px;

  /* フォント */
  --font-heading: 'corporate-logo-rounded-ver2', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-body:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
}

/* ----- リセット & ベース ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: opacity .2s; }
a:hover { opacity: .8; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ----- 見出しにコーポレート・ロゴを適用 ----- */
h1, h2, h3, h4,
.hero-title,
.section-title,
.service-num h3,
.why-content h2,
.cta-text h2 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ----- ボタン共通 ----- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 30px; border-radius: 6px;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  font-family: var(--font-heading);
  border: 2px solid transparent; transition: all .2s; cursor: pointer;
  white-space: nowrap;
}
.btn-primary  { background: var(--green);  color: var(--white); }
.btn-primary:hover  { background: var(--green-dark); opacity: 1; }
.btn-outline  { background: var(--white);  color: var(--green); border-color: var(--green); }
.btn-outline:hover  { background: var(--green-pale); opacity: 1; }
.btn-outline-dark {
  background: transparent; color: #555;
  border: 2px solid #aaa; border-radius: 40px;
  padding: 12px 36px; font-weight: 500;
}
.btn-outline-dark:hover { background: #f0f0e8; opacity: 1; }

/* ----- セクション共通タイトル ----- */
.section-title {
  text-align: center; font-size: clamp(22px, 3vw, 30px);
  font-weight: 700; margin-bottom: 12px; color: var(--text);
}
.section-subtitle {
  text-align: center; color: var(--text-light);
  font-size: 15px; margin-bottom: 52px; line-height: 1.85;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,.09);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; gap: 24px;
}
.header-logo img { height: 42px; width: auto; }
.header-nav { flex: 1; }
.header-nav ul { display: flex; gap: 24px; }
.header-nav a  { font-size: 14px; color: #444; font-weight: 500; }
.header-nav a:hover { color: var(--green); opacity: 1; }
.header-cta {
  background: var(--green); color: var(--white);
  padding: 10px 18px; border-radius: 6px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  font-family: var(--font-heading);
}
.header-cta:hover { background: var(--green-dark); opacity: 1; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #444; border-radius: 2px; transition: .3s;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  display: flex; align-items: stretch; min-height: 540px;
  background: var(--white); position: relative; overflow: hidden;
}
.hero-content {
  flex: 0 0 52%; padding: 64px 40px 64px 7vw;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
.hero-title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700; line-height: 1.2; color: #1e2a1a;
  margin-bottom: 22px; letter-spacing: .02em;
}
.hero-desc  { font-size: 15px; color: var(--text-mid); line-height: 1.95; margin-bottom: 32px; }
.hero-icons { display: flex; gap: 28px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-icon-item img  { width: 64px; height: 64px; object-fit: contain; }
.hero-icon-item span { font-size: 13px; font-weight: 700; color: #444; font-family: var(--font-heading); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  flex: 1; position: relative; min-height: 460px; overflow: hidden;
}
.hero-image img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-leaf {
  position: absolute; right: 0; bottom: 20px; width: 100px;
  pointer-events: none; opacity: .7; z-index: 2;
}
.hero-leaf img { width: 100%; }

/* =====================================================
   PROBLEMS
   ===================================================== */
.problems { background: var(--bg); padding: 88px 0; }
.problems-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.problem-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 18px 24px;
  text-align: center; transition: box-shadow .2s;
}
.problem-card:hover { box-shadow: var(--shadow); }
.problem-icon {
  width: 72px; height: 72px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.problem-icon img { width: 60px; height: 60px; object-fit: contain; }
.problem-card h3 { font-size: 15px; font-weight: 700; line-height: 1.55; margin-bottom: 10px; }
.problem-card p  { font-size: 13px; color: var(--text-light); line-height: 1.75; }

/* =====================================================
   FLOW (Before / After)
   ===================================================== */
.flow { background: var(--white); padding: 88px 0; }
.flow-inner { display: flex; gap: 52px; align-items: flex-start; }
.flow-left { flex: 0 0 260px; }
.flow-left h2 {
  font-size: clamp(20px, 2.5vw, 26px); font-weight: 700;
  line-height: 1.45; margin-bottom: 18px;
}
.flow-left p { font-size: 14px; color: var(--text-mid); line-height: 1.9; }
.flow-right   { flex: 1; }
.flow-diagram { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.flow-before, .flow-after {
  flex: 1; min-width: 200px;
  background: var(--bg); border: 2px dashed #ccc;
  border-radius: var(--radius); padding: 20px 16px; position: relative;
}
.flow-tag {
  position: absolute; top: -13px; left: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 2px 12px; border-radius: 4px; color: var(--white);
  font-family: var(--font-heading);
}
.flow-tag--before { background: #888; }
.flow-tag--after  { background: var(--green); }
.flow-diagram-label {
  font-size: 12px; color: #666; margin-top: 8px; margin-bottom: 14px; line-height: 1.6;
}
.flow-before-visual {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.before-stage { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.before-crowd { display: flex; flex-direction: column; align-items: center; }
.before-label  {
  font-size: 11px; color: #888; border: 1px solid #ccc;
  padding: 2px 10px; border-radius: 4px;
}
.flow-arrow-wrap {
  display: flex; gap: 2px; align-items: center; flex-shrink: 0;
}
.flow-steps {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.flow-step {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.flow-step img    { width: 40px; height: 40px; object-fit: contain; }
.flow-step span   { font-size: 11px; font-weight: 700; color: #444; text-align: center; font-family: var(--font-heading); }
.flow-step-arrow  { font-size: 18px; color: var(--green); flex-shrink: 0; }
.heart-icon       { font-size: 34px; color: #e84444; line-height: 1; display: block; margin-bottom: 5px; }

/* =====================================================
   SERVICES
   ===================================================== */
.services { padding: 88px 0; background: var(--white); }
.service-row {
  display: flex; align-items: stretch; margin-bottom: 22px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.service-num {
  display: flex; flex-direction: column; justify-content: center;
  padding: 32px 28px; min-width: 200px; color: var(--white); flex-shrink: 0;
}
.service-num--green  { background: var(--green); }
.service-num--orange { background: var(--orange); }
.service-num--olive  { background: var(--olive); }
.snum {
  font-size: 52px; font-weight: 700; line-height: 1;
  display: block; margin-bottom: 10px; font-family: var(--font-heading);
}
.service-num h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.service-num p  { font-size: 13px; opacity: .9; line-height: 1.65; font-family: var(--font-body); }
.service-detail {
  flex: 1; padding: 32px 32px; display: flex; align-items: center;
  background: var(--white);
}
.service-detail ul { display: flex; flex-direction: column; gap: 14px; }
.service-detail li {
  font-size: 15px; color: #444;
  padding-left: 24px; position: relative;
}
.service-detail li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}
.service-photo { flex: 0 0 280px; overflow: hidden; }
.service-photo img {
  width: 100%; height: 100%; object-fit: cover; min-height: 210px;
}

/* =====================================================
   CASE STUDIES
   ===================================================== */
.cases { background: var(--bg); padding: 88px 0; }
.cases-slider-wrapper {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin-bottom: 36px;
}
.cases-slider {
  flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.case-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.case-photo {
  height: 168px; display: flex; align-items: center; justify-content: center;
}
.case-photo--blue   { background: linear-gradient(135deg, #4a7ab0, #2a5a90); }
.case-photo--orange { background: linear-gradient(135deg, #f5a623, #e8701a); }
.case-photo--green  { background: linear-gradient(135deg, #6bab40, #4a7a32); }
.case-bg-icon { width: 80px; height: 80px; object-fit: contain; filter: brightness(10); opacity: .45; }
.case-body    { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.case-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px; align-self: flex-start;
  font-family: var(--font-heading);
}
.case-tag--blue   { background: #deeaf8; color: #2a5a90; }
.case-tag--orange { background: #fdecd0; color: #b06010; }
.case-tag--green  { background: #ddf0d8; color: #2a6a2a; }
.case-card h3 { font-size: 17px; font-weight: 700; }
.case-card p  { font-size: 13px; color: var(--text-light); line-height: 1.7; flex: 1; }
.case-stats {
  display: flex; gap: 12px; padding-top: 14px;
  border-top: 1px solid var(--border); margin-top: 4px;
}
.case-stat   { flex: 1; }
.cs-label    { display: block; font-size: 11px; color: #888; margin-bottom: 3px; }
.cs-value    { font-size: 20px; font-weight: 700; color: var(--green); font-family: var(--font-heading); }
.cs-value em { font-size: 13px; font-weight: 400; font-style: normal; }
.slider-btn {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #ccc; background: var(--white);
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  color: #666; transition: .2s; line-height: 1;
}
.slider-btn:hover { border-color: var(--green); color: var(--green); }
.cases-more { text-align: center; }

/* =====================================================
   WHY
   ===================================================== */
.why { background: var(--white); padding: 88px 0; }
.why-inner { display: flex; gap: 48px; align-items: flex-start; }
.why-content { flex: 1; }
.why-content h2 { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; margin-bottom: 8px; }
.why-lead { font-size: 14px; color: var(--text-light); margin-bottom: 36px; }
.why-reasons { display: flex; flex-direction: column; gap: 28px; }
.why-reason { display: flex; gap: 16px; align-items: flex-start; }
.why-reason-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.why-reason-icon img { width: 52px; height: 52px; object-fit: contain; }
.why-reason-text h4  { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.why-reason-text p   { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

.why-stats {
  flex: 0 0 290px; background: var(--green); color: var(--white);
  border-radius: var(--radius); padding: 30px 24px;
}
.why-stats h3 {
  font-size: 15px; font-weight: 700; text-align: center;
  padding-bottom: 18px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  font-family: var(--font-heading);
}
.ws-item {
  display: flex; gap: 14px; align-items: center; margin-bottom: 22px;
}
.ws-item img { width: 36px; height: 36px; object-fit: contain; filter: brightness(10); opacity: .85; flex-shrink: 0; }
.ws-cat  { font-size: 12px; opacity: .85; margin-bottom: 2px; }
.ws-num  { font-size: 26px; font-weight: 700; line-height: 1.25; font-family: var(--font-heading); }
.ws-num span { font-size: 14px; font-weight: 400; margin-left: 2px; }
.ws-note { font-size: 11px; opacity: .65; margin-top: 2px; }

/* =====================================================
   FAQ
   ===================================================== */
.faq { background: var(--bg); padding: 88px 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.faq-question {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; background: none; border: none;
  font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
  color: var(--text); transition: background .2s; font-family: var(--font-heading);
}
.faq-question:hover { background: var(--green-pale); }
.faq-q {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: white;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq-question span:nth-child(2) { flex: 1; }
.faq-icon { flex-shrink: 0; font-size: 22px; color: var(--green); transition: transform .3s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s;
  padding: 0 24px; color: var(--text-mid); font-size: 14px; line-height: 1.85;
}
.faq-answer.open { max-height: 200px; padding: 0 24px 20px; }
.faq-answer p { padding-left: 42px; }

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: var(--green); padding: 64px 0; position: relative; overflow: hidden;
}
.cta-leaf {
  position: absolute; right: 40px; top: -20px; width: 120px;
  pointer-events: none; opacity: .25; transform: scaleX(-1);
}
.cta-leaf img { width: 100%; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; z-index: 1;
}
.cta-text h2 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-text p  { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.85; }
.btn-cta-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--green);
  font-size: 16px; font-weight: 700; padding: 18px 36px;
  border-radius: 8px; white-space: nowrap; flex-shrink: 0;
  transition: background .2s; font-family: var(--font-heading);
}
.btn-cta-link:hover { background: #f0f8e8; opacity: 1; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: #1e2a14; color: #aaa; padding: 44px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-logo img   { height: 36px; margin-bottom: 14px; }
.footer-company    { font-size: 13px; color: #888; margin-bottom: 12px; font-family: var(--font-heading); }
.footer-nav        { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-nav a      { font-size: 12px; color: #888; }
.footer-nav a:hover { color: var(--white); opacity: 1; }
.footer-nav span   { font-size: 11px; color: #555; }
.footer-copy       { font-size: 12px; color: #555; }
.footer-right      { text-align: right; flex-shrink: 0; }
.footer-tel        { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; font-family: var(--font-heading); }
.footer-email      { font-size: 14px; color: #888; }

/* =====================================================
   RESPONSIVE — タブレット (≤ 900px)
   ===================================================== */
@media (max-width: 900px) {
  .header-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 16px 24px; box-shadow: 0 4px 16px rgba(0,0,0,.1); z-index: 200; }
  .header-nav.open { display: block; }
  .header-nav ul    { flex-direction: column; gap: 18px; }
  .hamburger        { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero           { flex-direction: column; }
  .hero-content   { flex: 0 0 auto; padding: 48px 24px 36px; max-width: 100%; }
  .hero-image     { flex: 0 0 auto; width: 100%; min-height: 280px; max-height: 380px; position: relative; }
  .hero-image img { position: static; width: 100%; max-height: 380px; object-fit: cover; }
  .hero-leaf      { bottom: 260px; }

  .problems-grid { grid-template-columns: repeat(2, 1fr); }

  .flow-inner   { flex-direction: column; }
  .flow-left    { flex: 0 0 auto; }
  .flow-diagram { flex-direction: column; align-items: flex-start; }
  .flow-arrow-wrap { transform: rotate(90deg); }

  .service-row     { flex-direction: column; }
  .service-num     { min-width: 100%; flex-direction: row; align-items: center; gap: 16px; padding: 20px 24px; }
  .snum            { font-size: 40px; margin-bottom: 0; }
  .service-photo   { flex: 0 0 auto; }
  .service-photo img { min-height: 200px; object-fit: cover; }

  .cases-slider { grid-template-columns: 1fr; }
  .case-card:not(:first-child) { display: none; }
  .case-card.active { display: flex; }

  .why-inner  { flex-direction: column; }
  .why-stats  { flex: 0 0 auto; width: 100%; }

  .cta-inner    { flex-direction: column; text-align: center; }
  .btn-cta-link { align-self: center; }

  .footer-inner  { flex-direction: column; }
  .footer-right  { text-align: left; }
}

/* =====================================================
   RESPONSIVE — スマートフォン (≤ 600px)
   ===================================================== */
@media (max-width: 600px) {
  .hero-title   { font-size: 36px; }
  .hero-icons   { gap: 18px; }
  .hero-icon-item img { width: 52px; height: 52px; }
  .hero-buttons { flex-direction: column; }
  .problems-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 22px; }
  .section-subtitle { font-size: 14px; }
  .flow-steps   { justify-content: flex-start; }
  .flow-step img { width: 34px; height: 34px; }
  .service-num  { flex-direction: column; align-items: flex-start; }
  .snum         { font-size: 36px; }
  .footer-nav   { flex-direction: column; gap: 4px; }
  .footer-nav span { display: none; }
}
