﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500&display=swap');


.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: rgba(255,233,213,0.6);
	left: 0;
	top: -70px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #3f3c3b
}
/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}

/*beforeafter*/

.BA_type2 .box_img1_wrap, .BA_type2 .box_img2_wrap {
	width: 48%!important;
	margin: 0 1%;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before {
	position: absolute;
	content: "Before";
	width: 121px;
	background-color: #3f3c3b;
	color: #fff;
	text-align: center;
	display: block;
	left: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 4px 0px;
	box-sizing: border-box;
}
.BA_type2 .box_img2_wrap::before {
	content: "After";
	background-color: #ff7f50;
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{
	width: 76px;
	font-size: 13px;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{padding: 1px 0px;}
}
/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ コード集サイト■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/* color  --------------------------------------------------------------------------------------------*/
div#wrap {background: #fffaf0;}


body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #3f3c3b;}
.txt_white,.hvr_txt_white:hover{color: #fffaf0;}
.txt_color1,.hvr_txt_color1:hover{color: #fbba46} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #fff6ee} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #ff7f50} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #ffe9d5} /* アクセントカラー2 */
/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: #fffaf0} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: #3f3c3b} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #fbba46} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #fff6ee} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #ff7f50} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #ffe9d5} /* アクセントカラー2 */
/* border-color ※!important */
.border_color1,.hvr_border_color1:hover{border-color: #fbba46 !important}
.border_color2,.hvr_border_color2:hover{border-color: #fff6ee !important}
.border_color3,.hvr_border_color3:hover{border-color: #ff7f50 !important}
.border_color4,.hvr_border_color4:hover{border-color: #ffe9d5 !important}


.pager li a {
    background: rgba(255,127,80,0.8);
    color: #fffaf0;}

div#pp-nav {
  background: #fff6ee;
  border-radius: 3px;}
  
/*linkStyle*/
a.linkStyle {
    color: #ff7f50;
    transition: 0.5s;
}
a.linkStyle:hover {
    color: #ff7f50;
}


#cms_1-a .border_color2,#cms_1-a .hvr_border_color2:hover {border-color: #ffe0a8 !important;}

/* color  --------------------------------------------------------------------------------------------*/


/* font  --------------------------------------------------------------------------------------------*/
body {font-family: 'Zen Kaku Gothic New','Open Sans',"Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;}
.font_bar {font-family: 'Open Sans','Zen Kaku Gothic New',"Noto Sans JP","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;}

/* font  --------------------------------------------------------------------------------------------*/

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 個別対応■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* コンテンツ3追加 --------------------------------------------------------------------------------------------*/
.con3_txt {z-index: 2;}
#contents2 .posi_rel.bg_color1 {height: 100% !important;}
/*.con2_ill .grid_3:nth-of-type(1), .con2_ill .grid_3:nth-of-type(3) {margin-bottom: 17%;}*/
.con2_ill{max-width:1400px;}

/*吹き出し*/
.balloon {
    position: relative;
    background: #fff6ee;
    margin: 40px auto 60px;
    padding: 40px 10px;
}
.balloon::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 50%;
  bottom: -13px;
  border-top: 15px solid #fff6ee;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  transform: translate(-50%, 0px);
}

span.mark {
    background: linear-gradient(transparent 60%, #fbd44638 60%);
    font-weight: bold;
}

span.big {
    font-size: 28px;
    font-weight: bold;
    color: #f16430;}
/*吹き出し*/


/*ボタン*/
.btn,a.btn,button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #3f3c3b;
  border-radius: 0.5rem;}

a.btn-border-shadow {
  padding: calc(1.5rem - 12px) 3rem 1.5rem;
  background: #fff6ee;}

a.btn-border-shadow:before {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 100%;
  height: 100%;
  content: "";
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 3px solid #3f3c3b;
  border-radius: 0.5rem;}

a.btn-border-shadow:hover {padding: calc(1.5rem - 6px) 3rem;}

a.btn-border-shadow:hover:before {
  top: 0;
  left: 0;}



/* コンテンツ増やす---------------------------------------------------------------------------------------------*/
#contents2 .con_box1::before{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none}
#contents2 .con_wrap{right: -10px}
#contents2.trans .con_wrap{
	opacity: 1;
	right: 0;}
#contents2 .con_bg{
	top: 0;
	right: 0}
#contents2 .con_img{
	top: 100px;
	bottom: 100px;
	left: 0}
#contents2 .con_box1::before{
	width: 40px;
	height: 1px;
	left: 0;
	bottom: 0;
	background-color: #fff6ee}

/*タブレット*/
@media screen and (max-width: 768px){
#contents2 .con_wrap {
    position: relative;
    height: auto !important;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0px);
}

#contents2 .con_wrap {
    position: relative;
    height: auto !important;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0px);
    width: 90% !important;
}

.balloon {
    position: relative;
    background: #fff6ee;
    margin: 40px auto 60px;
    padding: 20px 20px;
    width: 90% !important;}
    
span.big {
    font-size: 23px;
    font-weight: bold;
    color: #f16430;}
}

/* コンテンツ増やす---------------------------------------------------------------------------------------------*/
/* コンテンツ3追加 --------------------------------------------------------------------------------------------*/
/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 個別対応■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ top■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
h1#logo img {max-width: 350px;}
h1#logo {
    margin-bottom: 0px;
    margin-top: 40px;}
img.catch {
    width: 34%;
    top: 23%;
    right: 6%;}

#intro .intro_right div {height: 100%;}
#intro .intro_left {
    background-image: url(./Dup/img/item01.png);
    background-position: top;
    background-size: 100%;
    background-repeat: no-repeat;}

.con_box1, .con_box2 {
    background: #fff6ee;
    color: #3f3c3b;
    padding: 20px;
    z-index: 1;}

.con_box1::before, .con_box2::before {
    content: '' !important;
    background: url(dup/img/item02.png);
    position: absolute !important;
    width: 100% !important;
    height: 40% !important;
    background-repeat: no-repeat;
    top: -15%;
    background-size: 100%;
    left: 0 !important;
    z-index: -1;
    background-color: transparent !important;
}

.con_box2{margin-top: 70px;}
.con_box1 .con_title,.con_box2 .con_title{
    border-bottom: dotted 2px #fbba46;}
p.con_no {font-size: 20px;}

.cms_title p {
    font-size: 16px;
    font-weight: bold;
    color: #ff7f50;}
.cms_title h3 {
    font-weight: bold;
    font-size: 28px;
    line-height: 36px;}

.cms_title{border-color:#fbba46 !important;}
#top_cms .cms_title span{background: #fbba46 !important;}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ top■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ sub■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

#cms_2-a h3.cate_title {
    padding: 0;
    font-weight: bold;
    letter-spacing: 3px;
    border: solid 0px;
    border-left: solid 5px #ff7f50 !important;
    padding-left: 11px;
}


#cms_2-a h4.box_title1{
    position: relative;
    color: #3f3c3b;}

#cms_2-a h4.box_title1::before {
    content: "";
    position: absolute;
    width: 12%;
    height: 2px;
    box-sizing: border-box;
    border: 0;
    top: 65%;
    background: #ff7f50;
    left: 0;
    transform: translateY(10px);
}

#cms_2-a h4.box_title1::first-letter {color: #ff7f50;}
.cms_5-a h4.box_title1,#cms_5-a h4.box_title1 {
    color: #ff7f50;
}





/*タブレット*/
@media screen and (max-width: 768px){
    
#cms_1-a .pager li {
    margin-left: 0 !important;
    margin-right: 0 !important;}

.custom_box {background-position: left 26% top;}
img.catch {
    width: 55%;
    top: 11%;
    right: 6%;}
h2.intro_title {
    letter-spacing: 0px;
    font-size: 22px;}
h1#logo {
    margin-bottom: 70px;
    margin-top: 50px;}
}
/*スマホ*/
@media screen and (max-width: 667px){
    
.custom_wrap {height: 70vh !important;}


img.catch {
    width: 60%;
    top: 10%;
    left: 50%;
    right: 0;
    transform: translate(-50%, 0px);
}
    
section#intro {margin-top: -53%;}

h1#logo {
    margin-bottom: 50px;
    margin-top: 20px;}

h1#logo img {
    max-width: 360px;
    width: 220px;}
    
