/*============================================================
　リセット
============================================================*/
html, body, header, footer, nav, menu, section, article, aside, figcaption, figure, img, div, span, iframe, form, label, h1, h2, h3, h4, h5, p, blockquote, pre, del, em, strong, mark, dl, dt, dd, ol, ul, li, table, tbody, thead, tfoot, tr, th, td, caption {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    font-size: inherit;
    font-weight: inherit;
    vertical-align: baseline;
}
  
input, button, select, textarea {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
}
  
*,
*::before,
*::after {
    box-sizing: border-box;
}
  
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}
  
a,
button,
[type=button],
[type=reset],
[type=submit] {
    cursor: pointer;
    text-decoration: none;
}
  
em {font-style: normal;}
  
button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
    cursor: default;
    pointer-events: none;
}
  
ol, ol li,
ul, ul li {
    list-style: none;
}
  
table {
    border-collapse: collapse;
    border-spacing: 0;
}
  
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*============================================================
　共通
============================================================*/
html {
    width: 100%;
    height: 100%;
    font-size: 62.5%;
}

body {
    font-size: clamp(1.4rem, 1.9vw, 1.6rem);
    font-family: 'Montserrat', 'Roboto', '游ゴシック体', 'YuGothic', 'Yu Gothic', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1.7;
    color: #222222;
    width: 100%;
    height: 100%;
}

#container {
    position: relative;
    overflow-x: hidden;
    min-height: 100% !important;
}

#contents {
    padding-top: 100px;
    padding-bottom: 200px;
}

section {padding: 100px 30px;}

a {
    cursor: pointer;
    color: inherit;
    background-color: transparent;
    text-decoration: none;
    transition: 0.3s;
}  

h2, h3 {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    font-weight: 400;
}

h2 {
    margin: 0 0 5px;
    font-size: clamp(2.4rem, 2.8vw, 2.8rem);
    text-align: center;
}

h2 + span {
    display: block;
    margin: 0 0 40px;
    color: #999;
    font-size: 1.5rem;
    font-style: italic;
    font-family: 'Times New Roman', 'Times', 'Baskerville', 'Georgia', 'serif';
    text-align: center;
}

h2 + span + p {
    margin: 0 auto 60px;
    text-align: center;
} 

.link {
    color: #22a9cd;
    text-decoration: underline;
}

.link:hover {opacity: 0.7;}

.pc {display: block;}
.sp {display: none;}

/*ボタン*/
.btn {
	display: block;
    margin: 0 auto;
    width: 300px;
    height: 60px;
    line-height: 58px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.btn-white {
	color: #0a5293;
    background-color: #fff;
    border: solid 2px #0a5293;
}

.btn-blue {
	color: #fff;
    background-color: #0a5293;
    border: solid 2px #0a5293;
}

.btn-white:after, .btn-blue:after, .btn-white:hover:after, .btn-blue:hover:after {
	content: '';
    display: block;
    margin-top: -4px;
    position: absolute;
    top: 50%;
    right: 30px;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
}

.btn-white:after, .btn-blue:hover:after {
    border-top: 2px solid #0a5293;
    border-right: 2px solid #0a5293;
}

.btn-blue:after, .btn-white:hover:after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.btn-white:hover {
	color: #fff;
    background-color: #0a5293;
}

.btn-blue:hover {
	color: #0a5293;
    background-color: #fff;
}

/*============================================================
　ヘッダー
============================================================*/
header {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	height: 100px;
    font-size: 1.4rem;
    background: #fff;
    border-bottom: solid 1px #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header .logo img {
    height: 13px;
	position: absolute;
    top: 50%;
    left: 25px;
    transform: translateY(-50%);
}

/* PC用メニュー */
@media screen and (min-width:950px) {
    header nav ul {
        display: flex;
        position: absolute;
        top: 40%;
        right: 160px;
    }

    header nav li + li {margin-left: 25px;}

    header nav li a {
        display: inline-block;
        position: relative;
    }

    header nav li a:after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 1px;
        background: #333;
        transform: scale(0, 1);
        transform-origin: center top;
        transition: transform .3s;
    }

    header nav li a:hover:after {transform: scale(1, 1);}

    .btn-form {
        width: 140px;
        height: 100%;
        padding: 45px 0 0;
        color: #fff;
        font-weight: bold;
        -webkit-font-smoothing: antialiased;
        text-align: center;
        position: absolute;
        right: 0;
        background-color: #0a5293;
        background-image: url(../img/icon_mail.svg);
        background-size: 28px;
        background-repeat: no-repeat;
        background-position: 50% 32%;
    }

    .btn-form span {
        display: inline-block;
        margin: 12px 0 0;
    }
    .btn-form:hover {background-color: #0c6ab8;}
}

/* ハンバーガーメニュー */
@media screen and (max-width:950px) {
    #btn-Menu {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        width: 50px;
        height: 100%;
    }

    #btn-Menu span, #btn-Menu span::before, #btn-Menu span::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 25px;
        height: 1px;
        background: #222;
        transition: transform .4s;
    }

    #btn-Menu span {transform: translate(50%, 0);}
    #btn-Menu span::before {transform: translateY(-8px);}
    #btn-Menu span::after {transform: translateY(8px);}

    .slide #btn-Menu span {background: none;}
    .slide #btn-Menu span::before {transform: rotate(45deg);}
    .slide #btn-Menu span::after {transform: rotate(-45deg);}

    /* スライドメニュー表示 */
    .slide nav ul {
        opacity: 1;
        pointer-events: auto;
        transition: opacity .5s;
    }

    header nav ul {
        position: fixed;
        top: 100px;
        right: 0;
        width: 100%;
        height: 100%;
        padding: 20px 0px;
        overflow: auto;
        background: #222;
        z-index: 2000;
        opacity: 0;
        pointer-events: none;
    }

    header nav ul li:last-of-type {display: block;}

    header nav li a {
        display: block;
        height: 60px;
        line-height: 60px;
        padding: 0 25px;
        color: #fff;
        border-bottom: solid 1px #666;
        position: relative;
    }

    header nav li a::after {
        content: '»';
        position: absolute;
        top: 50%;
        right: 25px;
        transform: translateY(-50%);
    }

    .btn-form {display: none;}
}

