@charset "UTF-8";

:root {
    --main-text-color: #2d2d2d;
    --base-color: rgba(78, 97, 87, 0.8);
    --contact-color: #ff8b68;
    --contact-color-ch: #dfc44e;
}

a {
    transition: 0.4s;
}

@media (hover: hover) {
    a:hover {
        opacity: 0.4;
    }

}

body {
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--main-text-color);
    box-sizing: border-box;
    position: relative;
}

.bg::before {
    content: "";
    display: block;
    background-image: url(../image/bg_image.jpg);
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.7;
}


.bg::before {
    animation: bg-anime 10s linear infinite;
    pointer-events: none;
}



@keyframes bg-anime {
    0% {
        background-image: url(../image/bg_image.jpg);
    }

    25% {
        background-image: url(../image/bg_image2.jpg);
    }

    50% {
        background-image: url(../image/bg_image3.jpg);
    }

    75% {
        background-image: url(../nisshin/image/n813/813.jpg);
    }

    100% {
        background-image: url(../image/bg_image.jpg);
    }

}

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

.inner {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}


@media(max-width:767px) {
    body::before {
        background-size: cover;
        background-position: center;
    }

}

/* header */
.header {
    background-color: #fff;
    padding: 10px 0 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header_inner {
    margin: 0 auto;
}

.header .header_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2%;
    margin-bottom: 7px;
}

.header_title {
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    line-height: 1;
}
.header_title a{
    display: flex;          /* ← 必須 */
    align-items: center;    /* ← 画像と文字を中央揃え */
}
.header_title span {
    /* font-size: 18px; */
    margin-left: 0.3em;
}
.header_title img{
    width: 45px;
    height: auto;
    margin-right: 0.3em; /* gap代わりに */
}
.header_nav {
    background-color: var(--base-color);
    padding: 0;
    color: #fff;
    border-bottom: 1px solid #fff;
}

.header_nav::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../image/wasi.jpg);
    z-index: -1;
    background-size: contain;
    opacity: 0.7;
}

.header_nav-tel {
    text-align: right;
    font-size: 24px;
    font-weight: 600;
}

.header_nav-tel span {
    font-size: 18px;
    margin-right: 5px;
    font-weight: 400;
}

.header_list {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-top: 5px;
    font-weight: 600;
}

.header_list-item {
    padding: 10px 1.8em;
}

.header_list-item a {
    display: block;
}

.header_list-item:last-of-type {
    background-color: var(--contact-color);
    border-radius: 100px;
    margin-right: 2%;
    transition: 0.4s;
}


@media (hover: hover) {
    .header_list-item:last-of-type:hover {
        background-color: var(--contact-color-ch);
    }
}

@media(max-width:767px) {
    .header .header_wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 4%;
        margin-bottom: 7px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: relative;
        z-index: 1100;
    }

    .header_title {
        font-size: 24px;
    }
    .header_title span {
        font-size: 24px;
    }
    .header_title a{
    display: flex;          /* ← 必須 */
    align-items: center;    /* ← 画像と文字を中央揃え */
}
    .header_title img{
        width: 35px;
        height: auto;
        margin-right: 0.3em; /* gap代わりに */
    }
    .header_nav-tel {
        text-align: right;
        font-size: 18px;
        font-weight: 600;
        margin-top: .1em;
    }

    .header_nav-tel span {
        font-size: 13px;
        margin-right: 5px;
        font-weight: 400;
    }

    .header_nav {
        position: fixed;
        width: 100%;
        background-color: var(--base-color);
        padding: 0;
        border-bottom: 1px solid #fff;
        height: 100vh;
        top: 0;
        left: -100%;
        transition: .4s;
        border: 5px solid #718179;
    }

    .header_nav::after {
        background-image: url(../image/wasi.jpg);
        opacity: 0.9;
    }

    .active.header_nav {
        left: 0;

    }

    .header_list {
        justify-content: center;
        margin-top: 80px;

        flex-direction: column;
        text-align: center;
    }


    .header_list-item {
        width: 100%;
        padding: .7em 0;
        color: var(--main-text-color);
        font-size: 18px;
    }


    .header_list-item a {
        display: block;

    }


    .header_list-item:last-of-type {
        background-color: var(--contact-color);
        border-radius: 100px;
        margin-right: 2%;
        margin-top: 30px;
        width: 60%;
    }

    .header_list-item:last-of-type a {
        padding: 0.6em .5em 0.6em;
        color: #fff;

    }
}

