﻿@font-face {
font-family: "utsukushi";
  src: url("./Dup/img/utsukushi.otf") format("otf"),url("./Dup/img/utsukushi.woff") format("woff"),url("./Dup/img/utsukushi.woff2") format("woff2");
}
.font1{font-family: "utsukushi","serif";}
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
.intro_right,.intro_right > div,footer.bg_color2{position: relative;}
/*リピートなし*/
.intro_right:before,.intro_right:after,.intro_right > div:before,#contents .con_img:before,#contents .con_img:after,
#page_title:before,footer.bg_color2:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

.intro_right > div:before{
background-image: url(./Dup/img/frame1.png);
background-size: 100% 100%;
width: 101%;
height: 101%;
top:50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
.intro_right:before{
background-image: url(./Dup/img/obj2.png);
width: 200px;
height: 275px;
top: 80px;
left: -20px;
z-index: 1;
}
.intro_right:after{
background-image: url(./Dup/img/obj2.png);
width: 200px;
height: 275px;
bottom: 80px;
right: -20px;
transform: scale(-1, -1);
z-index: 1;
}

#contents .con_img:before{
background-image: url(./Dup/img/frame2-1.png);
background-size: 100% 100%;
width: 66.7%;
height: 101%;
top: 0;
left: 0;
}
#contents .con_img:after{
background-image: url(./Dup/img/frame2-2.png);
background-size: 100% 100%;
width: 33.5%;
height: 101%;
top: 0;
right: 0;
}

#page_title:before{
background-image: url(./Dup/img/obj1.png);
width: 200px;
height: 275px;
bottom: -150px;
left: 10px;
z-index: 1;
}
footer.bg_color2:before{
background-image: url(./Dup/img/obj2.png);
width: 200px;
height: 275px;
top: -170px;
right: 10px;
transform: scale(-1, -1);
z-index: 1;
}
/*--------------------------------
全体
--------------------------------*/
#wrap{overflow: hidden;}
#pc_nav{background-image: url(./Dup/img/bg.jpg);}
#pc_nav li:nth-last-of-type(2) a{padding-bottom: 0;}
#pc_nav li:last-of-type a{padding-top: 0;}
#pc_nav li a.txt_white{color: #333;}
header .nav_bg{border-radius: 10px;}
#menu_stick.trans span.stick::before, #menu_stick.trans  span.stick::after{background-color: #10acb5;}
.banner p{width: 80px;position: fixed;right: 20px;z-index: 9;}
.banner p:nth-of-type(1){top:120px;}
/*
.banner p:nth-of-type(2){top:220px;}
.banner p:nth-of-type(3){top:320px;}
.banner p:nth-of-type(4){bottom:100px;}
.top .banner p:nth-of-type(4){width: 150px;bottom:0;}
*/
.banner p:nth-of-type(2){
width: 300px;
bottom: -2px;
right: 120px;
}
.top .banner p:nth-of-type(2){
bottom: 20px;
right: 20px;
}

