@charset "utf-8";

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #434343;
    font-size: 13px;
    line-height: 1.563;/*基準：施設紹介の中のテキスト*/
    letter-spacing: 0.05em;
    position: relative;
    padding-top: 6rem;
    background-color: #fff;
}
@media (min-width: 576px) {
    body {
        padding-top: 10rem;
        font-size: 16px;
    }
}

section {
    padding: 10rem 0;
}
a:hover {
    opacity: 0.5;
    transition: 0.5s;
    cursor: pointer;
}

.blue {color: #1f76c3;}
.orange {color: #ec6941;}
.gray {color: #a1abb2;}
.bg-gray {background-color: #f7f8f9;}

.lato {font-family: 'Lato', 'Noto Sans JP', sans-serif;}

.fs16 {font-size: 16px;}
.fs45 {font-size: 4.5rem;}

.medium {font-weight:500;}
.bold {font-weight:bold;}

.section-title {
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 4rem;
}
.section-title:after {
    position: absolute;
    bottom: 0;
    left: calc(50% - 2rem);
    content: '';
    width: 4rem;
    height: 3px;
    background-color: #1f76c3;
}
.section-title .en-title, .page-title .en-title {
    display: block;
    font-family: 'Lato', sans-serif;
    color: #1f76c3;
    font-weight: bold;
    letter-spacing: 0.13em;
}
.section-title .en-title {
    font-size: 12px;
}
.page-title .en-title {
    font-size: 16px;
}
.section-title .jp-title, .page-title .jp-title  {
    display: block;
    font-weight: bold;
    letter-spacing: 0.1em;
}
.section-title .jp-title {
    font-size: 2.4rem;
}
.page-title .jp-title  {
    font-size: 3.5rem;
}
.page-header {
    text-align: center;
    padding: 10rem 0;
}
@media (min-width: 768px) {
    .section-title .en-title {
        font-size: 16px;
    }
    .section-title .jp-title {
        font-size: 3.5rem;
    }
}


.white-btn {
    color:#1f76c3;
    background-color: #fff;
    padding: 2rem 3rem;
    font-size: 2.4rem;
    border-radius: 5rem;
    width: fit-content;
    height: fit-content;
}
.white-btn:before {    
    background-color: #ec6941;
}
.white-btn span {
    color:#1f76c3;
}
.white-btn:hover span {
    color: #fff;
}
.border-btn {
    justify-content: center;
    color: #1f76c3;
    background-color: transparent;
    border: 1px solid #1f76c3;
    padding: 1.5rem 2.5rem;
    border-radius: 5rem;
    width: 100%;
    max-width: 24rem;
}
.border-btn:before {
    background-color: #1f76c3;
}
.border-btn span {
    color: #1f76c3;
}
.border-btn:hover span {
    color: #fff;
}
.border-btn .arrow-icon {
    background-image: url("../images/arrow.png");
    width: 10px;
    margin-left: 3rem;
}
.border-btn:hover .arrow-icon {
    background-image: url("../images/arrow_white.png");
    transition: 0.5s;
}

.icon {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/*btnのアニメーション*/
.btn {
    display: flex;
    position: relative;
    overflow: hidden;
    transition: ease .2s;
}
.btn:hover {
    opacity: 1;
}
.btn span {
    position: relative;
    z-index: 3;
    transition: 1s;
}
.btn:hover span {
    transition: 0.5s;
}
.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
}
.btn:hover:before{
    transform-origin:left top;
    transform:scale(1, 1);
    opacity: 1;
}

/********* header *********/

.common-header {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 10px 10px 15px rgba(4, 0, 0, 0.05);
}
.common-header.shadow {
    box-shadow: 10px 10px 15px rgba(4, 0, 0, 0.05);
}
.common-header>div {
    align-items: center;
}
.navi-open.common-header>div {
    align-items: flex-start;
}
.header-logo {
    margin: 1.25rem 2rem 1.25rem 15px;
}
.header-logo img {
    width: 100%;
    max-width: 31rem;
}
.header-right {
    display: none;
    flex-direction: column;
    justify-content: center;
}
.header-nav {
    margin: 1.75rem 3rem 1.75rem 0;
    font-weight: 500;
    justify-content:center;
}
.header-nav li a {
    display: block;
    font-size: 14px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}
.header-nav li:last-child a {
    padding-right: 0;
}

.header-tel-instagram{
    position: absolute;
    bottom: 10rem;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 7px;
    /* padding: 0 15px; */
}
.header-contact, .header-tel {
    color: #1f76c3;
    background-color: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    width: 100%;
    max-width: 24rem;
    border-radius: 3rem;
    justify-content: center;
}
.header-tel {
    font-size: 18px;
    width: auto;
}
.navi-open .header-tel {
    padding: 1.2rem 2rem;
}
.header-tel .tel-icon {
    background-image: url("../images/tel.png");
    width: 17px;
    margin-right: 10px;
}
.header-tel .number {
    font-size: 2.2rem;
}
.header-instagram{
    width: 30px;
    /* margin-left: 15px; */
}
.header-contact {
    letter-spacing: 0.1em;
}
.header-contact .estimation-icon {
    background-image: url("../images/estimation_blue.png");
    width: 2.5rem;
    margin-right: 10px;
}
.header-contact .arrow-icon {
    background-image: url("../images/arrow.png");
    width: 10px;
    margin-left: 2rem;
}

.navi-open.common-header {
    color: #fff;
    background-color: #1f76c3; 
}
.navi-open .header-right {
    background-color: #1f76c3; 
    display: flex;
    padding: 5rem 0 20rem;
    position: absolute;
    top: 7rem;
    left: 0;
    width: 100%;
}
.navi-open .header-nav {
    margin: 0;
}
@media (min-width: 576px) {
    .header-logo {
        margin: 2rem 8rem 2rem 3rem;
    }
    .header-logo img {
        max-width: 36.5rem;
    }
    .navi-open .header-right {
        top: 10rem;
    }
}
@media (min-width: 768px) {
    .common-header {
        box-shadow: none;
    }
    .header-contact .estimation-icon {
        width: 3.5rem;
        margin-top: 5px;
    }
}
@media (min-width: 1200px) {
    
    .navi-open.common-header {
        color: #1f76c3;
        background-color: #fff;
    }
    .header-logo {
        margin-right: 0;
    }
    .header-right {
        display: flex;
        flex-direction: row;
    }
    .header-nav {
        flex-direction: column;
    }
    .header-nav li a {
        padding: 0 9px;
        letter-spacing: 0.05em;
    }
    .header-tel-instagram{
        position: static;
        justify-content: flex-end;
        /* padding: 0; */
    }
    .header-tel {
        display: inline-block;
        max-width: 100%;
        letter-spacing: 0.1em;
    }
    .header-tel .number {
        font-size: 2.8rem;
    }
    .header-contact, .header-tel {
        padding: 0;
    }
    .header-contact {
        color: #fff;
        background-color: #1f76c3;
        padding: 1.5rem;
        flex-direction: column;
        border-radius: 0;
        width: auto;
    }
    .header-contact .estimation-icon {
        background-image: url("../images/estimation.png");
        margin-right: 0;
        height: 3.5rem;
    }
}
@media (min-width: 1400px) {
    .mr-xxl-3 {
        margin-right: 3rem!important;
    }
    .header-nav li a {
        padding: 0 12.5px;
        letter-spacing: 0.1em;
    }
    .header-contact {
        padding: 1.5rem 3.5rem;
        letter-spacing: 0.2em;
    }
}


/*********hamburger*********/
.hamburger{
    width: 70px;
    height: 60px;
    margin-left: auto;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1f76c3;
}
.navi-open .hamburger {
    padding-top: 15px;
}
.hamburger .line{
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    -webkit-background-clip: content-box;
    transition: 0.3s;
    margin-bottom: 4px;
}
.navi-open .hamburger .line {
    background-color: #fff;
    margin-bottom: -1.5px;
}
.navi-open .hamburger .line:nth-child(2){
    top: 50%;
    transform: rotate(-45deg);
}
.navi-open .hamburger .line:nth-child(1){
    top: 50%;
    transform: rotate(45deg);
}
.hamburger .text {
    display: block;
    top: calc(50% + 7px);
    color: #fff;
    font-size: 10px;
}
.navi-open .hamburger .text {
    color: #fff;
    margin-top: 10px;
}
@media (min-width: 576px) {
    .hamburger{
        width: 12rem;
        height: 10rem;
    }
}


/*********ぱんくず*********/
.bl-bread {
    width: 100%;
    max-width: 97rem;
    margin: 0 auto;
}
.bl-bread__list {
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 500;
}
.bl-bread__list li:first-child {
    color: #1f76c3;
}
.bl-bread__item:not(:last-child)::after {
    content: '>';
    color: #434343;
    display: inline-block;
    margin-right: 5px;
}


/********* footer *********/
.common-footer {
    border-top: 3px solid #1868b8;
    padding: 6rem 0 11rem;
    font-size: 14px;
}
.footer-nav li + li {
    margin-top: 2rem;
}
.footer-nav ul + ul {
    margin-top: 3rem;
}
.footer-nav li {
    font-weight: 500;
}
@media (min-width: 576px) {
    .footer-nav ul + ul {
        margin-top: 0;
        margin-left: 7rem;
    }
}
@media (min-width: 992px) {
    .footer-nav li + li {
        margin-top: 3rem;
    }
    
}
@media (min-width: 1200px) {
    .common-footer {
        padding-bottom: 6rem;
    }
    
    .footer-nav ul + ul {
        margin-left: 11rem;
    }
}


/********* floating-banner  *********/
.floating-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    color: #fff;
    background-color: #1f76c3;
    padding: 1rem;
    font-size: 18px;
    z-index: 100;
    letter-spacing: 0.15em;
}
.floating-banner .estimation-icon {
    display: block;
    background-image: url("../images/estimation.png");
    width: 2.5rem;
    height: 2rem;
    margin-right: 10px;
}
.floating-banner .arrow-icon {
    display: block;
    background-image: url("../images/arrow_white.png");
    width: 10px;
    height: 15px;
    margin-left: 2rem;
}
@media (min-width: 768px) {
    .floating-banner {
         -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
        bottom: 10rem;
        flex-direction: row;
        width: 6.5rem;
        border-radius: 10px 0 0 10px;
        padding: 2rem;
    }
    .floating-banner .estimation-icon {
        margin: 0 0 10px 0;
    }
    .floating-banner .arrow-icon {
        margin: 10px 0 0 0;
        transform: rotate(90deg);
    }
}

/********* part-CONTACT *********/
.part-contact {
    padding: 4rem 0;
    background-color: #1f76c3;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}
.part-contact .white-btn {
    width: 100%;
    max-width: 32rem;
    justify-content: center;
    letter-spacing: 0.18em;
    padding: 1.8rem 2rem;
}
.part-contact .estimation-icon {
    background-image: url("../images/estimation_blue.png");
    width: 3rem;
    margin-right: 10px;
}
.part-contact .white-btn:hover .estimation-icon {
    background-image: url("../images/estimation.png");
    transition: 0.5s;
}
.part-contact .arrow-icon {
    background-image: url("../images/arrow.png");
    width: 15px;
    margin-left: 3rem;
}
.part-contact .white-btn:hover .arrow-icon {
    background-image: url("../images/arrow_white.png");
    transition: 0.5s;
}
@media (min-width: 768px) {
    .part-contact {
        font-size: 3rem;
    }
}
@media (min-width: 992px) {
    .part-contact {
        font-size: 3.3rem;
    }
}


/********* Editor-content *********/
.editor-content > * + *{
    margin-top: 3rem;
}
.editor-content > * + h3,
.editor-content > * + h4{
    margin-top: 4rem;
}
.editor-content h5 + ul,
.editor-content h5 + ol{
    margin-top: 1rem;
}
.editor-content ul,
.editor-content ol{
    padding-left: 20px;
}
.editor-content ul li{
    list-style: disc;
}
.editor-content ol li{
    list-style: decimal;
}
.editor-content li + li{
    margin-top: 5px;
}

@media (min-width:576px){
    .editor-content .img-left{
        float: left;
        margin-right: 2rem;
        margin-bottom: 2rem;
    }
    .editor-content .img-right{
        float: right;
        margin-left: 2rem;
        margin-bottom: 2rem;
    }
    .editor-content .img-left,
    .editor-content .img-right{
        max-width: 50%;
    }
    .editor-content .img-center{
        text-align: center;
    }
    .editor-content .img-left + *:not(p),
    .editor-content .img-right + *:not(p),
    .editor-content .img-center{
        clear: both;
    }
}


/********* text-area *********/
.text-area p + p {
    margin-top: 4rem;
}

/********* pagenation *********/
.pageList ul {
    display: flex;
    justify-content: center;
}
.pageList li + li a {
   margin-left: 2rem; 
}
.pageList li a {
    color: #1f76c3;
    font-weight: 500;
    border: 1px solid #1f76c3;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
}
.pageList li a:hover {
    color: #fff;
    background-color: #1f76c3;
    opacity: 1;
}


.grecaptcha-badge {
    bottom: 55px!important;
}
@media (min-width: 768px) {
    .grecaptcha-badge {
        bottom: 14px!important;
    }
}