@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&display=swap');
@import url(reset.css);

/* common */
/* -------------------------------------------------------- */

html,
body {
    font-variant-ligatures: none;
}

html {
    font-size: 100%;
    font-feature-settings: "palt";
}

body {
    font-size: 16px;
    font-size: 1em;
    line-height: 1.5;
    letter-spacing: 0.01em;
    font-family: 'Meiryo', 'メイリオ', sans-serif;
    color: #000;
    text-align: center;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.5;
    letter-spacing: 0.01em;
}

p,
li,
dt,
dd,
th,
td,
address,
blockquote,
div {
    line-height: 1.6;
    letter-spacing: 0.01em;
}

input[type='submit'],
input[type='reset'],
input[type='button'],
button {
    cursor: pointer;
    -ms-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

:placeholder-shown {
    color: #000;
}

::-webkit-input-placeholder {
    color: #000;
}

:-moz-placeholder {
    color: #000;
    opacity: 1;
}

::-moz-placeholder {
    color: #000;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #000;
}

strong {
    font-weight: bold;
}

ol {
    list-style-type: decimal;
    margin-left: 2.2em;
}

img {
    max-width: 100%;
    width: auto;
    height: auto;
    line-height: 0;
    vertical-align: top;
    border: 0;
    display: inline;
}

a {
    color: #000000;
    text-decoration: none;
}

#container {
    transform: translateY(200px);
    opacity: 0;
    transition: all .8s;
}


/* decision */
/* -------------------------------------------------------- */

.sp {
    display: none;
}

.pc_2 {
    display: none;
}

.tab {
    display: none;
}


/* header */
/* -------------------------------------------------------- */

#header {
    width: 100%;
    max-width: 1000px;
    padding-top: 30px;
    height: calc(120px - 30px);
    margin: 0 auto;
}

#header .header_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

#header .header_container .logo-image {
    width: 250px;
}

#header .header_container .logo-image a {
    display: inline-block;
}

.sp_nav {
    display: none;
}

#header .header_container .navi .nav_area {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
}

#header .header_container .navi .nav_area .nav_item {
    margin-right: 13px;
}

#header .header_container .navi .nav_area .nav_item:last-of-type {
    margin-right: 0;
}

#header .header_container .navi .nav_area .nav_item a {
    color: #000000;
}

#header .header_container .navi .nav_area .nav_item a.no_active {
    pointer-events: none;
}

#header .header_container .navi .nav_area .nav_item a.no_active .nav_text {
    opacity: .5;
}

#header .header_container .navi .nav_area .nav_item a .nav_text {
    position: relative;
    font-size: 1em;
}

#header .header_container .navi .nav_area .nav_item:first-of-type>a .nav_text,
#header .header_container .navi .nav_area .nav_item:last-of-type>a .nav_text {
    font-size: 0.994375em;
}

#header .header_container .navi .nav_area .nav_item a .nav_text::before,
#header .header_container .navi .nav_area .nav_item a .nav_text::after {
    content: '';
    position: absolute;
    bottom: 0px;
    display: block;
    width: 0;
    height: 2px;
    background-color: #000000;
    transition: width 0.3s;
}

#header .header_container .navi .nav_area .nav_item a .nav_text::before {
    right: 50%;
}

#header .header_container .navi .nav_area .nav_item a .nav_text::after {
    left: 50%;
}

#header .header_container .navi .nav_area .nav_item a:hover>.nav_text::before {
    width: 50%;
}

#header .header_container .navi .nav_area .nav_item a:hover>.nav_text::after {
    width: 50%;
}

#header .header_container .navi .nav_area .nav_item a .nav_text.active::before {
    width: 50%;
}

#header .header_container .navi .nav_area .nav_item a .nav_text.active::after {
    width: 50%;
}

/* mainvisual */
/* -------------------------------------------------------- */

#mainvisual {
    position: relative;
    width: 100%;
    height: 240px;
    padding: 2.5px 0;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}

#mainvisual .img_area {
    width: 100%;
    height: 240px;
}

#mainvisual .img_area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#mainvisual .page_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
}

#mainvisual .page_title .title {
    font-size: 2em;
    color: #ffffff;
}


/* top-nav */
/* -------------------------------------------------------- */

.top-nav {
    display: none;
    position: fixed;
    bottom: 60px;
    right: calc(calc(100vw - 1000px) / 2);
    width: 60px;
    height: 60px;
    z-index: 20;
    cursor: pointer;
}

