@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');

body {
    font-family: YakuHanJP, "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 500;
    color: #000b3a;
    background-color: #fff;
}
body:not(.home) {
    background-color: #f9f9fe;
}
a {
    word-break: break-all;
    transition: .2s;
}
.en {
    font-family: "new-atten", "Noto Sans JP", sans-serif;
    font-weight: 800;
    font-style: italic;
}
.sp {
    display: none;
}
.inner {
    max-width: 1500px;
    padding: 0 7.46%;
    margin: 0 auto;
    box-sizing: content-box;
}
.mid_inner {
    max-width: 1200px;
    margin: 0 auto;
}
.inner_inner {
    max-width: 800px;
    margin: 0 auto;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
@media screen and (max-width:640px) {
    .inner {
        width: 100vw;
        padding: 0 5%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .inner_inner {
        width: 100vw;
        padding: 0 5%;
        margin: 0 auto;
    }
    .mid_inner {
        width: 100vw;
        padding: 0 5%;
        margin: 0 auto;
    }
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
}

.main_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
.main_header.scrolled,
.main_header.hum-open {
    background-color: #fff;
    box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.05);
}
.main_header .header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
}
.main_header .logo {
    width: 300px;
}
.main_header .logo #logo-fill {
    fill: #fff;
}
.main_header.scrolled .logo #logo-fill,
.main_header.hum-open .logo #logo-fill {
    fill: #000b3a;
}
.hum {
    display: none;
}
.nav_container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.header_nav {
    display: flex;
    align-items: center;
    gap: 35px;
}
.header_nav_link {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
}
.main_header.scrolled .header_nav_link,
.main_header.hum-open .header_nav_link {
    color: #000b3a;
}
.cta-btn {
    background-color: #fff;
    border: solid 1px #000b3a;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #000b3a;
    line-height: 1;
}
.cta-btn .icon {
    display: block;
    width: 17px;
}
.cta-btn .icon img {
    vertical-align: bottom;
}

@media screen and (max-width:640px) {
    .main_header .logo {
        width: 260px;
    }
    .main_header .logo svg {
        vertical-align: bottom;
    }
    .main_header .header_inner {
        padding: 0 0 0 5%;
    }
    .hum {
        display: block;
        width: 60px;
        height: 60px;
        box-shadow: none;
        outline: none;
        position: relative;
        border: none;
        z-index: 999;
        background-color: transparent;
    }
    .hum span {
        position: absolute;
        left: 15px;
        width: 30px;
        height: 1px;
        background-color: #fff;
        border-radius: 4px;
    }
    .main_header.scrolled .hum span,
    .main_header.hum-open .hum span  {
        background-color: #000b3a;
    }
    .hum, .hum span {
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }
    .hum span:nth-of-type(1) {
        top: 20px;
    }
    .hum span:nth-of-type(2) {
        top: 30px;
    }
    .hum span:nth-of-type(3) {
        top: 40px;
    }
    .hum.active span:nth-of-type(1) {
        -webkit-transform: translateY(20px) rotate(-45deg);
        transform: translateY(10px) rotate(-45deg);
    }
    .hum.active span:nth-of-type(2) {
        opacity: 0;
    }
    .hum.active span:nth-of-type(3) {
        -webkit-transform: translateY(-20px) rotate(45deg);
        transform: translateY(-10px) rotate(45deg);
    }
    .nav_container {
        display: none;
    }
    .nav_container.active {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 130%;
        background-color: #fff;
        border-top: solid 1px #e9e9e9;
    }
    .header_nav {
        flex-direction: column;
        gap: 0;
    }
    .header_nav .header_nav_link {
        width: 100%;
        border-left: none;
        border-bottom: solid 1px #e9e9e9;
        padding: 20px 10px;
        color: #000b3a;
    }
    .cta-btn {
        width: 300px;
        border: solid 1px #000b3a;
        margin: 40px auto 0;
        padding: 15px 20px;
        gap: 20px;
        font-size: 1.8rem;
        font-weight: 700;
    }
    .cta-btn .icon {
        display: block;
        width: 22px;
        margin-right: 40px;
    }
}

