﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700&display=swap');

#main_img .txt, #page_title, #f_contact .con_txt, #intro h2, #contents1 h2, #contents2 h2, #top_cms h2, #top_info h2, #f_contact .con_bt, .more_bt a, #top_info .more_bt2 a{ font-family: 'Zen Maru Gothic',"游ゴシック体","游ゴシック","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic","Helvetica Neue",Helvetica,Arial,sans-serif!important; font-weight: 900!important;}
#main_img h2 {font-weight: 500!important;}


/* ======================================================================================
　　color
======================================================================================== */
.linkStyle{color: #7cbbe3;transition: opacity .3s;text-decoration: underline;}
.linkStyle:hover{opacity: 0.7}


/* ======================================================================================
　　all
======================================================================================== */

/* ---------- header ---------- */
#pc_nav.modalset {
    display: none;
}

/* ---------- footer ---------- */
#bottom_menu {
    background-color: #4ae;
}


/* ======================================================================================
　　top
======================================================================================== */

/* ---------- main_img ---------- */ 
#main_img::before {display: none;}
#main_img {
    background-image: url(../dup/img/main_img.jpg);
    background-size: cover;
    background-position: center;
}
.main_item {
    z-index: 3;
    right: 0;
    bottom: -32px;
    width: 53%;
    max-width: 1500px;
}
#main_img .txt {
    top: 40%;
}
#main_img h2.txt_white {
    font-size: 4vw;
    margin-bottom: 33px;
    text-shadow: 2px 2px 21px rgb(0 0 0 / 50%);
}
#main_img p.txt_white {
    font-size: 16px;
    text-shadow: 2px 2px 21px rgb(0 0 0 / 50%);
    font-weight: 500;
}

.modal_btn {
    cursor: pointer;
    margin-top: 25px;
    padding: 5px 10px;
    border: 2px solid;
    border-radius: 5px;
    width: 200px;
    text-align: center;
}
.modal_btn:hover {
    opacity: 0.5;
}
.modal_area {
    z-index: 3;
}
html.modalset{
	overflow: hidden;
}
.modal_area .box_item{
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border: solid 2px #d1be8f;
    border-radius: 20px;
	cursor: pointer;
}
.modal_area .box_item:hover{
    box-shadow: none;
    border: solid 2px #265e3e;
}
.modal_area .box_title2, .modal_area .box_txt1{
    border-top: 1px solid #edede6;
}
.modal .box_title2{
	border-top: none;
}
.modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	line-height: 1.7;
}
.modal-wrap {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 20px;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
}
.modal-wrap::-webkit-scrollbar {
	display: none;
}
.modal-wrap:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
}
.modal-bg{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
}
.modal-box {
    width: 90%;
    max-width: 900px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 10px;
    padding-bottom: 23px;
    background-color: #fff;
}
.modal-box .inner{
	max-height: 650px;
    overflow: auto;
	-ms-overflow-style: none;
}
.modal-box .inner::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}
.modal-box .inner::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: 0 0 4px #aaa inset;
}
.modal-box .inner::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #333;
}
.modal-box .modal-close{
	cursor: pointer;
	position: absolute;
    top: 19px;
    right: 25px;
}
.modal_img{
    max-width: 600px;
}
.modal_title1{
	padding-top: 60px;
}
.modal_title1:before{
	content: "";
	display: block;
	background-color: #666; 
	width: 1px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 2px;
}
.modal_title1 span{
	transform: rotate(90deg);
	display: block;
	line-height: 1;
}
@media screen and (max-width: 667px){
.modal-box .modal-close {
    top: 6px;
    right: 19px;
}
.modal-box .inner{
    max-height: 500px;
}
}

/* ---------- intro ---------- */
#intro {overflow: hidden;}
#intro .after {
    top: -50%;
    left: -34%;
    width: 60%;
    height: 200%;
    position: absolute;
    z-index: 1;
    -webkit-transform: skewX(-26.35deg);
    transform: skewX(-26.35deg);
}
#intro .bg_box {
    left: auto;
    right: 0;
    height: 100%;
}
#intro .intro_bg {
    display: none;
}
.intro_img {
    position: absolute;
    right: 5%;
    bottom: 0;
    max-width: 800px;
}
.title_sub {
    display: inline-block;
    padding-bottom: 5px;
    width: 100%!important;
}
.item3 {
    z-index: -1;
    height: 90%;
    bottom: 0;
    right: 0;
    opacity: 0.3;
}
.item3 img {
    width: auto;
    height: 100%;
}
/* ---------- contents ---------- */
#contents1 {padding-top: 0;}
#contents2 .contents2_bg::before {
    opacity: 0.5;
    background-color: #0567aa;
}
#contents1 .more_bt{
    margin: 0;
    margin-top: 50px;
}
#contents1 .more_bt a {
    background-color: #7cbbe3;
    color: #fff;
}
#contents1 .more_bt a:hover {
    transform: translateY(-8px);
}

