@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  font-family: 'ヒラギノ角ゴ Pro W3', Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, Osaka, 'ＭＳ Ｐゴシック', MS PGothic, sans-serif;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-size: 1rem;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
  align-items: center;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  width: 100%;
  flex-grow: 1;
  padding: 24px;
  max-width: 1200px;
  margin-top: 104px;
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  font-size: 1rem;
}

a {
  color: currentColor;
  text-decoration: none;
}

ul,
ol {
  padding-left: 1.5rem;
}


header {
  width: 100%;
  position: fixed;
  z-index: 9999;
}

header .header-inner {
  margin: 16px;
  padding: 16px 32px;
  background-color: #ffffff;
  border-radius: 100rem;
  box-shadow: 0 2px 5px #0003;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .header-inner .header-logo {
  height: 40px;
}

header .header-inner .header-logo a {
  display: block;
}

header .header-inner .header-logo a,
header .header-inner .header-logo img {
  width: auto;
  height: 40px;
}

header nav,
header ul {
  display: flex;
  align-items: center;
}

header ul li {
  list-style: none;
  padding: 8px;
}

@media (max-width: 900px) {
  header .header-inner {
    padding: 12px 24px;
  }

  header .header-inner .header-logo {
    height: 32px;
  }


  header .header-inner .header-logo a,
  header .header-inner .header-logo img {
    height: 32px;
  }

  #global-navi {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    flex-direction: column;
  }

  #global-navi a {
    display: block;
    padding: 16px 0;
  }

  #global-navi ul {
    width: 100%;
    padding: 16px;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  #global-navi li.menu-item {
    background: var(--main-color);
    color: #ffffff;
    padding: 0 24px;
    border-radius: 100px;
  }


  #global-navi li.lang-item {
    text-align: right;
    background: none;
    color: #333333;
    padding: 0 16px;
    grid-column: 1 / -1;
  }

  .btn-gnavi {
    position: relative;
    z-index: 1002;
    width: 30px;
    height: 20px;
  }

  .btn-gnavi span {
    position: absolute;
    width: 30px;
    height: 4px;
    border-radius: 10px;
    background: var(--main-color);
    transition: .3s;
  }

  header .btn-gnavi span:nth-child(1) {
    top: 0;
  }

  header .btn-gnavi span:nth-child(2) {
    top: 8px;
  }

  header .btn-gnavi span:nth-child(3) {
    top: 16px;
  }

  .btn-gnavi.hb-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .btn-gnavi.hb-open span:nth-child(2) {
    opacity: 0;
  }

  .btn-gnavi.hb-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ==============================
  ヒーローセクション
   ============================== */
.hero {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 88% 6%, color-mix(in srgb, var(--main-color) 12%, #ffffff) 0%, #ffffff 55%),
    var(--sub-color);
  padding-top: 104px;
  margin-bottom: 24px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 80px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
}

.hero--has-visual .hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
}

.hero__content {
  min-width: 0;
  max-width: 640px;
}

.hero__title {
  /* editor-style.css のグローバル h1 装飾（枠線・背景・余白）を打ち消す */
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #1c2a44;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.hero__lead {
  margin: 20px 0 0;
  color: #55617a;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.85;
}

.hero__search {
  position: relative;
  margin-top: 30px;
  max-width: 560px;
}

.hero__search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero__search-icon {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  display: inline-flex;
  color: var(--main-color);
  pointer-events: none;
}

.hero__search input[type="search"] {
  width: 100%;
  padding: 18px 24px 18px 56px;
  border: 1px solid color-mix(in srgb, var(--main-color) 14%, #ffffff);
  border-radius: 100px;
  background: #ffffff;
  color: #1c2a44;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
  -webkit-appearance: none;
  appearance: none;
}

.hero__search input[type="search"]::placeholder {
  color: #97a1b5;
}

.hero__search input[type="search"]:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 26px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hero__btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
}

.hero__btn--primary {
  background: var(--main-color);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 76, 138, 0.28);
}

.hero__btn--primary .hero__btn-arrow {
  background: rgba(255, 255, 255, 0.22);
}

.hero__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(37, 76, 138, 0.34);
}

