@charset "utf-8";

/* モバイルファースト */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 10px;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: #3b3b3b;
    font-size: 1.4rem;
    line-height: 1.7;
    line-break: strict;
}

img {
    height: auto;
    vertical-align: top;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #3b3b3b;
}

a:hover {
    opacity: 0.7;
}

li {
    list-style: none;
}

.no__break {
    white-space: nowrap;
}

/* header */
header {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;
    padding: 1rem 2rem;
    background: #fff;
}

h1 {
    width: 20rem;
}

.gnav__list {
    margin: 5rem 0;
}

.gnav__list li {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.gnav__list li a {
    color: #fff;
}

#menu__btn__check {
    display: none;
}

.gnav__contact__list,
.contact__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    font-weight: bold;
}

.gnav__contact__list li {
    width: 47%;
    border: 1px solid #fff;
}

.gnav__contact__list li a,
.contact__list li a {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.gnav__contact__list li:first-child a,
.contact__list li:first-child a {
    padding: 1.8rem;
}

.gnav__contact__list li:nth-child(2) a p,
.contact__list li:nth-child(2) a p {
    color: #fff;
}

.contact__mail {
    text-align: center;
}

.tel-link {
    text-align: center;
}

.gnav__contact__list li img,
.contact__list li img {
    width: 6rem;
    margin: 0 auto 0.625rem;
    display: block;
    border-radius: 0;
}

.pc__br {
    display: none;
}

/* ハンバーガーメニューボタン */
.menu__btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    height: 4rem;
    width: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 1002;
}

.menu__btn span {
    content: "";
    display: block;
    height: 0.15rem;
    width: 4rem;
    background-color: #3b3b3b;
    transition: transform 0.3s ease-in-out;
}

#menu__btn__check:checked ~ .menu__btn span {
    transform: translateY(1.1rem) rotate(-45deg);
    background-color: #fff;
}

#menu__btn__check:checked ~ .menu__btn span:nth-child(2) {
    opacity: 0;
}

#menu__btn__check:checked ~ .menu__btn span:nth-child(3) {
    transform: translateY(-1.1rem) rotate(45deg);
}

#menu__btn__check:checked ~ .gnav__contents {
    right: 0;
}

.gnav__contents {
    position: fixed;
    top: 0;
    right: -200%;
    z-index: 1000;
    height: 100%;
    background-color: #2F5F9D;
    padding: 8rem 1.25rem;
    width: 75%;
    transition: 0.5s ease-in-out;
}

.mask {
    opacity: 0;
    visibility: hidden;
    background-color: rgba(96, 171, 244, 0.4);
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transition: 0.5s ease-in-out;
}

#menu__btn__check:checked ~ .mask {
    opacity: 100;
    visibility: visible;
}

.gnav__contact__list li a {
    color: #3b3b3b;
}

/* MV */
#mainvisual {
    min-height: 85vh;
    position: relative;
}

.mv__background {
    min-height: 85vh;
    padding: 0 6%;
    position: relative;
    margin-top: 7.5rem;
    overflow: hidden;
}

.mv__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: fadeBg 16s infinite;
}

.mv__bg--1 {
    background-image: url(img/mainvisual_sp.webp);
    animation-delay: 0s;
}

.mv__bg--2 {
    background-image: url(img/mainvisual_sp_2.webp);
    animation-delay: 8s;
}

@keyframes fadeBg {
    0%   { opacity: 0; }
    15%  { opacity: 1; }
    45%  { opacity: 1; }
    60%  { opacity: 0; }
    100% { opacity: 0; }
}

.mv__text {
    position: absolute;
    bottom: 15%;
    right: 6%;
    text-align: right;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.05em;
    z-index: 10;
    padding: 3rem;
    background: rgba(1, 69, 132, 0.7);
}

.mv__text__big {
    font-size: 4rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    text-shadow: 0.6rem 1.2rem 0.5rem rgba(0, 0, 0, 0.7);
}

.mv__text__small {
    font-size: 1.4rem;
    line-height: 2;
    text-shadow: 0.3rem 0.7rem 0.4rem rgba(0, 0, 0, 0.7);
}

/* section */
.wrapper,
.service__wrapper,
.recruit__wrapper {
    padding: 5rem 6% 8rem 6%;
    text-align: center;
}

.wrapper img,
.service__wrapper img,
.recruit__wrapper img {
    border-radius: 1rem;
}

h2 {
    font-weight: bold;
    font-size: 2.4rem;
    text-align: center;
    position: relative;
    display: inline-block;
    margin-bottom: 5rem;
    z-index: 1;
}

h2 span {
    display: block;
    font-size: 1.8rem;
    color: #2F5F9D;
    letter-spacing: 0.1em;
}

