/* AIじむしょ 公式サイト（ai-jimusho.jp）共通スタイル
   デザイン標準：丸ゴシック基調・有機的形状・非対称レイアウト・楕円はまっすぐ・脱AI感 */
:root{
  --bg:#fffaf1; --bg2:#fdf1de; --surface:#ffffff; --surface2:#fdf6e9;
  --ink:#26263c; --ink2:#55556e; --muted:#86869c;
  --line:#eeddc0; --line2:#f4e9d2;
  --brand:#14145f; --brand2:#0d0d45; --brand-soft:#e8e8f8;
  --accent:#dd7f2e; --accent-ink:#b25f16; --accent-soft:#ffeeda;
  --teal:#0e7c86; --teal-soft:#ddf1ef;
  --gold:#c39a3f; --gold-soft:#faefcd;
  --peach:#ffe8d2; --mint:#dcf0ee; --lav:#e7e7f8; --butter:#fbeecd;
  --shadow:0 20px 44px rgba(20,20,80,.13);
  --shadow-sm:0 8px 22px rgba(20,20,80,.09);
  --radius:28px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN",system-ui,-apple-system,sans-serif;
  background:var(--bg); color:var(--ink); line-height:1.85; font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto; display:block}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:"Zen Maru Gothic","M PLUS Rounded 1c","Hiragino Maru Gothic ProN",sans-serif; line-height:1.45; color:var(--brand2)}
.wrap{max-width:1120px; margin:0 auto; padding:0 20px}

