@charset "UTF-8";
img{width: 100%; height: auto;}
html{scroll-behavior: smooth;}

.btn img {
  animation: anime1 0.5s ease 0s infinite alternate;
  transform-origin:center;
}
@keyframes anime1 {
  from {
    transform: scale(0.9,0.9);
  }
  to {
    transform: scale(1,1);
  }
}
.btn:hover{opacity: 0.8;}
.pc{display: none;}

body{background: #fff; margin: 0 auto;   font-family: "Zen Kaku Gothic New", sans-serif;}
body p{  font-family: "Zen Kaku Gothic New", sans-serif;}
.w100{font-weight:100;}
.w300{font-weight:300;}
.w400{font-weight:400;}
.w500{font-weight:500;}
.w700{font-weight:700;}
.w900{font-weight:900;}
p.attention{font-size: 0.8em; margin-top: 15px;}
@media only screen and (min-width:800px) {
.pc{display: inherit;}
.smp{display: none;}
}

#content{width: 100%; max-width: 780px; margin: 0 auto;}
.cv_area{padding: 5% 7%; position: relative; z-index: 10;}
.cv_area a:hover{opacity: 0.8;}
.cv_area a {
  display: inline-block;
  animation: cvAnime 1.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes cvAnime {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }

}

    @media screen and (max-width: 768px) {
    }


.salon-banner{
  position:relative;
  background:url("../lib/h1_back.png") center top / 100% 100% no-repeat;
  aspect-ratio:1848 / 799;
}

@media screen and (max-width: 768px) {
  .salon-banner{
    margin-top: 70px;
  }
}
.salon-banner__inner{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

.salon-banner h1{
  color:#fff; margin-top: 12%;
  font-size:clamp(28px,4vw,80px);
  line-height:1.2;
  text-align:center;
}

.salon-banner p{
  margin-top:-10px;
  color:#fff;
  border:3px solid #fff;
  border-radius:10px;
  padding:.5em 1.5em;
  font-size:clamp(12px,1.8vw,32px);
}

.checkup-box p.attention{max-width: 550px; margin: 0 auto;}
.checkup-box {
  position: relative;
  background: transparent;
  padding: 60px 15px 28px;
  overflow: hidden;
  text-align: center;
}

/* 水色背景 */
.checkup-box::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);

  width: 140%;
  height: calc(100% - 80px);

  background: #dceff6;
  border-radius: 50% 50% 0 0 / 90px 90px 0 0;

  z-index: 1;
}

.checkup-box__inner {
  position: relative;
  z-index: 2;
}


/* ピンク吹き出し */
.checkup-box__label {
  position: relative;
  display: inline-block;
  background: #ef315f;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  padding: 18px 65px;
  margin-bottom: 24px;
}

.checkup-box__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 18px solid #ef315f;
}

/* 左上の装飾線 */
.checkup-box__label::before {
  content: "";
  position: absolute;

  left: -42px;
    top: -100%;
    width: 15%;
    height: 100px;  display: block;
  background-image: url("../lib/sec01_ikazari.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.checkup-box__lead {
  color: #003e6f;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  margin-bottom: 10px;
}

.checkup-box__lead::before {
  content: "＼";
  margin-right: 12px;
}

.checkup-box__lead::after {
  content: "／";
  margin-left: 12px;
}

.checkup-box__title {
  color: #003e6f;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.checkup-box__img {
  max-width: 550px;
  margin: 0 auto 18px;
}

.checkup-box__img img {
  width: 100%;
  display: block;
}

.checkup-box__txt {
  color: #003e6f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
margin-top: 20px;
  letter-spacing: .08em;
}

@media screen and (max-width: 768px) {
  .checkup-box {
    padding: 34px 15px 24px;
  }

  .checkup-box__label {
    font-size: 24px;
    padding: 15px 45px;
  }

  .checkup-box__lead {
    font-size: 13px;
  }

  .checkup-box__lead::before,
  .checkup-box__lead::after {
    margin: 0 5px;
  }

  .checkup-box__title {
    font-size: 28px;
  }

  .checkup-box__txt {
    font-size: 14px;
  }
}

.worry-box {
  position: relative;
  overflow: visible;
  background: #013e74;
  margin-bottom: 22%; 
}

.worry-box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15%;
  width: 100%;
  aspect-ratio: 1600 / 1153;
  background: url("../lib/worry_bg.jpg") center top / 100% 100% no-repeat;
  pointer-events: none;
}
.worry-box__inner {
  position: relative;
  max-width: 750px;
  min-height: 730px;
  margin: 0 auto;
}

.worry-balloon {
  position: absolute;
  background: #fff;
  color: #003e6f;
  border-radius: 20px;
  padding: 22px 26px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: .06em;
  text-align: center;
  z-index: 3;
}

.worry-balloon::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}

/* 左上 */
.worry-balloon--01 {
  top: 2%;
  left: 3%;
  width: 285px;
}

