@layer main {

body {
	font-size: 1.3em;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
}
#main,
#contents {
	padding-bottom: 30px;
}
div, p {
	box-sizing: border-box;
}
.red {
	color: #f75e18;
}
.red_02 {
	color: #e90d0d;
}
.bold {
	font-weight: bold;
}
.marker {
	background: linear-gradient(transparent 60%, #ff0 60%);
}
.large {
	font-size: 175%;
}
.small {
	font-size: calc(100%/4*2)
}
.underline {
	border-bottom: 1px solid;
}
.button {
	font-size: clamp(1em, 5vw, 2em);
	font-weight: bold;
	text-align: center;
	color: #fff;
	background-color: #e90d0d;
	box-shadow: 3px 6px #feddcf;
	border-radius: 10px;
	display: block;
	height: auto;
	position: relative;
}
.aga .button::before,
#page_search .button::before {
	content: '';
	background-color: #fff;
	border-radius: 50%;
	display: block;
	width: 1.2em;
	height: 1.2em;
	position: absolute;
	top: 50%;
	right: 5%;
	transform: translateY(-50%);
}
.aga .button::after,
#page_search .button::after {
	content: '';
	background-color: #333;
	display: block;
	clip-path: polygon(60% 0%, 100% 50%, 60% 100%, 46% 87%, 67% 60%, 0 60%, 0 40%, 67% 40%, 46% 13%);
	width: 0.8em;
	height: 0.8em;
	position: absolute;
	top: 50%;
	right: calc(5% + 0.2em);
	transform: translateY(-50%);
}
.button .large {
	font-size: 120%;
}
.aga_cta{
	overflow: hidden;
	transition: 300ms;
	display: block;
	position: relative;
	padding: 0.25em 0;
	border-radius: 10px;
}
.aga_cta::before {
	position: absolute;
	content: '';
	display: inline-block;
	top: -180px;
	left: 0;
	width: 30px;
	height: 100%;
	background-color: #ffc1c1;
	transition: 300ms;
	animation: shinyshiny 3s ease-in-out infinite;
}
@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
.comparison .flex .button .aga_cta{
	padding: 0.5em 0;
}

.caution {
	font-size: 10px;
	font-weight: normal;
	line-height: 1.3;
	color: #757575;
	display: block;
}
.caution__small {
	font-size: 0.5em;
  color:#d8d5d5
}
.full_width {
  position: relative;

  &::before{
    content: '';
    display: block;
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }
}
.additional_text {
  background-color: #fff;
  font-weight: bold;
  padding-bottom: 10px;
  padding-top: 30px;
  font-size: clamp(1em, 5vw, 2.2em);
  line-height: calc(1em*1.7);
  text-align: center;

  span {
    display: block;
  }
}
.text_orange {
  color: #f75e18;
}
.down_arrow_decoration {
    padding-block: 15px;
    position: relative;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, transparent 25%, #333 25%, #333 75%, transparent 74%) 1;
    margin-bottom: calc(1em + 15px);

    &::after,
    &::before {
      content: '';
      display: block;
      clip-path: polygon(0 0, 50% 100%, 100% 0);
      width: 1.2em;
      height: 1em;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

    &::before {
      background-color: #333;
      bottom: -1em;
    }

    &::after {
      background-color: #fff;
      bottom: calc(-1em + 6px);
    }
}
.box_img img{
  width: 100%;
}
.questionnaire_chart::after {
  content: "";
  position: absolute;
  display: block;
  height: 87%;
  width: 100%;
  bottom: 0;
  background-color: #fff;
  z-index: 0;
  border-radius: 15px;
}
.carousel {
  margin-bottom: 15px;
}
#page_search .inner .cta .button{
  font-size: clamp(1.2em, 5vw, 1.6em);
  line-height: 1.4;
  padding: 0.25em 0;
}
.yellow_underline{
  background: linear-gradient(transparent 60%, #f5ec5b 60%);
}
.txt_center {
  text-align: center;
}
.txt_right {
	text-align: right;
}
.mt10 {
  margin-top:10px;
}
.mt20 {
  margin-top:20px;
}
.mb10 {
  margin-bottom:10px;
}
.mb20 {
  margin-bottom:20px;
}
.mr5{
  margin-right: 5px;
}
.pc {
	display: block;
}
.sp {
	display: none;
}
	
@media screen and (max-width: 768px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}
	
/* mv
-------------------------------------------------------*/
.mv_area_wrap{
	position: relative;
}	
.mv_txt{
	position: absolute;
	top: 0;
	right: 0;
	font-size: 16px;
	padding: 3px 10px 3px 12px;
	clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 20% 100%, 0% 50%);
	background-color: #595959;
	color: #fff;
}

/* table
-------------------------------------------------------*/
.table_column {
	width: 660px;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.table_column p {
  width: calc(100% / 6);
	line-height: 1.4;
	text-align: center;
}

.table_column p.th {
	line-height: 1.2;
	color: #fff;
  background-color: #008acf;
	display: flex;
	flex-flow: column;
	justify-content: center;
}

.table_column p.th:first-of-type {
	border-radius: 10px 0 0 0;
}

.table_column p.th .large {
	font-size: 125%;
}
	
.table_column p.th .small {
	font-size: 80%;
}

.table_column p.th .emphasis {
	color: #008acf;
    background-color: #fff;
	padding: 0.2em 0;
}

.table_column p.th:has(.emphasis) > span {
	margin-bottom: 0.4em;
}

.table_column p:last-of-type {
	border-radius: 0 0 10px 0;
}

.table_column p.service a {
	color: #008acf;
	text-decoration: underline;
}

.table_column p:not(.th):not(.service) > span:first-of-type {
	font-size: 120%;
	letter-spacing: -0.05em;
	display: block;
	margin-bottom: 10px;
}

.table_column p:not(.th):not(.service) > span:first-of-type .small {
	font-size: 10px;
}

.table_column p:not(.th):not(.service) > span:nth-of-type(2) {
	font-size: 12px;
	letter-spacing: -0.05em;
}

.table_column p:not(.th):not(.service) > span:nth-of-type(2) .small {
	font-size: 10px;
}

.table_column p span.online_txt{
	letter-spacing: -0.05em;
    display: block;
    margin-bottom: 10px;	
}

.table_column p a.button {
	font-size: 120%;
}

.table_column p a.button::before,
.table_column p a.button::after {
	content: none;
}

.table_column .evaluation {
	margin-bottom: 10px;
	width: 30px;
	height: auto;
}


.table_column{
  &.th6 {	  
    p.th:nth-of-type(6) {
      border-radius: 0 0 0 10px;
    }
    p:nth-child(n+7):nth-child(-n+12) {
      background-color: #f5ec5b;
    }
    p:not(:nth-of-type(6n)) {
      border-bottom: 2px dashed #fff;
    }
    p:nth-child(n+12) {
      background-color: #fff;
      border-bottom-color: #ededed;
    }
    p:not(.th):not(:nth-last-of-type(-n+6)) {
      border-right: 1px solid #ededed;
    }
    p:nth-of-type(31) {
      border-radius: 0 10px 0 0;
    }
    p.service {
		padding: 10px 5px 5px;
    }
  }

  &.th7 {
    p.th:nth-of-type(7) {
      border-radius: 0 0 0 10px;
    }
    p:nth-child(n+8):nth-child(-n+14) {
      background-color: #f5ec5b;
    }
    p:not(:nth-of-type(7n)) {
      border-bottom: 2px dashed #fff;
    }
    p:nth-child(n+13) {
      background-color: #fff;
      border-bottom-color: #ededed;
    }
    p:not(.th):not(:nth-last-of-type(-n+7)) {
      border-right: 1px solid #ededed;
    }
    p:nth-of-type(36) {
      border-radius: 0 10px 0 0;
    }
  }
	
  &.th8 {
    p.th:nth-of-type(8) {
      border-radius: 0 0 0 10px;
    }
    p:nth-child(n+9):nth-child(-n+16) {
      background-color: #f5ec5b;
    }
    p:not(:nth-of-type(8n)) {
      border-bottom: 2px dashed #fff;
    }
    p:nth-child(n+12) {
      background-color: #f0f0f0;
    }
    p:not(.th):not(:nth-last-of-type(-n+8)) {
      border-right: 1px solid #d7d7d7;
    }
    p:nth-of-type(41) {
      border-radius: 0 10px 0 0;
    }
    p:not(.th):not(.service) > span:first-of-type{
      font-size: 14px;
    }
    p:not(.th):not(.service) > span:nth-of-type(2){
      font-size: 11px;
    }
    p.support_staff:not(.th):not(.service){
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
    }
    p:not(.th):not(.service) span.support_staff_txt{
		margin: 0;
		font-size: 11px;
		font-weight: 700;
		display: inline;
		background: white;
		padding: 3px 10px;
		border-radius: 20px;	  
    }
	p:not(.th):not(.service) span.features_txt{
		margin: 0;
		font-size: 11px;
		text-align: left;
    }
    p:not(.th):not(.service) span.plus_symbol{
		display: block;
		font-size: 12px;
		margin: 2px 0;
    }
  }
	
  &.th9 {
    p.th:nth-of-type(9) {
      border-radius: 0 0 0 10px;
    }
    p:nth-child(n+10):nth-child(-n+18) {
      background-color: #f5ec5b;
    }
    p:not(:nth-of-type(9n)) {
      border-bottom: 2px dashed #fff;
    }
    p:nth-child(n+13) {
      background-color: #f0f0f0;
    }
    p:not(.th):not(:nth-last-of-type(-n+9)) {
      border-right: 1px solid #d7d7d7;
    }
    p:nth-of-type(46) {
      border-radius: 0 10px 0 0;
    }
    p:not(.th):not(.service) > span:first-of-type{
      font-size: 14px;
    }
    p:not(.th):not(.service) > span:nth-of-type(2){
      font-size: 11px;
    }
    p.support_staff:not(.th):not(.service){
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
    }
    p:not(.th):not(.service) span.support_staff_txt{
		margin: 0;
		font-size: 11px;
		font-weight: 700;
		display: inline;
		background: white;
		padding: 3px 10px;
		border-radius: 20px;	  
    }
	p:not(.th):not(.service) span.features_txt{
		margin: 0;
		font-size: 11px;
		text-align: left;
    }
    p:not(.th):not(.service) span.plus_symbol{
		display: block;
		font-size: 12px;
		margin: 2px 0;
    }
  }
}



.table_column--with-icon {
  margin: 70px 0 0;
  
  &.th6 p:nth-child(7) {
    margin: -10px 0 0;
  }
  &.th7 p:nth-child(8) {
    margin: -15px 0 0;
  }
  &.th8 p:nth-child(9) {
    margin: -15px 0 0;
  }
  &.th9 p:nth-child(10) {
    margin: -10px 0 0;
  }

  &.th6 p:nth-child(7),
  &.th7 p:nth-child(8),
  &.th8 p:nth-child(9),
  &.th9 p:nth-child(10){
    padding: 20px 5px 0;
    border-radius: 10px 10px 0 0;
  }
  
  &.th6 p:nth-child(7)::after,
  &.th7 p:nth-child(8)::after,
  &.th8 p:nth-child(9)::after,
  &.th9 p:nth-child(10)::after{
    content: "";
    display: block;
    width: 60%;
    height: 40%;
    background-image: url('/wp-content/themes/myclinic-best/images/comparison/crown_01.png');
    background-size: cover;
	background-repeat:no-repeat;
    background-position: center;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translate(-50%, -50%);  
  }
  &.th6 p:nth-child(13)::after,
  &.th7 p:nth-child(15)::after,
  &.th8 p:nth-child(17)::after,
  &.th9 p:nth-child(19)::after{
    content: "";
    display: block;
    width: 35%;
    height: 25%;
    background-image: url('/wp-content/themes/myclinic-best/images/comparison/crown_02.png');
    background-size: cover;
	background-repeat:no-repeat;
    background-position: center;
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  &.th6 p:nth-child(19)::after,
  &.th7 p:nth-child(22)::after,
  &.th8 p:nth-child(25)::after,
  &.th9 p:nth-child(28)::after{
    content: "";
    display: block;
    width: 35%;
    height: 25%;
    background-image: url('/wp-content/themes/myclinic-best/images/comparison/crown_03.png');
    background-size: cover;
	background-repeat:no-repeat;
    background-position: center;
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  &.th6 p:nth-child(7),
  &.th6 p:nth-child(13),
  &.th6 p:nth-child(19),
  &.th7 p:nth-child(8),
  &.th7 p:nth-child(15),
  &.th7 p:nth-child(22),
  &.th8 p:nth-child(9),
  &.th8 p:nth-child(17),
  &.th8 p:nth-child(25),
  &.th9 p:nth-child(10),
  &.th9 p:nth-child(19),
  &.th9 p:nth-child(28){
    position: relative;
  }

}

.table_column p.rank img {
	width: 65px;
	height: auto;
}

.table_column p.service {
	font-weight: bold;
}

.table_column a.button {
	box-shadow: 0 3px #feddcf;
	margin-bottom: 3px;
}

.table_column a.button span {
	letter-spacing: -0.05em;
	padding: 1em 0;
}

.scroll-x .table_column {
	filter: drop-shadow(3px 6px #c7dbe6);
}

.table_column.th5 p:nth-of-type(5n + 1) { order: 1; }
.table_column.th5 p:nth-of-type(5n + 2) { order: 2; }
.table_column.th5 p:nth-of-type(5n + 3) { order: 3; }
.table_column.th5 p:nth-of-type(5n + 4) { order: 4; }
.table_column.th5 p:nth-of-type(5n + 5) { order: 5; }
.table_column.th6 p:nth-of-type(6n + 1) { order: 1; }
.table_column.th6 p:nth-of-type(6n + 2) { order: 2; }
.table_column.th6 p:nth-of-type(6n + 3) { order: 3; }
.table_column.th6 p:nth-of-type(6n + 4) { order: 4; }
.table_column.th6 p:nth-of-type(6n + 5) { order: 5; }
.table_column.th6 p:nth-of-type(6n + 6) { order: 6; }
.table_column.th7 p:nth-of-type(7n + 1) { order: 1; }
.table_column.th7 p:nth-of-type(7n + 2) { order: 2; }
.table_column.th7 p:nth-of-type(7n + 3) { order: 3; }
.table_column.th7 p:nth-of-type(7n + 4) { order: 4; }
.table_column.th7 p:nth-of-type(7n + 5) { order: 5; }
.table_column.th7 p:nth-of-type(7n + 6) { order: 6; }
.table_column.th7 p:nth-of-type(7n + 7) { order: 7; }
.table_column.th8 p:nth-of-type(8n + 1) { order: 1; }
.table_column.th8 p:nth-of-type(8n + 2) { order: 2; }
.table_column.th8 p:nth-of-type(8n + 3) { order: 3; }
.table_column.th8 p:nth-of-type(8n + 4) { order: 4; }
.table_column.th8 p:nth-of-type(8n + 5) { order: 5; }
.table_column.th8 p:nth-of-type(8n + 6) { order: 6; }
.table_column.th8 p:nth-of-type(8n + 7) { order: 7; }
.table_column.th8 p:nth-of-type(8n + 8) { order: 8; }
.table_column.th8 p:nth-of-type(9) {
	border-top: 3px solid #bf0000;
}
.table_column.th8.no_border p:nth-of-type(9) {
	border-top: none;
}
.table_column.th9 p:nth-of-type(9n + 1) { order: 1; }
.table_column.th9 p:nth-of-type(9n + 2) { order: 2; }
.table_column.th9 p:nth-of-type(9n + 3) { order: 3; }
.table_column.th9 p:nth-of-type(9n + 4) { order: 4; }
.table_column.th9 p:nth-of-type(9n + 5) { order: 5; }
.table_column.th9 p:nth-of-type(9n + 6) { order: 6; }
.table_column.th9 p:nth-of-type(9n + 7) { order: 7; }
.table_column.th9 p:nth-of-type(9n + 8) { order: 8; }
.table_column.th9 p:nth-of-type(9n + 9) { order: 9; }

.table_column.th8 p:nth-of-type(16) {
	border-bottom: 3px solid #bf0000;
}
.table_column.th8.no_border p:nth-of-type(16) {
	border-bottom: none;
}
.table_column.th8 p:nth-of-type(n+1):nth-of-type(-n+8) {
	border-right: none;
}
.table_column.th8 p:nth-of-type(n+9):nth-of-type(-n+16) {
	border-right: 3px solid #bf0000;
	border-left: 3px solid #bf0000;
}
.table_column.th8.no_border p:nth-of-type(n+9):nth-of-type(-n+16){
	border-right:none;
	border-left:none;
}

@media screen and (max-width: 768px){
	.table_column p {
		letter-spacing: -0.05em;
	}
	.table_column p.th {
		font-size: 0.9em;
		padding: 0 0.5em;
	}
	.table_column p.rank img {
		width: 50px;
		height: auto;	
	}
	.table_column p.service {
		font-size: 0.9em;
	}
	.table_column a.button span {
		font-size: 0;
	}
	.table_column a.button span.aga_cta {
		font-size: unset;
	}
	.table_column a.button br {
		display: none;
	}
  .table_column p:not(.th):not(.service) > span:first-of-type {
		margin-bottom: 5px;
	}
	.table_column .evaluation {
		margin-bottom: 5px;
	}
	.table_column.th9{
		width: 155%;
	}
	.table_column.th9 p.th {
		font-size: 12px;
		padding: 0 0.5em;
	}
}

/* header
-------------------------------------------------------*/
.logo {
	font-size: 1.2em;
	font-weight: bolder;
	color: #011a50;
}
.pr_text {
    text-align: right;
    color: #757575;
    font-size: 0.5em;
}
.pr_icon {
	border: solid 1px #757575;
	padding: 0.1% 0.8% 0.1% 0.7%;	
}
@media screen and (max-width: 768px) {
	.logo,
	.pr_text {
		padding: 5px;
	}
}


/* footer
-------------------------------------------------------*/
footer {
	text-align: center;
	color: #011a50;
}
#footer_text .inner {
	font-size: 12px;
	background-color: #ededed;
	padding: 10px;
}
#sub_footer .inner {
	text-align: center;
	background-color: #333;
}
#sub_footer .inner a {
	line-height: 5em;
	color: #fff;
	display: inline-block;
	padding: 0 1em;
}


/* 404
-------------------------------------------------------*/
.error404 section:has(h1.entry-title) {
	font-size: 2em;
	text-align: center;
	color: #011a50;
	border: 1px solid #011a50;
	padding: 1em 0;
	margin: 1em 0;
}
.error404 section:has(h1.entry-title) + section {
	text-align: center;
}
.error404 section:has(h1.entry-title) + section p {
	margin-bottom: 30px;
}
.error404 section:has(h1.entry-title) + section a {
	width: 500px;
	font-size: 26px;
	font-weight: bold;
	line-height: 2.5em;
	margin: 0 auto 30px;
}
.error404 section:has(h1.entry-title) + section a span {
	font-size: 0.75em;
	margin-left: 0.1em;
}
@media screen and (max-width: 768px) {
	.error404 section:has(h1.entry-title) {
		color: #fff;
		background-color: #011a50;
		border: none;
		margin-top: 0;
	}
	.error404 section:has(h1.entry-title) + section a {
		font-size: 16px;
		width: 70%;
	}
}


/* content
-------------------------------------------------------*/
#visual, .area0 {
	margin-bottom: 30px;
}
.visual_caution {
	text-align: left;
	font-size: 0.5em;
	vertical-align: top;
	line-height: 1.2;
	padding: 5px 0;
}
.visual_caution__right {
  text-align: right;
}
.area0 {
	margin-bottom: 30px;
}
.area0 .inner,
.result .inner {
	padding: 0 20px;
	box-sizing: border-box;
}
.area0 h3 {
	font-size: clamp(1em, 6vw, 2.3em);
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-align: center;
	margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
	#visual {
		margin-bottom: 20px;
	}
	.area0 {
		margin-bottom: 20px;
	}
	.area0 .inner,
	.result .inner {
		padding: 0 10px;
	}
	.area0 div:has(+h3):not(.inner)  {
		font-size: clamp(1em, 5vw, 2.2em);
	}
	.area0 .inner .text{
		font-size: 1.2em;
	}
}


