@charset "UTF-8";
body {
  font-family: "Zen Old Mincho", serif;
}

.globalMenuSp {
  overflow: hidden;
  height: 100%;
}
.globalMenuSp ul {
  overflow: scroll;
  height: 100%;
}

.top__wrap {
  background-color: #fff;
}

@media (max-width: 749px) {
  header .top__wrap {
    padding-bottom: 1rem;
  }
}

.head__ttl {
  display: none;
}

.wrap header {
  background-image: url("../img/fv/fv-hero.webp");
  aspect-ratio: 1920/1072;
  background-size: contain;
  background-position: bottom;
}
@media (max-width: 749px) {
  .wrap header {
    background-image: url("../img/fv/fv-hero-sp.webp");
    aspect-ratio: 375/540;
    background-position: bottom;
    background-size: contain;
    min-height: auto !important;
  }
}
.wrap header .main__ttl {
  margin-left: auto;
}
@media (max-width: 749px) {
  .wrap header .main__ttl {
    padding-top: 1rem;
  }
}
.wrap header .main__txt-wrap {
  background-color: rgba(0, 86, 133, 0.6);
  padding: 5px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-top: 1rem;
}
@media (max-width: 749px) {
  .wrap header .main__txt-wrap {
    margin-left: 1rem;
    margin-right: auto;
    background-color: rgba(255, 255, 255, 0.6);
  }
}
.wrap header .main__txt {
  color: #000;
  font-size: 4rem;
  font-weight: 400;
  text-align: center;
  border: 1px solid #fff;
  padding: 0 3rem;
  position: relative;
}
@media (max-width: 749px) {
  .wrap header .main__txt {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0;
    margin-left: 0rem;
    border-color: #005685;
    color: #005685;
    padding: 0 1rem;
  }
}
.wrap header .main__txt::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 3px;
  transform: translateX(-50%) rotate(-45deg);
  /* 三角形をつくる設定 */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  /* 上 右 下 左 */
  border-color: transparent transparent #fff transparent;
  /* 下のボーダーだけに色を指定 */
}
@media (max-width: 749px) {
  .wrap header .main__txt::before {
    border-color: transparent transparent #005685 transparent;
  }
}

header .main__wrap div .top__ttl {
  width: 75.5rem;
  margin-left: auto;
}
@media screen and (max-width: 749px) {
  header .main__wrap div .top__ttl {
    width: 100%;
  }
}

.sec {
  padding: 12rem 0;
}
@media (max-width: 749px) {
  .sec {
    padding: 7rem 18px;
  }
}

.sec__inr {
  max-width: 156rem;
  margin: 0 auto;
}

header .main__wrap {
  padding-right: 0;
  padding-bottom: 8rem;
}
@media (max-width: 749px) {
  header .main__wrap {
    padding-left: 0;
    padding-bottom: 2rem;
    padding-right: 4%;
  }
}

@media (max-width: 749px) {
  .main-bottom {
    padding-left: 0;
    padding-right: 0;
    bottom: 0;
  }
}

.main__feature {
  margin-left: auto;
  margin-top: 2rem;
}

.implant-results {
  background-color: #fff;
}

.implant-results__inner {
  max-width: 1550px;
}

.implant-results__heading h2 {
  font-size: 48px;
  font-family: "Zen Old Mincho", serif;
}
@media (max-width: 749px) {
  .implant-results__heading h2 {
    font-size: 27px;
  }
}
.implant-results__heading span {
  width: 40%;
  background-color: #005685;
}
@media (max-width: 749px) {
  .implant-results__heading span {
    width: 28%;
  }
}
.implant-results__heading span::before {
  content: none;
}

.implant-results__summary-wrap {
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
}

.implant-results__lead {
  font-weight: 700;
  font-size: 32px;
}
@media (max-width: 749px) {
  .implant-results__lead {
    color: #005685;
    text-align: center;
    font-size: 12px;
    letter-spacing: -0.5px;
  }
}

.implant-results__box--blue {
  background-color: #005685;
}

.implant-results__box {
  min-height: 50px;
}
.implant-results__box strong {
  font-size: 36px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  line-height: 1.8;
}

.implant-results__table-wrap {
  border: 1px solid #005685;
}

.implant-results {
  font-family: "Zen Old Mincho", serif;
}

.implant-results__table thead th {
  background-color: #005685;
  border-right: 1px solid #fff;
  font-size: 20px;
}
@media (max-width: 749px) {
  .implant-results__table thead th {
    font-size: 12px;
  }
}
.implant-results__table thead th + th {
  border-left: 1px solid #fff;
}
.implant-results__table tbody tr:nth-child(even) td,
.implant-results__table tbody tr:nth-child(even) th {
  background-color: #EFF8FE;
}
.implant-results__table tbody tr th {
  border-right: 1px solid #005685;
  font-weight: 700;
  color: #000;
}
.implant-results__table tbody tr th + td {
  border-right: 1px solid #005685;
}
.implant-results__table tbody td + td {
  border-right: 1px solid #005685;
}
.implant-results__table td {
  color: #000;
  font-weight: 700;
}

.implant-results__table th,
.implant-results__table td {
  font-size: 20px;
}
@media (max-width: 749px) {
  .implant-results__table th,
.implant-results__table td {
    font-size: 12px;
  }
}

.implant-results__box--total {
  background-color: #005685;
}

.implant-results__box strong {
  color: #D1B36A;
}

.implant-results__total h3 {
  font-size: 36px;
  line-height: 1.5;
}
@media (max-width: 749px) {
  .implant-results__total h3 {
    font-size: 22px;
  }
}

.intro-doctor__inr {
  margin: 0 auto;
}

.intro-doctor__hero {
  display: flex;
  align-items: flex-end;
  gap: 5%;
}
@media (max-width: 749px) {
  .intro-doctor__hero {
    flex-direction: column;
    align-items: center;
  }
}

.intro-doctor__img {
  width: 45%;
}
@media (max-width: 749px) {
  .intro-doctor__img {
    width: 100%;
  }
}

.intro-doctor__logo {
  max-width: 455px;
}
@media (max-width: 749px) {
  .intro-doctor__logo {
    width: 30rem;
    margin-right: auto;
    margin-left: auto;
  }
}

.intro-doctor__ttl {
  text-align: left;
  margin-top: 1rem;
}
@media (max-width: 749px) {
  .intro-doctor__ttl {
    text-align: center;
    width: 100%;
    margin-top: 1rem;
  }
}

.intro-doctor__txt {
  font-family: "Zen Old Mincho", serif;
}
@media (max-width: 749px) {
  .intro-doctor__txt {
    text-align: center;
    margin-top: 2rem;
  }
}
.intro-doctor__txt p {
  color: #005685;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 749px) {
  .intro-doctor__txt p {
    font-size: 1.7rem;
    line-height: 2.4;
  }
}
.intro-doctor__txt p .post {
  font-size: 3.6rem;
}
@media (max-width: 749px) {
  .intro-doctor__txt p .post {
    font-size: 3rem;
    line-height: 1;
  }
}
.intro-doctor__txt p .name {
  font-size: 4.6rem;
}
@media (max-width: 749px) {
  .intro-doctor__txt p .name {
    font-size: 3rem;
    line-height: 1;
  }
}