.worry-balloon--01::after {
  right: 70px;
  bottom: -20px;
  border-left: 22px solid transparent;
  border-right: 8px solid transparent;
  border-top: 34px solid #fff;
  transform: rotate(-18deg);
}

/* 右上 */
.worry-balloon--02 {
  top: 10px;
  right: 6%;
  width: 310px;
  padding: 26px 30px;
}

.worry-balloon--02::after {
  right: 90px;
  bottom: -28px;
  border-left: 18px solid transparent;
  border-right: 8px solid transparent;
  border-top: 34px solid #fff;
  transform: rotate(-22deg);
}

/* 左中 */
.worry-balloon--03 {
  top: 170px;
  left: -4%;
  width: 340px;
}

.worry-balloon--03::after {
  left: 100px;
  bottom: -20px;
  border-left: 10px solid transparent;
  border-right: 26px solid transparent;
  border-top: 34px solid #fff;
  transform: rotate(18deg);
}

/* 右中 */
.worry-balloon--04 {
  top: 165px;
  right: 8%;
  width: 330px;
}

.worry-balloon--04::after {
  right: 55px;
  bottom: -20px;
  border-left: 22px solid transparent;
  border-right: 8px solid transparent;
  border-top: 34px solid #fff;
  transform: rotate(-18deg);
}

/* 下中央 */
.worry-balloon--05 {
  top: 360px;
  left: 22%;
  width: 340px;
}

.worry-balloon--05::after {
  left: 150px;
  bottom: -28px;
  border-left: 21px solid transparent;
  border-right: 12px solid transparent;
  border-top: 34px solid #fff;
  transform: rotate(-10deg);
}

.worry-person {
  position: absolute;
  right: 0; opacity: 0.5;
  bottom: -100px;
  width: 100%;
  z-index: 2;
}

.worry-person img {
  width: 100%;
  display: block;
}

.worry-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 4;
  color: #fff;
  font-size: 50px;
  line-height: 1.55;
  font-weight: 900;
  letter-spacing:0em;
  text-align: center;
  margin: 0;
}
.worry-title span{font-size: 1.3em;}

@media screen and (max-width: 768px) {
.worry-box::after {bottom: -4%;}
  .worry-box {
    padding: 25px 10px 70px;
    margin-bottom: 78px;
  }

  .worry-box::after {
  }

  .worry-box__inner {
    min-height: 450px;
  }

  .worry-balloon {
    border-radius: 16px;
    padding: 16px 4px;
    font-size: 14px;
  }

  .worry-balloon--01 {
    left: 5%;
    width: 42%;
  }

  .worry-balloon--02 {
    right: 2%;
    width: 43%;
  }

  .worry-balloon--03 {
    top: 135px;
    left: -2%;
    width: 43%;
  }

  .worry-balloon--04 {
    top: 120px;
    left: 53%;
    width: 45%;
  }

  .worry-balloon--05 {
    top: 240px;
    left: 15%;
    width: 52%;
  }

  .worry-person {opacity: 0.5;
    bottom: -73px;
    width: 100%;
  }

  .worry-title {
    bottom: -1%;
    font-size: 26px;
  }
}




.doctor-message {
  background: #fff;
  padding: 7% 7%;
  overflow: hidden;
}

.doctor-message__inner {
  position: relative;
  max-width: 760px;
  min-height: 400px;
  margin: 0 auto;
}

.doctor-message__logo {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 28px;
}

.doctor-message__logo img {
  width: 480px;
  max-width: 85%;
  height: auto;
}

.doctor-message__logo span {
  color: #003e6f;
  font-size: 22px;
  font-weight: 700;
}

.doctor-message__text {
  position: relative;
  z-index: 2;
  color: #003e6f;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .08em;
}

.doctor-message__text p {
  margin: 0;
}

