﻿.box_txt_wrap.grid_7 .box_txt h3 {
    color: #1384cf;
    font-size: 1.2em;
    padding-left: 10px;
}
#cms_2-b .box_txt_wrap.grid_7 {
        padding: 10px;
}
#cms_2-b .cate_box{
    background: #e8f6ff;
    border: 0;
    padding-top: 10px;
}
#cms_2-b .cate_box h3 {
    text-align: center;
    font-size: 1.8em;
    border: 0;
}
body{
font-family: "Noto Serif JP","游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
#review h2 {
    font-size: 28px;
    margin-bottom: 50px;
    text-align: center;
}
#review .box_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
#review .review_box {
    margin-bottom: 30px;
}
#review .review_box figure{
    border-radius:100%;
    overflow:hidden;
}
.review_box {
    width: 30%;
    text-align: left;
}
#review .review_box p {
    margin-top: 20px;
}
#review{
    margin-bottom: 50px;
}
main {
    max-width: 100% !important;
    padding: 5% 10% !important;
}

#page-top{
    right:10px;
}
#fix_banner {
    position: fixed;
    bottom: 10px;
    right: 90px;
    display: inline-block;
    background: #1384cf;
    padding: 23px;
    border-radius: 40px;
    color: white;
    box-shadow: 0 2px 4px rgb(0 0 0 / 50%);
}
h4.box_title1{
    color: #1384cf;
}
#profile a.box_btn {
    background: #1384cf;
    padding: 7px;
    font-size: 16px;
    width: 70%;
}
#profile p.name {
    font-weight: bold;
    font-size: 20px;
}
#profile {
    display: flex;
    margin-bottom: 130px;
}
#profile figure img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#profile figure {
    position: relative;
}
#profile .box_txt {
    padding:30px;
}

.step .box {
    margin: 30px 0;
}
.step p.title {
    background: #0a466e;
    color: white;
    padding: 10px;
    font-size: 20px;
    margin-bottom: 10px;
}
section#method {
    background: #f6f6f6;
    padding: 5%;
    margin-bottom: 100px;
}
section#method {
    background: #f6f6f6;
    padding: 5%;
}
#method ul {
    background: white;
    padding: 20px;
    margin: 20px 0;
}
#method li {
    margin: 10px;
}
#method b {
    background: linear-gradient(transparent 60%, #fffb00 0%);
    color: #00375b;
    font-size: 18px;
}
#method h2 {
    display: inline-block;
    font-size: 28px;
    position: relative;
    border-top: 0;
    background: #0a466e;
    color: white;
    padding: 5px 50px 0;
    border: 0;
}
#method hgroup {
    text-align: center;
    margin-bottom: 40px;
}
#method h2 {
    display: inline-block;
    font-size: 28px;
    position: relative;
    border-top: 0;
}


#nayami .inner_wrap {
    background: #1384cf;
    padding: 5%;
}
#nayami{
    margin-bottom:100px;
}
#nayami h2 {
    display: inline-block;
    font-size: 28px;
    position: relative;
    border-top: 0;
    color:white;
}
#nayami hgroup {
    text-align: center;
    margin-bottom: 40px;
}
#nayami .box_wrap figure {
    background: white;
}
#nayami .box_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
 
}
#nayami .intro_box {
    margin-bottom: 30px;
}
#nayami .box_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
video{
    vertical-align: bottom;
}

