﻿/** font **/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Poppins:wght@400;600&display=swap');

:root{
    --font-jp: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: 'Poppins', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
body, .font_sans-serif{
    font-family: var(--font-jp);
}
.font_en, .date, a[href^="tel:"], a[href^="mailto:"], .pager{
    font-family: var(--font-en);
}

/** color **/

:root{
    --color1: #94c660;
    --color1s: #7eaf45;
    --color2: #f7f4f2;
    --color3: #f2cf3d;
    --color3s: #e0b812;
    --color4: #e8e6df;
    --black: #473f33;
    
    --grade: #CEB61C
}

/** other **/

.bg_color3{
    background-image: url('./Dup/img/bg_img6.jpg');
    background-size: 1000px;
}

.button:hover::after {
    box-shadow: inset 0 0 0 15em var(--color3s);
}
.button2{
    border-radius: 50px;
}
.button2:hover {
    box-shadow: none
}

.normal_img img, .rectangle_img, .square_img{
    border-radius: 10px;
}

header{
    background-color: rgba(255,255,255,0.9)!important;
    border-right: solid 1px var(--color4);
}
#main_menu ul li a{
    color: var(--black);
}
#main_menu ul li a:hover{
    color: var(--color1);
}
#main_menu ul li a::before{
    background-color: var(--color1);
}
header .tel_bt a{
    border-color: var(--color4);
}
header .tel_bt a:hover{
    border-color: var(--color3s);
}
header .head_banner a:hover{
    letter-spacing: 4px;
}
header .head_banner a i{
    display: none;
}

#main_img{
    overflow: inherit;
    min-height: inherit;
    max-height: inherit;
    height: calc(100vh - 50px);
}
#main_img #video{
    clip-path: ellipse(100vw 50vw at 50% calc(100% - 50vw));
    height: 100%!important;
}
#main_img .catch{
    z-index: 1;
    left: 50px;
    top: 50px;
}
#main_img .catch2{
    z-index: 1;
    right: 50px;
    bottom: 0;
}
#main_img .catch2 p span{
    background-image: linear-gradient(to right, var(--color1), var(--grade));
}

.con_no{
    font-family: var(--font-en);
}

#contents1{
    background-image: url('./Dup/img/bg_img3.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
#contents1 .con_no{
    font-size: 80px;
    line-height: 1;
    margin-left: -50px;
    color: var(--color4);
}
.con_no::before {
    height: 3px;
}
#contents1 h2{
    font-weight: bold;
}

#contents2{
    background-image: url('./Dup/img/bg_img4.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}
#contents2 > div{
    position: relative;
}
#contents2 .con_no{
    position: absolute;
    top: -140px;
    left: -50px;
    font-size: 80px;
    padding-right: 0;
    line-height: 1;
}
#contents2 .con_no::before{
    display: none;
}
#contents2 h2{
    font-weight: bold;
}
#contents2 figure img{
    box-shadow: 5px 5px 0 var(--color3);
}

#contents3{
    background-image: url('./Dup/img/bg_img1.png'), url('./Dup/img/bg_img2.png'), url('./Dup/img/bg_img5.jpg');
    background-repeat: no-repeat, no-repeat, repeat;
    background-position: bottom, top, top left;
    background-size: 100% 80px, 100% 150px, 1000px;
    padding-bottom: 120px;
}
#contents3 .grid_6:nth-of-type(2){
    margin-top: 0;
}
#contents3 .con_no{
    color: #fff;
    font-size: 50px;
    margin-top: -24px;
    padding-right: 0;
    line-height: 1;
}
#contents3 .con_no::before{
    display: none;
}
#contents3 h3{
    font-weight: bold;
}
#contents3 p{
    margin-top: 20px;
}
#contents3 figure{
    box-shadow: 5px 5px 0 var(--color3);
}