.doctor-message__text span {
  display: inline;
  background: linear-gradient(transparent 12%, #fff100 12%, #fff100 88%, transparent 88%);
  padding: 0 4px;
}

.doctor-message__person {
position: absolute;
    right: 0;
    bottom: 12%;
    width: 200px;
    z-index: 1;
}

.doctor-message__person img {
  width: 100%;
  display: block;
}



@media screen and (max-width: 768px) {
  .doctor-message {
    padding: 28px 10% 0;
  }

  .doctor-message__inner {
    min-height: 320px;
  }

  .doctor-message__logo {
    margin-bottom: 24px;
  }

  .doctor-message__logo img {
  }

  .doctor-message__logo span {
    font-size: 18px;
  }

  .doctor-message__text {
    font-size: 19px;
    line-height: 1.7;
  }

  .doctor-message__person {
bottom: 24%;
    width: 35%; max-width: 320px;
    right:-5%;
  }

}

.selfcare {
  background: #003e7a;
}

.seflcarebox {
  max-width: 900px;
  min-height: 220px;
  margin: 0 auto;
  padding: 38px 30px 38px 260px;
  box-sizing: border-box;

  background-image: url(../lib/selfcare_doc.png);
  background-repeat: no-repeat;
    background-position: left 7% bottom;
  background-size: 180px auto;

  display: flex;
  align-items: center;
}

.selfcare p {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  font-weight: 400;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .seflcarebox {
    min-height: 100px;
    padding: 25px 15px 25px 40%;
    background-position: left 10% bottom;
    background-size: 25% auto;
  }

  .selfcare p {
    font-size: clamp(17px, 4.2vw, 22px);
    line-height: 1.8;
  }

}

.cause-box{background: #f3f3f3;
  padding: 50px 5% 50px; 
}
.cause-box h3{font-size: 28px; font-weight: 600; text-align: left; line-height: 1.5; margin-bottom: 15px;}
.cause_img{max-width: 600px; margin: 20px auto 0 auto;}

/* タイトル吹き出し */
.cause-box__ttl{
  position: relative;

  width: fit-content;
  margin: 0 auto 34px;
  padding: 28px 70px;
color: #f7c9df;
  background: #003e7a;
  border-top: 8px solid #f7c9df;
width: 100%;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

/* 下三角 */
.cause-box__ttl::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);

  width: 0;
  height: 0;

  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-top: 24px solid #003e7a;
}

.cause{
  max-width:1200px;
  margin:auto;
}

.cause__ttl{
  position:relative;
  background:#003f79;
  color:#fff;
  text-align:center;
  padding:25px;
  font-size:clamp(24px,3vw,48px);
}

.cause__ttl::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-20px;
  transform:translateX(-50%);
  border-left:30px solid transparent;
  border-right:30px solid transparent;
  border-top:20px solid #003f79;
}

.cause__lead{
  text-align:left;
  margin-top:60px;
  color:#003f79;
  line-height:2;
font-size: 18px;}

.marker{
  background:linear-gradient(
    transparent 55%,
    #ffe600 55%
  );
  font-weight:700;
}



/* SP */
@media screen and (max-width: 768px){
.cause__lead{padding: 0 5%;}
.cause__lead{font-size: 15px;}
.cause-box h3{font-size: 20px; line-height: 1.5; font-weight: 600; text-align: left; margin-bottom: 15px;}

  .cause-box{
    padding: 28px 16px 38px;
  }

  .cause-box__ttl{
    width: calc(100% - 20px);

    padding: 18px 15px;
    font-size: 28px;
    border-top-width: 5px;
  }

  .cause-box__ttl::after{
    bottom: -18px;
    border-left-width: 20px;
    border-right-width: 20px;
    border-top-width: 18px;
  }

}


.reason-section {
  position: relative;
  overflow: hidden;
  padding: 64px 7% 78px;
  background-color: #fff;
  color: #004577;
  isolation: isolate;
}

/* 上部の背景画像 */
.reason-section::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  width: 100%;
  height: 52%;
  background-image: url("../lib/reason_bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  pointer-events: none;
}

/* 下部に同じ画像を180度回転して配置 */
.reason-section::after {
  content: "";
  position: absolute;
  z-index: -2;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 52%;
  background-image: url("../lib/reason_bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  transform: rotate(180deg);
  pointer-events: none;
}

.reason-section__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.reason-section__inner::before,
.reason-section__inner::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 68px;
  pointer-events: none;
}

.reason-section__inner::before {
  top: 0;
  left: -14px;
  border-top: 2px solid #005084;
  border-left: 2px solid #005084;
}

.reason-section__inner::after {
  top: 72px;
  right: -14px;
  border-right: 2px solid #005084;
  border-bottom: 2px solid #005084;
}

.reason-section__title {
  margin: 0 0 54px;
  padding: 24px 20px 0;
  color: #004577;
  font-size: clamp(25px, 3.8vw, 38px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
}

.reason-section__title span {
  display: table;
  position: relative;
  margin: 0 auto;
}

/* タイトルの黄色い下線 */
.reason-section__title span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 7px;
  background-color: #ffea3b;
}

.reason-section__content {
  max-width: 820px;
  margin: 0 auto;
}

.reason-section__item {
  margin-bottom: 54px;
}

.reason-section__item:last-child {
  margin-bottom: 0;
}

