/*============================================================
　リセット
============================================================*/
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: 1.4rem;
    font-family: 'Montserrat', 'Roboto', 'Hiragino Kaku Gothic ProN', 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: 50px;
    padding-bottom: 480px;
}

section {padding: 60px 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: 600;
}

h2 {
    margin: 0 0 5px;
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
}

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

h2 + span + p {
    margin: 0 auto 40px;
    max-width: 400px;
    text-align: justify;
} 

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

.link:hover {opacity: 0.7;}

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

/*ボタン*/
.btn {
	display: block;
    margin: 0 auto;
    width: 90%;
    max-width: 300px;
    height: 50px;
    line-height: 48px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    position: relative;
}

.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 {
	content: '';
    display: block;
    margin-top: -4px;
    position: absolute;
    top: 50%;
    right: 30px;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
}

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

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

/*============================================================
　ヘッダー
============================================================*/
header {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	height: 50px;
    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: 9px;
	position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

/* メニュー */
#btn-Menu {
    position: absolute;
    top: 50%;
    right: 50px;
    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: 50px;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 20px 0px;
    overflow: auto;
    background: #222;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
}

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 {
    width: 50px;
    height: 100%;
    color: #fff;
    font-size: 0;
    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% 50%;
}

/*============================================================
　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: 95%;
	position: absolute;
    top: 45%;
    left: 50%;
	transform: translate(-50%, -50%);
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', 'serif';
	font-weight: 600;
    line-height: 1.5;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.topimg dt {
	font-size: 2.1rem;
	margin-bottom: 25px;
}

.topimg dd {font-size: 1.5rem;}

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

/* ドクターズインタビューについて */
#about .mock-img {
    width: 80%;
    max-width: 350px;
    margin: 0 auto 40px;
}

#about h3 {
    padding: 80px 0 30px;
    font-size: 1.7rem;
    text-align: center;
    line-height: 1.5;
}

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

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

#about .point-img:last-of-type {
    margin-bottom: 0;
}

#about ul.format li {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    text-align: justify;
}

#about ul.format li + li {margin-top: 50px;}

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

#about ul.format li h4 {
	color: #fff;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    text-align: center;
	margin: 25px 0 20px;
    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 li {
    max-width: 350px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#merit ul li + li {margin-top: 30px;}

#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 {
    margin: 0 0 20px;
    font-size: 1.5rem;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}

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

#merit ul li img {
    width: 60%;
    margin: 30px auto 0;
}

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

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

#service .service-img {position: relative;}

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

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

#service .service-textbox h3 {
    font-size: 1.7rem;
    line-height: 1;
    margin: 20px 0;
    padding: 0 0 5px 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 10px 0 0;
}

#service .service-img span {
    width: 80px;
    height: 80px;
    padding-top: 18px;
    color: #0a5293;
    border: dotted 2px;
    background-color: #fff;
    font-size: 1.3rem;
    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 li {
	width: 240px;
    margin: 0 auto;
    font-size: 1.3rem;
	line-height: 1.5;
	text-align: center;
	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:first-of-type::before {
    content: 'start';
    font-family: 'Times New Roman', 'Times', 'Baskerville', 'Georgia', 'serif';
    font-style: italic;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
}

#flow ul li + li {margin-top: 30px;}

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

#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: -20px;
    left: calc(50% - 12px);
    border: 12px solid transparent;
    border-top-color: #e5e5e4;
}

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

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

footer ul li + li {margin-top: 20px;}

footer ul.footer-top {
    margin: 0 auto 30px;
    padding: 0 0 30px 0;
    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: 10px;
    width: 40px;
    height: 40px;
    font-size: 0;
    color: #fff;
    text-align: center;
    background: #404040;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-radius: 2px 2px 0 0;
    padding: 20px 0px 0;
    border-radius: 5px 5px 0 0;
    opacity: 0.6;
    z-index: 100;
}

#pagetop::before {
    content: '';
    position: absolute;
    top: 50%;
    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);
}

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

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

#contact table th {
    display: block;
	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 {
    display: block;
    padding: 5px 0 30px;
}

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

#contact input[type=text],
#contact input[type=tel],
#contact input[type=email] {
    width: 100%;
	height:50px;
	padding:0 10px;
	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%;
	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: 390px;
    margin: 50px auto 0;
    color: #f94e4e;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    border: solid 1px;
}

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

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