@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #000000;
    --linkhover-color: #333;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
    --nav-color: #000000;
}

html {
    scroll-padding-top: 134px;
    scroll-behavior: smooth;
}
body {
    background: var(--white-color); 
    color: var(--base-color);
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
h2 {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    text-align: center;
    color: var(--base-color);
    font-weight: 600;
    line-height: 1.6;
}

h3 {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    text-align: center;
    color: var(--base-color);
}

.button {
    margin: 1rem;
    background-color: #001952;
}

a.button,
input.button {
    color: #fff;
    font-weight: bold;
}

a.button:hover,
input.button:hover {
    color: yellow;
}
/*ヘッダー
-------------------------------------*/
header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background-color: #ffffff;
    border-bottom: 1px solid #000;
}

header .container {
    padding: 0 0;
}
.header {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
    margin-bottom: 1rem;
    position: relative;
}
.sitetitle {
    max-width: 240px;
}

.header-box {
	margin-left: auto;
	margin-top: 0;
    padding-right: 0;
}
.header-box-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.sns-button {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}


.contact-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 14px;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid #001952;
    margin-right: 0;
    font-weight: bold;
    cursor: pointer;
}

a.contact-button {
    color: #001952;
}
a.contact-button:hover {
    opacity: 0.9;
    color: #0c3eb1;
}
.recruit-button {
    position: absolute;
    right: 0;
    top: 0;
    padding: 1.4rem;
    font-size: 1.6rem;
    line-height: 1.2;
    text-decoration: none;
    background-color: #000000;
    border-bottom-left-radius: 10px;
}
a.recruit-button {
    color: #fff;
}
a.recruit-button:hover {
    opacity: 0.7;
    color: yellow;
}
/*スマホ用メニュー
-------------------------------------*/	
.spnavi {
    display: none;
}

@media (min-width: 768px) {
    header col {
        margin-bottom: 0;
    }
}

.gnavi .col {
    margin-bottom: 0;
}

nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
    margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 0.7rem 1rem;
    color: var(--nav-color);
}

nav a.wait {
    color: var(--white-color);
    background-color: #001952;
}

nav a.wait:hover {
    opacity: 0.9;
    color: yellow;
}
@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
    header .container {
        padding: 0 1.2rem;
    }
    .sitetitle {
        max-width: 160px;
    }
    .recruit-button {
        padding: 1.2rem;
        font-size: 1.4rem;
        line-height: 1.2;
    }
    .header {
	flex-direction: column;
    margin-bottom: 10px;
    }
    .header #open,#close  {
        position: absolute;
        top: 25px;
        right: 12px;
    }
    nav ul {
        flex-direction: column;
    }
    .header li {
        padding-top: 0;
    }
    /* スマホ時はMENUボタンを表示 */
    #open {
        display: block;
        background: url(/img/button.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 8px;
        right: 20px;
    }
    #close  {
        display: block;
        background: url(/img/button2.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 8px;
        right: 20px;
    }
    /* スマホ時はメニューを非表示 */
    #navi {
        display: none;
    }
}
    
/*メイン画像
-------------------------------------*/
#mainimg {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: left;
    overflow: hidden;
}
#mainimg h1 {
    display: flex;
    align-items: center;
    padding-top: 4rem;
    padding-left: 8rem;
    text-align: center;
}

