@charset "UTF-8";

html {
    scroll-padding-top: 70px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
}

.wrapper {
    max-width: 1340px;
    margin: 0 auto;
}

p {
    font-size: 20px;
    line-height: 1.7;
    color: #101010;
    text-align: center;
}

img {
    width: 100%;
}

header {
    position: fixed;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

h1 img {
    max-width: 200px;
}

.gnav-list {
    display: flex;
    gap: 15px;
    align-items: center;
    list-style: none;
}

.gnav-list li {
    height: 50px;
    min-width: 120px;
    width: auto;
    margin: 0;
    padding: 0;
    flex: 1;
    transition: 0.2s;
    font-size: 14px;
}

.gnav-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    color: inherit;
    padding: 10px 0px;
    background-color: #F3F1EF;
    height: 100%;
    transition: 0.3s;
}

.gnav-list li a:hover,
.gnav-list li a:active {
    color: #fff;
    background-color: #EEAC1C;
}

.gnav-list li a img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.hamburger,
.gnav-sp {
    display: none;
}

.fv-slider {
    margin: auto;
    position: relative;
    overflow: hidden;
    display: block;
    visibility: visible;
    opacity: 1;
}

.fv-slider img {
    width: 100%;
    display: block;
}

.about-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    padding: 40px;
    margin: auto;
}

.about-text p {
    flex: 1;
    box-sizing: border-box;
    letter-spacing: 0.05px;
    line-height: 1.8;
    text-align: left;
}

.news {
    display: none;
}

.main-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    max-width: 300px;
    margin-left: 90px;
}

.service {
    background-color: #F3F1EF;
    text-align: center;
    margin: auto;
    padding: 0 15px 40px 15px;
}

.service-item {
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}

.service-item li {
    display: flex;
    background-color: #fff;
    height: 364px;
    margin-bottom: 30px;
    padding: 0;
}

.service-item li img {
    object-fit: cover;
    flex-shrink: 0;
    max-width: 489px;
    height: 364px;
}

.text-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.text-area h3 {
    font-size: 38px;
    color: #EEAC1C;

}

.text-area p {
    margin-bottom: 40px;
    max-width: 430px;
    text-align: left;
    letter-spacing: 0.05px;
    line-height: 1.8;
    padding: 0px 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 30px;
    background-color: #EEAC1C;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
}

.button:hover {
    opacity: 0.8;
}

.button .circle {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
}

.button .circle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #EEAC1C;
    border-right: 2px solid #EEAC1C;
    transform: translate(-65%, -50%) rotate(45deg);
}

.about h2,
.service h2,
.home-news h2,
.home-map h2,
.hours h2,
.contact h2,
.about h3,
.service h3,
.home-news h3,
.home-map h3,
.hours h3,
.contact h3 {
    margin: 0;
    padding: 0;
}

.about h2,
.service h2,
.home-news h2,
.home-map h2,
.hours h2,
.contact h2,
.conpany h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    font-weight: bold;
    color: #EEAC1C;
    line-height: 1.3;
    text-align: center;
    padding-top: 40px;
    margin-bottom: 0.05px;
}

.about h3,
.service h3,
.home-news h3,
.home-map h3,
.hours h3,
.contact h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 25px;
    line-height: 1.2;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
}

.home-map {
    text-align: center;
}

