:root {
  --white: #ffffff;
  --off-white: #f2f2f2;
  --sky: #bfdeeb;
  --blue: #0083bf;
  --orange: #ff8800;
  --yellow: #ffd83a;
  --black: #212121;
  --radius-lg: 32px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

/* DIN 2014フォントを適用する要素（英語・数字） */
.faq__question-icon,
.faq__answer-icon,
.hero__eyecatch-item-text-highlight,
.reasons__item-label,
.reasons__title-number,
.timeline .step,
.drawer-menu__cta .cta--line__text,
.drawer-menu__cta .cta--tel__text,
.cta-sp .cta--line__text,
.cta-sp .cta--tel__text,
.cta--line__text,
.cta--tel__text,
.floating-cta .cta--line__text,
.floating-cta .cta--tel__text {
  font-family: "din-2014", sans-serif;
}

body {
  margin: 0;
  font-family: YakuHanJP_Noto, "Noto Sans JP", "din-2014", sans-serif;
  color: var(--black);
  background: var(--off-white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (min-width: 641px) {
  body {
    background: linear-gradient(180deg, #72bddf 0%, #0083bf 100%);
    background-attachment: fixed;
    min-height: 100vh;
  }
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  margin: 0;
}

.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 201;
  width: calc(100% - 2rem);
  max-width: 600px;
  background: var(--white);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.site-header.hidden {
  transform: translateX(-50%) translateY(-150%);
  opacity: 0;
  pointer-events: none;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo {
  height: 40px;
  width: auto;
}

.menu-toggle {
  width: 65px;
  height: 34px;
  border-radius: 25px;
  background: var(--black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s;
  position: relative;
}

.menu-toggle:active {
  transform: scale(0.95);
}

.menu-icon {
  width: 20px;
  height: 20px;
  color: var(--white);
  stroke: var(--white);
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-icon--bars {
  opacity: 1;
}

.menu-icon--close {
  opacity: 0;
}

.menu-toggle.active .menu-icon--bars {
  opacity: 0;
}

.menu-toggle.active .menu-icon--close {
  opacity: 1;
}

.drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("images/SP_drawermenu .jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.drawer-menu.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* drawer-menuが開いている時、フローティングCTAを非表示 */
body.drawer-open .floating-cta {
  display: none !important;
}

.drawer-menu__inner {
  position: relative;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.drawer-menu__cta {
  margin-bottom: 2rem;
  padding-top: 4rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* drawer-menu内のプロモーションテキストのスタイル */
.drawer-menu__cta .pc-menu__promo {
  text-align: center;
  color: var(--white);
  padding: 0;
  width: 100%;
}

.drawer-menu__cta .pc-menu__promo-text-title {
  font-size: 0.875rem;
  margin: 0 0 0.5rem;
  color: var(--white);
}

.drawer-menu__cta .pc-menu__promo-text {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 0.5rem;
  color: var(--white);
}

.drawer-menu__cta .pc-menu__promo-text-highlight {
  color: var(--yellow);
}

.drawer-menu__cta .pc-menu__promo-note {
  font-size: 0.75rem;
  margin: 0;
  color: var(--white);
  opacity: 0.9;
}

/* drawer-menu内のボタンコンテナ */
.drawer-menu__cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.drawer-menu__cta-buttons > div {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* drawer-menu内のCTAボタンのスタイル */
.drawer-menu__cta .cta--line,
.drawer-menu__cta .cta--tel {
  display: block;
  padding: 0.5rem 1rem;
  text-align: center;
  border: 1px solid var(--white);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: opacity 0.2s;
  width: 80%;
  max-width: 80%;
  box-sizing: border-box;
}

.drawer-menu__cta .cta--line:hover,
.drawer-menu__cta .cta--tel:hover {
  opacity: 0.9;
  text-decoration: none;
  color: var(--white);
}

.drawer-menu__cta .cta--line::before,
.drawer-menu__cta .cta--tel::before {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: var(--white);
  animation: btn_animation 2.5s ease-in-out infinite;
}

.drawer-menu__cta .cta--line {
  background: linear-gradient(to right, #42dc82, #06c655);
  color: var(--white);
  border-color: var(--white);
}

.drawer-menu__cta .cta--tel {
  background: linear-gradient(to right, #72bddf, #0083bf);
  color: var(--white);
  border-color: var(--white);
}

.drawer-menu__cta .cta--line__label,
.drawer-menu__cta .cta--tel__label {
  display: block;
  opacity: 0.95;
}

.drawer-menu__cta .cta--line__icon-wrapper,
.drawer-menu__cta .cta--tel__icon-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.drawer-menu__cta .cta--line__icon,
.drawer-menu__cta .cta--tel__icon {
  width: 24px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.drawer-menu__cta .cta--line__text,
.drawer-menu__cta .cta--tel__text {
  display: block;
  font-weight: bold;
  white-space: nowrap;
}

.drawer-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-menu__list li {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}

.drawer-menu__list a {
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.drawer-menu__list a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--orange);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(255, 136, 0, 0.3);
}

.btn.secondary {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--sky);
}

.btn.ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(0, 131, 191, 0.3);
}

.btn.full {
  width: 100%;
}

.hero {
  position: relative;
  background: url("images/hero/hero_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  width: 100%;
}

.hero .container {
  position: relative;
  width: calc(100% - 2rem);
  max-width: 100%;
  padding: 1rem;
}

.hero__catchcopy {
  width: 80%;
  max-width: 100%;
  z-index: 1;
  display: block;
}

.hero__content-wrapper {
  position: absolute;
  top: 42%;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 90;
}

.hero__content-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  z-index: 90;
}

.hero__area-circle {
  position: absolute;
  width: 25%;
  top: 30%;
  right: 5%;
  z-index: 90;
}

.hero__eyecatch-wrapper {
  position: relative;
}

.hero__eyecatch-inner {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 2rem;
  width: 100%;
  max-width: 100%;
  z-index: 90;
}

.hero__eyecatch-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  color: var(--orange);
}

.hero__eyecatch-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--black);
  margin: 0;
}

.hero__eyecatch-item-list {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0 1rem;
}

.hero__eyecatch-item {
  position: relative;
  width: 33.33%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  align-self: stretch;
}

.hero__eyecatch-item > img {
  flex: 0 0 100px;
}

.hero__eyecatch-item img {
  width: 100%;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
}

.hero__eyecatch-item-content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
  font-weight: bold;
  margin: 0;
  color: var(--black);
  white-space: nowrap;
  width: auto;
  min-width: fit-content;
  text-align: center;
}

.hero__eyecatch-item-label {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  color: var(--black);
  line-height: 1.2;
}

.hero__eyecatch-item-text {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  color: var(--orange);
  white-space: nowrap;
  line-height: 1.2;
}

.hero__eyecatch-item-text-star {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1;
  position: relative;
  top: -0.3em; /* 数字の中心あたりに来るよう微調整。必要なら値を調整してください */
  margin-right: 0.1rem;
}

.hero__eyecatch-item-text-highlight {
  font-size: 2rem;
  font-style: italic;
}

.hero__eyecatch-item-note {
  font-size: 0.64rem;
  margin: 0;
  color: var(--black);
  opacity: 0.8;
  text-align: center;
  /* 全てのアイテムで同じ高さを確保して段差をなくす */
  min-height: 1.2em;
  white-space: nowrap;
}

.sv-text {
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  font-weight: bold;
  color: var(--black);
  text-align: center;
  white-space: nowrap;
  background: var(--white);
  padding: 0 2rem;
  margin: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sv-text::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 10px 0 10px;
  border-color: var(--white) transparent transparent transparent;
}

.hero__scroll-items {
  position: absolute;
  top: calc(95%+0.25rem);
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  white-space: nowrap;
  padding: 0.5rem 2rem;
}

.hero__scroll-items-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  will-change: transform;
}

.hero__scroll-item {
  flex-shrink: 0;
  display: inline-block;
}

.hero__scroll-item img {
  height: 60px;
  width: auto;
  display: block;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(var(--scroll-width, -33.333%));
  }
}

/* スクロールフェードインアニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* heroセクション - スマホ表示 */
@media (max-width: 640px) {
  .hero {
    min-height: calc(100vh - 80px - 60px);
    padding-bottom: 2rem;
  }

  .hero__area-circle {
    width: 25%;
    top: 25%;
    right: 5%;
  }

  .hero__eyecatch-inner {
    padding: 0 2rem;
  }

  .sv-text {
    position: absolute;
    top: 81%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero__scroll-items {
    position: relative;
    top: auto;
    left: auto;
    padding: 0;
  }

  .hero__eyecatch-item-list {
    flex-direction: row;
    padding: 0 0.25rem;
    margin: 0 auto;
  }

  /* スマホ表示時はバッジ内の文字を少し小さく & 行間を詰める */
  .hero__eyecatch-item-label,
  .hero__eyecatch-item-text {
    font-size: 0.85rem;
  }

  .hero__eyecatch-title {
    font-size: 0.875rem;
  }

  .hero__eyecatch-text {
    font-size: 1.25rem;
    padding-top: 0.5rem;
  }

  .hero__eyecatch-item-text-highlight {
    font-size: 1.5rem;
  }

  .hero__eyecatch-item img {
    min-height: 100px;
  }

  .hero__eyecatch-item-note {
    font-size: 0.5rem;
    /* margin-top: -0.5rem; */
  }
}

/* heroセクション - PC表示 */
/* 基本スタイルがPC表示用のため、PC表示のメディアクエリは不要 */

/* heroセクション以降のセクションにデフォルトでフェードインクラスを適用 */
section:not(.hero) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section:not(.hero).fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* worriesセクション */
.worries {
  position: relative;
  background: url("images/worries/worries_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
}

.worries__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0;
}

.worries__title {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: bold;
}

.worries__title-line {
  display: block;
  font-size: 2rem;
}

.worries__list {
  list-style: none;
  max-width: 600px;
  padding: 0;
  padding-bottom: 1rem;
}

.worries__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.worries__check-icon {
  display: inline-flex;
  align-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--white);
  position: relative;
  overflow: visible;
}

.worries__check-icon img {
  position: absolute;
  top: -40%;
  left: 20%;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  display: block;
}

.worries__text {
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.6;
  flex: 1;
}

.worries__arrow {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  height: 20%;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 640px) {
  .worries {
    padding: 2rem 0;
    min-height: auto;
  }

  .worries__content {
    padding: 0;
  }

  .worries__title {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }

  .worries__title-line {
    font-size: 1.5rem;
  }

  .worries__list {
    padding-bottom: 0.25rem;
  }

  .worries__item {
    margin-bottom: 1.2rem;
  }

  .worries__check-icon {
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    overflow: visible;
  }

  .worries__check-icon img {
    width: 3rem;
    height: 3rem;
    top: -50%;
    left: 20%;
  }

  .worries__text {
    font-size: 0.875rem;
  }
}

/* solution-introセクション */
.solution-intro {
  position: relative;
  margin-bottom: 4rem;
}

.solution-intro__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.solution-intro__circle-wrapper {
  position: absolute;
  top: -55%;
  z-index: 3;
}

.solution-intro__circle {
  width: 120px;
  height: 120px;
  display: block;
}

.solution-intro__heading {
  position: relative;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--black);
  display: inline-block;
  text-align: center;
  margin: 0.5rem 0;
}

.solution-intro__dots {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.solution-intro__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  display: block;
}

.solution-intro__cta {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.solution-intro__cta-text-highlight {
  font-size: 2rem;
}

.solution-intro__slogan {
  font-size: 1.25rem;
  color: var(--black);
  margin: 0;
}

@media (max-width: 640px) {
  .solution-intro {
    min-height: auto;
  }

  .solution-intro__circle-wrapper {
    top: -50%;
  }

  .solution-intro__circle {
    width: 80px;
    height: 80px;
  }

  .solution-intro__heading {
    font-size: 0.875rem;
    padding: 0;
    margin: 0;
    margin: 0.5rem 0;
  }

  .solution-intro__dots {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .solution-intro__dot {
    width: 6px;
    height: 6px;
  }

  .solution-intro__cta {
    font-size: 1rem;
    margin: 0;
    margin-bottom: 0.5rem;
  }

  .solution-intro__cta-text-highlight {
    font-size: 1.5rem;
  }

  .solution-intro__slogan {
    font-size: 0.875rem;
  }
}

/* reasonsセクション */
.reasons {
  position: relative;
  background: var(--sky);
  padding: 2rem 0;
}

/* タイトルを絶対位置指定で表示（solution-introとreasonsセクションの間） */
.reasons__title-absolute {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  white-space: nowrap;
  z-index: 10;
  margin: 0;
  padding: 0;
}

.reasons__title-char {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--black);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1;
}

.reasons__title-number {
  color: var(--orange);
  font-size: 1.5rem;
}

.reasons__content {
  position: relative;
  z-index: 2;
}

.reasons__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.reasons__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reasons__item-label {
  color: var(--orange);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.reasons__item-label-text {
  font-size: 1.5rem;
  color: var(--orange);
}

.reasons__item-label-number {
  font-size: 2rem;
  color: var(--orange);
}

.reasons__item-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--blue);
  margin: 0;
}

.reasons__item-subtitle {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--black);
  margin: 0;
  line-height: 1.5;
}

.reasons__item-description {
  font-size: 0.9375rem;
  color: var(--black);
  line-height: 2;
  margin: 0;
}

.reasons__item-image-wrapper {
  margin-top: 1rem;
  overflow: hidden;
}

.reasons__item-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 640px) {
  .reasons__title-absolute {
    top: -1rem;
    gap: 0.25rem;
  }

  .reasons__title-char {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }

  .reasons__title-number {
    font-size: 1.125rem;
  }

  .reasons__list {
    gap: 2rem;
  }

  .reasons__item {
    gap: 0.5rem;
  }

  .reasons__item-label {
    gap: 0.25rem;
  }

  .reasons__item-label-text {
    font-size: 1rem;
    color: var(--orange);
  }

  .reasons__item-label-number {
    font-size: 1.5rem;
    color: var(--orange);
  }

  .reasons__item-title {
    font-size: 1.25rem;
  }

  .reasons__item-subtitle {
    font-size: 1rem;
  }

  .reasons__item-description {
    font-size: 0.875rem;
    line-height: 2;
  }
}

/* servicesセクション */
.services {
  position: relative;
  background: var(--off-white);
  padding: 2rem 0;
}

.services .container {
  position: relative;
}

.services__title {
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.services__title-sub {
  display: block;
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.services__title-main {
  display: block;
  color: var(--black);
  font-size: 2rem;
  font-weight: bold;
}

.services__content {
  position: relative;
  z-index: 2;
}

.services__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.services__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  margin-bottom: 1rem;
}

.services__item-number {
  position: absolute;
  right: 0.5rem;
  top: -1rem;
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
  z-index: 1;
}

.services__item-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  box-sizing: border-box;
  margin-bottom: 0.5rem;
}

.services__item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services__item-content {
  display: flex;
  flex-direction: column;
}

.services__item-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--black);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.services__item-description {
  font-size: 0.875rem;
  color: var(--black);
  line-height: 1.75;
  margin: 0;
}

.services__item-note {
  font-size: 0.75rem;
  color: var(--black);
  opacity: 0.8;
  margin: 0.5rem 0 0;
}

.services__more {
  text-align: center;
  margin-top: 2rem;
}

.services__more-button {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.2s;
  min-width: 200px;
  height: 40px;
  box-sizing: border-box;
}

.services__more-button:hover {
  opacity: 0.7;
}

@media (max-width: 640px) {
  .services {
    padding: 1.5rem 0;
  }

  .services__title-sub {
    font-size: 0.875rem;
  }

  .services__title-main {
    font-size: 1.25rem;
  }

  .services__list {
    gap: 0.5rem;
  }

  .services__item {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }

  .services__item-number {
    font-size: 2rem;
  }

  .services__item-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.25rem;
    margin-bottom: 0.5rem;
  }

  .services__item-content {
    padding-right: 0;
  }

  .services__item-title {
    font-size: 1.125rem;
  }

  .services__item-description {
    font-size: 0.875rem;
  }

  .services__item-note {
    font-size: 0.75rem;
  }

  .services__more-button {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    min-width: 180px;
    height: 36px;
    box-sizing: border-box;
  }
}

