﻿div#main_img:before {
    width: 100%;
    height: 105px;
    position: absolute;
    content: "";
    background: url(Dup/img/awa1.png) repeat-x;
    bottom: 16%;
    background-size: 50%;
    z-index: 3;
    background-position-y: bottom;
    animation:main_anim 20s linear infinite;
}
@keyframes main_anim{
    0%{
        background-position-x:0% ;
    }
    100%{
        background-position-x:100%;
    }
}

#cms_3-f .cate_txt{
    background: #f4f4f4;
    padding: 20px;
}
.page_title {
    background-color: #ffe965;
}
#page08 .tel_contact{
     background: #e7f9ff;
}
#page07 .box_wrap {
    background: #e7f9ff;
}
a.linkStyle {
    color: #ec3750;
}
div#main_btn a:hover {
    opacity: 0.8;
}
div#main_btn a{
    transition:all 0.3s;
}
.border_color3 {
    border-color: #ec3750;
}
.border_color1 {
    border-color: #1478a4;
}
.loader img{
        width: 400px;
}
p#page_top {
    background: #00526f;
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.topcms_menu_type3 .cate:last-of-type{margin-bottom: 0}
}


.BA_type1 .box_item, .BA_type1 .box_img1, .BA_type1 .box_img2 {position: relative;}
.BA_type1 .box_item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50.3%;
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 17px 0 17px 40px;
    border-color: transparent transparent transparent #ffd100;
}
.BA_type1 .box_img1 {margin-right: 40px; border-radius: 10px;}
.BA_type1 .box_img2 {margin-left: 40px; border-radius: 10px;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {
    position: absolute;
    height: 33px;
    width: 87px;
    background-color: #1478a4;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    border-bottom-right-radius: 10px;
}
.BA_type1 .box_img1::after {content: "Before";}
.BA_type1 .box_img2::after {content: "After";}

@media screen and (max-width: 667px){
.BA_type1 .box_img1 {margin-right: 5%;margin-bottom: 50px;}
.BA_type1 .box_img2 {margin-left: 5%;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {height: 30px;font-size: 15px;}
.BA_type1 .box_item::after {transform: translate(-50%,-60%) rotate( 90deg);border-width: 20px 0 20px 23px;}
}

body {
    overflow: hidden;
}
.topcms_news_type3 .box_txt1 {
    height: 6em;
	line-height: 1.7;
}
.topcms_news_type3 .date {
    padding: 9px 22px 7px;
    border-radius: 45px;
}
.slick-slide img {
    box-shadow: 0 2px 4px rgb(0 0 0 / 0%);
}
/*--- slick ------------------------------------*/
.topcms_news_type3 .slick-box{
    opacity: 0;
    transition: 3s;
}
.topcms_news_type3 .slick-initialized{
    opacity: 1
}
.topcms_news_type3 .slick-box .prev,.slick-box .next {
    display: block;
	cursor: pointer;
	position: absolute;
	top: 40%;
	z-index: 1;
	padding: 15px;
}
.topcms_news_type3 .slick-container{
    margin-top:50px;
}
.topcms_news_type3 .slick-box .prev {
	left: -54px;
}
.topcms_news_type3 .slick-box .next {
	right: -54px;
}
/* Dots */
.topcms_news_type3 .slick-dots{
    position: absolute;
    bottom: -35px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.topcms_news_type3 .slick-dots li{
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.topcms_news_type3 .slick-dots li button{
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.topcms_news_type3 .slick-dots li button:hover,
.topcms_news_type3 .slick-dots li button:focus{
    outline: none;
}
.topcms_news_type3 .slick-dots li button:hover:before,
.topcms_news_type3 .slick-dots li button:focus:before{
    opacity: 1;
}
.topcms_news_type3 .slick-dots li button:before{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '●';
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.topcms_news_type3 .slick-dots li.slick-active button:before{
    opacity: .75;
    color: black;
}
/* 最後まで行ったら、矢印透過する */
.topcms_news_type3 .slick-disabled{
	opacity: 0.3;
}
/* 要素の高さを合わせる */
.topcms_news_type3 .slick-slide {
	height: auto !important;
}
.topcms_news_type3 .slick-track {
	display: flex;
}



.bg_color3 {
    background-color: #ec3750;
}
.bg_color1 {
    background-color: #1478a4;
}
.bg_color2 {
    background-color: #ffe33e;
}
.txt_color1 {
    color: #ec3750;
}
main.bg_white{
    background-color:#7fcbe3;
}
.top #wrap{
        background-image: none;
        background-color: #7fcbe3;
}
.bg_color4 {
    background-color: #7fcbe3;
}
#main_img {
    overflow: hidden;
    padding-top: 110px;
    position: relative;
}
.top header {
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    top: 0;
    left: 0;
    z-index: 5;
    padding: 10px !important;
}
div#main_catch {
    width: 46%;
    margin-bottom: 50px;
}

#main_b {
    position: relative;
    left: -6%;
}
#main_box {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    margin-bottom: 0;
    height: 100%;
    bottom: -16%;
    z-index: 1;
    position: relative;
}

div#main_img:after {
    width: 100%;
    height: 16%;
    content: "";
    position: absolute;
    background: #ffffff;
    z-index: 2;
    bottom: 0;
}

