/* =========================================================
   INDEX 月額ホームページ制作
   responsive.css
   ========================================================= */
   /* =========================================================
   横はみ出し防止
========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}
.sp-only {
  display: none;
}

/* ---------------------------------------------------------
   1200px以下：小型デスクトップ / 横向きタブレット
--------------------------------------------------------- */
@media (max-width: 1200px) {
  .tb-br {
    display: initial;
  }

  .site-header {
    padding: 0 28px;
  }

  .global-nav {
    gap: 20px;
    font-size: 14px;
  }

  .nav-cta {
    min-width: 165px;
  }

  .hero {
    padding: 0 36px;
  }

  .hero-copy {
    width: 46%;
  }

  .hero-media {
    width: 54%;
  }

  .hero-subhead {
    width: max-content;
  white-space: nowrap;
  }

  .hero-rule {
    margin-left: 80px;
  }

  .trust-strip {
    gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-wide {
    width: min(1180px, calc(100% - 48px));
  }

  .feature-card {
    grid-template-columns: 135px 1fr;
    padding: 30px;
  }

  .feature-copy h3 {
    font-size: 25px;
  }

  .feature-copy p {
    font-size: 16px;
  }

  .flow-contact {
    grid-template-columns: 130px 1fr 1fr;
  }

  .flow-contact-main {
    padding: 0 24px;
  }

  .flow-contact-phone {
    padding: 0 24px;
  }

  .flow-phone-icon {
    flex-basis: 80px;
    width: 80px;
    height: 80px;
  }

  .flow-phone-icon img {
    width: 80px;
    height: 80px;
  }

  .flow-contact-phone .phone-number {
    font-size: 30px;
  }

  .company-card {
    grid-template-columns: 220px 1fr 320px;
    gap: 20px;
  }
  /* ===== COMPARE ===== */

.compare-table thead th:first-child {
  width: 27%;
}

.compare-table thead th:not(:first-child) {
  width: 24.33%;
}

.compare-table tbody th {
  font-size: 14px;
  white-space: nowrap;
}

.row-icon {
  width: 52px;
  height: 52px;
  margin-right: 8px;
}

.compare-table tbody th > span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.4;
}

.compare-table tbody th small {
  font-size: 12px;
}
  .footer-inner {
    gap: 24px;
  }
}