/* その他サービス */
.other-services {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--off-white);
  margin-top: 1rem;
}

.other-services.is-open {
  max-height: 2000px;
  padding: 2rem 1.5rem;
}

.other-services__title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--black);
  margin: 0 0 1.5rem;
  text-align: left;
  padding: 0;
}

.other-services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.5rem;
  row-gap: 1.5rem;
  padding: 0;
  margin: 0 0 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.other-services__close-wrapper {
  text-align: center;
  padding: 0;
}

.other-services__close-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.2s;
  min-width: 200px;
  height: 40px;
  box-sizing: border-box;
}

.other-services__close-button:hover {
  opacity: 0.7;
}

.other-services__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 calc(33.333% - 0.34rem);
  min-width: 0;
  box-sizing: border-box;
  padding: 0;
}

.other-services__item-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.other-services__item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.other-services__item-title {
  font-size: 0.875rem;
  font-weight: bold;
  text-align: left;
  color: var(--black);
  line-height: 1.5;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .other-services.is-open {
    padding: 1.5rem 0;
  }

  .other-services__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  .other-services__grid {
    gap: 0.5rem;
    row-gap: 1.5rem;
    padding: 0;
    margin: 0 0 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .other-services__item {
    flex: 0 0 calc(33.333% - 0.34rem);
  }

  .other-services__title {
    padding: 0;
  }

  .other-services__close-wrapper {
    padding: 0;
  }

  .other-services__close-button {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    min-width: 180px;
    height: 36px;
    box-sizing: border-box;
  }

  .other-services__item-icon {
    width: 100px;
    height: 100px;
    padding: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .other-services__item-title {
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: left;
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
  }
}

/* testimonialsセクション */
.testimonials {
  position: relative;
  margin-bottom: 28px;
}

.testimonials > .container {
  overflow: hidden;
  max-width: 100%;
}

.testimonials__title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--black);
  text-align: left;
  margin: 2rem 0 2rem;
}

