﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&family=Noto+Sans+JP:wght@400;700&display=swap');

body, .font_sans-serif{
    font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

.font_en, .date, a[href^="tel:"], #cms_2-a .box_title1::before, #contents3 .cate_title::before, .pager{
    font-family: 'Montserrat', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

/*** fade ***/

.fade_box{
    opacity: 0;
    transform: translateY(20px);
    transition: 1s;
    transition-property: opacity, transform;
}
.fade_box.fade_left{
    transform: translateX(-20px);
}
.fade_box.fade_right{
    transform: translateX(20px);
}
.fade_box.fade_top{
    transform: translateY(-20px);
}
.fade_box.active{
    opacity: 1;
    transform: none;
}

/*** other ***/

.normal_img img, .square_img, .rectangle_img{
    border-radius: 10px;
    border: solid 1px #5e3e1b;
    box-sizing: border-box;
}

.txt_shadow, .txt_shadow-l, .txt_shadow-b{
    text-shadow: none;
}
.shadow, .shadow-l, .shadow-b{
    box-shadow: none;
}

.button{
    border: solid 1px #eae6e1;
    padding: 15px 0;
    color: #5e3e1b;
    font-size: 16px;
    z-index: 1;
}
.button::after{
    box-shadow: none!important;
    background-color: #f97f5a;
    height: 0;
    border-radius: 0;
    transform: none;
    left: 0;
    bottom: 0;
    top: auto;
    transition: height 0.5s cubic-bezier(.04,.54,.3,1);
}
.button:hover::after{
    height: 100%;
}
.button:hover{
    color: #fff;
    border-color: #f97f5a;
}
.button2{
    padding: 10px 15px!important;
    border: none;
    box-shadow: none!important;
    background-color: #f4efe6;
    color: #5e3e1b;
    border-radius: 50px;
}
.button2:hover{
    background-color: #f97f5a;
    color: #fff;
    transform: translateY(-5px);
}

header.grid_3{
    background-color: #fff!important;
    border-right: solid 1px #eae6e1;
    padding-top: 0!important;
    padding-bottom: 0;
    width: 250px!important;
}
header .width_300-max{
    max-width: inherit;
}
header .head_box{
    padding: 0;
    font-weight: bold;
}
header .head_box #logo{
    padding: 50px 0;
    border-bottom: solid 1px #eae6e1;
    text-align: center;
}
header .head_box #logo img{
    width: 80%!important;
    max-width: 300px;
}
header .head_box #main_menu{
    padding: 50px 10%;
    border-bottom: solid 1px #eae6e1;
    margin-top: 0;
}
header #main_menu ul li a{
    font-size: 18px;
    margin-bottom: 0;
    padding: 10px 0;
    padding-left: 30px;
    color: #5e3e1b;
    font-size: 16px;
    transition: 0.5s cubic-bezier(.04,.54,.3,1);
    transition-property: padding-left, color;
}
header #main_menu ul li a:hover{
    padding-left: 35px;
    color: #f7a952;
}
header #main_menu ul li a::before {
    top: 0;
    bottom: 0;
    margin: auto;
    width: 10px;
    height: 1px;
    background-color: #5e3e1b;
    transition: 0.5s cubic-bezier(.04,.54,.3,1);
    transition-property: width, background-color;
}
header #main_menu ul li a:hover::before{
    width: 15px;
    background-color: #f7a952;
}
header .head_box .contact_bt, header .head_box .tel_bt{
    margin-top: 0;
    border-bottom: solid 1px #eae6e1;
}
header .head_box .button{
    border: none;
    padding: 30px 0;
}
header .head_box .contact_bt a i{
    display: none;
}
header #sp_nav li a{
    color: #5e3e1b;
}
header #sp_nav li:last-of-type a{
    border: none;
    background-color: #f4efe6;
}

.hamburger__icon, .hamburger__icon:before, .hamburger__icon:after{
    height: 1px;
    background-color: #5e3e1b;
}

.main_box{
    width: calc(100% - 250px)!important;
    margin-left: 250px;
    overflow: hidden;
}