/* main */
/* -------------------------------------------------------- */

#main {
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#main .page_navi {
    font-size: 0.75em;
    padding: 15px 0 25px;
    text-align: left;
    color: #808080;
}

#main .page_navi a {
    display: inline-block;
    color: #808080;
}

#main .page_navi .page_name {
    color: #79A4D8;
}

#main .gray_area {
    width: 100%;
    background-color: #F0F3F4;
    margin: 66px auto 104px;
    padding: 44px 0 29px;
}

#main .gray_area .gray_area_text {
    width: 800px;
    margin: 0 auto;
}

#main .contact {
    position: relative;
    width: 800px;
    padding: 10.5px 0;
    border: 1px solid #004098;
    background-color: #ffffff;
    margin: 50px auto 0;
    transition: all .5s;
}

#main .concept_contact .contact {
    width: 600px;
    padding: 1px 0;
    margin: 30px auto 0;
}

#main .contact a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#main .contact .contact_text {
    font-size: 1.3em;
    font-weight: 500;
    color: #004098;
    transition: all .5s;
}

#main .concept_contact .contact .contact_text {
    font-size: 2em;
}

#main .contact:hover {
    background-color: #004098;
}

#main .contact:hover>.contact_text {
    color: #ffffff;
}

/* footer */
/* -------------------------------------------------------- */

#footer {
    margin-top: 100px;
    background-color: #f0f3f4;
}

#footer .footer_contents {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#footer .footer_container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 0;
    padding-bottom: 0;
}

#footer .footer_container .footer_contents .logo_area img {
    width: 230px;
}

#footer .footer_container .footer_contents .logo_area a {
    color: #595757;
}

#footer .footer_container .footer_contents .logo_area .tel_text {
    font-size: 1.5em;
    font-weight: 100;
    margin: 5px 0;
}

#footer .footer_container .footer_contents .navi {
    margin-top: 12px;
}

#footer .footer_container .footer_contents .navi .nav_area {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
}

#footer .footer_container .footer_contents .navi .nav_area .nav_item {
    margin-right: 12px;
}

#footer .footer_container .footer_contents .navi .nav_area .nav_item:last-of-type {
    margin-right: 0;
}

#footer .footer_container .footer_contents .navi .nav_area .nav_item a.no_active {
    pointer-events: none;
}

#footer .footer_container .footer_contents .navi .nav_area .nav_item a.no_active .nav_text {
    opacity: .5;
}

#footer .footer_container .footer_contents .navi .nav_area .nav_item a .nav_text {
    font-size: 0.8em;
}

#footer .footer_container .box-caption {
    text-align: left;
    font-size: 0.75em;
}

#footer .footer_container .box-caption .caption_text_sp {
    display: none;
}

#footer .footer_text {
    font-size: 0.8em;
    color: #ffffff;
    padding: 7px 0 9px;
    margin-top: 18px;
    background-color: #79A4D8;
}