.more a.txt_white{ color: #333;}
.more a::before,.more a::after{border-color: #10acb5;}
.more a:hover::before,.more a:hover::after{border-color: #e49e00;}
/*--------------------------------
TOP
--------------------------------*/
.head_logo{
position: absolute;
top: 20px;
left: 20px;
}
#pp-nav.right{right: auto;left: 44px;}

.custom_title{
bottom: 5%;
left: 3%;
max-width: 800px;
width: clamp(420px,44vw,800px);
z-index: 1;
}
.custom_img{
bottom: 0;
left: 0;
}

#intro .intro_right > div{height: 100%;}

#contents .con_bg,footer .footer_bg,footer.bg_color2{
background-image: url(./Dup/img/bg.jpg);
background-size: 100%;
}
.con_title{color: #50aab9;}
#contents .con_box1::before{background-color: #00bec8;}

.cms_box .cms_2-c .cate{
width: 30%;
padding: 10px;
box-sizing: border-box;
}

/* topお知らせ */
.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
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/
#page_title .title_wrap p{    height: 60px;}
.pager li a.bg_color2{background-color: #edf6f8;}
.pager li a.bg_color2:hover{background-color: #91ebf0;}

/* 5-c QA削除 */
#cms_5-c .box_title1::before,#cms_5-c .box_txt1::before,
.cms_5-c .box_title1::before,.cms_5-c .box_txt1::before{
display: none;
}
#cms_5-c .box_title1,#cms_5-c .box_txt1,
.cms_5-c .box_title1,.cms_5-c .box_txt1{
padding-left: 0;
}


/*IEのみ*/
@media all and (-ms-high-contrast: none) {}

/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#menu_stick, header .nav_bg{
top: 10px;
right: 10px;
width: 70px;
height: 70px;
}
.banner p{width: 70px;right: 10px;}
.banner p:nth-of-type(1){top: 85px;}
/*
.banner p:nth-of-type(2){top: 180px;}
.banner p:nth-of-type(3){top: 270px;}
.banner p:nth-of-type(4),.top .banner p:nth-of-type(4){width: 70px;bottom: auto;top: 360px;right: 0;}
*/
.banner p:nth-of-type(2){
width: 250px;
right: 65px;
}
.top .banner p:nth-of-type(2){width: 250px;}


/*.custom_box{background-position: -450px center;}*/
.custom_box{background-position: center center;}
.custom_title{
width: 100%;
max-width: 500px;
left: 0;
}

.intro_right:before{
width: 150px;
height: 206px;
top: 0px;
left: 50px;
}
.intro_right:after{
width: 150px;
height: 206px;
bottom: 0px;
right: 50px;
transform: scale(-1, -1);
}

#contents .con_img:before{
background-image: url(./Dup/img/frame3.png);
background-size: 100% 100%;
width: 101%;
height: 101%;
top:50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
#contents .con_img:after{display: none;}

#page_title:before{
width: 100px;
height: 137px;
bottom: -80px;
left: 10px;
}
footer.bg_color2:before{
width: 100px;
height: 137px;
top: -80px;
right: 10px;
}

}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#menu_stick, header .nav_bg{
top: 10px;
right: 5px;
width: 50px;
height: 50px;
}
#pc_nav ul{padding-top: 25px;}
header .nav_bg{border-radius: 5px;}
.banner p{width: 50px;right: 5px;}
.banner p:nth-of-type(1){top: 65px;}
/*
.banner p:nth-of-type(2){top: 120px;}
.banner p:nth-of-type(3){top: 180px;}
.banner p:nth-of-type(4),.top .banner p:nth-of-type(4){width: 50px;top: 240px;right: 0;}
*/
.banner p:nth-of-type(2){
width: 200px;
bottom: 10px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
.top .banner p:nth-of-type(2){width: 200px;bottom: 10px;}

/*.custom_box{background-position: -520px center;}*/
.custom_title{max-width: 350px;}

.intro_right:before{
width: 70px;
height: 96px;
top: -10px;
left: 20px;
}
.intro_right:after{
width: 70px;
height: 96px;
bottom: -10px;
right: 20px;
}

.cms_box .cms_2-c .cate{width: 100%;margin-bottom: 50px;}

}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #64cde6; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #64cde6;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #10acb5;}
.bg_color2 .linkStyle{color: #64cde6;}
.bg_color3 .linkStyle{color: #e49e00;}
.bg_color4 .linkStyle{color: #f0cd87;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------カラー--------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #32dce6;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #d7ebf0;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #e6c84b;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #f5f0dc;} /* アクセントカラー2 */

/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: white;} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: black;} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #91ebf0;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #d7ebf0;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #fffaaa;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #f5f0dc;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}


/* border-color ※!important */
.border_color1,.hvr_border_color1:hover{border-color: #91ebf0;}
.border_color2,.hvr_border_color2:hover{border-color: #d7ebf0;}
.border_color3,.hvr_border_color3:hover{border-color: #fffaaa;}
.border_color4,.hvr_border_color4:hover{border-color: #f5f0dc;}