.intro-doctor__history {
  display: flex;
}

.intro-doctor__profile {
  margin-top: 8rem;
}
@media (max-width: 749px) {
  .intro-doctor__profile {
    margin-top: 2rem;
  }
}

.intro-doctor__history-ttl {
  font-size: 2.6rem;
  padding-right: 2em;
  width: 8rem;
}
@media (max-width: 749px) {
  .intro-doctor__history-ttl {
    font-size: 1.6rem;
    padding-right: 1em;
    width: 4rem;
  }
}

.intro-doctor__history-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
@media (max-width: 749px) {
  .intro-doctor__history-list {
    gap: 18px;
  }
}
.intro-doctor__history-list li {
  display: flex;
  gap: 1em;
  font-size: 2.6rem;
}
@media (max-width: 749px) {
  .intro-doctor__history-list li {
    font-size: 1.6rem;
  }
}
.intro-doctor__history-list li p {
  font-size: 2.6rem;
}
@media (max-width: 749px) {
  .intro-doctor__history-list li p {
    font-size: 1.6rem;
  }
}

.intro-doctor__sertify {
  display: flex;
  margin-top: 3rem;
}
@media (max-width: 749px) {
  .intro-doctor__sertify {
    margin-top: 2rem;
  }
}

.intro-doctor__sertify-ttl {
  width: 12rem;
}
@media (max-width: 749px) {
  .intro-doctor__sertify-ttl {
    display: none;
  }
}

.intro-doctor__sertify-list {
  display: flex;
  flex-direction: column;
}
@media (max-width: 749px) {
  .intro-doctor__sertify-list {
    gap: 7px;
  }
}
.intro-doctor__sertify-list li {
  display: flex;
  gap: 1em;
  font-size: 2.4rem;
}
@media (max-width: 749px) {
  .intro-doctor__sertify-list li {
    font-size: 1.2rem;
  }
}
.intro-doctor__sertify-list li p {
  font-size: 2.1rem;
}
@media (max-width: 749px) {
  .intro-doctor__sertify-list li p {
    font-size: 1.2rem;
  }
}

.intro-doctor__profile-flex {
  display: flex;
}
@media (max-width: 749px) {
  .intro-doctor__profile-flex {
    flex-direction: column;
  }
}
.intro-doctor__profile-flex > div {
  width: 50%;
}
@media (max-width: 749px) {
  .intro-doctor__profile-flex > div {
    width: 100%;
  }
}

/* スライドカードのサイズとデザイン設定 */
.certificate-slider {
  margin-top: 12rem;
}
@media (max-width: 749px) {
  .certificate-slider {
    margin-top: 1rem;
  }
}

.certificate-slider .swiper-slide {
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
}

/* 画像の設定 */
.certificate-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  max-height: 278px;
  -o-object-fit: contain;
     object-fit: contain;
  /* 全体が見えるように収める（切らない） */
  display: block;
}

.team-doctor__ttl {
  width: 98rem;
  margin: 0 auto;
}
@media (max-width: 749px) {
  .team-doctor__ttl {
    width: 20rem;
  }
}

.team-doctor__sub-ttl {
  color: #005685;
  text-align: center;
  font-size: 3.4rem;
}
@media (max-width: 749px) {
  .team-doctor__sub-ttl {
    font-size: 2.2rem;
  }
}
.team-doctor__sub-ttl img {
  width: 36rem;
}
@media (max-width: 749px) {
  .team-doctor__sub-ttl img {
    width: 22rem;
  }
}

.team-doctor__list {
  margin-top: 12rem;
}
@media (max-width: 749px) {
  .team-doctor__list {
    margin-top: 8rem;
  }
}
.team-doctor__list li {
  display: flex;
  gap: 8%;
  align-items: center;
}
@media (max-width: 749px) {
  .team-doctor__list li {
    flex-direction: column;
    position: relative;
  }
}
.team-doctor__list li:nth-of-type(even) {
  flex-direction: row-reverse;
}
@media (max-width: 749px) {
  .team-doctor__list li:nth-of-type(even) {
    flex-direction: column;
  }
}
.team-doctor__list li:nth-of-type(even) .team-doctor__name {
  text-align: right;
}
@media (max-width: 749px) {
  .team-doctor__list li:nth-of-type(even) .team-doctor__name {
    text-align: left;
  }
}
.team-doctor__list li + li {
  margin-top: 1rem;
}
@media (max-width: 749px) {
  .team-doctor__list li + li {
    margin-top: 6rem;
  }
}

.team-doctor__img {
  width: 36rem;
  max-width: 36rem;
  flex: 1 0 auto;
}
@media (max-width: 749px) {
  .team-doctor__img {
    width: auto;
    margin-left: -18px;
    margin-right: -18px;
    max-width: -webkit-fit-content !important;
    max-width: -moz-fit-content !important;
    max-width: fit-content !important;
  }
}

