﻿/* all page */
/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');
.font_maru, header #header .top_nav li a span, .main_img_wrap .catch span, .menu .nav1, .menu .nav2, #contents .box h3 span, #top_cms .cms_title p span, .top_cms_box .more_box .more div, .other .box_title, .other .box_title2, .bottom_menu li a span, footer #copyright, #page_title, .cate_list li a, .cate_list li .cate_no, .cate_title, .sub_cate_title, .box_title, .box_title1, a[href^="tel:"], .pager li a {
    font-family: 'Zen Maru Gothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro," メイリオ", Meiryo, Osaka," ＭＳ Ｐゴシック", MS PGothic," sans-serif";
}

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #160a0a;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
.txt_color1, .hvr_txt_color1:hover{color: #003c61;}
.txt_color2, .hvr_txt_color2:hover{color: #e6e6e6;}

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: #003c61;}
.bg_color2, .hvr_bg_color2:hover{background-color: #efe2be;}

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: #003c61;}
.border_color2, .hvr_border_color2:hover{border-color: #e6e6e6;}

#loading_line .line {background-color: #efe2be;}
#loading_logo {max-width: 300px;}
body, .main_wrap, #contents, .all_page{
    background-image: url('./Dup/img/bg.jpg');
    background-size: 100%;
    background-position: top center;
}
.svg_box, #top_cms .line, .all_page:before{display: none;}

/* header */
.logo {transition: 0.3s;}
.menu{background-color: transparent;}
.menu.is-fixed{background-color: #efe2be;}

/* footer */
footer {
    background-color: #efe2be;
    border-radius: 30px 30px 0 0;
}
#footer p, #footer .footer_cms, #footer #copyright{color: #111;}
#footer {position: relative;}
#footer .logo {
    width: 80%!important;
}


/* top ----------------------------------------------------------------*/

/* main img */
.main_img_wrap{background: none;}
.top_nav ul li a {color: #003c61;}
.top_nav ul li a:hover {color: #d9b656;}
.main_txt{
    width: 50%;
    max-width: 900px;
    margin-top: 255px;
}
.main_logo_wrap{
    width: 80%;
    max-width: 1000px;
}
.main_logo{
    width: 100%;
}
.ani_fadein{
	display: none;
	animation: In 2s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
opacity: 0;
animation-delay: 0.3s;
}
@keyframes In {
  0% {
    opacity: 0;
    transform: translate(-50%,-50%) scale(0.95);
  }
  40% {
    transform: translate(-50%,-50%) scale(1.0);
  }
  100% {
    opacity: 1;
  }
}
.top_banner {
    bottom: 50px;
    left: 20px;
    max-width: 400px;
}
.main_tf{
    width: 100%;
    height: 100vh;
    display: block;
}
.main_tf::before {
	position: absolute;
	content: "";
	top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 252px;
	background-image: url("./dup/img/main_tf.png");
	background-size: auto 100%;
	background-position-y: 0;
	background-position-x: 0;
	background-repeat: repeat-x;
	animation: loop 30s linear infinite;
	opacity: 0.5;
}
@keyframes loop {
	0% {background-position-x: 0;}
	100% {background-position-x: -1000px;}
}

/* main */

/* contents */
#contents .box_wrap > div {
    display: grid;
    grid-template:
        "post01 post02" max-content
        "post03 post03" max-content;
    position: relative;
}
#contents .box_wrap .box1 {
    grid-area: post01;
    width: 92.30769%;
}
#contents .box_wrap .box2 {
    grid-area: post02;
    width: 92.30769%;
    margin-top: calc(220*1em/16);
    justify-self: end;
}
#contents .box_wrap .box3 {
    grid-area: post03;
    width: 46.15385%;
    justify-self: center;
}
#contents .box figure, #contents .box .txt_wrap {
    width: 100%;
}
#contents .box figure:after {
    width: 100%;
    height: 100%;
    z-index: -3;
    border: none;
    background-color: #bf9d74;
}
#contents .box:nth-child(even) figure:after {
    left: auto;
    right: -5%;
    bottom: -10%;
    -moz-transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}
#contents .box:nth-child(odd) figure:after {
    right: auto;
    left: -5%;
    bottom: -10%;
    -moz-transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