/* clinic_only
-------------------------------------------------------*/
.clinic_only {
	position: relative;
}
.clinic_only::before {
	content: '';
	background-color: #f58755;
	display: block;
	width: 100vw;
	height: 100%;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
}
h3.aga_sb {
	padding: 20px 0 15px;
	-webkit-text-stroke: 1px #333;
	position: relative;
	border-bottom: 3px solid;
	border-image: linear-gradient(to right, transparent 25%, #333 25%, #333 75%, transparent 74%) 1;
	margin-bottom: calc(1em + 15px);

  &.aga10 {
    padding-bottom: 8px;

    &> span {
      font-size: 300%;
      line-height: 1;
    }
  }
}
h3.aga_sb > span {
	-webkit-text-stroke: 0.5px #333;
}
h3.aga_sb::before,
h3.aga_sb::after {
    content: '';
    display: block;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    width: 1.2em;
    height: 1em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
h3.aga_sb::before {
    background-color: #333;
    bottom: -1em;
}
h3.aga_sb::after {
    background-color: #fff;
    bottom: calc(-1em + 6px);
}
.clinic_only h3.aga_sb {
	-webkit-text-stroke: 1px #fff;
	color: #fff;
	border-image: linear-gradient(to right, transparent 25%, #fff 25%, #fff 75%, transparent 74%) 1;
}
.clinic_only h3.aga_sb > span {
	-webkit-text-stroke: 0.5px #fff;
}
.clinic_only .underline {
	border-bottom-color: #fff;
}
.clinic_only h3.aga_sb::before {
    background-color: #fff;
}
.clinic_only h3.aga_sb::after {
    background-color: #f58755;
}
.clinic_only .inner > .box {
	background-color: #fff;
    border-radius: 10px;
	overflow: hidden;
	margin-bottom: 15px;
}
.clinic_only .inner > .box h4 {
	font-size: clamp(1em, 6vw, 2.3em);
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
	color: #fff;
	background-color: #008acf;
	padding: 0.4em 0;
}
.clinic_only .inner > .box h4 .small {
	font-size: 85%;
}
.clinic_only .inner > .box img {
	width: 55%;
	margin: 10px 22.5%;
}
.clinic_only .inner > .box .flex p:first-of-type {
	font-size: clamp(1em, 5vw, 2.3em);
    font-weight: bold;
    line-height: 1.1;
	margin-right: 0.5em;
}
.clinic_only .inner > .box .flex p:last-of-type {
	font-size: clamp(1em, 10vw, 4em);
	font-weight: bold;
	color: #008acf;
	line-height: 1;
}
.clinic_only .inner .text {
	font-size: 1.2em;
	color: #fff;
	filter: drop-shadow(0 0 4px #d2480d);
}
.clinic_only .inner {
	padding-bottom: 20px;
}
@media screen and (max-width: 768px) {
}

/** about_aga
-------------------------------------------------------*/
.area0.about_aga {
  .text {
    font-size: 1.2em;
    line-height: calc(1em*1.7);
    margin-bottom: 30px;

    p {

      &:first-of-type {
        margin-bottom: 10px;
      }
    }
  }
  .text_bule {
    color: #126ed1;
  }
  .text_red {
    color: #E60301;
  }

  .toc {
    padding-inline: 40px;
  }
  h3 {
    font-weight: bold;
    text-align: left;
    padding-block: 16px;
    position: relative;
    margin-bottom: 24px;

    &::before {
      content: '';
      background-color: #ededed;
      display: block;
      width: 100vw;
      height: 100%;
      position: absolute;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
      z-index: -1;
    }
  }
  ol {
    box-sizing: border-box;
    counter-reset: number;
    display: grid;
    list-style: none;
    padding: 0;
    li {
      border-bottom: 1px solid #f75e18;
      font-size: clamp(1.4em, 3vw, 1.8em);
      font-weight: bold;
      margin-bottom: 20px;
      position: relative;
      padding-left: 1.5em;
      line-height: 1.7em;

      &::before {
        background-color: #f75e18;
        color: #fff;
        counter-increment: number;
        content: counter(number);
        position: absolute;
        top: 0;
        left: 0;
        width: auto;
        height: 100%;
        aspect-ratio: 1 / 1;
        border: 1px solid #f75e18;
        border-bottom: none;
        display: grid;
        align-content: center;
        align-items: center;
        box-sizing: border-box;
        justify-content: space-around;
        font-weight: bold;
        font-size: 1.4em;
        /* padding: 10px; */
        width: auto;
        height: 100%;
      }

      h4 {
        margin-left: 1em;
      }

      &:last-of-type {
        margin-bottom: 0;
      }
    }
  }
}
.about_aga_box{
	background-color: #f5ec5b;
	margin: 75px 10px 90px;
	position: relative;
	&::before{
		background-image: url("../images/about_aga/about_aga_box_top.png");
		background-size: contain;
		background-repeat: no-repeat;
		content: "";
		position: absolute;
		width: 100%;
		height: 41px;
		top: -16px;
		left: 0;
	}
	&::after{
		background-image: url("../images/about_aga/about_aga_box_bottom.png");
		background-size: contain;
		background-repeat: no-repeat;
		content: "";
		position: absolute;
		width: 100%;
		height: 41px;
		bottom: -40px;
		left: 0;
	}
	.about_aga_title{
		font-size: clamp(1.6em, 3vw, 2em);
		font-weight: 600;
		color: #f71818;
		text-align: center;
		padding: 50px 10px 30px;
		line-height: 1.4;
		span{
			background-color: #f71818;
			color: #fff;
			padding: 5px 10px;
			border-radius: 5px;
			margin: 0 10px 0 0;
		}
	}
	.about_aga_text{
		font-size: clamp(1.3em, 3vw, 1.6em);
		padding: 0 45px 20px;
		span{
			border-bottom: 1px solid #000;
		}
	}
	.about_aga_images2{
		display: flex;
		justify-content: space-evenly;
		align-items: center;
		padding: 0 0 35px;
		img{
			width: 42%;
		}
	}
}

@media screen and (max-width: 768px) {
  .area0.about_aga {
    .toc {
      padding-inline: 0;
    }
  }
	
  .about_aga_box{
	  margin: 45px 10px 50px;
	  .about_aga_title{
		  padding: 25px 20px 20px;
	  }
	  .about_aga_text{
		  padding: 0 20px 10px;
	  }
	  .about_aga_images2{
		  padding: 0 0 20px;
	  }
  }
}


/** clinic_point
-------------------------------------------------------*/
.area0.clinic_point {
  --point-head-mark-width: 10%;
  --point-head-width: auto;
  padding-bottom: 20px;

  .clinic_point_head {
    color: #fff;
    display: grid;
    padding: 0;
    margin-bottom: 16px;

    &::before {
      background-color: #028fde;
    }

    h3 {
      display: inline-block;
      -webkit-text-stroke: 1px #fff;
      color: #fff;
      border-image: linear-gradient(to right, transparent 25%, #fff 25%, #fff 75%, transparent 74%) 1;
      letter-spacing: 0.1em;
      font-feature-settings: "palt";

      span {
        -webkit-text-stroke: 0.5px #fff;
        font-size: 190%;
        letter-spacing: -1.8px;
        font-feature-settings: normal;
      }

      &::before {
        background-color: #fff;
      }

      &::after {
        background-color: #028fde;
      }
    }

    &.full_width {
      & h3.aga_sb {
        border: none;
        margin-bottom: 0;
        font-size: clamp(1em, 5.5vw, 2.3em);
        padding: 20px 0 15px;
        &::before,
        &::after {
            display: none;
        }
      }
    }
  }

  .clinic_point_body {
  }
  .box {
    background-image: url("../images/clinic_point/clinic_point_middole.png");
    background-size: contain;
    background-repeat: repeat;
    width: 100%;
    position: relative;
    padding-top: 90px;
    padding-bottom: 40px;
    padding-inline: 64px;

    &::before {
      background-image: url("../images/clinic_point/clinic_point_top.png");
      background-size: contain;
      background-repeat: no-repeat;
      content: "";
      position: absolute;
      width: 100%;
      height: 90px;
      top: 0;
      left: 0;
    }
    &::after {
      background-image: url("../images/clinic_point/clinic_point_bottom.png");
      background-size: contain;
      background-repeat: no-repeat;
      content: "";
      position: absolute;
      width: 100%;
      height: 40px;
      bottom: -20px;
      left: 0;
    }

    .point {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      padding-block: 20px;
      border-bottom: 2px solid #e8e8e8;

      &:first-of-type {
        padding-top: 0;
      }
      &:last-of-type {
        padding-bottom: 0;
        border: none;
      }
    }
  }
  .point_head {
    display: flex;
    justify-content: center;

    .point_head_mark {
      flex: 0 1 var(--point-head-mark-width);
      margin-right: 16px;
    }
    .point_head_title {
      flex: 1 1 var(--point-head-width);
      font-size: clamp(1em, 5.1vw, 2em);
      font-weight: bold;
      display: flex;
      align-items: center;
      letter-spacing: 1px;

      h4 {
        padding-top: 5px;
        position: relative;
        z-index: 1;

        &::before {
		/* content: "";
          background: #f5ec5b;
          border-radius: 10px;
          width: 100%;
          position: absolute;
          top: 65%;
          display: block;
          height: 30%;
          z-index: -1; */
        }
		  span{
			  background: linear-gradient(transparent 60%, #f5ec5b 60%);
			  
		  }
      }
    }
  }

  .point_body {
    width: 100%;
    display: grid;
    grid-template:
        "body1 body1 image" auto
        "body2 body2 body2" auto / 32% auto;
    column-gap: 10px;
    font-size: 1.2em;
    line-height: 2;
    margin-top: 16px;

      span:not(.caution) {
        color: #f75e18;
        border-bottom: 2px solid #f58755;
        font-weight: bold;
      }
      
      .point_body_1 {
        grid-area: body1;
      }
      .point_body_2 {
        grid-area: body2;
      }
      .point_body_3 {
        grid-area: body3;
      }
      .point_body_4 {
        grid-area: body4;
      }
      .point_body_image {
        grid-area: image;
        display: grid;
        grid-template-rows: 80% auto;
        grid-template-columns: subgrid;

        img {
          height: 100%;
          width: 100%;
          grid-row: 1;
          object-fit: contain;
        }
      }
  }
  .point_2 .point_body,
  .point_4 .point_body {
    grid-template:
    "body1 body1 image" auto
    "body2 body2 body2" auto / 40% auto;
  }
}

@media screen and (max-width: 768px) {
  .area0.clinic_point {
    margin-bottom: 0;

    .box {
      padding-top: 10%;
      padding-inline: 20px;
    }
    .point_head {
      .point_head_title {
        letter-spacing: normal;

        h4 {
          padding-top: 0;
        }
      }
    }
  }
}

/* searchform aga_2
-------------------------------------------------------*/
.additional_text.aga_2 {
  p {
    font-size: clamp(0.8em, 4vw, 1em);
    font-weight: normal;
    color: inherit;
    background-color: #fff;
    padding: 20px 0 15px;
    -webkit-text-stroke: 1px #333;
    position: relative;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, transparent 25%, #333 25%, #333 75%, transparent 74%) 1;
    margin-bottom: calc(1em + 15px);
    letter-spacing: 0.15em;
    line-height: 1.5;
  
    &::before {
      background-color: #333;
      bottom: -1em;
    }
    &::after {
      background-color: #fff;
      bottom: calc(-1em + 6px);
    }
    &::before, &::after {
      content: '';
      display: block;
      clip-path: polygon(0 0, 50% 100%, 100% 0);
      width: 1.2em;
      height: 1em;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

    span {
      display: block;
      font-size: 180%;
      font-weight: bold;
    }
  }
}

/* comparison_aga
-------------------------------------------------------*/
.comparison .flex {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
}
.comparison .flex > p {
    text-align: center;
	background-color: #ededed;
	width: calc(96% / 3);
}
.comparison .flex > p:nth-of-type(8n + 1) {
    order: 1;
	border-radius: 10px 10px 0 0;
}
.comparison .flex > p:nth-of-type(8n + 2) {
    order: 2;
}
.comparison .flex > p:nth-of-type(8n + 3) {
    order: 3;
}
.comparison .flex > p:nth-of-type(8n + 4) {
    order: 4;
}
.comparison .flex > p:nth-of-type(8n + 5) {
    order: 5;
}
.comparison .flex > p:nth-of-type(8n + 6) {
    order: 6;
}
.comparison .flex > p:nth-of-type(8n + 7) {
    order: 7;
}
.comparison .flex > p:nth-of-type(8n + 8) {
	order: 8;
	border-radius: 0 0 10px 10px;
}
.comparison .flex p:not(:nth-of-type(n + 17)) {
	margin-right: 2%;
}
.comparison .flex p:nth-of-type(-n + 8) {
	border-left: 2px solid #008acf;
	border-right: 2px solid #008acf;
}
.comparison .flex p:nth-of-type(8) {
	border-bottom: 2px solid #008acf;
}
.comparison .flex > p.rank {
	font-size: 120%;
	font-weight: bold;
	letter-spacing: 0.1em;
	color: #fff;
}
.comparison .flex > p.rank:first-of-type {
	background-color: #008acf;
}
.comparison .flex > p.rank:not(:first-of-type) {
	background-color: #757575;
}
.comparison .flex > p:has(.star_total) {
	font-size: clamp(1em, 3vw, 1.5em);
}
.comparison .star_total {
	display: flex;
	justify-content: center;
	line-height: 1;
}
.comparison .five_star {
	font-size: 100%;
	color: #fff;
}
.comparison .flex .banner a {
	font-weight: bold;
	letter-spacing: -0.05em;
	text-decoration: underline;
	color: #008acf;
}
.comparison .flex .plan_ttl > span {
	border: 1px solid #333;
	border-radius: 5px;
	display: block;
	width: 75%;
	min-width: 7em;
	padding: 0;
	margin: 0 auto;
}
.comparison .flex .fee {
	font-size: 120%;
}
.comparison .flex .fee .small {
    font-size: 12px;
}
.comparison .flex .txt {
	display: block;
}
.comparison .flex p:has(.button) {
	margin-bottom: 5px;
}
.comparison .flex .button {
	font-size: 120%;
	margin-bottom: 6px;
}
.comparison .flex .button::before,
.comparison .flex .button::after {
	content: none;
}

.request_box_wrap{
/* 	margin: 0 0 70px; */
	margin: 0 0 0;
	padding: 0 0 5px;
}
.request_box{
    background-color: #f75e18;
    border-radius: 15px;
    margin: 20px 0 0;
    padding: 0 0 15px;
    h4{
        color: #fff;
        font-size: 2.5em;
        text-align: center;
        font-weight: 600;
        line-height: 1;
        padding: 0.5em;
        position: relative;
    }
    h4::before,
    h4::after{
        display: inline-block;
        content: "・";
    }
    .request_inner{
        background-color: #fff;
        margin: 0 15px;
        border-radius: 15px;
        padding: 15px;
        .item{
            display: flex;
            justify-content: space-between;
            margin: 20px;
            column-gap: 10px;
            align-items: flex-start;
            &.item__center {
              align-items: center;
            }
            .item_title{
                line-height: 1;
                padding: 5px 8px;
                background-color: #f75e18;
                border-radius: 7px;
                color: #fff;
                font-size: 1.5em;
                font-weight: 600;
                display: inline-block;
            }
            .item_text{
                font-size: 1.2em;
                padding: 0;
                margin: 5px 0 0;
                overflow-wrap: anywhere;
                word-break: normal;
                line-break: strict;
            }
            img{
                width:20%;
                height:20%;
            }
        }
    }
}

@media screen and (max-width: 768px){
	.request_box_wrap{
		margin: 0 0 0;
		font-size: clamp(1em, 5vw, 2.2em);
	}
	.request_box{
		margin: 10px 0;
		padding: 0 0 10px;
		border-radius: 10px;
	}
	.request_box h4{
		font-size: 1.4em;
	}
	.request_box .request_inner{
		margin: 0 10px;
		border-radius: 10px;
		padding: 10px 10px 5px;
	}
	.request_box .request_inner .item{
		align-items: flex-end;
		margin: 0 5px 10px;
	}
	.request_box .request_inner .item .item_title{
		font-size: 1em;
	}
	.request_box .request_inner .item .item_text{
		font-size: 0.7em;
	}
}


/* consultation
-------------------------------------------------------*/
.consultation > .first {
	position: relative;
	margin-bottom: calc(12vw + 20px);
}
.consultation > .first::before {
	content: '';
	background-color: #ededed;
	display: block;
	width: 100vw;
	height: 100%;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
}
.consultation > .first::after {
	content: '';
	background-color: #ededed;
	display: block;
	clip-path: polygon(0 0, 50% 100%, 100% 0);
	width: 100vw;
	aspect-ratio: 1 / 0.12;
	position: absolute;
	bottom: calc(-12vw + 1px);
	left: 50%;
	transform: translateX(-50%);
}
.consultation > .first h3.aga_sb {
	padding-top: 20px;
}
.consultation > .first h3.aga_sb::after {
    background-color: #ededed;
}
.consultation > .first h3.aga_sb > .large {
	font-size: 100%;
	letter-spacing: -0.05em;
	line-height: 2.1;
	white-space: nowrap;
	display: block;
	transform: scaleY(1.5);
}
.consultation .inner .box {
    background-color: #fff;
    text-align: center;
	margin-bottom: 15px;
}
.consultation .inner .box h4 {
	font-size: clamp(1em, 6vw, 2.3em);
	font-weight: bold;
	line-height: 1.2;
	color: #008acf;
}
.consultation .inner .box h4 .small {
    font-size: 80%;
}
.consultation .inner .box h4 .emphasis {
	background-color: #008acf;
	color: #fff;
	padding: 0.1em 0.25em;	
}
.consultation .inner .box img {
    width: 55%;
	margin: 10px;
}
.consultation .inner .text {
	font-size: 1.2em;
}
.consultation .inner .text .red {
	font-weight: bold;
}
.consultation .aba_sb_before {
	font-size: clamp(1em, 5vw, 2em);
	background-color: #008acf;
	color: #fff;
	border-radius: 1em;
	width: fit-content;
	padding: 0 1.5em;
	margin: 0 auto;
}
.consultation h3.aga_sb {
	padding-top: 10px;
}
.consultation h3.aga_sb > .large {
	font-size: 135%;
	letter-spacing: -0.05em;
	line-height: 1.6;
	white-space: nowrap;
	display: block;
	transform: scaleY(calc(175% / 1.35));
}
.consultation .inner .step > div {
	border: 2px solid #ededed;
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	margin-bottom: calc(2.5em + 10px);
	position: relative;
}
.consultation .inner .step > div:not(:last-of-type)::after {
    content: '';
    background-color: #ededed;
    display: block;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    width: 35%;
    height: 2.5em;
    position: absolute;
    bottom: -2.5em;
    left: 50%;
    transform: translateX(-50%);
}
.consultation .inner .step > div h4 {
	font-size: clamp(1em, 5vw, 2em);
	font-weight: bold;
	line-height: 1;
	color: #008acf;
}
.consultation .inner .step > div h4 > span {
    text-align: center;
    color: #fff;
    background-color: #008acf;
    border-radius: 50%;
    display: inline-block;
    width: 1em;
	margin-right: 0.5em;
}
.consultation .inner .step > div h4 + p {
	font-size: 1.2em;
	padding: 0;
}
.consultation .inner .step > div > div:last-of-type {
	display: flex;
	align-items: center;
}
.consultation .inner .step > div > div:last-of-type img {
    width: auto;
    height: 15vw;
    max-height: 120px;
}
.consultation .inner .step > div > div:last-of-type p {
	font-size: clamp(1em, 3vw, 1.2em);
	line-height: 1.3;
	text-align: center;
	color: #fff;
	background-color: #008acf;
	border-radius: 50%;
	padding: 0.5em 0.75em 0.25em;
	margin-left: 0.5em;
	position: relative;
	top: -0.5em;
}
.consultation .inner .step > div > div:last-of-type p::before {
	content: '';
	background-color: #008acf;
	display: block;
	clip-path: polygon(30% 0, 0% 100%, 100% 50%);
	width: 1.6em;
	height: 0.9em;
	position: absolute;
	bottom: -0.4em;
	left: 0.3em;
}
.consultation .inner .step > div > div:last-of-type p > span {
	font-size: 93%;
	letter-spacing: -0.05em;
	white-space: nowrap;
}
.consultation div:has(+.button),
.treatment_aga div:has(+.button){
	font-size: clamp(1em, 4vw, 1.8em);
	font-weight: bold;
	text-align: center;
}
.button > img {
	width: 10%;
	min-width: 45px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) translateX(-50%);
	left: 10%;
}


/* therapeutic_drug
-------------------------------------------------------*/
.therapeutic_drug h3.aga_sb > .large {
    letter-spacing: -0.05em;
}
.therapeutic_drug .text {
	font-size: 1.2em;
	margin-bottom: 15px;
}
.therapeutic_drug .inner .drug {
	background-color: #ededed;
	padding: 30px;
	margin-bottom: 15px;
}
.therapeutic_drug .inner .drug .box {
	background-color: #fff;
	border-radius: 10px;
	padding: 20px 25px 0;
}
.therapeutic_drug .inner .drug .box h4 {
	font-size: clamp(1em, 6vw, 2.3em);
	line-height: 1.8;
	text-align: center;
	color: #fff;
	background-color: #008acf;
	border-radius: 10px;
	margin-bottom: 10px;
}
.therapeutic_drug .inner .drug .box .images {
	display: flex;
	align-items: flex-end;
	justify-content: space-evenly;
	margin-bottom: 10px;
}
.therapeutic_drug .inner .drug .box .images img {
	width: calc(100% / 3);
	aspect-ratio: 1.4 / 1;
	object-fit: cover;
	object-position: top;
}
.therapeutic_drug .inner .drug .box--bg_color_no {
	text-align: center;	
}
.therapeutic_drug .inner .drug .box--bg_color_no h4{
    font-size: clamp(1em, 6vw, 2.3em);
    line-height: 1.8;
    text-align: center;
    color: #fff;
    background-color: #008acf;
    border-radius: 10px;
    margin-bottom: 10px;
}
.therapeutic_drug .inner .drug .box--bg_color_no video{
    width: 100%;
} 
.therapeutic_drug .inner .drug .text p {
	font-size: 120%;
	font-weight: bold;
	padding: 0;
}
@media screen and (max-width: 768px) {
	.therapeutic_drug .inner .drug {
		padding: 10px;
	}
	.therapeutic_drug .inner .drug .box {
		padding: 10px 20px 0;
	}
}


/* clinique_select
-------------------------------------------------------*/
.clinique_select > div:has(+h3) {
	font-size: 1.6em;
}
.clinique_select div:has(+h3) {
	font-size: 1.6em;
}
#page_index .clinique_select h3,
#page_aga .clinique_select h3 {
	font-size: 2em;
	color: #011a50;
	background: linear-gradient(transparent 60%, #ff0 60%);
	width: fit-content;
	padding: 0 0.25em;
	margin: 0 auto 20px;
}
#page_index .clinique_select .inner,
#page_aga .clinique_select .inner {
	padding: 0 50px;
	margin-bottom: -15px;
}
.clinique_select .flex {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
}
.clinique_select .flex > div {
	text-align: center;
	width: 48%;
	margin-bottom: 15px;
}
.clinique_select .flex:has(+.flex) > div {
	padding: 25px 5px;
	margin-bottom: 0;
}
#page_index .clinique_select .flex > div,
#page_aga .clinique_select .flex > div {
	background-color: #fef9ef;
	box-shadow: 2px 2px 3px #888;
}
.clinique_select .flex > div .title {
	color: #fff;
	background-color: #011a50;
	margin-bottom: 10px;
}
#page_index .clinique_select img,
#page_aga .clinique_select img {
	width: 12%;
}
.clinique_select .flex > div .text {
	font-size: 1.2em;
	font-weight: bold;
}
.reviews {
	background-color: #e5e0d2;
	padding: 20px 0;
	margin-bottom: 30px;
}
.reviews .inner > h3 {
	font-size: calc(2em / 1.1);
}
.reviews .inner > h3 .large {
	font-size: 110%;
	display: inline-block;
	margin-left: 0.1em;
}
.reviews .inner > div {
	background: linear-gradient(-135deg, transparent 25px, #fff 25px);
	padding: 15px 20px;
}
.reviews .inner > div:not(:last-of-type) {
	margin-bottom: 20px;
}
.reviews .inner > div p {
	font-size: 1.2em;
	border-bottom: 1px solid #333;
	padding: 0 0 0 20px;
	margin-bottom: 15px;
}
.reviews .inner > div p img {
	width: 10%;
	margin-right: 1em;
}
.reviews + a {
	font-size: clamp(1em, 3vw, 1.6em);
	font-weight: bold;
	text-align: center;
	display: block;
}
.reviews + a > img {
	display: block;
	width: 75%;
	margin: 0 auto;
	margin-top: 0.5em;
}
.reviews + a + a.button {
	font-size: clamp(1em, 3vw, 1.6em);
	line-height: 2.5em;
	margin: calc(1em + 6px) 20px 0;
	position: relative;
	top: -6px;
}
.reviews + a + a.button::after {
	content: "";
	background-color: #fff;
	display: inline-block;
	clip-path: polygon(0 0, 0% 100%, 100% 50%);
	width: 0.5em;
	height: 1em;
	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
	.clinique_select > div:has(+h3):not(.inner) {
		font-size: 1.2em;
	}
	#page_index .clinique_select h3,
	#page_aga .clinique_select h3 {
		font-size: 1.4em;
	}
	.clinique_select .flex:has(+.flex) > div {
		letter-spacing: -0.05em;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	#page_index .clinique_select .inner,
	#page_aga .clinique_select .inner {
		padding: 0 10px;
	}
	#page_index .clinique_select img,
	#page_aga .clinique_select img {
		width: 15%;
	}
	.clinique_select .flex > div .text {
		font-size: 1em;
	}
	.reviews {
		padding: 15px 0;
		margin-bottom: 20px;
	}
	.reviews .inner > h3 {
		font-size: 1.6em;
	}
	.reviews .inner > div {
		background: linear-gradient(-135deg, transparent 15px, #fff 15px);
		padding: 10px 15px;
	}
	.reviews .inner > div p {
		padding-left: 10px;
	}
	.reviews .inner > div p img {
		width: 20%;
	}
	.reviews + a + a.button {
		margin-top: calc(1em + 3px);
		top: -3px;
	}
}


/* ranking
-------------------------------------------------------*/
.ranking.glp-1 {
	background-color: #e4fbff;
	padding: 20px 0;
}
.ranking.glp-1 div:has(+h3):not(.inner) {
	line-height: 1.8;
	color: #fff;
	background: linear-gradient(120deg, #f14364 20%, #f8a549 80%);
	width: fit-content;
	padding: 0 1em;
	margin: 0 auto;
}
.ranking.glp-1 div:has(+h3):not(.inner) > span {
	font-size: 120%;
}
.ranking.glp-1 h3 {
	line-height: 0.7;
	color: #333;
	filter: drop-shadow(1px 1px 1px #fff) drop-shadow(-1px -1px 1px #fff) drop-shadow(1px -1px 1px #fff) drop-shadow(-1px 1px 1px #fff);
	width: fit-content;
	padding: 0.3em 0 0;
	margin: 0 auto 20px;
	position: relative;
}
.ranking.glp-1 h3::after {
	content: "";
	display: inline-block;
	width: 60px;
	height: 60px;
	background-image: url(../images/glp-1/halo.png);
	background-size: contain;
	vertical-align: middle;
	position: absolute;
	right: -1em;
	top: -0.6em;
}
.ranking.glp-1 h3 .red {
	font-size: 130%;
	font-style: italic;
}
.ranking.glp-1 h3 .large {
	font-size: 200%;
	font-style: italic;
	background: linear-gradient(120deg, #f14364 20%, #f8a549 80%);
	transform: scaleX(1.1);
	display: inline-block;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	padding: 0.1em 0.1em 0 0.05em;
}
.ranking.aga h3 > span{
	display: flex;
	align-items: center;
	justify-content: center;
}
.ranking.aga h3 > span > span:first-of-type {
    text-align: left;
}
.ranking.aga h3 > span > span:first-of-type > span:first-of-type {
	letter-spacing: -0.01em;
	color: #fff;
	background-color: #008acf;
	padding: 0 0.25em;
}
.ranking.aga h3 .large {
	font-weight: bold;
}
.ranking.aga h3 > span > span:last-of-type .large {
	color: #008acf;
}
.ranking.aga h3 > span > span:last-of-type .large > span {
	font-size: 225%;
	line-height: 1;
	display: inline-block;
	transform: skewX(-10deg) scaleX(1.05);
	margin-left: 0.05em;
}
.ranking .inner .box {
	padding: 20px;
	margin-bottom: 20px;
}
.ranking.glp-1 .inner .box {
	background-color: #fef9ef;
}
.ranking.aga .inner .box,
#page_search .inner .box {
	background-color: #ededed;
	border-radius: 10px;
}
.ranking .inner .box:last-of-type {
	margin-bottom: 0;
}
.rank_icon {
	font-size: clamp(1em, 4vw, 1.25em);
	text-align: center;
	border-radius: 50%;
	filter: drop-shadow(3px 3px 0 #ccc);
	width: 5em;
	height: 5em;
    position: relative;
	margin-right: 1em;
}
.rank_icon .large {
	font-size: 300%;
}
.rank_icon .backstar {
	background-color: #f5ec5b;
	display: block;
	width: 5em;
	height: 5em;
	z-index: -1;
}
.rank_icon {
	letter-spacing: -0.1em;
	display: block;
}
.rank_icon .backstar {
	position: absolute;
}
.rank_icon .backstar:nth-of-type(1) {
	transform: scale(0.75);
}
.rank_icon .backstar:nth-of-type(2) {
	transform: rotate(18deg) scale(0.75);
}
.rank_icon .backstar:nth-of-type(3) {
	transform: rotate(36deg) scale(0.75);
}
.rank_icon .backstar:nth-of-type(4) {
	transform: rotate(54deg) scale(0.75);
}
.rank_icon .backstar:nth-of-type(5) {
	transform: rotate(72deg) scale(0.75);
}
.ranking .inner .box:not(:first-of-type) .rank_icon {
	background-color: #fff;
}
.ranking .inner .box > .title {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.ranking.glp-1 .inner .box > .title img {
	width: 125px;
	height: auto;
	margin-right: 20px;
}
.ranking .inner .box > .title > div {
	font-weight: bold;
	line-height: 1.2;
	flex: 1;
}
.ranking .inner .box > .title > div h4 {
	font-size: 1.8em;
	display: flex;
	align-items: center;
	margin-top: 0.25em;
}
.ranking.aga .inner .box > .title > div h4 {
	font-size: clamp(1.5em, 6.5vw, 2.6em);
	justify-content: center;
}
.ranking .inner .box > .ranking_banner {
	display: block;
	margin-bottom: 20px;
}
.ranking .inner .box > .ranking_banner > div {
	font-size: 1.2em;
	font-weight: bold;
	background-color: #333;
	color: #fff;
	display: flex;
	justify-content: space-around;
	align-items: stretch;
}
.ranking .inner .box > .ranking_banner > div > p {
	width: 45%;
	margin: 10px;
	padding: 0;
}
.ranking .inner .box > .ranking_banner > div > p:first-of-type {
	margin-right: 0;
}
.ranking .inner .box > .ranking_banner > div > p:last-of-type {
	text-align: center;
	color: #fff;
	background-color: #bf0000;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	padding-right: 1.2em;
}
.ranking .inner .box > .ranking_banner > div > p:last-of-type::before {
	content: '';
	background-color: #fff;
	border-radius: 50%;
	display: block;
	width: 1.4em;
	height: 1.4em;
	position: absolute;
	right: calc(50% - 3.7em);
}
.ranking .inner .box > .ranking_banner > div > p:last-of-type::after {
	content: '';
	background-color: #bf0000;
	display: block;
	clip-path: polygon(0 0, 0% 100%, 100% 50%);
	height: 0.75em;
	width: 0.5em;
	position: absolute;
	right: calc(50% - 3.35em);
}
.ranking .star {
	font-size: clamp(1em, 3.5vw, 1.2em);
	background-color: #fff;
	border-radius: 10px;
	display: flex;
	margin-bottom: 20px;
}
.ranking .star .star_total {
	font-weight: bold;
	width: 35%;
	background-color: #f75e1820;
	border: 5px solid #fff;
	border-radius: 12.5px;
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
}
.ranking .star .star_average {
	font-size: 400%;
	line-height: 1;
	letter-spacing: -0.05em;
	color: #f75e18;
}
.ranking .star .star_total .five_star {
	font-size: 125%;
	font-weight: normal;
	color: #fff;
	margin: 0;
}
.ranking .star .stars {
	font-size: clamp(12px, 3.5vw, 1em);
	flex: 1;
	margin: 5px 10px;
}
.ranking .star .stars > div {
	line-height: 1.2;
	display: flex;
	justify-content: space-between;
}
.ranking .star .stars > div:not(:last-of-type) {
	border-bottom: 1px solid #ededed;
}
.ranking .star .stars > div > p:last-of-type {
	color: #757575;
	display: flex;
}
.five_star {
	font-size: 85%;
	line-height: 1;
	white-space: nowrap;
	color: #ededed;
	margin-right: 0.5em;
	position: relative;
}
.five_star::after {
	content: '★★★★★';
	line-height: 1;
	overflow: hidden;
	color: #f75e18;
	position: absolute;
	left: 0;
}
.five_star[data-rate="0.0"]:after{ width: 0%; }
.five_star[data-rate="1.0"]:after{ width: 20%; }
.five_star[data-rate="1.1"]:after{ width: 22%; }
.five_star[data-rate="1.2"]:after{ width: 24%; }
.five_star[data-rate="1.3"]:after{ width: 26%; }
.five_star[data-rate="1.4"]:after{ width: 28%; }
.five_star[data-rate="1.5"]:after{ width: 30%; }
.five_star[data-rate="1.6"]:after{ width: 32%; }
.five_star[data-rate="1.7"]:after{ width: 34%; }
.five_star[data-rate="1.8"]:after{ width: 36%; }
.five_star[data-rate="1.9"]:after{ width: 38%; }
.five_star[data-rate="2.0"]:after{ width: 40%; }
.five_star[data-rate="2.1"]:after{ width: 42%; }
.five_star[data-rate="2.2"]:after{ width: 44%; }
.five_star[data-rate="2.3"]:after{ width: 46%; }
.five_star[data-rate="2.4"]:after{ width: 48%; }
.five_star[data-rate="2.5"]:after{ width: 50%; }
.five_star[data-rate="2.6"]:after{ width: 52%; }
.five_star[data-rate="2.7"]:after{ width: 54%; }
.five_star[data-rate="2.8"]:after{ width: 56%; }
.five_star[data-rate="2.9"]:after{ width: 58%; }
.five_star[data-rate="3.0"]:after{ width: 60%; }
.five_star[data-rate="3.1"]:after{ width: 62%; }
.five_star[data-rate="3.2"]:after{ width: 64%; }
.five_star[data-rate="3.3"]:after{ width: 66%; }
.five_star[data-rate="3.4"]:after{ width: 68%; }
.five_star[data-rate="3.5"]:after{ width: 70%; }
.five_star[data-rate="3.6"]:after{ width: 72%; }
.five_star[data-rate="3.7"]:after{ width: 74%; }
.five_star[data-rate="3.8"]:after{ width: 76%; }
.five_star[data-rate="3.9"]:after{ width: 78%; }
.five_star[data-rate="4.0"]:after{ width: 80%; }
.five_star[data-rate="4.1"]:after{ width: 82%; }
.five_star[data-rate="4.2"]:after{ width: 84%; }
.five_star[data-rate="4.3"]:after{ width: 86%; }
.five_star[data-rate="4.4"]:after{ width: 88%; }
.five_star[data-rate="4.5"]:after{ width: 90%; }
.five_star[data-rate="4.6"]:after{ width: 92%; }
.five_star[data-rate="4.7"]:after{ width: 94%; }
.five_star[data-rate="4.8"]:after{ width: 96%; }
.five_star[data-rate="4.9"]:after{ width: 98%; }
.five_star[data-rate="5.0"]:after{ width: 100%; }
.five_star_num {
	font-family: monospace;
	transform: scaleX(1.3);
}
.ranking .inner .catch_copy {
	font-size: clamp(1em, 4.5vw, 2em);
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	margin-bottom: 20px;
}
.ranking .inner .flex {
	font-size: 1.2em;
	border-top: 2px solid #c1c4c8;
	border-bottom: 1px solid #c1c4c8;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.ranking .inner .flex .red {
	color: #e00;
}
.ranking .inner .flex .head,
.ranking .inner .flex .data {
	border-bottom: 1px dashed #c1c4c8;
	display: flex;
	align-items: center;
	padding: 10px;
}
.ranking .inner .flex .head {
	font-weight: bold;
	line-height: 1.2;
	letter-spacing: -0.05em;
	background-color: #fff;
	border-right: 1px solid #c1c4c8;
	flex-flow: column;
	justify-content: center;
	align-items: flex-start;
	width: calc(7em + 20px);
}
.ranking .inner .flex .head > span {
	font-size: 12px;
}
.ranking .inner .flex .data {
	line-height: 1;
	width: calc(100% - 7em - 20px);
}
.ranking .inner .flex > div:nth-last-child(1),
.ranking .inner .flex > div:nth-last-child(2) {
	border-bottom: 1px solid #c1c4c8;	
}
.ranking .inner .flex .data p {
	padding: 0;
}
.ranking .inner .flex .data p br {
	content: "";
	display: block;
	margin-bottom: 0.4em;
}

.ranking.glp-1 .inner .flex .data.colspan {
	width: calc(100% - 11em - 20px);
}
.ranking.aga .inner .point,
#page_search .inner .point {
	margin-bottom: 10px;
}
.ranking .inner .point .head {
	font-weight: bold;
}
.ranking.aga .inner .point .head,
#page_search .inner .point .head {
	font-size: clamp(1em, 6vw, 2.3em);
	text-align: center;
}
.ranking .inner .point ul {
	padding: 15px 30px;
}
.ranking.aga .inner .point ul,
#page_search .inner .point ul {
	background-color: #fff;
	border-radius: 10px;
}
.ranking .inner .point ul li {
	font-size: 1.4em;
	font-weight: bold;
	line-height: 1.3;
	position: relative;
	margin: 0.5em 0 0.5em 1.8em;
}
.ranking .inner .point ul li::before {
	content: "";
	background-color: #011a50;
	clip-path: polygon(15% 35%, 40% 55%, 85% 15%, 100% 30%, 40% 85%, 0% 50%);
	width: 1.3em;
	height: 1.3em;
	display: block;
	position: absolute;
	margin-left: -1.8em;
}
.ranking.aga .inner .point ul li::before {
	background-color: #f75e18;
}
.ranking.glp-1 .inner .point {
	background-color: #fff;
	border: 1px solid #f14364;
	box-shadow: none;
	padding: 15px 30px;
	margin-bottom: 30px;
}
.ranking.glp-1 .inner .point .head {
	font-size: 1em;
	text-align: left;
	line-height: 1.8;
	color: #f14364;
	background-color: transparent;
	border-bottom: 1px dashed #f14364;
	padding: 0 0 0.2em 0.5em;
}
.ranking.glp-1 .inner .point dl {
	padding-left: 4em;
	position: relative;
}
.ranking.glp-1 .inner .point dl dt {
	font-weight: bold;
	color: #f14364;
	padding: 1em 0.5em 0 0;
}
.ranking.glp-1 .inner .point dl::before {
	content: "";
	border: 1px solid #333;
	width: 1.2em;
	height: 1.2em;
	position: absolute;
	top: 50%;
	left: 0.5em;
	transform: translateY(-50%);
}
.ranking.glp-1 .inner .point dl::after {
	content: "";
	background-color: #f14364;
	clip-path: polygon(15% 30%, 35% 45%, 85% 0%, 100% 15%, 35% 75%, 0 45%);
	width: 1.4em;
	height: 1.7em;
	position: absolute;
	top: calc(50% - 0.1em);
	left: 0.7em;
	transform: translateY(-50%);
}
.ranking.glp-1 .inner .point dl dd {
	padding: 0 0.5em 1em 0;
}
.ranking.glp-1 .inner .point dl:last-of-type dd {
	padding-bottom: 0;
}
.ranking.glp-1 .inner .point .head > img {
	width: auto;
	height: 2em;
}
.ranking .inner .caution {
    margin-bottom: 20px;
}
.ranking .inner .coupon {
  background-color: #fff;
  border-radius: 10px;
  padding-block: 15px;
  margin-bottom: 15px;
}
.ranking .inner .coupon .head {
	font-size: clamp(1em, 5vw, 2em);
	font-weight: bold;
	text-align: center;
	letter-spacing: -0.05em;
  margin-bottom: calc(1em + 3px);
}
.ranking .inner .coupon .head p {
	font-weight: normal;
	background-color: #008acf;
	color: #fff;
	border-radius: 1em;
	width: fit-content;
	padding: 0 1.5em;
	margin: 0 auto 0.5em;
}
.ranking .inner .coupon .head .small {
	font-size: 93%;
}
.ranking .inner .coupon .head .large {
	font-size: 110%;
	white-space: nowrap;
	display: inline-block;
	transform: scaleY(calc(150% / 1.1));
	position: relative;
	top: -0.1em;
}
.ranking .inner .coupon .contents {
	text-align: center;
	display: flex;
	justify-content: center;
  padding: 15px 30px;
}
.ranking .inner .coupon .contents .ticket {
	width: 48%;
}
.ranking .inner .coupon .contents:has(.ticket + .ticket) .ticket:first-of-type {
	margin-right: 4%;
}
.ranking .inner .coupon .contents .ticket img {
	margin-bottom: 10px;
}
.ranking .inner .coupon .contents .ticket .code {
	border: 2px solid;
	border-radius: 10px;
}
.ranking .inner .coupon .contents .ticket.prevention .code {
	border-color: #7fb7dc;
}
.ranking .inner .coupon .contents .ticket.hair_growth .code {
	border-color: #5ca3d6;
}
.ranking .inner .coupon .contents .ticket .code p {
	font-size: clamp(1em, 5vw, 2em);
	font-weight: bold;
	padding: 0;
}
.ranking .inner .cta {
	font-size: 1.8em;
	font-weight: bold;
	text-align: center;
	color: #011a50;
	margin-bottom: 6px;
}
.ranking.aga .inner .cta .button{
	font-size: clamp(1.2em, 5vw, 1.6em);
	line-height: 1.4;
}
#page_search .inner .cta .button {
	font-size: clamp(1.2em, 5vw, 1.6em);
	line-height: 1.4;
	padding: 0.25em 0;
}
.ranking.aga .inner .cta .button .large,
#page_search .inner .cta .button .large {
	font-size: 110%;
}
.ranking.glp-1 .inner .cta {
	font-size: 1.4em;
}
.ranking.glp-1 .inner .cta a > img {
	display: block;
	width: 75%;
	margin: 0 auto;
	margin-top: 0.5em;
}
.ranking.glp-1 .inner .cta a > span {
	display: inline-block;
}
.ranking.glp-1 .inner .cta a:has(img) {
	display: block;
	margin-bottom: 10px;
}
.ranking.glp-1 .inner .cta a:not(:has(img)) {
	line-height: 1.4;
	padding: 0.7em 1.5em;
	position: relative;
}
.ranking.glp-1 .inner .cta a:not(:has(img))::after {
	position: absolute;
	right: 0.5em;
	top: 50%;
	transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
	.ranking.aga {
		padding: 0 0 15px;
	}
	.ranking.glp-1 {
		padding: 15px 0;
	}
	.ranking h3 {
		margin-bottom: 15px;
	}
	.ranking .inner .box {
		padding: 15px 10px;
		margin-bottom: 15px;
	}
	.ranking .inner .box > .title {
		margin-bottom: 15px;
	}
	.ranking .inner .box > .title img {
		width: 80px;
		margin-right: 10px;
	}
	.ranking .inner .box > .title > div {
		font-size: 0.9em;
	}
	.ranking .inner .box > .title > div h4 {
		font-size: 1.6em;
	}
	.ranking .inner .box > .ranking_banner {
		margin-bottom: 15px;
	}
	.ranking .inner .box > .ranking_banner > div {
		font-size: 1em;
	}
	.ranking .inner .box > .ranking_banner > div > p:first-of-type {
		letter-spacing: -0.05em;
		width: 50%;
	}
	.ranking .inner .box > .ranking_banner > div > p:last-of-type {
		width: 40%;
	}
	.ranking .star {
		margin-bottom: 15px;
	}
	.ranking .inner .catch_copy {
		margin-bottom: 15px;
	}
	.ranking .inner .flex {
		font-size: 1em;
		margin-bottom: 15px;
	}
	.ranking .inner .flex .head,
	.ranking .inner .flex .data {
		padding: 10px 5px;
	}
	.ranking .inner .flex .data {
		letter-spacing: -0.05em;
	}
	.ranking .inner .point {
		margin-bottom: 15px;
	}
	.ranking .inner .point ul {
		padding: 5px 10px;
	}
	.ranking .inner .point ul li {
		font-size: 1.2em;
	}
	.ranking .inner .caution {
		margin-bottom: 15px;
	}
	.ranking .inner .coupon {
		margin-bottom: 10px;
	}
	.ranking .inner .coupon .contents {
		padding: 10px;
	}
	.ranking .inner .cta {
		font-size: 1.4em;
		letter-spacing: -0.05em;
	}
}


/* online_medical_treatment
-------------------------------------------------------*/
.online_medical_treatment div.inner:has(+h3):first-of-type {
	font-size: 1.4em;
	margin-bottom: 20px;
}
.online_medical_treatment h3 {
	line-height: 2.2;
	color: #fff;
	position: relative;
	margin-bottom: 0;
}
.online_medical_treatment h3::before {
    content: '';
    background-color: #008acf;
    display: block;
    width: 100vw;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
.online_medical_treatment div.inner:not(:first-of-type) {
	position: relative;
	padding: 20px 0;
	margin-bottom: 0;
}
.online_medical_treatment div.inner:not(:first-of-type)::before {
    content: '';
    background-color: #ededed;
    display: block;
    width: 100vw;
    height: 100%;
    position: absolute;
	top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
.online_medical_treatment ul.merit li {
	background-color: #fff;
	display: flex;
	align-items: center;
}
.online_medical_treatment ul.merit li:not(:last-of-type) {
	margin-bottom: 1px;
}
.online_medical_treatment ul.merit li img {
	width: 40px;
	padding: 25px;
}
.online_medical_treatment ul.merit li p {
	font-size: 1.1em;
	font-weight: bold;
	color: #011a50;
	padding: 0;
}
.online_medical_treatment ul.step {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	min-width: 470px;
}
.online_medical_treatment ul.step li {
	width: 25%;
	display: flex;
	flex-flow: column;
	justify-content: flex-start;
}
.online_medical_treatment ul.step li p.head {
	font-size: 1.4em;
	text-align: center;
	color: #fff;
}
.online_medical_treatment ul.step li:nth-of-type(1) p.head {
	background-color: #008acf60;
	border-radius: 10px 0 0 0;
}
.online_medical_treatment ul.step li:nth-of-type(2) p.head {
	background-color: #008acf90;
}
.online_medical_treatment ul.step li:nth-of-type(3) p.head {
	background-color: #008acfc0;
}
.online_medical_treatment ul.step li:nth-of-type(4) p.head {
	background-color: #008acf;
	border-radius: 0 10px 0 0;
}
.online_medical_treatment ul.step li:not(:last-of-type) div {
	border-right: 1px solid;
	border-image: linear-gradient(to bottom, transparent 10%, #ededed 10%, #ededed 90%, transparent 90%) 1;
}
.online_medical_treatment ul.step li div {
	background-color: #fff;
	text-align: center;
	flex: 1;
}
.online_medical_treatment ul.step li:nth-of-type(1) div {
	border-radius: 0 0 0 10px;
}
.online_medical_treatment ul.step li:nth-of-type(4) div {
	border-radius: 0 0 10px 0;
}
.online_medical_treatment ul.step li p.img {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.online_medical_treatment ul.step li p.img img {
	width: auto;
	max-width: 80%;
	max-height: 80%;
}
.online_medical_treatment ul.step li text {
	font-weight: bold;
	text-align: center;
}
.aga div.inner .scroll-x .table,
.aga div.inner .scroll-x .table_column {
	filter: drop-shadow(3px 6px #c7dbe6);
}
@media screen and (max-width: 768px) {
	.online_medical_treatment div.inner:has(+h3):first-of-type  {
		font-size: 1.1em;
	}
	.online_medical_treatment h3 {
		line-height: 2.6;
	}
	.online_medical_treatment div.inner:not(:first-of-type):not(:has(.scroll-x)) {
		font-size: 1.1em;
		padding-left: 10px;
		padding-right: 10px;
	}
}
@media screen and (max-width: 520px) {
	div.inner:has(.scroll-x) {
		padding: 0 10px;
		position: relative;
	}
	div.inner:has(.scroll-x)::after {
		content: "";
		background: linear-gradient(to right, transparent, #fff);
		display: block;
		width: 10px;
		height: 100%;
		position: absolute;
		right: 0;
		top: 0;
	}
	.online_medical_treatment div.inner:has(.scroll-x)::after {
		content: "";
		background: linear-gradient(to right, transparent, #ededed);
	}
	div.inner .scroll-x {
		padding-bottom: 10px;
		overflow-x: scroll;
	}
	div.inner .scroll-x::-webkit-scrollbar {
		height: 8px;
	}
	div.inner .scroll-x::-webkit-scrollbar-thumb {
		background: #e1dee3;
		border-radius: 4px;
	}
	div.inner .scroll-x::-webkit-scrollbar-track {
		background: #f1eef3;
		border-radius: 4px;
	}
	div.inner .scroll-x > *:first-child {
		padding: 0;
	}
}


/* comparison_row
-------------------------------------------------------*/
.comparison_row.glp-1 {
	margin-bottom: 30px;
}
.comparison_row.aga {
	padding-bottom: 30px;
	margin-bottom: 0;
}
.calendar_clinicfor h3 {
  line-height: 1.7;
  font-size: 1.2em;
	border-radius: 10px;
	padding: 0.5em 0;
	margin-bottom: calc(1em + 15px);
	position: relative;
  background-color: #f5ec5b;
  color: #212121;
  font-weight: bold;
  
  &::before {
    content: '';
    background-color: #f5ec5b;
    display: block;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    width: 1.2em;
    height: 1em;
    position: absolute;
    bottom: calc(-1em + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  &::after {
    content: '';
    background-color: #f5ec5b;
    display: block;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    width: 1.2em;
    height: 1em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(-1em + 0px);
  }

  .rsv_schdl-title_highlighting {
    font-weight: bold;
    font-size: 1.3em;
    color: #fff;
    background-color: #f7621a;
    padding: 5px 10px;
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    line-height: 1;

    & > span {
      flex: 0 0 auto;
      padding-bottom: 3px;
      padding-left: 2px;
    }
  }
}

.comparison_row.aga h3 {
	font-size: clamp(1em, 5vw, 2.3em);
	color: #fff;
	background-color: #f75e18;
	border-radius: 10px;
	padding: 0.5em 0;
	margin-bottom: calc(1em + 15px);
	position: relative;
}
.comparison_row.aga h3::after {
	content: '';
	background-color: #f75e18;
	display: block;
	clip-path: polygon(0 0, 50% 100%, 100% 0);
	width: 1.2em;
	height: 1em;
	position: absolute;
	bottom: calc(-1em + 1px);
	left: 50%;
	transform: translateX(-50%);
}
.comparison_row.glp-1 div:has(+h3):not(.inner) {
	font-size: clamp(1em, 4.5vw, 2em);
	line-height: 1.6;
	color: #fff;
	background-color: #0046b0;
	border-radius: 1em;
	width: fit-content;
	padding: 0 1em;
	margin: 0 auto;
}
.comparison_row.glp-1 h3 {
	margin-bottom: 15px;
}
.comparison_row.glp-1 > h3:first-of-type {
	font-size: 1em;
	text-align: unset;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}
.comparison_row.glp-1 > h3:first-of-type > div:first-of-type {
	font-size: clamp(1em, 4vw, 1.4em);
	color: #0046b0;
	border: 2px solid #0046b0;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	aspect-ratio: 1;
	padding: 0.75em;
	margin-right: 0.25em;
	position: relative;
	transform: rotate(-15deg);
}
.comparison_row.glp-1 > h3:first-of-type > div:first-of-type::after {
	content: "";
	background: linear-gradient(#fff calc(100% - 2px), #0046b0 calc(100% - 2px));
	display: inline-block;
	clip-path: polygon(50% 0, 0% 100%, 100% 100%);
	width: 0.75em;
	height: 0.5em;
	position: absolute;
	right: 0.5em;
	bottom: 0.1em;
	transform: rotate(21deg);
}
.comparison_row.glp-1 > h3:first-of-type > div:not(:first-of-type) {
	padding-bottom: 1em;
}
.comparison_row.glp-1 > h3:first-of-type > div:nth-of-type(2) > p {
	padding: 0;
}
.comparison_row.glp-1 > h3:first-of-type > div:nth-of-type(2) > p:first-of-type {
	font-size: clamp(1.25em, 4.5vw, 1.8em);
	margin-bottom: 0.25em;
}
.comparison_row.glp-1 > h3:first-of-type > div:nth-of-type(2) > p:last-of-type {
	font-size: clamp(1.4em, 5vw, 2.2em);
	letter-spacing: -0.05em;
	color: #0046b0;
}
.comparison_row.glp-1 > h3:first-of-type > div:last-of-type > p {
	font-size: clamp(3em, 11vw, 5em);
	font-style: italic;
	line-height: 1;
	color: #f14364;
	padding: 0;
}
.comparison_row.glp-1 > h3:first-of-type > div:last-of-type > p > span {
	font-size: 110%;
	background: linear-gradient(120deg, #f14364 20%, #f8a549 80%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transform: scaleX(1.1);
	display: inline-block;
}
.comparison_row div.inner .scroll-x {
	overflow-x: scroll;
	margin-bottom: 15px;
}
.comparison_row .table {
	width: fit-content;
	padding: 0;
}
.comparison_row .table .tr {
	display:table-row
}
.comparison_row .table .th,
.comparison_row .table .td {
	line-height: 1.3;
	text-align: center;
	vertical-align: middle;
	width: auto;
	padding: 5px 0;
}
.comparison_row.glp-1 .table .th,
.comparison_row.glp-1 .table .td {
	border-right: 1px solid #b4b4b4;
	border-bottom: 1px solid #b4b4b4;
}
.comparison_row.glp-1 .table .td {
	padding: 10px;
}
.comparison_row .table .th {
	letter-spacing: -0.05em;
	font-weight: bold;
}
.comparison_row.glp-1 .table .th {
	background-color: #e4fbff;
}
.comparison_row.aga .table .tr > div:not(:nth-of-type(7n)) {
	border-right: 2px dashed;
}
.comparison_row.aga .table .th {
	color: #fff;
	background-color: #008acf;
	border-right-color: #fff;
}
.comparison_row.aga .table .th:first-of-type {
	border-left: 1px solid #008acf;
	border-radius: 10px 0 0 0;
}
.comparison_row.aga .table .th:last-of-type {
	border-right: 1px solid #008acf;
	border-radius: 0 10px 0 0;
}
.comparison_row.aga .table .tr .td:first-of-type {
	border-left: 1px solid #ededed;
}
.comparison_row.aga .table .tr .td:last-of-type {
	border-right: 1px solid #ededed;
}
.comparison_row.aga .table .tr:nth-of-type(2) .td {
	background-color: #f5ec5b;
	border-right-color: #fff;
}
.comparison_row.aga .table .tr:not(:nth-of-type(2)) .td {
	border-bottom: 1px solid #ededed;
}
.comparison_row.aga .table .tr:not(:nth-of-type(2)) .td {
	border-right-color: #ededed;
}
.comparison_row.aga .table .tr:last-of-type .td:first-of-type {
	border-radius: 0 0 0 10px;
}
.comparison_row.aga .table .tr:last-of-type .td:last-of-type {
	border-radius: 0 0 10px 0;
}
.comparison_row .table .td {
	background-color: #fff;
	white-space: nowrap
}
.comparison_row.glp-1 .table .td p {
	padding: 0;
}
.comparison_row.glp-1 .table .tr:nth-of-type(2) .td {
	background-color: #feffdb;
}
.comparison_row.glp-1 .table .tr:not(:first-of-type) .td:nth-of-type(2) p {
	text-align: left;
}
.comparison_row .table .td:first-of-type img {
	width: 120px;
}
.comparison_row.glp-1 .table .td div:has(.evaluation) {
	display: flex;
	align-items: center;
}
.comparison_row.glp-1 .table .td div:has(.evaluation) img {
	width: 20px;
	margin-right: 0.25em;
}
.comparison_row.glp-1 .table .td div:has(.evaluation) p {
	text-align: left;
}
.comparison_row.aga .table .td .evaluation {
	width: 30px;
	height: auto;
	margin-bottom: 3px;
}
.comparison_row .table .td ul li {
	font-size: 0.8em;
	padding: 0.1em 0.5em;
	position: relative;
}
.comparison_row .table .td ul li:not(:last-of-type) {
	margin-bottom: 0.5em;
}
.comparison_row .table .td ul li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 1px solid transparent;
	border-radius: 2px;
	background-image: linear-gradient(15deg, #0046b0 47%, transparent 47%, transparent 53%, #0046b0 53%);
	background-origin: border-box;
	background-clip: border-box;
	mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
	mask-clip: padding-box, border-box;
	mask-composite: exclude;
	padding: 0.2em 0.6em;
}
.comparison_row .table .td .button {
	margin: 0 5px 3px;
}
.comparison_row.aga .table .td .button {
	font-size: clamp(1em, 4vw, 1.6em);
	font-weight: bold;
}
.comparison_row.aga .table .td .button .aga_cta{
	padding: 0.5em 1.75em 0.5em 0.5em;
}
.comparison_row.glp-1 .table .td .button {
	box-shadow: 0 3px #4e0000;
}
.comparison_row.glp-1 .table .td .button {
	box-shadow: 0 3px #9b273d;
	padding-right: 1em;
	padding-left: 1em;
}
@media screen and (max-width: 520px) {
	.comparison_row {
		padding: 20px 0;
		margin-bottom: 0;
	}
	.comparison_row.glp-1 {
		padding: 0;
		margin-bottom: 20px;
	}
	.calendar_clinicfor h3,
	.comparison_row.aga h3 {
		margin-right: 10px;
		margin-left: 10px;
	}
	.comparison_row div.inner .scroll-x {
		padding: 0 0 10px;
		margin-bottom: 5px;
	}
	.aga div.inner:has(.scroll-x.after_blue)::after {
		background: linear-gradient(to right, transparent, #e3f1ff);
	}
	.comparison_row div.inner .caution {
		padding: 0 5px;
	}
}


/* recommend
-------------------------------------------------------*/
.recommend.glp-1 h3 {
	font-size: clamp(1.3em, 4vw, 2em);
	line-height: 1.4;
}
.recommend.glp-1 h3 > span {
	position: relative;
}
.recommend.glp-1 h3 > span::before {
	content: "";
	background: repeating-linear-gradient(-45deg, #fff191 0, #fff191 4px, #fffad8 4px, #fffad8 8px);
	display: block;
	width: 100%;
	height: 0.5em;
	transform: skewX(-20deg);
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: -1;
}
.recommend.glp-1 h3 > span > span {
	color: #0046b0;
}
.glp-1 .inner .button_area {
	background-color: #feffdb;
	display: flex;
	align-items: center;
	padding: 20px 30px;
	margin-bottom: 15px;
}
.glp-1 .inner .button_area > a:first-of-type {
	width: 30%;
	margin-right: 10px;
}
.glp-1 .inner .button_area > p:last-of-type {
	font-size: clamp(1.1em, 3vw, 1.6em);
	font-weight: bold;
	text-align: center;
	flex-grow: 1;
	padding: 0;
}
.glp-1 .inner .button_area > p > a.button {
	font-size: 0.75em;
	line-height: 1.2;
	padding: 0.7em 1.5em;
	position: relative;
}
.glp-1 .inner .button_area > p > a.button > span {
	display: inline-block;
}
.glp-1 .inner .button_area > p > a.button::after {
	content: "";
	background-color: #fff;
	display: inline-block;
	clip-path: polygon(0 0, 0% 100%, 100% 50%);
	width: 0.5em;
	height: 1em;
	margin-left: 0.5em;
	position: absolute;
	right: 0.5em;
	top: 50%;
	transform: translateY(-50%);
}
.glp-1 .inner > .text {
	font-size: 1.4em;
	margin-bottom: 15px;
}
.recommend .inner_blue .inner {
	font-size: 1.4em;
	padding: 0 15px;
}
.recommend .inner_blue .inner .text {
	font-size: 1.1em;
	padding-bottom: 15px;
	margin-bottom: 15px;
}
.recommend h4 {
	font-size: clamp(1em, 5vw, 2em);
	font-weight: bold;
	line-height: 2;
	text-align: center;
}
.recommend h4 + .inner {
	padding: 0 50px;
}
.recommend .flex {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}
.recommend .flex > div {
	text-align: center;
	margin-bottom: 15px;
}
.recommend.glp-1 .flex > div > img {
	width: 50%;
}
.recommend .flex > div .text {
	font-weight: bold;
}
@media screen and (max-width: 768px) {
	.recommend .inner_blue {
		margin-bottom: 20px;
	}
	.recommend .inner_blue .inner {
		font-size: 1em;
		padding: 0;
	}
	.recommend .inner_blue .inner .text {
		padding-bottom: 5px;
		margin-bottom: 5px;
	}
	.recommend h4 + .inner {
		padding: 0 10px;
	}
	.recommend .flex > div img {
		width: 15%;
	}
	.recommend .flex > div .text {
		font-size: 1em;
	}
	.recommend.glp-1 .flex > div > .text {
		line-height: 1.4;
	}
}


/* recommend
-------------------------------------------------------*/
.single_main .inner {
	text-align: center;
	padding: 30px 0;
}
.single_main .inner h2 {
	margin-bottom: 20px;
}
.single_main .inner .thums img {
	width: 300px;
	margin-bottom: 20px;
}
.load {
	padding: 53px 0;
	position: relative;
	margin-bottom: 20px;
}
.load .text {
	font-size: 14px;
	line-height: 1;
	letter-spacing: -0.05em;
	color: #848484;
}
.load .content {
	width: 120px;
	height: 120px;
	margin: -67px 0 0;
	position: absolute;
	left: calc(50% - 60px);
	border: 3px solid transparent;
	border-top-color: #b5b5b5;
	border-bottom-color: #b5b5b5;
	border-radius: 50%;
	animation: loader 2s linear infinite;
}
.load .content:before {
	content: "";
	position: absolute;
	left: 5px;
	right: 5px;
	top: 5px;
	bottom: 5px;
	border: 3px solid transparent;
	border-top-color: #ccc;
	border-bottom-color: #ccc;
	border-radius: 50%;
	animation: loader 3s linear infinite;
}
.load .content:after {
	content: "";
	position: absolute;
	left: 15px;
	right: 15px;
	top: 15px;
	bottom: 15px;
	border: 3px solid transparent;
	border-top-color: #e5e5e5;
	border-bottom-color: #e5e5e5;
	border-radius: 50%;
	animation: loader 1.5s linear infinite;
}
@keyframes loader {
	0% {
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
.single_main .inner .link {
	margin-bottom: 20px;
}
.single_main .inner .link a {
	font-weight: bold;
	color: #00f;
	padding: 0 0.25em;
}


/* searchform
-------------------------------------------------------*/
input,
select,
textarea {
	font-family: inherit;
}
.searchform {
	background-color: #f5f5f5;
}
.searchform h3 {
    font-size: clamp(1.5em, 6vw, 2.8em);
    letter-spacing: 0.15em;
    line-height: 1.5;
    color: #fff;
    background-color: #008acf;
}
.searchform .inner {
	padding-bottom: 15px;
}
.searchform .inner h4 {
	font-weight: bold;
	color: #028fde;
	position: relative;
    padding-left: 1.7em;
	margin: 5px 0;
}
.searchform .inner h4::before {
    content: '';
    display: block;
	border: 2px solid;
	border-image: linear-gradient(70deg, #028fde 85%, #fff 85%) 1;
    box-sizing: border-box;
    width: 1em;
    height: 1em;
    position: absolute;
    left: 0.2em;
    top: 50%;
    transform: translateY(-50%);
}
.searchform .inner h4::after {
	content: '';
	background-color: #028fde;
	display: block;
	clip-path: polygon(12% 39%, 37% 65%, 88% 12%, 100% 25%, 37% 89%, 0 51%);
	width: 0.9em;
	height: 0.9em;
	position: absolute;
	left: 0.5em;
	top: calc(50% - 2px);
	transform: translateY(-50%);
}
.searchform .inner h4 + div {
	display: flex;
}
.searchform .inner h4 + div > label {
	font-size: 110%;
	font-weight: bold;
}
.searchform .inner h4 + div.progress > label {
	font-size: 150%;
}
.searchform label {
	background-color: #fff;
	border: 1px solid #d7d7d7;
	border-radius: 0.5em;
	box-sizing: border-box;
}
.searchform .inner h4 + div > label:has(input[type="radio"]) {
	width: calc((100% - 24px) / 4);
	display: flex;
}
.searchform .inner h4 + div > label:has(input[type="radio"]):not(:last-of-type) {
	margin-right: 8px;
}
.searchform .inner h4 + div > label:has(input[type="radio"]:checked),
.searchform .inner h4 + div > label:has(input[type="checkbox"]:checked) {
	color: #fff;
	background-color: #008acf;
}
.searchform input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 0.9em;
	height: 0.9em;
	border-radius: 50%;
	border: 1px solid #333;
	margin: 0 10px;
}
.searchform input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0 7px 0 10px;
	position: relative;
}
.searchform input[type="checkbox"]::before {
	content: '';
	border: 1px solid #333;
	display: inline-block;
	box-sizing: border-box;
	width: 0.9em;
	height: 0.9em;
}
.searchform input[type="radio"]:checked {
	border: 2px solid #fff;
}
.searchform input[type="checkbox"]:checked::before {
	border: 1px solid #fff;
}
.searchform input[type="checkbox"]:checked::after {
	content: '';
	background-color: #fff;
	display: block;
	clip-path: polygon(12% 39%, 37% 65%, 88% 12%, 100% 25%, 37% 89%, 0 51%);
	width: 0.7em;
	height: 0.7em;
	position: absolute;
	left: 50%;
	top: calc(50% - 2px);
	transform: translate(-50%, -50%);
}
.how_old label {
	line-height: 1;
	padding: 10px 0;
	align-items: center;
}
.progress label {
	line-height: 1.1;
	flex-flow: column;
	align-items: center;
	padding: 5px 2.5px;
}
.searchform .progress input[type="radio"],
.searchform .progress span.red,
.searchform .progress img {
	margin-bottom: 5px;
}
.progress label span {
	text-align: center;
}
.progress label span.red > span {
	display: inline-block;
	margin-bottom: 0;
}
.progress label span.progress_text {
	font-size: calc(100% / 1.5);
	font-weight: normal;
	letter-spacing: -0.05em;
}
.searchform .inner h4 + div > label:has(input[type="radio"]:checked) span {
	color: #fff;
}
.progress label img {
	width: 50%;
}
.searchform .inner h4 + div.purpose,
.searchform .inner h4 + div.conditions {
	flex-wrap: wrap;
}
.purpose label,
.conditions label {
	width: calc((100% - 8px) / 2);
	display: flex;
}
.purpose label:not(:nth-of-type(2n)),
.conditions label:not(:nth-of-type(2n)) {
    margin-right: 8px;
}
.purpose label,
.conditions label {
    margin-bottom: 8px;
}
.purpose label:nth-child(2n+1):last-child,
.purpose label:nth-child(2n+1):nth-last-child(2),
.purpose label:nth-child(2n):last-child,
.conditions label:nth-child(2n+1):last-child,
.conditions label:nth-child(2n+1):nth-last-child(2),
.conditions label:nth-child(2n):last-child {
    margin-bottom: 0;
}
.purpose label,
.conditions label {
    line-height: 1.1;
    padding: 10px 0;
    align-items: center;
}
.searchform form > div:last-of-type {
	text-align: center;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.searchform form > div:last-of-type button,
.searchform form > div:last-of-type input[type="submit"] {
	font-size: 150%;
	font-weight: bold;
	border-radius: calc(1em + 10px);
	cursor: pointer;
	padding: 10px 0;
}
.searchform form > div:last-of-type button {
	background-color: #fff;
	border: 1px solid #333;
	width: 40%;
	margin-right: 5%;
}
.searchform form > div:last-of-type span:has(input[type="submit"]) {
	background-color: #e90d0d;
    border-radius: calc(1.5em + 10px);
	position: relative;
	width: 55%;
	padding: 1px 0;
}
.searchform form > div:last-of-type input[type="submit"] {
	color: #fff;
	background-color: transparent;
	border: none;
	width: 100%;
	padding-left: 2em;
	position: relative;
	z-index: 1;
}
.searchform form > div:last-of-type span:has(input[type="submit"])::before {
	content: '';
	position: absolute;
	top: calc(50% - 0.45em);
	left: calc(50% - 2.7em);
	font-size: 21px;
	width: 0.7em;
	height: 0.7em;
	box-sizing: border-box;
	border: 0.15em solid #fff;
	border-radius: 50%;
	background-color: transparent;
}
.searchform form > div:last-of-type span:has(input[type="submit"])::after {
	content: '';
	position: absolute;
	top: calc(50%);
	left: calc(50% - 2.1em);
	font-size: 21px;
	transform: rotate(-45deg);
	width: 0.15em;
	height: 0.4em;
	box-sizing: border-box;
	background-color: #fff;
}
@media screen and (max-width: 768px) {
  .searchform .additional_text span {
    display: inline;
  }
	.searchform .inner h4.how_old + div > label,
	.searchform .inner h4.progress + div > label {
		font-size: 120%;
	}
	.searchform .inner h4 + div.progress > label {
		font-size: 125%;
	}
	.progress label span.progress_text {
		font-size: calc(100% / 1.25);
	}
	.searchform input[type="radio"] {
		margin: 0 5px 0 7px;
	}
	.searchform form > div:last-of-type button,
	.searchform form > div:last-of-type input[type="submit"] {
		font-size: 120%;
	}
}

/* know
-------------------------------------------------------*/
.know h3.aga_sb {
	-webkit-text-stroke: 0px;
	color: #fff;
	padding: 20px 0 15px 0;
	border: none;
	margin-bottom: 10px;
	font-size: clamp(1em, 5.5vw, 2.3em);
}
.know .wrap_sb {
	line-height: 2.2;
	color: #fff;
	position: relative;
	margin-bottom: 0;
}
.know .wrap_sb::before {
	background-color: #028fde;
	}
.know h3.aga_sb::before {
	background-color: #ffff;
	bottom: calc(-1em + 0px);
	display: none;
}
.know h3.aga_sb::after {
	background-color: #008acf;
	bottom: calc(-1em + 7px);
	display: none;
}
.know h3.aga_sb > .large {
	letter-spacing: 0;
	-webkit-text-stroke: 0;
}
.consult_box {
	border: 2px solid #77c1e5;
	border-radius: 10px;
	padding: 10px 10%;
	margin: 30px 0;
}
.consult_lead {
	font-size: 2em;
	font-weight: bold;
	text-align: center;
	padding: 20px 0 0;
}
.consult_lead .large {
	font-size: 1.6em;
}
.consult_more {
	padding: 20px 0 0;
	position: relative;
	text-align: center;
	font-size: 4em;
	color: #fff;
	letter-spacing: 0.1em;
	margin: 60px 0 60px;
}
.consult_more::before {
	content: '';
	display: block;
	background-color: #f75e18;
	width: 100vw;
	height: 60%;
	position: absolute;
	z-index: -1;
	clip-path: none;
	padding: 20px 0 21px;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}	
.consult_more::after {
	content: '';
	background-color: #f75e18;
	display: block;
	clip-path: polygon(0 0, 50% 100%, 100% 0);
	width: 100vw;
	aspect-ratio: 1 / 0.03;
	position: absolute;
	bottom: calc(-2.9vw + 1px);
	left: 50%;
	transform: translateX(-50%);
}
.consult_more_lead {
	font-size: 3.3em;
	font-weight: bold;
	text-align: center;
	padding: 20px 0 0;
	line-height: 1.3;
}
.consult_more_lead .large {
	font-size: 1.3em;
}
.consult_box_text {
	text-align: center;
	font-size: 2em;
	color: #008acf;
	line-height: 1.4;
	padding: 0;
	margin: 0 0 15px;
	font-weight: bold;
}
.consult_box_text span {
	background-color: #008acf;
	color: #fff;
	padding: 1px 5px;
}
.know .text {
	padding: 0;
	margin: 0;
	font-size: 1.2em;
	line-height: 1.7;
}
.know .chance_img {
	margin: 30px 0;
}
.know .text p {
	padding:0;
}
.red_bg {
	color: #f75e18;
}
.marker_yellow {
	background: linear-gradient(transparent 50%, #f5ec5b 70%);
}
@media screen and (max-width: 768px) {
	.consult_lead,
	.consult_box_text {
		font-size: 1.4em;
	}
	.consult_lead {
		padding: 10px 0 0;
	}
	.consult_box {
		margin: 15px 0;
	}
	.consult_more {
		margin: 30px 0;
		font-size: 3em;
		padding:0;
	}
	.consult_more::after {
		aspect-ratio: 1 / 0.04;
		bottom: calc(-4vw + -7px);
	}
	.consult_more_lead {
		font-size: 2em;
	}
	.consult_more_lead .large {
		font-size: 1.2em;
	}
	.know .chance_img {
		margin: 15px 0;
	}
}
	

/* treatment_aga
-------------------------------------------------------*/
.treatment_aga p{
	font-size: 14px;
    line-height: 1.6;
    padding: 0;
}
.treatment_aga h3.aga_sb{
	font-size: 23px;
	letter-spacing: normal;
	color: #f75e18;
	padding: 30px 0 15px;
	-webkit-text-stroke: 1px #f75e18;
	position: relative;
	border-bottom: 3px solid;
	border-image: linear-gradient(to right, transparent 25%, #f75e18 25%, #f75e18 75%, transparent 74%) 1;
	margin-bottom: calc(1em + 10px);
}
.treatment_aga h3.aga_sb::before{
	background-color: #f75e18;
	bottom: -1em;	
}
.treatment_aga h3.aga_sb small{
	font-size: 12px;
}
.treatment_aga .aba_sb_before{
	font-size: 20px;
	font-weight: 500;
	background-color: #727272;
	color: #fff;
	border-radius: 1em;
	width: fit-content;
	padding: 0.2em 1.5em;
	margin: 0 auto 1em;
	position: relative;
}
.treatment_aga .aba_sb_before::after{
	content: '';
	display: block;
	background-color: #727272;
	bottom: -0.9em;
	clip-path: polygon(0 0, 50% 100%, 100% 0);
	width: 1.2em;
	height: 1em;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
.treatment_aga .bg_gray{
    background: #ededed;
	padding: 0 0 32px;
}
.treatment_aga .bg_gray h3.aga_sb::after{
	background-color: #ededed;
	bottom: calc(-1em + 6px);
}
.treatment_aga .aga_structure_wrap{
	margin: 35px 0;
}
.treatment_aga .aga_diff.img_01{
	margin: 18px 0;
}
.treatment_aga .aga_diff.img_02{
	margin: 20px auto 15px;
    width: 91%;
}
.treatment_aga .aga_diff_wrap{
	margin: 30px 0 15px;
}
.treatment_aga .aga_diff_wrap .aba_sb_before{
	margin: 0 auto 40px;
}
.treatment_aga .performance_box_wrap{
	margin: 0 0 25px;	
}
.treatment_aga .performance_box{
	background-color: #a6e1ff;
    border-radius: 15px;
    padding: 10px;
}
.treatment_aga .performance_box .title{
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 5px;
}
.treatment_aga .performance_box .desc_txt{
	margin: 5px 0 0;
	font-size: 10px;
	line-height: 1.5;
	font-weight: 400;
}
.treatment_aga .recommend_clinic_txt{
	font-size: 16px;
	font-weight:bold;
}


/* page_search
-------------------------------------------------------*/
#page_search .search_conditions h2 {
	font-size: clamp(1.3em, 4vw, 2em);
	font-weight: bold;
	line-height: 2.6;
	background-color: #028fde;
	color: #fff;
	text-align: center;
}
#page_search .search_conditions .inner {
	background-color: #fef9ef;
	display: flex;
	justify-content: center;
	align-items: stretch;
	padding-top: 15px;
	padding-bottom: 15px;
}
#page_search .search_conditions .inner > a {
	font-size: 1.6em;
	font-weight: bold;
	background-color: #028fde;
	color: #fff;
	border: none;
	border-radius: 1.3em;
	display: flex;
	align-items: center;
	padding: 9px 2em;
	margin-right: 1em;
}
#page_search .search_conditions .inner > .sort_ttl {
	display: flex;
	align-items: center;
	margin-right: 0.2em;
}
#page_search .search_conditions .inner > .sort {
	margin-bottom: 0;
}
#page_search .search_conditions .inner > .sort > select {
	height: 100%;
}
#page_search .result_ex {
	padding-left: 5px;
	margin-bottom: 30px;
}
#page_search .result_ex {
}
#page_search .result.ranking {
	padding-top: 0;
}
#page_search #no_list {
	text-align: center;
	padding: 0;
}
.pagination {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}
.pagination > li > a,
.pagination > li > span {
	line-height: 2.5em;
	text-align: center;
	border: 1px solid #b4b4b4;
	border-radius: 0.5em;
	display: block;
	width: 2.5em;
	margin-top: 20px;
}
.pagination > li:not(:last-of-type) {
	margin-right: 0.5em;
}
.pagination > li.current > span {
	color: #fff;
	background-color: #028fde;
	border-color: #028fde;
}
.searchform form + button {
	cursor: pointer;
	display: block;
	margin: 1em auto 0;
}
@media screen and (max-width: 768px) {
	#page_search .search_conditions .inner > a {
		font-size: 1.3em;
		padding: 4px 1em;
		margin-right: 0.5em;
	}
	#page_search .result_ex {
		margin-bottom: 20px;
	}
	#page_search .result.ranking .inner .box {
		border-width: 10px 5px;
	}
}


/* page_owner
-------------------------------------------------------*/
#page_owner h1.entry-title {
	font-size: 2em;
	line-height: 1;
	text-indent: 1em;
	color: #fff;
	background-color: #011a50;
	padding: 0.5em 0;
}
#page_owner .table {
	font-size: 1.2em;
	margin-bottom: 20px;
}
#page_owner h2.ttl02 {
	font-size: 1.5em;
	text-indent: 1em;
	color: #011a50;
	border-bottom: 2px solid #011a50;
	border-left: 10px solid #011a50;
}
#page_owner p:has(+h2.ttl02) {
	margin-bottom: 20px;
}

/** accordion
-------------------------------------------------------*/
details summary::-webkit-details-marker {
  /* iOSで表示されるデフォルトの三角形アイコンを消す */
  display: none;
  }

details.accordion_contents {
  summary {
    display: block;
    list-style: none;
    margin-bottom: 10px;

    .button {
      display: block;
      padding-block: 10px;
      cursor: pointer;
      font-size: clamp(1em, 5vw, 2em);
      font-weight: bold;
      text-align: center;
      color: #212121;
      background-color: #f5ec5b;
      box-shadow: 3px 6px #f0efe3;
      border-radius: 10px;
      height: auto;
      position: relative;
      transition: .3s;

      &:hover {
        opacity: 0.7;
      }

      &::before {
        content: '';
        background-color: #fff;
        border-radius: 50%;
        display: block;
        width: 1.2em;
        height: 1.2em;
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%);
      }
      &::after {
          content: '';
          background-color: #333;
          display: block;
          clip-path: polygon(0 60%, 50% 100%, 100% 60%, 87% 46%, 60% 67%, 60% 0, 40% 0, 40% 67%, 13% 46%);
          width: 0.8em;
          height: 0.8em;
          position: absolute;
          top: 50%;
          right: calc(5% + 0.2em);
          transform: translateY(-50%);
      }
    }
  }
  summary .button::after {
    clip-path: polygon(0 60%, 50% 100%, 100% 60%, 87% 44%, 60% 67%, 60% 0%, 40% 0%, 40% 67%, 13% 44%);
  }
  &[open] {
    summary .button::after {
      clip-path: polygon(0 40%, 50% 0, 100% 40%, 87% 56%, 60% 33%, 60% 100%, 40% 100%, 40% 33%, 13% 56%);
    }
  }
}

/** carousel
-------------------------------------------------------*/
.carousel_container {
  background-color: #fff;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border-radius: 15px;

  .carousel_slider {
    width: 100%;
    height: 87%;
    overflow: hidden;
    position: relative;
  }
  
  .content_inner_slider {
    width: 88%;
    height: 100%;
    display: flex;
  }

  button {
    padding: 0;
    margin: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    cursor: pointer;
    position: absolute;
    color: var(--color-white);
    font-size: 3rem;
    transform: translateY(-50%);
    top: 50%;
  }
  
  ul,
  li {
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
  }
  
  .img {
    /* min-width: 50vw; */
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .prev_button {
    background-color: #f58755;
    border-radius: 50%;
    display: block;
    width: clamp(1.4em, 7vw, 2em);
    height: clamp(1.4em, 7vw, 2em);
    position: absolute;
    top: 50%;
    left: 1%;
    transform: translateY(-50%);
    transition: .3s;

    &:hover {
      opacity: 0.7;
    }

    &::after {
      content: '◀︎';
      color: #fff;
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      translate: -55% -50%;
      font-size: 80%;
    }
  }
  
  .next_button {
    background-color: #f58755;
    border-radius: 50%;
    display: block;
    width: clamp(1.4em, 7vw, 2em);
    height: clamp(1.4em, 7vw, 2em);
    position: absolute;
    top: 50%;
    right: 1%;
    transform: translateY(-50%);
    transition: .3s;

    &:hover {
      opacity: 0.7;
    }

    &::after {
      content: '▶︎';
      color: #fff;
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      translate: -45% -50%;
      font-size: 80%;
    }
  }
  
  .dots {
    display: flex;
    margin: 1rem 0;
  }
  
  .dot {
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--color-text-light);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
  }
  
  .form {
    display: flex;
    align-items: center;
    font-size: 1rem;
  }
  
  .auto_slide {
  }

}
}

/* about_finasteride
-------------------------------------------------------*/
.about_finasteride {
  background: #ededed;

  .underline {
    border-width: 2px;
  }

  .about_finasteride_container {
    font-size: 15px;
    line-height: 2;
  }

  .about_finasteride_contents {
    padding: 20px 0;
  }

  .about_finasteride_container:last-of-type {
    padding: 24px 10px;
    background: #fff;
    &::before {
      content: "";
      display: block;
      width: 60%;
      margin: auto;
      top: 0;
      aspect-ratio: 213 / 46;
      background: #008acf;
      clip-path: polygon(50% 100%, 0 0, 100% 0);
      margin-bottom: 10px;
    }

    .img_box:not(:has(~ .img_box)) {
      padding-top: 30px;
    }
    .img_box.blue{
      padding: 10px;
      background-color: #d9f2ff;
      border-radius: 10px;
	}
    .title_box{
			  padding: 0;
			  margin: 0;
			  font-size: clamp(1.8em, 7vw, 3.4em);
			  text-align: center;
			  font-weight: bold;
			  -webkit-background-clip: text;
			  color: transparent;
			  background-image: linear-gradient(0deg, #008acf, #008acf 50%, #3aafea 50%, #3aafea);
			  .dots{
				  background-image: radial-gradient(circle at center, #3aafea 20%, transparent 20%);
				  background-position: top right;
				  background-repeat: repeat-x;
				  background-size: 1em 0.3em;
				  padding-top: .4em;
			  }
    }
  }

  .about_finasteride_head {
    font-size: clamp(1em, 5vw, 2.3em);
    text-align: center;
    padding: 0 0 20px 0;

    .large {
      display: block;
      letter-spacing: normal;
      font-feature-settings: "palt";
      font-size: 138%;
      line-height: 1.2em;
    }
  }

  .about_finasteride_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    padding-block: 16px;
    margin: 0 10px;
    background: #fff;
    border-radius: 10px;

  }
  .two-column {
    display: flex;
    column-gap: 8px;

    div:first-of-type {
      display: flex;
      flex: 1 0 auto;
      padding: 10px 18px;
      align-items: center;
      background: #008acf;
      color: #fff;
      border-radius: 10px;
    }
    div:last-of-type {
      flex: 1 1 auto;
    }

  }
  .video_box,
  .video_box video {
    width: 100%;
  }
  .about_finasteride_contents:first-of-type .about_finasteride_body {
    > p {
      text-align: center;
      font-weight: bold;
      letter-spacing: normal;
      font-feature-settings: "palt";
      letter-spacing: 2px;
      font-size: 1.3em;
      padding: 0;
    }
    .img_box {
      width: 50%;
    }
  }
}

/* aga_resolved
-------------------------------------------------------*/
.aga_resolved{
	background: #ededed;
	margin-bottom: 0;
	
	h3{
		&.aga_sb{
		span{
		background: linear-gradient(transparent 60%, #fff 60%);
        -webkit-text-stroke: 0.5px #f75e18;
        font-size: 175%;
        letter-spacing: normal;
        font-feature-settings: "palt";
		}
		-webkit-text-stroke: 0;
		font-weight: bold;
		font-size: clamp(1em, 5.5vw, 2.3em);
		color: #f75e18;
		border-image: none;
		margin-bottom: 1.5em;
		padding-bottom: 12px;
		border: none;
        padding: 20px 0 15px;
		}

		&::before, &::after{
        display: block;
        clip-path: polygon(0 0, 50% 100%, 100% 0);
        width: 1.8em;
        height: 1em;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
		}
		&::before{
		background-color: #f75e18;
		}
		&::after{
		background-color: #ededed;
		}
	}
	.aga_resolved_box{
		padding: 12px 0;
	}
	.qa_q{
		background-color: #fff;
		border-radius: 5px;
		display: flex;
		align-items: center;
		padding: 15px 10px 15px 0;
	}
	.qa_a{
		background-color: #fff;
		border-radius: 5px;
		display: flex;
		align-items: flex-start;
		margin: 5px 0 0 0;
		padding: 15px 10px 15px 0;
	}
	.q_icon{
		background-color: #ededed;
		padding: 0;
		width: 12%;
		text-align: center;
		.icon{
			font-size: clamp(2em, 5.5vw, 2.5em);
			color: #f75e18;
			font-weight: bold;
			.number{
				font-size: 60%;
				margin: 0 0 0 2px;
			}
		}
	}
	.a_icon{
		background-color: #f75e18;
		padding: 0;
		width: 12%;
		text-align: center;
		.icon{
			font-size: clamp(2em, 5.5vw, 2.5em);
			color: #fff;
			font-weight: bold;
			.number{
				font-size: 60%;
				margin: 0 0 0 2px;
			}
		}
	}
	.q_text{
		width: 88%;
		font-size: clamp(1em, 5.5vw, 2.3em);
		font-weight: bold;
		line-height: 1.2;
		padding: 0;
		color: #f75e18;
		padding: 0 0 0 10px;
	}
	.a_text{
		width: 88%;
		font-size: clamp(1em, 4vw, 1.5em);
		line-height: 1.6;
		padding: 0 0 0 10px;
		span{
		border-bottom: 2px dotted #f75e18;
		color: #f75e18;
		font-weight: bold;
		}
	}
	.img_box{
		margin: 10px 0 0;
		.caution_img{
			padding: 0;
			text-align: right;
			margin: 0 15px 0 0;
			font-size: 10px;
    		font-weight: normal;
    		line-height: 1.3;
    		color: #757575;
		}
	}

	
}