.con_box1::before, .con_box2::before {top: -5%;}
span.big {
    font-size: 17px;
    font-weight: bold;
    color: #f16430;
    padding-top: 10px;
    line-height: 1.5;}

.btn-wrap.txt_center {
    width: 87%;
    margin: 0 auto;}
    
a.btn-border-shadow {
    padding: calc(1.5rem - 12px) 1rem 1.2rem;
    background: #fff6ee;}
.btn, a.btn, button.btn {line-height: 1.8;}

a.btn-border-shadow:before {
    top: -6px;
    left: -5px;
    width: 98%;
    height: 93%;}
    
#cms_1-a h3.box_title1 {
    font-size: -webkit-calc(1rem + 2px);
    font-size: calc(1rem + 2px);}
}


/*IE*/
@media all and (-ms-high-contrast: none){
a.btn-border-shadow {
    padding: calc(1.5rem - 12px) 3rem 1.3rem !important;
    background: #fff6ee !important;
}

#contents2 .posi_rel.bg_color1 {overflow:hidden !important;}
#cms_2-a .cate .cate_title {
    padding-top: 0px !important;
    padding-bottom: 4px !important;}

.cate_list a {padding-top: 0px !important;}

#cms_5-a .cate .cate_title span:last-of-type {padding-top: 0px !important;}
#page07 .info_title::before {
    top: 14px !important;
}
#page09 a {
    padding-top: 0px !important;
    padding-bottom: 2px !important;
}

}