.testimonials__content {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonials__carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  margin-bottom: 3rem;
  max-width: 100%;
}

.testimonials__carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
  position: relative;
}

.testimonials__card {
  flex: 0 0 calc(100% - 60px);
  width: calc(100% - 60px);
  max-width: calc(100% - 60px);
  background: transparent;
  border-radius: var(--radius-md);
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 400px;
  opacity: 1;
  transition: opacity 0.3s ease;
  position: relative;
  margin-right: 20px;
  flex-shrink: 0;
}

.testimonials__card--active {
  opacity: 1;
  z-index: 2;
}

.testimonials__card--next {
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

.testimonials__card--prev {
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.testimonials__card-image-wrapper {
  width: 90%;
  margin: 0 auto 1rem;
  overflow: visible;
  position: relative;
  border: 4px solid var(--white);
  box-sizing: border-box;
  z-index: 1;
}

.testimonials__card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.testimonials__card-demographics {
  position: absolute;
  bottom: -0.5rem;
  left: -0.5rem;
  background: var(--white);
  padding: 0 0.5rem;
  font-size: 0.875rem;
  color: var(--black);
  margin: 0;
  z-index: 10;
  white-space: nowrap;
}

.testimonials__card-info {
  position: absolute;
  top: 28%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 320px;
  background-color: var(--white);
  padding: 6rem 1rem;
  margin-top: 1rem;
  z-index: -50;
  box-sizing: border-box;
}

.testimonials__card-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--orange);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.testimonials__card-text {
  font-size: 0.875rem;
  color: var(--black);
  line-height: 1.8;
  margin: 0;
  flex: 1;
  min-height: 150px;
  padding: 0.75rem 0;
  background-repeat: repeat-y;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #d9d9d9;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  overflow-y: auto;
}

.testimonials__card-text::first-line {
  text-decoration: underline overline;
  text-decoration-style: dotted;
  text-decoration-color: #d9d9d9;
  text-decoration-thickness: 2px;
}

.testimonials__text-highlight {
  color: #ff0000;
  font-weight: bold;
}

.testimonials__navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
  margin-bottom: 1rem;
}