h2::before {
    content: "";
    width: 8rem;
    height: 8rem;
    background-color: #009B00;
    opacity: 0.2;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-100%); /* 2文字分左へずらす */
    top: -30%;
    z-index: 0;  
}

/* news */
.news_list {
    display: flex;
    justify-content: space-between;
}

.news_list dt,
.news_list dd {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #3b3b3b;
}

.news_list dt {
    width: 40%;
}

.news_list dd {
    width: 60%;
}

/* service */
#service,
#company {
    background-color: #f7f7f7;
}

.servise__contents {
    padding: 5rem 6%;
    background-color: #fff;
    text-align: left;
    border-radius: 2rem;
    border: 0.3rem solid #2F5F9D;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service__title {
    font-size: 2rem;
    font-weight: bold;
    color: #2F5F9D;
    text-align: center;
    padding-bottom: 1.2rem;
    border-bottom: 0.2rem solid #2F5F9D;
    margin-bottom: 2rem;
}

.service__text__detail {
    line-height: 2;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2.4rem;
    padding-bottom: 1rem;
    border-bottom: 0.3rem solid #009B00;
    display: inline-block;
    margin-bottom: 5rem;
}

/* usp */
.usp__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.usp__list li {
    padding: 3rem 2rem;
    background-color: #fff;
    border: 0.3rem solid #2F5F9D;
    border-radius: 2rem;
}

.usp__image {
    margin-bottom: 3rem;
}

.usp__title {
    font-size: 2rem;
    font-weight: bold;
    padding-bottom: 1.5rem;
    border-bottom: 0.2rem solid #009B00;
    margin-bottom: 3rem;
}

.usp__text {
    text-align: left;
}

/* strengths */
#strengths {
    padding: 4rem 3rem;
    border: 0.3rem solid #2F5F9D;
    border-radius: 2rem;
    margin-bottom: 5rem;
}

.icon__list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.icon__list li img {
    width: 10rem;
    height: 10rem;
}

.strengths__text {
    font-weight: bold;
    text-align: left;
}

/* recruit */
.recruit__text {
    font-weight: bold;
    text-align: left;
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 5rem;
    color: #2F5F9D;
}

#recruit__info {
    border: 0.2rem solid #2F5F9D;
}

#recruit__info dt {
    background: #2F5F9D;
    color: #fff;
    text-align: center;
    border-top: 0.2rem solid #fff;
}

#recruit__info dt:first-child {
    border: none;
}

#recruit__info dd {
    border-top: 0.2rem solid #2F5F9D;
    background: #fff;
}

#recruit__info dd:nth-child(2) {
    border: none;
}

#company__info__list,
#recruit__info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5rem;
}

#company__info__list dt,
#recruit__info dt {
    width: 30%;
    font-weight: bold;
    padding: 1.6rem;
}

#company__info__list dd,
#recruit__info dd {
    width: 70%;
    padding: 1.6rem;
    text-align: left;
}

#company__info__list dt,
#company__info__list dd {
    border-top: 1px solid #2F5F9D;
}

#company__info__list dt:first-child,
#company__info__list dd:nth-child(2) {
    border: none;
}

/* vices */
#voices {
    padding: 5rem 2rem;
    border: 0.2rem solid #2F5F9D;
    border-radius: 2rem;
    margin-bottom: 5rem;
}

.voice__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: left;
}

.voice__list li img {
    margin-bottom: 3rem;
}

.menber__name {
    font-size: 2rem;
    font-weight: bold;
    padding-bottom: 1rem;
    border-bottom: 0.2rem solid #2F5F9D;
    margin-bottom: 1.5rem;
}

.menber__name span {
    display: block;
    font-size: 1.6rem;
}

.contact__list li {
    width: 47%;
}

.contact__list li:first-child {
    background-color: #009B00;
}

.contact__list li:nth-child(2) {
    background-color: #2F5F9D;
}

.koutchare p {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2F5F9D;
    margin-bottom: 3rem;
}

.kouchare__link {
    width: 70%;
    margin: 0 auto 5rem auto;
}

/* company */
#company img {
    margin-bottom: 5rem;
}

#company p {
    text-align: left;
    margin-bottom: 5rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: #2F5F9D;
}

#company__info__list dt {
    text-align: left;
}


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

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

/* footer */
.to__top.show {
    opacity: 1;
    pointer-events: auto;
}

.to__top {
    width: 5.5rem;
    height: 5.5rem;
    background-color: #2F5F9D;
    border-radius: 50%;
    position: fixed;
    right: 1.5rem;
    bottom: 2.4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid #fff;
    z-index: 2;
}

.to__top::before {
    content: "";
    border-left: 0.8rem solid transparent; 
    border-right: 0.8rem solid transparent;
    border-bottom: 0.8rem solid #fff;
    position: relative;
    left: 1.85rem;
    top: 3%;
}