/* ---------------------------------------------------------
   980px以下：タブレット
--------------------------------------------------------- */
@media (max-width: 980px) {


  /* ===== HEADER ===== */
  
    .site-header {
      height: 72px;
      padding: 0 24px;
    }
  
    .header-cmp {
      width: 240px;
    }
  
    .global-nav {
      display: none;
      position: absolute;
      top: 72px;
      left: 0;
      right: 0;
      z-index: 50;
  
      flex-direction: column;
      align-items: stretch;
      gap: 0;
  
      padding: 14px 24px 24px;
  
      background: #fff;
      border-top: 1px solid #eee;
      border-bottom: 1px solid #ddd;
      box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    }
  
    .global-nav.is-open {
      display: flex;
    }
  
    .global-nav > a:not(.nav-cta) {
      padding: 14px 4px;
      border-bottom: 1px solid #eee;
    }
  
    .nav-cta {
      width: 100%;
      height: 52px;
      margin-top: 14px;
    }
  
    .menu-button {
      display: block;
    }
  


  /* ===== HERO ===== */

.hero {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

/* PC用画像は980px以下で消す */
.hero-media-desktop {
  display: none;
}

.hero-copy {
  width: 100%;
  padding: 46px 32px 30px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-title {
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 3;
}

/* タイトルの下に画像を表示 */
.hero-media-mobile {
  display: flex;
  flex-direction: column;
  position: relative;
  width: calc(100% + 64px);
  max-width: none;
  margin: -45px -32px 30px;
  z-index: 1;
}

.hero-media-mobile img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.hero-media-mobile .works-link {
  right: 24px;
  bottom: 16px;
}

/* 画像の下にサブタイトル */
.hero-subhead {
  width: 100%;
  margin-top: 0;
  white-space: normal;
  text-align: center;
}

.hero-rule {
  width: 48px;
  height: 2px;
  background: #1756d3;
  margin: 24px auto 0;
}

.hero-lead {
  font-size: 16px;
  padding-top: 20px;
  text-align: center;
}

.hero-cta {
  width: min(420px, 100%);
}

  .works-link {
    right: 24px;
    bottom: 16px;
  }
  .initial-cost {
    font-size: 44px;
  }
  
  .monthly {
    font-size: 72px;
  }
  /* ===== 特徴を2列 ===== */

.hero .feature-list {
  width: 100%;
  max-width: 850px;
  margin: 24px auto 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 18px;
}

.hero .feature-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;

  margin: 0;
}

.hero .feature-icon {
  width: 42px;
  height: 42px;
  margin: 0;
}

.hero .feature-list li span {
  text-align: left;
}


/* LLMO説明を右側へ */
.hello-llmo-note {
  font-size: 11px;
  line-height: 1.5;
  color: #777;
  text-align: center;
}


/* ※1も右側へ */
.plan-note {
  font-size: 12px;
  text-align: center;
}


/* 相談ボタンを中央 */
.hero-cta {
  margin-left: auto;
  margin-right: auto;
}

  /* ===== TRUST ===== */

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px 5px;
    background-color: #f5f8ff;
  }

  .trust-strip article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 10px 10px;
    text-align: center;
    position: relative;
  }

  /* 区切り線 */
  .trust-strip article:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 18px;
    bottom: 18px;

    width: 1px;
    height: auto;
    background: #d8d8d8;
  }

  /* アイコン */
  .trust-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    margin: 0 0 12px;
  }

  .trust-icon img {
    width: 100%;
    height: 100%;
    padding-top: 0;
    object-fit: contain;
  }

  /* 見出し */
  .trust-label {
    min-height: 0;
    margin: 0 0 6px;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
  }

  /* 数字 */
  .trust-value {
    min-height: 0;
    margin: 0 0 10px;

    font-size: 42px;
    line-height: 1.1;
  }

  .trust-value small {
    font-size: 20px;
  }

  /* 説明 */
  .trust-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
  }

  /* 3つ目 */
  .trust-strip article:nth-child(3) .trust-label {
    font-size: 20px;
    white-space: nowrap;
  }

  .trust-strip article:nth-child(3) .trust-note {
    margin-top: 10px;
  }
  /* ===== 共通見出し ===== */

  .kicker-inner,
  .flow-inner,
  .demo-inner,
  .faq-inner,
  .contact-inner {
    width: calc(100% - 48px);
  }

  .compare-block,
  .price-block {
    width: calc(100% - 48px);
  }

  .feature-wide {
    width: calc(100% - 48px);
  }

  .main-title {
    font-size: clamp(34px, 6vw, 48px);
  }


  /* ===== PROBLEM ===== */

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .problem-card {
    min-height: 190px;
  }


  /* ===== VALUE ===== */

  .value-grid {
    grid-template-columns: 1fr;
    gap: 90px;

    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .value-card {
    min-height: 0;
  }


  /* ===== FEATURE ===== */

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;

    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }


  /* ===== FLOW ===== */

.flow-grid {
  grid-template-columns: 1fr;
  gap: 30px;

  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}


/* プランカード */
.flow-plan {
  padding-bottom: 20px;
}


/* STEP一覧 */
.flow-list {
  list-style: none;
  padding: 8px 18px 0;
  margin: 0;
}

.flow-list li {
  display: grid;

  grid-template-columns: 82px 1fr;
  align-items: start;
  gap: 14px;

  min-height: 0;
  padding: 10px 0;
}


/* STEP 01 */
.step-no {
  color: #1758ca;

  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;

  letter-spacing: .02em;

  padding: 3px 12px 3px 0;

  border-right: 1px solid #c7ced8;

  min-height: 36px;

  white-space: nowrap;
}


/* お問い合わせ、ヒアリングなど */
.flow-list strong {
  display: block;

  font-size: 21px;
  line-height: 1.4;
  font-weight: 800;
}


/* 説明文 */
.flow-list p {
  margin: 2px 0 0;

  font-size: 15px;
  line-height: 1.55;
}


/* お問い合わせエリア */
.flow-contact {
  grid-template-columns: 110px 1fr;
}

.flow-contact .support-icon {
  grid-row: 1 / 3;
  height: 100%;
}

