@charset "UTF-8";

:root {
  --maincolor:#004ea1;
}

/*＝＝＝＝＝＝＝＝＝＝＝ second_title ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/* 大枠ボックス */
.layer{
  display: flex;
  justify-content: flex-start;/*center*/
  align-items: center;
  text-align: center;
  margin: 135px auto 0;
min-height:100px;
}

/* 背景画像の読み込み */

.layer-bgH{
background: linear-gradient(to left, rgba(164, 135, 54, 1), rgba(255, 206, 0, 0.5), rgba(0, 0, 0, 0.1)), url("../image/bg_second2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-size: 100%;
height:inherit;
}

/* 重ねる文字の基本設定 */
.layer-txt{
/*  font-family: 'Noto Serif JP', serif;*/
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  color: #fff;
  letter-spacing: 0.4rem;
margin-left:em;
}
/* SP向けの設定 */
@media screen and (max-width: 1024px) {
.layer{
  margin: 80px auto 0;
}
  .layer-txt{
   font-size: 1.4rem;
   padding: 2rem 0 0;
  }
}

/* PC向けの設定 */
@media screen and (min-width: 1024px) {

  .layer-txt{
    font-size: 2rem;
    padding: 7rem 0 2rem;
  }
}


/*------------------- 見出し ------------------------- */
/*https://techmania.jp/blog/css-headline-design/*/
.bg_second_title {
  font-size: 32px;
  font-weight: bold;
font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", 'Noto Serif JP', sans-serif;
  margin:0 auto 15px;
  background: linear-gradient(180deg, #06488e 0%, #0854a5 40%, #0c6cd2 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
letter-spacing:0.6em;
border-bottom:1px solid #06488e;
}
@media (max-width: 1024px) {
.bg_second_title {
  margin:15px auto 30px;
}
}

/*＝＝＝＝＝＝＝＝＝＝＝ FAQ ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
section.faq {
margin-top:50px;
}
h2.faq_title {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 2rem 1.5rem 80px;
font-size: 20px;
border-bottom:1px solid #eee;
}

h2.faq_title span {
  font-size: 2rem;
  line-height: 40px;
  position: absolute;
  top: calc(50% - 20px);
  left: 10px;
  display: block;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 50%;
  background: var(--maincolor);
box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.29);
text-align:center;

}
p.faq_title {
  position: relative;
  overflow: hidden;
  padding: 1rem 2rem 1.5rem 80px;
font-size: 20px;
}

p.faq_title span {
  font-size: 2rem;
  line-height: 40px;
  position: absolute;
  top: calc(50% - 20px);
  left: 10px;
  display: block;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 50%;
  background: red;
box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.29);
text-align:center;

}

article.faq {
margin-bottom:50px;
}
/*＝＝＝＝＝＝＝＝＝＝＝ price ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.treatment_field {
display:flex;
flex-wrap: wrap;
flex-direction:row;
justify-content:space-around;
}
.treatment_field li {
width: calc((100% - 20px) / 4);
text-align:center;
}
.price_list_waku {
max-width:700px;
margin:50px auto 0;
padding:20px;
border:solid 1px var(--maincolor);
}
.price_list {
display: flex;
align-items:center;
padding:10px 0;
}

.price_list_waku .price_list dt {
width:120px;
padding:15px;
text-align:center;
background:var(--maincolor);
color:#FFF;
}

.price_list_waku .price_list dd {
flex:1;
padding:15px;

}

/*＝＝＝＝＝＝＝＝＝＝＝ seitai ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.seitai_top_lead {
margin:20px 10px 30px;
font-size:1.1em;
line-height:1.8;
}
.seitai_p span {
font-size:2.1rem;
font-weight:bold;
color:var(--maincolor);
}
.seitai_detail {
display:flex;
flex-direction:row;
justify-content:space-around;
align-items:center;
margin:5px 5px 15px;

}
.seitai_img{
flex-shrink: 0;
max-width:200px;
padding:8px;
}
.seitai_detail:nth-child(2n+1) {
flex-direction:row-reverse;
}

/*＝＝＝＝＝＝＝＝＝＝＝ chiryo ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.chiryo_item {
    display: flex;
    align-items: flex-start; /* 上寄せ */
    margin-bottom: 20px;
    counter-increment: num; /* カウンタを増やす */
    border: 1px solid var(--maincolor);
    padding: 15px;
    border-radius: 8px;
  }
@media (max-width: 1024px) {
.chiryo_item {
flex-direction:column;
}
.item_o1 {order:1}
.item_o2 {order:2}
}

  /* 装飾された数字部分 */
  .chiryo_item::before {
    content: counter(num);
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--maincolor);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0; /* 数字が縮まないようにする */
  }

  /* テキスト部分 */
  .chiryo_text {
    flex: 1; /* 残りの幅を全部使う */
    margin:0 15px;
    line-height: 1.6;
  }

  /* 画像部分（最大480px） */
  .chiryo_item img {
    max-width: 480px; /* 最大幅480px */
    width: 100%; /* 親要素が480px以下の場合は幅に合わせる */
    height: auto; /* アスペクト比を維持 */
    flex-shrink: 0;
  }

/*＝＝＝＝＝＝＝＝＝＝＝ goannai ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

article.dl-ma {
margin:2em;
}

dl.dl-yoko {
	padding:1.2em 0 1.4em 0;
	border-bottom: 1px solid #ccc;
}


dl.dl-yoko dt {
	padding:0 0 0 0.8em;
  font-weight: bold;
}
dl.dl-yoko dd {
padding-left:0.8em;
}
@media screen and (min-width: 768px) {
dl.dl-yoko {
	padding:0.2em 0 0.4em 0;
position: relative;
  border-bottom: 1px solid #ccc;
}

dl.dl-yoko:before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 27%;
  height: 1px;
  content: '';
  background: var(--maincolor);
}

dl.dl-yoko dt {
clear: left;
float: left;
width: 30%;
}
dl.dl-yoko dd { 
display: block;
margin-left:20%;
}
}
.access_p {
margin:1.2em 1.5em 2em;
font-size:1em;
}