@media screen and (max-width: 1000px) {
    body {
        font-size: max(1.44vw, 12px);
    }

    /* header */
    /* -------------------------------------------------------- */
    #header {
        padding-top: 3vw;
        max-width: 90%;
        height: calc(12vw - 3vw);
    }

    #header .header_container .logo-image {
        width: 25vw;
    }

    #header .header_contents .navi .nav_area .nav_item {
        margin-right: 1.444vw;
    }

    #header .header_contents .navi .nav_area .nav_item:last-of-type {
        margin-right: 0;
    }

    #header .header_container .navi .nav_area .nav_item a .nav_text {
        font-size: max(1.333vw, 12px);
    }

    #header .header_container .navi .nav_area .nav_item:first-of-type>a .nav_text,
    #header .header_container .navi .nav_area .nav_item:last-of-type>a .nav_text {
        font-size: max(1.333vw, 12px);
    }

    /* mainvisual */
    /* -------------------------------------------------------- */

    #mainvisual {
        height: 24vw;
        padding: 0.25vw 0;
    }

    #mainvisual .img_area {
        height: 24vw;
    }

    #mainvisual .page_title .title {
        font-size: max(3.2vw, 14px);
    }


    /* top-nav */
    /* -------------------------------------------------------- */

    .top-nav {
        bottom: 5vw;
        right: 5vw;
        width: 6.667vw;
        height: 6.667vw;
    }


    /* main */
    /* -------------------------------------------------------- */

    #main {
        max-width: 90%;
    }

    #main .page_navi {
        font-size: max(0.7em, 10px);
        padding: 1.5vw 0 2.5vw;
    }

    #main .gray_area {
        width: 90%;
        padding: 4.4vw 0 2.9vw;
        margin: 6.6vw auto 10.4vw;
    }

    #main .gray_area .gray_area_text {
        width: 80%;
    }

    #main .contact {
        width: 80%;
        padding: 1vw 0;
        margin: 5vw auto 0;
    }

    #main .contact .contact_text {
        font-size: max(2.03vw, 12px);
    }

    #main .concept_contact .contact {
        width: 60vw;
        padding: 0.1vw 0;
        margin: 3vw auto 0;
    }

    #main .concept_contact .contact .contact_text {
        font-size: max(2.88vw, 12px);
    }

    /* footer */
    /* -------------------------------------------------------- */

    #footer {
        margin-top: 10vw;
    }

    #footer .footer_container {
        max-width: 90%;
        padding: 1.2vw 0;
        padding-bottom: 0;
    }

    #footer .footer_container .footer_contents .logo_area img {
        width: 23vw;
    }

    #footer .footer_container .footer_contents .logo_area .tel_text {
        font-size: max(2.4vw, 12px);
        margin: 0.5vw 0;
    }

    #footer .footer_container .footer_contents .navi {
        margin-top: 1.2vw;
    }

    #footer .footer_container .footer_contents .navi .nav_area .nav_item {
        margin-right: 1.2vw;
    }

    #footer .footer_container .footer_contents .navi .nav_area .nav_item:last-of-type {
        margin-right: 0;
    }

    #footer .footer_container .footer_contents .navi .nav_area .nav_item a .nav_text {
        font-size: max(1.28vw, 12px);
    }

    #footer .footer_container .box-caption {
        font-size: max(1.28vw, 12px);
    }

    #footer .footer_text {
        font-size: max(1.28vw, 12px);
        padding: 0.7vw 0 0.9vw;
        margin-top: 1.8vw;
    }
}

@media screen and (max-width: 783px) {

    #header .header_container .navi .nav_area .nav_item a .nav_text::before,
    #header .header_container .navi .nav_area .nav_item a .nav_text::after {
        height: 1px;
    }

    #header .header_container .navi .nav_area .nav_item {
        margin-right: 1.3vw;
    }

}

@media screen and (max-width: 750px) {
    #header .header_container .logo-image{
        width: 22vw;
    }
}

@media screen and (max-width: 720px) {
    #footer .footer_contents {
        flex-direction: column-reverse;
    }

    #footer .footer_container .footer_contents .logo_area img {
        width: 30vw;
    }

    #footer .footer_container .footer_contents .logo_area .tel_text {
        font-size: max(2.4vw, 15px);
    }

    #footer .footer_container .footer_contents .navi {
        margin: 1.2vw auto 2.2vw;
    }
}

@media screen and (max-width: 710px) {

    /* header */
    /* -------------------------------------------------------- */

    #header {
        height: calc(15vw - 3vw);
    }

    #header .header_container {
        justify-content: flex-start;
        margin-top: 35px;
        padding-left: 5px;
    }

    #header .header_container .logo-image {
        position: absolute;
        top: 10px;
        left: 0;
    }
}


