
body,html,div,p,ul,ol,li,img,figure,
section,article,
input,textarea,
table,tr,th,td,
h1,h2,h3,h4,h5,
a,
nav,header{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    vertical-align: top;
    list-style: none;
    font-size: 1rem;
	text-align: justify;
}
p + p{
    margin-top: 1em;
}
/* センタリング */
.center{
    text-align:center;
}
/* センタリング */
.center_pc{
    text-align:center;
}
@media (max-width: 768px){
	.center_pc{
		text-align:left;
	}
}
/* 上下センタリング */
.flx_jlac{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
/* 上下左右センタリング */
.flx_jcac{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

table {
	border-collapse: collapse;
    width: 100%;
}
img{width: 100%; height: auto;}
:root {
    --container: 1200px;
    --container-800: 800px;
    --container-1000: 1000px;
	--side-pad: 1vw;		/* 画面が狭い時の左右余白 */
    --text-color: #5e5e5e;
    --color-primary:#ac9150;
	--color-gold-100:#ac9159cc;
    --bg-gry-100:#f6f6f4;
    --bg-gry-200: #e3dfde;
	--bg-gry-rgb-200: 227, 223, 222;
	--bg-gry-900:#9c9c9c;
	--bg-brg-100:#f0edeb;
    --bg-brg-300: #edeceb;
	--bg-brg-400:#e0dad6;
    --border: #c0c0c0;
	--color-accent:#968485;
}




/* ========== 共通 ========= */
* {
    font-family:"Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
    color: var(--text-color);
    font-feature-settings: "palt"; 
    line-height: 1.8;
    --sentence-letter-spacing: 0;
    line-break: strict;
}
* {
  text-align: justify;
  text-justify: inter-ideograph; /* 日本語に最適化 */
}

html {
    font-family:"Shippori Mincho", serif;
}
body {
	font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans JP", sans-serif;
	line-height: 1.7;			/* 読みやすい行間 */
	letter-spacing: 0.02em;		/* 日本語はほんの少し広げると読みやすい */
}

/* ===== 見出し ===== */
h1 { font-size: clamp(1.75rem, 0.5rem + 3.33vw, 3rem); }
h2 { 
    padding:clamp(1.875rem, 0.625rem + 3.33vw, 3.125rem) 0;
    text-align: center;
    font-size: clamp(1.563rem, 1.375rem + 0.5vw, 1.75rem);
	line-height: 1.5em;
}
h3 { 
    padding: 2em 0 1em;
    font-size:clamp(1.25rem, 0.938rem + 0.83vw, 1.563rem);
	line-height: 1.5em;
	position: relative;
}

h2 + h3{
	padding-top:0
}
h4{	
	padding: 2em 0 0.1rem;
	font-size : clamp(1.125rem, 1rem + 0.33vw, 1.25rem);
	font-weight: 800;
	line-height: 1.5em;
	position: relative;
}

h5{	
	padding: 2em 0 0.1rem;
	font-size : clamp(1rem, 0.875rem + 0.33vw, 1.125rem);
	font-weight: 800;
	line-height: 1.5em;
	position: relative;
}
h3.border::before,
h4.border::before,
h5.border::before { 
    content: "";
    background: var(--color-accent);
    width: 8em;
    height: 1px;
    position: absolute;
    bottom: 0.8em;
    left: 0;
}
/* ===== 文字装飾 ===== */
/* 小文字 */
.annotation{
    font-size: 0.8rem;
}

/* ===== 余白 ===== */
.pb_0{
	padding-bottom: 0!important;
}
.pt_0{
	padding-top: 0!important;
}

/* アンダーライン */
.marker{
	background: linear-gradient(transparent 50%, #dac4ce 50%);
}



/* ===== リンク ===== */
a {
    color:var(--text-color);
    text-decoration: none;
    border-bottom : 1px solid transparent;
}
a:hover {
    border-bottom : 1px solid var(--text-color);
}

a:hover.img {
	opacity: 0.5;
	border-bottom: none;
}


/* ボタン */
.btn,
.linkbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .3rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .2s ease;
    max-width: 300px;
    width: 100%;
}
.btn.squ{
    border-radius: 5px;
}
.btn:hover{
    opacity: 0.7;
}


/* リンクボタン 白抜き */
.outline {
	border-color: var(--color-primary);
	color: var(--color-primary);
}
.outline:hover {
	background: var(--color-primary);
}

/*  リンク矢印  */
.arrow,
.linkbtn {
	position: relative;
	display: block;
	padding-right: 20px;
	vertical-align: middle;
	text-decoration: none;
	font-size: 15px;
	padding-right: 50px;
}
.arrow::before,
.arrow::after,
.linkbtn::before,
.linkbtn::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
}


/* 小さい矢印 メニュー */
.arrows::before {
	right: 5px;	
	width: 5px;
	height: 1px;
	background: var(--text-color);
}
.arrows::after {
	right: 4px;	
	width: 4px;
	height: 4px;
	border-top: 1px solid var(--text-color);
	border-right: 1px solid var(--text-color);
	transform: rotate(45deg);
}



/* テキストリンク */
main:not(.top) a{
    border-bottom: 1px solid var(--color-primary);
}
main:not(.top) a:hover{
    color: var(--color-primary);
}

/* リンクボタン */
.linkbtn{
    margin:1rem auto;
    padding-top:10px;
    padding-bottom:10px;
}
/* 背景色あり */
.linkbtn{
    background-color: var(--color-primary);
    color: #fff;
}
.linkbtn:hover{
    opacity: 0.3;
}
.linkbtn::before {
	right: 18px;
	width: 18px;
	height: 1px;
	background: #fff
}
.linkbtn::after {
	right: 17px;
	width: 6px;
	height: 6px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	transform: rotate(45deg);
}

/* 背景色グレー */
.linkbtn.gry{
    background-color: var(--bg-gry-900);
	border-color: var(--bg-gry-900);
    color: #fff;
}


/* 背景色なし */
.linkbtn.outline{
    color:  var(--color-primary);
    background-color: transparent;
}
.linkbtn.outline:hover{
    opacity: 0.3;
}
.linkbtn.outline::before {
	background: var(--color-primary);
}
.linkbtn.outline::after {
	border-top: 1px solid var(--color-primary);
	border-right: 1px solid var(--color-primary);
}







/* ===== コンテナ ===== */
.section{
	position: relative;
    padding-top: clamp(0rem, -1.455rem + 7.27vw, 4rem);
    padding-bottom: clamp(1.875rem, 1.102rem + 3.86vw, 4rem);
	padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

.container{
	width: min(var(--container), 100% - var(--side-pad)*2);
	margin-inline: auto;
}
.container.w800{
	width: min(var(--container-800), 100% - var(--side-pad)*2);
	margin-inline: auto;
}
.container.w1000{
	width: min(var(--container-1000), 100% - var(--side-pad)*2);
	margin-inline: auto;
}
@media (max-width: 768px) {
    .container,
    .container.w800{
        padding: 0;
		width: 90%;
    }
}


.wave{
	position: relative;
}
.wave::before {
	content:"";
	display: block;
	position: absolute;
	background: url(../img/bg-wave.svg) no-repeat center top / auto;
	height: auto;
	bottom: 0px;
	width: 100%;
	background-size: 105%;
	aspect-ratio: 19/1;
}
.top .wave::before {
	aspect-ratio: 15/1;
}

.gry-100{
	background-color: var(--bg-gry-100);
}

.hero-gry{
	background: 
		url(../img/bg-400.jpg) center 40% / cover no-repeat;
}
.hero-gry-500{
	background: 
		url(../img/bg-500.jpg) center 40% / cover no-repeat;
}

.hero-brg{
	background: 
		url(../img/bg-600.jpg) center 40% / cover no-repeat;
}
.hero-gry-100{
	background: var(--bg-gry-100);
}
.hero-gry-200{
	background: var(--bg-gry-200);
}
.hero-brg-100{
	background: var(--bg-brg-100);
}
.hero-brg-300{
	background: var(--bg-brg-300);
}


.w100vh{
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}







/* === ２カラム === */
.clm2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr); 
	gap: 2rem; 
	width: 100%; 
	margin: 0 auto;
}
.clm2_12 {
	display: grid;
	grid-template-columns: 1fr 2fr; 
	gap: 2rem; 
	width: 100%; 
	margin: 0 auto;
}
.clm2_21 {
	display: grid;
	grid-template-columns: 2fr 1fr; 
	gap: 2rem; 
	width: 100%; 
	margin: 0 auto;
}
.clm2_14 {
	display: grid;
	grid-template-columns: 1fr 4fr; 
	gap: 2rem; 
	width: 100%; 
	margin: 0 auto;
}
.clm2.bgw,
.clm2_21.bgw,
.clm2_12.bgw,
.clm3.bgw{
	padding: clamp(1rem, 2.67vw, 2rem);
}
.clm2 + div,
.clm2_21  + div,
.clm2_12 + div,
.clm3 + div {
	margin-top: 1rem;
}
.clm2 h3,
.clm2_21  h3,
.clm2_12 h3,
.clm3 h3{
	padding-top: 0;
}