#mainimg h1 span {
    display: inline-block;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-family: "Noto Serif JP", serif;
    line-height: 2;
    font-optical-sizing: auto;
    letter-spacing: 0.2rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    #mainimg {
        height: 60vh;
    }
    #mainimg h1 {
        font-size: 2.0rem;
        padding-top: 1.6rem;
        padding-left: 4rem;
    }
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0;
}
section {
	margin: 0 0 3rem;
	padding: 3rem 0;
}
.gray-back {
	background-color: var(--back-color);
    /*background: url('/img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
}

.center {
	text-align: center;
	margin-bottom: 3rem;
}
.t_center {
	text-align: center;
}
/*キャッチコピー
-------------------------------------*/

.catch {
    padding-top: 5rem;
    border-bottom: 1px solid #001952;
    padding-bottom: 5rem;
    text-align: center;
}
.catch p {
    font-size: 1.8rem;
    line-height: 2.6;
    color: #001952;
}


/*会員募集（犬背景）
-------------------------------------*/
.member_bg a {
    background: url('/img/bnr_menber_bg.jpg') no-repeat center center;
    background-size: contain;
    display: block;
    cursor: pointer;
    width: 100%;
    max-width: 570px;
    height: 100%;
    border: 1px solid #001952;
}
.member_bg h3 {
    color: #001952;
    font-size: 2.5rem;
    margin: 0rem 0 2rem 0;
    padding-bottom: 1rem;
    padding-top: 2rem;
}
.member_bg p {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.4;
    padding: 2rem 2rem 2rem 3rem;
    margin-left: 0.45rem;
    background: rgba(255,255,255,0.6);
    color: #001952;
}

.member_bg p span {
    font-size: 2.0rem;
}


@media (max-width: 768px) {
    .member_bg a {
        background: url('/img/bnr_menber_bg.jpg') no-repeat center top;
        background-size: cover;
        display: block;
        cursor: pointer;
        width: 100%;
        min-height: 370px;
    }
    .member_bg h3 {
        color: #001952;
        font-size: 2.5rem;
        margin: 0rem 0 2rem 0;
        padding-bottom: 1rem;
        padding-top: 2rem;
    }
    .member_bg p {
        font-size: 2.0rem;
        padding: 1rem 2rem 1rem 2rem;
        margin-left: 0.45rem;
    }
}

/*アプリ
-------------------------------------*/
.app_bg {
    display: block;
    border: 1px solid #001952;
    padding: 0 0 2rem 2rem;
}
.app_bg h3 {
    color: #001952;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    padding-top: 2rem;
}
@media ( min-width : 768px ) {
    .member_bg.col {
        margin-bottom: 0;
    }
    .app_bg.col {
        margin-bottom: 0;
    }
    .app_bg .col {
        margin-bottom: 0;
    }
    .app_bg .col.phone {
        margin-bottom: 0;
    }
}


.app_bg p {
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: left;
    padding-top: 0.5rem;
    padding-bottom: 0rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}
.app_bg p:last-child {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}
.app_bg p span.icon {
    padding-left: 0.2rem;
}
.app_bg p span.text {
    padding-left: 1rem;
}
.app_bg h4 {
    color: #001952;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}
.app_bg .ico_store {
    width: 54%;
    margin: 0 auto;
}

/*診療時間
-------------------------------------*/
.timetable {
    border: 1px solid #001952;
    padding: 2rem;
}

.timetable {
    width: 86%;
    margin: 0 auto;
    border-collapse: collapse;
}
.timetable thead th,
.timetable tbody td {
    text-align: center;
}

.timetable tbody td.bggray {
    background-color: #EDEDED;
}
.timetable thead th,
.timetable tbody th,
.timetable tbody td {
    font-weight: normal;
    border-right: 1px solid var(--border-color);
}
.timetable tbody th {
    text-align: left;
}

.timetable thead th:last-child,
.timetable tbody td:last-child {
    border-right: none;
}
.timetable tbody td.sub {
    text-align: left;
}

.timetable .btnarea {
    text-align: center;
    width: 60%;
    margin: 2rem auto 0;
}

@media (max-width: 768px) {
    .timetable {
        width: 84%;
    }
    /*===========
    .scroll-box
    ===========*/
    .timetable .scroll-box {
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    }
    
    /*===========
    scrollbar
    ===========*/
    /*スクロールバー全体の高さ*/
    .timetable .scroll-box::-webkit-scrollbar {
    height: 4px;
    }
    /*スクロールバー全体の背景*/
    .timetable .scroll-box::-webkit-scrollbar-track {
    background: #eee;
    }
    /*スクロールバーの動く部分*/
    .timetable .scroll-box::-webkit-scrollbar-thumb {
    background: #aaa;
    border: none;
    }
    /*スクロールバーの動く部分のホバー（マウスオーバー）*/
    .timetable .scroll-box::-webkit-scrollbar-thumb:hover {
    background: #999;
    }
    
    /*===========
    table
    ===========*/
    .timetable .scroll-box table {
    width: 100%;
    min-width: 600px;
    margin: 0;
    }

    .timetable .btnarea {
        text-align: center;
        width: 100%;
        margin: 2rem auto 0;
    }
    .timetable .container.btnarea {
        padding: 0;
    }

    .timetable .container.btnarea .col {
        margin-bottom:0;
    }
    .timetable .container.btnarea .col p {
        margin-bottom:0;
    }
}

/*お問い合わせBG
-------------------------------------*/
.infobox {
    background-color: #001952;
    color: #fff;
    position: relative;
}
.infobox h2 {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 0;
}

.infobox .doctor_bg {
    position: absolute;
    top: -2.6rem;
    right: 10rem;
    margin-top: -10px;
}
.infobox a.button {
    background-color: #fff;
    color: #001952;
    font-weight: bold;
}
@media (max-width: 768px) {
    .infobox .doctor {
        display: none;
    }
    .infobox .doctor_bg {
        position: absolute;
        top: auto;
        bottom: 0;
        right: 0rem;
        margin-top: auto;
        width: 40%;
    }
}
/*こういうことで困って（不安）いませんか
-------------------------------------*/
.fuan {
    margin: 0 auto 10rem;
    max-width: 980px;
}

.fuan p {
    display: block;
    background-color: #001952;
    color: #fff;
    border-radius: 20px;
    padding: 1rem 4rem;
    font-weight: bold;
}

/*3つの理由
-------------------------------------*/
.reason_three {
    margin: 0 auto 10rem;
    max-width: 980px;
}
.reason_three h2 {
    margin-bottom: 0.4rem;
}
.reason_three h2 span {
    font-size: 3.8rem;
}
.reason_three .reasonbox .col {
    border: 1px solid #001952;
    padding: 1.6rem;
    border-radius: 10px;
    position: relative;
    margin-top: 4.0rem;
}
@media (min-width: 768px) {
    .reason_three .reasonbox .col.span-4 {
        flex: 0 0 31.6666666667%;
        max-width: 31.6666666667%;
    }
}

.reason_three p.num {
    position: absolute;
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
}
.reason_three p.num span {
    font-size: 2.4rem;
    background-color: #001952;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    display: inline-block;
    border-radius: 50px;
}
.reason_three p.text {
    font-size: 1.6rem;
    line-height: 1.8;
    text-align: left;
}

.reason_three h3 {
    font-size: 2.0rem;
    margin-bottom: 0;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.reason_three p {
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .reason_three .reasonbox .col {
        margin-top: 5.0rem;
    }
}


/*私たちができること
-------------------------------------*/
.dekiru {
    margin-bottom: 3rem;
}
.dekiru h2 {
    margin-top: 3rem;
}
.dekiru .col {
    background-color: rgba(0,25,82,0.1);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    border-radius: 10px;
}

.dekiru .col h3 {
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 0;
    padding-bottom: 1rem;
}


/*診療紹介
-------------------------------------*/
.shinryou {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.shinryou .row {
    margin-bottom: 2rem;
}

.shinryou h3 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #001952;
}

.shinryou p {
    margin-bottom: 1.5rem;
}

.shinryou_box {
    border: 2px solid #001952;
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
}
.shinryou ul li {
    list-style: none;
    padding-left: 1.6rem;
    padding-bottom: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.shinryou ul li:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}
.shinryou ul li span {
    text-indent: -1.6rem;
    display: inline-block
}

/*ニュース
-------------------------------------*/
.news {
    margin: 0 auto;
}
.news .container {
    margin-bottom: 0;
}
.news-list{
    list-style: none;
  }
.news-list .item, .item p {
    margin-bottom: 0;
  }
.news-list .item a{
    display: flex;
    flex-wrap: wrap;
    color: var(--nav-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.news-list .item:first-child a{
    border-top: 1px solid var(--border-color);
}
.news-list .item .date{
    min-width: 120px;
    color: var(--link-color);
}
.news-list .item a:hover .title{
    color: var(--base-color);
}
.news h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0rem;
    text-align: left;
    line-height: 1.6;
}
.news p.date {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: right;
}

#info .news h2 {
    padding-bottom: 0;
}

#info .news .row.ico_SNS {
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

#info .news .row.ico_SNS a {
    padding: 0 1rem;
}

@media (max-width: 768px) {
    #info .news .row.ico_SNS {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        padding: 0;
    }

}


/*きずな会員募集
-------------------------------------*/
.member_info {
    margin: 0 auto;
    background-color: #F3F4F7;
    padding: 5rem;
}
.member_info .container {
    margin-bottom: 0;
}
.member_info .imgarea {
    margin: 5rem auto 0;
}
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
    .member_info {
        padding: 1rem 0;
    }
    .member_info .container {
        padding: 3rem 2rem;
    }
}