/*============================================================
　top画像
============================================================*/
.topimg {
    position: relative;
	color: #fff;
    text-align: center;
    opacity: 0;
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.topimg img {
    width: 100%;
    height: auto;    
}

.topimg dl {
    width: 950px;
	position: absolute;
    top: 68%;
    left: 50%;
	transform: translate(-50%, -50%);
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', 'serif';
	font-weight: 400;
    line-height: 1.6;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.topimg dt {
	font-size: clamp(2.4rem, 3.2vw, 4rem);
	margin-bottom: 25px;
}

.topimg dd {font-size: clamp(1.4rem, 1.7vw, 2.1rem);}

/*============================================================
　コンテンツ
============================================================*/

/* ドクターズインタビューについて */
#about {
    max-width: 1200px;
    margin: 0 auto;
}

#about .mock-img {
    width: 350px;
    margin: 0 auto 60px;
}

#about h3 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 0 20px;
    font-size: clamp(1.7rem, 2vw, 2rem);
    display: flex;
    align-items: center;
}

#about h3:before, #about h3:after {
    content: '';
    flex-grow: 1;
    border-top: 1px solid #999;
}

#about h3:before {margin-right:20px;}
#about h3:after {margin-left:20px;}

#about h3 span {
    color: #22a9cd;
    font-size: 6rem;
    font-family: 'Times New Roman', 'Times', 'Baskerville', 'Georgia', 'serif';
    font-style: italic;
    padding: 0 5px;
}

#about .point-img {
    max-width: 800px;
    margin: 0 auto;
}

#about ul.format {
    max-width: 800px;
    margin: 0 auto;
	display: flex;
	justify-content: space-between;
}

#about ul.format li {
    width: 47%;
    font-size: clamp(1.4rem, 1.7vw, 1.5rem);
    text-align: justify;
}

#about ul.format li img {border: solid 1px #3f3f3f;}

#about ul.format li h4 {
	color: #fff;
	font-size: clamp(1.4rem, 1.8vw, 1.6rem);
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    text-align: center;
	margin: 35px 0 25px;
    padding: 8px 0;
	border-radius: 50px;
}

#about ul.format li:first-of-type h4 {background-color: #0a5293;}
#about ul.format li:last-of-type h4 {background-color: #36a85d;}

#about ul.format li a {
    display: inline-block;
    margin: 10px 0 0;
}

/* 掲載効果 */
#merit {background-color: #f2f9fc;}

#merit ul {
    max-width: 700px;
    margin: 0 auto;
}

#merit ul li {
    margin: 30px 0;
    padding: 40px 40px 30px;
    display: flex;
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#merit ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-bottom: 4em solid transparent;
    border-top-left-radius: 10px;
}

#merit ul li:first-of-type::before {border-left: 4em solid #0a5293;}
#merit ul li:last-of-type::before {border-left: 4em solid #36a85d;}

#merit ul li::after {
    position: absolute;
    top: 9px;
    left: 2px;
    transform: rotate(-45deg);
    display: block;
    color: #fff;
    font-size: 1.3rem;
}

#merit ul li:first-of-type::after {content: 'case1';}
#merit ul li:last-of-type::after {content: 'case2';}

#merit ul li h4 {
    font-size: 1.5rem;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    margin: 0 0 30px;
}

#merit ul li:first-of-type h4 {color: #0a5293;}
#merit ul li:last-of-type h4 {color: #36a85d;}

#merit ul li p {font-size: 1.4rem;}

#merit ul li img {
    width: 25%;
    min-width: 150px;
    margin: 0 0 0 30px;
}