.testimonials__nav-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  padding: 0;
  flex-shrink: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.testimonials__nav-button--prev {
  background: var(--white);
}

.testimonials__nav-button--next {
  background: var(--white);
}

.testimonials__nav-button--prev:hover:not(:disabled):not(
    .testimonials__nav-button--disabled
  ) {
  background: #e0e0e0;
}

.testimonials__nav-button--next:hover:not(:disabled):not(
    .testimonials__nav-button--disabled
  ) {
  background: #e0e0e0;
}

.testimonials__nav-button:disabled,
.testimonials__nav-button--disabled {
  cursor: not-allowed;
  background: #d9d9d9 !important;
}

.testimonials__nav-button:disabled .testimonials__nav-icon,
.testimonials__nav-button--disabled .testimonials__nav-icon {
  opacity: 0.3;
}

.testimonials__nav-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.testimonials__progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.testimonials__progress-current {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--orange);
  min-width: 24px;
}

.testimonials__progress-bar {
  width: 120px;
  height: 4px;
  background: #e0e0e0;
  overflow: hidden;
  position: relative;
}

.testimonials__progress-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 20%;
}

.testimonials__progress-total {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--orange);
  min-width: 24px;
}

@media (max-width: 640px) {
  .testimonials {
    padding: 0;
  }

  .testimonials__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .testimonials__carousel-wrapper {
    margin-bottom: 2.5rem;
  }

  .testimonials__card {
    height: 400px;
    min-height: 400px;
  }

  .testimonials__card-image-wrapper {
    border-width: 3px;
  }

  .testimonials__card-demographics {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .testimonials__card-info {
    top: 20%;
    height: 300px;
    padding: 4rem 1rem;
  }

  .testimonials__card-title {
    font-size: 1rem;
  }

  .testimonials__card-text {
    font-size: 0.875rem;
    padding: 0.75rem 0;
  }

  .testimonials__navigation {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
  }

  .testimonials__nav-button {
    width: 40px;
    height: 40px;
  }

  .testimonials__nav-icon {
    width: 20px;
    height: 20px;
  }

  .testimonials__progress-bar {
    width: 80px;
  }
}

/* FAQ Section */
.faq {
  position: relative;
  padding-top: 0;
  padding-bottom: 2rem;
  background: var(--sky);
  margin-top: 0;
}

.faq::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 0;
  width: 100%;
  height: 28px;
  background: var(--sky);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.faq > .container {
  position: relative;
  z-index: 2;
  padding-top: 1rem;
}

.faq__title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--black);
  text-align: center;
  margin: 0 0 2rem;
  padding-top: 0;
}