.reason-section__heading {
  margin: 0 0 14px;
  color: #004577;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.reason-section__text {
  margin: 0;
  color: #004577;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

/* タブレット */
@media screen and (max-width: 768px) {
  .reason-section {
    padding: 48px 30px 64px;
  }

  .reason-section::before,
  .reason-section::after {
    height: 48%;
    background-size: auto 100%;
  }

  .reason-section__inner::before {
    left: -14px;
    width: 48px;
    height: 60px;
  }

  .reason-section__inner::after {
    top: 68px;
    right: -14px;
    width: 48px;
    height: 60px;
  }

  .reason-section__title {
    margin-bottom: 46px;
    padding: 20px 0 0;
    font-size: 28px;
    line-height: 1.65;
  }

  .reason-section__item {
    margin-bottom: 48px;
  }

  .reason-section__heading {
    font-size: 22px;
  }

  .reason-section__text {
    font-size: 16px;
    line-height: 1.85;
  }
}

/* スマートフォン */
@media screen and (max-width: 480px) {
  .reason-section {
    padding: 38px 24px 54px;
  }

  .reason-section::before,
  .reason-section::after {
    height: 42%;
    background-size: auto 100%;
  }

  .reason-section__inner::before {
    top: 0;
    left: -9px;
    width: 36px;
    height: 50px;
    border-width: 1px;
  }

  .reason-section__inner::after {
    top: 66px;
    right: -9px;
    width: 36px;
    height: 50px;
    border-width: 1px;
  }

  .reason-section__title {
    margin-bottom: 42px;
    padding-top: 18px;
    font-size: 24px;
    line-height: 1.7;
    letter-spacing: 0.02em;
  }

  .reason-section__title span::after {
    bottom: 5px;
    height: 5px;
  }

  .reason-section__item {
    margin-bottom: 42px;
  }

  .reason-section__heading {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.5;
  }

  .reason-section__text {
    font-size: 15px;
    line-height: 1.9;
  }
}


.compare-box {
  padding: 5%;
  background: #f3f3f3;
}

/* タイトル吹き出し */
.compare-box__ttl {
  position: relative;
  width: 90%;
  margin: 0 auto 55px;
  padding: 24px 20px;
  background: #003e6f;
  border-top: 8px solid #fff100;
  color: #fff;
  text-align: center;
  font-size: 38px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .06em;
  box-sizing: border-box;
}

.compare-box__ttl::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  border-left: 32px solid transparent;
  border-right: 32px solid transparent;
  border-top: 28px solid #003e6f;
}

/*
 * 黄色いクリニック列を、表とは別の1枚のパネルとして背面に配置。
 * 上方向へ張り出させることで、青い見出しより縦長に見せる。
 */
.compare-wrap {
  --label-width: 65px;
  --visit-raise: 72px;
  --panel-line: 6px;
  position: relative;
  max-width: 760px;
  margin: calc(var(--visit-raise) + 20px) auto 0;
  padding-bottom: var(--panel-line);
}

.compare-bg {
  position: absolute;
  z-index: 0;
  top: -28px;
  right: 0;
  bottom: 0;
  width: calc((100% - var(--label-width)) / 2);
  background: #fff100;
  pointer-events: none;
}

@media screen and (max-width:768px){

.compare-bg{
    top:-18px;
    height:calc(100% + 18px);
}

}

/* 比較表 */
.compare-table {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--label-width) 1fr 1fr;
  width: 100%;
  background: transparent;
}

.compare-table__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 22px 10px;
  box-sizing: border-box;
  text-align: center;
  font-size: 21px;
  font-weight: 800;
}

.compare-table__head--online {
  grid-column: 2;
  background: #003e6f;
  color: #fff;
  line-height: 2;
}

.compare-table__head--visit {
  grid-column: 3;
  position: relative;
  z-index: 2;
  min-height: calc(100% + var(--visit-raise));
  margin: calc(var(--visit-raise) * -1) var(--panel-line) 0;
  padding: calc(22px + var(--visit-raise)) 10px 22px;
  background: transparent;
  color: #003e6f;
  font-size: 30px;
align-items:flex-start; top:-10px;
}

/* 左ラベル */
.compare-table__label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  background: #003e6f;
  border-bottom: 3px solid #fff;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 20px;
  font-weight: 800;
}

/* 左上の空白 */
.compare-table__empty {
  background: #f3f3f3;
}

/* セル */
.compare-table__cell {
  min-width: 0;
  padding: 20px 18px;
  box-sizing: border-box;
  background: #fff;
  border-bottom: 3px solid #003e6f;
  color: #003e6f;
}

.compare-table__cell--visit {
  margin-right: var(--panel-line);
  margin-left: var(--panel-line);
  background: #dceff6;
}

.compare-table__cell h3 {
  margin: 0 0 10px;
  color: #003e6f;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
}

.compare-table__cell--visit h3 {
  color: #ef315f;
}

.compare-table__cell p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 400;
}

