﻿/** font **/

@import url('https://fonts.googleapis.com/css2?family=Gloock&family=Shippori+Mincho&display=swap');

:root{
    --font-jp: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-jp2: 'Shippori Mincho', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    --font-en: 'Gloock', 'Shippori Mincho', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
body, .font_sans-serif{
    font-family: var(--font-jp);
}
.font_jp{
    font-family: var(--font-jp2);
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en);
}

.font_bold{
    font-weight: normal;
}

/** color **/

:root{
    --color1: #050519;
    --color1s: #1a1a35;
    --color2: #a3a7b5;
    --color3: #89e0cf;
    --color4: #cedff1;
    --black: #212121;
}

/** other **/

.width_1000-max{
    max-width: 100%!important;
    padding-left: 10%;
    padding-right: 10%;
}

html, body{
    font-size: 18px;
    line-height: 2;
    letter-spacing: 2px;
}

h2, h3, h4, h5, h6{
    line-height: 1.5;
}

#fakeloader .fl{
    max-width: 200px!important;
}

#logo img{
    width: 100%!important;
    max-width: 150px;
}

#main_menu{
    font-family: var(--font-jp2);
    border-bottom: none!important;
}
#main_menu.fixed{
    background-color: rgba(26,26,53,0.8)!important;
}

#main_img{
    height: 800px;
}
/*#main_img::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 200px;
    background-image: linear-gradient(to bottom, rgba(5,5,25,0), rgba(5,5,25,1));
    bottom: 0;
    left: 0;
    z-index: 2;
}*/

#main_img .catch1{
    right: 0;
    bottom: 0;
    z-index: 2;
}
#main_img .catch2{
    top: 50px;
    left: 10%;
    z-index: 2;
}

#contents_h .con_no{
    margin-left: -50px;
    margin-bottom: -50px;
}
#contents2_h .con_no{
    left: -50px;
    top: -50px;
    z-index: -1;
}

#contents_h .con_item{
    padding-right: 5%;
}
#contents_h .con_title{
    background-image: linear-gradient(to bottom, var(--color3), var(--color3));
    background-size: 50px 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
}

#contents2_h .con2_box{
    z-index: 1;
}
#contents2_h .con2_box .con2_item{
    width: calc(50% + 50px);
    border: solid 1px;
    border-image: linear-gradient(to right bottom, var(--color2), var(--color1s));
    border-image-slice: 1;
    box-sizing: border-box;
}
#contents2_h .con2_box:nth-of-type(1) .con2_item{
    margin-left: -50px;
}
#contents2_h .con2_box:nth-of-type(2) .con2_item{
    margin-right: -50px;
}
#contents2_h .con2_box .con2_img{
    z-index: 1;
}

#contents{
    padding-left: 0;
    padding-right: 0;
}

#top_cms .cms_title{
    font-family: var(--font-en);
}
#top_cms .cms_title h2{
    font-size: 18px;
}
#top_cms .cms_title h2::before, #top_cms .cms_title h2::after{
    display: none;
}
#top_cms .cms_title p{
    font-size: 50px;
    letter-spacing: 5px;
    padding-bottom: 20px;
    background-image: linear-gradient(to bottom, var(--color3), var(--color3));
    background-size: 50px 2px;
    background-repeat: no-repeat;
    background-position: bottom;
}
#top_cms .cms_box > .border_white{
    border: none!important;
    padding: 0;
    text-align: left;
}

#cms_2-a .box_img1::before, .cms_2-a .box_img1::before, #cms_2-a .box_img2::before, .cms_2-a .box_img2::before{
    position: absolute;
    font-size: 20px;
    padding: 10px 20px;
    font-family: var(--font-en);
    line-height: 1;
    background-color: var(--color1);
    top: 0;
    text-shadow: 0 0 10px rgba(5,5,25,0.8);
}
#cms_2-a .box_img1::before, .cms_2-a .box_img1::before{
    content: "Before";
    left: 0;
    color: #fff;
}
#cms_2-a .box_img2::before, .cms_2-a .box_img2::before{
    content: "After";
    right: 0;
    color: var(--color3);
}

#info_map{
    background-color: rgba(255,255,255,0.05);
}

#main_img2{
    font-family: var(--font-en);
    max-width: inherit;
    background-position: center;
}
#main_img2 .page_title{
    background-color: rgba(26,26,53,0.8)!important;
}
#main_img2 h2{
    font-size: 18px;
    background-color: transparent;
    padding: 0;
    width: 100%!important;
}
#main_img2 span{
    font-size: 50px;
    letter-spacing: 5px;
    color: #fff;
}

.cate_title, .cate_title_h, .box_title1, .box_title2, .box_title, .cate_list, .pager{
    font-family: var(--font-jp2);
}

.pager li{
    margin: 0 10px!important;
}
.pager li a span{
    color: var(--color1)!important;
}
.pager li.prev a, .pager li.next a {
    padding: 0;
    width: 90px;
}

#cms_3-g .cate_item, .cms_3-g .box_wrap {
    box-shadow: none
}

.info_map iframe{
    display: block;
    width: 100%;
    height: 400px;
}

footer{
    border-top: none!important;
}
#fixed_right_banner ul{
    background-color: #6bd3bf;
}

#page-top a{
    background-color: var(--color1s);
}

.foot_banner{
    right: 70px;
    bottom: 10px;
    z-index: 2;
    max-width: 250px;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
.width_1000-max{
    padding-left: 5%;
    padding-right: 5%;
}
header a[href^="tel:"]{
    font-size: 16px;
}
#main_img{
    height: 100vw;
}
#contents2_h .con_no {
    left: 3%;
    top: auto;
    bottom: calc(100% - 50px);
    z-index: 1;
}
#contents_h .con_img_wrap{
    height: 60vw;
}
#contents2_h .con2_box .con2_item{
    margin-top: -50px;
    min-height: inherit!important;
    margin-left: 0!important;
    margin-right: 0!important;
}
#main_img2 span{
    font-size: 40px;
}
#top_cms .cms_title p{
    font-size: 40px;
}
footer #logo2{
    width: 100%!important;
    text-align: center;
}
footer .grid_9{
    width: 100%!important;
}
#copyright{
    padding-bottom: 70px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#logo{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    margin-top: 20px;
}
#main_img .catch2{
    top: 20px;
    left: 20px;
}
#contents_h .con_no {
    margin: 0 auto -30px!important;
}
#contents_h .con_title {
    text-align: center;
    background-position: bottom;
}
#main_img2 span {
    letter-spacing: 3px;
}
#cms_2-a .box_img1::before, .cms_2-a .box_img1::before, #cms_2-a .box_img2::before, .cms_2-a .box_img2::before {
    font-size: 14px;
    padding: 5px 10px;
}
#top_cms .cms_title p{
    letter-spacing: 3px;
}
#fixed_right_banner{
    display: block;
    top: 100px;
}
}