div#main_b3 {
    position: absolute;
    right: 7vw;
    bottom: 0;
    z-index: 1;
}
.grid_8.d_flex.d_none_tb{
    justify-content: flex-end;
}
.txt_color2 {
    color: #1384cf;
}
#cms_3-c .box_title2 {
    color: #004b7c;
    font-weight: bold;
}
.box_item.box_description.d_flex.flex_stretch.pd_10px.pd_clear_sp {
    background: whitesmoke;
}
.flow .box_item.box_description.d_flex.flex_stretch.pd_10px.pd_clear_sp{
    background:none;
}
.flow .cate_box{
    margin-left: 100px;
    background: #ffffe8;
    margin-bottom: 20px;
}
.flow .box_wrap {
    position: relative;
}
.flow .box_wrap:before {
    content: "";
    display: inline-block;
    height: calc(100% - 0px);
    border-left: 14px solid #baddf4;
    position: absolute;
    top: -5px;
    left: 0;
}
.flow .box_title1{
    position:relative;
    border:0;
}
.flow .box_title2{
    border:0;
}
.flow .box_title1::before {
    width: 7px;
    height: 7px;
    margin-top: -3px;
    background: #6b90db;
    border-radius: 50%;
    left: -107px;
}
.flow .box_title1::before, .flow .box_title1::after {
    content: "";
    display: block;
    position: absolute;
    top: 18px;
}
.flow .box_title1::after {
    width: 90px;
    border-bottom: 1px dashed #7cbbe5;
    position: absolute;
    left: -100px;
}
#cms_2-a .box_item.grid_8.grid_12_sp.pd_l-r5per.mg_b-20px_sp {
    padding-left: 0;
}
#cms_2-a .box_item.grid_12.grid_12_sp.pd_l-r5per {
    background: #f5fbff;
    margin-top: 30px;
   padding: 2% 4%;
}
.border_color2 {
    border-color: #7cbbe5;
}
.bg_color4 {
    background-color: #def2ff;
}
.linkStyle {
    color: #1384cf;
    text-decoration: underline;
}
.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
	margin-bottom: 30px;
    color: #474521;
    font-weight: normal;
}
.link_type1 .link_top .link_title{
    font-size: 20px;
    margin-bottom: 20px;
    color:white;
}
.link_type1 .link_top a {
    padding-top: 80px;
    background: #1384cf;
    padding-bottom: 60px;
    border: 2px solid #1384cf;
}
.link_type1 .link_top a:hover{
    background-color: #7cbbe5;
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}
@media screen and (max-width: 667px){
.link_type1 .link_top .link_title{
    font-size: 15px;
}
}

.A{
    background: #e7d10f;
    color: white;
}
.bg_black {
    background-color: #1384cf;
}
.cms_5-c .box_txt1::before,#cms_5-c .box_txt1::before,.cms_5-c .box_title1::before,#cms_5-c .box_title1::before{
    display:none;
}
.qa_type5 .faq_no {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    top: -10px;
    left: 0;
	-webkit-background-clip: padding-box; 
	-moz-background-clip: padding; 
	background-clip: padding-box;
}
.qa_type5 .box_title1, .qa_type5 .box_txt1 {padding-left: 70px;line-height: 1.7;}

.cms_6-c .cate_box:last-of-type{
    margin-bottom:0;
}
.v_type3 .cate_box {
    border: 2px solid #7cbbe5;
}
.v_type3 .box_title1{color: #1384cf;}

#main_b img {
    width: 27vw;
}
div#main_img{
    position:relative;
}
div#main_b {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
#main_b2 {
    position: absolute;
    bottom: 0;
    width: 29vw;
    left: 15vw;
}
.group4 h3:before {
    width: 55px;
    height: 55px;
    content: "";
    position: absolute;
    background: url(Dup/img/icon5.png) no-repeat;
    background-size: contain;
    top: -50px;
    right: -60px;
}

.new_contents div:last-of-type {
    padding: 40px;
    background: #fdfee4;
    padding-top: 70px;
}

.new_contents div:first-of-type{
    padding: 40px;
       background: #f0f9ff;
    padding-top: 100px;
}
.group3 h3:before {
    width: 100%;
    height: 60px;
    content: "";
    position: absolute;
    background: url(Dup/img/icon4.png) no-repeat;
    left: 0;
    top: -70px;
    background-size: contain;
    background-position: center;
}
.group3 h3,.group4 h3 {
    display: inline-block;
    font-size: 28px;
    position: relative;
    border-top: 0;
}
.cms_title h2 {
    font-size: 28px;
}
section#side_info,#side_info figure{
    border-color: #7cbbe5;
}
a.con_btn:hover,a.box_btn:hover{
    opacity:0.8;
}