.hero__btn--secondary {
  background: #ffffff;
  color: var(--main-color);
  border: 1.5px solid color-mix(in srgb, var(--main-color) 35%, #ffffff);
}

.hero__btn--secondary .hero__btn-arrow {
  background: color-mix(in srgb, var(--main-color) 12%, #ffffff);
}

.hero__btn--secondary:hover {
  transform: translateY(-2px);
  border-color: var(--main-color);
}

.hero__visual {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .hero__visual {
    display: none;
  }
}


.hero__visual img {
  max-width: 100%;
  max-height: 350px;
  filter: drop-shadow(0 30px 50px rgba(37, 76, 138, 0.22));
}

/* 装飾 */
.hero__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  top: -12%;
  right: -8%;
  width: 56%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 32% 30%,
      color-mix(in srgb, var(--main-color) 18%, #ffffff),
      color-mix(in srgb, var(--main-color) 7%, #ffffff));
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--main-color) 16%, transparent);
}

.hero__ring--1 {
  width: 140px;
  height: 140px;
  top: 14%;
  left: 48%;
}

.hero__ring--2 {
  width: 68px;
  height: 68px;
  bottom: 18%;
  left: 42%;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .hero--has-visual .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    padding: 48px 20px 56px;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .hero__inner {
    padding: 36px 16px 44px;
  }

  .hero__actions .hero__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ==============================
  検索結果ページ
   ============================== */
.search-page {
  width: 100%;
  max-width: 1200px;
}

.search-page__title {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: none;
  color: #1c2a44;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.4;
  word-break: break-word;
}

.search-page__title span {
  color: var(--main-color);
}

.search-page__form {
  margin: 0 0 24px;
  max-width: 100%;
}

.search-page__count {
  margin: 0 0 12px;
  color: #66728a;
  font-size: 0.9rem;
}

.search-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.search-card {
  display: block;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.search-card:hover {
  border-color: color-mix(in srgb, var(--main-color) 40%, #ffffff);
  box-shadow: 0 8px 20px rgba(37, 76, 138, 0.1);
  transform: translateY(-1px);
}

.search-card__type {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 100px;
  background: #eaf2ff;
  color: var(--main-color);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.search-card__title {
  display: block;
  color: #13213f;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.search-card__excerpt {
  display: block;
  margin-top: 6px;
  color: #55617a;
  font-size: 0.86rem;
  line-height: 1.7;
}

.search-page__empty {
  margin: 8px 0 20px;
  color: #55617a;
  font-size: 0.95rem;
}

.search-page__back {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 100px;
  background: var(--main-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

/* ==============================
   機能カード
   ============================== */
.feature-cards {
  margin-bottom: 32px;
}

.feature-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 22px 26px;
  background: #ffffff;
  border: 1px solid #e7edf6;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(37, 76, 138, 0.14);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.feature-card__icon svg {
  width: 48px;
  height: 48px;
}

.feature-card__title {
  margin-bottom: 12px;
  color: #1c2a44;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.feature-card__desc {
  margin: 0 0 22px;
  color: #66728a;
  font-size: 0.85rem;
  line-height: 1.7;
}

.feature-card__arrow {
  margin-top: auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f2;
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

/* カラーバリエーション（アイコン円 / 矢印） */
.feature-card--about .feature-card__icon {
  background: #ece9fb;
  color: #6b5bd2;
}

.feature-card--help .feature-card__icon {
  background: #e3f3ea;
  color: #2e9e6b;
}

.feature-card--faq .feature-card__icon {
  background: #e7effb;
  color: #3f6fd1;
}

.feature-card--contact .feature-card__icon {
  background: #fbeed8;
  color: #e0922f;
}

.feature-card--about .feature-card__arrow {
  color: #6b5bd2;
}

.feature-card--help .feature-card__arrow {
  color: #2e9e6b;
}

.feature-card--faq .feature-card__arrow {
  color: #3f6fd1;
}

.feature-card--contact .feature-card__arrow {
  color: #e0922f;
}

/* hover で矢印を塗りつぶし（背景=アクセント色 / 文字=白） */
.feature-card:hover .feature-card__arrow {
  color: #ffffff;
}

.feature-card--about:hover .feature-card__arrow {
  background: #6b5bd2;
  border-color: #6b5bd2;
}

.feature-card--help:hover .feature-card__arrow {
  background: #2e9e6b;
  border-color: #2e9e6b;
}

.feature-card--faq:hover .feature-card__arrow {
  background: #3f6fd1;
  border-color: #3f6fd1;
}

.feature-card--contact:hover .feature-card__arrow {
  background: #e0922f;
  border-color: #e0922f;
}

@media (max-width: 900px) {
  .feature-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .feature-cards__grid {
    grid-template-columns: 1fr;
  }
}

.home-main {
  max-width: 1200px;
  padding: 24px;
}

.home-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.home-panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e7edf6;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.home-panel__header {
  min-height: 80px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #dfe7f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--main-color);
  font-weight: bold;
}

.home-panel__all-link {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--main-color);
}

.home-panel__all-link:hover,
.home-panel__all-link:focus-visible {
  text-decoration: underline;
}

.home-panel__body {
  padding: 16px 28px 22px;
}

.home-panel__empty {
  padding: 18px 0;
  color: #66728a;
  font-size: 0.92rem;
}

.home-news-list,
.accordion-list {
  padding-left: 0;
  list-style: none;
}

.home-news-list__item+.home-news-list__item {
  border-top: 1px solid #e5ebf4;
}

.home-news-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.home-news-card__label {
  justify-self: start;
  min-width: 72px;
  padding: 6px 12px;
  border-radius: 100px;
  background: #eaf2ff;
  color: var(--main-color);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.home-news-list__item:nth-child(3n + 1) .home-news-card__label {
  background: #fde9ef;
  color: #d74f72;
}

.home-news-list__item:nth-child(3n + 2) .home-news-card__label {
  background: #e9f1ff;
  color: #356dca;
}

.home-news-list__item:nth-child(3n) .home-news-card__label {
  background: #ddf6ec;
  color: #27986e;
}

.home-news-card__content {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.home-news-card__date {
  color: #66728a;
  font-size: 0.82rem;
  line-height: 1.3;
}

.home-news-card__title,
.accordion-card__title {
  min-width: 0;
  color: #13213f;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-item-arrow {
  color: var(--main-color);
  font-size: 1.5rem;
  line-height: 1;
  text-align: right;
}

.accordion-list {
  display: grid;
  gap: 8px;
}

.accordion-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #edf1f7;
  border-radius: 24px;
}

.accordion-card[open] {
  border-radius: 18px;
}

.accordion-card__summary {
  min-height: 42px;
  padding: 16px 16px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.accordion-card__summary::-webkit-details-marker {
  display: none;
}

.home-news-card:hover .home-news-card__title,
.home-news-card:focus-visible .home-news-card__title,
.accordion-card__summary:hover .accordion-card__title,
.accordion-card__summary:focus-visible .accordion-card__title {
  color: var(--main-color);
}

.accordion-card__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.faq-icon {
  background: var(--main-color);
}

.help-icon {
  background: #2e9e6b;
}

.accordion-card__plus {
  color: var(--main-color);
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
  transition: transform 0.28s ease;
}

.accordion-card.is-open .accordion-card__plus {
  transform: rotate(45deg);
}

/* grid-template-rows を 0fr→1fr でトランジションさせる開閉アニメーション。
   height を直接アニメさせないため reflow が最小化され滑らかに動く。 */
.accordion-card__answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.accordion-card.is-open .accordion-card__answer-wrap {
  grid-template-rows: 1fr;
}

/* grid アイテムは「潰れる箱」に徹する。縦の余白は持たせない
   （padding/margin を持つと 0fr でもその分の高さが残り、閉じる時に残像になる） */
.accordion-card__answer {
  overflow: hidden;
  min-height: 0;
}

/* 余白・文字スタイルは折りたたまれる内側に置く */
.accordion-card__answer-inner {
  margin: 0 16px 0 56px;
  padding: 12px 0 16px;
  color: #33405a;
  font-size: 0.88rem;
  line-height: 1.75;
}

.accordion-card__answer-inner>*+* {
  margin-top: 0.75em;
}

@media (prefers-reduced-motion: reduce) {
  .accordion-card__plus {
    transition: none;
  }

  .accordion-card__answer-wrap {
    transition: none;
  }
}

.mail_form h4 {
  margin: 28px 0 10px;
  padding: 0;
  background: none;
  color: #13213f;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.mail_form h4:first-of-type {
  margin-top: 0;
}

.mail_form h4 span {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 100px;
  background: #fde9ef;
  color: #d74f72;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.mail_form p {
  margin-bottom: 10px;
  color: #66728a;
  font-size: 0.9rem;
  line-height: 1.7;
}

.mail_form .caution {
  margin-top: 8px;
  font-size: 0.82rem;
}

.mail_form input[type="text"],
.mail_form input[type="email"],
.mail_form input[type="tel"],
.mail_form select,
.mail_form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background-color: #ffffff;
  color: #13213f;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(37, 76, 138, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
}

.mail_form input[type="text"]:focus,
.mail_form input[type="email"]:focus,
.mail_form input[type="tel"]:focus,
.mail_form select:focus,
.mail_form textarea:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color) 14%, transparent);
}

.mail_form input::placeholder,
.mail_form textarea::placeholder {
  color: #97a1b5;
}

.mail_form select {
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--main-color) 50%),
    linear-gradient(135deg, var(--main-color) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.mail_form textarea {
  min-height: 180px;
  resize: vertical;
}

.mail_form .yyyy,
.mail_form .mm,
.mail_form .dd,
.mail_form .hour {
  width: auto;
  min-width: 96px;
  margin: 0 6px 8px 0;
}

.device_categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.device_categories label {
  min-height: 42px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce5f2;
  border-radius: 100px;
  background: #ffffff;
  color: #13213f;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.device_categories label:has(input:checked) {
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color) 10%, transparent);
}

.device_categories input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--main-color);
}

