@charset "utf-8";

:root {
  --color-theme: #003fa3;
  --color-light-theme: #f0ffff;
  --color-accent: #000099;
  --fg-color: #222;
  --color-white: #fff;
  --color-lightgray: #f0f0f0;
  --font-alphabet: "Impact", "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  --font-gothic: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  --font-mincho: "Noto Serif JP", "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  display: block;
  margin: 0;
  vertical-align: middle;
  width: 100%;
  max-width: 100%;
  height: auto;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 0.75rem;
}

a {
  color: var(--fg-color);
  text-decoration: none;
  transition: opacity 0.5s ease-out;
}
input[type="submit"],
button {
  cursor: pointer;
  transition: opacity 0.5s ease-out;
}

@media (hover: hover) {
  a:hover,
  button:hover,
  input[type="submit"]:hover {
    opacity: 0.5;
  }
}

ul,
p {
  line-height: 1.8;
}

section {
  position: relative;
}

em {
  color: var(--color-accent);
  font-style: normal;
}

u {
  font-weight: 700;
  text-decoration-color: #f8f883;
  text-decoration-thickness: 0.4em;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-underline-offset: -0.3em;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

@media (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

@media (min-width: 768.01px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
}

/* スクロールアニメーション */
.ws-scroll-fadeIn {
  opacity: 0;
  /*transform: scale( 0.5, 0.5 ); */
  transition: all 1s ease-out;
}
.ws-scroll-fadeIn.ws-scroll-show {
  opacity: 1;
  /* transform: scale( 1.0, 1.0 ); */
}

.ws-scroll-fadeIn-l {
  opacity: 0;
  transform: translateX(-200px);
  transition: all 1s ease-out;
}
.ws-scroll-fadeIn-r {
  opacity: 0;
  transform: translateX(200px);
  transition: all 1s ease-out;
}
.ws-scroll-fadeIn-l.ws-scroll-show,
.ws-scroll-fadeIn-r.ws-scroll-show {
  opacity: 1;
  transform: translateX(0);
}

.ws-scroll-fadeIn-u {
  opacity: 0;
  transform: translateY(-200px) scale(0.8, 0.8);
  transition: all 1s ease-out;
}
.ws-scroll-fadeIn-d {
  opacity: 0;
  transform: translateY(200px) scale(0.8, 0.8);
  transition: all 1s ease-out;
}
.ws-scroll-fadeIn-u.ws-scroll-show,
.ws-scroll-fadeIn-d.ws-scroll-show {
  opacity: 1;
  transform: translateY(0) scale(1, 1);
}

.ws-goto-top {
  position: fixed;
  z-index: 20;
  margin: 0;
  padding: 0 0 2px;
  top: auto;
  bottom: 10px;
  left: auto;
  right: 10px;
  width: clamp(30px, 5vw, 60px);
  height: clamp(30px, 5vw, 60px);
  background: var(--color-theme);
  border: 2px solid #fff;
  border-radius: clamp(15px, 2.5vw, 30px);
  opacity: 0;
  transform-origin: right bottom;
  transform: scale(0.01, 0.01);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 1s;
}
.ws-goto-top::before {
  position: absolute;
  content: "";
  left: 40%;
  top: 42%;
  width: 20%;
  height: 20%;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  rotate: -45deg;
}
.ws-goto-top.ws-scroll-show {
  transform: scale(1, 1);
  opacity: 0.9;
}
@media (hover: hover) {
  .ws-goto-top:hover {
    opacity: 0.5;
  }
}

.ws-scroll-top-menu {
  opacity: 0;
  transform: translateY(-150px);
  transition: 0.5s;
}
.ws-scroll-top-menu.ws-scroll-show {
  opacity: 1;
  transform: translateY(0);
}

/* 以下サイトごと */

html {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: min(18px, 3vw);
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  color: var(--fg-color);
  font-family: var(--font-gothic);
  font-weight: 500;
  line-height: 1.5;
  opacity: 0;
  animation: anim-fadein 1s ease-out 0s forwards;
}

@keyframes anim-fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
}

.logo-ver {
  display: flex;
  gap: 0.5px;
  color: var(--color-theme);
  align-items: center;
}

/**
 * スマホ用設定
 */
@media (max-width: 768px) {
  header {
    position: sticky;
    height: 64px;
  }
  header .header-wrap {
    margin: 0 auto;
    padding: 8px 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header .header-logo {
    padding: 11px 0;
    height: 48px;
  }
  header .header-logo img {
    width: 150px;
    height: 26px;
    object-fit: contain;
  }
  header .header-menu > li:not(.header-diagnosis) {
    display: none;
  }
  header .header-menu > li.header-diagnosis {
    height: 100%;
    list-style: none;
  }
  header .header-menu > li.header-diagnosis > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0.5em 2em;
    color: #fff;
    font-size: calc(15 * min(100vw, 400px) / 400);
    font-weight: 700;
    background: #e6648e;
    border-radius: 4em;
    transition: color 0.5s ease-out, opacity 0.5s ease-out;
  }
  header .header-sp-menu {
    display: none;
    position: relative;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  header .header-sp-menu #sp-menu-check {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
  }
  header .header-sp-menu #sp-menu-check ~ .header-sp-menu-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu-area {
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 40px;
    height: 40px;
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu-area > .sp-menu-icon {
    position: absolute;
    top: 50%;
    left: 15%;
    width: 70%;
    height: 3px;
    background: var(--fg-color);
    border-radius: 2px;
    transition: background 0.5s ease-out;
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu-area > .sp-menu-icon::before {
    position: absolute;
    content: "";
    top: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--fg-color);
    border-radius: 2px;
    transition: transform 0.5s ease-out;
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu-area > .sp-menu-icon::after {
    position: absolute;
    content: "";
    top: 8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--fg-color);
    border-radius: 2px;
    transition: transform 0.5s ease-out;
  }
  header .header-sp-menu #sp-menu-check:checked ~ .sp-menu-area > .sp-menu-icon {
    background: transparent;
  }
  header .header-sp-menu #sp-menu-check:checked ~ .sp-menu-area > .sp-menu-icon::before {
    transform: translateY(8px) rotate(45deg);
  }
  header .header-sp-menu #sp-menu-check:checked ~ .sp-menu-area > .sp-menu-icon::after {
    transform: translateY(-8px) rotate(-45deg);
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu {
    position: absolute;
    top: 60px;
    right: 0;
    width: max-content;
    padding: 2em 4em;
    background: #fffe;
    list-style: none;
    transform-origin: top center;
    transform: scaleY(0);
    transition: transform 0.5s ease-out;
    z-index: 99;
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu > li {
    list-style: none;
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu > li > a {
    display: block;
    margin: 0;
    padding: 0.2em 0;
    font-size: min(16px, 3.6vw);
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-submenu,
  header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-megamenu {
    padding: 0 0 0 1em;
    list-style: none;
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-submenu > li,
  header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-megabmenu > li {
    margin: 0;
    padding: 0;
    width: 100%;
    list-style: none;
  }
  header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-submenu > li > a,
  header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-megamenu > li > a {
    display: block;
    margin: 0;
    padding: 0.2em 0;
    font-size: min(16px, 3.6vw);
  }
  header .header-sp-menu #sp-menu-check:checked ~ .sp-menu {
    transform: scaleY(1);
  }

  .mv {
    margin: 0 auto;
    width: 100%;
  }
  .mv .mv-bg {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 860 / 1464;
  }
  .mv .mv-bg img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mv .mv-box {
    position: absolute;
    top: 47%;
    left: 5%;
    margin: 0;
    padding: 0;
    width: 90%;
    height: 53%;
  }
  .mv .mv-box .mv-txt {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 513 / 143;
  }
  .mv .mv-box .mv-txt img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .mv .mv-box p {
    margin: 0.5em 0 0;
    padding: 0;
    color: var(--fg-color);
    font-size: 4vw;
    font-weight: 700;
    text-align: center;
    line-height: calc(30 / 21);
  }
  .mv .mv-box .mv-btn {
    display: block;
    margin: 0.5em auto 0;
    padding: 0.4em 0;
    width: 90%;
    color: #fff;
    font-size: 4.8vw;
    font-weight: 900;
    text-align: center;
    background: #e6648e;
    border-radius: 4em;
  }
  .mv .mv-box .mv-circle {
    position: absolute;
    bottom: 5%;
    margin: 0;
    padding: 0 0 1%;
    width: 33.4%;
    height: auto;
    aspect-ratio: 1 / 1;
    color: #411414;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    background: url(../img/front/mv-circle.png) no-repeat center / contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .mv .mv-box .mv-circle.circle1 {
    left: 0%;
  }
  .mv .mv-box .mv-circle.circle2 {
    left: 33.3%;
  }
  .mv .mv-box .mv-circle.circle3 {
    left: 66.6%;
  }
  .mv .mv-box .mv-circle .size13 {
    font-size: 2vw;
  }
  .mv .mv-box .mv-circle .size14 {
    font-size: 2.1vw;
  }
  .mv .mv-box .mv-circle .size16 {
    font-size: 2.4vw;
  }
  .mv .mv-box .mv-circle .size17 {
    font-size: 2.6vw;
  }
  .mv .mv-box .mv-circle .size28 {
    font-size: 4.2vw;
  }
  .mv .mv-box .mv-circle .size32 {
    font-size: 4.8vw;
  }
  .mv .mv-box .mv-circle .size40 {
    font-size: 6vw;
  }
  .mv .mv-box .mv-circle .black {
    font-weight: 900;
  }

  main {
    margin: 0 auto;
    width: 100%;
  }

  #diagnosis {
    margin: 0 auto;
    padding: 8vw 0 12vw;
    background: url(../img/front/bg-dots.svg) repeat, #fff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), calc(50% + 490px) calc(100% - 80px), 50% 100%, calc(50% - 490px) calc(100% - 80px), 0 calc(100% - 80px));
    z-index: 1;
  }
  #diagnosis .diagnosis-box {
    position: relative;
    margin: 0 auto;
    padding: 5vw 5vw 0;
    width: 90%;
    background: #fff;
    border: 1px solid var(--fg-color);
    border-radius: calc(20 * min(90vw, 880px) / 880);
    box-shadow: 0 calc(5 * min(90vw, 880px) / 880) 0 var(--fg-color);
  }
  #diagnosis .diagnosis-box h2 {
    margin: 0 auto;
  }
  #diagnosis .diagnosis-box h2 img {
    margin: 0 auto;
    width: 60%;
    height: auto;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap {
    margin: 0 auto;
    padding: 4vw 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1vw 2vw;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .qno {
    margin: 0;
    padding: 0;
    width: 2.5em;
    height: 2.5em;
    color: #fff;
    font-size: 4vw;
    font-weight: 500;
    background: #1988d9;
    border-radius: 100%;
    display: grid;
    place-items: center;
    flex: 0 0 2.5em;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .txt {
    margin: 0;
    padding: 0;
    width: calc(100% - 2.5em - 2vw);
    color: var(--fg-color);
    font-size: 4vw;
    font-weight: 700;
    line-height: calc(30 / 21);
    flex: 1 1 auto;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .yes {
    margin: 0;
    padding: 0.4em 0;
    width: 48%;
    color: var(--color-theme);
    font-size: 4vw;
    font-weight: 900;
    text-align: center;
    line-height: 1;
    background: #fff;
    border: 2px solid var(--color-theme);
    border-radius: 4em;
    flex: 0 0 auto;
    cursor: pointer;
    transition: color 0.25s ease-out, background 0.25s ease-out;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .yes:has(input[type="radio"]:checked) {
    color: #fff;
    background: var(--color-theme);
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .no {
    margin: 0;
    padding: 0.4em 0;
    width: 48%;
    color: #777;
    font-size: 4vw;
    font-weight: 900;
    text-align: center;
    line-height: 1;
    border: 2px solid #777;
    border-radius: 4em;
    flex: 0 0 auto;
    cursor: pointer;
    transition: color 0.25s ease-out, background 0.25s ease-out;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .no:has(input[type="radio"]:checked) {
    color: #fff;
    background: #777;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap input[type="radio"] {
    opacity: 0;
    width: 1px;
    height: 1px;
  }
  #diagnosis .diagnosis-box #diagnosis-submit {
    display: block;
    margin: 1.5em auto min(5vw, 44px);
    padding: 0.4em 0;
    width: 100%;
    color: #fff;
    font-size: 4.8vw;
    font-family: inherit;
    font-weight: 900;
    text-align: center;
    background: #e6648e;
    border: 0;
    border-radius: 4em;
    cursor: pointer;
    transition: filter 0.5s ease-out;
  }
  #diagnosis .diagnosis-box #diagnosis-submit:disabled {
    filter: grayscale(1);
    cursor: auto;
  }
  #diagnosis .diagnosis-box #diagnosis-submit:disabled:hover {
    opacity: 1;
  }
  #diagnosis .diagnosis-box #diagnosis-result {
    position: relative;
    margin: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
  }
  #diagnosis .diagnosis-box #diagnosis-result.show {
    grid-template-rows: 1fr;
  }
  #diagnosis .diagnosis-box #diagnosis-result > div {
    padding: 0 0;
    border-top: 0;
    overflow: hidden;
    transition: padding 0.5s ease-out, border 0.5s ease-out;
  }
  #diagnosis .diagnosis-box #diagnosis-result.show > div {
    padding: 5vw 0;
    border-top: 2px dashed var(--fg-color);
  }
  #diagnosis .diagnosis-box #diagnosis-result > div::after {
    position: absolute;
    content: "";
    right: -12%;
    bottom: 0;
    width: 34%;
    height: auto;
    aspect-ratio: 259 / 350;
    background: url(../img/front/diagnosis-pic.png) no-repeat center / contain;
    opacity: 0;
    transform-origin: right bottom;
    transform: scale(0.01, 0.01);
    transition: opacity 0.2s ease-out, transform 0.01s ease-out 0.2s;
  }
  #diagnosis .diagnosis-box #diagnosis-result.show > div::after {
    opacity: 1;
    transform: scale(1, 1);
    transition: opacity 0.5s ease-out 0.4s, transform 0.01s ease-out 0.4s;
  }
  #diagnosis .diagnosis-box #diagnosis-result > div h3 {
    margin: 0 auto 1.5em 0;
    padding: 0;
    width: 80%;
    color: var(--fg-color);
    font-size: 4vw;
    font-weight: 900;
    text-align: center;
    line-height: calc(40 / 28);
    text-decoration-color: #f8f883;
    text-decoration-thickness: 0.4em;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-offset: -0.3em;
  }
  #diagnosis .diagnosis-box #diagnosis-result > div h3 em {
    color: var(--color-theme);
    font-size: 4.8vw;
  }
  #diagnosis .diagnosis-box #diagnosis-result > div p {
    margin: 1.5em auto 0 0;
    padding: 0;
    width: 80%;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
    text-align: center;
    line-height: calc(25.6 / 16);
  }
  #diagnosis .diagnosis-box #diagnosis-result > div p em {
    color: #e83770;
    font-size: 4vw;
    font-weight: 700;
  }
  #diagnosis .message {
    margin: 2em 0 0;
    color: var(--fg-color);
    font-size: 4vw;
    font-weight: 700;
    text-align: center;
    line-height: calc(38.4 / 24);
  }
  #diagnosis .message em {
    color: var(--color-theme);
    font-size: 125%;
  }
  #diagnosis .message em strong {
    font-size: 150%;
  }

  #selection {
    margin: -8vw auto 0;
    padding: 16vw 0 8vw;
    width: 100%;
    background: #eff3f9;
    z-index: 0;
  }
  #selection h2 {
    position: relative;
    margin: 0 0 1.5em;
    color: var(--color-theme);
    font-size: 5.2vw;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #selection h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #selection h2 em {
    color: var(--color-theme);
    font-size: 132%;
  }
  #selection .selection-grid {
    margin: 8vw auto 0;
    padding: 0;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8vw 0;
  }
  #selection .selection-grid > div {
    position: relative;
    width: 100%;
  }
  #selection .selection-grid > div .no {
    margin: 0;
    color: var(--color-theme);
    font-size: 100px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
  }
  #selection .selection-grid > div h3 {
    margin: -1vw 0 0;
    padding: 1em 0;
    width: 100%;
    height: auto;
    color: #fff;
    font-size: 4.4vw;
    font-weight: 700;
    text-align: center;
    line-height: calc(32 / 24);
    background: var(--color-theme);
    border-radius: 10px 10px 0 0;
    display: grid;
    place-items: center;
  }
  #selection .selection-grid > div p {
    margin: 0;
    padding: 1.5em;
    width: 100%;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.4 / 16);
    background: #fff;
    border-radius: 0 0 10px 10px;
  }
  #selection > .message {
    margin: 8vw 0 0;
    padding: 0;
    color: var(--fg-color);
    font-size: 4vw;
    font-weight: 700;
    text-align: center;
    line-height: calc(38.4 / 24);
  }

  #insurance {
    margin: 0;
    padding: 8vw 0;
    width: 100%;
  }
  #insurance h2 {
    position: relative;
    margin: 0 0 1.5em;
    color: var(--color-theme);
    font-size: 5.2vw;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #insurance h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #insurance > p {
    margin: 0 auto;
    padding: 0;
    width: 90%;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #insurance > p + p {
    margin-top: 1.5em;
  }
  #insurance > .pic {
    margin: 8vw auto 0;
    width: 90%;
    height: auto;
  }
  #insurance > .pic figcaption {
    margin: 8vw 0 0;
    padding: 0;
    color: var(--fg-color);
    font-size: 4vw;
    font-weight: 700;
    text-align: center;
    line-height: calc(38.4 / 24);
  }

  .cta {
    margin: 0 auto;
    padding: 8vw 0;
    width: 100%;
    background: #eff3f9;
  }
  .cta .cta-grid {
    margin: 0 auto;
    padding: 0;
    width: 80%;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr;
    gap: 2vw 0;
  }
  .cta .cta-grid > :nth-child(1) {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    width: 100%;
  }
  .cta .cta-grid > :nth-child(2) {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
    width: 100%;
    height: auto;
    aspect-ratio: 441 / 116;
    color: #fff;
    font-size: 4.8vw;
    font-weight: 900;
    background: linear-gradient(to bottom, #ef799f, #e55281);
    border-radius: calc(10 * min(90vw, 980px) / 980);
    display: grid;
    place-items: center;
  }
  .cta .cta-grid > :nth-child(3) {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    width: 100%;
    height: auto;
    aspect-ratio: 490 / 50;
    color: #fff;
    font-size: 4vw;
    font-weight: 700;
    background: var(--color-theme);
    border-radius: 4em;
    display: grid;
    place-items: center;
  }

  #reason {
    margin: 0;
    padding: 8vw 0;
    width: 100%;
  }
  #reason h2 {
    position: relative;
    margin: 0 0 0.5em;
    color: var(--color-theme);
    font-size: 5.2vw;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #reason h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #reason .reason-grid {
    margin: 8vw auto 0;
    width: 90%;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr;
    gap: 8vw 0;
  }
  #reason .reason-grid > .reason-txt {
    width: 100%;
  }
  #reason .reason-grid > .reason-txt p {
    margin: 0 auto;
    width: 100%;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #reason .reason-grid > .reason-txt p + p {
    margin-top: 1.5em;
  }
  #reason .reason-grid > .reason-txt p b {
    color: var(--color-theme);
    font-weight: 700;
  }
  #reason .reason-grid > .reason-pic {
    margin: 0 auto;
    width: 60%;
  }
  #reason > .pic {
    margin: 8vw auto 0;
    width: 90%;
    height: auto;
  }

  #saving {
    margin: 0;
    padding: 8vw 0 0;
    width: 100%;
  }
  #saving h2 {
    position: relative;
    margin: 0 0 0.5em;
    color: var(--color-theme);
    font-size: 5.2vw;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #saving h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #saving .saving-grid {
    margin: 40px auto 0;
    width: 90%;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr;
    gap: 8vw 0;
  }
  #saving .saving-grid > .saving-txt {
    width: 100%;
  }
  #saving .saving-grid > .saving-txt p {
    margin: 0 auto;
    width: 100%;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #saving .saving-grid > .saving-txt p + p {
    margin-top: 1.5em;
  }
  #saving .saving-grid > .saving-txt p b {
    color: var(--color-theme);
    font-weight: 700;
  }
  #saving .saving-grid > .saving-pic {
    margin: 0 auto;
    width: 60%;
    height: auto;
    aspect-ratio: 527 / 610;
  }
  #saving .saving-grid > .saving-pic img {
    width: 100%;
    height: 100%;
    object-position: center top;
    object-fit: cover;
  }

  #utilization {
    margin: 0;
    padding: 8vw 0;
    width: 100%;
  }
  #utilization h2 {
    position: relative;
    margin: 0 0 1.5em;
    color: var(--color-theme);
    font-size: 5.2vw;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #utilization h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #utilization > p {
    margin: 1.5em auto 0;
    width: 90%;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #utilization .utilization-box {
    margin: 4vw auto 0;
    padding: 2em 2em;
    width: 90%;
    font-size: 3.2vw;
    display: flex;
    flex-wrap: wrap;
    align-itesm: flex-start;
    justify-content: flex-start;
    gap: 1em 3em;
    border: 3px solid #cad9f2;
  }
  #utilization .utilization-box > div {
    width: 16em;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
    text-align: left;
  }
  #utilization .utilization-box > div::before {
    content: "● ";
    color: var(--color-theme);
  }

  #voice {
    margin: 0;
    padding: 8vw 0 16vw;
    width: 100%;
    background: url(../img/front/bg-dots.svg) repeat, #fff;
  }
  #voice h2 {
    position: relative;
    margin: 0 0 2em;
    color: var(--color-theme);
    font-size: 5.2vw;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #voice h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #voice .voice-box {
    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 20px;
    overflow: hidden;
  }
  #voice .voice-box .pic {
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 320;
  }
  #voice .voice-box .pic img {
    margin: auto;
    padding: 5% 0;
    width: 50%;
    height: 100%;
    object-fit: contain;
  }
  #voice .swiper-slide:nth-child(1) .voice-box .pic {
    background: #eff3f9;
  }
  #voice .swiper-slide:nth-child(2) .voice-box .pic {
    background: #fef7ee;
  }
  #voice .swiper-slide:nth-child(3) .voice-box .pic {
    background: #fef7ee;
  }
  #voice #voice-swiper {
    position: relative;
  }
  #voice .swiper-pagination {
    top: calc(100% + 4vw);
  }
  #voice .swiper-pagination-bullet {
    margin: 0 10px;
    width: 15px;
    height: 15px;
    background: #ddd;
    opacity: 1;
    transition: background 0.5s ease-out;
  }
  #voice .swiper-pagination-bullet-active {
    background: var(--color-theme);
  }
  #voice .voice-box {
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
    line-height: calc(25.6 / 16);
  }
  #voice .voice-box .attr {
    margin: 1.5em auto;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  #voice .voice-box .attr .place {
    padding: 0.8em 1em;
    background: #eff3f9;
  }
  #voice .voice-box .attr .name {
    padding: 0.4em 1em;
  }
  #voice .voice-box .attr .age {
    padding: 0.4em 1em;
    border-left: 1px solid var(--fg-color);
  }
  #voice .voice-box p {
    margin: 1.5em auto;
    padding: 0 2em;
    width: 100%;
    min-height: 33em;
  }

  #flow {
    margin: 0;
    padding: 8vw 0;
    width: 100%;
    background: var(--color-theme);
  }
  #flow h2 {
    position: relative;
    margin: 0 0 2em;
    color: #fff;
    font-size: 5.2vw;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #flow h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: #fff;
  }
  #flow .flow-box {
    margin: 4vw auto 0;
    padding: 0.4em 1em;
    width: 90%;
    color: var(--fg-color);
    font-size: 3.6vw;
    font-weight: 700;
    text-align: center;
    background: #fff;
    border-radius: 10em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  #flow .flow-box .memo {
    font-size: 2.8vw;
    font-weight: 400;
  }
  #flow .flow-box::before {
    content: attr(data-no);
    width: 1.4em;
    color: var(--color-theme);
    font-size: 6vw;
    font-weight: 700;
    white-space: nowrap;
  }

  #reservation {
    margin: 0;
    padding: 8vw 0;
    width: 100%;
  }
  #reservation .reservation-subtitle {
    margin: 0 auto;
    color: var(--color-theme);
    font-size: 10vw;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #reservation .reservation-subtitle img {
    width: 60%;
    height: auto;
  }
  #reservation .reservation-subtitle::before {
    content: "";
    width: 2em;
    height: auto;
    aspect-ratio: 120 / 110;
    background: url(../img/front/reservation-icon.svg) no-repeat center / contain;
  }
  #reservation h2 {
    position: relative;
    margin: 0 auto 2em;
    color: var(--color-theme);
    width: max-content;
    font-size: 5.2vw;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #reservation h2::before {
    position: absolute;
    content: "(ファイナンシャルプランナー)";
    font-size: 2.4vw;
    font-weight: 500;
    top: 100%;
    left: 0;
  }
  #reservation h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #reservation form {
    margin: 8vw auto 0;
    width: 90%;
  }
  #reservation .reservation-form {
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  #reservation .reservation-form > dt {
    margin: 0;
    padding: 4vw 0 2vw;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #reservation .reservation-form > dt .memo {
    font-size: max(16px, 2.8vw);
    font-weight: 400;
  }
  #reservation .reservation-form > dt.no-border {
    padding: 0 0 2vw;
  }
  #reservation .reservation-form > dt:not(.wide)::after {
    content: "必須";
    margin: 0 10% 0 0;
    padding: 0.4em 0.4em;
    color: #fff;
    width: max-content;
    font-size: max(14px, 2.4vw);
    font-weight: 400;
    line-height: 1;
    background: #e6648e;
    border-radius: 4em;
  }
  #reservation .reservation-form > dt > div:not(:empty) {
    padding: 0.2em 0.5em;
    color: var(--fg-color);
    font-size: max(18px, 3.2vw);
    font-weight: 700;
    text-align: left;
    line-height: calc(24 / 18);
    border-left: 4px solid var(--color-theme);
  }
  #reservation .reservation-form > dd {
    margin: 0;
    padding: 2vw 4vw 4vw 4vw;
    color: var(--fg-color);
    font-size: max(16px, 2.8vw);
  }
  #reservation .reservation-form > dd div {
    margin: 0;
  }
  #reservation .reservation-form > dd div + div {
    margin-top: 10px;
  }
  #reservation .reservation-form > dd div label {
    font-weight: 400;
  }
  #reservation .reservation-form > dd div :where(input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select) {
    margin: 0;
    padding: 0.4em 0.8em;
    color: var(--fg-color);
    font-size: max(16px, 2.8vw);
    font-family: inherit;
    font-weight: 400;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
  }
  #reservation .reservation-form > dd div :where(input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select):disabled {
    background: #f8f8f8;
  }
  #reservation .reservation-form > dd div :where(input[type="text"], input[type="tel"], input[type="email"]) {
    width: 100%;
  }
  #reservation .reservation-form > dd div :where(input[type="number"]) {
    width: 10em;
  }
  #reservation .reservation-form > dd div .memo {
    margin: 1em 0 0;
    padding: 0;
    color: var(--fg-color);
    font-size: max(14px, 2.4vw);
    font-weight: 400;
    line-height: calc(23.4 / 14);
  }
  #reservation .reservation-form > dd div.checks {
    font-size: max(16px, 2.8vw);
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em 2em;
  }
  #reservation .reservation-form > dd div.other {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }
  #reservation .reservation-form > dd div.other label {
    width: 6em;
  }
  #reservation .reservation-form > dd div.other input[type="text"] {
    width: calc(100% - 6em);
  }
  #reservation .reservation-form > dd + dt {
    border-top: 1px solid #ccc;
  }
  #reservation .privacy-policy {
    margin: 8vw auto 0;
    padding: 4vw;
    width: 90%;
    max-height: 100vw;
    border: 1px solid var(--color-theme);
    overflow-y: auto;
  }
  #reservation .privacy-policy h3 {
    margin: 0 auto 1em;
    color: var(--color-theme);
    font-size: 4vw;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #reservation .privacy-policy h4 {
    margin: 1em auto 0;
    color: var(--fg-color);
    font-size: 3.6vw;
    font-weight: 700;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #reservation .privacy-policy p {
    margin: 0 auto;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #reservation .privacy-policy p + p {
    margin-top: 1.5em;
  }
  #reservation .ws-agree {
    margin: 4vw auto 0;
    text-align: center;
  }
  #reservation .ws-agree span {
    display: inline-block;
    margin: 0 auto;
  }
  #reservation .ws-agree label {
    margin: 0 auto;
    gap: 0 0.5em;
    color: var(--fg-color);
    font-size: 3.6vw;
    font-weight: 400;
  }
  #reservation .ws-agree label::after {
    content: "必須";
    margin: 0 0 0 0.4em;
    padding: 0.2em 0.8em;
    color: #fff;
    width: max-content;
    font-size: 3.2vw;
    font-weight: 400;
    line-height: 1;
    background: #e6648e;
    border-radius: 4em;
  }
  #reservation .ws-agree .wpcf7-not-valid-tip {
    display: block;
  }
  #reservation .ws-submit {
    position: relative;
    margin: 8vw auto 0;
  }
  #reservation .ws-submit .wpcf7-spinner {
    position: absolute;
    top: calc(100% + 0.5em);
    left: 50%;
    margin: 0;
    translate: -50% 0;
  }
  #reservation .ws-submit input[type="submit"] {
    margin: 0 auto;
    width: 80%;
    height: auto;
    aspect-ratio: 200 / 30;
    color: #fff;
    font-size: 4vw;
    font-family: inherit;
    font-weight: 700;
    display: grid;
    place-items: center;
    background: var(--color-theme);
    border-radius: 4em;
    border: 0;
  }

  #service-info {
    margin: 0;
    padding: 4vw 0 8vw;
    width: 100%;
  }
  #service-info dl {
    margin: 0 auto;
    width: 90%;
    display: grid;
    grid-template-columns: 25vw 1fr;
    gap: 0;
  }
  #service-info dl dt {
    margin: 0;
    padding: 4vw 0;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 700;
  }
  #service-info dl dd {
    margin: 0;
    padding: 4vw 0;
    color: var(--fg-color);
    font-size: 3.2vw;
    font-weight: 400;
  }
  #service-info dl dt:nth-of-type(n + 2),
  #service-info dl dd:nth-of-type(n + 2) {
    border-top: 1px solid #ccc;
  }

  .page-contents {
    margin: 0 auto;
    padding: 8vw 0;
    width: 90%;
  }
  .page-contents h1 {
    margin: 0 auto 2em;
    font-size: 6vw;
    font-weight: 700;
    text-align: center;
  }

  footer {
    width: 100%;
    background: var(--color-theme);
  }
  footer .copyright {
    margin: 0 auto;
    padding: 1em 0;
    width: 100%;
    color: #fff;
    font-size: 2.8vw;
    text-align: center;
  }
}

