@charset "UTF-8";
body{
    color: #333;
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
}
ul,
li{
    list-style: none;
    margin: 0;
    padding: 0;
}
figure,
dl,
dd{
    margin: 0;
}
h1, h2, h3, h4 {
    line-height: 1.5;
    margin-top: 0;
}
a{
    text-decoration: none;
}
.flex{
    display: flex;
}
.flex-c{
    display: flex;
    justify-content: center;
}
.flex-sb{
    display: flex;
    justify-content: space-between;
}
section{
    margin-bottom: 100px;
}
h2{
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    font-weight: 300;
}

/* header */
header {
    background-color: white;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1607843137);
            box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1607843137);
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 100px;
    display: flex;
    align-items: center;
    padding: 20px;
}
.logo{
    max-width: 165px;
    font-size: 0;
}
header nav ul {
    display: flex;
    gap: 20px;
}
header nav ul li{
    font-size: 18px;
}
.btn-r3{
    background-color: #0070b8;
    color: white;
    border-radius: 3px;
    text-align: center;
    padding: 8px 20px;
}
a img:hover,
.btn-r3:hover {
    opacity: 0.8;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

#h-lang{
    font-size: 14px;
    display: flex;
    align-items: center;
    padding-left: 22px;
    background-image: url(../images/glove.svg);
    background-repeat: no-repeat;
    background-position: top 5px left;
    background-size: 16px;
}
#h-lang a{
    color: #8E8671;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 0;
    height: 100%;
    display: block;
    line-height: 2;
}
#h-lang .lang-list{
    position: relative;
}
#h-lang .lang-list .sub-menu{
    opacity: 0;
    position: absolute;
    left: -25px;
    top: 35px;
    z-index: 4;
    background: white;
    width: 120px;
    visibility: hidden;
    transition: all .5s;
    box-shadow: 0 6px 6px -3px rgba(0, 0, 0, .3);
    border-radius: 10px;
    flex-flow: column;
    gap: 0;
}
#h-lang .lang-list .sub-menu a:hover{
    background-color: #8E8671;
    color: white;
}
#h-lang .lang-list .sub-menu li:first-of-type a,
#h-lang .lang-list .sub-menu li:first-of-type a:hover{
    border-radius: 10px 10px 0 0;
}
#h-lang .lang-list .sub-menu li:last-of-type a,
#h-lang .lang-list .sub-menu li:last-of-type:hover a{ 
    border-radius: 0 0 10px 10px;
}
#h-lang .lang-list .sub-menu a{
    padding: .5em 1em .6em 1em;
    display: block;
}
#h-lang:hover .sub-menu{
    opacity: 1;
    visibility: visible;
}
@media screen and (min-width:1020px) {
    nav {
        position: absolute;
        right: 4%;
    }
    header nav ul li a {
        padding: 0 20px;
    }
}
@media screen and (max-width:1020px) {
    header{
        height: 60px;
    }
    .logo {
        height: 40px;
    }
    .logo img{
        max-height: 100%;
    }
    header nav{
        opacity: 0;
        display: block;
        position: absolute;
        bottom: 0;
        right: -100%;
        -webkit-transform: translate(0%, 100%);
                transform: translate(0%, 100%);
        background-color: rgba(255,255,255,.9);
        z-index: 110;
        max-width: 100%;
        width: 346px;
        -webkit-transition: all 0.4s;
        transition: all 0.4s;
        opacity: 0;
        padding: 30px 35px 100px;
        height: 100vh;
        overflow-y: scroll;
    }
    header nav.active{
        right: 0;
        opacity: 1;
    }
    header nav ul{
        flex-flow: column;
    }
    .toggle{
        position: absolute;
        top: 0;
        right: 0;
        z-index: 110;
        display: block;
        height: 58px;
        width: 66px;
        cursor: pointer;
    }
    .toggle span {
        position: absolute;
        display: inline-block;
        -webkit-transition: all 0.2s;
        transition: all 0.2s;
        -webkit-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
        left: 50%;
        height: 1px;
        width: 30px;
        background-color: #333;
    }
    .toggle span:nth-of-type(1) {
        top: 20px;
    }
    .toggle span:nth-of-type(2) {
        top: 30px;
    }
    .toggle span:nth-of-type(3) {
        top: 40px;
    }
    .toggle.active span {
        left: 25%;
    }
    .toggle.active span:nth-of-type(1) {
        top: 30px;
        -webkit-transform: translateY(0) rotate(-45deg);
                transform: translateY(0) rotate(-45deg);
        width: 30px;
    }
    .toggle.active span:nth-of-type(2) {
        opacity: 0;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
    .toggle.active span:nth-of-type(3) {
        top: 30px;
        -webkit-transform: translateY(0) rotate(45deg);
                transform: translateY(0) rotate(45deg);
        width: 30px;
    }
    .btn-r3{
        width: 100%;
        display: block;
    }
    #h-lang {
        background-position: top 7px left;
    }
    #h-lang .lang-list {
        width: 100%;
    }
    #h-lang .lang-list .sub-menu{
        opacity: 1;
        visibility: visible;
        box-shadow: inherit;
        background-color: inherit;
        width: 100%;
    }
    #h-lang .lang-list .sub-menu a {
        padding: .5em 1em 0.6em 2em;
    }
    #h-lang .lang-list .sub-menu a:hover{
        background-color: inherit;
        color: inherit;
    }
}