.flow-contact-main {
  min-height: 125px;

  border-right: 0;
  border-bottom: 1px solid #cfd7e3;
}

.flow-contact-phone {
  min-height: 125px;
  padding: 12px 24px;
}


  /* ===== DEMO ===== */

  .demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
  }
  /* ===== COMPARE ===== */

.compare-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 860px;
  min-width: 860px;
  font-size: 14px;
}

/* 左の項目列を少し広めに確保 */
.compare-table thead th:first-child {
  width: 190px;
}

.compare-table thead th:not(:first-child) {
  width: calc((860px - 190px) / 3);
}

/* セル全体を少しコンパクトに */
.compare-table th,
.compare-table td {
  padding: 12px 10px;
}

/* 左列 */
.compare-table tbody th {
  white-space: nowrap;
}

/* アイコンを小さく */
.row-icon {
  width: 44px;
  height: 44px;
  margin-right: 8px;

  display: inline-block;
  vertical-align: middle;
}

/* 項目名 */
.compare-table tbody th > span {
  display: inline-block;
  vertical-align: middle;

  white-space: normal;
  line-height: 1.4;
}

/* 補足 */
.compare-table tbody th small {
  font-size: 12px;
}

/* 通常セル */
.compare-table tbody td {
  font-size: 13px;
  line-height: 1.5;
}

.compare-table small {
  font-size: 12px;
}

