@charset "utf-8";

/* reset
*********************************************************/

* {
    margin: 0;
    padding: 0;
}
*:focus,
*:hover{
    outline: none;
}

figure{
    margin: 0;
}

div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.4rem;
}
h3 {
    font-size: 1.8rem;
}
h4,
h5,
h6 {
    font-size: 1.6rem;
}

/* common
*********************************************************/

html {
    font-size: 62.5%;
}

body {
    color: #333;
}

body{
    font-family: "游ゴシック", YuGothic, "メイリオ", Meiryo,
        "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 500;
}

@media all and (-ms-high-contrast: none) {
    body{
        font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3",
            "Hiragino Kaku Gothic ProN", sans-serif;
    }
}

.mincho {
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E,
        メイリオ, Meiryo, serif;
    font-feature-settings: "palt";
}

body {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: unset;
    @media only screen and(-webkit-min-device-pixel-ratio: 2),
        (min-resolution: 2dppx) {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

a:hover {
    opacity: 0.6;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.container {
    width: 100%;
    max-width: 1230px !important;
    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
    overflow: hidden;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.container.--of{
    overflow: visible;
}
.container .container{
  padding: 0;
  max-width: 100%;
}
@media screen and (max-width: 1200px) {
    .container{
        padding: 0 20px;
    }
}

.clear {
    clear: both !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.center-block {
    display: block;
    margin: auto;
}

.wp-pagenavi {
    padding: 20px 0;
    background: #f9f9f9;
    margin-top: 45px;
    font-size: 1.6rem;
    overflow: hidden;
}

.wp-pagenavi.var01 {
    padding-left: 15px;
    padding-right: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wp-pagenavi a,
.wp-pagenavi span {
    background: #fff;
}

.wp-pagenavi.var01 a {
    border: none;
    color: #333;
    background: none;
}

.wp-pagenavi span.current {
    background: #666;
    color: #fff;
    border-color: #666;
}

.bg-danger {
    background-color: #f2dede;
    padding: 5px;
}

.text-danger {
    color: #a94442;
}

.lazy {
    opacity: 0;
    position: relative;
    -webkit-transform: translate(0%, 50px);
    transform: translate(0%, 50px);
}

.lazy-show {
    opacity: 1;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -ms-transition: all 0.8s;
    -o-transition: all 0.8s;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    transition: all 1s;
}

.flickWrap {
    width: 100%;
}

p,
dl dt,
dl dd,
ul li,
ol li,
table th,
table td {
    font-size: 1.6rem;
    line-height: 1.8;
    text-align: left;
}

.image{
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

ul.wp-block-latest-posts.has-dates li {
    font-size: 1.6rem;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    display: flex;
    flex-flow: row wrap;
}
ul.wp-block-latest-posts.has-dates li a,
ul.wp-block-latest-posts.has-dates li time {
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
    font-size: 1.6rem;
}

ul.wp-block-latest-posts.has-dates li a {
    order: 2;
}
ul.wp-block-latest-posts.has-dates li time {
    order: 1;
    display: inline-block;
    padding-right: 2em;
}

.wp-block-image a {
    display: block;
}

@media screen and (max-width: 828px) {
    ul.wp-block-latest-posts.has-dates li a,
    ul.wp-block-latest-posts.has-dates li time {
        width: 100%;
        display: block;
    }

    .wp-block-image img {
        display: block;
        margin: auto;
    }

    .wp-block-column {
        flex-basis: 100%;
        flex-grow: 0;
    }

    .flickWrap {
        overflow: auto;
        white-space: nowrap;
        margin-bottom: 60px;
        padding: 30px 0;
    }

    .flickWrap::before {
        content: "※横スクロールでご覧いただけます。";
        color: #f55;
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .flickWrap::-webkit-scrollbar {
        height: 5px;
    }

    .flickWrap::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .flickWrap::-webkit-scrollbar-thumb {
        background: #bcbcbc;
    }
}
@media screen and (max-width: 450px) {
    p,
    dl dt,
    dl dd,
    ul li,
    ol li,
    table th,
    table td {
        font-size: 1.5rem;
    }
}

/* Common
*********************************************************/
.cm-menu{
    display: flex;
    gap: 8px 24px;
    align-items: center;
    flex-wrap: wrap;
}

.cm-address{
    font-style: normal;
}

.cm-address a{
    font-weight: 700;
    font-size: 2.4rem;
}

.cm-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 240px;
    line-height: 64px;
    border-radius: 64px;
    text-align: center;
    font-size: 1.6rem;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    background-color: #ddd;
}
.cm-btn img{
    max-width: 24px;
}

@media screen and (max-width: 828px) {
    .cm-menu{
        justify-content: center;
        margin-top: 24px;
    }
}

/* Header
*********************************************************/

.header__wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}
.header__logo{
    display: block;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.header__logo span,
.header__logo a,
.header__logo img{
    display: block;
}

.header__logo a,
.header__logo img{
    height: auto;
    width: 100%;
}

.header__catch{
    margin-bottom: 0.5em;
}

/* .header__logo a{
    width: 220px;
} */

a.menu-tel,
a.menu-trigger {
    display: none;
}

@media screen and (max-width: 828px) {
    .header__menu{
        display: none;
    }

    a.menu-tel {
        color: #333;
        font-size: 3rem;
        position: fixed;
        width: 40px;
        height: 40px;
        right: 60px;
        top: 10px;
        z-index: 600;
        background: rgba(255, 255, 255, 0.75);
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    a.menu-trigger,
    a.menu-trigger span {
        display: inline-block;
        transition: all 0.4s;
        box-sizing: border-box;
    }

    a.menu-trigger {
        position: fixed;
        width: 40px;
        height: 40px;
        right: 10px;
        top: 10px;
        z-index: 600;
        background: rgba(255, 255, 255, 0.75);
    }

    a.menu-trigger:hover {
        opacity: 1;
    }

    a.menu-trigger span {
        position: absolute;
        left: 5px;
        width: 30px;
        height: 2px;
        background-color: #333;
        border-radius: 1px;
    }

    a.menu-trigger span:nth-of-type(1) {
        top: 10px;
    }

    a.menu-trigger span:nth-of-type(2) {
        top: 48%;
    }

    a.menu-trigger span:nth-of-type(3) {
        bottom: 10px;
    }

    .menu-trigger.active span:nth-of-type(1) {
        -webkit-transform: translateY(9px) rotate(-315deg);
        transform: translateY(9px) rotate(-315deg);
    }

    .menu-trigger.active span:nth-of-type(2) {
        opacity: 0;
    }

    .menu-trigger.active span:nth-of-type(3) {
        -webkit-transform: translateY(-9px) rotate(315deg);
        transform: translateY(-9px) rotate(315deg);
    }
}

/* GlobalNavi
*********************************************************/

#gNavi a {
    color: inherit;
    text-decoration: none;
    padding: 20px 0;
    display: block;
}

@media screen and (min-width: 829px){
    #gNavi {
        border-top: solid 1px #ccc;
    }

    #gNavi.fixed {
        border-bottom: solid 1px #ccc;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        z-index: 100;
        background: #fff;
    }

    #gNavi ul {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }

    #gNavi li{
        display: table-cell;
        font-size: 1.6rem;
        text-align: center;
    }
    #gNavi li + li {
        border-left: solid 1px #ccc;
    }
}

@media screen and (max-width: 828px) {
    #gNavi {
        display: none;
        background: rgba(0, 0, 0, 0.9);
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        z-index: 100;
        overflow: hidden;
        margin-top: 0;
    }
    #gNavi .container {
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 100vh;
        padding: 0;
    }
    #gNavi ul {
        border: none;
        position: absolute;
        right: -100%;
        top: 50px;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        z-index: 110;
        padding-left: 0;
    }
    #gNavi ul li{
        display: block;
        width: 100%;
        padding-left: 0;
        border-bottom: 1px solid #fff;
    }
    #gNavi a {
        color: #fff;
        line-height: 1;
        border: none;
        display: block;
        text-align: center;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 20px 0;
    }
    #gNavi a small {
        display: none;
    }
}

