﻿/*---common start---*/

.bg_color1 {
    background-color: #22698f;
}

figure{
    border-radius: 30px;
}

/*---common end---*/

#intro{
    position: relative;
}

#intro:before{
    content: "";
    display: block;
    width: 82.5%;
    height: 90%;
    position: absolute;
    top: 0%;
    right: 0%;
    background-color: white;
    /* -webkit-transform: translate(-50% , -50%); */
    /* transform: translate(-50% , -50%); */
    pointer-events: none;
    z-index: 0;
    border-radius: 0 0 0 130px;
}

#wrap{
    background-color: #fff;
}

#intro > div{
        z-index: 1;
    position: relative;
}

#contents .box_wrap .box:nth-child(3){
    display: none;
}

#contents{
    position: relative;
}

#contents .con_img {
    border-radius: 30px;
}

#contents .box:nth-child(1) .con_img, #contents .box:nth-child(2) .con_img{
    position: relative;
}

#contents .box:nth-child(1) .con_img:before{
    content: "";
    display: block;
    width: 150px;
    height: 150px;
    position: absolute;
    top: 0%;
    left: 80%;
    background-image: url(./Dup/img/icon3.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
}

#contents .box:nth-child(2) .con_img:before{
    content: "";
    display: block;
    width: 120px;
    height: 120px;
    position: absolute;
    top: 20%;
    left: 0%;
    background-image: url(./Dup/img/icon4.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
}

.btns a{
        display: inline-block;
    padding: 20px;
    border-radius: 20px;
}

.man{
        border: 2px solid #22698f;
    color: #22698f;
    font-weight: bold;
}

.lady{
        border: 2px solid #d4114f;
    color: #d4114f;
    font-weight: bold;
}

#main_img {
    width: 80% !important;
    margin: auto;
    margin-right: 5%;
    border-radius: 0 0 50px 50px;
        height: 100%;
    max-height: 100%;
}

.pare{
    position: relative;
}


.pare:before{
        content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/icon2.png), url(./Dup/img/copy.png), url(./Dup/img/catch.png);
    background-position: 7% 93%, 7% 68.5%, 99% 90%;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 11%, 33%, 5%;
    pointer-events: none;
}

.catch_sp{
    display: none;
}

#logo2 {
    width: 200px;
}

#contents .box {
    border-bottom: none;
}

.koren{
        max-width: 60px;
    display: block;
    margin: auto;
    /* margin-bottom: 20px; */
    filter: invert(1);
}

.links a{
    text-align: center;
    padding: 40px 0;
    box-sizing: border-box;
    font-size: 22px;
    color: white;
    background-color: #22698f;
    border: 1px solid white;
    transition: 0.3s;
}

.links a:hover{
    background-color: #f7f7f7;
    color: #22698f;
    font-weight: bold;
    transition: 0.3s;
}

.links a:hover span{
        filter: invert(0);
}

.linkStyle{
color: #22698f;
font-weight: bold;
}

header #header #header_menu li a span {
    padding-top: 9px;
    text-shadow: white 2px 0px 0px, white -2px 0px 0px, white 0px -2px 0px, white 0px 2px 0px, white 2px 2px 0px, white -2px 2px 0px, white 2px -2px 0px, white -2px -2px 0px, white 1px 2px 0px, white -1px 2px 0px, white 1px -2px 0px, white -1px -2px 0px, white 2px 1px 0px, white -2px 1px 0px, white 2px -1px 0px, white -2px -1px 0px, white 1px 1px 0px, white -1px 1px 0px, white 1px -1px 0px, white -1px -1px 0px;
}

header #header #header_menu li:last-child a span{
    text-shadow: none;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

.pare {
    margin-top: 90px;
}

header #logo .logo {
    width: 100%;
    max-width: 175px;
    position: relative;
    top: 3px;
}

.catch_sp {
    display: block;
    margin: 80px auto;
    margin-bottom: 0;
}

.catch_sp .up{
width: 65%;
    margin: auto;
}

.catch_sp .bottom {
    max-width: 15%;
    margin: 25px auto 0;
}

#main_img {
    border-radius: 0;
}

.pare:before {
    background-image: url(./Dup/img/icon22.png), url(./Dup/img/copy2.png), url(./Dup/img/catch.png);
    background-size: 11%, 33%, 9%;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){



header #logo .logo {
    max-width: 110px;
    position: relative;
    top: 3px;
    left: -30px;
}

header #logo .logo img{
    width: 100% !important;
}



.top_cms_box_inner {
    padding: 50px 15px;
}

#main_img {
    height: 100vw !important;
}

.pare:before {
    background-size: 11%, 33%, 14%;
        background-image: url(./Dup/img/icon22.png), url(./Dup/img/copy2.png), url(./Dup/img/catch.png);
}

#contents .box:nth-child(1) .con_img:before {
    width: 100px;
    height: 100px;
    left: 85%;
}

#contents .box:nth-child(2) .con_img:before {
    width: 90px;
    height: 90px;
    top: 5%;
    left: 7%;
}

#logo2 {
    width: 150px;
}

.pare {
    margin-top: 70px;
}

#main_img {
    width: 100% !important;
    margin: auto;
    margin-right: 0%; 
    border-radius: 0;
}

.swiper-container{
    transform: scale(1.28);
    transform-origin: right top;
}

.catch_sp{
        margin: 60px auto;
        display: block;
}

.catch_sp .up{
        max-width: 90%;
    margin: auto;
}

.catch_sp .bottom {
    max-width: 70px;
    margin: 25px auto 0;
}


}