.faq__content {
  width: 100%;
  max-width: 100%;
}

.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  background: var(--sky);
  position: relative;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  background: transparent;
  border: 2px solid var(--white);
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: background 0.2s;
}

.faq__question:hover {
  background: rgba(255, 255, 255, 0.3);
}

.faq__question-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  flex-shrink: 0;
}

.faq__question-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
}

.faq__toggle-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq__toggle-icon svg {
  width: 100%;
  height: 100%;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0 1rem;
  background: var(--sky);
}

.faq__answer-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.faq__answer-text {
  flex: 1;
  font-size: 1rem;
  color: var(--black);
  line-height: 1.8;
  padding: 0.5rem 0 0;
  margin: 0;
}

@media (max-width: 640px) {
  .faq {
    padding-top: 0;
    padding-bottom: 1.5rem;
    margin-top: 0;
  }

  .faq > .container {
    padding-top: 0.5rem;
  }

  .faq__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-top: 0;
  }

  .faq__question {
    padding: 1rem 0.75rem;
    gap: 0.75rem;
  }

  .faq__question-icon,
  .faq__answer-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.125rem;
  }

  .faq__question-text {
    font-size: 0.9375rem;
  }

  .faq__answer {
    padding: 0 0.75rem;
    gap: 0.75rem;
  }

  .faq__answer-text {
    font-size: 0.875rem;
    padding: 0.5rem 0 0;
  }

  .faq__toggle-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
}