#contents .modal_bt {
    cursor: pointer;
    border-radius: 45px;
    width: 250px;
    box-sizing: border-box;
}
#contents .modal_bt::before, #contents .modal_bt::after, #contents .modal_box .btn_close::before, #contents .modal_box .btn_close::after {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 1px;
    background-color: #333;
    margin: auto;
    content: '';
}
#contents .modal_bt::before, #contents .modal_bt::after {
    right: 20px;
    width: 14px;
}
#contents .modal_bt::before {transform: rotate(90deg);}
#contents .modal_bg {
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 15;
}
#contents .modal_box {
    max-height: 80%;
    overflow-y: auto;
    z-index: 10;
}
#contents .modal_box .btn_close {
    box-sizing: border-box;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 100px;
    cursor: pointer;
    transition: transform 0.2s ease-in;
    z-index: 1;
}
#contents .modal_box .over_box {
    padding: 0 20px 50px 40px;
    height: 335px;
    overflow: auto;
}
#contents .modal_box .btn_close::before, #contents .modal_box .btn_close::after {
    left: 0;
    right: 0;
    width: 45px;
}
#contents .modal_box .btn_close::before {transform: rotate(45deg);}
#contents .modal_box .btn_close::after {transform: rotate(-45deg);}
#contents .box:nth-child(odd) .modal_box figure:after, #contents .box:nth-child(even) .modal_box figure:after{display: none;}

/*--- scrollbar ------------------------------------*/
#contents .modal_box .over_box::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}
#contents .modal_box .over_box::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: 0 0 4px #aaa inset;
}
#contents .modal_box .over_box::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #333;
}

/* topcms */
#top_cms {
    background-color: #fff;
    width: 90%;
    margin: 100px auto;
    border-radius: 100px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 8px 10px 0px inset;
}
#top_cms .top_cms_wrap {
    padding-top: 100px;
    padding-bottom: 100px;
}
#top_cms:before{display: none;}
#top_cms .top_cms_box:nth-of-type(4) {
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.top_cms_box:nth-of-type(4):before{
    display: none;
}
.top_cms_box .more_box .more {
    border-radius: 100px;
}

.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}

/* under page ----------------------------------------------------------------*/
.img-container:before{background: #efe2be;}
#title_img span {background-position: bottom;}
.all_page .menu {padding-top: 50px;}
.all_page .menu.is-fixed {padding-top: 20px;}
.page_title_box p {
    filter: drop-shadow(3px 3px 0px #fff);
    color: #003c61;
}
.cate_list li {
    text-align: left;
}

/* cms1 */

/* cms2 */

/* cms3 */

/* cms4 */

/* cms5 */

/* page7 */
#page7 .box_item h3{
    letter-spacing: 1px;
}


/* ---------- 1536px ---------- */
@media screen and (max-width: 1536px){

}
/* ---------- 1366px ---------- */
@media screen and (max-width: 1366px){

}
/* ---------- 1000px ---------- */
@media screen and (max-width: 1000px){
header .logo {width: 30%;}
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.main_logo_wrap {width: 90%;}
.main_txt {
    width: 60%;
    margin-top: 175px;
}
.top_banner {
    max-width: 350px;
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#loading_logo {width: 40%;}
.top_banner {
    max-width: 240px;
    bottom: 2vh;
    left: 10px;
}
.main_txt {
    width: 80%;
    margin-top: 105px;
}
#contents .box_wrap > div {
    grid-template:
        "post01" max-content
        "post02" max-content
        "post03" max-content;
}
#contents .box_wrap .box1, #contents .box_wrap .box2, #contents .box_wrap .box3 {width: 100%;}
#contents .box_wrap .box2 {
    margin-top: 50px;
    flex-direction: column;
}
#contents .modal_box .btn_close{top: 0px; right: 5px;}
#contents .modal_box .btn_close::before, #contents .modal_box .btn_close::after{width: 34px;}
#contents .modal_box .over_box {
    padding: 30px 10px 0;
    height: 100%;
    overflow: visible;
}
#contents .modal_box .over_box_wrap::after{display: none}
#contents .modal_bt{width: 100%;}
#top_cms {
    margin: 50px auto;
    border-radius: 50px;
}
#top_cms .top_cms_wrap {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* under page ---------*/
.page_title_box p {filter: none;}

}

#title_img span {
    background-position: top 20% left 50%;
}