.big-blue {
  font-size: 24px;
}

  /* ===== PRICE ===== */

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .option-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .option-grid ul {
    margin: 0;
    padding: 0;
  }

  .option-grid ul + ul {
    margin-top: 0;
  }

  .price-cta {
    max-width: 720px;
  }



  /* ===== COMPANY ===== */

  .company-card {
    grid-template-columns: 220px 1fr;
  }

  .company-map {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .brand-panel {
    min-height: 500px;
  }


  /* ===== FOOTER ===== */

  .footer-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
  
    width: calc(100% - 48px);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------
   640px以下：スマートフォン
--------------------------------------------------------- */
@media (max-width: 640px) {
  .sp-only {
    display: initial;
  }

  .tb-br {
    display: none;
  }

  /* ===== 共通 ===== */

  .kicker-inner,
  .flow-inner,
  .demo-inner,
  .faq-inner,
  .contact-inner,
  .compare-block,
  .price-block,
  .feature-wide {
    width: calc(100% - 32px);
  }

  .kicker-inner {
    padding: 38px 0 42px;
  }

  .section-kicker {
    padding-top: 10px;
    font-size: 13px;
  }

  .main-title {
    font-size: 30px;
    line-height: 1.35;
  }

  .title-line {
    width: 52px;
    margin: 18px auto 18px;
  }

  .main-intro {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 12px;
  }


  /* ===== HEADER ===== */

  .site-header {
    padding: 0 18px;
  }

  .header-cmp {
    width: 180px;
    padding-top: 10px;
  }

  .global-nav {
    padding-left: 18px;
    padding-right: 18px;
  }



  /* ===== HERO ===== */

.hero-media-desktop {
  display: none;
}

.hero-copy {
  width: 100%;
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}

.hero-lead {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}


/* 画像だけ画面の左右いっぱいまで広げる */
.hero-media-mobile {
  display: flex;
  flex-direction: column;
  width: 100vw;
  max-width: none;
  margin: 18px 0 24px calc(50% - 50vw);
  position: relative;
}

.hero-media-mobile img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

/* 文字は左右8pxの範囲 */
.hero-title,
.hero-subhead,
.hero-lead {
  width: 100%;
  max-width: none;
}

.initial-cost {
  font-size: 32px;
}

.monthly {
  font-size: 54px;
  white-space: nowrap;
}


.hero-subhead {
  width: 100%;
  max-width: none;
  margin-top: 22px;
  font-size: 23px;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
}

.hero-rule {
  width: 54px;
  margin: 22px auto 18px;
}

  .hero-lead {
    width: 100%;
    max-width: none;
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
  }

  /* ===== FV 特徴リスト ===== */

.hero .feature-list {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 0;
}

.hero .feature-list li {
  display: grid;
  grid-template-columns: 42px auto;
  align-items: center;
  gap: 10px;

  width: auto;
  margin-bottom: 10px;
}

.hero .feature-list li span {
  text-align: left;
}

.hero .feature-icon {
  width: 42px;
  height: 42px;
  margin: 0;
  justify-self: center;
}

  .hello-llmo-note {
    margin: 4px 8px 0 38px;
    font-size: 10px;
    line-height: 1.5;
  }

  .plan-note {
    font-size: 12px;
    text-align: left;
    padding-left: 20px;
  }

  .hero-cta {
    height: 70px;
    margin-top: 22px;
  }

  .cta-main {
    font-size: 21px;
  }

  .works-link {
    right: 16px;
    bottom: 10px;

    gap: 14px;

    font-size: 13px;
  }


  /* ===== TRUST ===== */
.trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px 18px 12px;
  background-color: #f5f8ff;
}

.trust-strip article {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-height: auto;
  padding: 18px 0;
}

.trust-strip article:not(:last-child) {
  border-bottom: 1px solid #d8d8d8;
}

.trust-strip article:not(:last-child)::after {
  display: none;
}

.trust-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.trust-icon img {
  width: 120%;
  height: 120%;
  object-fit: contain;
  padding-top: 0;
}

.trust-strip article > div:last-child {
  flex: 1;
  min-width: 0;
}

.trust-label {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;

}

.trust-value {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 6px;
}

.trust-value small {
  font-size: 18px;
}

.trust-note {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* 3つ目だけ大きくしていた指定をスマホでは戻す */
.trust-strip article:nth-child(3) .trust-label {
  font-size: 20px;
}
/* 上2つだけ「見出し＋数字」を1行にする */
.trust-strip article:nth-child(1) > div:last-child,
.trust-strip article:nth-child(2) > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 10px;
  width: 100%;
  text-align: center;
}

.trust-strip article:nth-child(1) .trust-label,
.trust-strip article:nth-child(2) .trust-label {
  margin: 0;
}

.trust-strip article:nth-child(1) .trust-value,
.trust-strip article:nth-child(2) .trust-value {
  margin: 0;
}

/* 説明文だけ次の行へ */
.trust-strip article:nth-child(1) .trust-note,
.trust-strip article:nth-child(2) .trust-note {
  width: 100%;
  margin-top: 6px;
}

  /* ===== PROBLEM ===== */

  .problem-card {
    min-height: 0;
    padding: 26px 22px;
  }

  .problem-card-icon {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;

    margin-right: 20px;
  }

  .problem-card-icon img {
    width: 82px;
  }

  .problem-card-text {
    font-size: 19px;
  }

  .problem-card::after {
    left: 42px;
  }

  .problem-transition {
    padding: 24px 18px 18px;
  }

  .problem-transition p {
    font-size: 15px;
  }


  /* ===== VALUE ===== */  
  .pc-only {
    display: none;
  }

  .value-grid {
    gap: 82px;
    margin-top: 88px;
  }

  .value-card {
    padding: 52px 24px 32px;
  }

  .number-badge {
    top: -54px;

    width: 96px;
    height: 96px;

    font-size: 36px;
  }

  .value-icon img {
    width: 150px;
  }

  .value-card h3 {
    font-size: 24px;
  }

  .value-card p {
    font-size: 17px;
  }


  /* ===== FEATURE ===== */

  .feature-card {
    min-height: 0;

    grid-template-columns: 1fr;
    gap: 0;

    padding: 58px 22px 28px;

    text-align: center;
  }

  .feature-number {
    top: 18px;
    left: 20px;

    font-size: 23px;
  }

  .feature-icon {
    width: 120px;
    height: 110px;

    margin: 0 auto 8px;
  }

  .feature-icon img {
    width: 160px;
    transform: none;
  }

  .feature-copy {
    padding-top: 0;
    transform: none;
  }

  .feature-copy h3 {
    font-size: 23px;
  }

  .feature-copy p {
    font-size: 14px;
  }


  /* ===== FLOW ===== */

  .flow-inner {
    padding-top: 24px;
  }

  .flow-grid {
    margin-top: 28px;
  }

  .plan-heading {
    padding: 11px 12px;
  }

  .plan-heading h3 {
    font-size: 24px;
    white-space: normal;
  }

  .plan-heading small {
    font-size: 15px;
  }

  .flow-list {
    padding-top: 8px;
  }

  .flow-list li {
    grid-template-columns: 82px 1fr;

    gap: 14px;
    min-height: 58px;

    padding-right: 14px;
  }

  .step-no {
    font-size: 15px;
    padding-right: 10px;
  }

  .flow-list strong {
    font-size: 20px;
  }

  .flow-list p {
    font-size: 14px;
  }

  .flow-contact {
    grid-template-columns: 1fr;
  }

  .flow-contact .support-icon {
    grid-row: auto;

    height: 92px;

    border-right: 0;
    border-bottom: 1px solid #cfd7e3;
  }

  .flow-contact .support-icon img {
    width: 78px;
    height: 78px;
  }

  .flow-contact-main {
    min-height: 130px;
    padding: 20px;
  }

  .flow-contact-title {
    font-size: 19px;
  }

  .flow-contact-phone {
    min-height: 120px;

    padding: 18px;
  }

  .flow-phone-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }

  .flow-phone-icon img {
    width: 64px;
    height: 64px;
  }

  .flow-contact-phone p {
    font-size: 15px;
  }

  .flow-contact-phone .phone-number {
    font-size: 25px;
  }

  .flow-contact-phone small {
    font-size: 12px;
  }


  /* ===== DEMO ===== */

  .demo-grid {
    grid-template-columns: 1fr;

    gap: 30px;

    margin-top: 38px;
  }


  /* ===== COMPARE ===== */

  .compare-table-wrap {
  width: 100%;
  max-width: 100%;

  margin: 0;
  padding: 0;

  overflow-x: auto;
  overflow-y: hidden;

  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 760px;
  min-width: 760px;

  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 12px 10px;
}