.team-doctor__name {
  font-size: 3rem;
  font-weight: 700;
  color: #005685;
}
@media (max-width: 749px) {
  .team-doctor__name {
    font-size: 2.2rem;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-64%);
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.team-doctor__name .name {
  font-size: 4rem;
  color: #005685;
}
@media (max-width: 749px) {
  .team-doctor__name .name {
    font-size: 3.2rem;
  }
}

.team-doctor__txt {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.8;
  margin-top: 2rem;
  color: #005685;
}
@media (max-width: 749px) {
  .team-doctor__txt {
    line-height: 1.4;
  }
}

@media (max-width: 749px) {
  .contact__wrap {
    padding: 0;
  }
}

.contact__ttl {
  background: linear-gradient(to right, #002F74 0%, #005685 50%, #1E9CD7 100%);
  position: relative;
  padding: 3rem 0;
}
@media (max-width: 749px) {
  .contact__ttl {
    padding: 0 18px 1rem;
  }
}
.contact__ttl:before {
  position: absolute;
  content: "";
  height: 1px;
  width: calc(50% - 30rem);
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  background-color: #fff;
  z-index: 0;
}
@media (max-width: 749px) {
  .contact__ttl:before {
    width: calc(50% - 12rem);
  }
}
.contact__ttl::after {
  position: absolute;
  content: "";
  height: 1px;
  width: calc(50% - 30rem);
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  background-color: #fff;
  z-index: 0;
}
@media (max-width: 749px) {
  .contact__ttl::after {
    width: calc(50% - 12rem);
  }
}
.contact__ttl h2 {
  text-align: center;
  padding: 2rem;
  width: 43rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
@media (max-width: 749px) {
  .contact__ttl h2 {
    width: 20rem;
  }
}

.contact__sub-ttl {
  font-size: 4rem;
  color: #005685;
  text-align: center;
  margin-top: 3rem;
}
@media (max-width: 749px) {
  .contact__sub-ttl {
    line-height: 1.2;
    font-size: 2.8rem;
  }
}

.contact__txt {
  color: #005685;
  font-size: 2.4rem;
  text-align: center;
  max-width: 84rem;
  border-top: 1px solid #005685;
  border-bottom: 1px solid #005685;
  margin: 3rem auto 0;
}
@media (max-width: 749px) {
  .contact__txt {
    margin: 3rem 18px 0;
    font-size: 1.8rem;
    padding: 1em;
  }
}

.contact__explain {
  text-align: center;
  color: #005685;
  font-size: 2.8rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  margin-top: 3rem;
  position: relative;
}
@media (max-width: 749px) {
  .contact__explain {
    font-size: 1.6rem;
    padding: 0 18px 0 13rem;
    text-align: left;
    line-height: 1.6;
  }
}
.contact__explain::before {
  position: absolute;
  content: "";
  background: url("../img/icon-free.webp") no-repeat;
  background-size: contain;
  width: 13rem;
  height: 13rem;
  left: 16%;
  top: 0;
  transform: translateY(-75%);
}
@media (max-width: 749px) {
  .contact__explain::before {
    width: 9.5rem;
    height: 9.5rem;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.contact__list {
  display: flex;
  gap: 3rem;
  width: 110rem;
  margin: 4rem auto 0;
}
@media (max-width: 749px) {
  .contact__list {
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 0 18px;
    gap: 2rem;
  }
}
.contact__list li {
  border-radius: 2rem;
  padding: 0.5rem;
  width: calc((100% - 6rem) / 2);
  box-sizing: border-box;
}
@media (max-width: 749px) {
  .contact__list li {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 749px) {
  .contact__list li:first-of-type {
    position: relative;
    margin-bottom: 4rem;
    box-sizing: border-box;
  }
  .contact__list li:first-of-type::before {
    font-family: "Zen Kaku Gothic New", sans-serif;
    position: absolute;
    content: "【 診療時間 】9:00～18:00　日曜休診（祝日は診療しています）";
    font-size: 1.1rem;
    bottom: -5rem;
  }
}
.contact__list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: #fff;
  border-radius: 2rem;
  border: 1px solid #D5C9B2;
  padding: 3rem 5rem 3rem 1rem;
  position: relative;
  height: 100%;
  box-sizing: border-box;
}
@media (max-width: 749px) {
  .contact__list li a {
    padding: 2rem 3.5rem 2rem 1rem;
    gap: 1.5rem;
  }
}
.contact__list li a::before, .contact__list li a::after {
  position: absolute;
  content: "";
}
.contact__list li a::before {
  width: 3rem;
  height: 3rem;
  background-color: #fff;
  border-radius: 100%;
  right: 1.2rem;
}
.contact__list li a::after {
  /* 矢印のサイズと線の太さ・色 */
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #005685;
  border-right: 2px solid #005685;
  /* 回転させて右矢印にし、上下中央に配置 */
  transform: translateY(0%) rotate(45deg);
  right: 2.4rem;
}
.contact__list li:first-of-type {
  background-color: #005685;
}
.contact__list li:first-of-type a {
  background-color: #005685;
}
.contact__list li:nth-of-type(2) {
  background-color: #009FE8;
}
.contact__list li:nth-of-type(2) a {
  background-color: #009FE8;
}
.contact__list li:nth-of-type(2) a::after {
  border-color: #009FE8;
}
.contact__list li:nth-of-type(3) {
  background-color: #C8E5E8;
}
.contact__list li:nth-of-type(3) a {
  background-color: #C8E5E8;
}

.contact__icon {
  width: 4rem;
  max-width: 4rem;
  flex: 1 0 auto;
}

@media (min-width: 750px) {
  .contact__link.tel {
    pointer-events: none;
  }
}

.contact__link-txt {
  line-height: 1.2;
  font-size: 3rem;
  display: flex;
  flex-direction: column;
}
@media (max-width: 749px) {
  .contact__link-txt {
    font-size: 2.5rem;
  }
}
.contact__link-txt .small {
  font-size: 2.2rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media (max-width: 749px) {
  .contact__link-txt .small {
    font-size: 2rem;
  }
}
.contact__link-txt.row {
  flex-direction: row;
  align-items: baseline;
}
.contact__link-txt.blue {
  color: #005685;
}

.contact__info {
  font-size: 1.8rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin-top: 2rem;
}
@media (max-width: 749px) {
  .contact__info {
    display: none;
  }
}

.contact__info-list {
  display: flex;
  gap: 4rem;
  margin-top: 3rem;
}
@media (max-width: 749px) {
  .contact__info-list {
    flex-direction: column;
    padding: 0 18px;
    gap: 2rem;
  }
}
.contact__info-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  padding: 1rem 2rem;
  width: calc((100% - 8rem) / 3);
  box-sizing: border-box;
}
@media (max-width: 749px) {
  .contact__info-list li {
    width: 100%;
    gap: 0.5rem;
    padding: 1rem;
  }
}

.contact__info-icon {
  width: 9.4rem;
}
@media (max-width: 749px) {
  .contact__info-icon {
    width: 7.2rem;
  }
}

.contact__info-txt {
  color: #B18A37;
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
@media (max-width: 749px) {
  .contact__info-txt {
    font-size: 4rem;
  }
}
.contact__info-txt.flex {
  display: flex;
  flex-direction: column;
}
.contact__info-txt .small {
  font-size: 2rem;
  color: #005685;
  letter-spacing: 0;
}
@media (max-width: 749px) {
  .contact__info-txt .small {
    font-size: 1.6rem;
  }
}
.contact__info-txt .medium {
  font-size: 3.3rem;
}
@media (max-width: 749px) {
  .contact__info-txt .medium {
    font-size: 2.5rem;
  }
}
.contact__info-txt .blue {
  color: #005685;
}
.contact__info-txt .absolute {
  font-size: 1rem;
  position: absolute;
  right: 2em;
  line-height: 1;
  top: 3px;
}
.contact__info-txt .relative {
  position: relative;
}
.contact__info-txt span {
  line-height: 1;
}

.s01__wrap {
  border-bottom: none;
}
.s01__wrap .upper__wrap {
  background-image: none;
}
.s01__wrap p {
  color: #005685;
}
.s01__wrap .lower__wrap {
  background-image: none;
}

.s02__wrap {
  background: none;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s02__wrap ul li p {
  font-family: "Zen Old Mincho", serif;
}

.s03 .box__wrap {
  margin-top: 0;
  width: 100%;
  justify-content: flex-start;
  gap: 20rem;
}
.s03 .box__wrap .structure__logo {
  width: 34rem;
  position: absolute;
  right: 0;
  transform: translateX(20%);
  bottom: 0;
}
@media (max-width: 749px) {
  .s03 .box__wrap .structure__logo {
    transform: translateX(-50%);
  }
}

.structure__wrap {
  position: relative;
}

.s03__wrap {
  background: none;
}
@media (max-width: 749px) {
  .s03__wrap {
    padding-top: 2rem;
  }
}
.s03__wrap::before {
  content: none;
}
.s03__wrap ul {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s03__wrap ul li div {
  padding: 4rem 0;
}
@media (max-width: 749px) {
  .s03__wrap ul li div {
    padding: 3rem 0;
  }
}
.s03__wrap ul li div h3:before {
  top: -23%;
}
@media (max-width: 749px) {
  .s03__wrap ul li div h3:before {
    top: -29%;
  }
}
.s03__wrap ul li p {
  font-family: "Zen Old Mincho", serif;
}

.s03 ul li div h3 span {
  color: #95CFE3;
}

.s04__wrap ul {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media (max-width: 749px) {
  .s04__wrap ul {
    margin-top: 6rem;
  }
}
.s04__wrap ul li {
  position: relative;
}
@media (max-width: 749px) {
  .s04__wrap ul li {
    background-size: contain !important;
    background-position: top !important;
    box-sizing: border-box;
    position: relative;
    background: none !important;
  }
}
@media (max-width: 749px) {
  .s04__wrap ul li::before {
    position: absolute;
    content: "";
    background: top center/cover url(../img/0402_sp.webp) no-repeat;
    box-sizing: border-box;
    width: 100%;
    height: 35%;
    top: 0;
    left: 0;
  }
}
.s04__wrap ul li:nth-child(2)::before {
  background-image: url(../img/0403_sp.webp);
}
.s04__wrap ul li:nth-child(3)::before {
  background-image: url(../img/0404_sp.webp);
}
.s04__wrap ul li:nth-child(4)::before {
  background-image: url(../img/0405_sp.webp);
}
.s04__wrap ul li:nth-child(5)::before {
  background-image: url(../img/0406_sp.webp);
}
.s04__wrap ul li:nth-child(6)::before {
  background-image: url(../img/0407_sp.webp);
}
@media (max-width: 749px) {
  .s04__wrap ul li img {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
  }
}
@media (max-width: 749px) {
  .s04__wrap ul li h3 {
    padding-top: 22rem;
  }
}
@media (max-width: 749px) {
  .s04__wrap ul li h3 span {
    background-color: #EFF8FE;
  }
}

@media (max-width: 749px) {
  .s04__wrap .box__wrap {
    background-size: contain !important;
    background-position: top !important;
    box-sizing: border-box;
    position: relative;
  }
}
@media (max-width: 749px) {
  .s04__wrap .box__wrap img {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
  }
}
@media (max-width: 749px) {
  .s04__wrap .box__wrap h3 {
    padding-top: 22rem;
  }
}
@media (max-width: 749px) {
  .s04__wrap .box__wrap h3 span {
    background-color: #EFF8FE;
  }
}

.s05__wrap {
  background: transparent;
}
@media (max-width: 749px) {
  .s05__wrap {
    padding-bottom: 0;
  }
}
.point-list {
  display: flex;
  flex-direction: column;
}

.point-list__item {
  display: flex;
}
@media (max-width: 749px) {
  .point-list__item {
    flex-direction: column;
  }
}
@media (max-width: 749px) {
  .point-list__item + .point-list__item {
    margin-top: 4rem;
  }
}
.point-list__item > div {
  width: 50%;
}
@media (max-width: 749px) {
  .point-list__item > div {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
@media (max-width: 749px) {
  .point-list__item .point-list__img {
    margin-left: -18px;
    margin-right: -18px;
  }
}
.point-list__item:nth-of-type(even) {
  flex-direction: row-reverse;
}
@media (max-width: 749px) {
  .point-list__item:nth-of-type(even) {
    flex-direction: column;
  }
}
.point-list__item:nth-of-type(even) .point-list__txt {
  margin-left: auto;
}

.point-list__txt {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 749px) {
  .point-list__txt {
    margin: 18px 0 0;
  }
}
.point-list__txt p {
  line-height: 1.8;
  width: 68rem;
}
@media (max-width: 749px) {
  .point-list__txt p {
    width: 100%;
  }
}
.point-list__txt p span {
  color: #ED1C24;
}

.s07__wrap {
  background-image: none;
  padding-top: 4rem;
  padding-bottom: 0;
}
@media (max-width: 749px) {
  .s07__wrap {
    padding-top: 6rem;
    padding-bottom: 7rem;
  }
}
.s07__wrap li {
  list-style-type: none;
}
.s07__wrap .box1__wrap {
  padding: 6rem 4%;
  text-align: center;
}
@media (max-width: 749px) {
  .s07__wrap .box1__wrap {
    padding: 3rem 4%;
  }
}
.s07__wrap .box1__wrap .item__01 {
  margin-top: 0.5em;
  width: 50rem;
}
@media (max-width: 749px) {
  .s07__wrap .box1__wrap .item__01 {
    width: 34.6rem;
  }
}
.s07__wrap .box1__wrap p:nth-child(1) {
  font-family: "Zen Old Mincho", serif;
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #005685;
  text-align: center;
}
@media (max-width: 749px) {
  .s07__wrap .box1__wrap p:nth-child(1) {
    font-size: 2.8rem;
    line-height: 1.6;
  }
}
.s07__wrap .box__wrap {
  margin-top: 1rem;
  margin-bottom: 3rem;
}
@media (max-width: 749px) {
  .s07__wrap .box__wrap {
    margin-top: 1rem;
  }
}
@media (max-width: 749px) {
  .s07__wrap .box__wrap li {
    background: transparent !important;
  }
}
.s07__wrap li p {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s07__wrap ul h3 {
  color: #005685;
}
.s07__wrap .txt__01 {
  color: #000;
}
@media (max-width: 749px) {
  .s07__wrap .txt__01 {
    margin-bottom: 0;
  }
}
.s07__wrap h4 {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.option-ul__wrap {
  background: linear-gradient(to right, #002F74 0%, #005685 50%, #1E9CD7 100%);
  padding: 13rem 0 3rem;
}
@media (max-width: 749px) {
  .option-ul__wrap {
    background: transparent;
    padding-bottom: 0;
  }
}

.option-ul__txt {
  color: #005685;
  font-size: 2.8rem;
  position: relative;
  text-align: center;
  z-index: 2;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}
.option-ul__txt::before {
  position: absolute;
  content: "";
  bottom: 0;
  background: url(../img/slash.webp) no-repeat;
  width: 18rem;
  height: 1.9rem;
  background-size: contain;
  z-index: -1;
  right: 0;
  left: 0;
  transform: translateX(-10px);
  width: 14rem;
  height: 2.5rem;
}
@media (max-width: 749px) {
  .option-ul__txt::before {
    width: 14rem;
    height: 2.5rem;
  }
}

.price-inner {
  max-width: 109rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  margin-top: 90px;
}
@media (max-width: 1280px) {
  .price-inner {
    max-width: 100%;
  }
}
@media (max-width: 749px) {
  .price-inner {
    background: #fff;
    margin-top: 0;
  }
}
.price-inner .box__wrap {
  margin-bottom: 6rem;
}
.price-inner .box__wrap li {
  list-style: none;
}
.price-inner .box__wrap li::marker {
  list-style: none;
}
.price-inner .box__wrap .option-ul__txt::before {
  width: 14rem;
  height: 1.9rem;
  background-size: cover;
}

.price-table.price-table--pc {
  grid-template-columns: 0.85fr 1.1fr 0.85fr 1.1fr;
}

/* 全体のレイアウト設定（横並び） */
.price-table--pc {
  gap: 12px;
  align-items: stretch;
}

/* ラベルカード（左側の項目名リスト） */
.price-label-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid #2b5b88;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
  /* 必要に応じて調整 */
  flex-shrink: 0;
}

.price-label-card > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  padding: 10px 8px;
  border-bottom: 1px solid #005685;
}

.price-label-card > div:last-child {
  border-bottom: none;
}

/* 右側のメインカード */
.price-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid #2b5b88;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
  width: 280px;
  /* 必要に応じて調整 */
  flex-shrink: 0;
  padding: 6px 6px 0;
}
@media (max-width: 1280px) {
  .price-card {
    width: 200px;
  }
}
@media (max-width: 749px) {
  .price-card {
    width: auto;
  }
}

/* カードのヘッダー（青背景部分） */
.price-card__head {
  background-color: #2b5b88;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 0;
  text-align: center;
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}
@media (max-width: 749px) {
  .price-card__head {
    min-height: 51px;
  }
}

/* カードの各データセル */
.price-card__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  padding: 10px 8px;
  border-bottom: 1px solid #005685;
  line-height: 1.5;
}

.price-card__body:last-child {
  border-bottom: none;
}

.price-label-card > div,
.price-card__body {
  min-height: 70px;
}
@media (max-width: 749px) {
  .price-label-card > div,
.price-card__body {
    min-height: 60px;
    padding-left: 0;
    padding-right: 0;
  }
}

.s09__wrap {
  background: transparent;
}
.s09__wrap h3 {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s09__wrap ul {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s09__wrap ul li {
  border-radius: 0;
  border: 2px solid #005685;
}

.s10__wrap {
  background: transparent;
}
@media (max-width: 749px) {
  .s10__wrap.sec {
    padding-top: 0;
  }
}

.s10__wrap h2 {
  color: #005685;
  font-size: 5.2rem;
  width: 120rem;
}
@media (max-width: 749px) {
  .s10__wrap h2 {
    width: 100%;
    font-size: 2.8rem;
  }
}

.s11__wrap ul {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media screen and (max-width: 749px) {
  .s11__wrap ul li {
    text-align: center;
  }
}
.s11__wrap .flow_icon {
  max-width: 12rem;
  width: 100%;
  transform: translateX(-50%);
}
@media screen and (max-width: 749px) {
  .s11__wrap .flow_icon {
    max-width: 6rem;
    margin-left: auto;
    margin-right: auto;
    transform: translate(0, -50%);
  }
}

/* テーブルの基本構造と角丸・枠線の設定 */
.comparison-table-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1.5px solid #2b5b88;
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}

/* ヘッダー（濃い青背景部分） */
.comparison-table th,
.comparison-table td {
  padding: 12px 8px;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #d0dbe5;
  border-bottom: 1px solid #d0dbe5;
  color: #000;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: none;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: none;
}

/* テーブルヘッダーのデザイン */
.comparison-table thead th {
  background-color: #2b5b88;
  color: #ffffff;
  font-weight: bold;
}

.comparison-table thead th:first-child {
  background-color: #2b5b88;
  /* 左上の空セル */
}

/* 行ごとの背景色指定（ゼブラ模様） */
.comparison-table tbody tr:nth-child(even) {
  background-color: #f4f8fb;
  /* 偶数行：薄い青 */
}

.comparison-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
  /* 奇数行：白 */
}

/* 見出し列のテキスト調整 */
.comparison-table tbody th {
  font-weight: bold;
  color: #333333;
}

.s12__wrap {
  background: transparent;
}
.s12__wrap dt,
.s12__wrap dd {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s12__wrap .box__wrap h3 {
  color: #005685;
}

@media (max-width: 749px) {
  .s15__wrap {
    padding-top: 6rem;
  }
}
.s15__wrap .box1__wrap {
  background: transparent;
}
.s15__wrap .box1__wrap div {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s15__wrap .box1__wrap .item__01 {
  width: 50rem;
}
@media (max-width: 749px) {
  .s15__wrap .box1__wrap .item__01 {
    width: 34.6rem;
  }
}
.s15__wrap .box1__wrap p {
  color: #005685;
}
.s15__wrap .box1__wrap small {
  display: block;
  text-align: center;
  color: #005685;
  margin-top: 2rem;
}
@media (min-width: 750px) {
  .s15__wrap .box1__wrap small .pc {
    display: inline-block !important;
  }
}
.s15__wrap .box1__wrap.dental-loon {
  background: linear-gradient(to right, #002F74 0%, #005685 50%, #1E9CD7 100%);
}
@media (max-width: 749px) {
  .s15__wrap .box1__wrap.dental-loon {
    padding-top: 2rem;
  }
}
.s15__wrap .box1__wrap.dental-loon p {
  color: #fff;
}
.s15__wrap .box2__wrap {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s15__wrap .box2__wrap h3 {
  color: #005685;
}
.s15__wrap .box2__wrap .item3__wrap p:nth-child(1) {
  background: linear-gradient(to right, #002F74 0%, #005685 50%, #1E9CD7 100%);
}

@media (max-width: 749px) {
  .s15__wrap .box1__wrap {
    padding-top: 0;
  }
}
.s15__wrap .box3__wrap {
  background-color: #fff;
}
.s15__wrap .box3__wrap h3 {
  font-size: 4rem;
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap h3 {
    font-size: 3rem;
  }
}
.s15__wrap .box3__wrap p {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s15__wrap .box3__wrap h4 {
  color: #005685;
  font-weight: bold;
  font-family: "Zen Kaku Gothic New", sans-serif;
  margin-top: 1em;
}

.faq__wrap {
  font-family: "Zen Kaku Gothic New", sans-serif;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 749px) {
  .faq__wrap {
    margin-top: 2rem;
  }
}
.faq__wrap h3 {
  color: #005685;
  font-size: 3.2rem;
}
@media (max-width: 749px) {
  .faq__wrap h3 {
    font-size: 2.1rem;
    text-align: center;
  }
}

.faq__list {
  margin-top: 3rem;
}
@media (max-width: 749px) {
  .faq__list {
    margin-top: 2rem;
  }
}
.faq__list + h3 {
  margin-top: 3rem;
}
@media (max-width: 749px) {
  .faq__list + h3 {
    margin-top: 2rem;
  }
}

.faq__item {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  border-bottom: 1px solid #000;
  padding-bottom: 3rem;
}
@media (max-width: 749px) {
  .faq__item {
    padding-bottom: 2rem;
    gap: 1rem;
  }
}
.faq__item dt,
.faq__item dd {
  display: flex;
  gap: 3rem;
}
@media (max-width: 749px) {
  .faq__item dt,
.faq__item dd {
    gap: 2rem;
  }
}
.faq__item dt > div,
.faq__item dd > div {
  font-size: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #fff;
  aspect-ratio: 1/1;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  line-height: 1;
}
@media (max-width: 749px) {
  .faq__item dt > div,
.faq__item dd > div {
    font-size: 2.8rem;
    padding: 1.5rem;
  }
}
.faq__item dt {
  align-items: baseline;
}
.faq__item dt > div {
  background-color: #999999;
}
.faq__item dd > div {
  background-color: #005685;
}
.faq__item + .faq__item {
  margin-top: 3rem;
}
@media (max-width: 749px) {
  .faq__item + .faq__item {
    margin-top: 2rem;
  }
}

.s16__wrap .s16 {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

footer {
  background-color: #005685;
}

.bnr {
  width: 166rem;
}
@media (max-width: 749px) {
  .bnr {
    width: 115rem;
  }
}

.certificate-ttl {
  display: none;
}
@media (max-width: 749px) {
  .certificate-ttl {
    display: block;
    text-align: center;
    font-size: 1.7rem;
    line-height: 2.4;
    color: #005685;
    margin-top: 3rem;
  }
}

.fv-list {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
@media (max-width: 749px) {
  .fv-list {
    margin-left: 1rem;
  }
}
.fv-list li {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  aspect-ratio: 288/176;
  width: calc((100% - 20px) / 3);
  max-width: 29rem;
}
@media (max-width: 749px) {
  .fv-list li {
    gap: 2px;
    max-width: 290px;
  }
}
.fv-list li::before {
  position: absolute;
  content: "";
  background: url("../img/fv/fv-icon.png") no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
  aspect-ratio: 288/176;
  inset: 0;
}
.fv-list li p {
  color: #000 !important;
  position: relative;
}
@media (max-width: 749px) {
  .fv-list li p {
    color: #fff !important;
    margin: 0 !important;
  }
}
.fv-list li p:first-child {
  font-size: 3rem;
  line-height: 1;
}
@media (max-width: 749px) {
  .fv-list li p:first-child {
    font-size: 1.2rem;
  }
}
.fv-list li .year {
  font-size: 3.4rem;
}
@media (max-width: 749px) {
  .fv-list li .year {
    font-size: 1.4rem;
    line-height: 1.1;
  }
}
.fv-list li .year .big {
  font-size: 9rem;
  line-height: 1;
}
@media (max-width: 749px) {
  .fv-list li .year .big {
    font-size: 3.2rem;
  }
}
.fv-list li .yen {
  font-size: 3.4rem;
}
@media (max-width: 749px) {
  .fv-list li .yen {
    font-size: 1.4rem;
    line-height: 1.1;
  }
}
.fv-list li .yen .big {
  font-size: 7rem;
  line-height: 1;
}
@media (max-width: 749px) {
  .fv-list li .yen .big {
    font-size: 2.4rem;
  }
}
.fv-list li .txt {
  font-size: 3rem;
  line-height: 1;
}
@media (max-width: 749px) {
  .fv-list li .txt {
    font-size: 1.2rem;
    line-height: 1.1;
  }
}
.fv-list li .txt.small {
  font-size: 2.2rem;
  line-height: 1;
}
@media (max-width: 749px) {
  .fv-list li .txt.small {
    font-size: 0.9rem;
    line-height: 1.2;
  }
}

.s15__wrap .box3__wrap .simulation__wrap {
  margin-top: 1em;
  display: flex;
  gap: 1em;
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__wrap {
    flex-direction: column;
  }
}
.s15__wrap .box3__wrap .simulation__item {
  background-color: #eff8fe;
  padding: 1em;
  border-radius: 1em;
  width: calc((100% - 1em) / 2);
  box-sizing: border-box;
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__item {
    width: 100%;
  }
}
.s15__wrap .box3__wrap .simulation__item:nth-of-type(2) .simulation__item-img {
  gap: 0.5em;
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__item:nth-of-type(2) .simulation__item-img {
    gap: 1em;
  }
  .s15__wrap .box3__wrap .simulation__item:nth-of-type(2) .simulation__item-img div {
    width: calc((100% - 2em) / 3);
  }
}
.s15__wrap .box3__wrap .simulation__item:nth-of-type(2) .simulation__item-img div:nth-of-type(1) {
  width: calc(65% - 1em);
}
.s15__wrap .box3__wrap .simulation__item:nth-of-type(2) .simulation__item-img div {
  width: 35%;
}
.s15__wrap .box3__wrap .simulation__head {
  display: flex;
  gap: 1rem;
  box-sizing: border-box;
  width: 100%;
}
.s15__wrap .box3__wrap .simulation__head-ttl {
  color: #fff;
  background-color: #005685;
  padding: 0 1rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  word-break: auto-phrase;
  border-radius: 5px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.s15__wrap .box3__wrap .simulation__head-dl {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}
.s15__wrap .box3__wrap .simulation__head-dl dl {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.s15__wrap .box3__wrap .simulation__head-dl dl:nth-of-type(1) dd {
  color: #005685;
}
.s15__wrap .box3__wrap .simulation__head-dl dl:nth-of-type(2) dd {
  color: red;
}
.s15__wrap .box3__wrap .simulation__item-img {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1em;
  width: 100%;
  position: relative;
}
.s15__wrap .box3__wrap .simulation__item-img sup {
  position: absolute;
  font-size: 0.8em;
  bottom: 0.2em;
  right: 0.2em;
}
.s15__wrap .box3__wrap .simulation__item-img div {
  background-color: #fff;
  border-radius: 10px;
  width: 100%;
  padding: 1em 0;
}
.s15__wrap .box3__wrap .simulation__item-img div p {
  text-align: center;
  line-height: 1.2;
  font-size: 14px;
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__item-img div p {
    font-size: 12px;
  }
}
.s15__wrap .box3__wrap .simulation__item-img div img {
  max-height: 15rem;
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  box-sizing: border-box;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 1em 0 0;
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__item-img div img {
    max-height: 10rem;
  }
}
.s15__wrap .box3__wrap .simulation__price {
  background-color: #fff;
  border: 1px solid #005685;
  border-radius: 5px;
  text-align: center;
  margin-top: 1em;
  position: relative;
}
.s15__wrap .box3__wrap .simulation__list {
  margin-top: 1em;
  width: 100%;
}
.s15__wrap .box3__wrap .simulation__list ul {
  display: flex;
  justify-content: center;
  gap: 2em;
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__list ul {
    gap: 1em;
  }
}
.s15__wrap .box3__wrap .simulation__list ul li {
  background-color: #fff;
  border-radius: 10px;
  padding: 0.8em 1em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__list ul li {
    padding: 0.5em;
    font-size: 1em;
  }
}
.s15__wrap .box3__wrap .simulation__list ul li:first-of-type {
  position: relative;
}
.s15__wrap .box3__wrap .simulation__list ul li:first-of-type::before {
  position: absolute;
  content: "×";
  color: #005685;
  font-size: 1.5em;
  right: -1.1em;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__list ul li:first-of-type::before {
    font-size: 1em;
    right: -1em;
  }
}
.s15__wrap .box3__wrap .simulation__list ul li:nth-of-type(2) {
  position: relative;
}
.s15__wrap .box3__wrap .simulation__list ul li:nth-of-type(2)::before {
  position: absolute;
  content: "=";
  color: #005685;
  font-size: 1.5em;
  right: -1.1em;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__list ul li:nth-of-type(2)::before {
    font-size: 1em;
    right: -1em;
  }
}
.s15__wrap .box3__wrap .simulation__pick {
  text-align: center;
  color: red;
  background-color: #fff;
  border: 4px solid red;
  border-radius: 10px;
  font-size: 2em;
  margin-top: 0.5em;
  line-height: 1.2;
  padding: 0.2em;
}
@media (max-width: 749px) {
  .s15__wrap .box3__wrap .simulation__pick {
    font-size: 2.4rem !important;
  }
}
.s15__wrap .box3__wrap .simulation__pick strong {
  font-size: 120%;
}

/* ==========================================================
   医療費控除：計算式・戻る金額・早見表（2026-10-08 追加）
   対象：/allon4/「医療費控除について」（.s15__wrap .box3__wrap 内の .mdc だけに効く）
   ========================================================== */
.s15__wrap .box3__wrap .mdc {
  color: #005685;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.6;
  margin: 3.2rem 0 6.3rem;
}
.s15__wrap .box3__wrap .mdc ul,
.s15__wrap .box3__wrap .mdc li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.s15__wrap .box3__wrap .mdc p {
  margin: 0;
}

/* --- 共通パーツ：枠・記号 --- */
.s15__wrap .box3__wrap .mdc .mdc-box {
  align-items: center;
  background: #fff;
  border: 1px solid #005685;
  box-sizing: border-box;
  color: #005685;
  display: flex;
  flex-direction: column;
  font-size: 2.1rem;
  justify-content: center;
  line-height: 1.4;
  border-radius: 5px;
  min-height: 7rem;
  padding: 0.8rem 1.5rem;
  text-align: center;
  width: 100%;
}
.s15__wrap .box3__wrap .mdc .mdc-box sup {
  font-size: 0.6em;
  vertical-align: super;
}
.s15__wrap .box3__wrap .mdc .mdc-box small {
  display: block;
  font-size: 1.5rem;
  line-height: 1.4;
}
.s15__wrap .box3__wrap .mdc .mdc-box:has(sup) {
  flex-direction: row;
}
.s15__wrap .box3__wrap .mdc .mdc-box--fill {
  background: #005685;
  color: #fff;
}
.s15__wrap .box3__wrap .mdc .mdc-op {
  color: #005685;
  font-size: 4rem;
  font-weight: 300;
  line-height: 7rem;
  text-align: center;
}

/* --- 計算式 --- */
.s15__wrap .box3__wrap .mdc .mdc-formula {
  align-items: flex-start;
  display: flex;
}
.s15__wrap .box3__wrap .mdc .mdc-formula__item {
  flex: 1 1 0;
  min-width: 0;
}
.s15__wrap .box3__wrap .mdc .mdc-formula__item--wide {
  flex-grow: 1.2;
}
.s15__wrap .box3__wrap .mdc .mdc-formula .mdc-op {
  flex: 0 0 6rem;
}
.s15__wrap .box3__wrap .mdc .mdc-formula__note {
  color: #005685;
  display: block;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 1rem;
  padding-left: 1.5rem;
}
.s15__wrap .box3__wrap .mdc .mdc-eq {
  color: #005685;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  margin: 0.5rem 0 2rem;
  text-align: center;
}
.s15__wrap .box3__wrap .mdc .mdc-result {
  align-items: center;
  background: #005685;
  border-radius: 5px;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  font-size: 2.7rem;
  justify-content: center;
  line-height: 1.4;
  margin: 0 auto;
  min-height: 7rem;
  padding: 0.8rem 2rem;
  text-align: center;
  width: 44rem;
}

/* --- 小見出し（既存の h4 に合わせる） --- */
.s15__wrap .box3__wrap .mdc .mdc-ttl {
  color: #005685;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 1.6;
  margin: 5rem 0 1.5rem;
}
.s15__wrap .box3__wrap .mdc .mdc-ttl small {
  font-size: 0.8em;
  font-weight: 700;
}

/* --- 医療費控除で戻る金額は？ --- */
.s15__wrap .box3__wrap .mdc .mdc-refund__row {
  align-items: center;
  display: grid;
  grid-template-columns: 10rem 1fr 6rem 1.25fr 6rem 1.25fr;
}
.s15__wrap .box3__wrap .mdc .mdc-refund__row + .mdc-refund__row {
  margin-top: 1.6rem;
}
.s15__wrap .box3__wrap .mdc .mdc-refund__label {
  color: #005685;
  font-size: 2.1rem;
  font-weight: 700;
}

/* --- 留意点 --- */
.s15__wrap .box3__wrap .mdc .mdc-notes {
  background: #eff8fe;
  border-radius: 1em;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 4rem;
  padding: 3.5rem 4rem;
}
.s15__wrap .box3__wrap .mdc .mdc-notes__ttl {
  color: #005685;
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.s15__wrap .box3__wrap .mdc .mdc-notes__txt {
  color: #1a1a1a;
  display: block;
  font-size: 1.8rem;
  line-height: 1.8;
}
.s15__wrap .box3__wrap .mdc .mdc-rates {
  background: #fff;
  border-radius: 10px;
  margin-top: 1.4rem;
  padding: 0.6rem 2rem;
}
.s15__wrap .box3__wrap .mdc .mdc-rates li {
  color: #1a1a1a;
  display: flex;
  font-size: 1.8rem;
  justify-content: space-between;
  line-height: 1.6;
  padding: 0.8rem 0;
}
.s15__wrap .box3__wrap .mdc .mdc-rates li + li {
  border-top: 1px solid #d5e2ea;
}
.s15__wrap .box3__wrap .mdc .mdc-rates li span:last-child {
  color: #005685;
  font-weight: 700;
}

/* --- 早見表 --- */
.s15__wrap .box3__wrap .mdc .mdc-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}
.s15__wrap .box3__wrap .mdc .mdc-table th,
.s15__wrap .box3__wrap .mdc .mdc-table td {
  border: 1px solid #c5d6e0;
  font-size: 2.1rem;
  line-height: 1.4;
  padding: 1.5rem 0.5rem;
  text-align: center;
  vertical-align: middle;
}
.s15__wrap .box3__wrap .mdc .mdc-table thead th {
  background: #005685;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
}
.s15__wrap .box3__wrap .mdc .mdc-table thead tr:first-child th:first-child {
  width: 22%;
}
.s15__wrap .box3__wrap .mdc .mdc-table thead tr + tr th {
  background: #dbe9f1;
  color: #005685;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.9rem;
  padding: 1rem 0.5rem;
}
.s15__wrap .box3__wrap .mdc .mdc-table tbody th {
  background: #eef4f8;
  color: #005685;
  font-weight: 700;
}
.s15__wrap .box3__wrap .mdc .mdc-table tbody td {
  background: #fff;
  color: #1a1a1a;
  font-weight: 500;
}
.s15__wrap .box3__wrap .mdc .mdc-table tbody tr:nth-child(even) td {
  background: #f7fafc;
}
.s15__wrap .box3__wrap .mdc .mdc-br-sp {
  display: none;
}
.s15__wrap .box3__wrap .mdc .mdc-foot {
  margin-top: 1.5rem;
}
.s15__wrap .box3__wrap .mdc .mdc-foot li {
  color: #1a1a1a;
  font-size: 1.6rem;
  line-height: 1.7;
  padding-left: 1em;
  text-indent: -1em;
}

@media (max-width: 749px) {
  .s15__wrap .box3__wrap .mdc {
    margin: 1.6rem 0 3rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-box {
    font-size: 1.5rem;
    min-height: 5rem;
    padding: 0.6rem 0.8rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-box small {
    font-size: 1.1rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-op {
    font-size: 2.8rem;
    line-height: 3.6rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-formula {
    display: block;
  }
  .s15__wrap .box3__wrap .mdc .mdc-formula__note {
    font-size: 1.2rem;
    margin-top: 0.6rem;
    padding-left: 0;
  }
  .s15__wrap .box3__wrap .mdc .mdc-formula__note br {
    display: none;
  }
  .s15__wrap .box3__wrap .mdc .mdc-eq {
    font-size: 2.8rem;
    line-height: 3.6rem;
    margin: 0.4rem 0;
  }
  .s15__wrap .box3__wrap .mdc .mdc-result {
    font-size: 1.8rem;
    min-height: 5.6rem;
    width: 100%;
  }
  .s15__wrap .box3__wrap .mdc .mdc-ttl {
    margin: 3.5rem 0 1rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-ttl small {
    display: block;
  }
  .s15__wrap .box3__wrap .mdc .mdc-refund__row {
    grid-template-columns: 1fr 3.4rem 1fr;
  }
  .s15__wrap .box3__wrap .mdc .mdc-refund__row + .mdc-refund__row {
    margin-top: 2.4rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-refund__label {
    font-size: 1.6rem;
    grid-column: 1 / -1;
    margin-bottom: 0.6rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-refund__row .mdc-op:nth-of-type(5),
  .s15__wrap .box3__wrap .mdc .mdc-refund__row .mdc-box--fill {
    grid-column: 1 / -1;
  }
  .s15__wrap .box3__wrap .mdc .mdc-notes {
    gap: 2.4rem;
    grid-template-columns: 1fr;
    margin-top: 3rem;
    padding: 2rem 1.6rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-notes__ttl {
    font-size: 1.5rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-notes__txt,
  .s15__wrap .box3__wrap .mdc .mdc-rates li {
    font-size: 1.4rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-rates {
    padding: 0.4rem 1.2rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-table th,
  .s15__wrap .box3__wrap .mdc .mdc-table td {
    font-size: 1.2rem;
    padding: 1rem 0.1rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-table thead tr + tr th {
    font-size: 1.2rem;
    padding: 0.7rem 0.1rem;
  }
  .s15__wrap .box3__wrap .mdc .mdc-table thead tr:first-child th:first-child {
    width: 21%;
  }
  .s15__wrap .box3__wrap .mdc .mdc-br-sp {
    display: inline;
  }
  .s15__wrap .box3__wrap .mdc .mdc-foot li {
    font-size: 1.2rem;
  }
}

/* ▼ 2026-10-08 ページ途中CTA・3つの強み SPレイアウト調整（見本画像に合わせて再構成） */
@media (max-width: 749px) {
  .contact__wrap {
    background: linear-gradient(180deg, #fff 0%, #eef5fb 100%);
    padding-bottom: 2.4rem;
  }
  .contact__sub-ttl {
    margin-top: 2.1rem;
  }
  .contact__list {
    margin-top: 2rem;
    gap: 1.2rem;
  }
  .contact__list li,
  .contact__list li:first-of-type,
  .contact__list li:nth-of-type(2) {
    width: 100%;
    padding: 0;
    margin-bottom: 0;
    border-radius: 1rem;
    background: none;
  }
  .contact__list li:first-of-type::before {
    content: none;
  }
  .contact__list li a,
  .contact__list li:first-of-type a,
  .contact__list li:nth-of-type(2) a {
    justify-content: center;
    gap: 1.2rem;
    min-height: 5.6rem;
    padding: 1rem 4rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1rem;
    background: linear-gradient(180deg, #2a8ad0 0%, #005685 100%);
    box-shadow: 0 3px 8px rgba(0, 60, 110, 0.25);
  }
  .contact__list li a::before {
    content: none;
  }
  .contact__list li a::after,
  .contact__list li:nth-of-type(2) a::after {
    width: 0.9rem;
    height: 0.9rem;
    right: 1.8rem;
    border-color: #fff;
  }
  .contact__icon {
    width: 2.6rem;
    max-width: 2.6rem;
    flex: 0 0 auto;
  }
  .contact__link-txt,
  .contact__link-txt.row {
    flex-direction: row;
    align-items: baseline;
    font-size: 2.2rem;
    letter-spacing: 0.05em;
  }
  .contact__link.tel .contact__link-txt .small {
    display: none;
  }
  .contact__link-txt .small {
    font-size: 1.5rem;
    margin-right: 0.2em;
  }
  .contact__info {
    display: block;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0.8rem 18px 0;
  }
  .contact__info-list {
    margin-top: 1.6rem;
    gap: 1rem;
    counter-reset: ctaPoint;
  }
  .contact__info-list li {
    position: relative;
    overflow: hidden;
    gap: 1.4rem;
    padding: 1.1rem 1.4rem 1.1rem 3rem;
    min-height: 8rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 50, 100, 0.12);
    counter-increment: ctaPoint;
  }
  .contact__info-list li::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 4.6rem;
    height: 4.6rem;
    background: linear-gradient(135deg, #dcebf7 50%, transparent 50%);
  }
  .contact__info-list li::after {
    position: absolute;
    content: counter(ctaPoint, decimal-leading-zero);
    top: 0.5rem;
    left: 0.7rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #005685;
  }
  .contact__info-icon {
    position: relative;
    z-index: 1;
    width: 5.6rem;
    flex: 0 0 auto;
  }
  .contact__info-txt {
    font-size: 3.4rem;
    line-height: 1;
  }
  .contact__info-list li:nth-of-type(3) .contact__info-txt {
    display: flex;
    flex-direction: column;
  }
  .contact__info-txt.flex .small,
  .contact__info-list li:nth-of-type(3) .contact__info-txt .small {
    margin-bottom: 0.5rem;
  }
  .contact__info-txt .small {
    font-size: 1.4rem;
  }
  .contact__info-txt .medium {
    font-size: 2rem;
  }
  .contact__info-txt .absolute {
    position: static;
    display: inline-block;
    margin-left: 0.4em;
    font-size: 1rem;
    letter-spacing: 0;
  }
}