/**
 * PC用設定
 */
@media (min-width: 768.01px) {
  header {
    height: 64px;
  }
  header .header-wrap {
    margin: 0 auto;
    padding: 8px 20px;
    width: 100%;
    max-width: 1920px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header .header-logo {
    padding: 11px 0;
    height: 48px;
  }
  header .header-logo img {
    width: 150px;
    height: 26px;
    object-fit: contain;
  }
  header .header-menu {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
  }
  header .header-menu > li {
    height: 100%;
    list-style: none;
  }
  header .header-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1em;
    color: var(--fg-color);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.5s ease-out, opacity 0.5s ease-out;
  }
  header .header-menu > li.header-diagnosis {
  }
  header .header-menu > li.header-diagnosis > a {
    padding: 0 2em;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: #e6648e;
    border-radius: 4em;
  }
  header .header-menu > li.has-submenu {
    position: relative;
  }
  header .header-menu > li.has-submenu > .header-submenu {
    position: absolute;
    top: 100%;
    right: 50%;
    width: max-content;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 4px 4px #0003;
    list-style: none;
    opacity: 0;
    transform-origin: top center;
    transform: translateX(50%) scale(1, 0);
    transition: opacity 0.3s ease-out, transform 0.5s ease-out;
  }
  header .header-menu > li.has-submenu > .header-submenu > li {
    width: 100%;
    list-style: none;
  }
  header .header-menu > li.has-submenu > .header-submenu > li > a {
    display: block;
    margin: 0;
    padding: 1em 2em;
    width: 100%;
    color: var(--fg-color);
    font-size: max(14px, calc(18 * min(100vw, 1920px) / 1920));
    font-weight: 500;
    text-align: left;
    transition: color 0.5s ease-out, background 0.5s ease-out;
  }
  @media (hover: hover) {
    header .header-menu > li.has-submenu:hover > .header-submenu {
      opacity: 1;
      transform: translateX(50%) scale(1, 1);
      transition: opacity 0.3s ease-out, transform 0.5s ease-out;
    }
    header .header-menu > li.has-submenu > .header-submenu > li > a:hover {
      opacity: 1;
      color: #fff;
      background: var(--fg-color);
    }
  }
  header .header-menu > li.has-megamenu {
    position: relative;
  }
  header .header-menu > li.has-megamenu > .header-megamenu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 4px #0003;
    list-style: none;
    opacity: 0;
    transform-origin: top center;
    transform: scale(1, 0);
    transition: opacity 0.3s ease-out, transform 0.5s ease-out;
  }
  header .header-menu > li.has-megamenu > .header-megamenu > li {
    width: 30%;
    list-style: none;
  }
  header .header-menu > li.has-megamenu > .header-megamenu > li > a {
    display: block;
    margin: 0;
    padding: 1em 2em;
    width: 100%;
    color: var(--fg-color);
    font-size: max(14px, calc(18 * min(100vw, 1920px) / 1920));
    font-weight: 500;
    text-align: center;
    transition: color 0.5s ease-out, background 0.5s ease-out;
  }
  @media (hover: hover) {
    header .header-menu > li.has-megamenu:hover > .header-megamenu {
      opacity: 1;
      transform: scale(1, 1);
      transition: opacity 0.3s ease-out, transform 0.5s ease-out;
    }
    header .header-menu > li.has-megamenu > .header-megamenu > li > a:hover {
      opacity: 1;
      color: #fff;
      background: var(--fg-color);
    }
  }
  header .header-sp-menu {
    display: none;
  }

  .mv {
    margin: 0 auto;
    width: 100%;
  }
  .mv .mv-bg {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1366 / 568;
  }
  .mv .mv-bg img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mv .mv-box {
    position: absolute;
    top: 50%;
    left: calc(50% - min(50vw, 490px));
    margin: 0;
    padding: 0 20px;
    width: min(100%, 980px);
    translate: 0 -50%;
  }
  .mv .mv-box .mv-txt {
    margin: 0;
    padding: 0;
    width: calc(100% * 513 / 980);
    height: auto;
    aspect-ratio: 513 / 143;
  }
  .mv .mv-box .mv-txt img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .mv .mv-box p {
    margin: 1em 0 0;
    padding: 0;
    color: var(--fg-color);
    font-size: calc(21 * min(100vw, 980px) / 980);
    font-weight: 700;
    text-align: left;
    line-height: calc(30 / 21);
  }
  .mv .mv-box .mv-btn {
    display: block;
    margin: 1.5em 0 0;
    padding: 0.4em 0;
    width: calc(100% * 416 / 980);
    color: #fff;
    font-size: calc(24 * min(100vw, 980px) / 980);
    font-weight: 900;
    text-align: center;
    background: #e6648e;
    border-radius: 4em;
  }
  .mv .mv-box .mv-circle {
    position: absolute;
    bottom: -5%;
    margin: 0;
    padding: 0 0 1%;
    width: calc(100% * 160 / 980);
    height: auto;
    aspect-ratio: 1 / 1;
    color: #411414;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    background: url(../img/front/mv-circle.png) no-repeat center / contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .mv .mv-box .mv-circle.circle1 {
    left: 45%;
  }
  .mv .mv-box .mv-circle.circle2 {
    left: 60%;
  }
  .mv .mv-box .mv-circle.circle3 {
    left: 75%;
  }
  .mv .mv-box .mv-circle .size13 {
    font-size: calc(13 * min(100vw, 980px) / 980);
  }
  .mv .mv-box .mv-circle .size14 {
    font-size: calc(14 * min(100vw, 980px) / 980);
  }
  .mv .mv-box .mv-circle .size16 {
    font-size: calc(16 * min(100vw, 980px) / 980);
  }
  .mv .mv-box .mv-circle .size17 {
    font-size: calc(17 * min(100vw, 980px) / 980);
  }
  .mv .mv-box .mv-circle .size28 {
    font-size: calc(28 * min(100vw, 980px) / 980);
  }
  .mv .mv-box .mv-circle .size32 {
    font-size: calc(32 * min(100vw, 980px) / 980);
  }
  .mv .mv-box .mv-circle .size40 {
    font-size: calc(40 * min(100vw, 980px) / 980);
  }
  .mv .mv-box .mv-circle .black {
    font-weight: 900;
  }

  main {
    margin: 0 auto;
    width: 100%;
  }

  #diagnosis {
    margin: 0 auto;
    padding: 80px 0 120px;
    background: url(../img/front/bg-dots.svg) repeat, #fff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), calc(50% + 490px) calc(100% - 80px), 50% 100%, calc(50% - 490px) calc(100% - 80px), 0 calc(100% - 80px));
    z-index: 1;
  }
  #diagnosis .diagnosis-box {
    position: relative;
    margin: 0 auto;
    padding: min(5vw, 44px) min(5vw, 44px) 0;
    width: 90%;
    max-width: 880px;
    background: #fff;
    border: 1px solid var(--fg-color);
    border-radius: calc(20 * min(90vw, 880px) / 880);
    box-shadow: 0 calc(5 * min(90vw, 880px) / 880) 0 var(--fg-color);
  }
  #diagnosis .diagnosis-box h2 {
    margin: 0 auto;
  }
  #diagnosis .diagnosis-box h2 img {
    margin: 0 auto;
    width: 47.7%;
    height: auto;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap {
    margin: 0 auto;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 calc(10 * min(90vw, 880px) / 880);
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .qno {
    margin: 0;
    padding: 0;
    width: 2.5em;
    height: 2.5em;
    color: #fff;
    font-size: calc(20 * min(90vw, 880px) / 880);
    font-weight: 500;
    background: #1988d9;
    border-radius: 100%;
    display: grid;
    place-items: center;
    flex: 0 0 2.5em;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .txt {
    margin: 0;
    padding: 0;
    width: auto;
    color: var(--fg-color);
    font-size: calc(21 * min(90vw, 880px) / 880);
    font-weight: 700;
    line-height: calc(30 / 21);
    flex: 1 1 auto;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .yes {
    margin: 0;
    padding: 0.4em 2em;
    color: var(--color-theme);
    font-size: calc(18 * min(90vw, 880px) / 880);
    font-weight: 900;
    line-height: 1;
    background: #fff;
    border: 2px solid var(--color-theme);
    border-radius: 4em;
    flex: 0 0 auto;
    cursor: pointer;
    transition: color 0.25s ease-out, background 0.25s ease-out;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .yes:has(input[type="radio"]:checked) {
    color: #fff;
    background: var(--color-theme);
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .no {
    margin: 0;
    padding: 0.4em 2em;
    color: #777;
    font-size: calc(18 * min(90vw, 880px) / 880);
    font-weight: 900;
    line-height: 1;
    border: 2px solid #777;
    border-radius: 4em;
    flex: 0 0 auto;
    cursor: pointer;
    transition: color 0.25s ease-out, background 0.25s ease-out;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap .no:has(input[type="radio"]:checked) {
    color: #fff;
    background: #777;
  }
  #diagnosis .diagnosis-box .diagnosis-wrap input[type="radio"] {
    opacity: 0;
    width: 1px;
    height: 1px;
  }
  #diagnosis .diagnosis-box #diagnosis-submit {
    display: block;
    margin: 1.5em auto min(5vw, 44px);
    padding: 0.4em 0;
    width: 320px;
    color: #fff;
    font-size: calc(24 * min(100vw, 980px) / 980);
    font-family: inherit;
    font-weight: 900;
    text-align: center;
    background: #e6648e;
    border: 0;
    border-radius: 4em;
    cursor: pointer;
    transition: filter 0.5s ease-out;
  }
  #diagnosis .diagnosis-box #diagnosis-submit:disabled {
    filter: grayscale(1);
    cursor: auto;
  }
  #diagnosis .diagnosis-box #diagnosis-submit:disabled:hover {
    opacity: 1;
  }
  #diagnosis .diagnosis-box #diagnosis-result {
    position: relative;
    margin: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
  }
  #diagnosis .diagnosis-box #diagnosis-result.show {
    grid-template-rows: 1fr;
  }
  #diagnosis .diagnosis-box #diagnosis-result > div {
    padding: 0 0;
    border-top: 0;
    overflow: hidden;
    transition: padding 0.5s ease-out, border 0.5s ease-out;
  }
  #diagnosis .diagnosis-box #diagnosis-result.show > div {
    padding: min(5vw, 44px) 0;
    border-top: 2px dashed var(--fg-color);
  }
  #diagnosis .diagnosis-box #diagnosis-result > div::after {
    position: absolute;
    content: "";
    right: -12%;
    bottom: 0;
    width: 34%;
    height: auto;
    aspect-ratio: 259 / 350;
    background: url(../img/front/diagnosis-pic.png) no-repeat center / contain;
    opacity: 0;
    transform-origin: right bottom;
    transform: scale(0.01, 0.01);
    transition: opacity 0.2s ease-out, transform 0.01s ease-out 0.2s;
  }
  #diagnosis .diagnosis-box #diagnosis-result.show > div::after {
    opacity: 1;
    transform: scale(1, 1);
    transition: opacity 0.5s ease-out 0.4s, transform 0.01s ease-out 0.4s;
  }
  #diagnosis .diagnosis-box #diagnosis-result > div h3 {
    margin: 0 auto 1.5em 0;
    padding: 0;
    width: 80%;
    color: var(--fg-color);
    font-size: calc(28 * min(100vw, 980px) / 980);
    font-weight: 900;
    text-align: center;
    line-height: calc(40 / 28);
    text-decoration-color: #f8f883;
    text-decoration-thickness: 0.4em;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-offset: -0.3em;
  }
  #diagnosis .diagnosis-box #diagnosis-result > div h3 em {
    color: var(--color-theme);
    font-size: calc(32 * min(100vw, 980px) / 980);
  }
  #diagnosis .diagnosis-box #diagnosis-result > div p {
    margin: 1.5em auto 0 0;
    padding: 0;
    width: 80%;
    color: var(--fg-color);
    font-size: calc(16 * min(100vw, 980px) / 980);
    font-weight: 400;
    text-align: center;
    line-height: calc(25.6 / 16);
  }
  #diagnosis .diagnosis-box #diagnosis-result > div p em {
    color: #e83770;
    font-size: calc(24 * min(100vw, 980px) / 980);
    font-weight: 700;
  }
  #diagnosis .message {
    margin: 2em 0 0;
    color: var(--fg-color);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: calc(38.4 / 24);
  }
  #diagnosis .message em {
    color: var(--color-theme);
    font-size: 125%;
  }
  #diagnosis .message em strong {
    font-size: 150%;
  }

  #selection {
    margin: -80px auto 0;
    padding: 160px 0 80px;
    width: 100%;
    background: #eff3f9;
    z-index: 0;
  }
  #selection h2 {
    position: relative;
    margin: 0 0 1.5em;
    color: var(--color-theme);
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #selection h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #selection h2 em {
    color: var(--color-theme);
    font-size: 132%;
  }
  #selection .selection-grid {
    margin: 60px auto 0;
    padding: 0;
    width: 90%;
    max-width: 980px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0 30px;
  }
  #selection .selection-grid > div {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
  }
  #selection .selection-grid > div .no {
    margin: 0;
    color: var(--color-theme);
    font-size: 100px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
  }
  #selection .selection-grid > div h3 {
    margin: -10px 0 0;
    padding: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 86;
    color: #fff;
    font-size: calc(24 * min(90vw, 980px) / 980);
    font-weight: 700;
    text-align: center;
    line-height: calc(32 / 24);
    background: var(--color-theme);
    border-radius: 10px 10px 0 0;
    display: grid;
    place-items: center;
  }
  #selection .selection-grid > div p {
    margin: 0;
    padding: 1em;
    width: 100%;
    color: var(--fg-color);
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.4 / 16);
    background: #fff;
    border-radius: 0 0 10px 10px;
  }
  #selection > p {
    margin: 50px 0 0;
    padding: 0;
    color: var(--fg-color);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: calc(38.4 / 24);
  }

  #insurance {
    margin: 0;
    padding: 80px 0;
    width: 100%;
  }
  #insurance h2 {
    position: relative;
    margin: 0 0 1.5em;
    color: var(--color-theme);
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #insurance h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #insurance > p {
    margin: 0 auto;
    padding: 0;
    width: 90%;
    max-width: 980px;
    color: var(--fg-color);
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #insurance > p + p {
    margin-top: 1.5em;
  }
  #insurance > .pic {
    margin: 60px auto 0;
    width: 90%;
    max-width: 844px;
    height: auto;
  }
  #insurance > .pic figcaption {
    margin: 40px 0 0;
    padding: 0;
    color: var(--fg-color);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: calc(38.4 / 24);
  }

  .cta {
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    background: #eff3f9;
  }
  .cta .cta-grid {
    margin: 0 auto;
    padding: 0;
    width: 90%;
    max-width: 980px;
    display: grid;
    align-items: center;
    grid-template-columns: 50% 46%;
    gap: 4px 4%;
  }
  .cta .cta-grid > :nth-child(1) {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    width: 100%;
  }
  .cta .cta-grid > :nth-child(2) {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    width: 100%;
    height: auto;
    aspect-ratio: 441 / 116;
    color: #fff;
    font-size: calc(32 * min(90vw, 980px) / 980);
    font-weight: 900;
    background: linear-gradient(to bottom, #ef799f, #e55281);
    border-radius: calc(10 * min(90vw, 980px) / 980);
    display: grid;
    place-items: center;
  }
  .cta .cta-grid > :nth-child(3) {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    width: 100%;
    height: auto;
    aspect-ratio: 490 / 50;
    color: #fff;
    font-size: calc(24 * min(90vw, 980px) / 980);
    font-weight: 700;
    background: var(--color-theme);
    border-radius: 4em;
    display: grid;
    place-items: center;
  }

  #reason {
    margin: 0;
    padding: 80px 0;
    width: 100%;
  }
  #reason h2 {
    position: relative;
    margin: 0 0 0.5em;
    color: var(--color-theme);
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #reason h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #reason .reason-grid {
    margin: 40px auto 0;
    width: 90%;
    max-width: 980px;
    display: grid;
    align-items: center;
    grid-template-columns: 71% 25%;
    gap: 0 4%;
  }
  #reason .reason-grid > .reason-txt {
    width: 100%;
  }
  #reason .reason-grid > .reason-txt p {
    margin: 0 auto;
    width: 100%;
    color: var(--fg-color);
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #reason .reason-grid > .reason-txt p + p {
    margin-top: 1.5em;
  }
  #reason .reason-grid > .reason-txt p b {
    color: var(--color-theme);
    font-weight: 700;
  }
  #reason .reason-grid > .reason-pic {
    width: 100%;
  }
  #reason > .pic {
    margin: 60px auto 0;
    width: 90%;
    max-width: 834px;
    height: auto;
  }

  #saving {
    margin: 0;
    padding: 80px 0 0;
    width: 100%;
  }
  #saving h2 {
    position: relative;
    margin: 0 0 0.5em;
    color: var(--color-theme);
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #saving h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #saving .saving-grid {
    margin: 40px auto 0;
    width: 90%;
    max-width: 980px;
    display: grid;
    align-items: center;
    grid-template-columns: 70% 26%;
    gap: 0 4%;
  }
  #saving .saving-grid > .saving-txt {
    width: 100%;
  }
  #saving .saving-grid > .saving-txt p {
    margin: 0 auto;
    width: 100%;
    color: var(--fg-color);
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #saving .saving-grid > .saving-txt p + p {
    margin-top: 1.5em;
  }
  #saving .saving-grid > .saving-txt p b {
    color: var(--color-theme);
    font-weight: 700;
  }
  #saving .saving-grid > .saving-pic {
    width: 100%;
    height: auto;
    aspect-ratio: 527 / 610;
  }
  #saving .saving-grid > .saving-pic img {
    width: 100%;
    height: 100%;
    object-position: center top;
    object-fit: cover;
  }

  #utilization {
    margin: 0;
    padding: 80px 0;
    width: 100%;
  }
  #utilization h2 {
    position: relative;
    margin: 0 0 1.5em;
    color: var(--color-theme);
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #utilization h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #utilization > p {
    margin: 1.5em auto 0;
    width: 90%;
    max-width: 980px;
    color: var(--fg-color);
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #utilization .utilization-box {
    margin: 40px auto 0;
    padding: 2em 2em;
    width: 90%;
    max-width: 980px;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    align-itesm: flex-start;
    justify-content: flex-start;
    gap: 1em 3em;
    border: 3px solid #cad9f2;
  }
  #utilization .utilization-box > div {
    width: 16em;
    color: var(--fg-color);
    font-size: 16px;
    font-weight: 400;
    text-align: left;
  }
  #utilization .utilization-box > div::before {
    content: "● ";
    color: var(--color-theme);
  }

  #voice {
    margin: 0;
    padding: 80px 0 120px;
    width: 100%;
    background: url(../img/front/bg-dots.svg) repeat, #fff;
  }
  #voice h2 {
    position: relative;
    margin: 0 0 2em;
    color: var(--color-theme);
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #voice h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #voice .voice-box {
    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 20px;
    overflow: hidden;
  }
  #voice .voice-box .pic {
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 320;
  }
  #voice .voice-box .pic img {
    margin: auto;
    padding: 5% 0;
    width: 50%;
    height: 100%;
    object-fit: contain;
  }
  #voice .swiper-slide:nth-child(1) .voice-box .pic {
    background: #eff3f9;
  }
  #voice .swiper-slide:nth-child(2) .voice-box .pic {
    background: #fef7ee;
  }
  #voice .swiper-slide:nth-child(3) .voice-box .pic {
    background: #fef7ee;
  }
  #voice #voice-swiper {
    position: relative;
  }
  #voice .swiper-pagination {
    top: calc(100% + 30px);
  }
  #voice .swiper-pagination-bullet {
    margin: 0 10px;
    width: 15px;
    height: 15px;
    background: #ddd;
    opacity: 1;
    transition: background 0.5s ease-out;
  }
  #voice .swiper-pagination-bullet-active {
    background: var(--color-theme);
  }
  #voice .voice-box {
    color: var(--fg-color);
    font-size: 16px;
    font-weight: 400;
    line-height: calc(25.6 / 16);
  }
  #voice .voice-box .attr {
    margin: 1.5em auto;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  #voice .voice-box .attr .place {
    padding: 0.8em 1em;
    background: #eff3f9;
  }
  #voice .voice-box .attr .name {
    padding: 0.4em 1em;
  }
  #voice .voice-box .attr .age {
    padding: 0.4em 1em;
    border-left: 1px solid var(--fg-color);
  }
  #voice .voice-box p {
    margin: 1.5em auto;
    padding: 0 2em;
    width: 100%;
    min-height: 22em;
  }

  #flow {
    margin: 0;
    padding: 80px 0;
    width: 100%;
    background: var(--color-theme);
  }
  #flow h2 {
    position: relative;
    margin: 0 0 2em;
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #flow h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: #fff;
  }
  #flow .flow-box {
    margin: 20px auto 0;
    padding: 0.4em 1em;
    width: 90%;
    max-width: 800px;
    color: var(--fg-color);
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    background: #fff;
    border-radius: 10em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  #flow .flow-box .memo {
    font-size: 16px;
    font-weight: 400;
  }
  #flow .flow-box::before {
    content: attr(data-no);
    width: 1.4em;
    color: var(--color-theme);
    font-size: 36px;
    font-weight: 700;
    white-space: nowrap;
  }

  #reservation {
    margin: 0;
    padding: 80px 0;
    width: 100%;
  }
  #reservation .reservation-subtitle {
    margin: 0 auto;
    color: var(--color-theme);
    font-size: 60px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #reservation .reservation-subtitle img {
    width: 6em;
    height: auto;
  }
  #reservation .reservation-subtitle::before {
    content: "";
    width: 2em;
    height: auto;
    aspect-ratio: 120 / 110;
    background: url(../img/front/reservation-icon.svg) no-repeat center / contain;
  }
  #reservation h2 {
    position: relative;
    margin: 0 auto 2em;
    color: var(--color-theme);
    width: max-content;
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #reservation h2::before {
    position: absolute;
    content: "(ファイナンシャルプランナー)";
    font-size: 11px;
    font-weight: 500;
    top: 100%;
    left: 0;
  }
  #reservation h2::after {
    position: absolute;
    content: "";
    top: calc(100% + 0.5em);
    left: calc(50% - 40px);
    width: 80px;
    height: 4px;
    background: var(--color-theme);
  }
  #reservation form {
    margin: 40px auto 0;
    width: 90%;
    max-width: 980px;
  }
  #reservation .reservation-form {
    margin: 40px auto 0;
    width: 100%;
    display: grid;
    align-items: start;
    grid-template-columns: 220px 1fr;
    gap: 0;
  }
  #reservation .reservation-form > dt {
    margin: 0;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #reservation .reservation-form > dt .memo {
    font-size: 16px;
    font-weight: 400;
  }
  #reservation .reservation-form > dt.wide {
    grid-column: span 2;
  }
  #reservation .reservation-form > dt:not(.wide)::after {
    content: "必須";
    margin: 0;
    padding: 0.4em 0.4em;
    color: #fff;
    width: max-content;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    background: #e6648e;
    border-radius: 4em;
  }
  #reservation .reservation-form > dt > div:not(:empty) {
    padding: 0.2em 0.5em;
    color: var(--fg-color);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    line-height: calc(24 / 18);
    border-left: 4px solid var(--color-theme);
  }
  #reservation .reservation-form > dd {
    margin: 0;
    padding: 20px 20px 20px 20px;
    color: var(--fg-color);
    font-size: 16px;
  }
  #reservation .reservation-form > dd div {
    margin: 0;
  }
  #reservation .reservation-form > dd div + div {
    margin-top: 10px;
  }
  #reservation .reservation-form > dd div label {
    font-weight: 400;
  }
  #reservation .reservation-form > dd div :where(input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select) {
    margin: 0;
    padding: 0.4em 0.8em;
    color: var(--fg-color);
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
  }
  #reservation .reservation-form > dd div :where(input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select):disabled {
    background: #f8f8f8;
  }
  #reservation .reservation-form > dd div :where(input[type="text"], input[type="tel"], input[type="email"]) {
    width: 100%;
  }
  #reservation .reservation-form > dd div :where(input[type="number"]) {
    width: 10em;
  }
  #reservation .reservation-form > dd div .memo {
    margin: 1em 0 0;
    padding: 0;
    color: var(--fg-color);
    font-size: 14px;
    font-weight: 400;
    line-height: calc(23.4 / 14);
  }
  #reservation .reservation-form > dd div.checks {
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em 2em;
  }
  #reservation .reservation-form > dd div.other {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }
  #reservation .reservation-form > dd div.other label {
    width: 6em;
  }
  #reservation .reservation-form > dd div.other input[type="text"] {
    width: calc(100% - 6em);
  }
  #reservation .reservation-form > dt:nth-of-type(n + 2):not(.no-border) {
    border-top: 1px solid #ccc;
  }
  #reservation .reservation-form > dd:nth-of-type(n + 2):not(.no-border) {
    border-top: 1px solid #ccc;
  }
  #reservation .privacy-policy {
    margin: 40px auto 0;
    padding: 20px;
    width: 90%;
    max-width: 980px;
    max-height: 360px;
    border: 1px solid var(--color-theme);
    overflow-y: auto;
  }
  #reservation .privacy-policy h3 {
    margin: 0 auto 1em;
    color: var(--color-theme);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  #reservation .privacy-policy h4 {
    margin: 1em auto 0;
    color: var(--fg-color);
    font-size: 18px;
    font-weight: 700;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #reservation .privacy-policy p {
    margin: 0 auto;
    color: var(--fg-color);
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    line-height: calc(25.6 / 16);
  }
  #reservation .privacy-policy p + p {
    margin-top: 1.5em;
  }
  #reservation .ws-agree {
    margin: 20px auto 0;
    text-align: center;
  }
  #reservation .ws-agree span {
    display: inline-block;
    margin: 0 auto;
  }
  #reservation .ws-agree label {
    margin: 0 auto;
    gap: 0 0.5em;
    color: var(--fg-color);
    font-size: 16px;
    font-weight: 400;
  }
  #reservation .ws-agree label::after {
    content: "必須";
    margin: 0 0 0 0.4em;
    padding: 0.2em 0.8em;
    color: #fff;
    width: max-content;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    background: #e6648e;
    border-radius: 4em;
  }
  #reservation .ws-agree .wpcf7-not-valid-tip {
    display: block;
  }
  #reservation .ws-submit {
    position: relative;
    margin: 40px auto 0;
  }
  #reservation .ws-submit .wpcf7-spinner {
    position: absolute;
    top: calc(100% + 0.5em);
    left: 50%;
    margin: 0;
    translate: -50% 0;
  }
  #reservation .ws-submit input[type="submit"] {
    margin: 0 auto;
    width: 200px;
    height: auto;
    aspect-ratio: 200 / 50;
    color: #fff;
    font-size: 20px;
    font-family: inherit;
    font-weight: 700;
    display: grid;
    place-items: center;
    background: var(--color-theme);
    border-radius: 4em;
    border: 0;
  }

  #service-info {
    margin: 0;
    padding: 20px 0 80px;
    width: 100%;
  }
  #service-info dl {
    margin: 0 auto;
    width: 90%;
    max-width: 780px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
  }
  #service-info dl dt {
    margin: 0;
    padding: 20px 0;
    color: var(--fg-color);
    font-size: 18px;
    font-weight: 700;
  }
  #service-info dl dd {
    margin: 0;
    padding: 20px 0;
    color: var(--fg-color);
    font-size: 18px;
    font-weight: 400;
  }
  #service-info dl dt:nth-of-type(n + 2),
  #service-info dl dd:nth-of-type(n + 2) {
    border-top: 1px solid #ccc;
  }

  .page-contents {
    margin: 0 auto;
    padding: 80px 0;
    width: 90%;
    max-width: 960px;
  }
  .page-contents h1 {
    margin: 0 auto 2em;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
  }

  footer {
    width: 100%;
    background: var(--color-theme);
  }
  footer .copyright {
    margin: 0 auto;
    padding: 1em 0;
    width: 100%;
    max-width: 1920px;
    color: #fff;
    font-size: 16px;
    text-align: center;
  }
}

@keyframes anim-scroll-right {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  50% {
    opacity: 0.2;
    transform: translateX(-20%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1100px) {
  header .header-menu > li:not(.header-diagnosis) {
    display: none;
  }
}
