/* menmeiz LLC. 会社サイト
   白背景・黒文字。色は写真とイラストに任せ、差し色（--accent）は小さなラベルとリンクだけに使う。 */

:root {
  --ink: #111;
  --sub: #5c5c5c;
  --faint: #8a8a8a;
  --line: #e6e6e6;
  --bg: #fff;
  --bg-soft: #f6f6f6;
  --accent: #e4007f;
  --w: 1120px;
  --radius: 6px;
  --en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ja: "heisei-kaku-gothic-std", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { line-height: 1.5; margin: 0; font-weight: bold; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 32px; } }

.todo {
  display: inline-block; background: #fff1a8; color: #6b5800;
  font-size: 11px; font-weight: bold; padding: 0 6px; border-radius: 3px; vertical-align: middle;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.logo-en { font-family: var(--en); font-weight: 800; font-size: 22px; letter-spacing: .01em; }
.logo-ja { font-size: 11px; color: var(--sub); }
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav > a:not(.btn) { font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-decoration: none; }
.gnav > a:not(.btn):hover, .gnav a[aria-current="page"] { color: var(--accent); }
.gnav .btn { padding: 9px 20px; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .gnav { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle summary {
    list-style: none; cursor: pointer; font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .14em;
    border: 1px solid var(--ink); border-radius: 999px; padding: 6px 16px;
  }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle[open] summary { background: var(--ink); color: #fff; }
  .sp-nav {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: 64px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
  }
  .sp-nav > a:not(.btn) { font-family: var(--en); font-weight: 600; letter-spacing: .12em; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
  .sp-nav .btn { margin-top: 12px; padding: 14px; }
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  text-decoration: none; border: 1px solid var(--ink); border-radius: 999px;
  padding: 12px 26px; font-size: 14px; font-weight: bold; line-height: 1.4;
  background: var(--bg); color: var(--ink);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }
.btn-lg { padding: 16px 36px; font-size: 15px; min-width: 220px; }
.btn-arrow::after { content: "→"; font-family: var(--en); }
.on-dark .btn { border-color: #fff; background: transparent; color: #fff; }
.on-dark .btn:hover { background: #fff; color: var(--ink); }
.on-dark .btn-dark { background: #fff; color: var(--ink); }
.on-dark .btn-dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== セクション ===== */
section { padding: 104px 0; }
.sec-head { margin-bottom: 48px; }
.sec-en {
  font-family: var(--en); font-weight: 800; font-size: 44px; line-height: 1.1;
  letter-spacing: .02em; margin: 0;
}
.sec-ja { font-size: 13px; color: var(--accent); font-weight: bold; margin: 10px 0 0; letter-spacing: .1em; }
.sec-title { font-size: 26px; margin: 0 0 20px; }
.lead { font-size: 16px; max-width: 760px; }
.sec-more { margin-top: 48px; text-align: center; }
.muted { color: var(--sub); font-size: 13px; }
.soft { background: var(--bg-soft); }
@media (max-width: 600px) {
  section { padding: 72px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-en { font-size: 34px; }
  .sec-title { font-size: 21px; }
  .lead { font-size: 15px; }
}

/* ===== 下層ページの見出し ===== */
.page-head { padding: 88px 0 56px; border-bottom: 1px solid var(--line); }
.page-head .en { font-family: var(--en); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: .02em; margin: 0; }
.page-head .ja { font-size: 14px; color: var(--accent); font-weight: bold; margin: 16px 0 0; letter-spacing: .1em; }
@media (max-width: 600px) {
  .page-head { padding: 56px 0 36px; }
  .page-head .en { font-size: 42px; }
}

/* ===== 写真 ===== */
.photo { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.r16x10 { aspect-ratio: 16 / 10; }
.r1x1 { aspect-ratio: 1 / 1; }
.fit-contain img { object-fit: contain; }

/* ===== TOP：最初の画面 ===== */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-sub { font-size: 13px; letter-spacing: .08em; color: var(--accent); font-weight: bold; margin: 0 0 18px; }
.hero h1 { font-size: 46px; line-height: 1.4; letter-spacing: .03em; margin-bottom: 28px; }
.hero h1 .q { font-family: var(--en); }
.hero-text { margin-bottom: 36px; color: #333; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collage .photo:nth-child(1) { grid-column: 1 / 3; }
.collage .photo:nth-child(2) { transform: translateY(0); }
@media (max-width: 900px) {
  .hero { padding: 40px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 32px; }
  .hero .actions .btn { flex: 1 1 200px; min-width: 0; }
}

/* ===== グリッド ===== */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ===== 強み ===== */
.strengths { counter-reset: s; }
.strength { border-top: 2px solid var(--ink); padding-top: 24px; }
.strength .num { font-family: var(--en); font-weight: 800; font-size: 40px; line-height: 1; margin: 0 0 16px; color: var(--accent); }
.strength h3 { font-size: 19px; margin-bottom: 12px; }
.strength p { font-size: 14px; color: #333; }

/* ===== できること（番号つきの一覧） ===== */
.svc { border-top: 1px solid var(--line); }
.svc-item { border-bottom: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; }
.svc-item .num { font-family: var(--en); font-weight: 700; color: var(--accent); font-size: 14px; padding-top: 3px; }
.svc-item h3 { font-size: 16px; }
.svc-item p { grid-column: 2; margin: 0; font-size: 14px; color: var(--sub); }
.svc.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
.svc.cols .svc-item:nth-child(-n+2) { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .svc.cols { grid-template-columns: 1fr; }
  .svc.cols .svc-item:nth-child(2) { border-top: 0; }
}

/* ===== 実績カード ===== */
.work { display: flex; flex-direction: column; text-decoration: none; }
.work .photo { margin-bottom: 16px; }
.work .cat { font-size: 12px; color: var(--accent); font-weight: bold; margin: 0 0 4px; letter-spacing: .04em; }
.work h3 { font-size: 16px; margin-bottom: 6px; }
.work p { margin: 0; font-size: 13px; color: var(--sub); }
.work .who {
  font-size: 11px; color: var(--sub); border: 1px solid var(--line); border-radius: 3px;
  padding: 1px 8px; align-self: flex-start; margin-top: 12px;
}
.work-text { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button {
  font: inherit; font-size: 13px; cursor: pointer; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sub-head { font-size: 18px; margin: 72px 0 24px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ===== 自社事業・コラボのカード ===== */
.brand h3 { font-size: 18px; margin: 18px 0 8px; }
.brand p { font-size: 14px; color: #333; }
.brand .link { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: bold; }
.brand .link::after { content: " →"; font-family: var(--en); }
.brand .noimg { aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-family: var(--en); font-weight: 800; font-size: 22px; color: #c9c9c9; letter-spacing: .06em; }

/* ===== メディア ===== */
.media { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.media li { flex: 1 1 180px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 16px; text-align: center; font-weight: bold; font-size: 15px; }

/* ===== 代理店向け ===== */
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.points li { background: var(--bg); padding: 28px; border-radius: var(--radius); font-size: 14px; color: #333; }
.points b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.points b::before { content: "✓"; color: var(--accent); margin-right: 8px; }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

/* ===== 表 ===== */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border-bottom: 1px solid var(--line); padding: 20px 16px; text-align: left; vertical-align: top; }
.spec { border-top: 1px solid var(--ink); }
.spec th { width: 26%; font-weight: bold; }
.price { border-top: 2px solid var(--ink); }
.price thead th { font-size: 12px; color: var(--sub); font-weight: bold; padding-top: 14px; padding-bottom: 14px; }
.price td b { font-size: 16px; }
.price td:last-child, .price th:last-child { white-space: nowrap; text-align: right; }
.price td:last-child { font-family: var(--en); font-weight: 700; font-size: 20px; }
.price td:last-child small { font-family: var(--ja); font-size: 13px; font-weight: bold; }
@media (max-width: 600px) {
  .spec th, .spec td { display: block; width: 100%; }
  .spec th { border-bottom: 0; padding-bottom: 4px; }
  .spec td { padding-top: 4px; }
  th, td { padding: 16px 8px; }
  .price td:last-child { font-size: 17px; }
}

/* ===== 流れ ===== */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.flow li { border-top: 2px solid var(--ink); padding: 18px 4px 0; font-size: 14px; color: #333; counter-increment: step; }
.flow li::before { content: "STEP " counter(step, decimal-leading-zero); display: block; font-family: var(--en); color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .1em; margin-bottom: 6px; }
.flow li b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; gap: 0; } .flow li { padding-bottom: 18px; } }

/* ===== FAQ ===== */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: bold; padding: 22px 40px 22px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; font-family: var(--en); color: var(--accent); margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 18px; font-family: var(--en); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 22px; padding-left: 28px; font-size: 14px; color: #333; }

/* ===== ABOUT ===== */
.about-text { max-width: 800px; }
.about-text .sec-title { font-size: 30px; line-height: 1.6; margin-bottom: 28px; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.vm .big { font-size: 26px; font-weight: bold; margin: 0 0 20px; line-height: 1.6; }
.vm p { font-size: 14px; color: #333; }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; gap: 48px; } .vm .big { font-size: 22px; } .about-text .sec-title { font-size: 23px; } }

.member { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.member + .member { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.member .role { color: var(--accent); font-weight: bold; font-size: 13px; margin: 0 0 4px; }
.member h3 { font-size: 26px; margin-bottom: 4px; }
.member .en-name { font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .14em; color: var(--sub); margin: 0 0 20px; }
.member .bio { font-size: 14px; color: #333; }
.tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.member .sns { margin-top: 20px; font-size: 13px; font-family: var(--en); font-weight: 600; }
@media (max-width: 760px) { .member { grid-template-columns: 1fr; gap: 24px; } .member .photo { max-width: 240px; } }

.history { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.history li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.history li span:first-child { font-family: var(--en); font-weight: 700; }
@media (max-width: 600px) { .history li { grid-template-columns: 1fr; gap: 2px; } }

/* ===== フォーム ===== */
.form { display: grid; gap: 28px; max-width: 760px; }
.form label { display: block; font-weight: bold; font-size: 14px; margin-bottom: 8px; }
.req, .opt { font-size: 11px; font-weight: bold; padding: 2px 7px; border-radius: 3px; margin-left: 8px; vertical-align: middle; }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--bg-soft); color: var(--sub); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px;
  border: 1px solid #cfcfcf; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form textarea { min-height: 200px; }
.form .hint { font-size: 12px; color: var(--sub); margin: 6px 0 0; }
.form .check label { font-weight: normal; display: flex; align-items: center; gap: 8px; }
.notice { background: var(--bg-soft); padding: 18px 22px; font-size: 14px; border-radius: var(--radius); }

/* ===== 文章ページ ===== */
.prose { max-width: 780px; }
.prose h2 { font-size: 18px; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose p, .prose li { font-size: 14px; }

/* ===== 締めの導線 ===== */
.cta { background: var(--ink); color: #fff; text-align: center; }
.cta .sec-en { color: #fff; }
.cta h2 { font-size: 28px; margin: 20px 0 16px; }
.cta p { color: #ccc; }
.cta .actions { justify-content: center; margin-top: 36px; }
@media (max-width: 600px) { .cta h2 { font-size: 22px; } .cta .actions .btn { flex: 1 1 100%; } }

/* ===== フッター ===== */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 13px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo-en { font-size: 26px; display: block; margin-bottom: 12px; }
.site-footer b { display: block; font-family: var(--en); font-size: 12px; letter-spacing: .14em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { text-decoration: none; color: var(--sub); }
.site-footer a:hover { color: var(--ink); }
.site-footer address { font-style: normal; color: var(--sub); }
.copy { text-align: center; color: var(--faint); font-family: var(--en); font-size: 11px; letter-spacing: .1em; margin-top: 56px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }

/* ===== ロゴ ===== */
.logo { align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; }
.site-footer .footer-logo { height: 56px; width: auto; margin-bottom: 16px; }
@media (max-width: 600px) { .logo img { height: 40px; } }

/* ===== 問い合わせフォームの送信結果 ===== */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #c62828; font-size: 13px; margin: 6px 0 0; }
.form-error { background: #fdecec; border: 1px solid #f3c4c4; color: #c62828; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 28px; }
.thanks { max-width: 760px; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn-dark[disabled]:hover { background: var(--ink); border-color: var(--ink); }