.video_wrap{margin: 150px auto 0;}
.video_box {
    position: relative;
    padding-bottom: 32.25%;
    height: 0;
    overflow: hidden;
    width: 49.66667%!important;
    margin: auto;
}
.video_box video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ======================================================================================
　　under
======================================================================================== */
#page_title::before {
    background: rgb(64 64 64 / 30%);
}
#f_contact::before {
    background-color: transparent;
}


/* ======================================================================================
　　window size
======================================================================================== */

@media screen and (max-width: 1461px){
#intro .after {
    left: -45%;
    width: 84%;
}
}
@media screen and (max-width: 1080px){
#intro .after {
    width: 84%;
    -webkit-transform: skewX(-23.35deg);
    transform: skewX(-23.35deg);
}
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#main_img {
    height: 834px!important;
}
#main_img .txt {
    top: 22%;
}
#main_img h2.txt_white {
    font-size: 44px;
    margin-bottom: 33px;
}
#main_img p.txt_white {
    font-size: 16px;
    font-weight: normal;
}
.main_item {
    bottom: -31px;
    width: 83%;
}

#intro {
    padding-bottom: 0;
}
#intro .bg_box {
    height: 50%;
    top: auto;
    bottom: 0;
}
#intro .after {
    width: 207%;
    -webkit-transform: skewX(-23.35deg);
    transform: skewX(-81.35deg);
    height: 100%;
    top: -50%;
}
.intro_txt {
    padding-bottom: 50px;
}
.intro_img {
    position: static;
    max-width: 800px;
    width: 67.33333%!important;
}
.item3 {
    width: 13%;
    height: auto;
}
.item3 img {
    width: 100%;
    height: auto;
}
#contents1 {
    padding-top: 77px;
}
#page10 .more_bt2 {
    width: 80%!important;
}
.video_box {
    position: relative;
    padding-bottom: 49.25%;
    height: 0;
    overflow: hidden;
    width: 77.66667%!important;
    margin: auto;
}
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
html {
    font-size: 16px;
}
.font_24_sp {
    font-size: 21px;
}
#main_img {
    height: 624px!important;
}
.main_item {
    bottom: -15px;
    width: 97%;
}
#main_img .txt {
    width: 89%!important;
}
#main_img h2.txt_white {
    font-size: 26px;
    margin-bottom: 22px;
}
#main_img p.txt_white {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 1px;
}
#intro .bg_box {
    height: 28%;
}
.intro_img {
    width: 84.33333%!important;
}
.intro_txt {
    padding-bottom: 0;
}
#page10 .more_bt2 {
    width: 100%!important;
    margin-left: 0;
    margin-right: 0;
}
#page10 .more_bt2 a {
    letter-spacing: 1px;
}
.video_wrap {
    margin: 116px auto -17px;
}
.video_box {
    padding-bottom: 55.25%;
    width: 87.66667%!important;
}
}



/* fix_bnr */
#fix_bnr {
    bottom: 12px;
    left: 18px;
    z-index: 99;
    width: 32%;
    max-width: 416px;
    transition: 0.5s;
    opacity: 0;
}
#fix_bnr.scroll{
    width: 26%;
    max-width: 364px;
    opacity: 1;
}
#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}
@media screen and (max-width: 768px){
#fix_bnr {
    width: 50%!important;
    opacity: 0;
    max-width: 364px;
}
#fix_bnr.scroll {
    opacity: 1;
}
#fix_bnr.close{
    transform: translateX(-500px);
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 69%!important;
    right: 0;
    left: -5px;
    bottom: 0;
}
}


/* Firefox */
@-moz-document url-prefix() {
.intro_img {
  right: 9%;
  max-width: 761px;
}
}

