@charset "UTF-8";

/*==============
調整
==============*/
html {
  scroll-padding-top: 200px;
}
	
/*	title
/* ------------------------------------- */
#title {
width:100%;
margin: 40px auto;
padding: 0;
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1000px;
}
#title .main-bg-box {
flex: 1;
margin-right: calc(50% - 50vw);
margin-left: 30%;
}
#title .inner {
width: fit-content;
padding: 0 0 0 6%;
text-align: left;
position:absolute;
color: #fff;
}
#title h2 {
font-size: 18px;
font-size: 1.8rem;
line-height: 1.4;
letter-spacing: .04em;
text-align:left;
font-weight:normal;
text-transform:capitalize;/* 英語先頭大文字*/
}
#title h2 span{
display: block;
font-weight: normal;
font-size: 7px;
font-size: 0.76rem;
line-height: 1;
color: #d08d04
}
/* 共通　*/
#title .main-bg-box .t_other {
background-image: url(../img/page/t_other.jpg);
background-size:  cover;
height: 180px;
width: auto;
border-radius:50px 0 0 50px;
}

/* お問い合わせ */
#title .main-bg-box .t_contact {
background-image: url(../img/page/t_contact.jpg);
background-size:  cover;
height: 180px;
width: auto;
border-radius:50px 0 0 50px;
}

/* お知らせ */
#title .main-bg-box .t_news {
background-image: url(../img/page/t_news.jpg);
background-size:  cover;
height: 180px;
width: auto;
border-radius:50px 0 0 50px;
}



@media screen and (min-width: 1024px) {
#title .main-bg-box {
margin-left: 20%;
}
#title .main-bg-box .t_other, 
#title .main-bg-box .t_contact,
#title .main-bg-box .t_news{
height: 300px;
}
#title .inner {
padding: 0 ;
}
#title h2 {
font-size: 25px;
font-size: 2.5rem;
}
#title h2::before {
font-size: 9px;
font-size: 0.9rem;
}

}

/*	tex
/* ------------------------------------- */
.tex{
clear: both;
padding-top: 6%;
padding-bottom: 10%;
line-height:1.8;
font-size:1em;
text-align:left;
overflow: hidden
}
.tex img {
border: 0;
max-width: 100%;
height: auto;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
}
.tex a {
	text-decoration: underline;
	color: #d08d04;
	transition: 0.3s;
}

.tex a:hover {
	opacity: 0.5;
	text-decoration: underline;
}

.tex img a{
	border: 0;
}
.tex a:hover img {
  opacity: 0.6;
  transition: 0.5s;
}
.tex p {
line-height:2.1em;
}
@media screen and (min-width:1024px) {
.tex {
padding: 60px 0
}
}

/* midasi
/* ------------------------------------- */
h3.midasi {
padding: 1rem 2rem;
background-color: #38261e;
color: #fff;
font-weight: normal;
font-size: 1.3em;
margin-bottom: 2%;
clear: both;
border-radius: 100vh;
}
h4.midasi {
padding: .8em 0;
font-size: 1.2em;
line-height:	2em;
font-weight: normal;
color:#d08d04;
	}
h5.midasi {
padding: 0;
font-size: 1.1em;
line-height:	2em;
font-weight: normal;
color:#fff;
	}
	
h3.midasi:after,
h5.midasi:after{
content: "";
clear: both;
height: 0;
display: block;
visibility: hidden;
}

@media screen and (min-width:768px) {
h3.midasi{font-size: 1.4em;}
h4.midasi{font-size: 1.3em;}
h5.midasi{font-size: 1.2em;}
}


/*	hr
/* ------------------------------------- */

hr {
	border-width: 1px 0px 0px 0px; /* 太さ */
	border-style: dotted; /* 線種 */
	border-color: #38261e; /* 線色 */
	height: 1px; /* 高さ */
max-width: 100%;
clear:both;
margin: 4% 0px;
}

/*	arvhive
/* ------------------------------------- */
.i_date2{
margin: 0 10px 0 0;
color: #fff;
display: inline-block;
}
.i_category{
  min-width: 90px;
	height: 25px;
  background: #d08d04;
  color: #FFF;
  text-align: center;
  font-size: 12px;
  line-height: 25px;
	border-radius: 100vh;
	align-items: center;
	display: inline-block;
}
.i_title{
color: #fff;
font-size: 150%;
font-weight:400;
line-height: 150%;
margin: 4% 0 30px 0;
padding: 0;
}
.news_list_item a {
display: flex;
color: #fff;
text-decoration: none;
}
.news_list_item a:hover{
text-decoration: none;
}