#main_bg {
    position: absolute;
    z-index: 0;
    bottom: 25%;
    width: 100%;
}
#owner{
    position: absolute;
    width: 15%;
    bottom: 16%;
    right: 14%;
    z-index: 2;
}

#main_btn a {
    position: absolute;
    background: #ec3750;
    line-height: 28px;
    bottom: 13%;
    right: 9%;
    z-index: 10;
    width: 180px;
    height: 180px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 200px;
    text-align: center;
    font-size: 18px;
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
    font-weight:bold;
    
}

#intro h2:before {
    width: 50px;
    height: 50px;
    content: "";
    position: absolute;
    left: -59px;
    background: url(Dup/img/intro_l.png) no-repeat;
    background-size: contain;
    background-position: center;
}
#intro h2:after {
    width: 50px;
    height: 50px;
    content: "";
    position: absolute;
    right: -50px;
    background: url(Dup/img/intro_r.png) no-repeat;
    background-size: contain;
    background-position: center;
}
#intro h2 {
    font-size: 30px;
    font-weight: bold;
    color: #035f7f;
    position: relative;
    display: inline-block;
    margin-bottom:20px;
}

#intro {
    text-align: center;
    margin-top: -150px;
    position: relative;
    z-index: 2;
    padding: 0 5%;
    padding-bottom: 4%;
    background: white;
}
section#intro2 {
    text-align: center;
}
section#intro2 p.title {
    background: #ffe33e;
    display: inline-block;
    padding: 5px 100px;
    font-size: 24px;
    border-radius: 50px;
    color: #00526f;
    font-weight: bold;
}

div#icon_wrap {
    display: flex;
    max-width: 1000px;
    justify-content: space-around;
    margin: 50px auto;
    margin-bottom: 0;
}

#icon_wrap .box {
    background: #1478a4;
    display: flex;
    width: 30%;
    flex-direction: column;
    padding: 2%;
    box-sizing: border-box;
    /* text-align: center; */
    color: white;
    align-items: center;
    font-size: 20px;
    border-radius: 20px;
}

#icon_wrap .box img {
    width: 70%;
}
section#intro2 {
    text-align: center;
    padding: 0 10%;
   background: white url(Dup/img/awa2.png) repeat-x;
    background-size:50%;
    background-position: 50% 101%;
    position: relative;
    z-index: 3;
}

#contents {
    background: #7fcbe3;
    padding-top: 150px;
    padding-left: 5%;
    padding-right: 5%;
}
#contents .contents_box .contents_txt{
    background: none !important;
    
}

#contents .contents_box .contents_txt .box{
    padding: 50px;
    border-radius: 20px;
    background:white;
}

#contents .contents_box .contents_txt .contents_link {
    transform: translateY(-50%);
}

#contents .contents_box .contents_txt .contents_link a {
    background: #ffe33e;
    color: #00526f;
}
.title_box span.num {
    font-family: 'Barlow', sans-serif;
    font-size: 120px;
    font-weight: bold;
    color: #ec3750;
    display: block;
    line-height: 120px;
}

#contents .contents_box .contents_txt > div.title_box {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
        margin-bottom: 10px;
}
.title_box h2 {
    font-size: 26px;
    color: #202020;
    margin-bottom: 7px;
    margin-left: 20px;
    line-height: 36px;
}
.contents_box{
    max-width: 1580px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
    align-items: center;
        margin-bottom: 150px;
}
#contents .contents_box .contents_img,#contents .contents_box:nth-of-type(2) .contents_img{
    transform:none;
}

.contents_img::before {
    width: 100%;
    height: 100%;
    background: #1478a4;
    position: absolute;
    content: "";
    right: -20px;
    bottom: -20px;
    border-radius:20px;
}
.contents_img {
    position: relative;
    padding: 0;
}
.contents_img figure {
    border-radius: 20px;
}
footer {
    background: #1478a4 !important;
}
section#info {
    background-color: #c0e5f0;
}


#top_cms1 {
    background: white;
    margin-bottom: 0;
    padding-bottom: 50px;
    margin-top: -50px;
}
.topcms_news_type3 .date {
    padding: 4px 18px 3px;
    border-radius: 45px;
    background: #ec3750;
    font-size: 14px;
}

