﻿@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600&display=swap');
.font1,
.cms_title p,
#page_title p,
.flow_type3 .box_title1::before{
    font-family: 'Comfortaa', cursive;
}




/*電話番号来たら削除*/
/*
.foot_tel_bt a,
.tel_bt,
.fat-nav li:last-child a,
.con_tel_box{
    display:none;
}
*/

/*
#fakeloader{
    display:none!important;
}
*/

:root{
    --color1:#fffef5;
}


.font_14{
    font-size:18px;
}

.linkStyle{
    color:#bf9d74;
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

body{
    overflow:hidden;
    background-color:var(--color1);
    font-size:17px;
    line-height:1.7;
}

.head_box .tel_bt a,
.head_banner a,
.head_line a{
    width:90%;
    margin:0 auto 10px;
    border-radius:10px;
}
.foot_tel_bt a{
    border-radius:10px;
}



/*--top page---------------------------
-------------------------------------*/
#contents2::before,
.top_cms_wrap::before,
.page_box::before{
    content:'';
    position:absolute;
    display:block;
}



#main_img{
    padding-top: 20px;
}
#main_img img,
.top_cms_wrap{
    border-radius: 30px 0 0 30px;
}
#main_img .catch {
    width: 44vw;
    max-width: 800px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
}

#contents1 h2{
    font-size:2.2rem;
    font-weight:700;
}
#contents1 .con1_img1 img{
    height: 100%!important;
    width: auto;
}

#attach_outer{
    overflow: hidden;
    border-radius: 30px 0 0 30px;
}

#contents2::before,
.top_cms_wrap::before,
.page_box::before{
    width:500px;
    height:42px;
    background-repeat:no-repeat;
    background-size:contain;
    top:-42px;
    left:50%;
    transform:translateX(-50%);
    z-index:2;
}
#contents2::before,
.page_box::before{
    background-image:url(./Dup/img/con2_item.png);
}

#contents2 .item {
    width: 80px;
    margin: -70px auto 20px;
}
#contents2 .con2_big_title{
    font-size:3.5rem;
}
#contents2 h2,
#contents3 h3{
    font-size: 2rem;
    font-weight: 700;
}
#contents2 .img5{
    border-radius:30px;
}

#contents3 .img6,#contents3 .img7{
    border-radius:20px;
}

.top_cms_wrap::before{
    background-image:url(./Dup/img/topcms_item.png);
}



/*--under page---------------------------
-------------------------------------*/

#page_title .title_img{
    border-radius:0 0 0 30px;
}
.page_box{
    position:relative;
}

.g_type5 .slide_img figure{
	position: relative;
	overflow: hidden;
}
.g_type5 .slide_img figure img{
	position: relative;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
.g_type5 .swiper-slide{
    opacity: 1!important;
}
.g_type5 .slide_img .thumbnail .swiper-wrapper {
    margin-left: 0!important;
    transform: none!important;
}
.g_type5 .swiper-button-prev{
	background-image: url("../dup/img/prev.png")!important;
}
.g_type5 .swiper-button-next{
	background-image: url("../dup/img/next.png")!important;
}


.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
    content: "0"counter(box);
    font-size: 86px;
    color: #efe7d8;
    left: 0;
    top: -70px;
    z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}

#page10 ul li a{
    border-radius:10px;
}



/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
header #logo {
    padding: 0;
    max-width:250px;
}
.head_banner a{
    width:100%;
    margin:0;
    border-radius:0;    
}
.head_line{
    left: 200px;
    bottom: 0;
    width: 250px;
    margin:0;
}
.head_line a{
    width: 100%;
    border-radius:0 5px 0 0;
    margin:0;
}
#main_img {
    padding-top: 0;
    padding-left: 0;
}
#main_img img, .top_cms_wrap,#attach_outer,#page_title .title_img {
    border-radius: 0;
}
#main_img .catch {
    width: 80vw;
    top: 40%;
}
#contents2 .item {
    width: 60px;
}
#contents2 .con2_big_title {
    font-size: 2.5rem;
}
.fat-nav li a{
    font-size:16px;
}
#page10 ul li a{
    border-radius:5px;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
header #logo {
    max-width:200px;
}
.hamburger {
    top: 20px;
}
.head_line{
    left: 40%;
    bottom: 0;
    width: 60%;
}
.head_line a{
    border-radius:0;
    padding-top: 5px;
    padding-bottom: 6px;
}
.head_banner a{
    padding-top: 5px;
    padding-bottom: 6px;
}

#main_img .catch {
    width: 95vw;
}
#contents1 h2 {
    font-size: 1.8rem;
}
#contents1 .con1_img1 img{
    width:100%!important;
    height:auto!important;
}
#contents2::before, .top_cms_wrap::before, .page_box::before {
    width: 300px;
    height: 25px;
    top: -25px;
}
#contents2 .con2_big_title {
    font-size: 2.1rem;
    letter-spacing: 1px;
}
#contents2 h2, #contents3 h3 {
    font-size: 1.5rem;
}
.flow_type3 .cate_box:first-child{
    margin-top:10px;
}
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}




