﻿/* all page */
/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');
h2, h3, h4 {
    font-family: 'Zen Maru Gothic', sans-serif;
}

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #f68434;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
.txt_color1, .hvr_txt_color1:hover{color: #f68434;}
/*.txt_color2, .hvr_txt_color2:hover{color: #e6e6e6}*/
.txt_color3, .hvr_txt_color3:hover{color: #f6f4eb;}
.txt_color4, .hvr_txt_color4:hover{color: #c9baa9}

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: #f68434;}
/*.bg_color2, .hvr_bg_color2:hover{background-color: #e6e6e6}*/
.bg_color3, .hvr_bg_color3:hover{background-color: #f6f4eb;}
.bg_color4, .hvr_bg_color4:hover{background-color: #c9baa9}

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: #f68434;}
.border_color2, .hvr_border_color2:hover{border-color: #ffd439;}
.border_color3, .hvr_border_color3:hover{border-color: #f6f4eb;}
.border_color4, .hvr_border_color4:hover{border-color: #c9baa9}

.bg_color3, #top_cms{
    background-image: url('./Dup/img/bg.jpg');
    background-position: top left;
    background-size: auto;
    background-repeat: repeat;
}
#wrap .toppage{
    background-image: url('./Dup/img/tatami.png');
    background-position: top left;
    background-size: auto;
    background-repeat: repeat;
}

/* header */

/* top ----------------*/
#top_news, #top_contents3{
    position: relative;
    background-image: url('./Dup/img/kumo_r.png'), url('./Dup/img/kumo_l.png');
    background-position: top 20px right -20px,bottom 180px left -20px;
    background-size: 380px;
    background-repeat: no-repeat;
}
#top_contents3::before, #top_contents3::after{
    content: "";
    background-size: 100%;
    background-repeat: no-repeat;
    height: 200px;
    position: absolute;
}
#top_contents3::before{
    background-image: url('./Dup/img/hana.png');
    background-position: top right;
    top: 6%;
    right: 1%;
    width: 180px;
	animation: fuwafuwa 3s infinite ease-in-out .8s alternate;
}
@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0);
  }
  50% {
    transform:translate(0, -10px);
  }
  100% {
    transform:translate(0, 0);
  }
}
#top_contents3::after{
    background-image: url('./Dup/img/para.png');
    background-position: bottom left;
    top: 27%;
    left: 7%;
    width: 110px;
}

/* main img */
.mainwrap_wrap{
    background-image: url('./Dup/img/tatami_yoko.png'), url('./Dup/img/tatami_tate.png'), url('./Dup/img/tatami_yoko.png'), url('./Dup/img/tatami_tate.png');
    background-position: top -15px left,top left -15px,bottom -15px right,bottom right -15px;
    background-size: auto;
    background-repeat: repeat-x,repeat-y,repeat-x,repeat-y;
}
.triangle01{display:none;}
.catch1{
    top: 45%;
    width: 25%;
    max-width: 400px;
    z-index: 1;
}
.catch2{
    bottom: 0;
    right: 1%;
    width: 40%;
    max-width: 580px;
    z-index: 1;
}
.head_tel {
    background-color: rgba(255,255,255,0.5);
}

/* main */
.img-container:before {
    border-radius: 24px;
}
#top_contents1 .con1_img2:before {
    border-radius: 24px 0 0 24px;
}
#top_news .cms1inner{
    background: none;
}

/* intro */
#top_news::before, #attach_area::before{
    content: "";
    background-image: url(./Dup/img/tatami_yoko.png);
    background-size: auto;
    background-repeat: repeat-x;
    background-position: left;
    position: absolute;
    width: 100%;
    height: 20px;
    left: 0;
}
#top_news::before{
    bottom: -10px;
}
#attach_area::before{
    top: -10px;
    z-index: 1;
}
.intro_img{
    top: calc(-100% - 25px);
    right: 20px;
    max-width: 500px;
    height: auto !important;
    z-index: -1;
    padding-bottom: 0 !important;
    width: calc(100% + 90px);
}
#top_contents1 .con1_img2 {z-index: 2;}
.animate {
  opacity: 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
    transition: transform 1.5s ease,opacity 2s ease;
}
.animate.show {
  opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  transition-delay: 0.3s;
}

