@charset "UTF-8";

/* Base
   ----------------------------------------------------------------- */
html,
body {
    padding: 0;
    margin: 0;
    font-size: 1rem;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", "sans-serif";
    line-height: 1.5;
    color: #231815;
    background-color: #fff;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
}
a {
    color: #1c2a53;
    text-decoration: none;
}
a:hover {
    color: #076baf;
    text-decoration: none;
}


/* Layout
   ----------------------------------------------------------------- */
.pc {display: block !important; }
.sp { display: none !important; }

@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

/* Base
   ----------------------------------------------------------------- */
#wrap {
	position: relative;
    margin: 0 auto;
	overflow: hidden;
}
#header {
	z-index: 3; 
}
#main {
	z-index: 1; 
}
#footer {
	z-index: 2; 
}
#main {
	position: relative;
}
.container {
    margin: 0 auto;
    max-width: 1280px;
}
section {
    width: 100%;
    clear: both;
}

.container h2 {
    font-size: 3rem;
    color: #1c2a53;
    text-align: center;
    font-weight: bold;
    font-family: Arial,'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',メイリオ,sans-serif;
}

@media (max-width: 760px) {
    .container {
        width: 90%;
    }
    .container h2 {
        font-size: 3rem;
    }
}

/* header
   ----------------------------------------------------------------- */
header {
    width: 100%;
    height: 100px;
    background:#fff;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0s;
}
.inner {
    height: 100%;
    margin: 0px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
h1{
    margin: 0;
}
h1 img {
    width: auto;
    height: 4vh;
}
nav ul {
    list-style: none;
    display: flex;
}         
nav li {
    float: left;
    font-size: 13px;
    border-right: 0;
}
nav li a {
    display: inline-block;
    position: relative;
    padding: 0 14px;
    font-size: 14px;
    color: #231815;
    text-align: center;
    letter-spacing: 2.5px;
    font-weight: bold;
}
nav li a span.gf {
    display: block;
    font-size: 12px;
    color: #076baf;
    letter-spacing: 1px;
}

nav li a:hover {
    text-decoration: none;
    color: #231815;
}

nav li a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #076baf;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
nav li a:hover::after {
    transform: scale(1, 1);
}

@media (max-width: 760px) {
    header {
        top: 0;
        height: 10vh;
    }
    header .inner {
        margin: 0 20px;
        justify-content: left;
    }
    header .inner img {
        height: 5vh;
    }
    header .inner nav {
        position: fixed;
        top: 10vh;
        bottom: 0;
        right: 0;
        left: 0;
        visibility: hidden;
        opacity: 0;
        transition: 0.5s;
        background-color: #1c2a53;
    }
    header .inner nav ul {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        align-items: flex-start;
    }
    header .inner nav ul li {
            margin: 20px;
    }
    header .inner nav ul li a {
        font-size: 20px;
        color: white;
    }
    .btn-trigger {
        position: absolute;
        top: 50%;
        right: 20px;
        width: 34px;
        height: 28px;
        transform: translateY(-50%);
        cursor: pointer;
    }
    .btn-trigger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #231815;
        border-radius: 4px;
    }
    .btn-trigger, .btn-trigger span {
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }
    .btn-trigger span:nth-of-type(1) { top: 0; }
    .btn-trigger span:nth-of-type(2) { top: 12px; }
    .btn-trigger span:nth-of-type(3) { bottom: 0; }
    #btn.active span:nth-of-type(1) { transform: translateY(12px) rotate(-45deg); }
    #btn.active span:nth-of-type(2) {
        left: 50%;
        opacity: 0;
        animation: active-btn-bar02 .8s forwards;
    }
    #btn.active span:nth-of-type(3) {
        transform: translateY(-12px) rotate(45deg);
    }
    nav li a span.gf {
        text-align: left;
    }
}
@media (min-width: 761px) {
    .btn-trigger {
        display: none; }
}

/* mv
   ----------------------------------------------------------------- */
.mv__inner {
    position: relative;
    margin: 0 auto;
    height: 100%;
    min-height: 675px;
    background: #fff;
}
h2.mv__title {
    font-size: 40px;
    line-height: 1.4;
    letter-spacing: 4.5px;
    font-weight: 600;
    position: absolute;
    margin: 0;
    z-index: 1;
    top: 50%;
    left: 100px;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}
.mv__figure {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    padding-left: 25%;
    height: 675px;
}
.mv__figure__item {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    padding-left: 25%;
    height: 675px;
}
.mv__figure img {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: left bottom;
    object-position: left bottom;
    height: 100%;
}

