@charset 'utf-8';

/* リセット */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

button {
    color: #000;
}

li {
    list-style-type: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    color: #494949;
}
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

:root {
    --main_color: #964e22;
    --back_color: #f5ded0;
    --sub_color:  #f5ded0;
}

html { font-size: 62.5%;
    color: #494949;
}
body {
    background-color: #fff;
    position: relative;
    font-family: Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    line-height: 1.4;
    font-size: 1.4rem;
}
*, *:before, *:after {
    box-sizing: border-box;
}
img {
    width: 100%;
    display: block;
}
.inner {
    width: 940px;
    margin: auto;
}
img.illustrations {
    width: 80%;
    margin: 10px auto;
}
/* header
------------------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #efefef;
    z-index: 9999;
}
header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header a{
    display: block;
    width: 100%;
    height: 50px;
}

header img{
    width: auto;
    height: 100%;
}
/*検索フォーム*/
.search_container {
    position: relative;
    box-sizing: border-box;
    border: 2px solid var(--main_color);
    display: block;
    padding: 3px 10px;
    border-radius: 3px;
    height: 30px;
    width: 265px;
    overflow: hidden;
    background-color: #fefefe;
}

.search_container input[type="text"] {
    border: none;
    height: 20px;
}

.search_container input[type="text"]:focus {
    outline: 0;
}

.search_container input[type="submit"] {
    cursor: pointer;
    border: none;
    background: var(--main_color);
    color: #fff;
    position: absolute;
    width: 35px;
    height: 26px;
    right: 0px;
    top: 0px;
    outline: none;
}