/* ご提供内容 */
#service ul {
    max-width: 1000px;
    margin: 0 auto;
}

#service ul li{
	display: flex;
    justify-content: space-between;
}

#service ul li + li {margin-top: 60px;}

#service ul li:nth-of-type(odd) {flex-direction: row-reverse;}

#service .service-img {
	width: 48%;
    position: relative;
}

#service .service-img img {border-radius: 10px;}

#service .service-textbox {
    width: 48%;
    text-align: justify;
}

#service .service-textbox h3 {
    font-size: clamp(1.7rem, 2vw, 2rem);
    line-height: 1;
    margin: 4% 0;
    padding: 0 0 10px 0;
    border-bottom: solid 1px #dcdcdc;
}

#service .service-textbox h3 span {
    font-size: 2.6rem;
    font-family: 'Times New Roman', 'Times', 'Baskerville', 'Georgia', 'serif';
    font-style: italic;
    font-weight: bold;
    color: #0a5293;
    margin: 0 3% 0 0;
}

#service .service-img span {
    width: 90px;
    height: 90px;
    padding-top: 22px;
    color: #0a5293;
    border: dotted 2px;
    background-color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: center;
	position: absolute;
    top: -20px;
    left: -20px;
    border-radius: 50%;
}

/* 掲載の流れ */
#flow {background-color: #f3f2ee;}

#flow ul {
    max-width: 1100px;
    margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#flow ul li {
	width: 240px;
    font-size: 1.3rem;
	line-height: 1.5;
	text-align: center;
    margin: 0 30px 30px 0;
	padding: 0 20px 20px 20px;
    background-color: #fff;
	border-radius: 10px;
    position: relative;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

#flow ul li img {
	width: 50px;
	margin: 20px auto 10px;
}

#flow ul li h4 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
}

#flow ul li:before {
    content: '';
    position: absolute;
    top: 50%; 
    left: -20px;
    transform: translateY(-50%);
    border: 12px solid transparent;
    border-left-color: #d8d7d2;
}

#flow ul li:first-child:before {content: none;}

/*============================================================
　フッター
============================================================*/
footer {
    width: 100%;
    padding: 30px 0 10px;
    color: #ccc;
    font-size: 1.2rem;
    background-color: #3f3f3f;
    position: absolute;
    bottom: 0;
    height: 200px;
}

footer a:hover {
	color: #fff;
    transition: all .3s;
}

footer ul {
	display: flex;
	justify-content: center;
}

footer ul li + li {margin-left: 25px;}

footer ul.footer-top {
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 0 10px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

footer .footer-bottom {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

footer p {
    font-size: 1rem;
    text-align: center;
}

/* ページトップボタン */
#pagetop {
    position: fixed;
    bottom: 0px;
    right: 3%;
    width: 60px;
    height: 45px;
    font-size: 1.1rem;
    color: #fff;
    background: #404040;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-radius: 2px 2px 0 0;
    cursor: pointer;
    text-align: center;
    padding: 20px 0px 0;
    border-radius: 5px 5px 0 0;
    opacity: 0.6;
    z-index: 100;
    transition: 0.3s;
}

#pagetop::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    display: block;
    width: 7px;
    height: 7px;
    margin: -2px 0 0 -4px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#pagetop:hover {height: 50px;}

/*============================================================
　お問い合わせ
============================================================*/

#contact table {margin: 0 auto 40px;}

#contact table th {
    width:170px;
	text-align:left;
	font-size: 14px;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
}

#contact table th span {
    display:inline-block;
	width:30px;
	height:15px;
	line-height:16px;
	margin-left:10px;
	color:#fff;
    background-color: #f94e4e;
	font-size:1.1rem;
	text-align:center;
    border-radius: 1px;
}

#contact table td {padding:20px 0;}

#contact table td .wpcf7-not-valid-tip {
    color: #f94e4e;
    font-size: 1.4rem;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    margin: 10px 0 0;
}

#contact input[type=text],
#contact input[type=tel],
#contact input[type=email] {
    width: 100%;
    max-width: 500px;
	height:50px;
	padding:0 20px;
	border:1px solid;
	border-radius:1px;
	font-size: 16px;
}

#contact input[type=text]:focus,
#contact input[type=tel]:focus,
#contact input[type=email]:focus,
#contact textarea:focus {
	background: #f2f9fc;
}

#contact textarea {
	width:100%;
    max-width: 500px;
	height:160px;
    resize: vertical;
	padding:10px 20px;
	border:1px solid;
	border-radius:1px;
	font-size: 16px;
}

#contact input::placeholder,
#contact textarea::placeholder {
    color:#999;
}

#contact .wpcf7-response-output {
    max-width: 550px;
    margin: 50px auto 0;
    color: #f94e4e;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    border: solid 1px;
    text-align: center;
}

 #contact .recaptcha {
    margin: 50px 0 0;
    font-size: 1.1rem;
    text-align: center;
 }

 #contact .recaptcha a {text-decoration: underline;}