@media only screen and (max-width: 750px){
    .mv {
        width: 100%;
        height: 430px;
        min-height: auto;
        }
    .mv__inner {
        padding-left: 20%;
        height:430px;
        min-height: 430px;
        }
    h2.mv__title {
        font-size: 1.5rem;
        line-height: 1.4;
        letter-spacing: 4.5px;
        font-weight: 600;
        position: absolute;
        margin: 0;
        z-index: 1;
        top: 50%;
        left: 20px;
        width: 80%;
    }
    .mv__figure {
        position: absolute;
        padding-left: 0;
        height: 430px;
    }
    .mv__figure__item {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        width: 100%;
        height: 430px;
        padding-left: 0;
    }
    .mv__figure img {
        width: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: bottom;
        object-position: bottom;
    }
}

/* SERVICE
   ----------------------------------------------------------------- */
section#service, section#company {
    position:relative;
    z-index: 1;
}
section#service::after {
    content: "";
    display: block;
    width: 80%;
    height: 80%;
    background-color: #f9fafe;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.box {
    width: calc(33.3333333% - 12px);
    background: #fff;
    box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 20%);
}
.box img {
    width: 100%;
}
.flex__box {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.box__inner {
    margin: 1rem;
}
.box__inner h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1c2a53;
    text-align: center;
}

@media (max-width:750px) {
    .flex__box {
        flex-wrap: wrap;
    }
    .box {
        width: 100%;
        margin-bottom: 1rem;
    }
    .box__inner h3 {
        text-align: left;
    }
}

/* COMPANY
   ----------------------------------------------------------------- */
section#company::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #f9fafe;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.company__inner {
    background: #fff;
}
.company__item {
    padding: 1rem 5rem 5rem;
}
.company__item dl {
    padding: 25px 0;
    overflow: hidden;
    border-bottom: 1px solid #848180;
}
.company__item dt {
    font-weight: 700;
    width: 30%;
    clear: both;
    min-width: 150px;
}
.company__item dt, .company__item dd{
    padding: 0;
    float: left;
    line-height: 26px;
    margin-left: 5rem;
}
.map {
    width: 80%;
    height: 400px;
    margin: 0 auto;
}

@media (max-width:750px) {
    .company__item {
        font-size: 15px;
        width: 100%;
        padding: 1rem;
    }
    
    .company__item dl {
        padding: 1rem;
    }
    
    .company__item dt, .company__item dd {
        margin: 0.5rem 0 0;
        float: none;
    }
    
    .map {
        width: 90%;
        height: 250px;
        margin-top: 2rem;
    }
}

/* CONTACT
   ----------------------------------------------------------------- */
.contact__inner {
    background: #fff;
}
.contact__item {
    padding: 1rem 5rem 5rem;
}

@media (max-width:750px) {
    .contact__item {
        padding: 0;
    }
}

/* footer
   ----------------------------------------------------------------- */
footer {
    clear: both;
    background-color: #1c2a53;
    margin: 0 auto;
    padding: 1.25rem 0;
    text-align: center;
}
footer p {
    color: #fff;
    font-size: 0.75rem;
    line-height: 2rem;
    text-align: center;
    margin: 0;
}

@media (max-width:750px) {
    footer p {
        font-size: 0.5rem;
    }
}

/* pagetop
   ----------------------------------------------------------------- */
#pagetop{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 1rem;
    bottom: 2rem;
    background: #076baf;
    border-radius: 50%;
    z-index: 2;
}
#pagetop a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
    text-align: center;
}
#pagetop a::before{
    font-family: "Font Awesome 5 Free";
    content: '\f106';
    font-weight: 900;
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 75%;
    top: 10px;
    bottom: 10px;
    right: 0;
    left: 0;
    margin: auto;
}
@media (max-width:750px) {
    #pagetop{
        right: 1rem;
        bottom: 1rem;
        opacity: 0.6;
    }
}

/* pp・thanks
   ----------------------------------------------------------------- */
#privacy .container h2, #thanks .container h2 {
    font-size: 1.5rem;
    border-bottom: 3px solid #1c2a53;
    text-align: left;
    margin-bottom: 2rem;
}

#privacy .container h3 {
    border-left: 6px solid #1c2a53;
    padding: 1px 0 1px 8px;
}
.top_btn {
    text-align: center;
    padding-top: 60px;
}
.top_btn a {
    color: #fff;
}

/* 
   ----------------------------------------------------------------- */
.p60 {
    padding: 60px 0;
}
.pb60 {
    padding-bottom: 60px;
}
.p120 {
    padding: 60px 0 120px;
}
.pt120 {
    padding: 120px 0 60px;
}