/* main
------------------------------*/
main {
    margin-top: 60px;
}
section {
    margin-bottom: 20px;
}
h1 {
    border-bottom: solid 5px var(--main_color);
    font-size: 2.2rem;
    padding: 5px 10px;
    margin-bottom: 20px;
}
h2{
    padding: 10px;
    width: 940px;
    margin: auto;
    font-size: 2rem;
    margin-bottom: 20px;
    border-left: double 5px var(--main_color);
    background-color: var(--back_color);
}
h3{
    padding: 5px;
    background-color: var(--back_color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}
h4{
    font-size: 1.6rem;
}
p{
    padding: 10px;
    font-size: 1.4rem;
    line-height: 1.6;
}
a{
    font-size: 1.4rem;
}
b.topic {
    font-weight: bold;
    background-color: var(--back_color);
    padding: 3px 5px 3px 2px;
    margin-bottom: 5px;
}
/* 目次
------------------------------*/
.toc {
    margin-bottom: 30px;
}
nav{ 
    display: none;
    width: 50%;
    margin: auto;
    border: solid 2px var(--main_color);
    border-top: none;
    background: var(--back_color); 
    padding: 0 15px 15px 15px;
}
nav li{
    margin-bottom: 15px;
    text-indent: -16px;
    padding-left: 16px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.8;
}
nav li::before {
    content: "・";
    font-size: 1.6rem;
}
nav li:last-child{
    margin-bottom: 0;
}
nav a{
    font-size: 1.6rem;
    font-weight: bold;
}
nav a:hover{
    text-decoration: underline;
    opacity: 0.9;
}
.nav-open{
    font-weight: bold;
    padding: 10px 15px;
    color: #494949;
    font-size: 20px;
    position: relative;
    width: 50%;
    margin: auto;
    text-align: center;
    border: solid 2px var(--main_color);
    background: var(--back_color); 
}
.nav-open:hover{
    cursor: pointer;
    opacity: 0.8;
}

.nav-open::before{
    content: "[開く]";
    font-size: 14px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.nav-open.active::before{
    content: "[閉じる]";
    font-size: 14px;
}
.nav-open.active{
    border-bottom: none;
}
/* 比較リスト
------------------------------*/
.table-list {
    width: 100%;
    height: auto;
    display: block;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}

.table-list table {
    table-layout: fixed;
    width: 100%;
}

.table-list th,
.table-list td {
    border: 1px solid #ccc;
    vertical-align: middle;
}

.table-list th {
    background-color: var(--back_color);
    padding: 10px 10px;
    width: 120px;
    min-width: 120px;
    word-wrap: break-word;
    height: auto;
    font-size: 12px;
    white-space: normal;
}

.table-list td {
    width: 220px;
    min-width: 220px;
    height: auto;
    text-align: center;
    padding: 10px 10px;
    font-size: 14px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.5;
    background-color: #fefefe;
}

.table-list td a {
    display: block;
}

.span-image {
    display: block;
    margin-top: 10px;
}

.span-image img {
    width: 50%;
}

.span-p-image {
    display: block;
}

.span-p-image img {
    width: 80%;
    margin: 0 auto 8px auto;
}

.top-td {
    font-weight: bold;
}

.table-btn {
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background-color: #888;
    letter-spacing: 1.5px;
    font-weight: bold;
    color: #fefefe;
    transition: .3s ease;
    text-decoration: none;
    font-size: 1.2rem;
    width: 80%;
}

.table-btn p{
    font-size: 1.2rem;
    padding: 5px 10px;
}

.hsp_table tr th.saturday {
    color: #0277bd;
}
.hsp_table tr th.sunday {
    color: #d86d7e;
}
.hsp_table tr th.holiday {
    color: #d86d7e;
}
.hsp_table tr td.saturday span {
    color: #0277bd;
}
.hsp_table tr td.holiday span,
.hsp_table tr td.sunday span {
    color: #d86d7e;
}

table.hsp_table tr th:first-child{
    width: 20%;
}
table.hsp_table tr th{
    width: calc(80% / 8);
}
table.hsp_table tr td{
    width: auto;
    text-align: center;
}

/* 本文
------------------------------*/
.merit {
    margin: 20px auto 0 auto;
    position: relative;
    width: calc(100% - 20px);
    border: 3px solid var(--main_color);
    border-radius: 5px;
    background-color: #fefefe;
    padding: 15px 15px 10px 15px;
}
.merit p.merit-t {
    font-size: 1.6rem;
    padding: 0 10px 2px 0;
    display: flex;
    align-items: flex-start;
    font-weight: bold;
    position: absolute;
    left: -10px;
    top:-15px;
    background-color: #fefefe;
}
.merit p.merit-t::before {
    display: block;
    content: "";
    height: 20px;
    width: 20px;
    background-image: url(images/point.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 1px;
}
.merit ul {
    padding: 0 5px;
}
.merit li {
    text-indent: -14px;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.6;
}
.merit li::before {
    content: "・";
    font-size: 14px;
}
.merit p{
    padding:0;
}


/* 病院紹介
------------------------------*/
.contents {
    border: 1px solid #ccc;
    box-shadow: 0 0 1px #888;
    margin-bottom: 10px;
    padding-bottom: 10px
}
.contents:last-child {
    margin-bottom: 0;
}
.contents h3{
 font-size: 1.8rem;
    padding: 10px 20px;
    margin-bottom: 10px
}
.container h3{
    margin: 10px auto;
}
.container h4{
    font-size: 1.6rem;
    padding: 5px 10px;
    border-bottom: double 5px var(--main_color);
    margin: 10px auto;
}
.contents h4:first-child {
    margin-top: 0;
}
.contents h5{
    font-size: 1.6rem;
    position: relative;
    padding: 5px 10px;
    background-color: var(--back_color);

}
.contents h6 {
    font-size: 1.4rem;
    border-left: 3px solid var(--main_color);
    padding: 10px;
    margin-left: 10px;
}
.contents p {
    
}
.contents .route {
    margin: 5px 0 10px 0;
}
.contents .route p{
    font-size: 1.3rem;
    padding: 3px 0;
    display: flex;
    align-items: center;
    margin-left: 0;
}
.contents .route p a.map{
    font-size: 1.3rem;
    color: var(--main_color);
    text-decoration: underline;
    margin-left: 2px;
    font-weight: 600;
}
.contents .route p::before{
    content: "";
    background-image: url(images/traffic.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.contents .route p:last-child::before{
    background-image: url(images/access.png);
}

a.add {
    color: var(--main_color); 
    margin-left: 5px;
}
.contents .hp_item{
    padding: 20px;
}
.contents p.feat {
    font-size: 1.6rem;
    font-weight: bold;
}
.contents table{
    width: calc(100% - 20px);
    border-collapse: collapse;
    margin: 10px auto;
    margin-top: 10px;
    height: 70%;
}
.contents table caption{
    text-align: left;
}
.t_title {
    text-align: left;
    font-weight: bold;
}
.contents table th,
.contents table td{
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 1.4rem;
    vertical-align: middle;
}

.contents table th{
    background-color: var(--back_color);
    font-weight: bold;
    width: 20%;
    text-align: center;
    vertical-align: middle;
}
.contents table td{
    width: 80%;
}
.contents table a.map{
    color: var(--main_color);
    font-weight: bold;
    text-decoration: underline;
}
.contents table th.sun{
    color: var(--sub_color);
}
.contents .review{
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    margin-top: 10px;
    padding: 10px 5px;
}
.contents .review .r_cont{
    padding: 10px;
    border: 1px solid #ccc;
    margin: 0 auto 10px auto;
}
.contents .review .r_cont:last-child{
    margin-bottom: 0;
}
.contents .review .eva {
    display: flex;
    align-items: flex-start;
    border-bottom: 2px solid #ccc;
    padding: 0 10px 2px 10px;
}
.contents .review .eva img {
    width: auto;
    height: 18px;
}
.contents .review .eva a{
    display: block;
    font-weight: bold;
    color: #488fc7;
    height: 100%;
    margin: auto 0 auto auto;
}
.contents .review .eva p{
    padding: 5px;
}
.contents .review .eva p.score{
    padding: 0;
    font-weight: bold;
    color: #FFA31B;
    font-size: 1.6rem;
    margin-right: 5px;
}
.contents .contact a{
    display: block;
    background: linear-gradient(to bottom, #ffb566, #ff9626);
    border: 2px solid #ccc;
    margin: 10px auto 0 auto;
    color: #fefefe;
    padding: 10px;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    width: 75%;
}
.hosp_info {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}
.hosp_info img{
    width: 250px;
    height: 250px;
    margin: 0;
}

.hosp_info .product-right{
    width: calc(100% - 275px);
}
.product-right iframe {
    width: 100%;
    height: 220px;
}

.cover-btn {
    margin: 10px 0 0 0;
    text-align: center;
}

.purchase-btn {
    padding: 0px 60px;
    font-size: 18px;
    border-radius: 45px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border: var(--main_color) solid 3px;
    background-color: var(--main_color);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease 0s;
    color: #fefefe;
}

.purchase-btn:hover {
    transform: scale(1.2, 1.2);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    background-color: #fefefe;
    border: var(--main_color) solid 3px;
    color: #0a0a0a;
}

.purchase-btn:active {
    transform: translateY(-1px)
}

.detail-btn {
    padding: 0px 40px;
    font-size: 16px;
    background-color: var(--back_color);
    border: var(--sub_color) solid 3px;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.detail-btn:hover {
    background-color: #eee;
    color: var(--back_color);
    border: var(--back_color) solid 3px;
    box-shadow: 0px 15px 20px rgba(106, 183, 186, 0.4);
    transform: scale(1.2, 1.2);
    color: #0a0a0a;
}

.detail-btn:active {
    transform: translateY(-1px)
}

.purchase {
    width: 50%;
    margin: auto;
    border-radius: 10px;
}
.purchase a {
    display: block;
    text-align: center;
    border: 1px solid #ccc;
    background: #f1e767;
    background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
    background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
    background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
    -webkit-box-shadow: inset 1px 1px 1px #fff;
    padding: 5px;
    border-radius: 5px;
    color: #404040;
    font-weight: bold;
}

#detail ul.move {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
#detail ul.move li {
    border: 1px solid #aaa;
    margin-top: -1px;
    margin-left: -1px;
    width: calc(25% + 1px);
    padding: 0.5rem;
    background-color: #fefefe;
}
#detail ul.move li.pre {
    width: calc(100% + 1px);
    background-color: var(--back_color);
    color: #494949;
    font-weight: 600;
}
#detail ul.move li a{
    text-decoration: underline;
    color: var(--main_color);
    font-weight: 600;
}
#detail ul.move li.pre a{
    color: #494949;
}

/* よくある質問
------------------------------*/
p.question {
    cursor: pointer;
    background: var(--back_color);
    border-left: solid 5px var(--main_color);
    padding: 10px;
    position: relative;
}
p.question:hover {
    text-decoration: underline;
}
p.question::before {
    content: "[開く]";
    font-size: 14px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
p.question.active::before {
    content: "[閉じる]";
    font-size: 14px;
}

p.answer {
    display: none;
    background: #fafafa;
    padding: 10px 10px 10px 15px;
}
/* トップボタン
------------------------------*/
#to-top {
    display: flex;
    position: fixed;
    text-align: center;
    width: 100%;
    opacity: 0.8;
    background-color: var(--main_color);
    width: 40px;
    height: 40px;
    z-index: 800;
    cursor: pointer;
    bottom: 100px;
    right: 40px;
}
#to-top img {
    width: 20px;
    height: auto;
    margin: auto;
}
/* footer
------------------------------*/
.f_nav {
    display: flex;
    justify-content: center;
    
}
.f_nav li{
    margin: 0 20px;
}

.f_nav li a{
    color: var(--main_color);
    text-decoration: underline;
}
address {
    text-align: center;
    font-size: 1.2rem;
    background-color: var(--back_color);
    padding: 5px 0;
}
@media screen and (max-width: 480px) {

    .inner {
        width: 98%;
        margin: auto;
    }
    img.illustrations {
        width: 100%;
        margin: 10px auto;
    }
    /* header
    ------------------------------*/
    .search_container {
        width: 47%;
        padding: 3px;
    }

    .search_container input[type="text"] {
        height: 20px;
    }

    .search_container input[type="submit"] {
        width: auto;
    }
    /* main
    ------------------------------*/
    main {
        margin-top: 60px;
    }
    h2{
        padding: 0.5em;
        width: 100%;
        margin: 0 auto 10px auto;
    }
    .nav-open{
        width: 100%;
    }
    nav{ 
        width: 100%;
        padding: 0 5px 15px 5px;
    }
    /* 本文
    ------------------------------*/
    .merit {
        padding: 15px 10px 10px 10px;
        border: 3px solid var(--main_color);
        border-radius: 5px;
        border-top-left-radius: 0;
        background-color: #fefefe;
        margin: 30px auto 5px auto;
        position: relative;
    }

    .merit:first-of-type {
        margin: 35px 0 5px 0;
    }
    /* 病院紹介
    ------------------------------*/
    .contents {
        border-top: 2px solid var(--main_color);
        box-shadow: 0 0 1px #ccc;
        display: flex;
        flex-direction: column;
    }
    .contents h4{
        font-size: 1.4rem;
        padding: 5px;
        border-left: solid 3px var(--main_color);
    }
    .contents .hp_item{
        padding: 10px 5px;
    }
    .contents table{
        margin-top: 5px;
    }

    .contents .review {
        height: 200px;
    }
    .contents .review .eva {
        padding: 0 5px 2px 5px;
    }
    .contents .review p{
        padding: 5px;
    }

    .hosp_info {
        flex-direction: column;
        display: contents;
    }
    .hosp_info img{
        width: 200px;
        height: 200px;
        margin: auto;
    }
    .hosp_info .product-right{
        width: 100%;
        display: contents;
    }
    /* 順番
    ------------------------------*/
    .contents h5{
        order: 1;
    }
    .contents .route {
        order: 2;
        width: calc(100% - 20px);
        margin: 5px auto 10px auto;
    }
    .hosp_info img {
        order: 3;
    }
    .cover-btn{
        order: 4;
        margin: 10px auto;
    }
    .contents table {
        order: 5;
    }
    .merit {
        order: 6;
    }
    .product-right iframe {
        order: 7;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    
    /* トップボタン
    ------------------------------*/
    #to-top {
        border-radius: 5px 0 0 5px;
        bottom: 30px;
        right: 0;
    }
    /* footer
    ------------------------------*/
    .f_nav {
        justify-content: space-around;
    }
    .f_nav li{
        margin: 0;
    }

}