/* hamburger-menu */
.hamburger-menu {
    display: none;
}

@media(max-width:767px) {
    .hamburger-menu {
        display: flex;
        gap: 8px;
        flex-direction: column;
        justify-content: center;
        width: 55px;
        height: 55px;
        background-color: #718179;
        position: fixed;
        z-index: 1000;
        top: 0;
        right: 0;
        padding: 10px;
    }

    .hamburger-menu span {
        border: 1px solid #fff;
        display: block;
        width: 100%;
        height: 1px;

        transition: .6s;
        position: relative;
        top: 0;
        left: 50%;
        transform: translate(-50%);
    }

    .active.hamburger-menu span:nth-of-type(1) {
        transform: rotate(-45deg);
        left: 0%;
        top: 30%;
    }

    .active.hamburger-menu span:nth-of-type(2) {
        opacity: 0;
    }

    .active.hamburger-menu span:nth-of-type(3) {
        transform: rotate(45deg);
        left: 0%;
        top: -25%;
    }

}


.list-catalog {
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 0;
}

.list-catalog span {
    display: block;
    font-size: 12px;
}

.list-catalog_list {
    padding: 10px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-color: #fff;
    opacity: 0;
    width: 100%;

    pointer-events: none;
}

.list-catalog_list a {
    padding: 10px;
}

.list-catalog_list-item {
    padding: 0;
    font-size: 20px;
    color: var(--main-text-color);
    border-bottom: 1px solid #0e3d27;
}

.list-catalog_list-item span {
    font-size: 14px;
}

@media (hover: hover) {
    .list-catalog:hover .list-catalog_list {
        height: auto;
        bottom: 0;
        transform: translateY(100%);
        opacity: 1;
        pointer-events: all;

    }
}


@media(max-width:767px) {
    .list-catalog_list {
        display: flex;
        flex-direction: column;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 0;
        background-color: #fff;
        opacity: 0;
        width: 100%;

        pointer-events: none;
        position: relative;
        top: 0;
        opacity: 1;
        pointer-events: all;
        padding: 0;
    }

    .list-catalog {
        width: 100%;
        padding: 0;
        padding-top: 0.7em;
    }


    .list-catalog:hover .list-catalog_list {
        height: auto;
        bottom: 0;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;

    }

    .list-catalog-text {
        padding-bottom: 0.7em;
    }
}

/* mv */
.mv::after {
    content: "";
    display: block;

}

.mv_wrap {
    position: relative;
}

.mv_wrap::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(73, 58, 5, 0.18);
    /* background-image: url(../image/mv_dots_bg.png); */
    background-size: 10px;


    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    box-shadow: 0px 0px 15px -5px rgba(89, 89, 89, 0.1);
}

.mv_title {
    position: absolute;
    top: 43%;
    left: 50%;
    translate: -50%;
    font-size: 24px;
    font-weight: bold;
    text-align: center;

    color: #fff;
    z-index: 3;
}

.mv_title .title {
    font-size: 36px;
}

.mv_title .title span {
    /* font-size: 24px; */
    margin-left: 10px;
}

.mv_title .text {
    font-size: 16px;
}

@media(max-width:767px) {
    .mv_title .title span {
        font-size: 30px;
        display: block;
        margin-left: 0;
    }

    .mv_title {
        width: 100%;
    }

    .mv_title .title {
        font-size: 28px;
    }

    .mv_title .text {
        margin-top: 1em;
    }

    .mv_title .text span {
        display: block;
    }
}

/* section */
.section {
    padding: 120px 0 140px;
}

