/* ====== ベース ====== */
.kio-main {
  background-color: #000;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

.kio-landing {
  min-height: 100vh;
}

.kio-section {
  padding: 3.5rem 1.5rem;
  position: relative;
}

.kio-section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.kio-heading-main {
  font-size: 2.8rem;
  letter-spacing: 0.18em;
  text-align: center;
  margin: 0;
}

.kio-heading-section {
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.kio-section__sub {
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0.15em;
  margin: 0 0 2rem;
}

.kio-lead {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.8;
  margin-top: 1.8rem;
}

.kio-text {
  font-size: 0.98rem;
  line-height: 1.9;
}

/* ====== ヒーロー ====== */
.kio-hero {
  position: relative;
  padding: 1.5rem 1.5rem 3.5rem;
  background: radial-gradient(circle at center, #3b0000 0, #000 60%);
  overflow: hidden;
}

.kio-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.kio-hero__logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kio-hero__site-name {
  font-size: 1rem;
  font-weight: 700;
}

.kio-hero__catch-1 {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

.kio-hero__catch-2 {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.25em;
}

.kio-hero__symbol {
  margin: 2.2rem auto 1.5rem;
  max-width: 320px;
}

.kio-hero__symbol-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.kio-hero__cta {
  margin-top: 1rem;
}

/* ====== ボタン ====== */
.kio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.9rem 1.8rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.12s ease;
}

.kio-button--primary {
  background-color: #a8101a;
  color: #fff;
}

.kio-button--secondary {
  background-color: #fff;
  color: #a8101a;
}

.kio-button--outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.kio-button:hover,
.kio-button:focus-visible {
  transform: translateY(-1px);
  background-color: #d31823;
  color: #fff;
}

/* ====== 8箇条 ====== */
.kio-section--rules {
  background-color: #050505;
}

.kio-rules {
  margin: 1.8rem auto 2rem;
  max-width: 640px;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.9;
}

.kio-rules li + li {
  margin-top: 0.6rem;
}

.kio-rules__buttons,
.kio-rules__buttons .kio-button {
  text-align: center;
}

.kio-rules__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
}

/* ====== ギャラリー ====== */
.kio-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.kio-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #151515;
}

.kio-gallery__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* ====== Information ====== */
.kio-section--info {
  background: linear-gradient(#111, #2b0004);
}

.kio-section__header--vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.kio-info-list {
  margin-top: 1.5rem;
  border-radius: 18px;
  background-color: #7e0d14;
  padding: 1.5rem 1.2rem;
}

.kio-info {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.kio-info:last-of-type {
  border-bottom: none;
}

.kio-info__link {
  display: block;
  padding: 0.9rem 0;
  color: #fff;
  text-decoration: none;
}

.kio-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  opacity: 0.9;
}

.kio-info__date {
  letter-spacing: 0.1em;
}

.kio-info__label {
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.kio-info__title {
  font-size: 0.96rem;
  margin: 0.4rem 0 0.2rem;
}

.kio-info__excerpt {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.85;
}

.kio-info__more {
  margin-top: 1.3rem;
  text-align: center;
}

/* ====== Contact ====== */
.kio-section--contact {
  background-color: #050505;
}

.kio-contact {
  max-width: 640px;
  margin: 0 auto;
}

/* ====== レスポンシブ ====== */
@media (min-width: 768px) {
  .kio-hero {
    padding: 1.5rem 2rem 4.5rem;
  }

  .kio-heading-main {
    font-size: 3.6rem;
  }

  .kio-lead {
    font-size: 1.5rem;
  }

  .kio-hero__logo {
    justify-content: space-between;
  }

  .kio-rules__buttons {
    flex-direction: row;
  }

  .kio-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .kio-section__header--vertical {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }

  .kio-section__sub {
    margin: 0;
  }

  .kio-info-list {
    padding: 2rem 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ===== 支部紹介 ===== */
.kio-section--branches {
  background-color: #f2f0ee;
  color: #4b1a16;
}

.kio-section--branches .kio-section__inner {
  max-width: 1120px;
}

.kio-section--branches .kio-heading-section,
.kio-section--branches .kio-section__sub {
  text-align: left;
}

.kio-section__header--branches {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
}

.kio-text--small {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.kio-button--small {
  min-width: 180px;
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}

.kio-branches__symbol-img {
  width: 100%;
  height: auto;
  max-width: 180px;
  margin-left: auto;
  display: block;
}

.kio-branches__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.3rem;
}

.kio-branches__item {
  margin: 0;
  background-color: #a8101a;
  overflow: hidden;
  position: relative;
}

.kio-branches__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* ===== BENEFITS ===== */
.kio-section--benefits {
  background-color: #a8101a;
  text-align: center;
}

.kio-section--benefits .kio-heading-section,
.kio-section--benefits .kio-section__sub {
  color: #fff;
}

.kio-benefits__price {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.kio-benefits__price-num {
  font-size: 1.4rem;
  font-weight: 700;
}

.kio-benefits__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.8rem auto 1.2rem;
}

.kio-benefit {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #fff;
}

.kio-benefits__note {
  font-size: 0.85rem;
  line-height: 1.7;
}

.kio-benefits__image {
  margin: 2rem auto 0;
  max-width: 640px;
  border-radius: 18px;
  overflow: hidden;
}

.kio-benefits__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Flow ===== */
.kio-section--flow {
  background-color: #fff;
  color: #4b1a16;
}

.kio-section--flow .kio-heading-section,
.kio-section--flow .kio-section__sub {
  color: #4b1a16;
}

.kio-flow {
  margin: 2rem auto 1.5rem;
  max-width: 480px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kio-flow li {
  border-radius: 999px;
  border: 1px solid #a8101a;
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
  text-align: center;
}

.kio-flow__cta {
  text-align: center;
}

/* ===== FAQ ===== */
.kio-section--faq {
  background-color: #f7f7f7;
  color: #333;
}

.kio-section--faq .kio-heading-section,
.kio-section--faq .kio-section__sub {
  color: #4b1a16;
}

.kio-faq {
  margin-top: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.kio-faq__item + .kio-faq__item {
  border-top: 1px solid #ddd;
}

.kio-faq__question {
  width: 100%;
  padding: 0.9rem 0.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.kio-faq__q-label {
  font-weight: 700;
  color: #a8101a;
}

.kio-faq__q-text {
  flex: 1;
}

.kio-faq__icon {
  font-size: 1.1rem;
  color: #a8101a;
}

.kio-faq__answer {
  padding: 0 0.5rem 0.9rem 1.7rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* 開閉時のシンプルなアニメーションを付けたい場合は、JSと合わせて調整 */
.kio-faq__item[open] .kio-faq__icon {
  transform: rotate(45deg);
}

/* ===== Contact us ===== */
.kio-section--contact {
  background-color: #fff;
  color: #333;
}

.kio-section--contact .kio-heading-section,
.kio-section--contact .kio-section__sub {
  color: #4b1a16;
}

.kio-contact__lead {
  margin-bottom: 1.5rem;
}

/* ===== LPフッター ===== */
.kio-section--lp-footer {
  background-color: #000;
  color: #fff;
  padding-bottom: 2.5rem;
}

.kio-lp-footer {
  text-align: center;
}

.kio-lp-footer__logo {
  width: 140px;
  height: auto;
  margin: 0 auto 0.5rem;
  display: block;
}

.kio-lp-footer__name {
  font-weight: 700;
  font-size: 1.1rem;
}

.kio-lp-footer__copy {
  font-size: 0.8rem;
  opacity: 0.85;
}

.kio-lp-footer__menu {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.5rem;
  font-size: 0.85rem;
}

.kio-lp-footer__menu a {
  color: #fff;
  text-decoration: none;
}

.kio-lp-footer__info {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.kio-lp-footer__contact {
  margin-top: 0.3rem;
}

.kio-lp-footer__copyright {
  font-size: 0.75rem;
  margin-top: 1.2rem;
  opacity: 0.7;
}

/* ===== レスポンシブ調整（追記） ===== */
@media (max-width: 767.98px) {
  .kio-section__header--branches {
    grid-template-columns: 1fr;
  }

  .kio-branches__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kio-benefit {
    width: 104px;
    height: 104px;
  }
}

@media (min-width: 1024px) {
  .kio-branches__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
/* ===== Skip link ===== */
.kio-skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  padding: 0.5rem 0.9rem;
  background: #000;
  color: #fff;
  z-index: 1000;
}
.kio-skip-link:focus {
  top: 8px;
}

/* ===== Global header ===== */
.site-header {
  background-color: #000;
  color: #fff;
}
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-header__branding {
  display: flex;
  flex-direction: column;
}
.site-header__title {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: #fff;
}
.site-header__description {
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.8;
}

/* ナビゲーション */
.site-header__nav {
  /* SPではJSで display を切り替え */
}
.site-header__menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}
.site-header__menu a {
  color: #fff;
  text-decoration: none;
}
.site-header__menu a:hover,
.site-header__menu a:focus-visible {
  text-decoration: underline;
}

/* ハンバーガー */
.site-header__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
}
.site-header__toggle-bar {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  margin: 4px 0;
}

/* スクリーンリーダー向けテキスト */
.screen-reader-text {
  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: 767.98px) {
  .site-header__inner {
    padding-inline: 1rem;
  }

  .site-header__nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #000;
    padding: 0.75rem 1rem 1rem;
  }

  .site-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .site-header__toggle {
    display: block;
  }
}

@media (min-width: 768px) {
  .site-header__nav {
    display: block !important; /* JSで display:none を上書きされないように */
  }}

  /* ===== Global footer ===== */
.site-footer {
  background-color: #000;
  color: #fff;
}
.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
}

/* ブランド部分 */
.site-footer__logo {
  width: 150px;
  height: auto;
  margin-bottom: 0.5rem;
}
.site-footer__name {
  font-weight: 700;
  font-size: 1.1rem;
}
.site-footer__tagline {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* メニュー */
.site-footer__menu {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.5rem;
  font-size: 0.85rem;
}
.site-footer__menu a {
  color: #fff;
  text-decoration: none;
}
.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
  text-decoration: underline;
}

/* 住所・連絡先 */
.site-footer__info {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}
.site-footer__contact a {
  color: #fff;
}

/* コピーライト */
.site-footer__copyright {
  font-size: 0.75rem;
  margin-top: 1rem;
  opacity: 0.7;
}

/* ===== フッター レスポンシブ調整 ===== */
@media (min-width: 768px) {
  .site-footer__inner {
    text-align: left;
  }

  .site-footer__brand {
    text-align: left;
  }

  .site-footer__layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
  }
}