.lower-links {
  padding: 120px 0;
}
.lower-link-contents {
  padding: 0 40px;
  display: flex;
  gap: 40px;
}
.lower-link-contents .lower-link-item {
  width: calc(50% - 20px);
  padding: 20% 40px 40px;
  color: #fff;
}
.lower-link-contents .lower-link-item:nth-child(1) {
  background: url(../images/common/message-bg.jpg) no-repeat;
  background-size: cover;
}
.lower-link-contents .lower-link-item:nth-child(2) {
  background: url(../images/common/company-bg.jpg) no-repeat;
  background-size: cover;
}
.lower-link-contents .lower-link-item .txtarea {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lower-link-contents .lower-link-item .link-title-en {
  font-size: 4vw;
  font-weight: 900;
  line-height: 1;
}
.lower-link-contents .lower-link-item .link-title-jp {
  font-size: 1.8rem;
  font-weight: 700;
}
.lower-link-contents .lower-link-item .link-arrow {
  width: 70px;
}

@media screen and (max-width:640px) {
    .lower-links {
      padding: 60px 0;
    }
    .lower-link-contents {
        flex-direction: column;
        gap: 20px;
        padding: 0 5%;
    }
    .lower-link-contents .lower-link-item {
        width: 100%;
        padding: 30% 15px 15px;
    }
    .lower-link-contents .lower-link-item .link-title-en {
        font-size: 4rem;
    }
    .lower-link-contents .lower-link-item .link-title-jp {
        font-size: 1.5rem;
    }
    .lower-link-contents .lower-link-item .link-arrow {
        width: 50px;
    }
}

.main_footer {
  background-color: #232323;
  padding: 100px 0 20px;
}
.footer-main-nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding-bottom: 30px;
    border-bottom: solid 1px #505050;
}
.footer-main-nav .footer_nav_link {
    color: #fff;
    font-size: 1.6rem;
}
.footer-sub-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 30px;
}
.footer-sub-nav .footer_sub_link {
    color: #fff;
    font-size: 1.4rem;
}
.footer-logo {
    width: 300px;
    margin: 60px auto 20px;
}
.copyright {
    font-size: 1.3rem;
    font-weight: 200;
    text-align: center;
    color: #fff;
}

@media screen and (max-width:640px) {
    .main_footer {
        padding: 60px 0 15px;
    }
    .footer-main-nav {
        flex-wrap: wrap;
        gap: 10px 25px;
        padding-bottom: 20px;
    }
    .footer-sub-nav {
        gap: 20px;
        padding-top: 20px;
    }
    .footer-sub-nav .footer_sub_link {
        font-size: 1.3rem;
    }
    .footer-logo {
        width: 300px;
        margin: 40px auto 15px;
    }
}



.service-list {
    background-color: #f1f4f9;
    padding: 120px 0;
}
.section-title {
    color: #000b3a;
    line-height: 1.2;
}
.section-title-en {
    font-size: 6rem;
}
.section-title-jp {
    font-size: 1.8rem;
    font-weight: 700;
}
.service-wrap {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}
.service-item {
    width: calc(50% - 30px);
    background-color: #fff;
    box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.05);
    padding: 60px;
    position: relative;
    overflow: hidden;
}
.service-item-contents {
    position: relative;
    z-index: 2;
}
.service-item .service-number {
    color: #a78035;
    font-size: 3rem;
    position: absolute;
    top: 10px;
    left: 20px;
}
.service-item .service-en {
    font-size: 10rem;
    line-height: 1;
    position: absolute;
    top: 0;
    right: -10px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: #f0f1f8;
    z-index: 1;
}
.service-img {
    width: 126px;
    height: 126px;
    display: block;
    margin: 0 auto;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.service-name {
    font-size: 3rem;
    font-weight: 800;
    color: #01092c;
    text-align: center;
    margin: 50px 0 30px;
}
.service-headline {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.6;
}
.service-headline .ita {
    background-color: #3048ae;
    padding: 0 10px;
}
.service-description {
    width: 420px;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.8;
    margin: 20px auto 0;
}

@media screen and (max-width:640px) {
    .section-title-en {
        font-size: 3.4rem;
    }
    .section-title-jp {
        font-size: 1.6rem;
    }
    .service-list {
        padding: 60px 0;
    }
    .service-wrap {
        margin-top: 30px;
        gap: 20px;
    }
    .service-item {
        width: 100%;
        padding: 40px 5%;
    }
    .service-item .service-en {
        font-size: 8rem;
    }
    .service-img {
        width: 100px;
        height: 100px;
    }
    .service-name {
        font-size: 2.2rem;
        margin: 30px 0 15px;
    }
    .service-headline {
        font-size: 1.8rem;
    }
    .service-description {
        width: 100%;
        font-size: 1.4rem;
    }
}

.more-btn-wrap {
    margin-top: 60px;
}
.more-btn {
    color: #000b3a;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.more-btn .more-txt {
    font-size: 1.8rem;
    border-bottom: solid 1px #000b3a;
}
.more-btn .more-arrow {
    width: 50px;
}

@media screen and (max-width:640px) {
    .more-btn-wrap {
        margin-top: 30px;
    }
    .more-btn .more-txt {
        font-size: 1.6rem;
    }
    .more-btn .more-arrow {
        width: 40px;
    }
}