/* SP */
@media screen and (max-width: 768px) {
  .compare-box {
    padding: 30px 14px 38px;
  }

  .compare-box__ttl {
    font-size: 25px;
    padding: 18px 12px;
    margin-bottom: 45px;
  }

  .compare-wrap {
    --label-width: 42px;
    --visit-raise: 52px;
    --panel-line: 4px;
    margin-top: calc(var(--visit-raise) + 14px);
  }

  .compare-table__head {
    padding: 16px 6px;
    font-size: 14px;
  }

  .compare-table__head--online {
    padding: 23px 6px 10px;
  }

  .compare-table__head--visit {
    min-height: calc(100% + var(--visit-raise));
    padding: calc(16px + var(--visit-raise)) 6px 16px;
    font-size: 25px;
  }

  .compare-table__label {
    font-size: 15px;
  }

  .compare-table__cell {
    padding: 12px 8px;
  }

  .compare-table__cell h3 {
    font-size: 13px;
  }

  .compare-table__cell p {
    font-size: 12px;
    line-height: 1.65;
  }
}


#merit{text-align: center; padding: 10% 10% 1% 10%; background: #d8f0f7;}
#merit h2{width: 50%; margin: 0 auto;}
#merit > h3 {margin: 8% 0;
  text-align: center;
  color: #003e6f;
  font-size: 50px;
  font-weight: 700;line-height: 2;
}

#merit > h3 span {background: #fff; padding: 20px 20px; margin-right: 10px; width: 85%;
  display: inline-block;
  vertical-align: middle;
}

#merit > h3 img {
  width: 100%;
  display: block;
}

.meritbox {
  position: relative;
  background: #fff;
  margin: 0 auto;
  padding: 130px 20px 5px;
  box-sizing: border-box;
}

/* MERIT01 実感 */
.meritbox h4 {
  position: absolute;
  left: 45%;
  top: -24px;
  transform: translateX(-50%);
  width: 70%;
  min-height: 160px;
  margin: 0;
  background: url("../lib/merit_ttl_bg.png") center bottom / 100% 100% no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-sizing: border-box;
}

.merit_num {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  padding: 12px 10px; margin-left: 20px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.merit_ttl {
  font-size: 82px; padding-left: 20px;
  line-height: 1;
  font-weight: 700;
}

.merit_lead {
  color: #003e6f;
  text-align: center;
  font-size: 38px;
  line-height: 1.9;
  font-weight: 800;
  margin-bottom: 28px;
}

.merit_lead .large {
  font-size: 1.7em;
  line-height: 1;
}

.merit_lead .large.text {
  font-size: 1.7em;
}
.migi{
  position: relative;
  display: inline-block;
  background: #003e6f;
  color: #fff;
  font-size: .7em;
  font-weight: 700;
  line-height: 1;
  padding:.25em 0.5em .25em 0.5em;
  margin-right: 1em;
  vertical-align: super;
}

/* 右の矢印部分 */
.migi::after{
    content: "";
    position: absolute;
    top: 0;
    right: -0.55em;
    width: 0;
    height: 0;
    border-top: 0.75em solid transparent;
    border-bottom: 0.75em solid transparent;
    border-left: 0.6em solid #003e6f;
}
.merit_graph {
  text-align: center;
  margin: 0 auto 25px;
}

.merit_graph img {
  max-width: 550px;
}

.attention {
  color: #003e6f;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 28px; text-align: left;
}


@media screen and (max-width: 768px) {
#merit{text-align: center; padding: 10% 5% 1% 5%; background: #d8f0f7;}
.attention{font-size: 12px;}
#merit {padding: 35px 18px;}
#merit h3{font-size: 28px;}
.meritbox {padding: 95px 10px 30px;}
.meritbox h4 {
    top: -14px;
    width: 78%;
    min-height: 88px;
    gap: 16px;
  }

  .merit_num {
    font-size: 14px; padding: 5px;
  }

  .merit_ttl {
    font-size: 48px;
  }

  .merit_lead {
    font-size: 42px;
  }

  .merit_graph img {
    width: 95%;
  }
}

#merit .meritbox{margin-bottom: 15%;}
#merit .box{margin-top: -15%; padding: 20% 0 7%;}
#merit .comment{text-align: left; margin: 10px 0;}
#merit h5{font-weight: 600; font-size: 18px; margin: 20px 0 10px 0; font-family: "Zen Kaku Gothic New", sans-serif;}
#merit .comment p{font-size: 18px; font-weight: 400;}
#merit .more {background: #e83453; color: #fff; font-size: 16px; text-align: center;
  display: block; margin: 10px auto 0; width: 100%; font-weight: 600; letter-spacing: 1px;
  cursor: pointer;
  border: none;
  padding: 10px 0;
}

#merit .comment {
  display: none;
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
#merit .box{margin-top: -25%; padding: 20% 0 7%;}
  .merit_lead {font-size: 23px;}
}

.visitor-box{
  background: #dceff6;
  padding: 40px 16px 28px;
}

.visitor-box__ttl{
  position: relative;
  background: #003e6f;
  border-top: 6px solid #008bb6;
  color: #fff;
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 24px 12px;
  margin: 0 auto 38px;
width: 90%;}

.visitor-box__ttl::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 20px solid #003e6f;
}