/* Breadcrumbs
*********************************************************/

#breadcrumbs {
    font-size: 1.5rem;
    margin-bottom: 80px;
    background: #f5f5f5;
    padding: 15px 0;
}

#breadcrumbs a {
    color: #333;
    text-decoration: none;
}

@media screen and (max-width: 828px) {
    #breadcrumbs {
        height: auto;
        padding: 15px 0;
        line-height: 1.6;
        margin-bottom: 40px;
    }
}

/* Cta
*********************************************************/
.cta{
    padding: 104px 0;
    box-sizing: border-box;
    color: #fff;
}
.cta__head{
    text-align: center;
    margin-bottom: 48px;
}
.cta__head h2{
    font-size: 3rem;
}
.cta__head span{
    font-weight: 700;
    font-size: 1.6rem;
}

.cta__catch{
    font-size: 2rem;
    font-weight: 700;
}

.cta__column{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin-top: 32px;
}

.cta__tel a{
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    flex-wrap: wrap;
    text-align: center;
    text-decoration: none;
    color: inherit;
    font-size: 4.8rem;
    line-height: 1;
    gap: 0 10px;
}
.cta__tel img{
    aspect-ratio: 1/1;
    width: 31px;
    height: 31px;
}
.cta__tel small{
    display: block;
    width: 100%;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
}

