/*
Theme Name: 税理士法人エイエスワン
Author: 税理士法人エイエスワン
Description: 税理士法人エイエスワン 公式サイト（ワンページ）テーマ。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: as1
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: #ffffff;
    color: #0f1419;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
  }

  /* ===== ヘッダー ===== */
  header {
    padding: 22px 48px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #eef2f3;
    position: sticky; top: 0; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px); z-index: 100;
  }
  .logo {
    font-family: 'Fraunces', serif; font-weight: 500;
    color: #0f1419; letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
  }
  .logo-mark {
    width: 32px; height: 32px; background: #0f766e;
    border-radius: 50%; position: relative; flex-shrink: 0;
  }
  .logo-mark::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 16px; height: 16px;
    background: #fff; border-radius: 50%;
  }
  .logo-text {
    display: flex; flex-direction: column; line-height: 1.2;
  }
  .logo-text .ja {
    font-family: 'Shippori Mincho', serif; font-size: 15px; font-weight: 500;
    letter-spacing: 0.04em;
  }
  .logo-text .en {
    font-family: 'Fraunces', serif; font-size: 10px; letter-spacing: 0.25em;
    color: #5a6770; margin-top: 2px;
  }
  nav ul {
    display: flex; list-style: none; gap: 36px; font-size: 14px;
    font-weight: 500; align-items: center;
  }
  nav a {
    color: #0f1419; text-decoration: none; letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  nav a:hover { color: #0f766e; }
  .nav-cta {
    background: #0f766e; color: #fff !important; padding: 10px 22px;
    border-radius: 999px; font-size: 13px; font-weight: 500;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: #0f1419; }
  .nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
  .nav-toggle span {
    display: block; width: 24px; height: 2px; background: #0f1419;
    margin: 5px 0; transition: transform 0.3s;
  }
  @media (max-width: 880px) {
    header { padding: 18px 24px; }
    nav ul { display: none; }
    .nav-toggle { display: block; }
    nav.open ul {
      display: flex; flex-direction: column; gap: 0;
      position: absolute; top: 100%; left: 0; right: 0;
      background: #fff; border-bottom: 1px solid #eef2f3;
      padding: 16px 24px;
    }
    nav.open ul li { padding: 12px 0; border-bottom: 1px solid #f5f7f8; }
    nav.open ul li:last-child { border-bottom: 0; }
  }
  @media (max-width: 480px) {
    header { padding: 14px 18px; }
    .logo { gap: 10px; }
    .logo-mark { width: 28px; height: 28px; }
    .logo-mark::after { width: 14px; height: 14px; }
    .logo-text .ja { font-size: 13px; letter-spacing: 0.02em; }
    .logo-text .en { font-size: 9px; letter-spacing: 0.2em; }
    .nav-toggle { padding: 6px; }
  }

  /* ===== ヒーロー ===== */
  /* ===== ヒーロー（全幅・幅連動で滑らかにズーム） ===== */
  .hero {
    /* section の max-width:1400px を打ち消して画面いっぱいに */
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    /* 縦横比を全幅で固定（モバイル375px時の 375:220 を全域に適用） */
    aspect-ratio: 375 / 220;
    display: flex;
    align-items: center;
  }
  .hero-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .hero-left {
    position: relative;
    z-index: 2;
    padding: clamp(28px, 6vw, 80px) clamp(20px, 5vw, 56px);
    max-width: clamp(280px, 62%, 660px);
  }
  .hero-right {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: 0;
  }
  /* 画像の左側にぼかしと段階的フェード */
  .hero-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 60%;
    z-index: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    mask-image: linear-gradient(to right,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 35%,
      rgba(0,0,0,0) 65%);
    -webkit-mask-image: linear-gradient(to right,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 35%,
      rgba(0,0,0,0) 65%);
  }
  .hero-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    position: relative;
  }
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 30%;
    display: block;
  }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: 'Fraunces', serif;
    font-size: clamp(10px, 1.1vw, 12px); letter-spacing: 0.28em; color: #0f766e;
    margin-bottom: clamp(16px, 3.5vw, 40px); font-weight: 500;
  }
  .hero-tag::before {
    content: ''; width: clamp(20px, 3vw, 32px); height: 1px; background: #0f766e;
  }
  .hero-headline {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(22px, 5vw, 72px);
    line-height: 1.35; font-weight: 500;
    letter-spacing: 0.06em; color: #0f1419;
    margin-bottom: 8px;
    text-shadow: -0.5px -0.5px 0 rgba(255,255,255,0.8), 0.5px -0.5px 0 rgba(255,255,255,0.8), -0.5px 0.5px 0 rgba(255,255,255,0.8), 0.5px 0.5px 0 rgba(255,255,255,0.8), 0 -1px 2px rgba(255,255,255,0.6);
  }
  .hero-headline .accent {
    color: #0f766e; font-weight: 600;
  }
  .hero-divider {
    display: inline-block; width: clamp(36px, 5vw, 64px); height: 1px;
    background: #0f1419; margin: clamp(16px, 3vw, 44px) 0 clamp(12px, 2vw, 28px);
    opacity: 0.3;
  }
  .hero-firm {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(13px, 1.7vw, 22px); font-weight: 500;
    color: #0f1419; letter-spacing: 0.1em;
    margin-bottom: clamp(16px, 3vw, 36px);
  }
  .hero-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: #0f766e; color: #fff; padding: clamp(11px, 1.4vw, 16px) clamp(20px, 2.6vw, 32px);
    border-radius: 999px; text-decoration: none; font-size: clamp(12px, 1vw, 14px);
    font-weight: 500; transition: all 0.3s;
  }
  .hero-cta:hover { background: #0f1419; transform: translateY(-2px); }
  .hero-cta::after { content: '→'; transition: transform 0.3s; }
  .hero-cta:hover::after { transform: translateX(4px); }
  .hero-image-deco {
    position: absolute; bottom: -16px; left: -16px;
    width: 80px; height: 80px; border-radius: 16px;
    background: #0f766e; z-index: -1;
  }
  /* 狭幅では見出しが写真に重なり欠けるため、テキストと画像を縦に分離する */
  @media (max-width: 480px) {
    .hero { aspect-ratio: auto; }
    .hero-inner { flex-direction: column; align-items: stretch; }
    .hero-left { max-width: 100%; padding: 32px 20px 28px; }
    .hero-right { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 3; }
    .hero-right::before { display: none; }
  }

  section { padding: 120px 48px; max-width: 1400px; margin: 0 auto; }
  section.alt-bg { background: #f7f9fa; max-width: 1400px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
  section.alt-bg-inner { max-width: 1400px; margin: 0 auto; padding: 0; }
  .section-head { margin-bottom: 64px; }
  .section-meta {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; color: #0f766e; letter-spacing: 0.25em;
    font-weight: 500; margin-bottom: 20px;
  }
  .section-meta::before {
    content: ''; width: 28px; height: 1px; background: #0f766e;
  }
  .section-title {
    font-family: 'Shippori Mincho', 'Fraunces', serif;
    font-size: clamp(28px, 4.5vw, 52px); font-weight: 500;
    line-height: 1.3; letter-spacing: 0.02em; color: #0f1419;
  }
  @media (max-width: 700px) {
    section { padding: 80px 24px; }
    section.alt-bg { padding-left: 24px; padding-right: 24px; }
    .section-head { margin-bottom: 44px; }
  }
  @media (max-width: 480px) {
    section { padding: 64px 18px; }
    section.alt-bg { padding-left: 18px; padding-right: 18px; }
    .section-head { margin-bottom: 36px; }
    .section-meta { font-size: 11px; letter-spacing: 0.2em; margin-bottom: 14px; }
    .section-title { font-size: 26px; }
  }

  /* ===== 1. 私たちについて ===== */
  .about-grid {
    display: block; max-width: 820px;
  }
  .about-statement {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(20px, 2.6vw, 30px); line-height: 1.9;
    color: #0f1419; font-weight: 400; letter-spacing: 0.04em;
  }
  .about-statement .em {
    color: #0f766e; font-weight: 500;
    background: linear-gradient(transparent 70%, rgba(15, 118, 110, 0.12) 70%);
    padding: 0 4px;
  }
  .about-sig {
    margin-top: 40px; font-size: 13px; color: #5a6770;
    letter-spacing: 0.1em; display: flex; align-items: center; gap: 12px;
  }
  .about-note {
    margin-top: 28px; max-width: 60ch;
    font-size: clamp(14px, 1.4vw, 16px); line-height: 2.1;
    color: #5a6770; letter-spacing: 0.04em;
  }
  .about-sig::before {
    content: ''; width: 24px; height: 1px; background: #5a6770;
  }
  @media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
  }
  @media (max-width: 480px) {
    .about-statement { font-size: 18px; line-height: 1.95; letter-spacing: 0.03em; }
    .about-sig { font-size: 12px; margin-top: 28px; }
    .about-statement br, .about-note br { display: none; }
  }

  /* ===== 2. 提供サービス ===== */
  .services-head {
    display: flex; justify-content: space-between; align-items: end;
    gap: 24px; flex-wrap: wrap; margin-bottom: 64px;
  }
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: #e5ebee;
    border: 1px solid #e5ebee; border-radius: 20px; overflow: hidden;
  }
  .service {
    background: #fff; padding: 48px 36px;
    transition: background 0.3s; position: relative;
    display: flex; flex-direction: column;
  }
  .service:hover { background: #f7f9fa; }
  .service-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: #0f766e;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.3s;
  }
  .service:hover .service-icon {
    background: rgba(15, 118, 110, 0.15);
    transform: scale(1.05);
  }
  .service-icon svg {
    width: 24px; height: 24px;
  }
  .service-icon img {
    width: 64%; height: 64%; object-fit: contain; display: block;
  }
  .service-title-row {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 18px;
  }
  .service-num {
    font-family: 'Fraunces', serif; font-size: 13px; color: #0f766e;
    letter-spacing: 0.2em; margin-bottom: 24px; font-weight: 500;
  }
  .service-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 22px; font-weight: 500; line-height: 1.5;
    color: #0f1419; letter-spacing: 0.04em;
  }
  .service-desc {
    font-size: 14px; line-height: 2; color: #4a5862;
    margin-bottom: 28px; flex: 1; letter-spacing: 0.02em;
  }
  .service-foot {
    padding-top: 20px; border-top: 1px solid #eef2f3;
    font-family: 'Fraunces', serif;
    font-size: 13px; color: #5a6770; letter-spacing: 0.05em;
  }
  @media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 480px) {
    .services-grid { border-radius: 14px; }
    .service { padding: 32px 24px; }
    .service-icon { width: 42px; height: 42px; }
    .service-icon svg { width: 22px; height: 22px; }
    .service-title-row { gap: 12px; margin-bottom: 14px; }
    .service-title { font-size: 19px; }
    .service-desc { font-size: 13px; line-height: 1.9; }
    .service-num { font-size: 12px; margin-bottom: 18px; }
  }

  /* ===== 3. 事業所案内 ===== */
  .offices-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .office {
    background: #fff; border-radius: 20px; padding: 36px 32px;
    border: 1px solid #eef2f3; display: flex; flex-direction: column;
    transition: all 0.3s;
  }
  .office:hover {
    border-color: #0f766e;
    box-shadow: 0 20px 40px -20px rgba(15, 118, 110, 0.15);
  }
  .office-label {
    font-family: 'Fraunces', serif;
    font-size: 12px; color: #0f766e; letter-spacing: 0.2em;
    margin-bottom: 12px;
  }
  .office-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 26px; font-weight: 500; color: #0f1419;
    letter-spacing: 0.06em; margin-bottom: 20px;
  }
  .office-map {
    margin-bottom: 24px;
    border-radius: 12px; overflow: hidden;
    border: 1px solid #eef2f3;
    aspect-ratio: 4/3;
    background: #f7f9fa;
  }
  .office-map iframe {
    width: 100%; height: 100%; border: 0; display: block;
  }
  .office-staff {
    margin-bottom: 22px;
  }
  .office-staff-label {
    font-size: 11px; color: #5a6770; letter-spacing: 0.18em;
    margin-bottom: 10px; font-weight: 500;
  }
  .office-staff-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 16px; color: #0f1419; padding: 3px 0;
    letter-spacing: 0.08em;
  }
  .office-info {
    font-size: 13px; line-height: 2; color: #4a5862;
    letter-spacing: 0.02em;
  }
  .office-info .zip {
    font-family: 'Fraunces', serif; font-size: 12px;
    color: #5a6770; letter-spacing: 0.1em;
  }
  .office-info .tel {
    display: inline-block; margin-top: 6px;
    font-family: 'Fraunces', serif; font-size: 18px;
    color: #0f1419; font-weight: 500; letter-spacing: 0.05em;
    text-decoration: none;
  }
  .office-info .tel:hover { color: #0f766e; }
  .office-contact {
    margin-top: 12px; display: grid; gap: 7px;
  }
  .office-contact .oc-row {
    display: flex; align-items: center; gap: 10px;
  }
  .office-contact .oc-ico {
    display: inline-flex; flex-shrink: 0; color: #5a6770;
  }
  .office-contact .oc-ico svg { width: 17px; height: 17px; display: block; }
  .office-contact .oc-val {
    font-family: 'Fraunces', serif; font-size: 17px;
    color: #0f1419; font-weight: 500; letter-spacing: 0.04em;
    text-decoration: none;
  }
  .office-contact a.oc-val:hover { color: #0f766e; }
  .office-contact a.oc-val:hover .oc-ico,
  .office-contact .oc-row:hover .oc-ico { color: #0f766e; }
  .office-contact .oc-mail { font-size: 14px; word-break: break-all; }
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  @media (max-width: 1100px) {
    .offices-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; gap: 20px; }
    .office-map { aspect-ratio: 16/9; }
  }
  @media (max-width: 480px) {
    .office { padding: 28px 22px; border-radius: 16px; }
    .office-name { font-size: 22px; margin-bottom: 18px; padding-bottom: 18px; }
    .office-staff-name { font-size: 15px; }
    .office-info .tel { font-size: 17px; }
    .office-map { aspect-ratio: 4/3; }
  }

  /* ===== 5. 法人概要 ===== */
  .profile-table {
    max-width: 760px; margin: 0 auto;
    border-top: 1px solid #d0d7da;
  }
  .profile-row {
    display: grid; grid-template-columns: 200px 1fr;
    gap: 32px; padding: 28px 4px;
    border-bottom: 1px solid #eef2f3;
    align-items: start;
  }
  .profile-label {
    font-family: 'Shippori Mincho', serif;
    font-size: 14px; letter-spacing: 0.16em;
    color: #5a6770; font-weight: 500;
    padding-top: 2px;
  }
  .profile-value {
    font-size: 15px; line-height: 1.9; color: #0f1419;
    letter-spacing: 0.04em;
  }
  .profile-staff {
    display: flex; flex-direction: column; gap: 8px;
  }
  .profile-staff-item {
    display: flex; align-items: baseline; gap: 16px;
    flex-wrap: wrap;
  }
  .profile-staff-role {
    font-family: 'Fraunces', serif;
    font-size: 12px; color: #0f766e; letter-spacing: 0.15em;
    min-width: 150px;
  }
  .profile-staff-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 16px; color: #0f1419; letter-spacing: 0.08em;
  }
  @media (max-width: 700px) {
    .profile-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 4px; }
    .profile-label { font-size: 12px; letter-spacing: 0.12em; }
    .profile-staff-item { gap: 12px; }
    .profile-staff-role { min-width: 130px; font-size: 11px; }
  }
  @media (max-width: 480px) {
    .profile-row { padding: 18px 2px; }
    .profile-value { font-size: 14px; }
    .profile-staff-role { min-width: 0; font-size: 11px; }
    .profile-staff-name { font-size: 15px; }
  }

  /* ===== 4. お問い合わせ ===== */
  .contact-wrap {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    border-radius: 24px; padding: 72px 40px; color: #fff;
    text-align: center; position: relative; overflow: hidden;
  }
  .contact-wrap::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 80%; height: 200%; border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
  }
  .contact-wrap::after {
    content: ''; position: absolute; bottom: -50%; left: -20%;
    width: 60%; height: 150%; border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
  }
  .contact-meta {
    position: relative; z-index: 1; color: #5eead4;
  }
  .contact-meta::before { background: #5eead4; }
  .contact-title {
    position: relative; z-index: 1;
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(26px, 4vw, 40px); font-weight: 500;
    line-height: 1.5; margin-bottom: 20px; letter-spacing: 0.04em;
  }
  .contact-status {
    position: relative; z-index: 1;
    display: inline-block; padding: 8px 24px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px; font-size: 13px; letter-spacing: 0.15em;
    margin-bottom: 28px; backdrop-filter: blur(10px);
  }
  .contact-note {
    position: relative; z-index: 1;
    font-size: 14px; line-height: 2; color: rgba(255,255,255,0.85);
    max-width: 540px; margin: 0 auto 40px; letter-spacing: 0.02em;
  }
  .contact-tel-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; max-width: 900px; margin: 0 auto;
  }
  .contact-tel-block {
    display: flex; flex-direction: column; align-items: center;
    padding: 28px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: background 0.3s;
  }
  .contact-tel-block:hover { background: rgba(255,255,255,0.12); }
  .contact-tel-label {
    font-family: 'Shippori Mincho', serif;
    font-size: 14px; letter-spacing: 0.12em; color: rgba(255,255,255,0.9);
    margin-bottom: 10px; font-weight: 500;
  }
  .contact-tel {
    font-family: 'Fraunces', serif; font-size: 30px;
    font-weight: 300; color: #fff; letter-spacing: 0.02em;
    text-decoration: none; white-space: nowrap;
  }
  .contact-tel:hover { color: #5eead4; }
  .contact-hours {
    font-size: 11px; color: rgba(255,255,255,0.7);
    letter-spacing: 0.08em; margin-top: 10px;
  }
  .contact-sub {
    margin-top: 12px; font-family: 'Fraunces', serif;
    font-size: 13px; line-height: 1.95; letter-spacing: 0.04em;
    color: rgba(255,255,255,0.85);
  }
  .contact-sub a { color: rgba(255,255,255,0.85); text-decoration: none; }
  .contact-sub a:hover { color: #5eead4; }
  @media (max-width: 900px) {
    .contact-tel-grid { grid-template-columns: 1fr; max-width: 420px; gap: 12px; }
    .contact-tel-block { padding: 22px 20px; }
    .contact-tel { font-size: 28px; }
  }
  @media (max-width: 480px) {
    .contact-wrap { padding: 56px 22px; border-radius: 16px; }
    .contact-title { font-size: 24px; margin-bottom: 16px; }
    .contact-status { font-size: 12px; padding: 6px 18px; margin-bottom: 22px; }
    .contact-note { font-size: 13px; margin-bottom: 32px; }
    .contact-tel-label { font-size: 13px; }
    .contact-tel { font-size: 26px; }
  }

  /* ===== フッター ===== */
  footer {
    background: #0f1419; color: #a9b8c1; padding: 80px 48px 40px;
  }
  .footer-inner {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 2fr; gap: 80px;
  }
  .footer-brand .logo { color: #fff; margin-bottom: 24px; }
  .footer-brand .logo-text .ja { color: #fff; }
  .footer-brand .logo-text .en { color: #5a6770; }
  .footer-tagline {
    font-family: 'Shippori Mincho', serif; font-size: 18px;
    color: #fff; margin-bottom: 16px; letter-spacing: 0.08em;
  }
  .footer-desc {
    font-size: 13px; line-height: 2; color: #a9b8c1;
  }
  .footer-sitemap {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  }
  .footer-sitemap h4 {
    color: #fff; font-size: 13px; margin-bottom: 18px;
    letter-spacing: 0.1em; font-weight: 600;
  }
  .footer-sitemap a {
    color: #a9b8c1; text-decoration: none; font-size: 13px;
    display: block; padding: 5px 0; transition: color 0.2s;
  }
  .footer-sitemap a:hover { color: #5eead4; }
  .footer-copy {
    max-width: 1400px; margin: 60px auto 0; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08); font-size: 11px;
    color: #677682; letter-spacing: 0.05em;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  }
  @media (max-width: 800px) {
    .footer-inner { grid-template-columns: 1fr; gap: 48px; }
    .footer-sitemap { grid-template-columns: repeat(2, 1fr); }
    footer { padding: 60px 24px 30px; }
  }
  @media (max-width: 480px) {
    footer { padding: 48px 18px 24px; }
    .footer-inner { gap: 36px; }
    .footer-tagline { font-size: 16px; }
    .footer-desc { font-size: 12px; }
    .footer-sitemap h4 { font-size: 12px; margin-bottom: 12px; }
    .footer-sitemap a { font-size: 12px; }
    .footer-copy { font-size: 10px; margin-top: 40px; }
  }

/* >=1440px: 1440pxレイアウトをそのまま幅連動でズーム（2560pxで頭打ち） */
@media (min-width: 1440px) {
  .hero-left {
    padding: clamp(80px, 5.556vw, 142px) clamp(56px, 3.889vw, 100px);
    max-width: clamp(660px, 45.83vw, 1173px);
  }
  .hero-tag { font-size: clamp(12px, 0.833vw, 21px); margin-bottom: clamp(40px, 2.778vw, 71px); }
  .hero-tag::before { width: clamp(32px, 2.222vw, 57px); }
  .hero-headline { font-size: clamp(22px, 5vw, 128px); }
  .hero-divider { width: clamp(64px, 4.444vw, 114px); margin: clamp(43px, 3vw, 77px) 0 clamp(28px, 1.944vw, 50px); }
  .hero-firm { font-size: clamp(22px, 1.528vw, 39px); margin-bottom: clamp(36px, 2.5vw, 64px); }
  .hero-cta { padding: clamp(16px, 1.111vw, 28px) clamp(32px, 2.222vw, 57px); font-size: clamp(14px, 0.972vw, 25px); }
}