.visitor-voice{
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 630px;
  margin: 0 auto 22px;
}

.visitor-voice--right{
  justify-content: flex-end;
}

.visitor-voice img{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.visitor-voice p{
  position: relative;
  background: #fff;
  color: #003e6f;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .02em;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 4px 5px 0 rgba(0, 62, 111, .18);
  margin: 0;
}

/* 左画像・右吹き出し */
.visitor-voice--left p::after{
  content: "";
  position: absolute;
  left: 70px;
  bottom: -22px;
  border-top: 24px solid #fff;
  border-left: 8px solid transparent;
  border-right: 28px solid transparent;
}

/* 右画像・左吹き出し */
.visitor-voice--right p::after{
  content: "";
  position: absolute;
  right: 70px;
  bottom: -22px;
  border-top: 24px solid #fff;
  border-left: 28px solid transparent;
  border-right: 8px solid transparent;
}

.visitor-box__message{
  max-width: 530px;
  margin: 42px auto 0;
  padding: 24px 0;
  border-top: 2px dotted rgba(0, 62, 111, .25);
  border-bottom: 2px dotted rgba(0, 62, 111, .25);
  text-align: center;
}

.visitor-box__message p{
  color: #003e6f;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.7;
  margin: 0;
}

.visitor-box__message span{
  color: #ec34a1;
}

@media screen and (max-width: 420px){
  .visitor-box__ttl{
    font-size: 24px;
  }

  .visitor-voice img{
    width: 78px;
    height: 78px;
  }

  .visitor-voice p{
    font-size: 15px;
    padding: 12px 14px;
  }

  .visitor-box__message p{
    font-size: 16px;
  }
}

.plan-section{
  text-align: center;
  color: #003e6f;
}
.planbox{padding: 0 16px 40px;}
.plan-en{
  margin-bottom: 15px;
}

.plan-head h3{
  font-size: 38px;
  line-height: 1.45;
  font-weight: 800;
  margin-bottom: 28px;
}

.plan-title{background: #fff;
  border: 2px solid #003e6f;
  font-size: 42px;
  font-weight: 800;
  padding: 10px 10px;
  margin: 0 auto 25px;
  max-width: 660px;
}

.plan-card{
  background: #fff;
  border: 6px solid #0097b7;
  border-radius: 12px;
  max-width: 660px;
  margin: 0 auto 38px;
  padding: 28px 20px 35px;
}

.plan-card__label{
  background: #003e6f;
  color: #fff;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 700;
  padding: 12px;
  margin-bottom: 35px;
}

.plan-icons{
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 10px;
}

.plan-icons li{
  width: 33.33%;
  list-style: none;
}

.plan-icons img{
  width: 130px;
  max-width: 100%;
}

.plan-icons span{
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-top: 10px;
}

.plan-zero{position: relative;
  border-bottom: 4px dotted #0097b7;
  padding-bottom: 35px;
  margin-bottom: 35px;
  font-weight: 800;
}

.plan-zero .zero{  font-family: "Barlow Condensed", sans-serif;
  font-size: 170px; vertical-align: bottom;
  line-height: 1;
}

.plan-zero .free{position: absolute;
    right: 235px;
    top: 35px;
    background: #0097b7;
    color: #fff;
    font-size: 14px;
    padding: 2px 10px;
    border-radius: 4px;
    margin: 0 8px;
    vertical-align: 30px;
}

.plan-zero .yen{
  font-size: 58px;
}

.plan-medicine{
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.medicine-box{
  width: 50%;
  border: 2px solid #69b9cc;
  padding: 22px 10px 18px;
}

.medicine-box h4{
  font-size: 35px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.medicine-box p{
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 12px; letter-spacing: 0;
}

.medicine-box span{
  display: inline-block;
  background: #0097b7;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
}

.plan-price p{
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 0;
}

.plan-price strong{    font-family: "Barlow Condensed", sans-serif;
  font-size: 95px; vertical-align: sub;
  line-height: 1;
  font-weight: 900;
}

.plan-price span{
  display: inline-block;
  text-align: left;
  font-size: 13px; line-height: 1;
  font-weight: 700;
}

.plan-price b{
  font-size: 32px;
}

.plan-note{margin-top: 20px;
  text-align: left;
  font-size: 12px;
  line-height: 1.4;
}

.plan-bottom{
  color: #fff;
  font-size: 24px;
  line-height: 1.8;
  font-weight: 600;
}

@media screen and (max-width: 480px){
.medicine-box p{
  font-size: 10px;
}
.plan-icons span{
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px;
}

.medicine-box h4{
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.plan-zero .free{position: absolute; 
    right: 90px;
    top: 35px;
    background: #0097b7;
    color: #fff;
    font-size: 14px;
    padding: 2px 10px;
    border-radius: 4px;
    margin: 0 8px;
    vertical-align: 30px;
}

.plan-icons img{
  width: 90px;
  max-width: 100%;
}
  .plan-head h3{font-size: 26px;}
  .plan-title{font-size: 32px;}
  .plan-card{padding: 24px 14px 30px;}
  .plan-price strong{font-size: 68px;}
  .plan-bottom{font-size: 15px;}
}


.plan-section{
  position: relative;
  overflow: hidden;
}

.plan-section::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  height: 42%;

  background: linear-gradient(
    to bottom,
    #fff 0%,
    #7fd8de 18%,
    #13b7c4 45%,
    #00aebe 100%
  );

  z-index: 1;
}
.plan-section > *{
  position: relative;
  z-index: 2;
}


#sec08{background: #f3f3f3; padding: 10% 0;}
#sec08 h2{width: 50%; margin: 0 auto; margin-bottom: 40px;}
#sec08 .more02 {background: #003e73; color: #fff; font-size: 16px; text-align: center;
  display: block; margin: 30px auto 0; width: 100%; font-weight: 600; letter-spacing: 1px;
  cursor: pointer;
  border: none; width: 90%;
  padding: 10px 0; margin: 5% 5% 0 5%;
}

#sec08 .comment02 {background: #fff;
  display: none;padding: 5%; margin: 0 5%;}
#sec08 h5{font-weight: 600; font-size: 24rem; margin: 10px 0 10px 0; color: #003e73;}
#sec08 p{font-size: 20rem;}
#sec08 .prof{margin: 10% auto; width: 50%;}

#sec08 .advisor-section{
  background: #f5f5f5;
}