/*医院紹介
-------------------------------------*/
.hospital {
    margin: 0 auto;
}
.hospital .hospialInner {
    margin-top: 0;
}

.hospital .hospialInner .image-container {
    overflow: hidden;
    position: relative;
}

.hospital .hospialInner .image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hospital .hospialInner .overlay-text {
    text-align: center;
    color: #fff;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%); /* 初期位置は下に */
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0; /* 初期状態では透明 */
}
.hospital .hospialInner .overlay-text h3 {
    display: inline-block;
    padding: 0.5rem 2rem;
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: bold;
    color: #fff;
    border: 1px solid #fff;
}
.hospital .hospialInner .overlay-text p {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: left;
    width: 80%;
    margin: 0 auto;
}


.hospital .hospialInner .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 100%; /* 初期位置は下に */
    left: 0;
    background-color: rgba(0, 30, 99, 0.4);
    transition: top 0.5s ease;
    opacity: 0; /* 初期状態では透明 */
}

.hospital .hospialInner .image-container:hover .overlay {
    top: 0; /* ホバー時に上にスライドイン */
    opacity: 1; /* ホバー時に表示 */
}

.hospital .hospialInner .image-container:hover .overlay-text {
    transform: translate(-50%, -50%); /* ホバー時に中央にスライドイン */
    opacity: 1; /* ホバー時に表示 */
}