/* contents */
.con1_txt_wrap .con_txt, #top_contents3 .con_txt{
    font-size: 16px;
}
.attach_txt{position: relative;}
.attach_txt:after, #top_contents3 .con_title::after{
    content: "";
    background-image: url(./Dup/img/title_bar.png);
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
}
.attach_txt:after {
    background-position: center;
    width: 150px;
    height: 20px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
#top_contents3 .con_before{display: none;}
#top_contents3 .con_title::after{
    background-position: left;
    width: 100px;
    height: 20px;
    bottom: 0;
    left: 0;
}

/* topcms */
.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}
}

/* footer */
#footer_info_logo{max-width: 160px;}
#footer_info .info_txt_wrap{
    background: none;
}

/* under page */
#page_title .title_img {background-position: top -150px center;}

/* cms1 */

/* cms2 */

/* cms3 */

/* cms4 */

/* cms5 */
.qa_type3 .con_no{
	left: 20px;
	top: 15px
}
.qa_type3 .cate_box .box_title1, .qa_type3 .cate_box .box_txt1{
	min-height: 1.5em
}
.qa_type3 .box_q{
	background-image: url(./Dup/img/icon_q.png);
	background-repeat: no-repeat;
	background-position: top 2px left;
	background-size: 60px
}
.qa_type3 .box_a{
	background-image: url(./Dup/img/icon_a.png);
	background-repeat: no-repeat;
	background-position: top 2px right;
	background-size: 60px
}
.qa_type3 .box_q, .qa_type3 .box_a{
	padding: 0 90px
}
.qa_type3 .box_q .box_title1::before, .qa_type3 .box_a .box_txt1::before{
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    border-color: rgba(0, 0, 0, 0);
}
.qa_type3 .box_q .box_title1::before{
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 10px;
    border-right-width: 15px;
    margin-top: -10px;
    border-right-color: #f68434;
    right: 100%;
    top: 34px;
}
.qa_type3 .box_a .box_txt1::before{
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 15px;
    border-right-width: 10px;
    margin-top: -10px;
    border-left-color: #d4baa1;
    left: 100%;
    top: 35px;
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.qa_type3 .box_q{
	padding-right: 0
}
.qa_type3 .box_a{
	padding-left: 0
}
.qa_type3 .con_no{
    top: 13px;
}
}

/* page7 */

/* page8 */

/* page9 */

/* page10 */


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#page_title .title_img {background-position: center center;}
#main_img {height: 60vw;}
.mainwrap-r h1 {width: 120px;}
.mainwrap_wrap {padding-bottom: 30px;}
.catch2 {width: 50%;}
#top_news{margin-top: 0;}
#top_news, #top_contents3 {background-size: 300px;}
#top_contents1 .con1_img2 {
    bottom: -130px;
}
.intro_img {
    top: -75%;
    right: 10px;
    max-width: 300px;
    min-width: 100px !important;
    width: 65%;
}
#top_contents3::before {z-index: 1;}
#top_contents3 {
    background-position: top 13% right -20px,bottom 19% left -20px;
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#main_img {height: 70vw;}
.mainwrap-r h1 {width: 90px;}
.catch1 {
    top: 40%;
    width: 35%;
}
.catch2 {width: 75%;}
#top_news, #top_contents3 {background-size: 200px;}
#top_contents3::before {
    top: 0;
    width: 100px;
}
#top_contents3::after {
    top: 25%;
    width: 100px;
}
#top_contents3 {background-position: top 9% right -20px,bottom 25% left -20px;}
#top_contents3 .con_title::after {
    left: 50%;
    transform: translateX(-50%);
}

}





