/* 共通 */
html {
    font-size: 62.5%;
}

body {
    font-family: 'Noto Sans JP',sans-serif;
    margin-top: 8rem;
}

.inner {
    width: 116rem;
    margin: 0 auto;
}

.section-title span {
    font-family: 'Lato' ,sans-serif;
    font-size: 4.8rem;
    font-weight: bold;
    color: #222222;
    display: inline-flex;
    align-items: center;
}

.section-title span::before {
    content: "";
    width: 12rem;
    height: 0.2rem;
    display: inline-block;
    background-color: #EB6700;
    margin-right: 3.3rem;
}

/* ヘッダー */
.header {
    background-color: #222222;
    height: 8rem;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-inner {
    padding: 0 4rem;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.header-logo {
    height: inherit;

}

.header-logo a {
    height: inherit;
    display: flex;
    align-items: center;
}

.header-nav {
    height: inherit;
}

.nav-list {
    display: flex;
    height: inherit;
    margin: 0;
}

.nav-item {
    list-style: none;
    height: inherit;
}

.nav-item:nth-child(n+2) {
    margin-left: 4.8rem;
}

.nav-item a {
    font-family: 'Lato' ,sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    height: inherit;
    display: flex;
    align-items: center;
}


/* mv */
.mv {
    background: url(../img/mv.jpg) no-repeat center / cover;
    height: calc(100vh - 8rem);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mv-title {
    font-size: 6.4rem;
    font-weight: 500;
    color: #fff;
}

.mv-text {
    font-size: 2rem;
    font-weight: 500;
    line-height: calc(40 / 20);
    color: #fff;
    margin-top: 4.5rem;
}

.sp-only {
    display: none;
}

.mv-btn-wrapper {
    margin-top: 5.8rem;
}

.btn {
    padding: 2rem 6.5rem;
    background-color: #EB6700;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.btn.mv-btn::before {
    content: "";
    width: 2.4rem;
    height: 1.9rem;
    background: url(../img/mail.svg) no-repeat center / cover;
    display: inline-block;
    margin-right: 0.7rem;
}


/* aboutセクション */
.about {
    padding: 7.4rem 0 8.9rem;
    background-color: #F5F5F5;
}

.about-wrapper {
    margin-top: 7.3rem;
}

.about-block:nth-child(n+2) {
    margin-top: 6.3rem;
}

.about-block:nth-of-type(even) .about-container {
    flex-direction: row-reverse;
}

.about-title {
    font-family: 'Lato' ,sans-serif;
    font-size: 4rem;
    font-weight: bold;
    color: #EB6700;
    text-align: center;
}

.about-container {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-body {
    width: 40%;
}

.about-sub-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #111111;
}

.about-text {
    margin-top: 3.3rem;
    font-size: 1.6rem;
    line-height: calc(32 / 16);
    color: #111111;
}


/* ニュースセクション */
.news {
    padding: 7.9rem 0 8rem;
    background: linear-gradient(transparent 0% , transparent 63% , #222222 63% , #222222 100%);
}

.news-cards {
    margin-top: 7.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 3.9rem;
}

.news-card-item {
    text-decoration: none;
    background-color: #fff;
}

.news-card-title {
    font-size: 1.6rem;
    line-height: calc(32 / 16);
    color: #111111;
    padding: 1.4rem 2rem 3rem;
}


/* アクセスセクション */
.access {
    padding: 7.9rem 0 8rem;
    background-color: #F5F5F5;
}

.access-info-wrapper {
    margin-top: 7.4rem;
    display: flex;

}

.access-img {
    width: 49%;
}

.access-info {
    margin-left: 9.8rem;
}

.access-info div:nth-child(n+2) {
    margin-top: 2.2rem;
}

.access-info dt {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #000000;
}

.access-info dd {
    font-size: 1.6rem;
    line-height: calc(32 / 16);
    letter-spacing: 0.01em;
    color: #000000;
    margin-top: 1.2rem;
}

.access-map {
    margin: 6.4rem auto 0;
    width: 76.8rem;
}

.access-map iframe {
    width: 100%;
}


/* コンタクトセクション */
.contact {
    padding: 7.9rem 0 8rem;
}

.contact-text {
    margin-top: 6.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(32 / 16);
}

.contact-text span {
    color: #EB6700;
}

.form {
    margin-top: 6.6rem;
}

.form-item:nth-child(n+2) {
    margin-top: 4.4rem;
}

.form-title-wrapper {
    display: flex;
    align-items: center;
}

.form-title {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(28 / 16);
    color: #002222;
}

.required {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: calc(24 / 22);
    color: #EB6700;
    margin-left: 0.2rem;
}

.form-input-wrapper {
    margin-top: 0.9rem;
    width: 50%;
}

.message-wrapper {
    width: 100%;
}

.form-input-wrapper input[type=text],
.form-input-wrapper input[type=email],
.form-input-wrapper input[type=tel],
.form-input-wrapper select {
    width: 100%;
    font-size: 1.6rem;
    line-height: calc(28 / 16);
    border-radius: 0.5rem;
    border: 1px solid #F5F5F5;
    background-color: #F5F5F5;
}

.form-input-wrapper input[type=text],
.form-input-wrapper input[type=email],
.form-input-wrapper input[type=tel] {
    padding: 1.1rem 2rem;
}

.form-input-wrapper select {
    padding: 1.1rem 5.2rem 1.1rem 2rem;
    appearance: none;
}

.form-input-wrapper textarea {
    width: 100%;
    font-size: 1.6rem;
    line-height: calc(28 / 16);
    padding: 0.9rem 2rem 16.2rem;
    border-radius: 0.5rem;
    border: 1px solid #F5F5F5;
    background-color: #F5F5F5;
}

.form-input-wrapper input::placeholder,
.form-input-wrapper textarea::placeholder,
.select-wrapper select:invalid {
    color: #8D8D8D;
}

.form-radio {
    position: relative;
}

.form-radio label {
    font-size: 1.6rem;
    line-height: calc(24 / 16);
    color: #222222;
    display: flex;
    align-items: center;
    position: relative;
}

.form-radio label::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 1px solid #707070;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.form-radio input[type=radio]:checked + label::after {
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-color: #EB6700;
    border-radius: 50%;
    position: absolute;
    top: 0.6rem;
    left: 0.4rem;
}

.form-radio label:nth-child(n+2){
    margin-top: 1rem;
}

.form-radio input[type=radio]{
    opacity: 0;
    position: absolute;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::before {
    content: "▼";
    display: inline-block;
    font-size: 1rem;
    line-height: calc(15 / 10);
    color: #222222;
    position: absolute;
    right: 1.7rem;
    top: 50%;
    transform: translateY(-50%);
}

.form-input-wrapper textarea {
    height: 20rem;
    resize: none;
}

.form-agree {
    margin-top: 6.5rem;
    position: relative;
}

.form-agree label {
    color: #002222;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(24 / 16);
    display: inline-flex;
    align-items: center;
    position: relative;
}

.form-agree label::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 1px solid #707070;
    margin-right: 0.5rem;
}

.form-agree input[type=checkbox]:checked + label::after {
    content: "";
    width: 0.7rem;
    height: 1.2rem;
    border-bottom: 3px solid #EB6700;
    border-right: 3px solid #EB6700;
    transform: rotate(45deg);
    position: absolute;
    top: 0.4rem;
    left: 0.6rem;
}

.form-agree input[type=checkbox] {
    opacity: 0;
    position: absolute;
}

.form-btn {
    margin-top: 6.2rem;
}

.f-btn {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(28 / 16);
    letter-spacing: 0.03em;
    padding: 1.7rem 10.2rem;
    border: none;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.7;
    cursor: pointer;
}


/* フッター */
.footer {
    padding: 4rem 0 1.7rem;
    background-color: #222222;
}

.footer-logo {
    text-align: center;
}

.footer-logo a {
    display: inline-block;
}

.footer-nav {
    margin-top: 3.2rem;
    text-align: center;
}

.footer-list {
    display: inline-flex;
}

.footer-item a {
    font-size: 1.5rem;
}

.footer-copyright {
    margin-top: 2.4rem;
    text-align: center;
}

.footer-copyright small {
    color: #FFFFFF;
    font-family: 'Lato' ,sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: calc(30 / 12);
}

/* 画面幅1210px以下のとき */
@media screen and (max-width: 1210px){
    html {
        font-size: calc(10 / 1210 * 100vw);
    }
}

/* 画面幅767px以下のとき */
@media screen and (max-width: 767px){
    html {
        font-size: 62.5%;
    }

    body {
        margin-top: 10rem;
    }

    .inner {
        width: 100%;
        padding: 0 2rem;
    }

    .section-title span {
        font-size: 3.2rem;
    }

    .section-title span::before {
        width: 6rem;
        margin-right: 1rem;
    }

    /* ヘッダー */
    .header {
        height: 10rem;
    }

    .header-inner {
        padding: 2rem 2rem 1.6rem;
        display: block;
        justify-content: center;
    }

    .header-logo {
        height: unset;
        display: flex;
        align-items: center;
    }

    .header-logo a {
        height: unset;
        
    }

    .header-nav {
        margin-top: 2.3rem;
        height: unset;
        align-items: center;
    }

    .nav-list {
        height: unset;
        padding: 0;
    }

    .nav-item {
        list-style: none;
        height: unset;
    }

    .nav-item:nth-child(n+2) {
        margin-left: 4.2rem;
    }

    /* mv */
    .mv {
        background: url(../img/sp-mv-img.jpg) no-repeat center / cover;
        height: calc(100vh - 10rem);
    }

    .mv-title {
        font-size: 3.2rem;
    }

    .mv-text {
        font-size: 1.6rem;
        line-height: calc(28.8 / 16);
        margin-top: 2.1rem;
    }

    .sp-only {
        display: inline;
    }

    .mv-btn-wrapper {
        margin-top: 4.7rem;
    }

    .btn {
        padding: 2rem 7rem;
        background-color: #EB6700;
        font-size: 1.8rem;
        line-height: calc(20 / 18);
    }

    .btn.mv-btn::before {
        content: "";
        width: 2.2rem;
        height: 1.76rem;
        margin-right: 0.9rem;
    }

    /* aboutセクション */
    .about {
        padding: 6.4rem 0;
    }

    .about-wrapper {
        margin-top: 4.7rem;
    }

    .about-block:nth-child(n+2) {
        margin-top: 3.6rem;
    }

    .about-block:nth-of-type(even) .about-container {
        flex-direction: row;
    }

    .about-title {
        font-size: 2.6rem;
    }

    .about-container {
        margin-top: 2rem;
        display: block;
        justify-content: center;
    }

    .about-body {
        width: 100%;
        margin-top: 2.7rem;
    }

    .about-sub-title {
        font-size: 2rem;
        line-height: calc(24 / 20);
    }

    .about-text {
        margin-top: 1.3rem;
        line-height: calc(28.8 / 16);
    }

    .pc-only {
        display: none;
    }

    /* ニュースセクション */
    .news {
        padding: 6.4rem 0;
        background: linear-gradient(to right , transparent 0% , transparent 64% , #222222 64% , #222222 100%);
    }

    .news-cards {
        margin-top: 4.7rem;
        display: grid;
        grid-template-columns: none;
        
    }

    .news-card-item {
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
        height: 34.8rem;
    }

    .news-card-item:nth-child(n+2){
        margin-top: 2.4rem;
    }

    .news-card-title {
        line-height: calc(28.8 / 16);
        padding: 1.5rem 1.5rem 2.4rem;
    }

    /* アクセスセクション */
    .access {
        padding: 5.9rem 0 6.3rem;
    }

    .access-info-wrapper {
        margin-top: 3.6rem;
        display: block;
    }

    .access-img {
        width: 100%;
    }

    .access-info {
        margin: 3.5rem 0 0;
    }

    .access-info div:nth-child(n+2) {
        margin-top: 2.4rem;
    }

    .access-info dd {
        line-height: calc(28.8 / 16);
        margin-top: 0.9rem;
    }

    .access-map {
        margin: 2.9rem 0 0;
        width: 100%;
        height: 25.1rem;
    }

    .access-map iframe {
        height: 100%;
    }

    /* コンタクトセクション */
    .contact {
        padding: 5.9rem 0 6.4rem;
    }

    .contact-text {
        margin-top: 3.1rem;
    }

    .form {
        margin-top: 4.4rem;
    }

    .form-item:nth-child(n+2) {
        margin-top: 2.8rem;
    }

    .form-input-wrapper {
        margin-top: 0.5rem;
        width: 100%;
    }

    .form-agree {
        margin-top: 3.2rem;
        text-align: center;
    }

    .form-btn {
        margin-top: 3.1rem;
        text-align: center;
    }

    .f-btn {
        font-size: 1.6rem;
        font-weight: 500;
        line-height: calc(28 / 16);
        letter-spacing: 0.03em;
        padding: 1.7rem 10.2rem;
        border: none;
        transition: 0.3s;
    }

    /* フッター */
    .footer {
        padding: 3.2rem 0 1.7rem;
    }

    .footer-logo a {
        width: 12rem;
    }

    .footer-nav {
        margin-top: 3.2rem;
    }

    .footer-list {
        display: inline-block;
    }

    .footer-item:nth-child(n+2) {
    margin: 1.1rem 0;
    }

}