#top_cms > .box{
    padding-top: 100px;
    padding-bottom: 100px;
}
#top_cms > .box:first-of-type{
    padding-top: 50px;
    background-color: var(--color2);
}
#top_cms > .box:not(:first-of-type){
    background: linear-gradient(to bottom, var(--color1), var(--color1)), linear-gradient(to bottom, var(--color4), var(--color4));
    background-repeat: no-repeat;
    background-size: 50px 2px, 100% 1px;
    background-position: top;
}
#top_cms .button{
    border-radius: 50px;
}
#top_cms .cms_title h2{
    color: var(--black);
    font-weight: bold;
    font-size: 30px;
}
#top_cms .cms_title p{
    color: var(--black);
    opacity: 0.5;
    padding-bottom: 0;
    border-bottom: none;
}

#cms_5-c .box_title1::before, .cms_5-c .box_title1::before, #cms_5-c .box_txt1::before, .cms_5-c .box_txt1::before{
    font-family: var(--font-en);
}

#cms_3-b, .cms_3-b{
    counter-reset: number 0;
}
#cms_3-b .cate_box, .cms_3-b .cate_box{
    padding-left: 70px;
    background-image: linear-gradient(to bottom, var(--color1), var(--color1));
    background-repeat: no-repeat;
    background-size: 1px calc(100% - 50px);
    background-position: left 20px bottom 0;
    padding-top: 5px;
}
#cms_3-b .cate_box::before, .cms_3-b .cate_box::before{
    counter-increment: number 1;
    content: "0" counter(number);
    position: absolute;
    font-size: 40px;
    line-height: 1;
    top: 0;
    left: -10px;
    color: var(--color1);
    font-family: var(--font-en);
    width: 60px;
    text-align: center;
}

#page_title .title_img::before{
    background: linear-gradient(to right, var(--color1), var(--grade));
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top;
    opacity: 0.4;
}
#page_title .title_img {
    clip-path: ellipse(100vw 50vw at 50% calc(100% - 50vw));
}
#page_title h2{
    color: var(--black);
    font-weight: bold;
    padding-bottom: 25px;
    background: linear-gradient(to bottom, var(--color1), var(--color1));
    background-repeat: no-repeat;
    background-size: 50px 2px;
    background-position: bottom;
    line-height: 1;
    margin-bottom: 20px;
}
#page_title p{
    margin-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    color: var(--black);
    opacity: 0.5;
}

footer{
    background-color: var(--color2);
    border-top: none!important;
}
footer .button{
    border-radius: 50px;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
header{
    border-right: none;
    border-bottom: solid 1px var(--color4);
}
header #logo{
    max-width: 150px;
}
.hamburger {
    top: 28px;
}
.main_box{
    padding-top: 98px;
}
#main_img {
    height: 80vw;
}
#main_img .catch2{
    right: 20px;
}
#contents3{
    background-size: 100% 8vw, 100% 15vw, 1000px;
    padding-bottom: calc(8vw + 50px);
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
.bg_color3{
    background-size: 500px;
}
header #logo{
    max-width: 100px;
}
.hamburger {
    top: 12px;
}
.main_box{
    padding-top: 68px;
}
#main_img .catch{
    left: 20px;
    top: 20px;
}
#main_img .catch2{
    bottom: -10px;
}
#main_img .catch2 p span{
    padding: 8px;
}
#contents1 {
    background-position: top 0 right 30%;
}
#contents1 .con_no {
    font-size: 30px;
    width: 100%;
    text-align: center;
    margin-left: 0;
    padding-right: 0;
}
#contents1 .con_no::before{
    display: none;
}
#contents1 h2{
    text-align: center;
}
#contents2 {
    background-position: bottom 0 left 30%;
}
#contents2 .con_no {
    top: -195px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 40px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,0,0,0.4);
}
#contents2 h2{
    text-align: center;
}
#contents3{
    background-size: 100% 8vw, 100% 15vw, 500px;
}
#contents3 .grid_6:nth-of-type(2){
    margin-top: 50px;
}
#contents3 .con_no {
    text-align: center;
    width: 100%;
}
#contents3 h3{
    text-align: center;
}
#top_cms .cms_title h2 {
    font-size: 24px;
}
}