:root{
  --ink:#1F2430;
  --muted:#63687A;
  --line:#E3E6EA;
  --bg:#FFFFFF;
  --bg-alt:#F7F8FA;
  --navy:#12233F;
  --accent:#0B7A4B;          /* LINE経由＝緑 */
  --accent-soft:#E8F3EC;
  --accent-line:#06C755;     /* LINEブランド緑（枠・アイコン用） */
  --accent-blue:#2f7bd6;     /* プロジェクトAI＝ブルー */
  --accent-blue-soft:#E8F1FB;
  --radius:12px;
  --maxw:1080px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--bg);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.narrow{max-width:760px}
section{padding:64px 0}
section.tight{padding:48px 0}
h1,h2,h3,h4{line-height:1.4;margin:0;letter-spacing:.01em}
h1{font-size:40px;font-weight:700}
h2{font-size:27px;font-weight:700}
h3{font-size:19px;font-weight:700}
p{margin:14px 0 0}
.eyebrow{font-size:12px;letter-spacing:.14em;color:var(--muted);font-weight:700;margin:0 0 10px}
.lead{font-size:17px;color:var(--muted);margin:16px 0 0}
.small{font-size:13px;color:var(--muted);line-height:1.8}
.note{font-size:13px;color:var(--muted);margin-top:14px}
.section-head{max-width:700px;margin-bottom:32px}
.section-head p{color:var(--muted)}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-inner{max-width:var(--maxw);margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:20px}
.logo{font-weight:700;text-decoration:none;font-size:17px;margin:0;display:flex;align-items:center;gap:9px}
.logo .mark{width:30px;height:30px;border-radius:8px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.logo img{height:30px;width:auto}
.site-nav{display:flex;gap:20px;margin-left:auto;font-size:14px;flex-wrap:wrap}
.site-nav a{text-decoration:none;color:var(--muted)}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--ink)}
.menu-btn{display:none;margin-left:auto;min-width:44px;min-height:44px;border:1px solid var(--line);background:#fff;border-radius:8px;font-size:15px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:8px;text-decoration:none;font-weight:600;font-size:15px;border:1px solid transparent}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:#096A41}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{background:var(--bg-alt)}
.btn-ghost.is-blue{color:#1d5fa8;border-color:var(--accent-blue)}
.btn-ghost.is-blue:hover{background:var(--accent-blue-soft)}
.btn-sm{min-height:40px;padding:0 14px;font-size:13.5px}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}

/* ---------- hero (index) ---------- */
.hero{background:linear-gradient(180deg,#F4F8FF 0%,#fff 100%);border-bottom:1px solid var(--line);padding:64px 0 56px}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.hero-media img{display:block;width:100%;height:auto;border-radius:var(--radius)}
.pill{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:var(--accent-soft);color:#0a6b42;font-size:12px;font-weight:700;margin-bottom:16px}

/* 質問例チップ */
.q-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:18px 0 0}
.q-chips li{border:1px solid var(--line);background:var(--bg-alt);color:var(--ink);border-radius:999px;padding:8px 14px;font-size:13px}

/* ---------- page hero (下層ページ) ---------- */
.page-hero{position:relative;background:var(--navy);background-size:cover;background-position:center;color:#fff;padding:56px 0}
.page-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,35,63,.86),rgba(18,35,63,.55))}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{color:#fff;font-size:32px}
.page-hero .eyebrow{color:rgba(255,255,255,.7)}
.page-hero .lead{color:rgba(255,255,255,.88);max-width:720px}
.page-hero .note,.page-hero .small{color:rgba(255,255,255,.72)}
.page-hero .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.page-hero .btn-ghost:hover{background:rgba(255,255,255,.1)}
.hero-line{background-image:url("../assets/hero-line.jpg")}
.hero-group{background-image:url("../assets/hero-group.jpg")}
.hero-project{background-image:url("../assets/hero-project.jpg")}
.hero-tips{background-image:url("../assets/hero-tips.jpg")}
.hero-faq{background-image:url("../assets/hero-faq.jpg")}
.hero-contact{background-image:url("../assets/hero-contact.jpg")}
.hero-about{background-image:url("../assets/hero-about.jpg")}

/* ---------- features ---------- */
.features{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.features li{border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:#fff;
  list-style:none;background-image:url("../assets/check.png");background-repeat:no-repeat;background-position:22px 26px;background-size:16px 16px;padding-left:48px}
.features li strong{display:block;font-size:16px}
.features li span.small{display:block;margin-top:6px}

/* ---------- cards ---------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cards.cols-2{grid-template-columns:repeat(2,1fr)}
.cards.cols-4{grid-template-columns:repeat(2,1fr)}
.card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:26px;display:flex;flex-direction:column;
  box-shadow:0 1px 2px rgba(0,0,0,.05),0 4px 12px rgba(0,0,0,.04)}
.card h3{margin-bottom:4px}
.card p{color:var(--muted);font-size:14.5px}
.card ul{margin:14px 0 18px;padding-left:18px;font-size:14px;color:var(--muted)}
.card .card-foot{margin-top:auto}
.card-icon{width:40px;height:40px;margin:0 0 12px}
.card-line{border-color:var(--accent)}
.card-group{border-color:var(--accent)}
.card-project{border-color:var(--accent-blue)}
.text-link{color:var(--accent);text-decoration:none;font-weight:600;font-size:14px}
.card-project .text-link{color:#1d5fa8}
.text-link:hover{text-decoration:underline}
.tag{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;margin-bottom:10px;width:fit-content;background:var(--bg-alt);color:var(--muted)}

/* ---------- ladder / steps ---------- */
.ladder{list-style:none;counter-reset:s;padding:0;margin:0;display:grid;gap:14px}
.ladder .step{border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;background:#fff;display:flex;gap:14px;align-items:flex-start}
.ladder .step .num{flex:none;width:28px;height:28px;border-radius:8px;background:var(--accent-soft);color:#0a6b42;display:grid;place-items:center;font-size:13px;font-weight:700}
.ladder .step strong{display:block;font-size:16px}
.ladder .step p{margin:4px 0 0;font-size:14px;color:var(--muted)}

/* ---------- callout ---------- */
.callout-box{border:1px solid var(--line);background:var(--bg-alt);border-radius:var(--radius);padding:22px;margin-top:24px}
.callout-box h3{font-size:16px}
.callout-box p{font-size:14.5px;color:var(--muted)}
.callout-box .btn-row{margin-top:16px}

/* ---------- tables ---------- */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);margin-top:20px}
table{border-collapse:collapse;width:100%;min-width:640px;font-size:14px;background:#fff}
th,td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--bg-alt);font-weight:700;font-size:13px}
th[scope="row"]{width:22%}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:none}
table.compare td strong{font-weight:700}
table.compare .col-sub{color:var(--muted);background:var(--bg-alt);width:20%}

/* ---------- pricing ---------- */
#pricing .cards{margin-top:8px}

/* ---------- faq ---------- */
.faq-list{margin-top:8px}
.faq-list details{border:1px solid var(--line);border-radius:10px;margin-bottom:12px;background:#fff}
.faq-list summary{cursor:pointer;list-style:none;padding:16px 20px;font-weight:600;font-size:15.5px;display:flex;justify-content:space-between;gap:16px;min-height:44px;align-items:center}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"＋";color:var(--accent);flex:none}
.faq-list details[open] summary::after{content:"−"}
.faq-list .body{padding:0 20px 18px;color:var(--muted);font-size:14.5px}
.faq-list .body p:first-child{margin-top:0}

/* ---------- tips ---------- */
.tips-signup{border:1px solid var(--accent);border-radius:var(--radius);background:var(--accent-soft);padding:24px;margin-top:-24px}
.tips-signup ul{margin:12px 0 0;padding-left:18px;font-size:14.5px;color:#20402f}
.tips-list{margin-top:32px}
.tip{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:24px;margin-bottom:16px}
.tip h3{font-size:18px}
.tip.is-latest{border-color:var(--accent);border-width:2px;padding:28px}
.tip.is-latest h3{font-size:26px}
.tip-today{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--accent);margin:0 0 6px}
.tip-meta{font-size:12.5px;color:var(--muted);margin:0 0 8px;display:flex;gap:10px;flex-wrap:wrap}
.tip-no{color:var(--muted);font-size:13px;font-weight:700}
.tip-points{list-style:none;padding:0;margin:14px 0 0}
.tip-points li{background:url("../assets/check.png") left .35em/16px 16px no-repeat;padding-left:26px;font-size:14.5px;color:var(--muted)}
.tip-ask{background:var(--bg-alt);border-radius:10px;padding:14px 16px;margin:18px 0;font-size:14.5px}
.tip-next{border-left:3px solid var(--line);padding-left:14px;margin:0 0 18px}
.tip-next-label{font-size:12px;font-weight:700;color:var(--muted);margin:0 0 8px}
.tip-next-list{margin:0;padding-left:18px;color:var(--muted);font-size:14px}
.tip-archive{list-style:none;padding:0;margin:16px 0 0;border-top:1px solid var(--line)}
.tip-archive>li{border-bottom:1px solid var(--line);padding:16px 0;display:grid;grid-template-columns:104px 1fr;gap:16px;align-items:start}
.tip-archive .tip-date{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.tip-archive h3{font-size:16.5px}
.tip-archive .tip-lead{font-size:14px;color:var(--muted);margin:4px 0 0}
.tip-archive details{margin-top:8px}
.tip-archive summary{cursor:pointer;font-size:13.5px;color:var(--accent);font-weight:600}
.tip-ask-link{color:var(--accent);font-weight:600;text-decoration:none;font-size:14px}
.tip-ask-link:hover{text-decoration:underline}
.tips-sticky{display:none}

/* ---------- author ---------- */
.author-box{display:flex;gap:18px;align-items:center;background:var(--bg-alt);border-radius:var(--radius);padding:22px;border:1px solid var(--line)}
.author-box img{border-radius:50%;flex:0 0 auto}
.author-box p{margin:6px 0 0;font-size:14.5px;color:var(--muted)}
.author-box strong{font-size:15px;color:var(--ink)}

/* ---------- CTA ---------- */
.cta{background:var(--navy);color:#fff;border-radius:16px;padding:44px 36px}
.cta h2{color:#fff}
.cta p{color:rgba(255,255,255,.78)}
.cta .small{color:rgba(255,255,255,.7)}
.cta .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.cta .btn-ghost:hover{background:rgba(255,255,255,.1)}
.cta-inner{display:flex;gap:32px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cta-body{max-width:620px}
.cta-qr{display:flex;flex-direction:column;align-items:center;gap:8px}
.cta-qr .small{text-align:center;max-width:180px}

/* ---------- forms ---------- */
.form{display:grid;gap:16px;max-width:640px;margin-top:24px}
.form label{font-size:14px;font-weight:600}
.form input,.form textarea,.form select{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:8px;font-size:15px;font-family:inherit;min-height:48px}
.form textarea{min-height:140px}

/* ---------- footer ---------- */
.site-footer{background:var(--navy);color:#fff;padding:48px 0 32px;margin-top:8px}
.footer-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:32px}
.footer-brand p{color:rgba(255,255,255,.72);font-size:13.5px}
.footer-brand .brand-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.footer-logo{margin:0}
.footer-logo img{display:block;width:180px;max-width:100%;height:auto;background:#fff;border-radius:6px;padding:6px}
.footer-brand img.dif-logo{height:28px;width:auto;background:#fff;border-radius:4px;padding:4px}
.footer-nav,.footer-legal{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:13.5px}
.footer-nav a,.footer-legal a{color:rgba(255,255,255,.82);text-decoration:none}
.footer-nav a:hover,.footer-legal a:hover{color:#fff;text-decoration:underline}
.footer-head{font-size:12px;letter-spacing:.12em;color:rgba(255,255,255,.55);font-weight:700;margin:0 0 12px}
.disclaimer{font-size:12px;color:rgba(255,255,255,.72);line-height:1.8;margin:18px 0 0;border-top:1px solid rgba(255,255,255,.18);padding-top:18px}
.copyright{font-size:12px;color:rgba(255,255,255,.6);margin:12px 0 0}
.copyright a{color:rgba(255,255,255,.75)}

/* ---------- responsive ---------- */
@media(max-width:860px){
  h1{font-size:30px}
  h2{font-size:23px}
  .page-hero h1{font-size:26px}
  .site-nav{display:none;width:100%;order:3;flex-direction:column;gap:0;margin:8px 0 0}
  .site-nav.is-open{display:flex}
  .site-nav a{padding:12px 0;border-top:1px solid var(--line);min-height:44px;display:flex;align-items:center}
  .menu-btn{display:block}
  .header-inner{flex-wrap:wrap}
  .hero-inner{grid-template-columns:1fr}
  .features,.cards,.cards.cols-2,.cards.cols-4{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  table.compare .col-sub{display:none}
  .author-box{flex-direction:column;text-align:center}
  .cta{padding:32px 22px}
  .cta-qr{display:none}
  .tip-archive>li{grid-template-columns:1fr}
  .tips-signup{margin-top:0}
  .tip.is-latest h3{font-size:21px}
  body.has-sticky{padding-bottom:62px}
  .tips-sticky{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:70;height:62px;align-items:center;justify-content:space-between;gap:12px;
    background:#fff;border-top:1px solid var(--line);padding:0 16px}
  .tips-sticky p{margin:0;font-size:13.5px;font-weight:600}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

.legal {
  line-height: 1.9;
  font-size: 16px;
  color: #1f2933;
}

.legal p,
.legal li {
  line-height: 1.9;
}

.legal h2 {
  margin-top: 3.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 1.45rem;
}

.legal h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.legal h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.legal ul,
.legal ol {
  padding-left: 1.4rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.legal li + li {
  margin-top: 0.5rem;
}

.policy-summary {
  margin: 2rem 0 3rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}

.policy-summary h2 {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1.2rem;
}

.about-page {
  line-height: 1.9;
  font-size: 16px;
  color: #1f2933;
}

.about-page p,
.about-page li {
  line-height: 1.9;
}

.about-page h2 {
  margin-top: 3.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 1.45rem;
}

.about-page h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.about-page ul,
.about-page ol {
  padding-left: 1.4rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.about-page li + li {
  margin-top: 0.5rem;
}

.about-page .lead {
  margin: 1.5rem 0 2.5rem;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid #2563eb;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 1.05rem;
}

.about-block {
  margin-top: 2.4rem;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  padding: 1rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}

.feature-list span {
  display: inline-block;
  min-width: 4.5em;
  margin-right: 0.5rem;
  font-weight: 700;
  color: #111827;
}

.signature {
  margin-top: 1.5rem;
  text-align: right;
}

.profile-card {
  margin: 1.5rem 0 2rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f9fafb;
}

.profile-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.works {
  margin: 2rem 0 3rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
}

.works summary {
  cursor: pointer;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table-wrap th,
.table-wrap td {
  padding: 1rem;
  border: 1px solid #e5e7eb;
  vertical-align: top;
}

.table-wrap th {
  width: 9rem;
  background: #f9fafb;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}

.table-wrap td ol {
  margin-top: 0;
  margin-bottom: 0;
}

.text-link {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.small {
  font-size: 0.9rem;
  color: #6b7280;
}

@media (max-width: 640px) {
  .about-page {
    font-size: 15px;
  }

  .about-page .lead {
    padding: 1.1rem 1.2rem;
  }

  .feature-list span {
    display: block;
    margin-bottom: 0.25rem;
  }

  .table-wrap th,
  .table-wrap td {
    display: block;
    width: 100%;
  }

  .table-wrap th {
    border-bottom: none;
  }
}