.map {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.map-info {
    display: flex;
    gap: 80px;
    padding: 40px 15px;
    justify-content: center;
    font-size: 20px;
}

.map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.map-info dl {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.map-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    letter-spacing: 0.05px;
    line-height: 1.5;
}

.map-info dt {
    background-color: #F3F1EF;
    width: 120px;
    text-align: center;
    padding: 10px 0px;
    font-weight: normal;
}

.map-info dd {
    margin-left: 20px;
    text-align: left;
}

.hours {
    background-color: #F3F1EF;
    text-align: center;
    margin: auto;
    padding: 0 20px 40px 20px;
}

.hours table {
    width: 100%;
    max-width: 700px;
    border-collapse: collapse;
    background-color: #fff;
    text-align: center;
    margin: 0 auto;

}

.hours th {
    background-color: #EEAC1C;
    color: #fff;
    padding: 8px 0;
    font-weight: normal;
    font-size: 20px;
    border: 1px solid #EEAC1C;
    text-align: center;
}

.hours td {
    padding: 20px 0;
    font-size: 30px;
    border: 1px solid #EEAC1C;
}

.contact-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.contact-area .button {
    margin-top: 30px;
    margin-bottom: 40px;
}

.contact-area p {
    text-align: left;
}

footer {
    position: relative;
    background-image: url(../img/balena2.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 40px 20px;
    height: 850px;
}

.footer-menu {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 120px;
    text-align: center;
}

.footer-menu h3 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #EEAC1C;
    text-align: center;
}

.footer-block li {
    margin-bottom: 20px;
}

.footer-block a {
    display: block;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.footer-menu ul li a:hover {
    color: #EEAC1C;
}

.conpany h2 {
    margin-bottom: 40px;
}

.conpany img {
    display: block;
    margin: 20px auto 0px;
    max-width: 1040px;
    width: 100%;
}

.conpany dl {
    line-height: 1.5;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: row;
}

.conpany dt {
    background-color: #EEAC1C;
    min-width: 120px;
    max-width: 120px;
    text-align: center;
    padding: 10px 0px;
    font-weight: normal;
    border-radius: 8px;
}

.conpany dd {
    margin-left: 20px;
    text-align: left;
}


.fotter-nav p {
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #EEAC1C;
}

@media screen and (max-width: 1024px) {
    .gnav-list li a {
        font-size: 12px;
    }

    .gnav-list li a img {
        width: 20px;
        height: 20px;
    }

    .gnav-list li {
        height: 50px;
        min-width: 100px;
        width: auto;
        font-size: 14px;
        padding: 8px 0px;
    }

    .service-item li img {
        max-width: 350px;
    }


    .map-info-column .br-sp {
        display: none;
    }

    .map-info dt {
        min-width: 90px;
        max-width: 90px;
        padding: 3px;
        width: 90px;
    }

    .conpany h2 {
        padding-top: 30px;
        margin-bottom: 20px;
    }

    .conpany img {
        margin-top: 10px;
    }

    .hours table {

        padding: 0px 20px;
    }
}

@media screen and (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
    }

    h1 img {
        width: 110px;
    }

    .gnav {
        display: none;
    }

    .hamburger {
        display: flex;
        position: absolute;
        top: 10px;
        right: 20px;
        width: 30px;
        height: 22px;
        flex-direction: column;
        justify-content: space-between;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: fixed;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 2px;
        transition: 0.3s;
    }

    .gnav-sp {
        position: fixed;
        top: 0;
        right: -260px;
        height: 100%;
        background-color: #F3F1EF;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px;
    }

    .gnav-sp ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .gnav-sp li {
        height: 45px;
        width: 130px;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .gnav-sp li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 16px;
        color: inherit;
        background-color: #ffffff;
        transition: 0.3s;
    }

    .gnav-sp li a:hover,
    .gnav-sp li a:active {
        color: #fff;
        background-color: #EEAC1C;
    }

    .gnav-sp li a img {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        align-items: center;
    }

    .gnav-sp.active {
        right: 0;
    }

    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        font-weight: bold;
        transition: 0.2s;
        cursor: pointer;
    }

    .close-btn:hover,
    .close-btn:active {
        color: #EEAC1C;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .about h2,
    .service h2,
    .home-news h2,
    .home-map h2,
    .hours h2,
    .contact h2,
    .conpany h2 {
        font-size: 24px;
    }

    .about h3,
    .service h3,
    .home-news h3,
    .home-map h3,
    .hours h3,
    .contact h3 {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .fv-slider img {
        width: 100%;
    }

    .about-text {
        display: block;
        padding: 0px 0px 30px 0px;
    }

    .main-text {
        font-size: 20px;
        width: 185px;
        margin: auto;
        padding-bottom: 30px;
    }

    .sub-text {
        font-size: 16px;
        font-weight: normal;
        width: 300px;
        margin: auto;
    }

    .service-item li {
        display: block;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 355px;
        width: 100%;
        height: auto;
        margin: auto;
        margin-bottom: 15px;
        text-align: center;
    }

    .text-area {
        display: contents;
    }

    .service-item li img {
        order: 2;
        max-width: 295px;
        height: 190px;
        margin-bottom: 15px;
    }

    .text-area h3 {
        order: 1;
        font-size: 20px;
        margin: 20px 0px;
    }

    .text-area p {
        order: 3;
        font-size: 14px;
        max-width: 295px;
        padding: 0;
        margin-bottom: 20px;
    }

    .text-area .button {
        order: 4;
        margin-bottom: 20px;
    }

    .contact-area .button {
        margin-bottom: 20px;
    }

    .button {
        font-size: 14px;
        padding: 8px 30px;
    }

    .button .circle {
        width: 20px;
        height: 20px;
    }

    .map-info {
        display: block;
        padding: 15px;
    }

    .map iframe {
        height: 230px;
        padding: 0px 15px;
    }

    .map-info-column {
        gap: 15px;
        margin-bottom: 15px;
    }

    .map-info dl {
        margin: 0;
        font-size: 14px;
    }

    .map-info dd {
        margin-left: 15px;
    }

    .hours th {
        font-size: 14px;
        padding: 3px;
    }

    .hours td {
        font-size: 15px;
        padding: 10px 0;
    }

    .contact-area p {
        font-size: 16px;
    }

    footer {
        padding: 40px 0;
        height: 1250px;
    }

    .footer-menu {
        display: block;
    }

    .footer-menu h3 {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .footer-block {
        margin-bottom: 30px;
    }

    .conpany img {
        max-width: 320px;
        width: 100%;
    }

    .conpany h2 {
        padding-top: 10px;
    }

    .conpany dl {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: auto;
        width: auto;
    }

    .conpany dt {
        margin-bottom: 10px;
        padding: 3px 0;
        min-width: 90px;
        max-width: 90px;
    }

    .conpany dd {
        margin: 0 0 20px 0;
        text-align: center;
        font-size: 14px;
    }

}