.mail_form .button_box {
  margin-top: 28px;
  text-align: center;
}

.mail_form input[type="submit"].button {
  width: auto;
  min-width: 180px;
  min-height: 48px;
  padding: 14px 28px;
  border: 0;
  border-radius: 100px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37, 76, 138, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
}

.mail_form input[type="submit"].button:hover,
.mail_form input[type="submit"].button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(37, 76, 138, 0.3);
}

.mail_form input[type="submit"].button:active {
  transform: translateY(0);
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {

  .mail_form input[type="text"],
  .mail_form input[type="email"],
  .mail_form input[type="tel"],
  .mail_form select,
  .mail_form textarea,
  .device_categories label,
  .mail_form input[type="submit"].button {
    transition: none;
  }
}

@media (max-width: 900px) {
  .home-panels {
    grid-template-columns: 1fr;
  }

  .home-panel__header {
    min-height: auto;
    padding: 20px 20px 16px;
  }

  .home-panel__body {
    padding: 14px 20px 20px;
  }

  .home-news-card {
    grid-template-columns: 78px minmax(0, 1fr) 14px;
    gap: 12px;
  }

  .home-news-card__label {
    min-width: 64px;
    padding: 6px 10px;
  }
}

@media (max-width: 700px) {
  .mail_form {
    padding: 22px 18px;
  }

  .device_categories {
    display: grid;
    grid-template-columns: 1fr;
  }

  .device_categories label {
    justify-content: flex-start;
  }

  .mail_form .yyyy,
  .mail_form .mm,
  .mail_form .dd,
  .mail_form .hour {
    width: calc(50% - 10px);
    min-width: 0;
  }

  .mail_form input[type="submit"].button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  main {
    padding: 16px;
  }

  .home-panel__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .home-news-card {
    grid-template-columns: minmax(0, 1fr) 14px;
  }

  .home-news-card__label {
    grid-column: 1 / -1;
  }

  .accordion-card,
  .accordion-card[open] {
    border-radius: 8px;
  }

  .accordion-card__summary {
    grid-template-columns: 26px minmax(0, 1fr) 16px;
    gap: 10px;
  }

  .accordion-card__answer-inner {
    margin: 0 14px 0 52px;
  }
}

.download_box {
  width: 100%;
  max-width: 1200px;
  padding: 24px;
}

.download_box_inner {
  width: 100%;
  padding: 24px;
  background-color: var(--sub-color);
  border-radius: 24px;
}

.download_box_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 16px;
}