.section_title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;

    position: relative;

}

.section_title::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background-color: var(--main-text-color);

    position: absolute;
    bottom: -10px;
    left: 50%;
    translate: -50%;
}

@media(max-width:767px) {
    .section {
        padding: 80px 0 100px;
    }

    .section_title {
        font-size: 22px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 60px;
        position: relative;

    }

}


/* mv */
.mv {
    background-color: rgb(194, 194, 194);
    margin-top: 110px;
}

@media(max-width:767px) {
    .mv {
        margin-top: 70px;
    }
}

/* scroll_anime */
.scroll_anime {
    position: absolute;
    bottom: 10%;
    left: 50%;
    z-index: 800;
    transform: translate(-50%, 0);
    color: #fff;
}

.scroll_bar {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    padding-bottom: 0;
    background-color: #fff;
    animation: bgSlide2 1s infinite;
    transform: translateY(100%);
}


/* 背景切り替え */
@keyframes bgSlide2 {
    0% {
        height: 0;

    }

    100% {
        height: 100px;
    }
}


/* footer */
.footer {
    background-color: #fff;
    position: relative;
    padding-top: 35px;
    z-index: 0;
    border-top: 3px solid #fff;

}

.footer::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: url(../image/wasi.webp);
    background-size: contain;
    opacity: 0.7;
}

.footer_title {
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px; /* アイコンと文字の間隔 */
}
.footer_title::before {
    content: "";
    display: inline-block;
    width: 45px;   /* アイコンサイズ */
    height: 45px;
    background-image: url(../image/favicon.ico); /* アイコン画像 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer_title span {
    /* font-size: 20px; */
    margin-left: 5px;
}



.footer_address {
    margin-top: 18px;
    display: flex;
    gap: 30px;
    justify-content:center;
}

.footer_address-item {
    width: 45%;
}

.footer_address-title {
    font-weight: bold;
}

.footer_address-text {
    font-size: 14px;
    margin-top: .1em;
}

.footer_address-num span {
    margin-right: 0.8em;
}


.footer_nav {
    font-size: 13px;
    font-weight: 600;
    margin-top: 100px;
}

.footer_list {
    display: flex;
    gap: 1em;
    justify-content: right;
}

.footer_map {
    margin-top: 20px;
}

.footer_map iframe {
    width: 100%;
    height: 200px;
}

.copyright {
    display: block;
    text-align: center;
    color: #fff;
    background-color: var(--main-text-color);
    font-size: 10px;
    padding: 10px 0;
    margin-top: 20px;
}
.footer_address-button-osaka,
.footer_address-button-tokyo {
    display: block;
    background-color: var(--base-color);
    padding: 15px 10px 15px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border: 3px solid #fff;
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    max-width: 450px;
}
.footer_address-button-osaka {
    background-image: url(../company/image/company_image_osaka.webp);
}

.footer_address-button-tokyo {
    background-image: url(../company/image/company_image_tokyo.webp);
}
/* .footer_address-button-osaka {
    display: block;
    background-color: var(--base-color);
    padding: 15px 10px 15px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border: 3px solid #fff;
    background-image: url(../company/image/company_image.jpg);
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    max-width: 450px;
}

.footer_address-button-tokyo {
    display: block;
    background-color: var(--base-color);
    padding: 15px 10px 15px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border: 3px solid #fff;
    background-image: url(../company/image/company_image_tokyo.jpeg);
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    max-width: 450px;
} */


@media(max-width:767px) {
    .footer_title {
        text-align: center;

    }

    .footer_address {
        margin-top: 18px;
        display: flex;
        gap: 30px;

        flex-direction: column;
    }

    .footer_address-item {
        width: 100%;
    }

    .footer_list {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer_address-button-tokyo {
    max-width:100%;
    }
    .footer_address-button-osaka {
    max-width:100%;
    }
.footer_title::before {
    content: "";
    display: inline-block;
    width: 35px;   /* アイコンサイズ */
    height: 35px;
    background-image: url(../image/favicon.ico); /* アイコン画像 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
}