:root {
	--beige: #E1CAA6;
    --brown: #7E6E55;
	--ivory: #FAF8EE;
    --black: #333333;
}

.accordion {
    display: none;
  }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--black);
    max-width: 600px;
    margin: 0 auto;
    background: url(../images/bg.webp);
    background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}

main {
    overflow-x: hidden;
    box-shadow: 0 2px 6px var(--beige);
    background: white;
}

img {
    width: 100%;
}

h1 {
    font-size: 12px;
    color: white;
    background: var(--brown);
    margin: 0;
    padding: 8px 3px 6px;
    text-align: center;
}

h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--brown);
    margin: 0 0 3.4rem;
    letter-spacing: 0.1rem;
    background-image: linear-gradient(to right, var(--brown), var(--brown) 2px, transparent 2px);
    background-size: 6px 1.5px;
    background-position: left bottom;
    background-repeat: repeat-x;
    padding-bottom: 0.8rem;
}

.sub-ttl {
    font-size: 1.9rem;
    font-weight: bold;
    letter-spacing: 0.3rem;
    margin: 6rem 0 0 0;
}

/*左右余白*/
.pad {
    padding: 0 2.5rem;
}

/*センタリング*/
.center {
    text-align: center;
}

/*マーカー*/
.marker {
	background:linear-gradient(transparent 60%, var(--beige) 60%);
}

/*太字*/
.bold {
    font-weight: bold;
} 

/*折り返し調整*/
.br-auto {
	display:inline-block;
}

/*SPのみ改行*/
@media (min-width: 768px){
	.br-sp {display: none; }
}
/*PCのみ改行*/
@media (max-width: 768px){
	.br-pc {display: none; }
}

/*表示わけ*/
.sp-display {
    display: none;
}

@media screen and (max-width:560px) {
    .pc-display {
        display: none;
    }

    .sp-display {
        display: block;
    }
}

/* header */
/* header */

/* mv */
/* mv */

/* 連射式フォトフェイシャル */
.three-pillars {
    text-align: center;
    margin: 0 auto;
}

.three-pillars p {
    font-size: 1.5rem;
    color: white;
    line-height: 1.2;
    padding: 0.7rem 0 1rem;
    background: url(../images/ribbon.webp);
    background-size: contain;
    background-repeat: no-repeat;
}
/* 連射式フォトフェイシャル */

/* オファーバナー */
.offer {
    padding: 0 2.5rem;
}
/* オファーバナー */

/* 問い合わせボタン */
.contact {
    margin-top: 1rem;
}
.contact-item {
    padding: 0.1rem 0;
    transition: 0.6s;
}

.contact-item:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    transition-property: all;
    transition-duration: 0.6S;
}
/* 問い合わせボタン */

/* こんなお悩み */
.trouble-list {
    width: 100%;
    background: linear-gradient(
        90deg,
        white 0%,
        white 25%,
        var(--ivory) 25%,
        var(--ivory) 100%
        );
    margin: 3rem 0 0;
    line-height: 3;
}

.trouble-list ul {
    padding: 1.8rem 0 1.8rem 3.5rem;
    text-align: justify;
}

.trouble-list li {
	position:relative;
	padding-left:34px;
	list-style:none;
}

.trouble-list li:before {
	position: absolute;
	top: 13px;
	left: 0;
	content: "";
	background: url(../images/check.webp);
	background-size: cover;
	width: 25px;
	height: 20px;
}
/* こんなお悩み */

/* そんなあなたは */
.recommendation {}

.j-first {
    font-size: 1rem;
}

