@charset "UTF-8";
/*-------------------------------------
全体
-------------------------------------*/
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  background: #f5f5f5;
}
.contents_box {
	padding: 0 2% 6rem;/*6rem 2%;*/
	position: relative;
}

/*スマホ------------------------*/
@media (max-width:767px) {
  .contents_box {
	  padding: 0 2% 3rem;
    /*padding: 3rem 3%;*/
  }
}
/*-------------------------------------
メインビジュアル
-------------------------------------*/
@media (min-width:768px) {
  .main_bg-auto {
    background: url("/img2/main_pc_bg.webp") no-repeat center center / auto auto;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
  }
  .main_bg-auto picture {
    max-width: 1030px;
  }
}
.main_img_area {
  min-width: 1016px;
  text-align: center;
  height: auto;
  margin: 0 auto;
  padding: 0;
}
.main_img_area img {
  display: block;
  margin: 0 auto;
  width: 100%;
}
/*スマホ------------------------*/
@media (max-width:767px) {
  .main_img_area {
    width: 100%;
    min-width: auto;
    min-height: auto;
  }
  .main_img_area img {
    object-fit: cover;
    height: auto;
    width: 100%;
  }
}
/*-------------------------------------
メインビジュアル下の診断スタート
-------------------------------------*/
/* 横幅いっぱいの五角形 */

.contents_box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: -40px;
  width: 100%;
  height: 260px;
background: linear-gradient(to bottom, #3fc5ff 0%, #00aded 100%);
  clip-path: polygon(0% 0%, /* 左上 */ 100% 0%, /* 右上 */ 100% 70%, /* 右中段 */ 50% 100%, /* 下の頂点（真ん中） */ 0% 70% /* 左中段 */
    );
}
@media (max-width:767px) {
  .contents_box::before {
    clip-path: polygon(0% 0%, /* 左上 */ 100% 0%, /* 右上 */ 100% 70%, /* 右中段 */ 50% 80%, /* 下の頂点（真ん中） */ 0% 70% /* 左中段 */
      );
  }
}
@media (max-width:650px) {
  .contents_box::before {
    height: 210px;
    clip-path: polygon(0% 0%, /* 左上 */ 100% 0%, /* 右上 */ 100% 70%, /* 右中段 */ 50% 80%, /* 下の頂点（真ん中） */ 0% 70% /* 左中段 */
      );
  }
}
@media (max-width:430px) {
  .contents_box::before {
    height: 150px;
    clip-path: polygon(0% 0%, /* 左上 */ 100% 0%, /* 右上 */ 100% 70%, /* 右中段 */ 50% 85%, /* 下の頂点（真ん中） */ 0% 70% /* 左中段 */
      );
  }
}
/*-------------------------------------
見出し
-------------------------------------*/
.n-subtitle_wrap {
 display: flex;
 justify-content: center;
 align-items: center;
 margin-bottom: 4em;
}
@media (max-width:767px) {
 .n-subtitle_wrap {
  margin-bottom: 1em;
 }
}
.n-subtitle_wrap > h2 {
 font-size: clamp(16px, 6.2vw, 38px);
 color: #1e73be;
 position: relative;
 display: block;
 font-weight: bold;
 padding: 0;
 letter-spacing: .05em;
 line-height: 1.1;
 text-align: center;
}
@media (max-width:767px) {
 .n-subtitle_wrap > h2 {
  font-size: clamp(20px, 5.5vw, 24px);
 }
}
.n-subtitle_wrap > h2 span {
 font-size: 24px;
 color: #000;
 display: block;
 margin: 0 0 0.4em;
 padding: 0;
 text-align: center;
 letter-spacing: normal;
}
/*-------------------------------------
診断
-------------------------------------*/
.aga-check {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.aga-check h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}
.aga-check > p.lead {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  margin-bottom: 24px;
}
.question {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.question:last-of-type {
  border-bottom: none;
  margin-bottom: 8px;
}
.question-title {
  font-weight: 700;
  margin-bottom: 8px;
	display: flex;
  gap: 6px;
	align-items: center;
	line-height: 1.3;
}
.question-title span.q-no {
  padding: 9px;
  margin-right: 6px;
  border-radius: 5px;
  background: #00aded;
  color: #fff;
  font-size: 1rem;
}
.option-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.option-list li {
  margin-bottom: 6px;
}
.option-list label {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.95rem;
	padding: 8px 12px;
  border-radius: 8px;
	background-color: #f5fbff;
	border: 1px solid #f5fbff;
}
.option-list label span {
  flex: 1;
}
.option-list label:has(input[type="radio"]:checked) {
  background-color: #DFF1FE;
	border: 1px solid #60C5F1;
}
.option-list input[type="radio"] {
  margin-top: 4px;
}

.cta-area {
  text-align: center;
  margin: 16px 0 8px;
}
.cta-area button {
  border: none;
  border-radius: 999px;
  padding: 10px 32px;
  font-size: 1rem;
  cursor: pointer;
  background: #0070c9;
  color: #fff;
  font-weight: 600;
}
.cta-area button:hover {
  opacity: 0.9;
}
/*スマホ------------------------*/
@media (max-width:767px) {
  .aga-check > p.lead {
    text-align: left;
  }
}
/*-------------------------------------
結果表示エリア
-------------------------------------*/

.result {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: 10px 10px 0 0;
  background: #ffffe2;/*#f5fbff;*//*#f0f8ff;*/
  opacity: 0;
}
/* 表示時にふわっと出るクラス */
.result.is-visible {
  display: block;
  animation: aga-fade-in 0.4s ease forwards;
}
@keyframes aga-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.result-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
  text-align: center;
}
.result-level {
  font-weight: 700;
  margin-bottom: 6px;
	padding: 5px 0;
  color: #fff;/*#0070c9;*/
	text-align: center;
	background-color: #00aded;
}
.result-detail {
  font-size: 0.95rem;
  /*color: #444;*/
}
.result-reset {
  margin-top: 12px;
  text-align: right;
}
.result-reset button {
  border: none;
  background: transparent;
  color: #0070c9;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.error {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #c0392b;
  text-align: center;
  display: none;
}
/*-------------------------------------
診断中ローディング表示
-------------------------------------*/
.loading {
  display: none; /* 最初は非表示 */
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f0f4ff;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #35507a;
}
.loading-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(0, 112, 201, 0.2);
  border-top-color: #0070c9;
  animation: aga-spin 0.7s linear infinite;
}
/* くるくる回るアニメーション */
@keyframes aga-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*-------------------------------------
診断結果後LP
-------------------------------------*/
.result-after {
  /*margin-top: 24px;*/
  /*padding: 20px;*/
  border-radius: 14px;
  background: #fff;
}
@media (max-width:767px) {
	.result-after {
  padding: 0px;
}
}
.after-block + .after-block {
  margin-top: 18px;
  padding-top: 18px;
  /*border-top: 1px solid #eee;*/
}