/* Topimg */
.topimg > div{
    width: 50%;
    margin: 0;
    padding: 0;
    text-align: center;
}
.topimg figure{
    overflow:hidden;
    height: 500px;
    margin: 0;
}
.topimg figure img{
    object-fit: cover;
    width: auto;
    height: 500px;
    transition: .3s ease-out;
}
.topimg figure:hover img{
    transform: scale(1.1);
    transition: .3s ease-out;
}
.topimg > div p{
    text-align: left;
    display: inline-block;
    margin: 20px 0;
}
@media screen and (max-width: 992px){
    .topimg figure,
    .topimg figure img{
        height: 400px;
    }
}
@media screen and (max-width: 768px){
    .topimg{
        flex-flow: column;
    }
    .topimg > div{
        width: 100%;
    }
    .topimg figure,
    .topimg figure img {
        height: auto;
    }
    .topimg > div p{
        text-align: center;
    }
}
@media screen and (max-width: 599px){
    .topimg figure, .topimg figure img {
        height: 300px;
    }
}
/* Box01 */
.box01 figcaption{
    text-align: center;
    font-size: 28px;
}
.box01 ul{
    gap: 40px;
    padding: 0 20px;
}
@media screen and (max-width: 599px){
    .box01 ul{
        flex-flow: column;
    } 
}
/* Box02 */
.box02 > div.flex{
    justify-content: center;
    gap: 50px;
}
.box02 > div.flex h3{
    font-size: 22px;
    margin-bottom: 5px;
}
.box02 dl{
    display: grid;
    gap: 10px;
    grid-template-columns: 100px 1fr;
    margin-bottom: 20px;
}
.box02 p{
    width: 800px;
    margin: 50px auto;
}
/* Box03 */
.box03 img {
    margin: 0 auto;
}
@media screen and (max-width: 768px){
    .box02 > div.flex{
        flex-flow: column;
    }
    .box02 figure img{
        margin: 0 auto;
    }
    .box02 > div.flex > div,
    .box02 p{
        padding: 0 20px;
    }
    .box02 p{
        width: 100%;
    }
}
/* cta-box */
.cta-box p{
    margin-bottom: 45px;
    text-align: center;
}
.cta-box a{
    border-radius: 50px;
    text-align: center;
    background-color: #0070b8;
    color: white;
    width: 350px;
    padding: .6em 0;
    display: block;
    margin: 0 auto;
    border: 1px solid #0070b8;
}
.cta-box a:hover{
    background-color: white;
    transition: all .2s;
    color: #0070b8;
}
/* Footer */
footer{
    background-color: #f1f1f1;
    padding: 50px 0 0;
}
footer div.flex{
    justify-content: center;
    width: 80%;
    margin: 0 auto;
}
footer div.flex > div{
    width: calc(100%/3 - 40px);
}
footer small{
    text-align: center;
    width: 100%;
    display: block;
    padding: 30px 0 5px;
}
footer a:hover{
    text-decoration: underline;
    opacity: 1;
}
@media screen and (max-width: 768px){
    footer div.flex{
        width: 100%;
    }
}
@media screen and (max-width: 599px){
    footer div.flex{
        flex-flow: column;
        padding: 0 20px;
    }
    footer div.flex > div {
        width: 100%;
        margin-bottom: 20px;
    }
}
/* Legal Notice  */
.legal,
.breadcrumb{
    width: 1000px;
    margin: 0 auto;
}
.legal{
    margin-bottom: 100px;
}
.breadcrumb ul{
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.breadcrumb ul li{
    position: relative;
    color: #ccc;
    font-size: 14px;
}
.breadcrumb ul li:nth-last-of-type(n+2)::after{
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    transform: rotate(45deg);
    top: 9px;
    right: -12px;
}
.legal p,
.legal dl{
    width: 80%;
    margin: 0 auto;
}
.legal dl + p{
    margin-top: 30px;
}
.legal dt{
    font-weight: 700;
    margin-top: 20px;
}