.compare-table thead th:first-child {
  width: 180px;
}

.row-icon {
  width: 46px;
  height: 46px;
}


  /* ===== PRICE ===== */

  .zero-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    width: calc(100% - 32px);
    min-width: 0;
    padding: 18px 20px;
    gap: 8px;
  }

  .zero-banner-text {
    font-size: 20px;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
  }

  .zero-banner strong {
    font-size: 48px;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
  }


  .price-card h3 {
    font-size: 24px;
  }

  .standard-card h3 small {
    font-size: 15px;
  }

  .price strong {
    font-size: 40px;
  }

  .price small {
    font-size: 15px;
  }

  .plan-target {
    margin-left: 18px;
    margin-right: 18px;

    font-size: 15px;
  }

  .price-card ul {
    padding: 0 24px 28px;
  }

  .price-card li {
    font-size: 16px;
  }

  .option-box {
    display: grid;
    grid-template-columns: 1fr;

    width: 100%;
    padding: 20px 18px;

    gap: 14px;
  }

  .option-title {
    margin: 0;
    font-size: 20px;
  }

  .option-grid {
    display: grid;
    grid-template-columns: 1fr;

    width: 100%;
    gap: 0;
  }

  .option-grid ul {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .option-grid li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;

    width: 100%;
    gap: 12px;

    padding: 8px 0;

    font-size: 16px;
    line-height: 1.5;
  }

  .option-grid li span::before {
    margin-right: 6px;
  }

  .option-grid strong {
    padding-left: 0;
    text-align: right;
    white-space: nowrap;
    font-size: 16px;
  }

  .price-cta a {
    width: 100%;
  }


  /* ===== FAQ ===== */

  .faq-list {
    margin-top: 22px;
  }

  .faq-question {
    min-height: 58px;

    grid-template-columns: 26px 1fr 24px;

    gap: 10px;

    padding: 12px 14px;
  }

  .question-text {
    font-size: 14px;
  }

  .faq-toggle {
    font-size: 22px;
  }

  .faq-answer {
    grid-template-columns: 26px 1fr;

    gap: 10px;

    padding: 8px 14px 18px;
  }

  .answer-text {
    font-size: 13px;
  }

  .faq-cta {
    width: 100%;
  }


  /* ===== CONTACT ===== */

  .form-heading {
    margin-top: 34px;
  }

  .form-row {
    min-height: 0;

    grid-template-columns: 1fr;
    gap: 10px;

    padding: 18px 4px;
  }

  .form-row label {
    font-size: 15px;
  }

  .form-row input {
    height: 56px;
  }

  .form-row textarea {
    min-height: 130px;
  }

  .form-row-message label {
    padding-top: 0;
  }

  .form-submit button {
    height: 66px;
    font-size: 20px;
  }


  /* ===== COMPANY ===== */

  .company-inner {
    width: calc(100% - 32px);
    padding-top: 36px;
  }

  .company-card {
    grid-template-columns: 1fr;

    gap: 18px;

    margin-top: 32px;
    padding: 18px;
  }

  .brand-panel {
    min-height: 260px;
  }

  .company-section .brand-logo {
    font-size: 58px;
  }

  .info-row {
    grid-template-columns: 120px 1fr;
    gap: 12px;

    min-height: 72px;
  }

  .info-row dt,
  .info-row dd {
    font-size: 12px;
  }

  .company-map {
    grid-column: auto;
    min-height: 260px;
  }

  .company-cta {
    padding: 26px 16px 24px;
  }

  .company-phone {
    flex-wrap: wrap;
  }


  /* ===== FOOTER ===== */

  .footer-inner {
    width: calc(100% - 32px);

    grid-template-columns: 1fr;

    gap: 30px;

    padding: 36px 0 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-column {
    gap: 10px;
  }

  .footer-column h3 {
    margin-bottom: 6px;
  }

  .footer-bottom {
    min-height: 64px;

    padding: 0 16px;

    grid-template-columns: 1fr auto;
  }

  .footer-bottom p {
    grid-column: 1;

    font-size: 9px;
  }

  .back-to-top {
    grid-column: 2;
  }

.footer-column {
  gap: 0;

  border-bottom: 1px solid #d8dde5;
}

.footer-column h3 {
  position: relative;

  margin: 0;
  padding: 18px 4px;

  font-size: 15px;

  cursor: pointer;
}

.footer-column h3::after {
  content: "＋";

  position: absolute;
  right: 4px;
  top: 50%;

  transform: translateY(-50%);

  color: #1559d5;

  font-size: 20px;
  font-weight: 400;
}


/* 最初は閉じる */

.footer-column > a,
.footer-column > p {
  display: none;
}


/* 開いた状態 */

.footer-column.is-open > a,
.footer-column.is-open > p {
  display: block;
}

.footer-column.is-open h3::after {
  content: "−";
}

.footer-column.is-open > a {
  padding: 8px 4px;
}

.footer-column.is-open > p {
  padding: 4px;
}
}