#top_cms1 p.box_title1.txt_color1.font_bold.font_4up.font_2up_tb {
    color: #161616;
}
.top_cms_title {
    background: none; 
    display: inline-block;
    padding: 10px 90px;
    background: #ec3750;
    border-radius: 60px;
    position: relative;
    top: -40px;
}

.top_cms_box .top_cms_title h3 {
    position: relative;
    color: white;
    margin-bottom: 0;
}

.top_cms_box .top_cms_title h3 span {
    position: relative;
    z-index: 2;
    font-size: 34px;
}

.top_cms_box p.font_bold.font_14_tb {
    color: white;
    margin-top: 10px;
    font-size: 12px;
}

#top_cms .top_cms_box {
    background: white;
    max-width: 1580px;
    margin: 100px auto;
    border-radius: 20px;
    text-align: center;
}
#top_cms .top_cms_box .top_cms_title h3::after{
    display:none;
}
#top_cms .cms_wrap {
    text-align: left;
}
.more.txt_right.width_1280-max.pd_r-50px.pd_r-20px_sp {
    padding-bottom: 50px;
}

#top_cms{
    padding-left: 5%;
    padding-right: 5%;
}
.cms_5-c .box_txt1::before,#cms_5-c .box_txt1::before{
    color: #ffd100;
}
.cms_5-c .box_title1,#cms_5-c .box_title1 {
    color: #035f7f;
}

h3.cate_title.txt_center.font_bold.letter_2.font_4up.font_2up_tb.font_2up_sp.mg_b-20px.bg_color2.pd_10px.border_rad10 {
    color: #00526f;
}
#top_cms1 figure{
    border-radius:10px;
}

#info h4 span {
    color: #00526f;
}

#info .info_link a{
    background: #ffe33e;
    color: #00526f;
}
.txt_color1 {
    color: #00526f;
}

#menu_wrap .sns_links{
    background: #ffe33e;
}
#main_wrap {
    background: white;
}

.page_title h2 span {
    color: #ec3750;
}
.page_title.active p{
    color: #00526f;
}
div#cms_3-f figure.cate_img1{
    height:250px !important;
}
section.BA_type1.mg_b-100px.pd_l-r5per.pd_clear_sp h3.cate_title {
    color: #ffffff;
    background: #1478a4;
    text-align: center;
    border-radius: 10px;
}
div#wrap.top {
    background-image: none !important;
}
#page09 .box_wrap div:last-of-type {
    background: #e7f9ff;
}
@media screen and (min-width:769px){
    section#intro2{
        position: relative;
    top: -20px;
    }
    section#intro2 p.title,div#icon_wrap{
        position: relative;
    top: 50px;
    }
}

/*--------------------------------タブレット----------------------------------------------*/
@media screen and (max-width:768px){
    div#main_img:before,section#intro2{
        background-size:80% !important;
    }
    #main_img {
    padding-top: 120px !important;
    }
    div#main_catch {
    width: 70%;
    margin-bottom: 50px;
}
#main_btn a {
    width: 140px;
    height: 140px;
    font-size: 14px;
    right: 5%;
}
#owner{
    width: 18%;
}
#intro h2 {
    font-size: 24px;
}
#intro p {
    text-align: left;
}
section#intro2 p.title{
    font-size:20px;
}
#icon_wrap .box{
    font-size:18px;
}
#contents .contents_box .contents_txt{
        margin-top: 40px;
}
.top_cms_box .top_cms_title h3 span{
    font-size: 18px;
}