.download_box_app {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.download_box_icon {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
}

.download_box_text {
  min-width: 0;
}

.download_box_text p {
  color: #13213f;
  font-size: 1rem;
  line-height: 1.45;
}

.download_box_text .app_catch {
  margin-bottom: 8px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.35;
}

.download_store_links {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.download_store_links a {
  display: block;
  line-height: 0;
}

.download_store_links img {
  width: auto;
  height: 44px;
}

.download_box_top img {
  max-width: 100%;
}

@media (max-width: 900px) {
  .download_box_top {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .download_store_links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .download_box {
    width: calc(100% - 32px);
    padding: 8px;
    border-radius: 18px;
  }

  .download_box_app {
    gap: 16px;
  }

  .download_box_icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .download_box_text .app_catch {
    font-size: 1.05rem;
  }

  .download_box_text p {
    font-size: 0.86rem;
  }

  .download_store_links img {
    height: 38px;
  }
}

.download_box ul {
  padding-left: 0;
  list-style: none;
}

.download_box li {
  font-size: 0.7rem;
  padding-left: 0.75rem;
  position: relative;
}

.download_box li::before {
  content: '※';
  position: absolute;
  top: 0;
  left: 0;
}


footer {
  width: 100%;
  padding: 32px 56px;
  background-color: var(--footer-color);
  color: var(--footer-text-color);
}

@media (max-width: 900px) {
  footer {
    padding: 24px;
  }
}

footer .footer-top {
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 900px) {
  footer .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

footer .footer-logo {
  width: 150px;
  height: auto;
}

@media (max-width: 900px) {
  footer .footer-logo {
    margin-bottom: 16px;
  }
}

footer .footer-logo a,
footer .footer-logo img {
  width: 100%;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  footer ul {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

footer ul li {
  padding-left: 16px;
  list-style: none;
}

@media (max-width: 900px) {
  footer ul li {
    padding-left: 0;
  }
}

hr {
  color: var(--footer-text-color);
  opacity: 0.3;
}

footer .copy {
  padding-top: 8px;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  footer .copy {
    text-align: center;
    font-size: 0.7rem;
  }
}