/* ---------------------------------------------------------
   420px以下：小型スマートフォン
--------------------------------------------------------- */
@media (max-width: 420px) {

.hero-img {
  width: 100%;
  height: auto;
}
  .main-title {
    font-size: 27px;
  }

  .hero-title {
    text-align: center;
  }
  .hero-rule {
    width: 48px;
    height: 2px;
    background: #1756d3;
    margin: 20px auto 0;
  }
  .initial-cost {
    font-size: 30px;
  }
  .hero-subhead {
    font-size: 20px;
    text-align: center;
  }

  .hero-cta {
    padding-left: 45px;
    padding-right: 45px;
  }

  .problem-card {
    align-items: flex-start;
  }

  .problem-card-icon {
    flex-basis: 78px;

    width: 78px;
    height: 78px;

    margin-right: 14px;
  }

  .problem-card-icon img {
    width: 68px;
  }

  .problem-card-text {
    font-size: 17px;
  }

  .flow-list li {
    grid-template-columns: 74px 1fr;
  }

  .flow-list strong {
    font-size: 18px;
  }

  .flow-contact-phone {
    gap: 10px;
  }

  .flow-contact-phone .phone-number {
    font-size: 22px;
  }
  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;

    padding: 12px 0;
  }

  .company-phone strong {
    font-size: 18px;
  }
}
/* ==========================================
   641px以上はフッターを通常表示
========================================== */

@media (min-width: 641px) {

  .footer-column > a,
  .footer-column > p {
    display: block !important;
  }

  .footer-column {
    gap: 14px;
    border-bottom: 0;
  }

  .footer-column h3 {
    margin: 0 0 12px;
    padding: 0;
    cursor: default;
  }

  .footer-column h3::after {
    content: none !important;
    display: none !important;
  }
}