a.box_btn {
    width: 100%;
        background: #e83752;
    display: block;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 20px;
    font-size: 18px;
    color: white;
    transition: all 0.3s;
    border-radius: 50px;
}
header .mail_bt{
    margin:0 20px;
}
header .tel_txt a {
    background: #7cbbe5;
    padding: 10px;
    border: 2px solid #7cbbe5;
    transition:all 0.3s;
    
    color: white;
}
header .tel_txt a:hover{
    background:white;
    color:#7cbbe5;
}
header .tel_txt {
    margin-top: 0;
}
#side_contact h2 {
    color: #1384cf;
}

a.con_btn {
    display: block;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
     background: #e83752 !important;
    color: white;
    margin-top: 20px;
    transition: all 0.3s;
    font-size:18px;
    border-radius: 50px;
    
}

header .d_flex.flex_space-between.pd_t-20px.pd_b-20px.pd_t-15px_tb.pd_b-15px_tb {
    padding-top: 15px;
    padding-bottom: 15px;
}
section#page_title {
    background: #e7f5ff;
}
.fa-envelope:before {
    display:none;
}
div#main_img:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: #ffffff42;
}
div#main_txt p span {
    font-size: 70px;
    color: #1384cf;
    text-shadow: 2px 2px 0px white;
}
#main_txt {
    position: absolute;
    left: 0;
    top: 49%;
    text-align: center;
    width: 100%;
    z-index: 2;
}

#main_txt p {
    font-size: 44px;
    text-align: center;
    z-index: 2;
    display: inline-block;
    background: linear-gradient(transparent 60%, #fffb00 0%);
    color: #393939;
    line-height: 52px;
    text-shadow: 2px 2px white;
    padding-left: 5px;
    font-weight: bold;
}
div#main_img {
    max-height: calc(100vh - 135px);
    overflow: hidden;
}
.box b {
    background: linear-gradient(transparent 60%, #fffb00 0%);
    color: #00375b;
}

#contents .group2 h2:before {
    width: 160px;
    height: 120px;
    content: "";
    position: absolute;
    background: url(Dup/img/hito2.png) no-repeat;
    background-size: contain;
    top: -45px;
    left: -120px;
}
.intro_box{
    width:30%;
    text-align:left;
}
#intro{
    justify-content:space-around;
}
.intro_box figure.square_img img {
    width: 80% !important;
    height: auto !important;
}
.intro_box figure.square_img {
    background: #1384cf;
    border-radius: 100%;
}

#contents h2:before {
    width: 110px;
    height: 110px;
    content: "";
    position: absolute;
    background: url(Dup/img/hito1.png) no-repeat;
    background-size: contain;
    top: -50px;
    left: -120px;
}
#contents h2 {
    display: inline-block;
    font-size: 28px;
    position: relative;
    border-top: 0;
}
#contents hgroup{
    text-align:center;
    margin-bottom:40px;
}
.intro_box p {
    background: rgb(236 247 255);
    padding: 10px;
    box-sizing: border-box;
    margin-top: 20px;
    font-weight: bold;
}
span.ya {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 40px;
    border-color: transparent transparent #1384cf transparent;
    display: block;
    transform: rotate(180deg);
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}
p.intro_txt {
    background: #ffffe8;
    font-size: 20px;
    padding: 10px;
    border: 2px solid #fddc4f;
}
#main_b img {
    width: 28vw;
    max-width: 480px;
}
div#main_b {
    position: absolute;
    bottom: 0;
    left: 12%;
    width: 100%;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
}
#main_b2 {
    position: absolute;
    bottom: 0;
    width: 30vw;
    max-width: 410px;
    left: -30px;
    z-index: 1;
}

