/* ========================================
   ライフアセットオフィス 共通スタイル
   ======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* PRIMARY GREEN */
  --g:   #1a7a4a;
  --g-d: #145f39;
  --g-l: #f0fdf4;
  --g-m: #dcfce7;
  --g-b: rgba(26,122,74,.12);

  /* TEXT (stone系) */
  --t9: #1c1917;
  --t7: #44403c;
  --t5: #78716c;
  --t4: #a8a29e;
  --t2: #e7e5e4;
  --t1: #f5f5f4;
  --t0: #fafaf9;

  /* BASE */
  --white:  #ffffff;
  --border: #e7e5e4;

  /* LEGACY ALIASES (既存HTML互換) */
  --sky:       #1a7a4a;
  --sky-light: #22c55e;
  --sky-pale:  #dcfce7;
  --sky-bg:    #f0fdf4;
  --navy:      #1a3d2b;
  --navy-soft: #1f5c40;
  --gray-bg:   #f5f5f4;
  --text:      #1c1917;
  --text-sub:  #78716c;
}
body { font-family: 'Hiragino Kaku Gothic ProN','Hiragino Sans','Noto Sans JP',Meiryo,sans-serif; color: var(--text); line-height: 1.7; background: linear-gradient(180deg, #e6f4ed 0%, #ffffff 18%) fixed; }
a { text-decoration: none; color: inherit; }

/* HEADER */
header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-main { font-size: 22px; font-weight: 900; background: linear-gradient(90deg, #1a7a4a, #4ade80); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.logo-text .tagline { font-size: 10px; color: var(--text-sub); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 13px; color: var(--text-sub); font-weight: 500; transition: color .2s; }
nav a:hover { color: var(--sky); }
.btn-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--sky); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 50px; transition: background .2s, transform .15s; flex-shrink: 0; box-shadow: 0 4px 14px var(--g-b); }
.btn-cta:hover { background: var(--sky-light); transform: translateY(-1px); }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
header.nav-open .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
header.nav-open .hamburger span:nth-child(2) { opacity: 0; }
header.nav-open .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* HERO */
.hero { background: var(--sky-bg); padding: 80px 32px 100px; position: relative; overflow: hidden; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 64px; position: relative; z-index: 1; }
.hero-label { display: inline-flex; align-items: center; gap: 6px; background: var(--sky-pale); color: var(--sky); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 50px; margin-bottom: 20px; }
.hero-label::before { content: ''; width: 6px; height: 6px; background: var(--sky); border-radius: 50%; }
.hero-title { font-size: clamp(30px, 4vw, 50px); font-weight: 900; color: var(--navy); line-height: 1.3; margin-bottom: 18px; }
.hero-title em { color: var(--sky); font-style: normal; }
.hero-desc { font-size: 15px; color: var(--text-sub); line-height: 1.9; margin-bottom: 36px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 50px; padding: 8px 16px; font-size: 12px; font-weight: 600; color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.badge svg { color: var(--sky); flex-shrink: 0; }
.hero-img-wrap { position: relative; flex-shrink: 0; }
.hero-img-wrap img { width: 300px; height: 400px; object-fit: cover; object-position: center top; border-radius: 24px; box-shadow: 0 24px 60px rgba(26,61,43,0.15); display: block; }

/* CHARACTER */
.char-strip { background: var(--sky-bg); padding: 24px 32px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.char-strip img.char-img { width: 72px; flex-shrink: 0; }
.char-strip-bubble { background: #fff; border: 2px solid var(--g-m); border-radius: 14px; padding: 12px 18px; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.7; position: relative; max-width: 480px; }
.char-strip-bubble::before { content: ''; position: absolute; left: -10px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-right-color: var(--g-m); }
.char-strip-bubble::after { content: ''; position: absolute; left: -7px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-right-color: #fff; z-index: 1; }
.char-name-small { font-size: 10px; color: var(--g); font-weight: 700; text-align: center; margin-top: 4px; }

/* BANNER */
.banner { background: var(--navy); color: #fff; text-align: center; padding: 80px 32px; }
.banner h2 { font-size: clamp(18px,3vw,24px); font-weight: 700; margin-bottom: 10px; }
.banner p { font-size: 14px; opacity: 0.75; }

/* ICON SERVICES */
.icon-services { background: var(--white); padding: 80px 32px; }
.icon-services-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.icon-service-item { background: var(--sky-bg); border-radius: 16px; padding: 28px 24px; display: flex; align-items: flex-start; gap: 16px; }
.icon-service-icon { width: 48px; height: 48px; background: var(--sky); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-service-icon svg { width: 22px; height: 22px; color: #fff; }
.icon-service-text h3 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.icon-service-text p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* SERVICES */
.services { padding: 80px 32px; background: var(--gray-bg); }
.section-title { text-align: center; font-size: clamp(20px,3vw,26px); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.section-sub { text-align: center; font-size: 14px; color: var(--text-sub); margin-bottom: 48px; }
.cards { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card { background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--border); transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 12px 40px var(--g-b); transform: translateY(-5px); }
.card-header { height: 140px; display: flex; align-items: center; justify-content: center; }
.card-header-inner { width: 80px; height: 80px; border-radius: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.card-header svg { width: 44px; height: 44px; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body .btn-sky { margin-top: auto; }
.card-title { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.card-desc { font-size: 13px; color: var(--text-sub); margin-bottom: 14px; line-height: 1.7; }
.card-list { list-style: none; margin-bottom: 20px; }
.card-list li { font-size: 12.5px; color: var(--text); padding: 4px 0 4px 20px; position: relative; }
.card-list li::before { content: '✓'; position: absolute; left: 0; color: var(--sky); font-weight: 700; }
.btn-sky { display: flex; align-items: center; justify-content: center; background: var(--sky); color: #fff; font-size: 13px; font-weight: 600; padding: 11px; border-radius: 10px; transition: background .2s; }
.btn-sky:hover { background: var(--sky-light); }

/* CTA BANNER */
.cta-banner { padding: 80px 32px; background: var(--sky-bg); }
.cta-banner-inner { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--g-m); border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-banner-text .em { font-size: 12px; color: var(--sky); font-weight: 700; margin-bottom: 8px; }
.cta-banner-text h3 { font-size: clamp(17px,2.5vw,22px); font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.cta-banner-text h3 strong { color: var(--sky); }
.cta-banner-text p { font-size: 13px; color: var(--text-sub); }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--sky); color: #fff; font-size: 14px; font-weight: 700; padding: 14px 28px; border-radius: 50px; white-space: nowrap; transition: background .2s, transform .15s; box-shadow: 0 4px 16px var(--g-b); flex-shrink: 0; }
.btn-primary:hover { background: var(--sky-light); transform: translateY(-2px); }

/* LIFEPLAN */
.lifeplan-section { background: var(--sky-bg); padding: 80px 32px; }
.lifeplan-section h2 { text-align: center; color: var(--navy); font-size: clamp(20px,3vw,28px); font-weight: 900; margin-bottom: 8px; }
.lifeplan-section .sub { text-align: center; font-size: 13px; color: var(--text-sub); margin-bottom: 48px; }
.lp-wrap { max-width: 860px; margin: 0 auto; }
.lp-block { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.lp-char { width: 72px; flex-shrink: 0; }
.lp-char img { width: 72px; }
.lp-bubble { background: #fff; padding: 20px 24px; border-radius: 14px; box-shadow: 0 4px 16px var(--g-b); border-left: 4px solid var(--sky-pale); flex: 1; }
.lp-bubble-title { font-weight: 800; color: var(--navy); margin-bottom: 8px; font-size: 15px; }
.lp-bubble p { font-size: 13px; color: var(--text-sub); line-height: 1.8; }
.lp-bubble ul { padding-left: 18px; font-size: 13px; color: var(--text-sub); line-height: 2; }
.lp-steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.lp-step { display: flex; gap: 20px; align-items: flex-start; }
.lp-step-num { width: 48px; height: 48px; flex-shrink: 0; background: var(--sky); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; line-height: 1; }
.lp-step-body { background: #fff; padding: 20px 24px; border-radius: 14px; box-shadow: 0 4px 16px var(--g-b); border-left: 4px solid var(--sky-pale); flex: 1; }
.lp-step-body p { font-size: 13px; color: var(--text-sub); line-height: 1.8; margin-top: 6px; }
.lp-step-body ul { padding-left: 18px; font-size: 13px; color: var(--text-sub); line-height: 2; margin-top: 6px; }

/* REASONS */
.reasons { padding: 80px 32px; background: var(--gray-bg); }
.reasons-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.reason-item { background: var(--white); border-radius: 20px; padding: 32px 24px; text-align: center; border-top: 4px solid var(--sky); box-shadow: 0 2px 16px rgba(0,0,0,0.04); }
.reason-icon { width: 56px; height: 56px; background: var(--sky-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.reason-icon svg { width: 26px; height: 26px; color: var(--sky); }
.reason-title { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.reason-desc { font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* BLOG */
.blog-section { background: var(--g-l); padding: 80px 32px; }
.blog-inner { max-width: 1100px; margin: 0 auto; }
.blog-subtitle { text-align: center; font-size: 14px; color: var(--text-sub); margin-bottom: 36px; }
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; text-decoration: none; display: block; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px var(--g-b); }
.blog-card-thumb { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.blog-card-thumb.blue { background: #1a7a4a; }
.blog-card-thumb.amber { background: #1a7a4a; }
.blog-card-body { padding: 14px 16px; }
.blog-card-tag { font-size: 12px; font-weight: 700; color: var(--g); background: var(--g-m); padding: 2px 8px; border-radius: 8px; display: inline-block; margin-bottom: 8px; }
.blog-card-title { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }
.blog-card-link { font-size: 12px; color: var(--g); font-weight: 600; }
.blog-cta-wrap { text-align: center; }
.btn-blog-all { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; padding: 14px 32px; border-radius: 6px; transition: background .2s; }
.btn-blog-all:hover { background: var(--navy-soft); }

/* NOTE MAGAZINE */
.note-section { background: #fffbeb; border-top: 1px solid #fde68a; border-bottom: 1px solid #fde68a; padding: 20px 32px; }
.note-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.note-badge { font-size: 11px; font-weight: 700; color: #92400e; white-space: nowrap; }
.note-title { font-size: 14px; font-weight: 700; color: #78350f; white-space: nowrap; }
.note-desc { font-size: 13px; color: #92400e; flex: 1; min-width: 180px; }
.btn-note { display: inline-flex; align-items: center; gap: 6px; background: #1a7a4a; color: #fff; font-size: 12px; font-weight: 700; padding: 8px 18px; border-radius: 6px; white-space: nowrap; transition: opacity .2s; }
.btn-note:hover { opacity: .8; }

/* FOOTER */
footer { background: var(--sky-bg); border-top: 2px solid var(--g-m); color: var(--text-sub); padding: 28px 32px; font-size: 12px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; font-weight: 700; }
.footer-logo-text { font-size: 18px; font-weight: 900; background: linear-gradient(90deg, #1a7a4a, #4ade80); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; flex-shrink: 0; }
.footer-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-contact a { color: var(--sky); display: flex; align-items: center; gap: 5px; transition: color .2s; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-img-wrap { margin: 0 auto; }
  .hero-badges { justify-content: center; }
  .icon-services-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .reasons-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .cta-banner-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .blog-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* セクション余白統一 */
  .hero,
  .banner,
  .icon-services,
  .services,
  .cta-banner,
  .lifeplan-section,
  .reasons,
  .blog-section { padding: 48px 20px; }

  .hero { padding: 48px 20px 60px; }

  /* ハンバーガーメニュー */
  .hamburger { display: flex; }
  .btn-cta { display: none; }

  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  nav a {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
  }
  nav a:last-child { border-bottom: none; }

  header.nav-open nav { display: flex !important; }

  .header-inner { padding: 0 20px; }
}