/* ヘッダー */
.site-header{position:sticky; top:0; z-index:50; background:rgba(255,250,241,.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--line2)}
.header-in{display:flex; align-items:center; gap:18px; max-width:1120px; margin:0 auto; padding:10px 20px}
.logo{display:flex; align-items:center; gap:10px; font-family:"Zen Maru Gothic",sans-serif; font-weight:900; font-size:1.25rem; color:var(--brand2); white-space:nowrap; flex:0 0 auto}
.logo:hover{text-decoration:none}
.logo img{width:40px; height:40px; border-radius:12px}
.main-nav{margin-left:auto}
.main-nav ul{display:flex; gap:4px; list-style:none; flex-wrap:wrap}
.main-nav a{display:block; padding:8px 10px; border-radius:999px; color:var(--ink); font-weight:700; font-size:.88rem; white-space:nowrap}
.main-nav a:hover{background:var(--accent-soft); text-decoration:none}
.main-nav a[aria-current="page"]{background:var(--brand); color:#fff}
.header-cta{margin-left:8px; background:var(--accent); color:#fff; font-weight:800; padding:9px 18px; border-radius:999px; white-space:nowrap}
.header-cta:hover{background:var(--accent-ink); text-decoration:none}
.menu-btn{display:none; margin-left:auto; background:var(--surface); border:1px solid var(--line); border-radius:12px; font-size:1.2rem; padding:6px 12px; cursor:pointer; color:var(--ink)}

/* ヒーロー */
.hero{position:relative; overflow:hidden; background:linear-gradient(160deg,var(--bg) 0%,var(--bg2) 100%); padding:64px 0 72px}
.hero::before{content:""; position:absolute; width:480px; height:480px; right:-140px; top:-160px; background:var(--peach); border-radius:58% 42% 55% 45%/48% 56% 44% 52%; opacity:.65}
.hero::after{content:""; position:absolute; width:300px; height:300px; left:-110px; bottom:-130px; background:var(--mint); border-radius:45% 55% 48% 52%/55% 45% 58% 42%; opacity:.6}
.hero-in{position:relative; z-index:1; display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center}
.hero .eyebrow{display:inline-block; background:var(--surface); border:1px solid var(--line); color:var(--accent-ink); font-weight:800; font-size:.85rem; padding:5px 14px; border-radius:999px; margin-bottom:18px}
.hero h1{font-size:2.6rem; font-weight:900; letter-spacing:.01em; margin-bottom:20px}
.hero h1 .hl{color:var(--accent-ink)}
.hero p.lead{font-size:1.06rem; color:var(--ink2); margin-bottom:28px}
.hero-photo{border-radius:42% 58% 55% 45%/48% 44% 56% 52%; overflow:hidden; box-shadow:var(--shadow); transform:rotate(1.2deg)}
.hero-photo img{width:100%; height:100%; object-fit:cover}
.hero-badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:26px}
.hero-badges span{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:8px 14px; font-weight:700; font-size:.9rem; box-shadow:var(--shadow-sm)}
.hero-badges b{color:var(--accent-ink)}

/* ページヘッダー（下層） */
.page-head{background:linear-gradient(160deg,var(--bg) 0%,var(--bg2) 100%); padding:52px 0 44px; position:relative; overflow:hidden}
.page-head::before{content:""; position:absolute; width:340px; height:340px; right:-100px; top:-140px; background:var(--lav); border-radius:55% 45% 52% 48%/46% 54% 46% 54%; opacity:.7}
.page-head .wrap{position:relative; z-index:1}
.page-head .kicker{color:var(--accent-ink); font-weight:800; letter-spacing:.14em; font-size:.82rem; text-transform:uppercase}
.page-head h1{font-size:2.1rem; font-weight:900; margin:8px 0 12px}
.page-head p{color:var(--ink2); max-width:760px}
.breadcrumb{font-size:.85rem; color:var(--muted); margin-bottom:10px}
.breadcrumb a{color:var(--muted)}

/* セクション */
section.block{padding:64px 0}
section.block.alt{background:var(--surface2)}
/* トップページ：セクション色分け・写真パネル・ダーク帯（クリーム基調＋色面と紺の締め） */
section.block.tint-lav{background:var(--lav)}
section.block.tint-butter{background:var(--butter)}
section.block.dark{background:var(--brand2); color:#e9e9f6}
section.block.dark .sec-head h2{color:#fff}
section.block.dark .sec-head p{color:#c9c9e8}
section.block.dark .sec-head .kicker{color:var(--accent)}
section.block.dark .step{background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.18)}
section.block.dark .step h3{color:#fff}
section.block.dark .step p{color:#c9c9e8}
.photo-panel{height:320px; border-radius:38px 120px 38px 120px; overflow:hidden; box-shadow:var(--shadow-sm); margin-bottom:30px}
.photo-panel img{width:100%; height:100%; object-fit:cover}
.sec-worries .worry:nth-child(1){background:var(--peach); border-color:transparent}
.sec-worries .worry:nth-child(2){background:var(--mint); border-color:transparent}
.sec-worries .worry:nth-child(3){background:var(--lav); border-color:transparent}
.sec-features .feature:nth-child(1){background:var(--teal-soft); border-color:transparent}
.sec-features .feature:nth-child(2){background:var(--accent-soft); border-color:transparent}
.sec-features .feature:nth-child(3){background:var(--gold-soft); border-color:transparent}
@media (max-width:640px){.photo-panel{height:220px; border-radius:26px 64px 26px 64px}}
.sec-head{max-width:780px; margin-bottom:36px}
.sec-head .kicker{color:var(--teal); font-weight:800; letter-spacing:.14em; font-size:.82rem}
.sec-head h2{font-size:1.8rem; font-weight:900; margin:8px 0 12px}
.sec-head p{color:var(--ink2)}
.sec-head.offset{margin-left:6%}
h3.sub{font-size:1.25rem; font-weight:900; margin:34px 0 14px}

/* ボタン */
.btn{display:inline-block; font-weight:800; padding:13px 26px; border-radius:999px; transition:.15s}
.btn:hover{text-decoration:none; transform:translateY(-1px)}
.btn-accent{background:var(--accent); color:#fff; box-shadow:var(--shadow-sm)}
.btn-accent:hover{background:var(--accent-ink)}
.btn-brand{background:var(--brand); color:#fff}
.btn-brand:hover{background:var(--brand2)}
.btn-ghost{background:var(--surface); color:var(--brand); border:2px solid var(--brand)}
.btn-row{display:flex; gap:14px; flex-wrap:wrap}

/* カード */
.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.card{background:var(--surface); border:1px solid var(--line2); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; overflow:hidden}
.card .thumb{margin:-26px -26px 20px; height:190px; overflow:hidden; flex-shrink:0; border-radius:0 0 50% 50% / 0 0 18px 18px}
.cards .card:nth-child(3n) .thumb{border-radius:0}
.card .thumb img{width:100%; height:100%; object-fit:cover; transition:transform .8s ease}
.card:hover .thumb img{transform:scale(1.045)}
.card:nth-child(3n+2){transform:translateY(10px)}
.card .tag{align-self:flex-start; background:var(--accent-soft); color:var(--accent-ink); font-weight:800; font-size:.78rem; padding:3px 12px; border-radius:999px; margin-bottom:12px}
.card .tag.teal{background:var(--teal-soft); color:var(--teal)}
.card .tag.gold{background:var(--gold-soft); color:#8a6a24}
.card h3{font-size:1.15rem; font-weight:900; margin-bottom:10px}
.card p{color:var(--ink2); font-size:.95rem; flex:1}
.card .price{margin:16px 0 6px; font-weight:900; color:var(--brand2); font-size:1.05rem}
.card .price small{display:block; color:var(--muted); font-weight:700; font-size:.8rem}
.card .more{margin-top:12px; font-weight:800; color:var(--accent-ink)}
.card.wide{grid-column:1/-1; flex-direction:row; gap:28px; align-items:center; transform:none}
.card.wide .photo{flex:0 0 42%; border-radius:20px; overflow:hidden}
.card.wide .body{flex:1}

/* 悩み */
.worries{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.worry{background:var(--surface); border-radius:var(--radius); padding:26px; border:1px solid var(--line2)}
.worry .num{font-family:"Zen Maru Gothic",sans-serif; font-weight:900; color:var(--accent); font-size:.9rem; letter-spacing:.1em}
.worry h3{font-size:1.1rem; margin:8px 0 10px}
.worry p{color:var(--ink2); font-size:.95rem}

/* 強み・特徴 */
.features{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.feature{background:var(--surface); border-radius:var(--radius); padding:26px; border:1px solid var(--line2); box-shadow:var(--shadow-sm)}
.feature h3{font-size:1.08rem; margin-bottom:10px}
.feature p{color:var(--ink2); font-size:.95rem}

/* 流れ */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; counter-reset:step}
.step{background:var(--surface); border:1px solid var(--line2); border-radius:22px; padding:22px}
.step .n{font-family:"Zen Maru Gothic",sans-serif; font-weight:900; font-size:1.5rem; color:var(--accent)}
.step h3{font-size:1.02rem; margin:6px 0 8px}
.step p{color:var(--ink2); font-size:.92rem}
.steps.col1{grid-template-columns:1fr; max-width:820px}
.steps.col1 .step{display:flex; gap:18px}
.steps.col1 .step .n{flex:0 0 auto}

/* 表 */
table.price-table{width:100%; border-collapse:separate; border-spacing:0; background:var(--surface); border:1px solid var(--line); border-radius:20px; overflow:hidden; margin:18px 0}
table.price-table th, table.price-table td{padding:14px 18px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line2)}
table.price-table thead th{background:var(--brand); color:#fff; font-family:"Zen Maru Gothic",sans-serif}
table.price-table tbody tr:last-child td{border-bottom:none}
table.price-table td.price{font-weight:900; color:var(--brand2); white-space:nowrap}
table.price-table td small{color:var(--muted)}
.note{font-size:.88rem; color:var(--muted)}
ul.check{list-style:none; margin:10px 0 18px}
ul.check li{padding:6px 0 6px 30px; position:relative; color:var(--ink2)}
ul.check li::before{content:""; position:absolute; left:2px; top:14px; width:14px; height:8px; border-left:3px solid var(--teal); border-bottom:3px solid var(--teal); transform:rotate(-45deg)}
.callout{background:var(--accent-soft); border-radius:20px; padding:22px 26px; margin:24px 0}
.callout.teal{background:var(--teal-soft)}
.callout h3{margin-bottom:8px}
blockquote.legal{background:var(--surface2); border-left:5px solid var(--gold); border-radius:0 16px 16px 0; padding:20px 24px; margin:18px 0; font-size:.95rem; color:var(--ink2)}
blockquote.legal p{margin-bottom:10px}

/* FAQ */
.faq-item{background:var(--surface); border:1px solid var(--line2); border-radius:18px; margin-bottom:12px; overflow:hidden}
.faq-item summary{cursor:pointer; font-weight:800; padding:18px 22px; font-family:"Zen Maru Gothic",sans-serif; color:var(--brand2); list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"＋"; float:right; color:var(--accent-ink)}
.faq-item[open ] summary::after{content:"－"}
.faq-item .a{padding:0 22px 20px; color:var(--ink2)}

/* CTA帯 */
.cta-band{background:var(--brand); color:#fff; border-radius:32px; padding:40px; margin:20px 0; position:relative; overflow:hidden}
.cta-band::after{content:""; position:absolute; width:260px; height:260px; right:-70px; bottom:-110px; background:rgba(221,127,46,.35); border-radius:50%}
.cta-band h2{color:#fff; font-size:1.6rem; margin-bottom:10px}
.cta-band p{color:#d9d9ef; margin-bottom:22px; max-width:640px}
.cta-band .btn-ghost{background:transparent; color:#fff; border-color:#fff}

/* フォーム */
.form-box{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-sm)}
.form-box label{display:block; font-weight:800; margin:16px 0 6px; font-size:.95rem}
.form-box label:first-child{margin-top:0}
.form-box input[type="text"], .form-box input[type="email"], .form-box select, .form-box textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:14px; font:inherit; background:var(--bg); color:var(--ink)}
.form-box textarea{min-height:130px}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:start}

/* 資料 */
.doc-list{display:grid; grid-template-columns:repeat(2,1fr); gap:18px}
.doc-item{background:var(--surface); border:1px solid var(--line2); border-radius:20px; padding:22px; display:flex; gap:16px; align-items:center}
.doc-item .ic{flex:0 0 52px; height:52px; border-radius:16px; background:var(--brand-soft); display:flex; align-items:center; justify-content:center; font-family:"Zen Maru Gothic",sans-serif; font-weight:900; color:var(--brand); font-size:.8rem}
.doc-item h3{font-size:1rem}
.doc-item p{font-size:.88rem; color:var(--muted)}
.doc-item .dl{margin-left:auto; flex:0 0 auto; font-weight:800; color:var(--accent-ink)}

/* フッター */
.site-footer{background:var(--brand2); color:#cfcfe8; margin-top:0; padding:52px 0 30px}
.site-footer a{color:#cfcfe8}
.footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:30px; margin-bottom:30px}
.site-footer h4{color:#fff; font-size:1rem; margin-bottom:12px}
.site-footer ul{list-style:none}
.site-footer li{margin:6px 0}
.footer-logo{display:flex; align-items:center; gap:10px; font-family:"Zen Maru Gothic",sans-serif; font-weight:900; color:#fff; font-size:1.15rem; margin-bottom:12px}
.footer-logo img{width:36px; height:36px; border-radius:10px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.18); padding-top:18px; font-size:.85rem; color:#9a9ac0; display:flex; gap:16px; flex-wrap:wrap; justify-content:space-between}

/* レスポンシブ */
@media (max-width:900px){
  .cards,.worries,.features{grid-template-columns:1fr 1fr}
  .card:nth-child(3n+2){transform:none}
  .steps{grid-template-columns:1fr 1fr}
  .hero-in{grid-template-columns:1fr}
  .hero-photo{max-width:480px}
  .card.wide{flex-direction:column; align-items:stretch}
  .footer-grid{grid-template-columns:1fr 1fr}
  .doc-list{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .cards,.worries,.features,.steps{grid-template-columns:1fr}
  .hero{padding:44px 0 52px}
  .hero h1{font-size:1.9rem}
  .page-head h1{font-size:1.6rem}
  section.block{padding:44px 0}
  .cta-band{padding:28px 22px}
  .menu-btn{display:block}
  .main-nav{display:none; position:absolute; top:100%; left:0; right:0; background:var(--surface); border-bottom:1px solid var(--line); padding:10px 16px 16px}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column}
  .header-cta{display:none}
  table.price-table td.price{white-space:normal}
  .footer-grid{grid-template-columns:1fr}
}

/* 2カラム（本文＋写真） */
.split{display:grid; grid-template-columns:1fr 1fr; gap:30px; align-items:center}
@media (max-width:900px){ .split{grid-template-columns:1fr} }