@media screen and (max-width: 540px) {

    /* header */
    /* -------------------------------------------------------- */

    #header .header_container {
        margin: 0;
        padding: 0;
        display: block;
    }

    #header .header_container .logo-image {
        width: 50vw;
        left: 50%;
        transform: translateX(-50%);
    }

    #header .navi {
        display: none;
    }

    .sp_nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 50;
        width: 100%;
        transform: translateX(-100%);
        opacity: 0;
        transition: all .5s;
    }

    .open .sp_nav {
        transform: translateX(0);
        opacity: 1;
    }

    .sp_nav #navi_sp {
        width: calc(80vw - 10vw);
        height: calc(100vh - 10vw);
        background-color: #004098;
        text-align: left;
        margin: 0 calc(50% - 50vw);
        padding: 5vw;
        overflow-y: scroll;
    }

    .sp_nav #navi_sp .nav_area .nav_item {
        padding-bottom: 3vw;
        margin-bottom: 3vw;
        border-bottom: 1px dashed #ffffff;
    }

    .sp_nav #navi_sp .nav_area .nav_item:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .sp_nav #navi_sp .nav_area .nav_item a {
        display: block;
        color: #ffffff;
        padding: 0 5vw;
    }

    .sp_nav #navi_sp .nav_area .nav_item a.no_active {
        pointer-events: none;
    }

    .sp_nav #navi_sp .nav_area .nav_item a.no_active .nav_text {
        opacity: .5;
    }

    .sp_nav #navi_sp .nav_area .nav_item a .nav_text {
        position: relative;
        font-size: max(3.84vw, 14px);
        margin-bottom: 10px;
    }

    .sp_nav #navi_sp .nav_area .nav_item a .nav_text::before {
        position: absolute;
        top: 50%;
        right: 6px;
        transform: translateY(-50%);
        transform-origin: center;
        display: inline-block;
        content: "";
        width: 2vw;
        height: 2.2vw;
        background-color: #004098;
        clip-path: polygon(0 0, 0 100%, 100% 50%);
        z-index: 10;
    }


    .sp_nav #navi_sp .nav_area .nav_item a .nav_text::after {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        transform-origin: center;
        display: inline-block;
        content: "";
        width: 3vw;
        height: 3.2vw;
        background-color: #ffffff;
        clip-path: polygon(0 0, 0 100%, 100% 50%);
    }

    .sp_nav #navi_sp .nav_area .nav_item a .nav_sub_text {
        position: relative;
        font-size: max(3.2vw, 12px);
        margin-left: 10px;
    }

    .sp_nav #navi_sp .nav_area .nav_item a .nav_sub_text::before {
        position: absolute;
        top: 50%;
        right: 6px;
        transform: translateY(-50%);
        transform-origin: center;
        display: inline-block;
        content: "";
        width: 2vw;
        height: 2.2vw;
        background-color: #004098;
        clip-path: polygon(0 0, 0 100%, 100% 50%);
        z-index: 10;
    }


    .sp_nav #navi_sp .nav_area .nav_item a .nav_sub_text::after {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        transform-origin: center;
        display: inline-block;
        content: "";
        width: 3vw;
        height: 3.2vw;
        background-color: #ffffff;
        clip-path: polygon(0 0, 0 100%, 100% 50%);
    }

    .toggle_btn {
        display: block;
        position: fixed;
        top: 3.4vw;
        left: 3vw;
        width: 6vw;
        height: 5.6vw;
        transition: all .5s;
        cursor: pointer;
        z-index: 50;
    }

    .toggle_btn span {
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        height: 0.9vw;
        background-color: #ffffff;
        transition: all .5s;
    }

    .toggle_btn span:nth-child(1) {
        top: 0px;
    }

    .toggle_btn span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .toggle_btn span:nth-child(3) {
        bottom: 0px;
    }

    .open .toggle_btn span{
        background-color: #fff !important;
    }

    .open .toggle_btn span:nth-child(1) {
        top: 50%;
        -webkit-transform: translateY(-50%) rotate(-45deg);
        -moz-transform: translateY(-50%) rotate(-45deg);
        transform: translateY(-50%) rotate(-45deg);
    }

    .open .toggle_btn span:nth-child(2) {
        opacity: 0;
    }

    .open .toggle_btn span:nth-child(3) {
        top: 50%;
        -webkit-transform: translateY(-50%) rotate(45deg);
        -moz-transform: translateY(-50%) rotate(45deg);
        transform: translateY(-50%) rotate(45deg);
    }

    /* footer */
    /* -------------------------------------------------------- */

    #footer .footer_contents {
        align-items: center;
    }

    #footer .footer_container {
        padding: 2.8vw 0 0;
    }

    #footer .footer_container .footer_contents .logo_area img {
        width: 50vw;
    }

    #footer .footer_container .footer_contents .logo_area .tel_text {
        display: none;
    }

    #footer .footer_container .footer_contents .navi {
        display: none;
    }

    #footer .footer_container .box-caption{
        text-align: center;
    }

    #footer .footer_container .box-caption .caption_text {
        display: none;
    }

    #footer .footer_container .box-caption .caption_text_sp {
        display: inline;
        font-size: 3.2vw;
    }

}

@media screen and (max-width: 500px) {

    #mainvisual .page_title .title{
        font-size: max(6.4vw, 16px);
    }

    #main .contact{
        width: calc(100% - 4.4vw);
        padding: 1vw 2.2vw;
    }

    #main .contact .contact_text{
        font-size: max(4.16vw, 12px);
    }
}