/* 上帯 */
#sec08 .advisor-head{
  background: #003e6f;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;

  padding: 26px 20px;
}

#sec08 .advisor-head__img{
  width: 120px;
  flex-shrink: 0;
}

#sec08 .advisor-head__img img{
  width: 100%;
  display: block;
}

#sec08 .advisor-head__text{
  color: #fff;
}

#sec08 .advisor-head__sub{
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

#sec08 .advisor-head__text h2.doc{
  margin: 0;

  color: #fff100;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: .04em;
}


#sec08 .advisor-head__text h2.doc br + span{
  display: inline-block;
  margin-top: 8px;
}

#sec08 .advisor-head__text h2.doc{width: 100%; margin: 0;
  position: relative;
}

#sec08 .advisor-head__text h2.doc::after{
  content: "が診察します！";
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-left: 10px;
  vertical-align: middle;
}

/* 下 */
#sec08 .advisor-profile{
  text-align: center;
  padding: 50px 20px 10px;
}

#sec08 .advisor-profile h3.doc{
  color: #003e6f;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 20px;
}

#sec08 .advisor-profile__photo{
  width: 220px;
  margin: 0 auto 35px;
}

#sec08 .advisor-profile__photo img{
  width: 100%;
  display: block;
  border-radius: 50%;
}

#sec08 .advisor-profile__position{
  color: #111;
  font-size: 22px;
  line-height: 1.6;
}

#sec08 .advisor-profile__name{
  color: #111;
  font-size: 32px;
  font-weight: 500;
}

/* SP */
@media screen and (max-width: 768px){

 #sec08 .advisor-head{
    gap: 14px;
    padding: 18px 14px;
  }

  #sec08 .advisor-head__img{
    width: 92px;
  }

  #sec08 .advisor-head__sub{
    font-size: 15px;
    margin-bottom: 6px;
  }

  #sec08 .advisor-head__text h2.doc{
    font-size: 30px;
  }

  #sec08 .advisor-head__text h2.doc::after{
    display: inline;
    font-size: 14px;
    margin-left: 6px;
  }

  #sec08 .advisor-profile{
    padding: 30px 16px 10px;
  }

  #sec08 .advisor-profile h3{
    font-size: 34px;
    margin-bottom: 35px;
  }

  #sec08 .advisor-profile__photo{
    width: 150px;
    margin-bottom: 22px;
  }

  #sec08 .advisor-profile__position{
    font-size: 16px;
  }

  #sec08 .advisor-profile__name{
    font-size: 28px;
  }

}

#sec09{padding: 10% 5%;}
#sec09 h2{width: 40%; margin: 0 auto; margin-bottom: 30px;}
#sec09 h3.subtitle{width: 80%; margin: 0 auto; margin-bottom: 30px;}

