:root{
  --bg: #f8fafc;
  --fg: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --card: #ffffff;

  /* --mint: #14b8a6; */
  --mint: #6bbfb5;
  --mint-2: #06b6d4;
  /* --mint-soft: #d1fae5; */
  --mint-soft: #6bbfb5;
  --shadow: 0 18px 45px rgba(15, 23, 42, .10);

  --radius: 16px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:
    "Zen Kaku Gothic New",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;

  background: var(--bg);
  color: var(--fg);
  line-height: 1.8;   /* ← Zenは少し広めがきれい */
  font-weight: 400;
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; height:auto; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section{ padding: 88px 0; background: #fff; }
.section-alt{ background: var(--bg); }
.section-head{ text-align:center; margin-bottom: 48px; }
.section-title{ 
    font-size: 34px;
    margin:0 0; 
    display: flex;
    flex-direction: column;
    align-items: center;      /* 中央揃え。左揃えにしたいなら消す */
    /* gap: 4px;*/
    line-height: 1;
}
.section-sub{ 
    margin:0;
    color: var(--muted);
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    /* line-height: 1; */
    margin-top: 16px;
}

.icon-leaf{
  width: 20px;
  height: 20px;
  background: url("../img/leaf.svg") no-repeat center / contain;
  opacity: 0.6;
}

.mt-32{ margin-top: 32px; }
.center{ text-align:center; }
.w-full{ width:100%; }

.br-pc{ display:none; }
@media (min-width: 768px){
    .br-pc{ display:inline; }
    .br-sp{ display:none; }
}

/* Header */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(226,232,240,.9);
}
.header-inner{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo img{
  max-height: 48px;
  width: auto;
  display: block;
}
/* @media (max-width: 767px){
  .site-logo img{
    max-height: 32px;
  }
} */

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark{
  width: 36px; height: 36px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: var(--mint);
  color: #fff;
  transform: rotate(0deg);
  transition: transform .25s ease;
}
.brand:hover .brand-mark{ transform: rotate(12deg); }
.brand-name{ font-size: 22px; }

.nav-desktop{
  display:none;
  gap: 22px;
  align-items:center;
}
.nav-link{
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-link:hover{ color: var(--mint); }
.nav-link.is-active{
  color: var(--mint);
  border-color: var(--mint);
}

.nav-toggle{
  border:0;
  background: transparent;
  padding: 10px;
  border-radius: 12px;
}
.nav-toggle-lines{
  display:block;
  width: 26px;
  height: 2px;
  background: #64748b;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  position:absolute;
  left:0;
  width: 26px;
  height: 2px;
  background:#64748b;
}
.nav-toggle-lines::before{ top:-8px; }
.nav-toggle-lines::after{ top: 8px; }

.nav-mobile{
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(15,23,42,.10);
}
.nav-mobile-inner{
  display:flex;
  flex-direction:column;
  padding: 10px 0 18px;
}
.nav-mobile .nav-link{
  padding: 14px 8px;
  border-bottom: 0;
  border-radius: 12px;
}
.nav-mobile .nav-link:hover{
  background: rgba(20,184,166,.10);
}

/* Main spacing for fixed header */
.site-main{ padding-top: 64px; }

/* Hero */
.hero{
  /* background: linear-gradient(135deg, rgba(20,184,166,.10), #fff 45%, rgba(2,132,199,.06)); */
  background: #f7fbfa; /* ほんのりミント */
  overflow:hidden;
  position: relative;
  overflow: hidden; /* はみ出しを隠す */
}
.hero::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -56px;
  width: 280px;
  height: 280px;
  background: url("../img/leaf.svg") no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.hero .container,
.hero .hero-inner {
  position: relative;
  z-index: 1;
}
.hero-inner{
  display:grid;
  gap: 36px;
  align-items:center;
}
.pill{
  display:inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20,184,166,.12);
  border: 1px solid rgba(20,184,166,.22);
  color: #0f766e;
  font-weight: 800;
  font-size: 13px;
}
.hero-title{
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.22;
  margin: 14px 0 12px;
  letter-spacing: -0.02em;
  font-weight: 800; /* ← 900から下げる */
}
.hero-title,
.section-title{
  font-weight: 700; /* 800 → 700で一気に柔らかくなる */
  letter-spacing: -0.01em;
}
.hero-accent{
  background: linear-gradient(90deg, var(--mint), var(--mint-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead{
  color: var(--muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  max-width: 40em;
}
@media (max-width: 767px){
  .hero-title{
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .hero-lead{
    font-size: 15px;
    line-height: 1.8;
  }
}
.hero-actions{
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

/* スマホ：縦 */
@media (max-width: 1024px){
  .hero-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn{
    width: 75%;
    justify-content: center;
  }
}

/* PC：横 */
@media (min-width: 1025px){
  .hero-actions{
    flex-direction: row;
    align-items: center;
  }
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  /* padding: 12px 18px; */
  padding: 12px 36px;
  border-radius: 999px;
  /* font-weight: 900; */
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary{
  background: var(--mint);
  color: #fff;
  box-shadow: 0 16px 30px rgba(20,184,166,.25);
}
.btn-primary:hover{ transform: translateY(-2px); }
.btn-ghost{
  background: #fff;
  border-color: var(--line);
  color: #0f172a;
  /* padding: 12px 36px; */
}
.btn-ghost:hover{ border-color: rgba(20,184,166,.35); transform: translateY(-1px); }

.hero-card{
  border-radius: 20px;
  background: linear-gradient(135deg, var(--mint), var(--mint-2));
  padding: 14px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.hero-card-inner{
  background:#fff;
  border-radius: 18px;
  padding: 22px;
  transform: rotate(-2deg);
  border: 1px solid rgba(226,232,240,.8);
}
.hero-card{ display:none; }
@media (min-width: 768px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-copy{ max-width: 720px; }
}

.skeleton{ height: 12px; border-radius: 8px; background: #eef2f7; margin-bottom: 12px; }
.s1{ width: 70%; }
.s2{ width: 100%; }
.s3{ width: 86%; }
.skeleton-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.skeleton-box{ height: 70px; border-radius: 14px; background: rgba(20,184,166,.10); }

/* About */
.about{ display:grid; gap: 24px; align-items:start; }
.about-photo{
  width: 220px;
  height: 220px;
  border-radius: 999px;
  overflow:hidden;
  /* border: 6px solid rgba(20,184,166,.10); */
  box-shadow: 0 14px 30px rgba(15,23,42,.10);
  margin: 0 auto;
}
.about-photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.photo-placeholder{
  width:100%; height:100%;
  display:grid; place-items:center;
  background: linear-gradient(180deg, rgba(20,184,166,.14), rgba(148,163,184,.20));
  color: #94a3b8;
  font-weight: 800;
}
.about-title{ margin: 0 0 10px; font-size: 22px; }
.about-body p{ margin: 0 0 10px; color: var(--muted); }

.feature-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}
.feature{
  background: #f8fafc;
  border: 1px solid rgba(226,232,240,.8);
  border-radius: var(--radius);
  padding: 14px;
}
.feature-title{ font-weight: 900; margin-bottom: 0.4em; }
.feature-lead {
  font-weight: 500;
  margin-bottom: 0.4em;
}
.feature-text, .feature-lead { color: var(--muted); font-size: 14px; }

/* Services */
.card-grid{
  display:grid;
  gap: 16px;
}
.card{
  background: var(--card);
  border: 1px solid rgba(226,232,240,.85);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(15,23,42,.06);
  transition: box-shadow .2s ease, transform .2s ease;
}
/* .card:hover{ box-shadow: var(--shadow); transform: translateY(-2px); } */
.card-icon img {
  width: 40px;
  height: 40px;
}
.card-title{ margin: 2px 0 0px; }
.card-lead { font-weight: 500;}
.card-text, .card-lead { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.card-list{ margin:0; padding-left: 18px; color: #64748b; font-size: 14px; }
.services-note{
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.6;
}

/* こんな方におすすめです */
.recommend .section-title {
  font-weight: 500;
  font-size: 28px;
}
.recommend-list{
  color: var(--muted);
  font-size: 14px;
  list-style: none;
  padding: 0;
  margin: 24px auto 0;
  max-width: 520px;
}
.recommend-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  font-size: 15px;
  line-height: 1.8;   /* ←ここがポイント */
  margin-bottom: 12px;
}
.mint-leaf {
  width: 18px;
  height: 18px;
  margin-top: 0.4em; /* ←テキスト1行目の中央に合わせる */

  background: url("../img/mint-leaf.svg") no-repeat center / contain;
  /* opacity: 0.65; */

  flex-shrink: 0;
}
.recommend-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* Works */
.works-grid{
  display:grid;
  gap: 16px;
}
.work-card{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(226,232,240,.85);
  background:#fff;
  box-shadow: 0 10px 25px rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.work-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.work-link{ display:block; }
.work-thumb{
  aspect-ratio: 16/9;
  background: #e2e8f0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.work-thumb-empty{
  height:100%;
  display:grid;
  place-items:center;
  color:#64748b;
  font-weight:800;
}
.work-overlay{
  position:absolute;
  inset:0;
  background: rgba(15,23,42,0);
  display:grid;
  place-items:center;
  transition: background .2s ease;
}
.work-cta{
  opacity:0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  background:#fff;
  color:#0f766e;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 14px;
}
.work-card:hover .work-overlay{ background: rgba(15,23,42,.45); }
.work-card:hover .work-cta{ opacity:1; transform: translateY(0); }

.work-body{ padding: 16px; }
.work-meta{ font-size: 12px; font-weight: 900; color: var(--mint); letter-spacing: .06em; }
.work-title{ margin: 6px 0 8px; font-size: 18px; }
.work-excerpt{ margin: 0 0 12px; color: var(--muted); font-size: 14px; }

.tag-row{ display:flex; gap: 8px; flex-wrap: wrap; }
.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid rgba(226,232,240,.9);
}

.empty-state{
  text-align:center;
  color: var(--muted);
  padding: 18px;
  border: 1px dashed rgba(100,116,139,.35);
  border-radius: 16px;
  background: #f8fafc;
}

/* Contact */
.contact{
  /* background: linear-gradient(135deg, rgba(20,184,166,.95), rgba(6,182,212,.95)); */
  background: #f7fbfa; /* ほんのりミント */
  color: #fff;
}
.contact-card{
  background:#fff;
  color: var(--fg);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 25px 60px rgba(15,23,42,.25);
  display:grid;
}
.contact-info{
  background: #f1f6f5;   /* 明るいグレイッシュミント */
    color: #2f3f3c;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.contact-info::before{
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: url("../img/leaf.svg") no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
}
.contact-title{ margin: 0 0 10px; }
.contact-text{ margin: 0 0 18px; color: #2f3f3c; font-size: 14px; }
.contact-note {
  margin-top: 14px;
}
.contact-mini{ margin-top: 12px; }
.mini-label{ font-size: 12px; color: #2f3f3c; }
.mini-value{ font-weight: 900; }

.contact-form{ padding: 26px; background:#fff; }
.form{ display:grid; gap: 14px; }

/* Contact Form 7 全体 */
.wpcf7-form {
  width: 100%;
}
/* テキスト入力・メール */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #e3e8ef;
  background: #f9fbfc;
  font-size: 14px;
  line-height: 1.6;
  box-sizing: border-box;
}
/* フォーカス時 */
.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--mint);
  background: #fff;
  /* box-shadow: 0 0 0 3px rgba(20,184,166,.18); */
}
.wpcf7-form p {
  margin-bottom: 20px;
}
.wpcf7-form label {
  display: block;
  font-size: 13px;
  /* font-weight: 600; */
  color: #1f2933;
  margin-bottom: 6px;
}
.wpcf7-submit {
  width: 65%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  background: var(--mint);
  color: #fff;
  font-size: 15px;
  /* font-weight: 600; */
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(20, 184, 166, .25);
  transition: all .2s ease;
}
.wpcf7-submit:hover {
  opacity: .9;
  transform: translateY(-1px);
}
.wpcf7-spinner {
  margin-left: 8px;
}
.wpcf7-response-output {
  margin-top: 16px;
  font-size: 13px;
  color: #374151;
}
.wpcf7-form br {
  display: none;
}
.form-note{ margin:0; font-size: 12px; color: #64748b; }


/* Footer */
.site-footer{
  background: #f1f6f5;   /* 明るいグレイッシュミント */
  color: #2f3f3c;
  padding: 44px 0 18px;
  /* border-top: 1px solid rgba(30,41,59,.8); */
  border-top: 1px solid rgba(0,0,0,0.05);
  position: relative;
}
/* .site-footer::before{
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: url("../img/leaf.svg") no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
} */
.footer-inner{
  display:flex;
  flex-direction:row;
  gap: 14px;
  align-items:center;
  justify-content: space-between;
}
.site-footer .custom-logo-link{
  display: inline-block;
  width: 120px;   /* ←ここでサイズ決定 */
}
.site-footer .custom-logo-link img.custom-logo{
  width: 100%;
  height: auto;
  max-width: 100%;
}
.footer-logo {
  height: 48px;
}
.footer-sub{ color: rgba(148,163,184,.9); font-size: 13px; line-height: 1; transform: translate(5px, -8px);}

/* SNS */
.footer-social{
  margin-top: 6px;           /* モバイルでロゴ下に少し余白 */
  margin-left: auto;
}
.footer-social__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  /* border: 1px solid rgba(0,0,0,0.08); */
  /* background: rgba(255,255,255,0.35); */
}
.footer-social__icon{
  width: 20px;            /* アイコンは少し大きめが安定 */
  height: 20px;
  display: block;
  opacity: .85;
}
/* hover / tap のフィードバックだけ付ける */
.footer-social__link:hover .footer-social__icon{
  opacity: 1;
}
.footer-social__link:active{
  transform: scale(0.96);
}
/* PCで：ロゴ左 / インスタ右 */
@media (min-width: 768px){
  .footer-social{
    margin-top: 0;
  }
}

.footer-links{ display:flex; gap: 14px; }
.footer-links a{ color: #2f3f3c; }
.footer-links a:hover{ color: var(--mint); }
.footer-bottom {
  margin-top: 18px;
  text-align: center;
}
.footer-bottom small {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
}
.footer-bottom a.footer-privacy {
  color: rgba(148, 163, 184, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a.footer-privacy:hover {
  color: var(--mint);
}
.footer-sep {
  margin: 0 6px;
  opacity: 0.6;
}


/* Single */
.single{ max-width: 820px; margin: 0 auto; }
.single-title{ margin:0 0 6px; font-size: 34px; letter-spacing:-0.02em; }
.single-meta{ color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.single-thumb{ margin: 18px 0; border-radius: 18px; overflow:hidden; border: 1px solid rgba(226,232,240,.9); }
.single-body{ color: #334155; }
.single-actions{ display:flex; gap: 12px; flex-wrap:wrap; margin-top: 22px; justify-content: center;}


/* Single-works */

/* single works 全体（任意） */
.single-works .single-body {
  max-width: 760px;
  margin: 0 auto;
}
/* セクション（背景/課題/工夫/担当範囲） */
.work-block {
  margin-top: 28px;
  padding: 18px 18px 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.12); /* ミント系の薄線 */
  border-radius: 16px;
}
.work-block--concept {
  background: rgba(15, 118, 110, 0.04);
  border-color: rgba(15, 118, 110, 0.25);
  padding: 24px 20px 22px;
}
/* 見出し */
.work-block__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #0f172a;
}
/* 見出しの左アクセント（ミント縦バー） */
/* .work-block__title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.75);
  flex-shrink: 0;
} */
.work-block__title::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../img/mint-leaf.png") no-repeat center / contain;
  /* opacity: 0.65; */
}
/* 本文 */
.work-block__body p {
  margin: 0;
  line-height: 1.85;
  font-size: 15px;
  color: rgba(15, 23, 42, 0.8);
}
/* セクション間の最初だけ詰めたい場合（任意） */
.work-block:first-of-type {
  margin-top: 18px;
}
.work-meta p {
  font-weight: 400;
  line-height: 1.7;
}
.work-meta p strong {
  font-weight: 600; /* or 500 */
  color: var(--fg); /* 通常テキストより少し濃く */
  margin-right: 4px;
}
.work-meta p + p {
  margin-top: 6px;
}
.work-meta a {
  font-weight: 400;
  color: #5faea1;
  word-break: break-all;
}


/* Privacy Policy / Legal page */
.page-legal {
  background: var(--bg);
}
.legal-container {
  max-width: 760px;
}
.legal-head {
  text-align: center;
  margin-bottom: 32px;
}
.legal-title {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.01em;
  margin: 6px 0 0;
}
.legal-lead {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.legal-body {
  margin-top: 18px;
}
.legal-body h2,
.legal-body h3 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
}
.page-legal .legal-mark {
  color: var(--mint, #14b8a6);
  margin-right: 6px;
}
.legal-body p,
.legal-body li {
  line-height: 1.95;
  color: var(--fg);
}
.legal-body p {
  margin: 0 0 14px;
}
.legal-body ul,
.legal-body ol {
  margin: 10px 0 18px 1.2em;
}
.legal-body a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.legal-link {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.18);
  padding-bottom: 2px;
}
@media (max-width: 768px) {
  .legal-head {
    text-align: left;
  }
}



/* Responsive */
@media (min-width: 768px){
  .header-inner{
  height: 76px;
}
  .nav-desktop{ display:flex; }
  .nav-toggle{ display:none; }
  .nav-mobile{ display:none !important; }

  .hero::after {
    right: -60px;
    bottom: -80px;
    width: clamp(360px, 36vw, 520px);
    height: clamp(360px, 36vw, 520px);
    opacity: 0.04;
  }
  .hero-inner{ grid-template-columns: 1.2fr .9fr; }
  .hero-title{ font-size: 54px; }

  .about{ grid-template-columns: 280px 1fr; gap: 36px; }
  .about-photo{ margin: 0; }

  .feature-grid{ grid-template-columns: repeat(3, 1fr); }

  .card-grid{ grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .services-note { text-align: center;}
  .works-grid{ grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .contact-card{ grid-template-columns: 5fr 7fr; }
  .footer-inner{ flex-direction:row; align-items:center; }

  .single-actions{ justify-content: inherit;}
}