/* flowセクション */
.flow {
  position: relative;
  background: var(--off-white);
  padding: 2rem 0;
}

.flow > .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
}

.flow__title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--black);
  text-align: left;
  margin: 0 0 2rem;
  padding: 0;
}

.flow__content {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.flow__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: visible;
}

.flow__item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.flow__item-number {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: #e0e0e0;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

.flow__item-content {
  flex-direction: column;
  background: var(--white);
  padding: 1rem;
  position: relative;
  z-index: 0;
  margin-left: 28px;
  overflow: visible;
}

.flow__item-content::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 18px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 20px 12px 0;
  border-color: transparent var(--white) transparent transparent;
  z-index: 1;
}

.flow__item-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--black);
  margin: 0;
  line-height: 1.4;
}

.flow__item-description {
  font-size: 0.9375rem;
  color: var(--black);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 640px) {
  .flow {
    padding: 1.5rem 0;
  }

  .flow__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .flow__list {
    gap: 1.5rem;
  }

  .flow__item {
    gap: 0;
    align-items: flex-start;
  }

  .flow__item-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.25rem;
  }

  .flow__item-content {
    padding: 0.875rem 1rem;
    margin-left: 20px;
    overflow: visible;
    max-width: calc(100% - 57px);
  }

  .flow__item-content::before {
    left: -16px;
    top: 15px;
    border-width: 10px 16px 10px 0;
  }

  .flow__item-title {
    font-size: 1.125rem;
  }

  .flow__item-description {
    font-size: 0.875rem;
  }
}

/* storeセクション */
.store {
  position: relative;
  background: var(--off-white);
  padding: 2rem 0 0.5rem;
}

.store__title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--black);
  text-align: left;
  margin: 0 0 2rem;
  padding: 0;
}

.store__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.store__license {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
}

.store__license-text {
  flex: 1;
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.8;
  color: var(--black);
  margin: 0;
}

.store__license-image-wrapper {
  flex-shrink: 0;
  width: 200px;
  max-width: 100%;
}

.store__license-image {
  width: 100%;
  height: auto;
  display: block;
}

.store__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0 0.5rem;
}

.store__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.store__info-label {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--black);
  margin: 0;
}

.store__info-value {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.6;
  margin: 0;
}

.store__office-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
}