@media (max-width: 768px) {
	.clm2,
	.clm2_12,
	.clm2_21,
	.clm2_14 {
		grid-template-columns: 1fr;
		gap: 1rem; 
	}
	.results__btn {
		justify-self: center;
	}
}

/* === 3カラム === */
.clm3{
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3列 */
	gap: 1rem; 
}

/* レスポンシブ：2列 → 1列 */
@media (max-width: 900px){
	.clm3{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
	.clm3{ grid-template-columns: 1fr; }
}


/* === 4カラム === */
.clm4{
	display:grid;
	grid-template-columns: repeat(4,1fr); 
	gap: 1rem; 
}
@media (max-width: 1024px){
	.clm4,
	.footer-nav__grid{ grid-template-columns: repeat(2,1fr); gap:36px 32px; }
}
@media (max-width: 640px){
	.clm4,
	.footer-nav__grid{ grid-template-columns: 1fr; gap:28px; }
}






/* ===== フォーム ===== */
.table.form{
	background-color: #fff;
}
.table.form th{
	color: var(--text-color);
}
.table.form td{
	padding: 1rem;
}

/* 必須 */
.table.form .must{
	padding: 2px 5px;
	background-color: var(--color-primary);
	color: #fff;
	font-size: 0.8rem;
}

input:not([type="submit"]),
textarea{
    padding:10px;
    width: 100%;
    border: none;
    background-color: var(--bg-brg-100);
}

input[type="submit"]{
	    border: none;
		background-color: transparent;
		color: #fff;
		width: 100%;
}

input:focus,
textarea:focus,
select:focus{
	outline: none;
	box-shadow: 0 0 3px var(--color-primary); 
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
}
/* エラー */
.table input:has( + span.error),
.table textarea:has( + span.error){
	background-color: #b700002b;
}

input[type="radio"]{
	width: auto;
}
.table th div{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.required-srt{
    margin-right: 0.5em;
    padding: 0 10px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
}


@media (max-width: 768px){
	.table.form td,
	.table.form th{
		padding: 1rem 0;
	}
	.table.form th{
		padding-bottom: 0;
		border-bottom: none;
		text-align: left;
	}
	.table th div{
		justify-content: left
	}
	.table.form .must{
		margin-left: 0.5em;
	}

}






/* ===== 他 ===== */
.disp_sp{
    display: none ! important;
}
.disp_pc{
    display: initial ! important;
}

@media (max-width: 768px){
    .disp_sp{
        display: initial!important;
    }
    .disp_pc{
        display: none ! important;
    }
}





/* ===== モザイク ===== */
.case__media{
    position: relative;
    overflow: hidden;
}
.case__media.blur img {
    filter: grayscale(1) blur(3px);
    position: relative;
}
.case__media::after {
    content: "クリックで詳細画像表示";
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* クリックを邪魔しない */
}
.case__media.blur::after {
    opacity: 1;
}


/* ================================================================
サブページ共通
================================================================== */

/* ===== サブページ タイトル　===== */
.subttl{
	padding-top: 60px;
	aspect-ratio: 12/2.5;
	width: 100%;
	height: auto;
	min-height: 170px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	background-size: cover;
	background-position: center;
}
.subttl span,
.subttl h1{
	line-height: 1.3em;
    text-align: center;
    width: 98%;
}
.subttl span{
	width: 100%;
	text-align: center;
	display: block;
	color: var(--color-primary);
	font-size: 1rem;
}

/* =====　パンくず　===== */
#breadcrumb-wrapper{
	padding-top: 0;
	padding-bottom: 1rem;
}
#breadcrumb-wrapper * {
    font-size: 0.75rem;
}