/*----------------------------------------------タブレット--------------------------------------*/
@media screen and (max-width:768px){
  
div#main_b{
    z-index:0 !important;
}

main {
    margin-top: 50px !important;
}
.intro_box {
    width: 30%;
}
#main_b img {
    width: 32vw;
    max-width: 480px;
    position: relative;
    top: 40px;
    left: -10px;
}
#fix_banner {
    bottom: 18px !important;
    right: 80px;
    display: inline-block;
    background: #1384cf;
    padding: 13px;
}
#copyright {
    padding-bottom: 70px;
}
#cms_2-b .box_txt_wrap.grid_7 {
    width: 100% !important;
}
#cms_2-b figure.cate_img1 {
    max-height: 400px;
}
}

/*----------------------------------------------スマホ--------------------------------------*/
@media screen and (max-width:667px){
 #contents h2{
 font-size:18px;
}
.intro_box {
    width: 80%;
    margin-bottom: 40px;
    
}
#intro{
    flex-direction: column;
}
#contents h2:before {
    width: 70px;
    height: 80px;
    content: "";
    position: absolute;
    background: url(Dup/img/hito1.png) no-repeat;
    background-size: contain;
    top: -40px;
    left: -80px;
}
div#main_b{
    transform: translateY(25px);
}
#contents .group2 h2:before {
    width: 110px;
    height: 90px;
    content: "";
    position: absolute;
    background: url(Dup/img/hito2.png) no-repeat;
    background-size: contain;
    top: -30px;
    left: -80px;
}
.intro_box figure {
    width: 50%;
    margin-left:auto;
    margin-right:auto;
}
.new_contents div:first-of-type {
    padding: 20px;
    padding-top: 80px;
}
.group3 h3:before{
    height:45px;
    top: -60px;
}
.new_contents div:first-of-type{
    padding-top: 80px;
}
.new_contents div:last-of-type{
    padding:20px;
    padding-top: 80px;
}
p.intro_txt{
    font-size:16px;
}
.group4 h3:before {
    width: 100%;
    height: 40px;
    content: "";
    position: absolute;
    background: url(Dup/img/icon5.png) no-repeat;
    background-size: contain;
    top: -55px;
    right: 0;
    background-position: center;
}
.link_type1 .link_top .link_title {
    font-size: 20px;
}
main {
    margin-top: 10px !important;
}
.group3 h3, .group4 h3{
    font-size:18px;
}
.intro_box p{
    font-size:14px;
}
.flow .cate_box {
    margin-left: 40px;
}
.flow .box_title1::before {
    left: -37px;
}
.flow .box_title1::after {
    width: 30px;
    left: -30px;
}
#cms_3-c .box_title2{
    font-size:16px;
}
.v_type3 figure {
    width: 50%;
    margin: auto;
}
#contents hgroup {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
#contents h2:before{
    display:none;
}
#contents h2:before{
    top:-20px;
}
div#main_b {
    position: absolute;
    bottom: 30px;
    left: 15%;
}
#main_b2{
    left:-10px;
}
#nayami h2{
    font-size:18px;
}
#method h2 {
    display: inline-block;
    font-size: 18px;
    position: relative;
    border-top: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}
.step p.title{
    font-size:18px;
}
#profile {
    flex-direction: column;
}
#profile figure img {
    top: 0;
}
#profile figure {
    position: relative;
    width: 100% !important;
    padding-top: 60%;
    overflow: hidden;
}
#profile .box_txt {
    padding: 20px;
    width: 100% !important;
}
    #review h2 {
    font-size: 18px;
}
#review .box_wrap{
    flex-direcition:column;
    align-items:center;
}
#review .review_box{
    width:80%;
}
#cms_2-b p {
    padding: 0;
}
.box_txt_wrap.grid_7 .box_txt h3 {
    padding-left: 0;
    padding-bottom: 10px;
}
#cms_2-b .box_txt {
    margin-bottom: 20px;
}
}