.footer__contents {
    padding: 5rem 15%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer__logo {
    display: block;
    width: 25rem;
    margin-bottom: 2.5rem;
}

.footer__right {
    font-weight: bold;
}

.footer__right li {
    margin-bottom: 1rem;
}

.copyright {
    font-size: 1.2rem;
    text-align: center;
    padding-bottom: 1rem;
}

/* contact */
.contactform__body,
.send__body,
.privacy__policy__body {
    background-color: #f7f7f7;
    padding-top: 7.5rem;
}

.contactform__body #footer,
.send__body #footer,
.privacy__policy__body #footer {
    background-color: #fff;
}

.overview {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2F5F9D;
    text-align: center;
    margin-bottom: 3rem;
}

form,
#confirmScreen,
.send__complete,
.policy__contents {
    background-color: #fff;
    border-radius: 2rem;
    padding: 5rem 2rem;
}

.contact__form__list {
    margin-bottom: 1.6rem;
    text-align: left;
}

#contactForm dt,
#contactForm dd {
    margin-bottom: 1.6rem;
}

#contactForm dt {
    font-weight: bold;
    color: #2F5F9D;
}

input,
textarea {
    width: 100%;
    padding: 1.2rem 1.6rem;
}

.required {
    color: red;
    font-size: 1.3rem;
    margin-left: 0.5rem;
}

.policy__agreement,
.send__complete {
    text-align: center;
    font-weight: bold;
    color: #2F5F9D;
    margin-bottom: 3rem;
    font-size: 1.6rem;
}

#confirmScreen p {
    font-weight: bold;
    color: #2F5F9D;
    font-size: 1.6rem;
    margin-bottom: 1.6rem;
}

#confirmScreen p span {
    font-weight: normal;
    color: #3b3b3b;
    display: block;
    margin-top: 1.6rem;
}

button {
    font-size: 1.6rem;
    display: block;
    margin: 0 auto;
    padding: 1.6rem 3rem;
    background-color: #2F5F9D;
    color: #fff;
    font-weight: bold;
    border: 2px solid #2F5F9D;
    cursor: pointer;
    transition: ease 0.2s;
}

button:hover,
#backBtn {
    background-color: #fff;
    color: #2F5F9D;
}

#backBtn:hover {
    opacity: 0.7;
}

.confirmation__btn {
    display: flex;
    gap: 1.6rem;
    justify-content: center;
    margin-top: 3rem;
}

.confirmscreen__text {
    margin-bottom: 3rem;
}

.confirmation__btn button {
    margin: 0;
}

.privacy__policy__link {
    text-decoration: underline;
}

/* privacypolicy */
.privacy__policy__body section p {
    margin-bottom: 2rem;
    text-align: left;
}

.privacy__policy__body h3 {
    margin-bottom: 1.6rem;
    font-size: 1.8rem;
}

.privacy__policy__body section ul {
    margin-bottom: 1.6rem;
}

.privacy__policy__body section li {
    list-style: inside;
    text-align: left;
}