/* =====　ページ内リンク用メニュー ===== */

section#plink_menu{
	padding-top: 0;
}
#plink_menu ul,
.plink_menu ul{
	margin: 2rem auto 0;
	padding: clamp(1rem, 2.67vw, 2rem);
	background-color: var(--bg-brg-300);
	max-width: 600px;
}
#plink_menu li,
.plink_menu li{
	padding: 0.5rem;
}
#plink_menu h3,
.plink_menu h3{
	padding:0;
}
#plink_menu a.arrow.arrows,
.plink_menu a.arrow.arrows {
    border: none;
}

/* =====　table ===== */
table.table,
table.table_spt
{
	margin: auto;
	max-width: 800px;
	border-top: 1px solid #999;
}
.table th,
.table td ,
.table_spt th,
.table_spt td {
	padding: 0.8em 0;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}
.table th,
.table_spt th{
	color: var(--color-primary);
	font-weight: 800;
	padding: 0.8em 1em;
	vertical-align: middle;
	text-align: left;
}


table.table.bgw th{
	background-color: var(--bg-brg-400);
	color: var(--text-color);
}
table.table.bgw td{
	background-color: #fff;
}

@media (max-width: 768px){
	.table th,
	.table td {
		display: block;
		width: 100%!important;
		border-top: none;
	}
	.table th{
		text-align: center;
	}
}



