/* AsuCreation コーポレートサイト 共通スタイル — アクセント #A42E2B */

:root {
  /* accent (置換後) */
  --color-accent:       #A42E2B;
  --color-accent-dark:  #83221F;
  --color-accent-light: #D99A98;
  --color-accent-sub:   #BF4B47;

  /* neutral */
  --color-text:        #141414;
  --color-text-sub:    #787878;
  --color-text-mute:   #969696;
  --color-link:        #0088CC;
  --color-bg:          #FFFFFF;
  --color-bg-gray:     #F7F4EE;
  --color-border:      #E6E6E6;
  --color-border-light:#EBEBEB;
  --color-border-dark: #CCCCCC;
  --color-icon:        #CACACB;

  /* type */
  --font-base: 'Noto Sans JP', 'Noto Sans Japanese', "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, sans-serif;
  --font-display: Montserrat, 'Noto Sans JP', 'Noto Sans Japanese', "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, sans-serif;

  /* layout */
  --container-max: 1120px;
  --section-py-pc: 100px;
  --section-py-sp: 56px;
  --radius: 5px;

  /* type scale — PC */
  --fs-page-title: 56px; /* 各下層ページの大見出し（page-hero） */
  --fs-display:    44px; /* トップ Hero キャッチ */
  --fs-h2:         32px; /* セクション見出し（sec-head） */
  --fs-h3:         24px; /* カード・ブロック見出し */
  --fs-h4:         18px; /* 小見出し */
  --fs-h5:         16px; /* 最小見出し */
  --fs-body:       16px; /* 本文 */
  --fs-small:      13px; /* 補足・ラベル */
  --fs-xs:         12px; /* バッジ・タグ等の最小ラベル */
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
button { font-family: inherit; cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); color: #fff; }
.btn-outline { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }
.btn-outline:hover { background: var(--color-accent); color: #fff; }
.btn-white { background: #fff; color: var(--color-accent); }
.btn-white:hover { background: #f2f2f2; color: var(--color-accent-dark); }
.btn-sm { padding: 11px 22px; font-size: var(--fs-small); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-accent); font-weight: 600;
}
.text-link .arrow { transition: transform .15s ease; }
.text-link:hover { color: var(--color-accent-dark); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: .01em;
}
.logo-img {
  height: 24px; width: auto; display: block;
}
.global-nav ul { display: flex; align-items: center; gap: 34px; }
.global-nav a[data-nav] {
  font-size: var(--fs-small); font-weight: 500; padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.global-nav a[data-nav]:hover { color: var(--color-accent); }
.global-nav a[aria-current="page"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 0; padding: 0;
}
.menu-toggle span:not(.sr-only) {
  display: block; width: 22px; height: 2px;
  background: var(--color-text); transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- section scaffolding ---------- */
.section { padding-block: var(--section-py-pc); }
.section--gray { background: var(--color-bg-gray); }
.sec-head { margin-bottom: 48px; }
.sec-head--center { text-align: center; }
.sec-head .jp {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h2); font-weight: 700; letter-spacing: .05em; line-height: 1.2;
}
.sec-head .en {
  display: block; margin-top: 10px;
  font-size: var(--fs-small); font-weight: 500; color: var(--color-text-sub);
}
.page-hero { padding-top: 72px; }
.page-hero .jp {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-page-title); font-weight: 700; letter-spacing: .05em; line-height: 1.2;
}
.page-hero .en {
  display: block; margin-top: 10px;
  font-size: var(--fs-small); font-weight: 500; color: var(--color-text-sub);
}
.lead { color: var(--color-text-sub); }

/* ---------- top: hero ---------- */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .5);
}
.hero-body {
  position: relative; z-index: 1; width: 100%;
  text-align: center;
}
.hero-catch {
  font-size: var(--fs-display); font-weight: 700; line-height: 1.5; letter-spacing: .02em;
  color: #fff;
}
.hero-lead { margin-top: 24px; font-size: var(--fs-body); line-height: 2.1; color: #fff; }
.hero-cta {
  margin-top: 36px;
  display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap;
}

/* ---------- top: service ---------- */
.service-main-card {
  display: flex; align-items: center; gap: 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 40px 44px;
  box-shadow: 0 2px 16px rgba(20, 20, 20, .04);
  margin-bottom: 48px;
}
.service-main-card .thumb { width: 300px; flex: none; border-radius: var(--radius); overflow: hidden; }
.badge {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 600; line-height: 1; letter-spacing: .05em;
  color: #fff; background: var(--color-accent);
  padding: 7px 12px; border-radius: 3px;
  margin-bottom: 16px;
}
.card-title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.domains-label { font-size: var(--fs-small); font-weight: 500; color: var(--color-text-sub); margin-bottom: 18px; }
.domain-grid { display: flex; flex-direction: column; gap: 28px; }
.domain-card { display: flex; align-items: center; gap: 32px; padding: 28px; }
.domain-card {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse;
  padding: 34px 0;
  border-top: 1px solid var(--color-border-light);
}
.domain-grid > .domain-card:last-of-type { border-bottom: 1px solid var(--color-border-light); }
.domain-card .domain-body { flex: 1; }

.domain-image, .domain-image--logo {
  width: 320px;
  flex: none;
  margin-bottom: 0;
}
.domain-card .domain-body h3 { margin-top: 0; }

.domain-image {
  aspect-ratio: 900 / 510; border-radius: 6px; overflow: hidden;
  background: var(--color-bg-gray);
}
.domain-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.domain-image--logo {
  aspect-ratio: 900 / 510; border-radius: 6px; overflow: hidden;
  background: #fff; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.domain-logo { width: auto; height: auto; max-height: 56px; max-width: 100%; object-fit: contain; }
.domain-card h3 { font-size: var(--fs-h4); font-weight: 700; }
.domain-card p { margin-top: 10px; font-size: var(--fs-body); line-height: 1.9; color: #555; }
.sec-more { text-align: center; margin-top: 48px; }

/* ---------- top: about teaser ---------- */
.about-teaser { display: flex; align-items: center; gap: 56px; }
.about-teaser-text { flex: 1.1; }
.about-teaser-text h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; }
.about-teaser-text p { margin-top: 18px; color: var(--color-text-sub); }
.about-teaser-media { flex: 1; border-radius: 6px; overflow: hidden; }

/* ---------- news ---------- */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  font-size: var(--fs-small); font-weight: 500; line-height: 1;
  color: var(--color-text-sub);
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark);
  padding: 10px 18px; border-radius: 20px;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.pill:hover { color: var(--color-accent); border-color: var(--color-accent); }
.pill[aria-pressed="true"] {
  color: #fff; font-weight: 600;
  background: var(--color-accent); border-color: var(--color-accent);
}
.news-list { border-top: 1px solid var(--color-border-light); }
.news-list li { border-bottom: 1px solid var(--color-border-light); }
.news-list a {
  display: flex; align-items: center; gap: 22px;
  padding: 21px 6px;
}
.news-date {
  font-family: var(--font-display);
  font-size: var(--fs-small); font-weight: 500; color: var(--color-text-sub);
  width: 92px; flex: none;
}
.tag {
  font-size: var(--fs-xs); font-weight: 500; line-height: 1;
  color: var(--color-text-sub);
  border: 1px solid var(--color-border-dark);
  padding: 6px 10px; border-radius: 3px;
  width: 110px; flex: none; text-align: center;
}
.news-title { font-size: var(--fs-body); font-weight: 500; line-height: 1.6; transition: color .15s ease; }
.news-list a:hover .news-title { color: var(--color-accent); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination > a, .pagination > span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-small); font-weight: 500;
  border: 1px solid var(--color-border-dark); border-radius: var(--radius);
  color: var(--color-text-sub);
  transition: color .15s ease, border-color .15s ease;
}
.pagination > a:hover { color: var(--color-accent); border-color: var(--color-accent); }
.pagination .current {
  background: var(--color-accent); border-color: var(--color-accent);
  color: #fff; font-weight: 600;
}

/* ---------- news detail ---------- */
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.article-title {
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.5;
  max-width: 800px;
  padding-bottom: 32px; border-bottom: 1px solid var(--color-border);
}
.article-figure { max-width: 800px; border-radius: 6px; overflow: hidden; margin-bottom: 40px; }
.article-body { max-width: 720px; line-height: 2.1; }
.article-body p + p { margin-top: 1.5em; }
.article-back { margin-top: 56px; }

/* ---------- contact CTA (top) ---------- */
.contact-cta { text-align: center; }
.cta-kicker { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; letter-spacing: .05em; line-height: 1.2; }
.page-kicker { font-family: var(--font-display); font-size: var(--fs-small); font-weight: 700; letter-spacing: .08em; color: var(--color-accent); margin-bottom: 16px; }
.contact-cta h2 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; margin-top: 20px; }
.contact-cta .btn { margin-top: 30px; }
.contact-cta--photo {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #000 url('../img/bg-contact.png') center/cover no-repeat;
}
.contact-cta--photo::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .55);
}
.contact-cta--photo .container { position: relative; z-index: 1; }
.contact-cta--photo p, .contact-cta--photo h2 { color: #fff; }

/* ---------- about ---------- */
.message-title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.6; margin-bottom: 26px; }
.message-body { max-width: 720px; line-height: 2.1; color: #444; }
.message-body p + p { margin-top: 1.4em; }
.message-sign { margin-top: 32px; text-align: right; max-width: 720px; }
.message-sign .role { font-size: var(--fs-xs); color: var(--color-text-sub); }
.message-sign .name { font-size: var(--fs-h5); font-weight: 700; }
.company-table {
  width: 100%; max-width: 800px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px; overflow: hidden;
  border-collapse: separate; border-spacing: 0;
}
.company-table th, .company-table td {
  text-align: left; vertical-align: top;
  padding: 19px 24px;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--fs-body); line-height: 1.8;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }
.company-table th {
  width: 200px; background: var(--color-bg-gray);
  font-weight: 600; color: #444;
}

/* ---------- service ---------- */
.promise h2 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; }
.promise-title, .block-title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; }
.promise p { margin-top: 18px; max-width: 720px; color: var(--color-text-sub); }
.brand-map { display: flex; flex-direction: column; align-items: center; }
.brand-parent {
  width: 360px; max-width: 100%;
  background: var(--color-accent);
  border-radius: 9px; padding: 28px 30px; text-align: center;
}
.brand-parent .badge { background: #fff; color: var(--color-accent); }
.brand-parent h3 { font-size: var(--fs-h3); font-weight: 700; color: #fff; }
.brand-parent p { margin-top: 8px; font-size: var(--fs-xs); line-height: 1.7; color: rgba(255, 255, 255, .85); }
.brand-connector-v { width: 2px; height: 30px; background: var(--color-accent-light); }
.brand-connector-h { width: 88%; height: 2px; background: var(--color-accent-light); }
.brand-grid {
  width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding-top: 30px;
}
.brand-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  padding: 20px 16px; text-align: center;
}
.brand-logo { height: 44px; width: auto; display: block; margin: 0 auto 14px; }
.brand-card h4 { font-size: var(--fs-h5); font-weight: 700; }
.brand-card p { margin-top: 7px; font-size: var(--fs-xs); line-height: 1.7; color: var(--color-text-sub); }
.service-detail { display: flex; align-items: center; gap: 40px; padding: 34px 0; border-top: 1px solid var(--color-border-light); }
.service-detail:last-of-type { border-bottom: 1px solid var(--color-border-light); }
.service-detail .text { flex: 1; }
.service-detail h3 { font-size: var(--fs-h4); font-weight: 700; }
.service-detail p { margin-top: 10px; font-size: var(--fs-body); line-height: 1.9; color: #555; }
.service-detail .thumb { width: 320px; flex: none; border-radius: 6px; overflow: hidden; aspect-ratio: 900 / 510; }
.service-detail .thumb:not(.thumb--logo) img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb--logo {
  background: #fff; border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 900 / 510; padding: 24px;
}
.detail-logo { max-height: 64px; max-width: 100%; width: auto; height: auto; }

/* ---------- contact ---------- */
.contact-intro { max-width: 720px; color: var(--color-text-sub); margin-bottom: 18px; }
.contact-tel {
  display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap;
  margin-bottom: 48px; font-size: var(--fs-small); font-weight: 500;
}
.contact-tel .num {
  font-family: var(--font-display);
  font-size: var(--fs-h3); font-weight: 700; color: var(--color-text);
}
.contact-tel .hours { color: var(--color-text-sub); }
.form { max-width: 720px; display: flex; flex-direction: column; gap: 26px; }
.form-row { display: flex; gap: 20px; }
.form-row > .form-field { flex: 1; }
.form-field label { display: block; font-size: var(--fs-small); font-weight: 600; margin-bottom: 9px; }
.required {
  display: inline-block; margin-left: 8px;
  font-size: var(--fs-xs); font-weight: 600; line-height: 1;
  color: #fff; background: var(--color-accent);
  padding: 4px 7px; border-radius: 3px; vertical-align: 1px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  font-family: inherit; font-size: var(--fs-body); color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(164, 46, 43, .15);
}
.form-agree {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: var(--fs-small);
}
.form-agree input { width: 18px; height: 18px; accent-color: var(--color-accent); }
.form-agree a { color: var(--color-accent); text-decoration: underline; }
.form-agree a:hover { color: var(--color-accent-dark); }
.form-submit { text-align: center; margin-top: 8px; }
.form-submit .btn { padding: 17px 56px; border: 0; font-size: var(--fs-body); }

/* ---------- contact complete ---------- */
.complete { text-align: center; padding-block: 120px; }
.complete-icon {
  width: 64px; height: 64px; margin: 0 auto 30px;
  border: 2px solid var(--color-accent); border-radius: 50%;
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
}
.complete h1 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; }
.complete p { margin-top: 20px; color: var(--color-text-sub); }
.complete .btn { margin-top: 40px; }

/* ---------- privacy ---------- */
.privacy-body { max-width: 800px; }
.privacy-intro { color: var(--color-text-sub); margin-bottom: 48px; }
.policy-block { margin-bottom: 44px; }
.policy-block h2 {
  font-size: var(--fs-h4); font-weight: 700; line-height: 1.5;
  padding-bottom: 12px; margin-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}
.policy-block p { color: #555; }
.policy-block p + p, .policy-block p + ul, .policy-block ul + p, .policy-block p + h3 { margin-top: 14px; }
.policy-block h3 { font-size: var(--fs-small); font-weight: 600; margin-top: 18px; }
.policy-block h3 + p { margin-top: 4px; }
.policy-block ul { padding-left: 22px; list-style: disc; color: #555; }
.policy-block a { color: var(--color-accent); text-decoration: underline; word-break: break-all; }
.policy-block a:hover { color: var(--color-accent-dark); }
.policy-date { font-size: var(--fs-xs); color: var(--color-text-mute); }

/* ---------- footer ---------- */
.site-footer { background: var(--color-bg-gray); border-top: 1px solid var(--color-border); }
.footer-inner {
  display: flex; justify-content: space-between; gap: 48px;
  padding-block: 56px 40px; flex-wrap: wrap;
}
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.footer-logo .logo-img { height: 20px; }
.footer-addr { font-size: var(--fs-small); line-height: 2; color: var(--color-text-sub); }
.footer-nav { display: flex; gap: 56px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: var(--fs-small); color: #555; }
.footer-nav a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-block: 20px;
  font-size: var(--fs-xs); color: var(--color-text-mute);
}
.page-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(164, 46, 43, .4);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background-color .15s ease, visibility .2s;
}
.page-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.page-top:hover { background: var(--color-accent-dark); }

/* ---------- motion ---------- */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive (SP 〜767px) ---------- */
@media (max-width: 767px) {
  :root {
    --fs-page-title: 30px;
    --fs-display: 28px;
    --fs-h2: 24px;
    --fs-h3: 20px;
    --fs-h4: 16px;
    --fs-h5: 16px;
    --fs-body: 16px;
    --fs-small: 13px;
    --fs-xs: 12px;
  }
  .container { padding-inline: 20px; }
  .section { padding-block: var(--section-py-sp); }
  .sec-head { margin-bottom: 32px; }
  .page-hero { padding-top: 44px; }

  .header-inner { height: 64px; }
  .menu-toggle { display: flex; }
  .global-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 64px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 20px 24px;
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav a[data-nav] {
    display: block; padding: 14px 4px;
    border-bottom: 1px solid var(--color-border-light);
  }
  .global-nav a[aria-current="page"] { border-bottom-color: var(--color-border-light); }
  .nav-contact { margin-top: 18px; }
  .nav-contact .btn { width: 100%; }

  .hero { min-height: 480px; }
  .hero-cta { flex-direction: column; gap: 18px; }

  .service-main-card { flex-direction: column; padding: 28px 0; gap: 24px; border: none; box-shadow: none; }
  .service-main-card .thumb {
    width: 100%; order: -1;
    background: #fff; border: 1px solid var(--color-border);
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 900 / 510; padding: 32px;
  }
  .service-main-card .thumb img { max-height: 56px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
  .domain-grid { grid-template-columns: 1fr; }
  .domain-card { flex-direction: column; align-items: stretch; gap: 20px; padding: 28px 0; }
  .domain-image, .domain-image--logo { width: 100%; }
  .about-teaser { flex-direction: column; gap: 28px; }
  .about-teaser-media { width: 100%; }

  .news-list a { flex-wrap: wrap; gap: 10px 14px; padding: 18px 2px; }
  .news-title { width: 100%; }

  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { flex-direction: column; gap: 20px; align-items: stretch; padding: 28px 0; }
  .service-detail .thumb { width: 100%; order: -1; }

  .form-row { flex-direction: column; gap: 26px; }
  .company-table th { width: 120px; padding: 15px 16px; }
  .company-table td { padding: 15px 16px; }

  .footer-inner { flex-direction: column; gap: 32px; padding-block: 40px 32px; }
  .footer-nav { gap: 40px; }
  .complete { padding-block: 72px; }
}

/* ---------- Contact Form 7 対応 ---------- */
/* CF7は .form の中に .wpcf7 > form.wpcf7-form を生成するため、
   本来 .form に効かせていた縦並び(gap)を実際のフォーム要素に適用し直す */
.form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
/* CF7が末尾に出力する空の応答領域が余分な隙間を作らないように */
.form .wpcf7-form > .wpcf7-response-output {
  margin: 0;
}