.youtube {margin-bottom: 30px;
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.attention02{font-size: 12px; padding: 5% 5%; color:#003e73; }


#case p{text-align: center; padding:0 5%;}
#case .c-ttl-case-ba--alt{background: #dceff6;}
#case .c-ttl-case__left{margin-left: 0;}
#case h4{padding: 0 5%;}
#case .p-clinic-Case p{text-align: left; font-size: 16px; font-weight: 400;}
#case .p-clinic-Case h4{margin-top: 20px; font-size: 18px;}
#case .p-clinic-Case__item{width: 100%; border: 1px solid #ccc; padding-bottom: 5%;}
#case .p-clinic-Case__ba-area{ padding: 5%;}
@media screen and (min-width: 769px) {
    .p-case-list__img-flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 0 -5rem;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: relative;
    }
.p-clinic-Case__item{margin: 0;}
#case .p-clinic-Case__item{margin-bottom: 0;}

}

.p-Excerpt{position: relative;}
.icon_hair{position: absolute; left: 15px; top: 2px; width: 40px; height: 40px;}
.c_accordion {
  max-width: 720px;
  margin: 0 auto;
}

/* ヘッダー */
.c_accordion .accordion-header {
display: none;}

/* 左チェック風 */
.c_accordion .accordion-header .check {
  width: 18px;
  height: 18px; background: #fff;
  border: 2px solid #008bb6;
  position: relative;
  flex-shrink: 0;
}

.c_accordion-item .check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #008bb6;
  border-bottom: 2px solid #008bb6;
  transform: rotate(45deg);
}

/* テキスト */
.c_accordion .accordion-header .c_title {font-size: 32rem;
  flex: 1; color: #003e6f;
  font-weight: bold; 
}

/* 右の＋－ */
.c_accordion .accordion-header .icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.c_accordion .accordion-header .icon::before,
.c_accordion .accordion-header .icon::after {
  content: "";
  position: absolute;
  background: #003e6f;
}

.c_accordion .accordion-header .icon::before {
  width: 16px;
  height: 2px;
  top: 7px;
  left: 0;
}

.c_accordion .accordion-header .icon::after {
  width: 2px;
  height: 16px;
  top: 0;
  left: 7px;
}

.c_accordion .c_accordion-item.active .icon::after {
  display: none; /* －にする */
}

/* 中身 */
.c_accordion-content {
  display: none;
  font-size: 14px;
}

.c_accordion-item.active .c_accordion-content {
  display: block;
}

.age-tabs {
  background: #f8d9eb;
  padding: 28px 15px 40px;
  text-align: center;
  margin-bottom: 25px;
}

.age-tabs__ttl {
  font-size: 20px;
  font-weight: bold;
  color: #003e6f;
  margin-bottom: 24px;
}

.age-tabs__btns {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.age-tab {
  width: 86px;
  padding: 8px 0;
  border: 2px solid #003e6f;
  background: #fff;
  color: #003e6f;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.age-tab.active {
  background: #003e6f;
  color: #fff;
}
br.sp{display: none;}
@media screen and (max-width: 768px) {
br.sp{display: inherit;}
#content{ margin: 70px auto 0;}

  .age-tabs__btns {
    gap: 4px;
  }

  .age-tab {
    width: calc(20% - 4px);
    font-size: 16px;
  }
}
.addsection p{font-size: 20rem;}
.wid800{max-width: 700px; margin: 0 auto;}
/* ブロック全体を中央に */
.copy-wrap {
  text-align: center;
}

.slanted-copy {font-size: 35rem; margin: 0 auto;
  position: relative;
  display: inline-block;   /* ★ テキスト幅に合わせる */
  text-align: center;
  font-weight: bold;
  line-height: 1.2;
  padding: 0 37px;         /* 斜め棒との距離 */
}
.slanted-copy span.pinkfont{color: #db499e;}
.slanted-copy span.uline{  background: linear-gradient(
    transparent 70%,
    #ffe325 70%);
}

/* 共通 */
.slanted-copy::before,
.slanted-copy::after {
  content: "";
  position: absolute;
  top: 5%;
  height: 95%;            /* ★ 2行分 */
  width: 2px;
  background: #003e6f;
}
.slanted-copy::before {
  left: 0;
  transform: rotate(-25deg);
  transform-origin: top;
}
.slanted-copy::after {
  right: 0;
  transform: rotate(25deg);
  transform-origin: top;
}

.imgcta_basic{max-width: 780px; margin: 10px auto 50px auto;}

  @media screen and (min-width: 769px){
.icon_hair{position: absolute; left: 15px; top: 7px; width: 40px; height: 40px;}
.addsection p{font-size: 14rem;}
.c_accordion .accordion-header .c_title {font-size: 18rem;}
.slanted-copy{font-size: 30px; padding: 0 70px;}
}



@media screen and (min-width: 769px) {
  #case .c_accordion {
    max-width: 900px; width: 100%;
    margin: 0 auto;
  }

  #case .c_accordion-content {
    margin: 0 auto;
  }

  #case .p-clinic-Case {
    margin: 0 auto;
    padding-left: 0;
  }
}
#case .p-clinic-Case {
  padding: 0;
}

@media screen and (min-width: 769px) {

  .p-header__logo-inner {
    padding-bottom: 25px;
  }

}

@media screen and (min-width: 769px) {

  #content {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
  }

}
p{  overflow-wrap: anywhere;
  word-break: normal;
}