.after-title {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 10px;
	text-align: center;
	line-height: 1.3;
	position: relative;
	border-bottom: 5px solid #dddddd;
	padding: 0 0 10px;
}
.after-title::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 70px;
	height: 5px;
	background-color: #00aded;
}
.after-text {
  line-height: 1.8;
  font-size: 15px;
}

.after-list {
  margin: 10px 0 0;
  padding-left: 1.2em;
  line-height: 1.8;
}

.after-image img {
  max-width: 220px;
  height: auto;
  display: block;
  margin: 10px auto;
}

.after-cta {
  margin-top: 22px;
  padding: 16px;
  border-radius: 14px;
  background: #f7fbff;
  text-align: center;
}

.after-cta-lead {
  font-weight: 700;
  margin-bottom: 10px;
}

.after-cta-btn {
  display: inline-block;
  padding: 14px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.after-note {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 10px;
  line-height: 1.6;
}

/* ふわっと出す（任意） */
.result-after {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.result-after.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/*-------------------------------------
予防・発毛促進の比較表
-------------------------------------*/
.aga-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  font-size: 14px;
	table-layout: fixed;
}

.aga-compare-table th,
.aga-compare-table td {
  border: 1px solid #e6ebf2;
  padding: 10px;
  text-align: center;
	vertical-align: middle;
}

.aga-compare-table thead th {
  background: #00aded;
  color: #fff;
  font-weight: 700;
}

.aga-compare-table tbody th {
  background: #f5fbff;
  font-weight: 700;
}

/*-------------------------------------
AGAヘアクリニック詳細
-------------------------------------*/
.compare-container{
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 12px;
  box-sizing: border-box;
}

.compare-block{
  display:block;
}

.compare-card{
  background:#fff;
  border:1px solid #e6ebf2;
  border-radius:12px;
  padding:14px 14px 18px;
  margin:16px 0;
  box-shadow:0 4px 12px rgba(0,0,0,.04);
  box-sizing:border-box;
}

.compare-head{
  display:flex;
  align-items:center;
  gap:5px;
  padding: 0 10px 10px;
  border-bottom:4px solid #eef2f7;
}

.compare-rank img{
  width:100px;
  height:auto;
  display:block;
}

.compare-title{
  display:flex;
  /*flex-direction:column;*/
  align-items:flex-start;
  width:100%;
  gap:10px;
  margin: 0.5em 0 0 1em;
}

.compare-name{
  margin:0;
  font-size:20px;
  font-weight:800;
  color:#0d5bd0;
  line-height:1.15;
}

.compare-rate{
  margin-left:0;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  font-size:15px;
  align-self:flex-start;
  text-align:left;
  width:auto;
}

.compare-label{
  display:inline-block;
  background:#ff2b7f;
  color:#fff;
  padding:5px 8px;
  border-radius:6px;
  line-height:1;
  font-weight:700;
  font-size:12px;
}

.compare-body{
  display:block;
  padding:0 0 6px;/*14px 0 6px;*/
}

.compare-logo{
  text-align:center;
}

.compare-logo img{
  width:100%;
  /*max-width:250px;*/
  height:auto;
  display:inline-block;
  /*border:1px solid #e6ebf2;*/
  border-radius:8px;
}

.compare-features ul{
  margin:12px 0 0;
  padding-left:0;
  list-style:none;
  font-size:13px;
}

.compare-features li{
  position:relative;
  padding:.4em .7em .5em 2em;
  margin:0;
  line-height:1.5;
  text-align: justify;
  border-bottom: dashed 1px silver;
  list-style:none !important;
}

/* FontAwesomeに依存しないチェック（✓） */
.compare-features li:before{
  content:"●";
  position:absolute;
  left:0;
  top:6px;
  font-weight:700;
  color:#00aded;
}

/*.accent{
  color:#00aded;
  font-weight:700;
}*/

.note{
  font-size:12px;
  color:#6b7280;
}

/* 価格/項目ブロック（SP版の2カラム） */
.compare-detail{
  display:flex;
  flex-wrap:wrap;
  margin:14px 0 0;
  padding:0;
  list-style:none;
  border:2px solid #00aded;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}

.compare-detail > li{
  box-sizing:border-box;
  background:#fff;
}
/* 先頭の合計などを100% */
.compare-detail > li:first-child{
  width:50%;
  border-bottom:1px solid #dbe4f5;
}

.compare-detail > li:first-child dt{
  background:#00aded;
  color:#fff;
  text-align:center;
  padding:5px;
  font-weight:700;
  font-size:13px;
}

.compare-detail > li:first-child dd{
  margin:0;
  background:#fff;
  text-align:center;
  padding:5px;
  /*font-size:15px;*/
  /*font-weight:800;*/
}

/* 2列に並べる */
.compare-detail > li:not(:first-child){
  width:50%;
  /*border-top:1px solid #dbe4f5;*/
}

/* 右側列に区切り線（nth-of-typeで安定） */
.compare-detail > li:nth-of-type(2n){
  border-left:1px solid #dbe4f5;
}

.compare-detail dl{ margin:0; }

.compare-detail dt{
  background:#00aded;
  color:#fff;
  text-align:center;
  padding:5px;
  font-weight:700;
  font-size:13px;
}

.compare-detail dd{
  margin:0;
  padding:5px;
  text-align:center;
  font-size:13px;
}

.compare-detail .num{
  font-size:15px;
  font-weight:800;
}
.comparison__note {
    text-align: left;
    margin-top: .5em;
    font-size: .7em;
}
sup {
    vertical-align: text-top;
    font-size: .7em;
}
.cp{
	text-align: center;
	margin: 15px 0;
}

.matome{
  border: 2px solid #00aded;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0 50px;
  font-size: 14px;
  position: relative;
}

.matome::before{
  position: absolute;
  content: "";
  width: 90px;
  height: 10px;
  background-color: #fff;
  left: 50%;
  transform: translateX(-50%);
  top: -5px;
}

.matome_ttl{
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 2px;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  color: #00aded;
}
    span.under-line-yellow {
        background: linear-gradient(transparent 60%, #ffeb00 0%);
        font-weight: bold;
    }

/*-------------------------------------
CTAボタン
-------------------------------------*/
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
 /* letter-spacing: 0.1em;*/
  color: #212529;
  border-radius: 200px;
}

.btn-wrap {
  margin: 30px 0;
	text-align: center;
}

a.btn-c {
  font-size: 25px;
  position: relative;
  padding: 1.25rem 3rem 0.5rem;
  color: #fff;
  background: #e94919;
  -webkit-box-shadow: 0 5px 0 #d44114;
  box-shadow: 0 5px 0 #d44114;
}
@media (max-width:767px) {
 a.btn-c {
	 font-size: 20px;
  padding: 1.25rem 2rem 1rem;
}
}

a.btn-c span {
  font-size: 15px;
  position: absolute;
  top: -1.4rem;
  left: calc(50% - 125px);
  display: block;
  max-width: 320px;
  padding: 0.2rem 0.5rem;
  color: #d44114;
  border: 2px solid #d44114;
  border-radius: 100vh;
  background: #fff;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

a.btn-c span:before,
a.btn-c span:after {
  position: absolute;
  left: calc(50% - 10px);

  content: "";
}

a.btn-c span:before {
  bottom: -10px;

  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #d44114 transparent transparent transparent;
}

a.btn-c span:after {
  bottom: -7px;

  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

a.btn-c i {
  margin-right: 1rem;
}

a.btn-c:hover {
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);

  color: #fff;
  background: #eb5b30;
  -webkit-box-shadow: 0 2px 0 #d44114;
  box-shadow: 0 2px 0 #d44114;
}