/* base */

html{
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: 'Montserrat', 'Noto Sans JP',  sans-serif;
    color: #333333;
    box-sizing:border-box
}

a {
    text-decoration: none;
    display: inline-block;
}

a:hover {
    opacity: .7;
    transition: .3s;
}

li {
    list-style: none;
}

img,svg{
    width: 100%;
    vertical-align: bottom;
  }

.section-wrapper {
    padding: 60px 0;
}

header, footer {
    margin: 0 auto;
}

.fv {
    max-width: 1440px;
    margin: 0 auto;
}

.section-inner {
    max-width: 1100px;
    padding: 0 30px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.section-text {
    line-height: 2;
}

.link-btn {
    display: block;
    width: 160px;
    background-color: #000;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
}

.flex-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* header */

.site-title {
    width: 260px;
    position: fixed;
    top: 38px;
    left: 4vw;
    z-index: 1;
}

.site-title.black svg path {
    fill: #333;
    transition: fill .3s;
}

.header-nav {
    font-weight: bold;
    font-size: 2rem;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 36.1vw;
    text-align: center;
    padding: 120px 0 0;
    background-color: rgba(34, 34, 34, .95);
    z-index: 2;
    transform: translateX(100%);
    opacity: 0;
    transition: transform .3s, opacity .3s;
}

.nav-item {
    margin-bottom: 30px;
}

.nav-item:first-of-type {
    width: 42px;
    height: 45px;
    margin: 0 auto 40px;
}

.nav-item:last-of-type {
    margin-bottom: 0;
}

.nav-item a {
    color: #fff;
}

/* hamburger btn, closed */

.burger-btn {
    display: flex;
    align-items: center;
    position: fixed;
    top: 38px;
    right: 4vw;
    z-index: 3;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #fff;
}

.bar_top {
    transform: translateY(-4px);
    transition: transform .3s;
}

.bar_bottom {
    transform: translateY(4px);
    transition: transform .3s;
}

.burger-logo {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    margin-left: 5px;
}

/* hamburger btn, opened */

.bar.cross.bar_top {
    transform: translateY(2px) rotate(30deg);
    transition: transform .3s;
}

.bar.cross.bar_mid {
    opacity: 0;
    transition: opacity .3s;
}

.bar.cross.bar_bottom {
    transform: translateY(-2px) rotate(-30deg);
    transition: transform .3s;
}

/* hamburger opened */

body.noscroll {
    overflow: hidden;
}

.header-nav.open {
    transform: translateX(0);
    opacity: 1;
    transition: transform .3s, opacity .3s;
}

.burger-mask {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1;
}

/* sticky header */

.burger-btn.black .bar {
    background-color: #333;
    transition: background-color .3s;
}

.burger-btn.black .burger-logo {
    color: #333;
    transition: color .3s;
}

/* fv */

.fv {
    height: 60vh;
    min-height: 450px;
}

.fv::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;  /* これが原因で画面2560pxのとき中央に空白ができる */
    background-color: #222;
    width: 50%;
    height: 60vh;
    min-height: 450px;
    z-index: -1;
}

.kv-wrapper {
    height: 86%;
    width: 76.4%;
    background-image: url(../img/heading-img_about.jpg);
    background-size: cover;
    background-position: center 0;   /* necessary for sp */
    position: relative;
}

.page-title {
    font-size: 7.2rem;
    text-transform: uppercase;
    font-weight: bold;
    position: absolute;
    right: 0;
    top : 50%;
    transform: translate(50%, -50%);
    color: white;
}

.page-title span {
    font-size: 2rem;
    display: block;
}

/* vision */

.section-wrapper:first-of-type {
    padding-top: 120px;
}

.vision-wrapper {
    padding-left: 15.7vw;
}

.section-subtitle {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 30px;
}

/* ceo message */

.ceo-img-wrapper {
    width: 36.4%;
    position: absolute;
    top: 0;
    left: 30px;
}

.relative {
    position: relative;
    padding-top: 150px;
}

.ceo-content {
    width: 840px;
    max-width: 70%;
    margin-left: auto;
    background-color: #F0F0F0;
    padding: 120px 30px 60px;
}

.ceo-content-inner {
    max-width: 400px;
    padding: 0 30px;
    margin: 0 auto;
}

/* company */

.section-wrapper:last-of-type {
    padding-bottom: 120px;
}

.company-list {
    border-top: 1px solid #ddd;
    margin-bottom: 40px;
}

.company-list>div {
    display: flex;
    padding: 20px 0;
    max-width: 800px;
    margin-left: auto;
    border-bottom: 1px solid #ddd;
}

.company-item-title {
    font-weight: bold;
    flex-basis: 142px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 32.7%;
}

.map-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* footer */

footer {
    background-color: #525252;
    line-height: 50px;
    color: #fff;
    text-align: center;
    font-size: 1rem;
}

/* responsive */
@media screen and (max-width: 768px) {
    
    /* base tb sp */

    body {
        font-size: 1.4rem;
    }

    .section-wrapper {
        padding: 40px 0;
    }

    .section-inner {
        padding: 0 4vw;
    }

      /* header tb */

    .site-title {
        width: 180px;
        top: 21px;
    }

    .burger-btn {
        top: 28px;
    }

    .header-nav {
        width: 67.7vw;
    }

    /* fv tb */

    .page-title {
        font-size: 5.2rem;;
        transform: translate(30%, -50%);
    }

    /* vision tb */

    .section-wrapper:first-of-type {
        padding-top: 80px;
    }

    /* ceo tb */

    .section-wrapper:last-of-type {
        padding-bottom: 80px;
    }

    .ceo-img-wrapper {
        max-width: 320px;
        width: 100%;
    }

    .relative {
        padding-top: 120px;
    }

} 

@media screen and (max-width: 480px) {
    
    /* vision sp */

     .vision-wrapper {
         padding-left: 0;
     }

     /* ceo sp */

    .ceo-content {
        width: 100%;
        max-width: 100%;
    }
     .ceo-img-wrapper {
         max-width: 90% ;
         left: 0;
     }

     .ceo-img-wrapper img {
        height: 226px;
        object-fit: cover;
     }

     /* map */

     .map-wrapper {
        padding-top: 140%;
     }

}