@charset "UTF-8";
/* CSS Document */

.top_news01 {
    display: flex;
    border: 1px solid #003e54;
    font-size: 16px;
    margin: 1em 0;
}

.top_news01_in01 {
    background-color: #003e54;
    color: #ffffff;
    padding:0.5em 0;
    width: 7em;
    text-align: center;
}

.top_news01_in02 {
    padding:0.5em 1.0em;
}

.top_news01_in02 a {
    color: #333333;
}

.top_news01_in02 a p {
    padding: 0 0 0 1em;
    background-repeat: no-repeat;
    background-position: left top 0.4em;
    background-image: url("../img/ya_link02.png");
    background-size: 0.4em auto;
}

.top_news01_in02 a:hover {
    text-decoration: underline;
}

.topic_bg {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-image: url(../img/top_img01.jpg);
	display: block;
}

.topic_in {
	width: 1000px;
	margin: 0 auto;
}

.topic_text {
    background-color: rgba(255,255,255,0.70);
    display:inline-block;
    padding: 50px;
}

.topic_text img {
	width: 400px;
    display: block;
}

.topic_text a {
    display: block;
    margin: 18px 0 0;
}



/* master */

.master {
    position: relative;
}
.master-overlay {
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: antiquewhite;
}

.mainimg {
    position: relative;
    width: 100%;
    height: 600px;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_master {
    width: 100%;
    position: absolute;
    top: 50%;
    left: auto;
    color: #fff;
    letter-spacing: 0.04em;
    transform: translateY(-50%) translateX(0%);
}
.top_master_in h1,
.top_master_in h2 {
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    font-weight: 600;
}

.top_master_in h1 {
    font-size: 49px;
    letter-spacing: 0.1em;
    line-height: 1.8;
}
.top_master_in h2 {
    font-size: 30px;
    padding-top: 0.5em;
}



.top_service {
    display: flex;
    flex-wrap: wrap;
    padding: 35px 0 0;
}

.top_service a {
    width: calc(96% / 3);
    margin: 0 2% 0 0;
    position: relative;
    border: 2px solid #003e54;
    box-sizing: border-box;
}

.top_service a img {
    width: 100%;
}

.top_service a img:hover {
    opacity: 0.8;
}


.top_service a:last-of-type {
    margin: 0;
}

.tsl_item01 {
    font-size: 18px;
    padding: 0.6em 0 0.5em;
    line-height: 1.4;
    font-weight: 500;
    position: absolute;
    bottom: 0;
    background-color: rgba(255,255,255,0.85);
    display: block;
    width: 100%;
    text-align: center;
    background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 48px auto;
	background-image: url(../img/ya_link01.png);
    color: #333333;
}

.tsl_item01 p span {
    font-size: 12px;
}


.top_service_w {
    background-color: #F5F5F5;
    padding: 1px 0 0;
}
.top_service_cont {
    position: relative;
    padding: 35px 0 20px;
}
.top_service_cont_box {
    display: flex;
    flex-wrap: wrap;
	padding-bottom: 6%;
}
.top_service_cont_box_in01 {
    width: 51%;
}
.top_service_cont_box_in01_1,
.top_service_cont_box_in01_2 {
    position: relative;
}
.tscbi01 {
    margin: 0 6% 0 0;
}
.tscbi02 {
    margin: 0 0 0 6%;
}
.top_service_cont_box_in01_1 h2 {
	font-size: 28px;
	font-weight: 600;
	color: #003e54;
    text-align: center;
    padding-bottom: 0.7em;
}
.top_service_cont_box_in01_1 p {
    font-size: 20px;
    line-height: 1.8;
    padding-bottom: 2.5em;
}
.top_service_cont_box_in02_1,
.top_service_cont_box_in02_2,
.top_service_cont_box_in02_3 {
	width: 49%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.top_service_cont_box_in02_1 {
	background-image: url(../img/top_service01.jpg);
}
.top_service_cont_box_in02_2 {
	background-image: url(../img/top_service02.jpg);
}
.top_service_cont_box_in02_3 {
	background-image: url(../img/top_service03.jpg);
}

.top_guide {
    position: relative;
    padding: 35px 0 2.8em;
}
.top_guide_link {
    display: flex;
    flex-wrap: wrap;
}
.page_box01_nex_link01_2 {
    font-size: 16px;
}

a.page_box01_nex_link01 {
    width: 48.5%;
    margin-right: 3%;
	margin-bottom: 3%;
	display: flex;
	border: 1px solid #cccccc;
	box-sizing: border-box;
	border-radius: 5px;
	color: #333333;
    flex-wrap: wrap;
    box-shadow: 2px 2px 3px -1px rgba(0,0,0,0.2);
}
a.page_box01_nex_link01:nth-of-type(2n) {
    margin-right: 0;   
}
a.page_box01_nex_link01:hover {
    background-color: #F5F5F5;
}

.page_box01_nex_link01_1_1,
.page_box01_nex_link01_1_2,
.page_box01_nex_link01_1_3,
.page_box01_nex_link01_1_4,
.page_box01_nex_link01_1_5,
.page_box01_nex_link01_1_6 {
	width: 46%;
	border-right: 1px solid #cccccc;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.page_box01_nex_link01_2 {
	width: 48%;
	position: relative;
	margin: 3%;
	padding: 0 0;
    line-height: 1.8;
}

.page_box01_nex_link01_2 h2 {
	font-size: 20px;
	font-weight: 600;
	color: #003e54;
}
p.kuwashikuwa_link01,
a.kuwashikuwa_link02 {
	position: absolute;
	bottom: 0;
	right: 0;
	color: #ffffff;
    background-color: #003e54;
	border-radius: 5px;
	padding: 0.3em 0.8em 0.2em 1.0em;
    display: flex;
    align-items: center;
}
a.kuwashikuwa_link02 {
	font-size: 18px;
    line-height: 1.8;
}
p.kuwashikuwa_link01 span,
a.kuwashikuwa_link02 span {
    height: 0.9em;
	background-repeat: no-repeat;
	background-size: auto 0.8em;
	background-position: right top;
	background-image: url(../img/ya_11.png);
	padding: 0 1.0em 0 0;
}
p.kuwashikuwa_link01:hover,
a.kuwashikuwa_link02:hover {
	background-color: #003042;
}


.top_bo_box_w {
	margin: 0 0 80px;
}

.top_bo_box {
	border: 1px solid #cccccc;
	margin: 80px 0 0;
	padding: 50px 9%;
}

.top_bo_box h3 {
	font-size: 30px;
	margin: 0 0 1em;
	font-weight: 600;
	text-align: center;
	color: #003e54;
}

.top_bo_box ul {
	border-top: 1px solid #cccccc;
}

.top_bo_box ul li {
	font-size: 16px;
	border-bottom: 1px solid #cccccc;
	padding: 1.2em 0;
	position: relative;
}

.top_bo_box ul.top_faq li a {
	display: block;
	text-decoration: underline;
	padding-left: 1.2em;
}

.top_bo_box ul.top_faq li:before {
	content:"Q";
	color: #EB6FA5;
	position: absolute;
	font-weight: 500;
	top:1.2em;
}

.top_bo_box ul.top_faq li a:hover {
	text-decoration: none;
}

.top_faq_next01 {
    text-align: right;
    padding: 1.0em 0 0;
    font-size: 15px;
}

.top_bo_box ul.top_menu_news li {
    display: flex;
    flex-wrap: wrap;
}
.top_bo_box ul.top_menu_news li p {
    width: 9em;
}
.top_bo_box ul.top_menu_news li a {
	text-decoration: underline;
    width: calc(100% - 9em);
}
.top_bo_box ul.top_menu_news li a:hover {
	text-decoration: none;
}

/*tablet*/
@media screen and (max-width: 768px) {



.topic_bg {
    background-image: url("../img/top_img01sp.jpg");
    background-position: bottom center;
}

.topic_in {
	width: 100%;
	margin: 0 auto;
}

.topic_in_f {
	padding: 10%;
}

.topic_text {
	width: 80%;
    padding: 10%;
}

.topic_text img {
	width: 100%;
	margin: 0;
}


.mainimg {
    height: 480px;
}
.top_master_in {
    padding-left: 2%;
}
.top_master_in h1 {
    font-size: 34px;
    letter-spacing: 0.1em;
    line-height: 1.8;
}
.top_master_in h2 {
    font-size: 26px;
    padding-top: 0.5em;
}

.top_service {
    padding: 3% 0 0;
}

.top_service_cont_box_in01_1 h2 {
	font-size: 20px;
}
.top_service_cont_box_in01_1 p {
    font-size: 18px;
    line-height: 1.8;
    padding-bottom: 2.5em;
}

.tsl_item01 {
    font-size: 14px;
    padding: 0.6em 0 0.5em;
	background-size: 32px auto;
}

.tsl_item01 p span {
    font-size: 12px;
    padding:0 1em;
    display: block;
}

.top_service_cont {
    position: relative;
    padding: 3% 0 20px;
}

.top_guide {
    padding: 3% 0 2.4em;
}
.page_box01_nex_link01_2 {
    line-height: 1.6;
}
.page_box01_nex_link01_2 h2 {
	font-size: 18px;
}
a.kuwashikuwa_link02 {
	font-size: 16px;
    line-height: 1.8;
}

.top_bo_box_w {
	margin: 0 0 4%;
}

.top_bo_box {
	border: 1px solid #cccccc;
	border-radius:5px;
	margin: 4% 0 0;
	padding: 4% 4%;
}

.top_bo_box h3 {
	font-size: 24px;
	margin: 0 0 3%;
	font-weight: 600;
	text-align: center;
}


}


/* sp */

@media only screen and (max-width: 640px) {

.top_news01 {
    display: flex;
    border: 1px solid #003e54;
    font-size: 14px;
    margin: 1em 0;
}

.top_news01_in01 {
    background-color: #003e54;
    color: #ffffff;
    padding:0.5em 0;
    display: block;
    text-align: center;
    flex-shrink: 1;
}

.top_news01_in02 {
    padding:0.5em 0.6em;
    flex-shrink: 3;
}

.top_news01_in02 a {
    color: #333333;
}

.top_news01_in02 a p {
    padding: 0 0 0 1em;
    background-repeat: no-repeat;
    background-position: left top 0.4em;
    background-image: url("../img/ya_link02.png");
    background-size: 0.4em auto;
}

.topic_text {
	width: 82%;
    padding: 9%;
}

.topic_text a {
    display: block;
    margin: 14px 0 0;
}

.mainimg {
    height: 380px;
}
.top_master_in {
    padding: 0 2%;
}
.top_master_in h1 {
    font-size: 22px;
    letter-spacing: 0.1em;
    line-height: 1.8;
}
.top_master_in h2 {
    font-size: 18px;
    padding-top: 0.5em;
}

.top_service {
    padding: 5% 0 0;
}

.top_service a {
    width: 100%;
    margin: 0 0 5% 0;
    border: 1px solid #003e54;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 30px auto;
	background-image: url(../img/ya_link01.png);
}

.top_service a img {
    width: 27%;
}

.top_service a:last-of-type {
    margin: 0;
}

.tsl_item01 {
    font-size: 16px;
    padding: 0 1em;
    line-height: 1.6;
    position:relative;
    background:none;
    text-align: left;
}

.tsl_item01 p span {
    font-size: 12px;
    padding:0;
    display: block;
}





.top_service_cont {
    position: relative;
    padding: 5% 0 20px;
}
.top_service_cont_box {
	padding-bottom: 6%;
}
.top_service_cont_box_in01 {
    width: 100%;
    order:1;
}
.tscbi01,
.tscbi02 {
    margin: 0;
}
.top_service_cont_box_in01_1 h2 {
	font-size: 18px;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
}
.top_service_cont_box_in01_1 p {
    font-size: 16px;
    line-height: 1.8;
    padding-bottom: 2.5em;
}
.top_service_cont_box_in02_1,
.top_service_cont_box_in02_2,
.top_service_cont_box_in02_3 {
	width: 100%;
    padding-top: 45%;
}




a.page_box01_nex_link01 {
    width: 100%;
    margin-right: 0;
	margin-bottom: 5%;
}
a.page_box01_nex_link01:nth-of-type(2n) {
    margin-right: 0;   
}
.top_guide {
    padding: 5% 0 2.4em;
}
.page_box01_nex_link01_2 {
    line-height: 1.6;
    font-size: 14px;
}
.page_box01_nex_link01_2 h2 {
	font-size: 18px;
}
a.kuwashikuwa_link02 {
	font-size: 16px;
    line-height: 1.8;
}


.top_bo_box_w {
	margin: 0 0 7%;
}

.top_bo_box {
	border: 1px solid #cccccc;
	border-radius:5px;
	margin: 8% 0 0;
	padding: 7% 4% 4%;
}

.top_bo_box h3 {
	font-size: 21px;
	margin: 0 0 5%;
}

.top_bo_box ul li {
	font-size: 14px;
	padding: 1.0em 0;
}

.top_bo_box ul.top_faq li:before {
	top:1.0em;
}

.top_faq_next01 {
    font-size: 14px;
}

.top_bo_box ul.top_menu_news li p,
.top_bo_box ul.top_menu_news li a {
    width: 100%;
}

}











.Bnr {
    position: fixed;
    bottom: 0px;
    right: 0px;
    z-index: 1000;
    background-color: rgba(245,245,245,0.80);
}

.Bnr__img {
    padding: 20px 20px 15px;
}

.Bnr__img__inner h5 {
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 0.5em;
}

.Bnr__img__inner a {
    font-size: 20px;
    display: inline-block;
    width: 280px;
    text-align: center;
    line-height: 2.9;
    border-radius: 10px;
    color: #FFFFFF;
    box-shadow: 2px 2px 3px -1px rgba(0,0,0,0.3);
    text-shadow: 2px 2px 3px rgba(0,0,0,0.3);
    font-weight: 600;
}
.Bnr__img__inner a i {
    font-size: 24px;
    padding: 0 0 0 0.5em;
    font-weight: bold;
}
.Bnr__img__inner a:hover {
    opacity: 0.8;
}
.Bnr__img__inner a:last-of-type {
    margin: 0;
}

a.Bnr_link01 {
    background-color: #009BE5;
}
a.Bnr_link02 {
    background-color: #cc0001;
}
a.Bnr_link03 {
    background-color: #00a74d;
}

.close1 {
    position: absolute;
    top: -30px;
    right: 0;
}

.square_btn {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  background: #fff; /* ボタンの背景色 */
}
 
.square_btn::before, .square_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 25px;
  background: #333; /* バツ印の色 */
}
 
.square_btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
 
.square_btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

.square_btn:hover {
    opacity: 0.8;  
}

@media (max-width: 640px) {

.Bnr {
    bottom: 0;
    text-align: center;
}
.Bnr__img {
    padding: 12px 15px 5px;
}
.Bnr__img__inner h5 {
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 0.3em;
}
.Bnr__img__inner a {
    font-size: 20px;
    display: inline-block;
    width: 280px;
    text-align: center;
    line-height: 2.5;
}

}


.top_master_in h1,
            .top_master_in h2 {
                color: #003e54;
                color: #000000;
                text-shadow: 3px 3px 8px rgba(255, 255, 255, 1);
            }

            .top_master_in h1 {
                color: #003e54;
            }

            .top_master_in h1 span.fc_or {
                color: #EA6907;
            }

            .top_master_in h1 span.fc_re {
                color: #D6132D;
            }

            .bg_tida01 {
                background-color: rgba(255, 255, 255, 0.6);
                padding: 3.6% 0;
            }

            p.top_houka01_link01 {
                position: absolute;
                bottom: 0;
                left: 0;
                padding: 0;
            }

            p.top_houka01_link01 img {
                height: 40px;
            }

            @media screen and (max-width: 768px) {
                p.top_houka01_link01 img {
                    height: 37px;
                }
            }

            @media only screen and (max-width: 640px) {
                p.top_houka01_link01 img {
                    height: 36px;
                }
            }