.pf-point {
    text-align: center;
    border: solid 1px var(--beige);
    width: 76%;
    margin: 0 auto;
    padding: 1.5rem 0 1.8rem;
    position: relative;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.pf-point h3 {
    background:linear-gradient(transparent 60%, var(--beige) 60%);
    display: inline-block;
    font-size: 1.4rem;
    position: absolute;
    top: -3rem;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
}

.pf-point p {
    font-size: 1rem;
    border-bottom: none;
    margin-bottom: 0;
}

p.pf-point-item {
    font-size: 1.3rem;
    border-bottom: dotted 1.5px var(--brown);
    width: 60%;
    margin: 0 auto;
    padding: 1rem 0 0.3rem;
}
/* そんなあなたは */

/* シミとサヨナラ-BA */
.case-study {
	position: relative;
}

.customer-box {
	margin-bottom: 2rem;
}

.customer-ttl {
	display: flex;
}

.customer-ttl p {
	font-size: 23px!important;
	color: black!important;
	margin: 0!important;
}

.customer-ba {
	display: flex;
    justify-content: space-between;
}

.customer-ba-img {
    width: 48%;
}

.customer-ba-img img {
    border: solid 3px var(--ivory);
    box-shadow: 0 1px 2px #e2e2e2;
}

.customer-ba-img-ttl {
	text-align: center;
}

.customer-ba-img-ttl p {
	font-size: 1.4rem!important;
	margin: 0!important;
    background:linear-gradient(transparent 60%, var(--beige) 60%);
    display: inline-block;
}

.case-study details {
    text-align: center;
}

.more, .close {
    margin: 0 auto;
    font-size: 1.2rem;
    border: solid 1px var(--brown);
    background: white;
    color: var(--black);
    width: 50%;
    margin-bottom: 2rem;
    transition: 0.6s;
}

.more p:after{
    content: "＋";
    padding-left: 1rem;
}

.close p:after{
    content: "ー";
    padding-left: 1rem;
}

.more:hover, .close:hover {
    opacity: 0.5;
}

.close a {
    text-decoration: none;
    color: var(--black);
}

/* モーダルウィンドウ */
.modal-open{
    display: inline-block;
}

.modal-open a {
    display: inline-block;
}

.modal-open a:hover {
    opacity: 0.7;
}

.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.modal:not(:target) {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.modal:target {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s, visibility 0.5s;
}

.modal .overlay {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #000;
    opacity: 0.7;
    top: 0;
    left: 0;
}

.modal-wrapper{
    width: 100%;
    max-width: 335px;
    min-width: 300px;
    height: 100%;
    max-height: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-contents{
    overflow: auto;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.modal-content{
    margin: 25px;
}

.modal-close{
    position: absolute;
    top: 5px;
    right: 10px;
    text-decoration: none;
    color: #fff;
}

#modal_offer .modal-wrapper,#modal_offer2 .modal-wrapper {
    width: 100%;
    max-width: 650px;
    min-width: 300px;
    height: 100%;
    max-height: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* モーダルウィンドウ */
/* シミとサヨナラ */

/* シミってなぜできるの */
.why p {
    line-height: 1.5;
}
/* シミってなぜできるの */

/* 効果的な理由 */
.ff-step h3 {
    background:linear-gradient(transparent 60%, var(--beige) 60%);
    display: inline-block;
    font-size: 1.4rem;
    position: absolute;
    top: -3rem;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
}

.ff-step {
    text-align: center;
    border: solid 1px var(--beige);
    width: 76%;
    margin: 0 auto;
    padding: 1.5rem 0 1rem;
    position: relative;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}
/* 効果的な理由 */

/* 従来のシミ治療 */
.conventional-item {
    width: 80%;
    text-align: center;
    margin: 0 auto;
}

.conventional-item h3 {
    background:linear-gradient(transparent 60%, var(--beige) 60%);
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 1rem 0 0;
}

.conventional-item p {
    margin-bottom: 3rem;
}

.dot-line {
    height: 6rem;
    width: 50%;
    border-right: dotted 1.5px gray;
    margin-top: -2rem;
}
/* 従来のシミ治療 */

/* 連射式フォトフェイシャル治療だと */
.photofacial {
    margin-bottom: 4rem;
}
/* 連射式フォトフェイシャル治療だと */

/* 5つのポイント */
.point{
	counter-reset:point;
    margin-top: 5rem;
}

.point h3{
	font-size: 1.4rem;
    background:linear-gradient(transparent 60%, var(--beige) 60%);
    display: inline-block;
    margin-top: 0;
}

.point h3:before {
	content:counter(point) ".";
	counter-increment: point;
	margin-right: 0.4rem;
}

.point p {
    margin-top: 0;
}

.point-item {
	padding-bottom: 3rem;
    line-height: 1.7;
    text-align: justify;
}
/* 5つのポイント */

/* 料金表 */
.plan table {
    width: 100%;
}

.plan th {
    background: var(--brown);
    color: white;
    height: 3.5rem;
}

.plan td {
    text-align: center;
    line-height: 1;
    height: 2.2rem;
}

.plan table, th, td {
    border-collapse: collapse;
    border: solid 1px #A49479!important;
}

.text-pink {
    color: #DB7676;
}

.plan-small {
    font-size:0.6rem;
}
/* 料金表 */



/* よくある質問 */
.qa details {
    background: var(--ivory);
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: justify;
}

.qa details p {
    padding: 0.5rem 1rem 0.5rem 3rem;
    margin-top: 0;
    position: relative;
}

.qa details p:before {
    position: absolute;
	top: 0.2rem;
	left: 0.8rem;
	content: "A.";
	color: gray;
    font-size: 1.2rem;
}

.qa details summary {
    padding:0.5rem 0.1rem 0.5rem 3rem;
	background: var(--brown);
    color: white;
	list-style: none;
	cursor: pointer;
	position:relative;
}

.qa details summary::before {
    position: absolute;
	top: 0.3rem;
	left: 0.8rem;
	content: "Q.";
	color: white;
    font-size: 1.2rem;
}

/*Chrome用のデフォルト三角削除*/
details summary::-webkit-details-marker {
  display: none!important;
}
summary::marker {
    color: white;
}

.qa details summary::after {
	content: "＋";
	position:absolute;
	top: 0.2rem;
	right: 1rem;
	font-size:1.2rem;
}
/*アコーディオンオープン時マイナスアイコンに変更*/
.qa details[open] summary::after {
	content: "−";
	position: absolute;
	top: -0.1rem;
	right: 1.2rem;
	font-size: 1.3rem;
}


/* よくある質問 */

/* 流れ */
.flow li {
    background: url(../images/flow-bg.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    text-align: center;
    color: var(--black);
    font-size: 1.4rem;
    list-style:none;
    vertical-align: middle;
    padding: 5rem 0 2rem;
    margin-bottom: 5.5rem;
    position: relative;
}

.flow li:last-child {
    margin-bottom: 0;;
}

.flow ul {
	counter-reset:flow;
    margin-top: 5rem;
    padding-left: 0;
}

.flow li p {
	font-size: 1.4rem;
    display: block;
    margin-top: 0;
    position: relative;
}

.flow li p:before {
	content:counter(flow, decimal-leading-zero);
	counter-increment: flow;
	margin-right: 0.4rem;
    position: absolute;
    left: 1rem;
    top: -5rem;
    color: var(--brown);
    font-size: 2rem;
    font-weight: bold;
}

.flow li p:after {
    position: absolute;
    content: "";
    background-size: cover;
    background-image: url(../images/triangle.png);
    width: 3rem;
    height: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    bottom: -7rem;
}

.flow li:last-child p::after {
    display: none;
}

.flow li img {
    width: 12%;
    position: absolute;
    top: 3rem;
    left: 50%;
transform: translateX(-50%);
}
/* 流れ */

/* アクセス・院情報 */
.hospital-profile {
    margin-bottom: 4rem;
}

.hospital-profile table {
    width: 100%;
}

.hospital-profile td, th {
    border: none!important;
    border-bottom: 1px solid var(--beige)!important;
}

.hospital-profile table {
    border-collapse: collapse;
}

.hospital-profile tr:last-of-type th {
    border-bottom: none!important;
}

.hospital-profile tr:last-of-type td {
    border-bottom: none!important;
}

.hospital-profile th {
    text-align:left;
    width: 20%;
    font-weight: 400;
    color: var(--brown);
}

.hospital-profile th, td {
    padding: 1rem;
}

/* アクセス・院情報 */



/* フッター */
.footer-copy {
    background-color: gray;
    text-align: center;
    padding: 2rem 0;
}

.footer-copy p {
    color: white;
    font-size: 0.7rem;
}

/*フッターボタン*/
.footer-btn{
	display:  block;
	position: fixed;
    padding: 1px 0;
	bottom: 6px;
	right: 10px;
	width: 400px;
	z-index: 1000;
}

.footer-btn-item {
    transition-duration: 0.6S;
    padding: 0 1px;
}

.footer-btn-item:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.04);
    transition-property: all;
}
/*フッターボタン*/

/* SP */
@media screen and (max-width: 787px) {

    /*左右余白*/
    .pad {
        padding: 0 5%;
    }

    h2 {
        font-size: 5vw;
        margin: 0 0 2.4rem;
    }

    .sub-ttl {
        font-size: 5.8vw!important;
        margin: 4rem 0 0 0;
    }

    /* 連射式フォトフェイシャル */
    .three-pillars p {
        font-size: 4.5vw;
        line-height: 1.2;
        padding: 0.3rem 0 1rem;
        background-size: 100%;
    }
    /* 連射式フォトフェイシャル */

    /* こんなお悩み */
    .trouble-list {
        margin: 0;
        line-height: 2;
    }

    .trouble-list ul {
        padding: 1.8rem 1.5rem;
    }

    .trouble-list li:before {
        top: 8px;
        width: 20px;
        height: 16px;
    }
    /* こんなお悩み */

    /* そんなあなたは */
    .j-first {
        font-size: 4.5vw;
    }

    .pf-point {
        width: 90%;
        padding: 1rem 1rem 1.3rem;
        margin-bottom: 0;
    }

    .pf-point h3 {
        font-size: 5vw;
        top: -2.7rem;
        width: 90%;
    }

    .pf-point p {
        font-size: 3.5vw;
    }

    p.pf-point-item {
        font-size: 5vw;
    }
    /* そんなあなたは */

    /* シミとサヨナラ-BA */
    .more, .close {
        width: 70%;
    }

    .more p, .close p {
        font-size: 4vw;
    }
    /* シミとサヨナラ-BA */

    /* シミってなぜできるの */
    .why p {
        font-size: 4vw;
        text-align: left;
    }
    /* シミってなぜできるの */

    /* 効果的な理由 */
    .ff-step h3 {
        font-size: 5vw;
        position: absolute;
        top: -2.7rem;
        width: 90%;
    }

    .ff-step {
        width: 90%;
        padding: 1rem 1rem 1.3rem;
        margin-top: 2.5rem;
        margin-bottom: 0;
    }
    /* 効果的な理由 */
    
    /* 従来のシミ治療 */
    .conventional-item {
        width: 100%;
    }

    .conventional-item h3 {
        background:linear-gradient(transparent 60%, var(--beige) 60%);
        display: inline-block;
        font-size: 1.4rem;
        font-weight: 400;
        margin: 1rem 0 0;
    }

    .conventional-item p {
        margin-bottom: 3rem;
    }

    .dot-line {
        height: 6rem;
        width: 50%;
        border-right: dotted 1.5px gray;
        margin-top: -2rem;
    }
    /* 従来のシミ治療 */

    /* 5つのポイント */
    .point{
        margin-top: 4rem;
    }

    .point h3{
        font-size: 5vw;
        display: inline;
    }

    .point-item:last-child {
        padding-bottom: 0;
    }
    /* 5つのポイント */

    /* 料金表 */
    /* 料金表 */

    /*よくある質問*/
    .qa details summary {
        padding:0.5rem 3rem;
    }
    /*よくある質問*/

    /* 流れ */
    .flow li {
        padding: 3rem 0 1rem;
        margin-bottom: 4.5rem;
    }

    .flow ul {
        margin-top: 3rem;
    }

    .flow li p {
        font-size: 4.8vw;
    }

    .flow li p:before {
        left: 0.5rem;
        top: -3.5rem;
        font-size: 7vw;
    }

    .flow li p:after {
        bottom: -5.5rem;
    }

    .flow li img {
        width: 16%;
        top: 1.3rem;
    }
    /* 流れ */


    /* アクセス・院情報 */
    .hospital-profile {
        margin-bottom: 3rem;
    }

    .hospital-profile th {
        width: 25%;
    }

    .hospital-profile th, .hospital-profile td {
        font-size: 3.4vw;
        padding: 1rem 0.6rem;
    }
    /* アクセス・院情報 */

    /*フッターコピー*/
    .footer-copy {
        padding: 1rem 0 4rem;
    }
    /*フッターコピー*/

    /*フッターボタン*/
    .footer-btn{
        display:  flex;
        background: gray;
        bottom: 0%;
        right: 0%;
        width: 100%;
        z-index: 100;
    }

    .footer-btn-item:hover {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    /*フッターボタン*/
}