section.BA_type1 figure{
    margin:40px auto;
}
.top_cms_box  .BA_type1 .box_item::after{
    transform: translate(-50%,-50%) rotate(90deg);
}
 section.BA_type1{
    margin-bottom:0;
}
}
@media screen and (max-width:667px){
    #main_box {
    width: 85%;
 
}
div#main_catch {
    width: 80%;
    margin-bottom: 70px;
}
#main_b {
    position: relative;
    left: -6%;
}
#main_btn a {
    width: 100px;
    height: 100px;
    font-size: 10px;
    right: 2%;
    line-height: 14px;
}
#main_bg {
    display: none;
}
#owner {
    width: 26%;
}
#intro h2{
    font-size: 18px;
}
#intro h2:after {
    width: 30px;
    height: 30px;
    right: -30px;
}
#intro h2:before {
    width: 30px;
    height: 30px;
    left: -33px;
}
section#intro2 p.title {
    font-size: 14px;
    padding: 10px 20px;
}
section#intro2{
    padding:0 5%;
}
div#icon_wrap{
    flex-direction:column;
        margin: 20px auto;
        align-items:center;
}
#icon_wrap .box{
    width: 80%;
    margin: 10px;
}
section#intro2{
    background-position:50% 50%;
}
section#intro2:before {
    width: 100%;
    height: 49%;
    content: "";
    background: #7fcbe3;
    position: absolute;
    bottom: 0;
    z-index: -1;
    left: 0;
}
.contents_img::before{
    display:none;
}
#contents{
    padding-top:50px;
}
.title_box span.num{
    font-size:100px;
    line-height:100px;
}
.title_box h2 {
    font-size: 22px;
    color: #202020;
    margin-bottom: 7px;
    margin-left: 10px;
    line-height: 30px;
}
#contents .contents_box .contents_txt .box{
    padding:30px;
    padding-bottom: 50px;
}
#contents .contents_box .contents_txt {
    margin-top: 10px;
}
.contents_box{
    margin-bottom:50px;
}
.top_cms_box .top_cms_title h3 span {
    font-size: 18px;
}
.top_cms_box p.font_bold.font_14_tb {
    color: white;
    margin-top: 5px;
    font-size: 10px;
}
.top_cms_title {
    display: inline-block;
    padding: 10px 40px;
    background: #ec3750;
    border-radius: 60px;
    position: relative;
    top: -30px;
}
.loader img {
    width: 300px;
}
header{
    padding: 10px !important;
}
p#copyright {
    padding-bottom: 10px;
}
}
/* fix_banner -------------------------------------- */
.fix_banner{
	max-width: 300px;
	position: fixed;
	bottom: 0;
	right: 100px;
	z-index: 10;
	transition: 0.5s;
}
.fix_banner .close_bt {
    position: absolute;
    bottom: 90px;
    right: 280px;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: 0.5s;
    background-color: #fff;
    /* border: solid 2px #ddc21b; */
    z-index: 11;
    cursor: pointer;
}
.fix_banner .close_bt:hover{opacity: 0.7;}
.fix_banner .close_bt span{
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
}
.fix_banner .close_bt span:before,.fix_banner .close_bt span:after{
	content: "";
	display: block;
	background-color: #221e03;
	height: 4px;
	width: 20px;
	position: absolute;
	top:50%;
	left: 50%;
}
.fix_banner .close_bt span:before{
	-ms-transform: translate(-50%,-50%) rotate(-45deg);
	-webkit-transform: translate(-50%,-50%) rotate(-45deg);
	transform: translate(-50%,-50%) rotate(-45deg);
}
.fix_banner .close_bt span:after{
	-ms-transform: translate(-50%,-50%) rotate(45deg);
	-webkit-transform: translate(-50%,-50%) rotate(45deg);
	transform: translate(-50%,-50%) rotate(45deg);
}
.fix_banner.close{right: -450px;}
.fix_banner.close2{right: -450px;}
@media  screen and (max-width: 768px){
.fix_banner{max-width: 200px;
    right: 80px
}
.fix_banner .close_bt {
    bottom: 54px;
    right: 183px;
}
}
@media  screen and (max-width: 667px){
.fix_banner{max-width: 60%;
   right: 20%;}
.fix_banner .close_bt {
    width: 22px;
    height: 22px;
    bottom: 52px;
    right: 94%;
}
.fix_banner .close_bt span {
    width: 22px;
    height: 22px;
}
}
/* fix_banner end -------------------------------------- */
div#main_img:before {
    background-image: none;
}
#main_btn a {
    bottom: 22%;
}
#main_img {
    background-image:url(./Dup/img/main_img.jpg);
    background-size: cover;
    height: 100vh;
    background-position: center;
}
#main_bg,#owner,#main_box,#main_b {
    display: none;
}
#main_catch3 {
    width: 40%;
    margin-bottom: 50px;
    position: absolute;
left: 50%;
transform: translate(-50%,0%);
}
#main_catch5 {
    width: 250px;
    position: absolute;
right: 100px;
bottom:150px;
}
@media  screen and (max-width: 768px){
#main_catch3 {
    width: 70%;
}
#main_catch5 {
    width: 200px;
right: 30px;
    bottom: 20vh
}
}
@media  screen and (max-width: 667px){
#main_catch5 {
    width: 150px;
right: 10px;
}
}

/*2025/02/21*/
.fix_banner .close_bt{display: none;}
p#copyright{padding-bottom: 80px;}
.fix_banner{
    width: 100%;
    right: 0;
    text-align: center;
        max-width: none;
}
.fix_banner a{
        background-color: #333;
    color: #fff;
    padding: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fix_banner a img{width: 50px;}
@media  screen and (max-width: 667px){
.fix_banner a:hover{opacity: 1;}
}