@media (min-width: 768px) {
    .hospital .hospialInner .row .col {
        margin-bottom: 0;
    }
    .hospital .hospialInner .row .col.span-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
/*CT
-------------------------------------*/
.ct {
    margin: 0 auto;
    background-color: #F3F4F7;
}
.ct_machine {
    padding-top: 5rem;
}

/*ご予約
-------------------------------------*/
.ct_yoyaku {
    margin: 0 auto;
    padding-top: 5rem;
    background-color: #F3F4F7;
}
.ct_yoyaku .ct_yoyakuInner {
    margin-top: 0;
}
.ct_yoyaku .ct_yoyakuInner:last-child {
    margin-bottom: 5rem;
}
.ct_yoyaku .ct_yoyakuInner.row {
    align-items: center;
}
.ct_yoyaku .ct_yoyakuInner h3 {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
}
.flow_design05 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow05 {
  padding-left: 0;
}

.flow05 > li {
  list-style-type: none;
  position: relative;
  padding-left: 80px;
}
@media (max-width: 768px) {
    .flow05 > li {
    padding-left: 50px;
    }

    .ct_yoyaku .ct_yoyakuInner .col.span-2 {
        text-align: center;
    }
}


.flow05 > li:not(:last-child) {
  padding-bottom: 10px;
}

.flow05 > li .icon05 {
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  border-radius: 100vh;
  display: inline-block;
  background: #001952;
  color: #fff;
  position: absolute;
  left: 0;
}

.flow05 > li:not(:last-child)::before {
  content: '';
  background: #c3c3c3;
  width: 4px;
  height: 100%;
  position: absolute;
  top: calc(50% - -30px);
  left: 15px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.flow05 > li dl dt {
  font-size: 1.6rem;
  font-weight: 600;
  color: #001952;
}

.flow05 > li dl dd {
  margin-left: 0;
}

/*診療詳細
-------------------------------------*/
.shinryou_detail {
    margin: 0 auto;
}
.shinryou_detail .col {
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-collapse: collapse;
    margin-bottom: 3rem;
}
.shinryou_detail h3 {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.shinryou_detail p {
    margin: 0 auto 2rem;
    width: 90%;
}

/*ご挨拶
-------------------------------------*/
.message {
    margin: 5rem auto;
}
.message .container {
    padding: 5rem;
    border: 1px solid var(--border-color);
}
.message h2 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

/*医師紹介
-------------------------------------*/
.doctor {
    margin: 5rem auto 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #001952;
}
.doctor h2 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.doctor h3 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.doctor p {
    margin-bottom: 2rem;
}

.doctor ul {
    list-style-type: disc;
}


.doctor ul li {
    margin-bottom: 0.4rem;
}

/* FAQ
-------------------------------------*/
.cp_qa04 .cp_actab {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 0 0 0;
}
.cp_qa04 .cp_actab input {
  display: none;
}
/* 質問 */
.cp_qa04 .cp_actab label {
  position: relative;
  display: block;
  margin: 0 0.5em 0.5em 2em;
  padding: 1em 0 1em 0;
  background: #ffffff;
  cursor: pointer;
}
.cp_qa04 .cp_actab label span {
  display: block;
  padding: 0 0 1em 2em;
  border-bottom: 1px solid #000;
}
/* --?アイコン */
.cp_qa04 .cp_actab label::before {
  position: absolute;
  left: -30px;
  content: 'Q';
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 2em;
  font-weight: bold;
  z-index: 99;
  border: 3px solid #000;
  border-radius: 50%;
  background: #ffffff;
}
/* --▼アイコン */
.cp_qa04 .cp_actab label::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  content: '';
  width: 15px;
  height: 8px;
  background: #ffffff;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transition: all 0.5s ease;
}
/* 答え */
.cp_qa04 .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  max-height: 0;
  margin: 0 0 0.5em 0;
  padding: 0 0 0 5em;
  transition: max-height 0.5s ease;
  color: #000;
  background: #ffffff;
}
/* --!アイコン */
.cp_qa04 .cp_actab .cp_actab-content::before {
  position: absolute;
  left: 50px;
  content: 'A';
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 2em;
  font-weight: bold;
  z-index: 99;
  border: 3px solid #000;
  border-radius: 50%;
  background: #ffffff;
}
.cp_qa04 .cp_actab .cp_actab-content p {
  margin: 0.5em 0.5em 0.5em 0;
  padding: 0.5em 1em 0.5em 3em;
  border-radius: 0.3em;
  background: #ffffff;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa04 .cp_actab input:checked ~ .cp_actab-content {
  max-height: 40em;
}
/* 質問をクリックした時の▼アイコンの動き */
.cp_qa04 .cp_actab input[type=checkbox]:checked + label::after {
  transform: scale(1, -1);
}


/*ご予約の流れ
-------------------------------------*/
.nagere {
    margin: 0 auto;
}
.nagere .container {
    padding: 5rem;
    border: 2px solid #001952;
    border-radius: 20px;
}
.nagere .row {
    align-items: center;
}
.nagere .row p {
    margin-bottom: 2rem;
}
.nagere .ico_store {
    width: 54%;
    margin: 2rem auto 0;
}
@media (max-width: 768px) {
    .nagere {
        width: 90%;
        margin: 5rem auto;
        padding: 1rem 0;
    }
    .nagere .container {
        padding: 3rem 2rem;
    }
}

/*お問い合わせフォーム
-------------------------------------*/
.contact-box {
    margin: 5rem auto;
	padding: 2rem 0;
}
.contact-box .container {
    padding: 5rem 10rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 0 8px var(--border-color);
}

@media (max-width: 768px) {
    .contact-box {
        width: 86%;
        margin: 5rem auto;
        padding: 1rem 0;
    }
    .contact-box .container {
        padding: 3rem 2rem;
    }
}
.contact-box .container h2 {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.contact-box .table {
	margin: 4rem 0;
}
.contact-box .table th {
    padding: 5px 5px 0px 5px;
	width: 180px;
}
.contact-box .table th label {
    margin-bottom: 1.5rem;
}
.contact-box .table th, .contact-box .table td {
    padding: 12px 5px 0px 5px;
    text-align: left;
    border-bottom: none;
}

input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea { 
    background-color: var(--white-color);
}

/* Hide Default Checkbox */
input[type="checkbox"] {
  opacity:0;
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
}

//* Create a Box */
input[type="checkbox"] + span::before {
  display: inline-block;
  content: '';
  width: 1rem;
  height: 1rem;
  border: 2px solid #ccc;
  border-radius: 5px;
  margin-right: .5rem;
}

/* Checked Style */
input[type="checkbox"]:checked + span::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolyline fill='none' stroke='%230bd' stroke-width='3' points='2,7.3 7.3,12.7 18,2 '/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 2px;
}

/* Focused Style */
input[type="checkbox"]:focus + span::before {
  border-color: #0bd;
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  padding-top: calc(450 / 600 * 100%); /* height ÷ width × 100 */
  overflow-y: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Googleマップ
-------------------------------------*/
.gmap {
	margin: 3rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #001E63; 
    color:#fff;
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
    padding: 2rem 0;
}
footer h2 {
    color: #fff;
    text-align: left;
    margin-bottom: 1rem;
    padding-bottom: 2rem;
}
footer p {
    margin-bottom: 2rem;
}
footer p span.ico_gmap {
    display: inline-block;
    padding-left: 0.4rem;
    width: 60px;
    cursor: pointer;
}
footer p span.ico_gmap img {
    width: 100%;
}
footer h4 {
    position: relative;
    padding-bottom: 1rem;
    width: 100%;
    border-bottom: 2px solid var(--border-color);
}
footer h4::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 70px;
    height: 2px;
    background-color: var(--link-color);
}
footer a {
    color: var(--white-color);
    text-decoration: none;
}
footer a:hover {
    color: var(--linkhover-color);
}

footer .ico_form,
footer .ico_SNS,
footer .ico_bnr {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .ico_form {
    margin-top: 1rem;
}
footer .ico_form div {
    text-align: center;
    padding: 0 3rem;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-collapse: collapse;
}

footer .ico_form div p {
    font-size: 1.2rem;
    color: var(--white-color);
    margin-top: 0.4rem;
    margin-bottom: 0;
}


footer .ico_SNS {
    margin-top: 4rem;
}
footer .ico_SNS div {
    padding: 0 1rem;
}


footer .ico_bnr {
    margin-top: 4rem;
}
footer .ico_bnr div {
    padding: 0 1rem;
}


@media (max-width: 768px) {
    footer .ico_form,
    footer .ico_SNS,
    footer .ico_bnr {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        padding: 0;
    }

    footer .ico_form div {
        text-align: center;
        padding: 0 1rem;
    }
    footer .ico_bnr div {
    padding: 0 1rem 2rem;
}

}

/*電話
-------------------------------------*/
a.tel {
    display: inline-block;
}
@media screen and (min-width: 768px){
    a[href*="tel:"] { /* PC時は電話番号無効 */
        pointer-events: none;
        cursor: default;
    }
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #001E63; 
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: block;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background: var(--white-color);
    border: 1px solid var(--linkhover-color);
    padding-top: 30px;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}
#pagetop::after{
    content: "";
    display: block;
    border-top: 2px solid var(--base-color);
    border-right: 2px solid var(--base-color);
    width: 25%;
    height: 25%;
    top: 45%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
#pagetop:hover{
    opacity: 0.5;
}

/* 下層ページヘッダー
-------------------------------------*/
.subimg {
    height: 160px;
    margin-bottom: 2rem;
}
.subimg h1 {
    height: 160px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--base-color);
    margin: 0;
}
/* パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
    /*ヘッダー
    -------------------------------------*/
    .header-box {
        display: none;
    }	
    /*スマホ用メニュー
    -------------------------------------*/	
    .spnavi {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 15px;
        text-decoration: none;
        background-color: var(--link-color);   
        color: var(--white-color);
    }
    .spnavi a {
        display: inline-block;
        color: var(--white-color);
    }
    .spnavi a:hover {
        opacity: 0.9;
        background-color: var(--link-color);   
        color: var(--white-color);
    }
    .spnavi::after {
        content: '';
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--white-color);
        border-right: 2px solid var(--white-color);
        transform: rotate(45deg);
    }
    /*メイン画像
    -------------------------------------*/
    #mainimg h1 {
        height: 350px;
    }
    /*ニュース
    -------------------------------------*/
    .news-list .item .title{
        margin-top: 1em;
    }
    /*お問い合わせ
    -------------------------------------*/
    .table th {
        width: 100%;
        display: block;
    }	
    .table td {
        display: block;
    }
}