﻿:root {
    --color1: #cbcbcb;
    --color1: #67696f;
    --gray: #c9c9c9;
    --gray2: #f7f7f7;
    --border: 5px;
}



#top_contents1 .title h2.pc_txt{
        font-size: -webkit-calc(1rem + 5px);
    font-size: calc(1rem + 5px);
}

#cms_2-g .cate_title {
        font-size: 1.4em;
    padding: 30px 30px 15px;
}

#logo, .img_box, .top_contact_box, figure, #page_title{
    border-radius: var(--border);
}

#logo{
    border-radius: 0 0 5px 0;
}

#wrap{
    max-width: 1180px;
}

#main_img {
    padding: 0 10%;
    box-sizing: border-box;
    margin-top: 4%;
}

nav#header-nav{
    margin-top: 60px;
}

#fix_menu {
    border-left: 1px solid var(--gray);
}

#footer{
    border-top: 1px solid var(--gray);
}

.swiper-container {
    border-radius: 5px;
    overflow: hidden;
}

#loading_line .line {
    background-color: var(--gray2);
}

.overlay.open {
    background-color: #fafafa;
}

.under{
    max-width: 100px;
    margin: auto;
    display: block;
    margin-right: 20%;
    margin-top: -3%;
    z-index: 1;
    position: relative;
    width: 20%;
    min-width: 70px;
}

#top_contents1 {
    padding: 20px 5% 165px;
}

#top_contents2 {
    padding: 0;
    background-color: transparent;
}

#top_contents2 .con_box:nth-of-type(1) .text_box {
    padding-right: 0px;
}

#top_contents2 .con_box:nth-of-type(2) .text_box {
    padding-left: 0px;
}

#top_contents2 .con_box .text_box .before {
    background-color: var(--gray);
}

#top_contact_box .top .box, #top_contact_box .bottom .box{
        background-color: rgba(200, 200, 200, 0.4) !important;
    backdrop-filter: blur(5px);
}

#top_contact_box .tel_bt, #top_contact_box .con_bt {
    background-color: gray;
    border: none;
}

#top_info{
    padding: 0;
}

.footer_box .txt_white{
    color: black;
}

#footer::before {
    background: transparent;
}

#page_title:before {
    background: transparent;
}

#cms_6-a figure.cate_img1{
        margin: auto;
        width: 70% !important;
}

#cms_6-a .cate_title{
        background-color: #e9e9e9;
    color: black;
    border-left: 1px solid;
}

#top_contact_box{
    overflow: hidden;
}

.setubi{
    margin-top: 10%;
}

.setubi figure{
        /* padding: 5px; */
    overflow: hidden;
    border: 2px solid white;
}

.setubi figure:nth-child(2){
    transform: translateY(30%);
}

.border_color2, .hvr_border_color2:hover {
    border-color: #c9c9c9;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

h1.logo img{
    width: 100% !important;
}

ul.sns_links_tb{
    justify-content: center !important;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){

.under {
    margin-right: auto;
        width: 10%;
        min-width: 65px;
        margin-top: 5%;
}

#main_img {
    padding: 0 5%;
    margin-top: 4%;
}

#top_contents2 .con_box .text_box .before, #top_contents3 .con_box .text_box .before{
    opacity: 0;
}

#top_contents1 {
    padding: 50px 5% 70px;
}

#top_contents2 .con_box .text_box {
    padding-right: 20px;
}

    #top_contents2 .img_box, #top_contents2 .con_box .text_box {
        width: 90% !important;
    }

    #cms_2-g .cate_title {
        font-size: 1.25em;
        font-weight: bold;
    }

#cms_6-a figure.cate_img1{
        width: 100% !important;
}

#top_info{
    padding: 30px 5% 10px;
}

#top_contents1 .setubi figure:nth-child(3){
    margin-top: 32px;
}

}