/* ================================================================
FAQ
================================================================== */

.faq_wrapper li{
	background-color: var(--bg-gry-200);
	padding: 0.5em 1em;
}
.faq_wrapper li + li{
	margin-top : 2rem;
}
.faq_wrapper h3{
	padding : 1rem 3.3rem;
	position: relative;
	cursor: pointer;
	font-size:clamp(1.15rem, 0.938rem + 0.83vw, 1.563rem) ;
}

.faq_wrapper h3:before{
	content:"Q.";
	font-size: 1.2em;
	line-height: 1em;
	position: absolute;
	top: 38px;
	margin-top: -1.2rem;
	left: 10px;	
}
.faq_wrapper h3 span{
	line-height: 1.5em;
}

.faq_wrapper h3 span:before {
	content: "";
	width: 20px;
	height: 1px;
	background: #212121;
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top: -0.5px;
}
.faq_wrapper h3 span:after {
	content: "";
	width: 1px;
	height: 20px;
	background: #212121;
	position: absolute;
	top: 50%;
	right: 30px;
	margin-top: -10px;	
}
.faq_wrapper h3.open span:after {
	content:none;
}


.faq_wrapper li div{
	padding: 0.5em 3rem 0.5em 3rem;
	position: relative;
  /* max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease; */
  padding: 0 3rem;

}

.faq_wrapper li div:before{
	content:"A.";
	font-size: 1.5em;
	line-height: 1em;
	position: absolute;
	top: 26px;
	margin-top: -1.2rem;
	left: 10px;	
	opacity: 0.8;
}


@media (max-width: 768px){
	.faq_wrapper li + li{
		margin-top : 1rem;
	}
	.faq_wrapper h3{
		padding: 1rem 2rem;
	}
	.faq_wrapper h3:before{
		left: -5px;
	}
	.faq_wrapper h3 span:before {
		right: 0px;
	}
	.faq_wrapper h3 span:after {
		right: 10px;
	}
	.faq_wrapper li div{
		padding: 0 0 0 3em;
	}
}


/* ================================================================
流れ
================================================================== */

#surgical_flow .clm2{
	grid-template-columns: 1fr 2fr;
}
ul.flow li{
	background-color: #fff;
	padding: 2rem;
	border-radius: 5px;
	position: relative;
	box-sizing: border-box;
}
ul.flow div span:not(.annotation){
	margin-bottom : 0.5rem;
	display: block;
	color: var(--color-primary);
}

ul.flow li + li{
  margin-top: 20px;
}
ul.flow li + li:before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background-color: var(--border);
}

ul.flow h3{
	padding-top: 0;
}
ul.flow li .clm2 > p,
ul.flow li .clm2_14 > p{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	flex-direction: column;
}
@media (max-width: 768px){
	ul.flow li{
		padding: 1rem;
	}
}



p.risk{
	padding-bottom: 0;
	font-size : clamp(1.125rem, 1rem + 0.33vw, 1.25rem);
	font-weight: 800;

}
p.risk + p{
	margin-top: 0;
}

.drname{
	font-size: 1.3rem;
}
.drname span{
	display: block;
	font-size: 0.9rem;
}


.list_doot li{
	position: relative;
    margin: 0.8rem 0 0.8rem 2rem;
	list-style: disc;

}

.check li{
	position: relative;
    margin: 0.8rem 0 0.8rem 2rem;
}
.check li::before{
	content:"";
	position: absolute;
	background-image: url(../img/icon_check.gif);
	background-size: cover;
	background-position: center;
	width: 16px;
	height: 16px;
	top: 7px;
	left:-22px;
}

.bgw{
	background-color: #fff;
	border-radius: 5px;
}


.card_bgw{
	padding: clamp(1rem, 2.67vw, 2rem);
	background-color: #fff;
	border-radius: 5px;
}
.card_bgw + .card_bgw{
	margin-top: 1rem;
}