#main_img{
    max-height: 100vh;
    min-height: inherit;
    border-top: solid #fff;
    border-left: solid #fff;
    border-bottom: solid #fff;
    border-width: 20px;
    box-sizing: border-box;
    border-top-left-radius: 30px;
}
#main_img .catch1{
    top: 0;
    right: 5%;
}
#main_img .catch2{
    left: 0;
    bottom: 0;
    border-top-right-radius: 10px;
}

.link_box ul{
    justify-content: center;
}

#contents1, #contents2 .grid_7, #contents3, .top_cms_wrap, footer, article.width_1280-max{
    padding-left: 5%!important;
    padding-right: 5%!important;
    max-width: 2000px!important;
}

#contents1{
    padding-top: 80px;
    padding-bottom: 80px;
}
#contents1 h2{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #5e3e1b;
}
#contents1 h2 span{
    background-image: linear-gradient(to bottom, transparent 50%, #f9f1e8 50%);
}

#contents2{
    padding: 0;
    padding-bottom: 50px;
    max-width: inherit!important;
}
#contents2 > div{
    align-items: flex-start;
}
#contents2 .grid_7{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
#contents2 .grid_7::before{
    position: absolute;
    content: "";
    width: 500px;
    height: 500px;
    top: -250px;
    left: -200px;
    background-image: linear-gradient(to right bottom, #f97f5a, #f5c954);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}
#contents2 .img5{
    margin-top: -50px;
    position: relative;
    z-index: 1;
}
#contents2 .img5 img{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

#contents3{
    background-image: url('./Dup/img/nami1.png'), url('./Dup/img/nami2.png');
    background-position: top left, bottom left;
    background-size: 2000px 50px;
    background-repeat: repeat-x;
    padding-top: 0;
    padding-bottom: 100px;
    background-color: #fcf8f0;
}
#contents3 .grid_6{
    margin-top: -50px;
}
#contents3 .cate_title{
    position: relative;
    z-index: 1;
}
#contents3 .cate_title::before{
    position: absolute;
    color: #f5c954;
    line-height: 1;
    font-size: 70px;
    right: 20px;
    top: -55px;
    z-index: -1;
}
#contents3 .grid_6:first-of-type .cate_title::before{
    content: "01";
}
#contents3 .grid_6:last-of-type .cate_title::before{
    content: "02";
}

#top_cms{
    position: relative;
    z-index: 0;
}
#top_cms .cms_title{
    padding-left: 0;
    margin-bottom: 50px;
}
.cms_title::before{
    display: none;
}
#top_cms .cms_title h2{
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 5px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    color: #5e3e1b;
}
#top_cms .cms_title h2::before{
    position: absolute;
    content: "";
    width: 100vw;
    height: 1px;
    right: 0;
    bottom: 0;
    background-color: #5e3e1b;
}
#top_cms .cms_title p{
    color: #f7a952;
    letter-spacing: 3px;
}

article.width_1280-max .width_1000-max{
    max-width: 2000px;
    padding: 0;
}

#page_title{
    margin-bottom: 50px;
}
#page_title .title_img{
    border-top: solid #fff;
    border-left: solid #fff;
    border-bottom: solid #fff;
    border-width: 20px;
    border-radius: 30px 0 0 30px;
}
#page_title .title_img::before, #page_title .page_box::before{
    display: none;
}
#page_title .page_box{
    margin: 0;
    padding: 30px 60px;
    display: inline-block;
    margin-top: -100px;
    position: relative;
    background-color: #fff;
    border-top-right-radius: 10px;
}
#page_title h2{
    color: #5e3e1b;
    font-weight: bold;
    letter-spacing: 4px;
}
#page_title p{
    letter-spacing: 4px;
    color: #5e3e1b;
    opacity: 0.5;
}

.cate_list li{
    width: auto!important;
    margin: 0;
    padding: 10px;
}

.cate_title span{
    color: #5e3e1b;
    background-image: linear-gradient(to right, #5e3e1b 5px, transparent 5px);
    background-position-x: 0;
    background-position-y: 100%;
    background-size: 12px 2px;
    background-repeat: repeat-x;
    animation: borderB 0.5s linear infinite;
}
@keyframes borderB {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 12px;
    }
}