@media screen and (min-width:1025px) {
    body {
        font-size: 1.6rem;
    }

    /* header */
    header {
        padding: 0 1.5rem 0 4rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    h1 {
        width: 25rem;
    }

    .gnav__contents {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        padding: 0;
    }

    .mask {
        display: none;
    }

    .gnav__contents nav {
        display: flex;
        align-items: center;
    }

    .gnav__list {
        margin: 0;
        display: flex;
        gap: 3rem;
        margin-right: 3rem;
    }

    .gnav__list li {
        font-size: 1.8rem;
        margin-bottom: 0;
        font-weight: bold;
    }

    .gnav__list li a {
        color: #3b3b3b;
    }

    .gnav__contact__list li a,
    .contact__list li a {
        padding: 1.5rem;
    }

    .gnav__contact__list li:nth-child(2) a,
    .contact__list li:nth-child(2) a {
        padding: 1.8rem;
    }

    .gnav__contact__list li:first-child a p,
    .contact__list li:first-child a p {
        color: #fff;
    }

    .gnav__contact__list li {
        width: 15rem;
        border: none;
    }

    .gnav__contact__list li:first-child {
        background-color: #009B00;
    }

    .gnav__contact__list li:nth-child(2) {
        background-color: #2F5F9D;
    }

    .gnav__contact__list li img,
    .contact__list li img {
        width: 5rem;
        margin-bottom: 0.5rem;
    }

    .tel-link {
        pointer-events: none;
        cursor: default;
    }

    .tel-link:hover {
        opacity: 100;
    }

    .pc__br {
        display: block;
    }

    .sp__br {
        display: none;
    }

    /* ハンバーガーメニューボタン */
    .menu__btn {
        display: none;
    }

    /* MV */
    .mv__bg--1 {
        background-image: url(img/mainvisual_pc.webp);
    }

    .mv__bg--2 {
        background-image: url(img/mainvisual_pc_2.webp);
    }

    .mv__text {
        right: 6%;
        padding: 4rem;
    }

    .mv__text__big {
        font-size: 5.4rem;
    }

    .mv__text__small {
        font-size: 2.4rem;
    }

    /* section */
    .wrapper{
        max-width: 100rem;
        padding: 13rem 0 15rem;
        margin: 0 auto;
    }

    .service__wrapper {
        max-width: 120rem;
        padding: 13rem 0 15rem;
        margin: 0 auto;
    }

    h2 {
        font-size: 3.6rem;
        margin-bottom: 10rem;
    }

    h2 span {
        font-size: 2.4rem;
    }

    h2::before {
        width: 10rem;
        height: 10rem;
        top: -18%;
    }

    #mainvisual {
        min-height: 95vh;
    }

    .mv__background {
        min-height: 95vh;
    }

    /* service */
    .servise__contents {
        padding: 10rem 8%;
        margin-bottom: 8rem;
        flex-direction: row;
        gap: 6rem;
    }

    .service__title {
        font-size: 2.4rem;
        padding-bottom: 1.5rem;
        margin-bottom: 2rem;
    }

    .service__text__detail {
        margin-bottom: 0;
    }

    h3 {
        font-size: 3.6rem;
        padding-bottom: 1.5rem;
        border-bottom: 0.5rem solid #009B00;
        margin-bottom: 10rem;
    }

    /* usp */
    .usp__list {
        flex-direction: row;
    }

    .usp__list li {
        width: calc((100% / 3) - 2rem);
        padding: 3rem;
    }

    .usp__title {
        font-size: 2.2rem;
        padding-bottom: 2rem;
        border-bottom: 0.3rem solid #009B00;
    }

    /* recruit */
    .recruit__text {
        font-size: 2.2rem;
        margin-bottom: 8rem;
    }

    /* strengths */
    #strengths h3 {
        margin-bottom: 0;
    }

    #strengths {
        padding: 5rem 8%;
        margin-bottom: 5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8rem;
    }

    .icon__list {
        gap: 4rem;
    }

    .icon__list li img {
        width: 12rem;
        height: 12rem;
    }

    .strengths__text {
        font-size: 1.8rem;
    }

    /* vices */
    #voices {
        padding: 7rem 8%;
        margin-bottom: 8rem;
    }

    .voice__list {
        flex-direction: row;
        gap: 6rem;
    }

    .voice__list li img {
        margin-bottom: 4rem;
    }

    .menber__name {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }

    .menber__name span {
        font-size: 2rem;
    }

    .koutchare p {
        font-size: 2.2rem;
        font-weight: bold;
        color: #2F5F9D;
        margin-bottom: 4rem;
    }

    .kouchare__link {
        width: 30%;
        margin: 0 auto 8rem auto;
    }

    /* company */
    #company img {
        margin-bottom: 10rem;
    }

    #company p {
        margin-bottom: 10rem;
        font-size: 2rem;
    }

    .company__info {
        display: flex;
        align-items: center;
        gap: 5rem;
    }

    #company__info__list {
        width: 47%;
    }

    .map {
        width: 47%;
        padding-top: 47%;
    }

    /* footer */
    .to__top {
        right: 2.4rem;
    }

    .to__top::before {
        top: -3%;
    }

    .footer__contents {
        padding: 10rem 15%;
        display: flex;
        flex-direction: row;
        gap: 0;
        justify-content: space-between;
    }

    .footer__logo {
        display: block;
        margin-bottom: 3rem;
    }

    .footer__right li {
        margin-bottom: 1.5rem;
    }

    .copyright {
        font-size: 1.4rem;
        padding-bottom: 1.5rem;
    }

    /* contact */
    .overview {
        font-size: 2.4rem;
        margin-bottom: 5rem;
    }

    form,
    #confirmScreen,
    .send__complete,
    .policy__contents {
        padding: 5rem;
    }

    .contact__form__list {
        font-size: 1.8rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #contactForm dt,
    #contactForm dd {
        margin-bottom: 2.4rem;
    }

    #contactForm dt {
        width: 30%;
    }

    #contactForm dd {
        width: 65%;
    }

    .required {
        font-size: 1.6rem;
    }

    .policy__agreement,
    .send__complete {
        font-size: 1.8rem;
        margin-bottom: 5rem;
    }

    #confirmScreen p {
        font-size: 1.8rem;
    }

    button {
        font-size: 1.8rem;
    }

    .confirmation__btn {
        gap: 3rem;
    }

    /* privacypolicy */
    .privacy__policy__body section p {
        margin-bottom: 4rem;
    }

    .privacy__policy__body h3 {
        margin-bottom: 3rem;
    }
}