﻿
/* ---------- font ---------- */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700&display=swap');

:root{
    --font-jp: 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: 'Jost', 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
body, .font_sans-serif, .font_serif,.nav_tel, .main_page_link_span, .main_img_txt, .main_img_txt2, .contents1_title, .contents1_subtitle, .more_btn, .about_area_title, .contents_no, .contents2_title, .contents3_title, .modal_txt_wrap h2, .top_cms_title, .footer_tel, .footer_mail, #page_title, #page8 #phone a, #page9 h3, #page10 li a{
    font-family: var(--font-jp);
}
.nav_tel, .main_page_link_span, .main_img_txt, .main_img_txt2, .contents1_title, .contents1_subtitle, .more_btn, .about_area_title, .contents_no, .contents2_title, .contents3_title, .modal_txt_wrap h2, .top_cms_title, .footer_tel, .footer_mail, #page_title, #page8 #phone a, #page9 h3, #page10 li a{
    font-weight: 700;
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en);
}

/* ---------- color ---------- */

.linkStyle{color: #004c34;transition: opacity .3s;text-decoration: underline;}
.linkStyle:hover{opacity: 0.7}

:root {
    --normal_color: #517b94;
    --color1: #517b94;
    --color2: #e3e9f1;
    --color3: #517b94;
    --color4: #f8f8f8;
    --black: #517b94;
}
.txt,#wra,.cms_2-f .box_txt1{
	color: var(--normal_color)!important;
}

/* ---------- all ---------- */
/*.wrap_bg {
    background: url(../img/bg1.png) top / cover repeat #f8f8f8;
}*/
#wrap {
    min-width: 1100px;
}
.sns_link a {
    width: 35px;
}
.index .main_header h1{
    max-width: 185px;
}
#menu_bt{
    border-radius: 50% 50% 50% 70% / 50% 50% 70% 60%;
    width: 60px;
    height: 60px;
}
.cms_2-a .box_wrap .cate_box .box_item, .square_img, .rectangle_img, .normal_img img, #video video, .contents2_img,.v_type4 .modal-box{
    border-radius: 20px;
}
#menu_nav .sns_links a {
width: 38px;
}


/* ---------- top ---------- */
.main_header.top {
    background: url(../img/fv_item2.png) right -80px top 59% / 94% no-repeat;
}    

.main_img {
    border-radius: 0 0 92px;
    height: 48vw;
    max-height: 800px;
    min-height: 100%;
    overflow: hidden;
}
.main_img_txt,.main_img_txt2{
    display: none;
}
.fv_item1 {
    bottom: -23px;
    left: 26px;
    width: max(304px, min(30vw, 580px));
}
.fv_txt1 {
    right: 5%;
    top: 15%;
    width: min(51vw, 900px);
    width: max(470px, min(49vw, 900px));
}

.modal_bg {
    background-image: url('../img/modal_bg1.png'),url('../img/modal_bg2.png');
    background-repeat: no-repeat;
    background-position: top left, bottom right;
    background-size: 64%, 64%;
}

.contents1_title {
    line-height: 1.3;
}
.contents2_outer_bg {
    top: -18px;
    height: 78%;
    opacity: 0.6;
    border-radius: 200px 0 0 200px;
}
.contents3_outer_bg {
    top: -18px;
    height: 70%;
    opacity: 0.6;
    border-radius: 0 200px 200px 0;
}
.more_btn {
    padding: 15px;
    border-radius: 50px;
}

.cms_2-f .box_wrap {
    box-shadow: rgba(0, 0, 0, 0) 0px 5px 15px 0px;
    border-radius: 20px;
}
.cms_2-a .flex_top-left{
    align-items: stretch!important;
}
.cms_6-c .cate_box{
    border-radius: 5px;
}

.about_area_title {
    background: url(../img/title_item.png) center top / 178px no-repeat;
    padding-top: 119px;
}


/* ---------- under ---------- */
#page_title{
    margin-bottom: 100px;
}
#page_title .title_box{
    border: none;
    top: 54%;
}
#page_title::before{
        background: rgb(111 111 111 / 20%);
}
.sub_page .main_header{
    padding: 20px;
}

.cms_2-a .box_title1 {
    border-bottom: 2px dotted;
}
.cms_2-a .box_img1 {
    width: 80% !important;
    margin: 0 auto 13px;
}

#page9{
    margin-bottom: 50px;
}

.mail_con_bnr{
    max-width: min(90%, 300px);
    margin: 19px auto 50px;
}
.footer_item .mail_con_bnr{
max-width: min(90%, 258px);
    margin: 28px 0 50px;
}



/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
#wrap {
    min-width: 100%;
}
.main_header.top{
    background: none;
}
#menu_bt {
    top: 16px;
}
.fv_item1{
    left: 26px;
    width: min(37vw, 700px);
}
.main_img {
    height: 54vw;
}

.fv_txt1 {
    right: 30px;
    top: 13%;
    width: min(61vw, 900px);
}
.about_area_title{
    background-size: 135px;
    padding-top: 90px;
    margin-bottom: 0;
}
#page_title{
    margin-bottom: 50px;
}
}

/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
.index #menu_bt, .sub_page #menu_bt {
    top: 12px;
    width: 50px;
    height: 50px;
}
.main_img {
    border-radius: 0 0 92px;
    height: 497px;
    max-height: 100%;
}
.main_img::before{
content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.23) 31%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.5;
}
.fv_item1 {
    bottom: 0;
    left: 48%;
    width: min(73vw, 700px);
    transform: translate(-50%, 0);
}
.fv_txt1 {
    right: auto;
    left: 48%;
    top: 2%;
    width: 94%;
    transform: translate(-50%, 0);
}
.fv_txt2{
    left: 48%;
    bottom: 4%;
    transform: translate(-50%, 0);
    width: min(90vw, 900px);
    z-index: 2;
}

#about_area{
    padding-top: 50px;
}

.cms_2-a .flex_top-left{
    padding: 0;
}
.cms_2-a .box_wrap .cate_box .box_item{
    border-radius: 9px!important;
}
.cms_2-a .box_wrap .cate_box .box_item{
    padding: 20px;
}
.cms_2-a .cate_box {
    margin-top: 20px;
    width: 100% !important;
}

#about_area{
    padding-top: 50px;
}
#slideshow_area{
    padding: 50px 0 87px;
    margin-bottom: 0;
}
#page_title .title_box {
    width: 95% !important;
}
}



/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 9px;
    right: 67px;
    z-index: 10;
    width: 70%;
    max-width: 379px;
    transition: 0.5s;
    opacity: 1;
}
#fix_bnr.scroll{
    opacity: 1;
    max-width: 330px;
}
#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}
#fix_bnr img{
    animation: cta_style7 2s ease-out infinite;
}
@keyframes cta_style7 {
  0%, 40%, 60%, 80% {transform: scale(1.0);}
  50%, 70% {transform: scale(0.95);}
}
@media screen and (max-width: 768px){
#fix_bnr.close{
    transform: translateX(200px);
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 65% !important;
    right: 0;
    left: 0;
    margin: auto;
    bottom: -4px;
    opacity: 0;
}
#fix_bnr.scroll{
    opacity: 1;
}
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/