/* ---------------------------------------------------------------------------------------------

　 ボタン　お知らせ一覧back

--------------------------------------------------------------------------------------------- */
.back_btn {
margin: 5% 0;
padding: 0
}
.back_btn ul{
	width:100%;
	margin:0 auto}
.back_btn ul:after {
  content: "";
  clear: both;
  display: block;
}
.back_btn ul li {
  list-style-type: none;
  display: block;
  float: left;
  margin-bottom: 2.87%;
  text-align: center;/* 見た目の調整 */
  width: 48%;
  margin-right: 2.88%;
}
.back_btn ul li:nth-child(2n) {
  margin-right: 0;
}

a.btn {
  font-size: 0.8em;
  line-height: 1.5;
  display: inline-block;
  padding: 1rem 0;
  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;
  width:100%;
}
a.btn:hover,
.back_btn ul li:hover {
text-decoration: none;
}

a.btn--blue{
  color: #38261e;
  border: solid 1px #38261e;
}
a.btn::after{
content: '';
  position: absolute;
top:42%;
right: 13px;
width: 5px;
height: 5px;
border-top: 2px solid #38261e;
border-right: 2px solid #38261e;
transform: rotate(45deg);
transition: all .3s;
}
a.btn:hover::after{
right: 11px;
}

@media screen and (min-width:768px) {
.back_btn ul{
	width:500px;
}
}


/* 等分
---------------------------------------------------------------------------*/
.boxA:after{
content: "";
display: block;
clear: both}
@media screen and (min-width: 768px) {
.boxA{
  display: flex;
  justify-content: space-between;
  margin: auto;
}
.box2{width: 47%;}
.boxB{width: 60%;}
.boxC{width: 35%;}
}
@media (max-width:767px){
.box2,.boxB{margin-bottom: 5%
}
}

/* ボックス*/
.box_nuri {
padding: 3em 1em;
margin: 0;
background: #38261e;/*背景色*/
border-radius: 30px;
}
.box_nuri p,
.box_waku p{
margin: 0; 
padding: 0;
}
.box_waku{
padding: 3em 1em;
margin: 0;
border: 1px solid #d08d04;
border-radius: 30px;
}
.box_waku:after,
.box_nuri:after{
content: "";
display: block;
clear: both}
@media (max-width:767px){
.box_nuri,
.box_waku{
padding: 2em 1em;
}
}

/*pagination
---------------------------------------------------------------------------*/
.pagination {
clear: both;
padding: 20px 0;
position: relative;
font-size: 12px;
line-height: 12px;
text-align: center;
margin-bottom:3%
}
.pagination-box {
display: inline-block;
}
.pagination span, .pagination a {
display: block;
float: left;
margin: 2px 2px 2px 0;
padding: 8px 10px 8px 10px;
text-decoration: none;
width: auto;
color: #fff;
background: #38261e;
}
.pagination a:hover {
color: #fff;
background: #d08d04;
}
.pagination .current {
padding: 8px 10px 8px 10px;
background: #d08d04;
color: #fff;
}
.page_box {
float: left;
width: 100%;
margin-top:20px
}

@media screen and (min-width: 768px) {
.pagination {
font-size: 14px;
line-height: 14px;
}
.pagination span, .pagination a {
padding: 10px 15px 10px 15px;
}
.pagination .current {
padding: 10px 15px 10px 15px;
}}

/* editボタン
---------------------------------------------------- */
.postmetadata{
margin: 10px 0;
width:100%;
clear:both;
}
.edit-link{
width:100%;
clear:both;
}
a.post-edit-link {
display: inline-block;
padding: .8em 1.6em;
font-size: 0.8em;
color: #fff;
text-decoration: none;
user-select: none;
background: #999;
transition: 0.2s ease;
}
a.post-edit-link:hover {
opacity: .6;
color: #fff;
}
.edit-link:after{
content: "";
clear: both;
height: 0;
display: block;
visibility: hidden;
}

/* 次へ　戻る　前へ
---------------------------------------------------- */
.kiji_link{
display: flex;
align-items: flex-end;
height: 150px;
width: 350px;
margin: 0 auto
}
.kiji_link>div{
width: calc(100% / 3);
text-align: center;
vertical-align: middle;
}
.kiji_link a{
text-decoration: none;
color: #fff;
font-size: 1em;
}
.kiji_link a:hover{
opacity: 0.6;
transition: 0.5s;
}


/* ---------------------------------------------------------------------------------------------

　 table

--------------------------------------------------------------------------------------------- */
/* 入力確認のチェックボックスを大きく */
form .wpcf7-acceptance input[type="checkbox"] {
transform: scale(2.0);
margin-right: 0.5em;
}
/* CF7チェックボックスを縦並びに */
.wpcf7-checkbox .wpcf7-list-item {
margin-top:5px;
display: block;
}
/* CF7ラジオボタンを縦並びに */
.wpcf7-radio .wpcf7-list-item {
margin-top:5px;
display: block;
}
/* 確認枠 */
.red_line {
margin: 2em 0;
padding:2em;
border: 1px solid #d08d04;
text-align: center;
font-weight:normal;
border-radius: 20px;
}
.red_line p {
margin: 0; 
padding: 0;
}