.store__office-image-item {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.store__office-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .store {
    padding: 1.5rem 0 0.5rem;
  }

  .store__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .store__content {
    gap: 1rem;
  }

  .store__license {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }

  .store__license-text {
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
  }

  .store__license-image-wrapper {
    width: 120px;
    max-width: 120px;
    flex-shrink: 0;
  }

  .store__info {
    padding: 1rem 0 0.25rem;
    gap: 0.75rem;
  }

  .store__info-item {
    gap: 0.25rem;
  }

  .store__info-label {
    font-size: 1rem;
  }

  .store__info-value {
    font-size: 0.875rem;
  }

  .store__office-images-grid {
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.timeline li {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.timeline .step {
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.cta {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 3rem auto;
  width: min(1100px, calc(100% - 2rem));
}

.cta .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.cta-form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.cta-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

input,
textarea {
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 1.4rem;
  font-size: 0.85rem;
}

.site-footer {
  text-align: center;
  font-size: 12px;
  color: var(--white);
  background-color: var(--black);
}

.site-footer p {
  margin: 0;
}

/* CTA共通スタイル - PC表示とスマホ表示で共通 */
.cta-sp-wrapper {
  display: block;
  margin-top: 2rem;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.cta-sp {
  background-image: url("images/cta/cta_bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

.cta-sp__logo {
  width: 50%;
  height: auto;
  display: block;
  align-self: center;
}

/* cta-sp内のすべての直接子要素を中央寄せ */
.cta-sp > * {
  align-self: center;
  text-align: center;
}

/* cta-sp内の既存テンプレートのスタイル調整 */
.cta-sp .pc-menu__promo {
  text-align: center;
  color: var(--white);
  padding: 0;
  width: 100%;
  max-width: 100%;
  align-self: center;
}

.cta-sp .pc-menu__promo-text-title {
  font-size: 0.875rem;
  margin: 0 0 0.5rem;
  color: var(--white);
}

.cta-sp .pc-menu__promo-text {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 0.5rem;
  color: var(--white);
}

.cta-sp .pc-menu__promo-text-highlight {
  color: var(--yellow);
}

.cta-sp .pc-menu__promo-note {
  font-size: 0.75rem;
  margin: 0;
  color: var(--white);
  opacity: 0.9;
}

.cta-sp__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  align-self: center;
}

/* cta-sp内の既存ボタンテンプレートのスタイル調整 */
.cta-sp .cta--line,
.cta-sp .cta--tel {
  display: block;
  padding: 0.5rem 1rem;
  text-align: center;
  border: 1px solid var(--white);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: opacity 0.2s;
  width: 80%;
  max-width: 80%;
  box-sizing: border-box;
}

/* cta-sp__buttons内のdivを中央寄せ */
.cta-sp__buttons > div {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-sp .cta--line:hover,
.cta-sp .cta--tel:hover {
  opacity: 0.9;
  text-decoration: none;
  color: var(--white);
}

.cta-sp .cta--line::before,
.cta-sp .cta--tel::before {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: var(--white);
  animation: btn_animation 2.5s ease-in-out infinite;
}

.cta-sp .cta--line {
  background: linear-gradient(to right, #42dc82, #06c655);
  color: var(--white);
  border-color: var(--white);
}

.cta-sp .cta--tel {
  background: linear-gradient(to right, #72bddf, #0083bf);
  color: var(--white);
  border-color: var(--white);
}

.cta-sp .cta--line__label,
.cta-sp .cta--tel__label {
  display: block;
  opacity: 0.95;
}

.cta-sp .cta--line__icon-wrapper,
.cta-sp .cta--tel__icon-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-sp .cta--line__icon,
.cta-sp .cta--tel__icon {
  height: auto;
  display: block;
  flex-shrink: 0;
}

.cta-sp .cta--line__text,
.cta-sp .cta--tel__text {
  display: block;
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 640px) {
  body {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  /* PCメニューと背景画像を非表示 */
  .pc-menu,
  .pc-background-image {
    display: none;
  }

  /* スマホ表示でのCTA表示制御 */
  .cta-sp-wrapper {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    left: 0;
    right: 0;
  }

  /* フローティングCTAボタン（スマホ表示時のみ表示） */
  .floating-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    padding: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }

  .floating-cta__buttons {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: auto;
  }

  .floating-cta__buttons > div {
    flex: 1;
    display: flex;
    align-items: stretch;
  }

  .floating-cta .cta--line,
  .floating-cta .cta--tel {
    flex: 1;
    width: 100%;
    padding: 0.25rem 0.5rem;
    text-align: center;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: opacity 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    min-height: 60px;
  }

  .floating-cta .cta--line:hover,
  .floating-cta .cta--tel:hover {
    opacity: 0.9;
    text-decoration: none;
    color: var(--white);
  }

  .floating-cta .cta--line::before,
  .floating-cta .cta--tel::before {
    position: absolute;
    content: "";
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: var(--white);
    animation: btn_animation 2.5s ease-in-out infinite;
  }

  .floating-cta .cta--line {
    background: linear-gradient(to right, #42dc82, #06c655);
    color: var(--white);
  }

  .floating-cta .cta--tel {
    background: linear-gradient(to right, #72bddf, #0083bf);
    color: var(--white);
  }

  .floating-cta .cta--line__label,
  .floating-cta .cta--tel__label {
    display: block;
    font-size: 10px;
    opacity: 0.95;
    line-height: 1.2;
  }

  .floating-cta .cta--line__icon-wrapper,
  .floating-cta .cta--tel__icon-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }

  .floating-cta .cta--line__icon,
  .floating-cta .cta--tel__icon {
    width: 20px;
    height: auto;
    display: block;
    flex-shrink: 0;
  }

  .floating-cta .cta--line__text,
  .floating-cta .cta--tel__text {
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    white-space: nowrap;
    line-height: 1.2;
  }
}

@media (min-width: 641px) {
  .site-header {
    display: none;
  }

  .drawer-menu {
    display: none;
  }

  /* PC表示時はフローティングCTAボタンを非表示 */
  .floating-cta {
    display: none !important;
  }

  /* PCレイアウト */
  .pc-layout {
    display: grid;
    grid-template-columns: min(756px, 55%) 1fr;
    min-height: 100vh;
    position: relative;
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
  }

  /* PC背景画像 */
  .pc-background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    grid-column: 1 / -1;
  }

  /* グラデーション背景を確保 */
  html {
    height: 100%;
  }

  body {
    min-height: 100vh;
  }

  h1,
  h2,
  h3 {
    margin: 0;
    padding: 0;
  }

  /* 左側固定メニュー */
  .pc-menu {
    grid-column: 1;
    background: transparent;
    position: fixed;
    left: max(0px, calc((100vw - 1366px) / 2));
    top: 0;
    width: min(756px, 55%);
    height: 100vh;
    overflow-y: auto;
    z-index: 101;
    padding: clamp(1rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
  }

  .pc-menu__logo {
    flex-shrink: 0;
  }

  .pc-menu__inner {
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
  }

  .pc-menu__logo img {
    height: 72px;
    width: auto;
    margin-bottom: 0.5rem;
  }

  .pc-menu__tagline {
    color: var(--white);
    font-size: 0.9rem;
    margin: 0.5rem 0 0.25rem;
  }

  .pc-menu__company {
    color: var(--white);
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
  }

  .pc-menu__nav {
    margin-bottom: 1rem;
    padding: 0 4rem;
  }

  .pc-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .pc-menu__list li {
    position: relative;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
    padding-bottom: 0.5rem;
  }

  .pc-menu__list a {
    color: var(--white);
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 0.5rem;

    padding-left: 1.5rem;
    position: relative;
    transition: opacity 0.2s;
  }

  .pc-menu__list a:hover {
    opacity: 0.8;
  }

  .pc-menu__list a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--orange);
  }

  .pc-menu__promo {
    padding: 1rem;
    text-align: center;
  }

  .pc-menu__promo-text {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 0.5rem;
  }

  .pc-menu__promo-text-title {
    color: var(--white);
    font-size: 16px;
    margin: 0 0 0.5rem;
  }

  .pc-menu__promo-text-highlight {
    color: var(--yellow);
  }

  .pc-menu__promo-note {
    color: var(--white);
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
  }

  .pc-menu__cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  /* PCメニュー内の.ctaのスタイルを上書き */
  .pc-menu .cta {
    background: none;
    margin: 0;
    width: 100%;
  }

  .pc-menu__cta {
    margin-top: 1rem;
  }

  .cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
  }

  .cta--line,
  .cta--tel {
    display: block;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--white);
    transition: opacity 0.2s;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 50%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
  }

  .cta--line:hover,
  .cta--tel:hover {
    opacity: 0.9;
    text-decoration: none;
    color: var(--white);
  }

  .cta--line::before,
  .cta--tel::before {
    position: absolute;
    content: "";
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: var(--white);
    animation: btn_animation 2.5s ease-in-out infinite;
  }

  .cta--line {
    background: linear-gradient(to right, #42dc82, #06c655);
    color: var(--white);
    border-color: var(--white);
  }

  .cta--tel {
    background: linear-gradient(to right, #72bddf, #0083bf);
    color: var(--white);
    border-color: var(--white);
  }

  /* CTAボタン内部要素のスタイル */
  .cta--line__label,
  .cta--tel__label {
    display: block;
    font-size: 16px;
  }

  .cta--line__icon-wrapper,
  .cta--tel__icon-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .cta--line__icon,
  .cta--tel__icon {
    width: 24px;
    height: auto;
    display: block;
    flex-shrink: 0;
  }

  .cta--line__text,
  .cta--tel__text {
    display: block;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
  }

  /* 右側スクロール可能コンテンツ（スマホ表示エリア） */
  .pc-content {
    grid-column: 2;
    width: min(490px, 100%);
    max-width: 490px;
    background: var(--off-white);
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 102;
    margin: 0 auto;
    justify-self: center;
  }

  .pc-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
  }

  .pc-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }

  .pc-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
  }

  /* フッターもスマホ表示エリア内に含める */
  .pc-content .site-footer {
    background: var(--black);
  }

  /* 中サイズの画面対応 */
  @media (max-width: 1200px) {
    .pc-menu {
      width: min(600px, 50%);
    }

    .pc-layout {
      grid-template-columns: min(600px, 50%) 1fr;
    }

    .pc-content {
      width: min(450px, 90%);
      max-width: 450px;
    }
  }

  /* 小さいPC画面対応 */
  @media (max-width: 900px) {
    .pc-menu {
      width: min(400px, 45%);
    }

    .pc-layout {
      grid-template-columns: min(400px, 45%) 1fr;
    }

    .pc-content {
      width: min(400px, 85%);
      max-width: 400px;
    }
  }
}

/* ボタンアニメーション */
@-webkit-keyframes btn_animation {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

@keyframes btn_animation {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