.cta__btn{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 276px;
    line-height: 76px;
    border-radius: 76px;
    font-size: 1.6rem;
    text-decoration: none;
    font-weight: 700;
    color: #333;
    background: #fff;
}
.cta .cta__btn img{
    display: none !important;
}

@media screen and (max-width: 828px){
    .cta{
        padding: 48px 0;
    }

    .cta__head{
        margin-bottom: 24px;
    }
    .cta__head h2{
        font-size: 2.4rem;
    }

    .cta__catch{
        font-size: 1.8rem;
    }

    .cta__tel a{
        font-size: 3.2rem;
    }
    .cta__tel img{
        width: 24px;
        height: 24px;
    }
    .cta__tel small{
        margin-top: 5px;
    }
}

/* Footer
*********************************************************/

footer {
    margin-top: 180px;
}

.footer__logo{
    display: block;
    margin-bottom: 16px;
}

.footer__logo a,
.footer__logo img{
    display: block;
}

.footer__logo a,
.footer__logo img{
    height: auto;
    width: 100%;
}

/* .footer__logo a{
    width: 220px;
} */

.footer__address{
    font-style: normal;
    font-size: 1.6rem;
    font-weight: 500;
}

.footer__copy{
    margin-top: 56px;
    padding: 20px 0;
    box-sizing: border-box;
    color: #fff;
    background-color: #ddd;
    font-size: 1.5rem;
    text-align: center;
}

@media screen and (min-width: 829px) {
    .footer{
        padding-top: 56px;
    }

    .footer__block{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        grid-column-gap: 0px;
        grid-row-gap: 40px;
    }

    .footer__info {
        grid-area: 1 / 1 / 3 / 2;
    }
    .footer__content {
        grid-area: 1 / 2 / 2 / 3;
    }
    .footer__menu {
        grid-area: 2 / 2 / 3 / 3;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .footer__nav ul{
        display: flex;
        flex-wrap: wrap;
        gap: 15px 40px;
        justify-content: flex-end;
    }

    .footer__nav a{
        font-size: 1.5rem;
        text-decoration: none;
        color: inherit;
    }
}

@media screen and (max-width: 828px){
    footer {
        margin-top: 100px;
    }

    .footer__info{
        text-align: center;
    }

    .footer__logo a{
        margin: auto;
    }

    .footer__nav ul{
        display: flex;
        flex-wrap: wrap;
        width: 100vw;
        margin: 0 -20px 40px;
    }

    .footer__nav li{
        width: 50%;
        box-sizing: border-box;
        border-bottom: 1px solid #ddd;
    }
    .footer__nav li:nth-child(even){
        border-left: 1px solid #ddd;
    }
    .footer__nav li:nth-child(odd):last-child{
        width: 100%;
    }

    .footer__nav a{
        display: block;
        padding: 15px 0;
        font-size: 1.5rem;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        text-align: center;
        color: inherit;
    }

    .footer__address{
        text-align: center;
    }
}

/* WP default
*********************************************************/

.wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
}

@media (max-width: 600px) {
    .wp-block-column + .wp-block-column {
        margin-top: 25px;
    }
}

@media screen and (min-width: 2100px){
    #home .slick-track{
            display:flex;
    }
}

#gNavi[style*=none]{
    display: block !important;
}

#gNavi[style*=none] ul[style*=none]{
    display: table !important;
}

@media screen and (max-width: 828px){
    #gNavi[style*=none]{
            display: none !important;
    }
#gNavi ul{
            padding-bottom:150px;
    }
}
.rtt{
    display: none;
}
@media screen and (max-width:1200px) {
    .rtt{
            display: block;
            position: fixed;
            bottom: 20px;
            right: 20px;
            text-shadow: 1px 1px 5px #fff, -1px -1px 5px #fff;
    }
}

/* 以下新スタイル */

a[href*='tel:']{
    text-decoration: none;
    cursor: default;
    color: inherit;
}

@media screen and (min-width: 829px) {
    a[href*='tel:']{
        pointer-events: none;
    }
    a[href*='tel:']:hover{
        opacity: 1;
    }

    .on_mobile{
        display: none;
    }
}

@media screen and (max-width: 828px){
    .grecaptcha-badge {
        left: 0;
    }
}