/*　申し込みフォーム
---------------------------------------------------- */
.cf7__list {
display: flex;
flex-wrap: wrap;
margin-bottom: 60px;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
margin-top: 30px;
}

.cf7__list dt {
width: 35%;
padding-top: 15px;
}

.cf7__list dd {
width: 65%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
margin-right: 15px;
padding: 6px 14px;
color: #fff;
font-size: 12px;
vertical-align: 1px;
}

.cf7__required {
background: #d08d04;
}

.cf7__optional {
background: #878D8E;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
width: 100%;
padding: 15px 20px;
background: #F4F4F4;
box-sizing: border-box;
border: 1px solid #F4F4F4;
outline: none;
font-size: 100%;
}

.cf7__list dd textarea {
font-size: 100%;
font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}

.cf7__list dd input[type="text"]:focus,
.cf7__list dd input[type="tel"]:focus,
.cf7__list dd input[type="email"]:focus,
.cf7__list dd textarea:focus {
background: #fffae1;
border: 1px solid #d08d04;
outline: 0;
}


/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
display: block;
padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
display: block;
margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
position: relative;
width: 18px;
height: 18px;
margin-right: 8px;
border: 1px solid #d08d04;
vertical-align: -3px;
cursor: pointer;
-webkit-appearance: none;
 -moz-appearance: none;
appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
border: 1px solid #d08d04;
background: #d08d04;
}

input[type="checkbox"]:checked:before {
position: absolute;
top: 2px;
left: 5px;
transform: rotate(50deg);
width: 6px;
height: 10px;
border-right: 2px solid #fff;
border-bottom: 2px solid #fff;
content: '';
}

/* ラジオボタン */
input[type="radio"] {
border-radius: 50%;
}

input[type="radio"]:checked:before {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 9px;
height: 9px;
border-radius: 50%;
background: #000;
content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
width: 40%;
margin: 0 auto;
text-align: center;
}

.cf7__button input[type="submit"] {
width: 100%;
height: 60px;
background: #d08d04;
color: #fff;
transition: opacity .6s;
outline: none;
border: none;
box-shadow: none;
border-radius: 100vh;
}

.cf7__button input[type="submit"]:hover {
opacity: .6;
background-color:#ffffff;
border: 2px solid #d08d04;
color:#d08d04;
}

/* ajax-loader */
.wpcf7-spinner {
vertical-align: middle;
}
.wpcf7-spinner {
display: none!important;
}
@media screen and (max-width: 767px) {

.cf7__list dt {
width: 100%;
margin-bottom: 15px;
padding-top: 0;
}

.cf7__list dd {
width: 100%;
}

.cf7__list dd:nth-of-type(n + 2) {
margin-top: 0;
}

.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
padding: 15px 0 0;
}

/* 送信ボタン */
.cf7__button input[type="submit"] {
width: 180px;
height: 56px;
}
}



/*　施術案内
---------------------------------------------------- */
.treatment_box {
flex-wrap: wrap;
display: flex;
justify-content: space-between;
margin: 30px 0
}
.treatment_box .box_new {
padding:0;
box-sizing: content-box;
position:relative;
margin-bottom: 20px
}
.treatment_box .box_new img{
border-radius: 30px;
}
.treatment_box_tex {
padding:10px 0;
text-decoration: none;
text-align: center;
color: #fff;
}
.treatment_box_tex h5 {
font-size: 1em;
line-height: 1.5;
clear: both;
font-weight: normal
}
.treatment_box_tex h6 {
font-size: 1.2em;
line-height: 1.8;
clear: both;
font-weight: bold;
color: #f9be00
}
.treatment_box_tex p {
font-size: .8em;
line-height: 1.5;
clear: both;
}
.treatment_box .box_new {
list-style:none;
padding:0;
}

@media screen and (min-width: 768px) {
.treatment_box .box_new {
width: 30%;
}
.treatment_box:after {
content: "";
display: block;
width: 32%;
height: 0;
}
.treatment_box_tex h5 {
font-size: 1.2em;
}
.treatment_box_tex h6 {
font-size: 1.4em;
}
.treatment_box_tex p {
font-size: 1em;
}
}
@media (max-width:767px){
.treatment_box .box_new {
width: 48%;
}
.treatment_box:after {
content: "";
display: block;
width: 48%;
height: 0;
}
.treatment_box_tex p {
text-align: left
}
}