﻿/* all page */
/*fonts*/

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #005379;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
.txt_color1, .hvr_txt_color1:hover{color: #005379;}
.txt_color2, .hvr_txt_color2:hover{color: #5a5a5a;}
.txt_color3, .hvr_txt_color3:hover{color: #f57f40;}
.txt_color4, .hvr_txt_color4:hover{color: #f3f3f3;}

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: #005379;}
.bg_color2, .hvr_bg_color2:hover{background-color: #e3e3e3;}
.bg_color3, .hvr_bg_color3:hover{background-color: #f57f40;}
.bg_color4{background-color: #f3f3f3;}
.hvr_bg_color4:hover {background-color: #f57f40;}
.bg_color5 {background-color: #f3f3f3;}

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: #005379;}
.border_color2, .hvr_border_color2:hover{border-color: #5a5a5a;}
.border_color3, .hvr_border_color3:hover{border-color: #f57f40;}
.border_color4, .hvr_border_color4:hover{border-color: #f3f3f3;}

#body{
    overflow: hidden;
}

.menu_btn span {background-color: #122a88;}
.pagetop {z-index: 10;}

.banner_fixed {
    position: fixed;
    bottom: 20px;
    right: 100px;
    z-index: 5;
	-webkit-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
    max-width: 230px;
}
.banner_fixed a:hover{
    opacity: 0.7;
}
/* header */

/* top ----------------*/

/* main img */
#main_img{position: relative;}
#main_img::before,#main_img::after,#con3::before{
    content: "";
    background-repeat: no-repeat;
    background-size: 100%;
	position: absolute;
}
#main_img::before {
    background-image: url(./Dup/img/hobby.png);
    background-position: bottom left;
    width: 200px;
    height: 320px;
    bottom: -5%;
    left: 2%;
}
#main_img::after {
    background-image: url(./Dup/img/hobby2.png);
    background-position: bottom right;
    width: 340px;
    height: 300px;
    bottom: -4%;
    right: 1%;
}

/* main */

/* intro */
.con1_squ{z-index: 1;}
#con1 .topimg2 {width: 80%;}
#con1 .topimg2 img, #con1 .topimg3 img {border-radius: 20px;}
#con1 .topimg3 {
    width: 50%;
    margin: -100px 0px 0px auto;
}
.topTxt1 .arrow {left: 10%;}

/* contents */
#con3{
    position: relative;
}
#con3::before{
    background-image: url('./Dup/img/hobby3.png');
    background-position: top right;
	width: 330px;
    height: 330px;
    top: -10px;
    right: 20%;
}
#con3 .title{
    position: relative;
    z-index: 2;
}

#con3 .title .en {
    font-size: 50px;
    color: #f57f40;
    font-weight: bold;
}
html.modalset{
	overflow: hidden;
}
#con3 .box_item {
    cursor: pointer;
    background: linear-gradient(135deg, transparent 8px, #005379 0) top left,linear-gradient(-135deg, transparent 8px, #005379 0) top right,linear-gradient(-45deg, transparent 8px, #005379 0) bottom right,linear-gradient(45deg, transparent 8px, #005379 0) bottom left;
    background-repeat: no-repeat;
    background-size: 60% 60%;
}
#con3 .box_item figure{
    border-radius: 100%;
}
#con3 .box_item:hover {
    transform: scale(1.02);
    filter: drop-shadow(5px 5px 0px #f57f40);
}
#con3 .plus {
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 45px;
}
#con3 .box_title2, #con3 .box_txt1{
    border-top: 1px solid #edede6;
}
#con3 .modal .box_title2{
	border-top: none;
}
#con3 .modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	line-height: 1.7;
}
#con3 .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;
}
#con3 .modal-wrap::-webkit-scrollbar {
	display: none;
}
#con3 .modal-wrap:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
}
#con3 .modal-bg{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
}
#con3 .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;
}
#con3 .modal-box .inner{
	max-height: 650px;
    overflow: auto;
	-ms-overflow-style: none;
}
#con3 .modal-box .inner::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}
#con3 .modal-box .inner::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: 0 0 4px #aaa inset;
}
#con3 .modal-box .inner::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #333;
}
#con3 .modal-box .modal-close {
    cursor: pointer;
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
}
#con3 .modal_img{
    max-width: 600px;
}
#con3 .modal_title1{
	padding-top: 60px;
}
#con3 .modal_title1:before{
	content: "";
	display: block;
	background-color: #666; 
	width: 1px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 2px;
}
#con3 .modal_title1 span{
	transform: rotate(90deg);
	display: block;
	line-height: 1;
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#con3 .modal-box .modal-close {
    top: 15px;
    right: 10px;
    width: 40px;
    z-index: 3;
}
#con3 .modal-box .inner{
    max-height: 500px;
}
}


/* topcms */


/* footer */
.footer_contact .f_contact_box h4{margin-bottom: 20px;}
.footer > p{text-align: center;}
.footer > p, .footer li i, .footer li a{
    color: #005379;
}

/* under page */
.pagetitle {
    padding-top: 200px;
    padding-bottom: 80px;
    /*background: none;*/
}
.pagetitle_img{
    background-repeat: no-repeat;
    background-size: cover;
    /*opacity: 1;*/
    /*mix-blend-mode: unset;*/
}
.pagetitle h2 {
    color: #005379;
    font-weight: bold;
}
.pagetitle p {
    font-weight: bold;
    color: #f57f40;
}
.cate_list li a:hover{
    background-color: #f57f40;
    border: 1px solid #f57f40;
    color: #fff;
}
.cate_list li a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px;
    font-weight: bold;
}

/* cms1 */

/* cms2 */

/* cms3 */

/* cms4 */

/* cms5 */

/* page7 */

/* page8 */

/* page9 */

/* page10 */


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.logo1 {max-width: 100px;}
.logo2 a {max-width: 150px;}
#main_img::before {
    width: 130px;
    height: 250px;
    bottom: -9%;
    left: 1%;
}
#main_img::after {
    width: 260px;
    height: 280px;
    bottom: -24%;
    right: 0;
}
#con3::before {
    width: 280px;
    height: 290px;
    top: -10px;
    right: 2%;
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.banner_fixed {max-width: 200px;}
.logo1 {
    max-width: 80px;
    padding: 10px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 30px;
}
#main_img::before {
    width: 80px;
    height: 180px;
}
#main_img::after {
    width: 170px;
    height: 250px;
    bottom: -10%;
    right: -8%;
}
#con3::before {
    width: 210px;
    height: 210px;
    right: -10%;
    z-index: 1;
}
.footer_contact .f_contact_box h4 {font-size: 40px;}
.pagetitle {
    padding-top: 150px;
    padding-bottom: 80px;
}

}

/*20221028公開後修正*/
#map .ggmap {
    position: relative;
    padding-bottom: 350px;
    height: 0;
    overflow: hidden;
}
#map .ggmap iframe, #map .ggmap object, #map .ggmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*20221122動画追加*/
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#main_img .catch{top: 60%;}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#main_img .catch{top: 65%;}

}