.pager li{
    margin: 0 5px!important;
}
.pager li a{
    padding: 0!important;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}
.pager li.next a, .pager li.prev a{
    width: 80px;
}

#cms_2-a{
    counter-reset: number 0
}
#cms_2-a .box_title1, .cms_2-a .box_title1{
    position: relative;
    color: #5e3e1b;
}
#cms_2-a .box_title1::before{
    counter-increment: number 1;
    content: "0" counter(number);
    display: block;
    font-size: 40px;
    color: #f5c954;
    line-height: 1;
    margin-bottom: 20px;
}
#cms_2-a .box_title1 span, .cms_2-a .box_title1 span{
    background-image: linear-gradient(to bottom, transparent 50%, #f9f1e8 50%);
}

footer{
    padding-top: 100px!important;
    padding-bottom: 100px!important;
    border-top: solid 1px #eae6e1;
}
footer .footer_cms{
    color: #212121;
    line-height: 1.5;
}

.footer_banner{
    right: 0;
    bottom: 0;
    z-index: 1;
}
.footer_banner a{
    border-top-left-radius: 10px;
    border-left: solid 1px #00b900;
    border-top: solid 1px #00b900;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
header.grid_3{
    border-right: none;
    width: 100%!important;
}
.main_box{
    width: 100%!important;
    margin-left: 0
}
header .head_box #logo{
    padding: 20px 0;
}
header .head_box #logo img{
    max-width: 150px;
}
#main_img{
    border: solid #fff;
    border-top: none;
    border-width: 20px;
    border-radius: 0;
    overflow: inherit;
}
#main_img video{
    border-radius: 0 0 10px 10px;
}
#main_img .catch2 {
    bottom: 0;
    position: relative;
    margin-top: -100px;
}
#contents1, #contents2 .grid_7, #contents3, .top_cms_wrap, footer, article.width_1280-max{
    padding-left: 50px!important;
    padding-right: 50px!important;
}
#contents1 h2 {
    font-size: 24px;
}
#attach {
    height: 300px;
}
#contents2 .grid_7 {
    padding-top: 50px;
}
#contents3{
    padding-bottom: 50px;
}
#contents3 {
    background-size: 1000px 30px;
}
#page_title .page_box {
    padding: 30px 50px;
}
#page_title .title_img{
    border: solid #fff;
    height: 200px;
    border-top: none;
    border-width: 20px;
    border-radius: 0 0 30px 30px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
header .head_box #logo img{
}
.hamburger {
    top: 14px;
}
.button2{
    border-radius: 10px;
}
#main_img, #page_title .title_img{
    border-width: 10px;
    border-radius: 0 0 20px 20px;
}
#main_img .catch2 {
    margin-top: -30px;
}
#contents1, #contents2 .grid_7, #contents3, .top_cms_wrap, footer, article.width_1280-max{
    padding-left: 20px!important;
    padding-right: 20px!important;
}
#contents1 h2 {
    font-size: 22px;
}
#attach {
    height: 200px;
}
#contents2 .grid_7::before {
    width: 450px;
    height: 450px;
    top: -250px;
    left: -200px;
}
#contents3 {
    background-size: 600px 20px;
}
#contents3 .grid_6:last-of-type{
    margin-top: 50px;
}
#contents3 .cate_title::before{
    font-size: 60px;
    top: -50px;
}
#top_cms .cms_title h2{
    font-size: 24px;
}
#page_title .page_box{
    margin-top: -50px;
    padding: 30px 40px;
    padding-left: 20px;
}
#page_title .title_img{
    height: 150px;
}
#page_title h2 {
    letter-spacing: 3px;
    font-size: 24px;
}
.cate_list li{
    width: 100%!important;
    text-align: left;
}
footer{
    padding-top: 20px!important;
    padding-bottom: 20px!important;
}
.footer_banner a{
    border-top-left-radius: 0;
    border-left: none;
}
#copyright{
    padding-bottom: 60px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {

}