@charset "UTF-8";

#wpadminbar {
    display: none;
}

html {
    scroll-behavior: smooth;
    margin-top: 0 !important;
}

body {
    color: #5C5344;
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

:root {
    --header-height: 70px;
    --text: #5C5344;
    --accent: #E5DE1E;
    --btn: #8B7D6B;
    --back: #F8F6F1;
}

.section {
    padding: 130px 20px;
    text-align: center;
}

.section.sub-page {
    padding-top: 50px;
}

.section-title p {
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--accent);
}

.section-title h2 {
    font-size: 2.5rem;
    letter-spacing: 3px;
    margin-block: 0px 10px;
}

.title-line {
    width: 80px;
    height: 2px;
    margin-inline: auto;
    margin-bottom: 70px;
    background: var(--text);
    opacity: 0.3;
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: all 1.2s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/*  header */
header {
    font-family: "Noto Sans JP", serif;
    background: rgba(248, 246, 241, 0.7);
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: var(--header-height);
    transition: 0.5s;
    z-index: 5;
}

.header-contents {
    height: 100%;
    max-width: 95%;
    margin-inline: auto;
    padding-inline: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contents img {
    width: 70px;
    align-self: flex-start;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.header-nav ul li {
    position: relative;
}

.header-nav ul li:last-child {
    margin-right: 25px;
}

.header-nav ul li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: currentColor;
    opacity: 0.7;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.header-nav ul li:hover::after {
    transform: scaleX(1);
}

.header-nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-size: 1rem;
    transition: 0.5s;
}

.header-nav ul li a:hover {
    opacity: 0.7;
}

.header-nav .header-btn a {
    text-decoration: none;
    border: 1px solid var(--text);
    background: var(--btn);
    color: white;
    font-weight: 450;
    padding: 10px 20px;
    border-radius: 40px;
    transition: 0.5s;
}

.header-nav .header-btn a:hover {
    border: 1px solid var(--text);
    color: var(--text);
    background: white;
}

.header-mask {
    width: 230px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 6;
    transform: translateX(100%);
    transition: all .5s;
    background: rgba(160, 146, 128, 0.9);
}



/* main */
main {
    margin-top: var(--header-height);
    flex: 1 0 auto;
}

/* fv */
.fv {
    width: 100%;
    height: auto;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    background-image: url(../img/mainvisual.png);
    background-size: cover;
    background-position: center bottom;
    position: relative;
}

.fv-mask {
    width: 100%;
    height: auto;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    display: flex;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.5),
            rgba(255, 255, 255, 0));
}

.fv-contents {
    width: 87%;
    height: auto;
    padding-top: 96px;
    padding-bottom: 64px;
    margin-left: 13%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    justify-content: center;
}

.fv-subtitle {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.fv-contents h1 {
    font-size: 3.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding-block: 7px;
}

.fv-text {
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.fv-area {
    border: 1px solid var(--text);
    margin-block: 7px;
    width: fit-content;
    padding-block: 5px;
    padding-right: 15px;
    padding-left: 35px;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    position: relative;
}

.fv-area::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--accent);
    border: 1px solid rgba(139, 125, 107, 0.5);
    border-radius: 50%;
    position: absolute;
    top: 13px;
    left: 15px;
}

.fv-btn {
    margin-top: 20px;
}

.fv-btn a {
    display: inline-block;
    text-decoration: none;
    background: var(--btn);
    color: white;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    padding: 10px 40px;
    border-radius: 25px;
    transition: 0.5s;
}

.fv-btn a:hover {
    transform: scale(1.05);
}

.fv-news {
    background: rgba(255, 255, 255, 0.7);
    width: fit-content;
    max-width: min(100%, 560px);
    box-sizing: border-box;
    display: block;
    margin: 0;
    padding: 10px;
    padding-right: 40px;
    position: absolute;
    right: 50px;
    bottom: 24px;
    z-index: 2;
    text-decoration: none;
    color: var(--text);
    transition: .5s;

    @media (min-width: 470px) {
        min-width: 460px;
    }
}

.fv-news:hover {
    color: rgba(92, 83, 68, 0.6);
}

.fv-news::after {
    content: "→";
    position: absolute;
    bottom: 9px;
    right: 15px;
}

.fv-news-text {
    display: flex;
    gap: 2px 10px;
}

.fv-news-text p {
    margin-right: 0;
}

.fv-news-content {
    min-width: 0;
    overflow-wrap: anywhere;
}


/* service */
.service-contents {
    max-width: 1300px;
    margin-inline: auto;
    padding-inline: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 20px;
}

.service-card {
    border: 1px solid rgba(92, 83, 68, 0.3);
    display: flex;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
}

.service-card img {
    width: 48%;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    /* 元のデザインの比率に合わせて調整 */
    object-fit: cover;
}

.service-card-right {
    width: 48%;
    text-align: left;
}

.service-card-title {
    margin-top: 15px;
}

.service-card-title p {
    font-size: 0.8125rem;
    color: var(--btn);
    position: relative;
}

.service-card-title p::after {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--btn);
    position: absolute;
    bottom: -15px;
    left: 0px;
}

.service-card-title h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 22px;
}

.service-card-text {
    margin-top: 25px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}



/* why */
#why {
    background: var(--back);
}

.why-contents {
    max-width: 1300px;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
}

.why-item {
    flex: 1;
    padding-inline: 50px;
    position: relative;
}

.why-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    width: 1px;
    height: 70%;
    background: var(--btn);
}

.why-item:last-child::after {
    display: none;
}

.why-item span {
    font-size: 2.5rem;
    color: var(--btn);
}

.why-item-text {
    margin-top: 20px;
}

.why-item-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.why-item-text p {
    text-align: left;
    margin-top: 20px;
    line-height: 1.7;
    letter-spacing: 0.1em;
}



/* FAQ */
.faq-contents {
    max-width: 800px;
    margin-inline: auto;
    padding-inline: 20px;
    text-align: left;
}

.faq-question {
    position: relative;
    cursor: pointer;
    padding: 30px 20px;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(92, 83, 68, 0.3);
    transition: 0.5s;
}

.faq-question:hover {
    opacity: 0.5;
}

.faq-question p {
    margin-right: 15px;
}

.faq-toggle-horizontal,
.faq-toggle-vertical {
    position: absolute;
    background: rgba(92, 83, 68, 1);
    transition: all 0.3s ease;
}

.faq-toggle-horizontal {
    width: 12px;
    height: 2px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.faq-toggle-vertical {
    width: 2px;
    height: 12px;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
}

.faq-question.open .faq-toggle-vertical {
    height: 0;
}

.faq-answer {
    display: none;
    padding: 30px 20px;
}

.faq-answer p {
    font-size: 13px;
    line-height: 1.5;
}



/* NEWS */
#news {
    background: var(--back);
}

.news-contents {
    max-width: 800px;
    margin-inline: auto;
    background: white;
}

.news-item {
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid rgba(92, 83, 68, 0.3);
    display: flex;
    align-items: center;
    padding: 30px 20px;
    transition: 0.5s;
    position: relative;
}

.news-item:hover {
    opacity: 0.6;
}

.news-item::after {
    content: ">";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 50px;
    opacity: 0;
    transition: 0.5s;
}

.news-item:hover::after {
    right: 30px;
    opacity: 1;
}

.news-item:last-child {
    border-bottom: none;
}

.news-day {
    font-size: 0.9rem;
    margin-right: 20px;
}

.news-lavel-area {
    width: 100px;
    text-align: left;
}

.news-lavel {
    font-size: 0.7rem;
    border: 1px solid var(--accent);
    width: fit-content;
    padding: 5px 8px;
}

.news-title {
    font-size: 1.1rem;
}

.news-all {
    margin-top: 40px;
}

.news-all a {
    text-decoration: none;
    font-size: 0.8rem;
    color: var(--text);
    position: relative;
    transition: 0.5s;
}

.news-all a::after {
    content: "";
    width: 10%;
    height: 2px;
    background: rgba(92, 83, 68, 0.3);
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
}

.news-all a:hover::after {
    width: 100%;
}



/* company */
.company-contents {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
    display: flex;
    justify-content: space-between;
}

.company-left {
    width: 48%;
}

.company-left dl {
    display: flex;
    flex-wrap: wrap;
}

.company-left dl dt {
    width: 30%;
    text-align: left;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(92, 83, 68, 0.2);
    padding: 20px 10px;
    font-size: 0.9rem;
}

.company-left dl dd {
    width: 70%;
    text-align: left;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(92, 83, 68, 0.2);
    padding: 20px 10px;
}

.company-contents iframe {
    width: 48%;
}



/* contact */
#contact {
    background: var(--back);
}

.contact-form {
    max-width: 800px;
    margin-inline: auto;
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: 0.5s;
}

.contact-item:hover {
    opacity: 0.7;
}

.contact-item.full {
    grid-column: 1 / -1;
}

.contact-item input,
.contact-item select,
.contact-item textarea {
    background: var(--back);
    width: 90%;
    margin-top: 5px;
    padding: 10px;
    border-radius: 5px;
}

.contact-item input:focus,
.contact-item select:focus,
.contact-item textarea:focus {
    border-radius: 5px;
    outline: none;
    box-shadow: 0 0 0 2px var(--text);
}

.send-area {
    grid-column: 1 / -1;
    margin-top: 20px;
}

.send-area p {
    font-size: 0.7rem;
    margin-bottom: 5px;
}

.send-area p a {
    color: var(--text);
    transition: 0.5s;
}

.send-area p a:hover {
    opacity: 0.6;
}

.send-area .send {
    background: var(--btn);
    color: white;
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 10px 40px;
    border-radius: 10px;
    transition: 0.5s;
}

.send-area .send:hover {
    opacity: 0.8;
}

.grecaptcha-badge {
    visibility: hidden;
}

.wpcf7-spinner {
    display: none;
}

.privacy-policy,
.news-detail {
    text-align: left;
    max-width: 95%;
    margin-inline: auto;
    padding-inline: 20px;
}

.privacy-item {
    margin-bottom: 20px;
}

.privacy-item ul,
.privacy-item ol,
.wp-block-list {
    list-style-position: inside;
}

.none-list-style {
    list-style: none;
}

.wp-block-heading {
    margin-top: 20px;
}

.wp-block-table {
    margin: 1.5em 0;
    overflow-x: auto;
}

.wp-block-table .has-fixed-layout {
    table-layout: fixed;
    width: 100%;
}

.wp-block-table table,
.news-detail table,
.privacy-policy table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid rgba(92, 83, 68, 0.4);
}

.wp-block-table th,
.wp-block-table td,
.news-detail th,
.news-detail td,
.privacy-policy th,
.privacy-policy td {
    border: 1px solid rgba(92, 83, 68, 0.4);
    padding: 0.6em 0.8em;
    vertical-align: top;
}

.wp-block-table th,
.news-detail th,
.privacy-policy th {
    background: rgba(92, 83, 68, 0.08);
    font-weight: 600;
}

/* footer */
footer {
    background: var(--btn);
    font-family: "Noto Sans JP", serif;
    text-align: center;
}

.footer-container {
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 25px;
    display: flex;
    justify-content: space-between;
}

.footer-left {
    width: 30%;
    padding: 20px;
    text-align: center;
}

.footer-left h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 350;
}

.footer-left img {
    width: 100px;
}

.footer-right {
    width: 70%;
    padding: 20px;
    display: flex;
    justify-content: right;
}

.footer-right .sections {
    display: flex;
    flex-direction: column;
    padding-right: 70px;
    text-align: left;
}

.footer-right .support {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-right .sections h5,
.support h5 {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding-bottom: 15px;
    color: rgba(229, 222, 30, 0.5);
}

.footer-right .sections a,
.support a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding-bottom: 5px;
    transition: 0.5s;
}

.footer-right .sections a:hover,
.support a:hover {
    opacity: 0.6;
}

footer p {
    font-size: 0.6rem;
    font-weight: 500;
    padding-bottom: 5px;
    color: white;
}

/* メディアクエリ */

@media screen and (max-width:1024px) {
    /* header */
    .header-nav {
        position: fixed;
        top: 0;
        right: 30px;
        display: flex;
        flex-direction: column;
        padding: 10px;
        margin-top: 100px;
        z-index: 10;
        transform: translateX(120%);
        transition: .5s;
    }

    .header-nav ul {
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
    }

    .header-nav ul li:hover::after {
        transform: scaleX(0);
    }

    .header-nav ul li a {
        color: white;
        font-weight: 400;
    }

    .header-nav .header-btn a {
        background: var(--back);
        color: var(--text);
        display: inline-block;
        border: none;
        transition: .5s;
    }

    .header-nav .header-btn a:hover {
        border: none;
        transform: scale(1.08);
    }

    .header-open .header-nav {
        transform: translateX(0%);
    }

    .toggle-btn {
        width: 35px;
        height: 30px;
        position: fixed;
        top: 23px;
        right: 30px;
        cursor: pointer;
        z-index: 7;
    }

    .toggle-btn span {
        display: block;
        width: 35px;
        height: 2px;
        background-color: #3F3A36;
        transition: 0.5s;
        position: absolute;
    }

    .toggle-btn span:nth-child(1) {
        top: 10px;
    }

    .toggle-btn span:nth-child(2) {
        top: 18px;
    }

    .header-open .toggle-btn span:nth-child(1) {
        transform: translateY(4px) rotate(-45deg);
    }

    .header-open .toggle-btn span:nth-child(2) {
        transform: translateY(-4px) rotate(45deg);
    }

    .header-open .header-mask {
        transform: translateX(0%);
        visibility: visible;
        opacity: 1;
    }

    /* service */
    .service-contents {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width:921px) and (min-height:980px) {
    .fv-contents {
        padding-top: 120px;
        padding-bottom: 80px;
    }
}

@media screen and (max-width:920px) {
    .fv-mask {
        display: block;
    }

    .fv-contents {
        width: min(100%, 700px);
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        margin-inline: auto;
        padding-top: 30px;
        padding-inline: 16px;
    }

    .fv-subtitle {
        margin: 0;
        font-size: 1.32rem;
    }

    .fv-contents h1 {
        font-size: 2.65rem;
        margin: 14px 0 0;
        padding-block: 0;
    }

    .fv-text {
        font-size: 1.12rem;
        margin: 16px 0 0;
    }

    .fv-area {
        margin-top: 16px;
        font-size: clamp(0.8rem, 3.5vw, 1.1rem);
    }

    .fv-btn {
        margin-top: 24px;
    }

    .fv-btn a {
        font-size: 1.3rem;
        padding: 11px 30px;
    }

    .fv-news {
        right: 16px;
        bottom: 16px;
        width: min(100%, 560px);
        font-size: 1.05rem;
    }

    .fv-news-day,
    .fv-news-content {
        font-size: 1.03rem;
    }

    .why-contents {
        flex-direction: column;
    }
    
    .why-item {
        margin-bottom: 50px;
    }
    
    .why-item::after {
        display: none;
    }

    .company-contents {
        flex-direction: column;
    }

    .company-left {
        width: 100%;
    }

    .company-contents iframe {
        width: 100%;
        margin-top: 30px;
    }

    .footer-left {
        width: 35%;
    }

    .footer-left h4 {
        font-size: 1rem;
    }

    .footer-right {
        width: 65%;
    }

}

@media screen and (max-width:920px) and (min-height:730px) {
    .fv-contents {
        padding-top: 120px;
    }

    .fv-contents h1 {
        margin-top: 15px;
    }

    .fv-text {
        margin-top: 25px;
    }

    .fv-area {
        margin-top: 40px;
    }

    .fv-btn {
        margin-top: 20px;
    }
}

@media screen and (max-width:590px) {
    .fv-contents {
        width: min(100%, 500px);
        padding-right: 0;
    }

    .fv-news {
        position: relative;
        left: auto;
        transform: none;
        right: auto;
        bottom: auto;
        margin-top: 16px;
        width: 95%;
    }

    .fv-contents h1 {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    .fv-text {
        font-size: clamp(0.82rem, 3vw, 1rem);
    }

    .service-card {
        flex-direction: column-reverse;
    }

    .service-card img {
        width: 100%;
        margin-top: 20px;
    }

    .service-card-right {
        width: 100%;
    }

    .why-item {
        padding-inline: 20px;
    }

    .news-item {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px 12px;
        padding: 20px 16px;
    }

    .news-day {
        margin-right: 0;
    }

    .news-lavel-area {
        width: auto;
    }

    .news-title {
        width: 100%;
        font-size: 1rem;
        margin-top: 6px;
    }

    .news-item::after {
        display: none;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .grid-empty {
        display: none;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-left {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .footer-left img {
        margin-right: 15px;
    }
    
    .footer-left h4 {
        font-size: 1.1rem;
    }
    
    .footer-right {
        width: 100%;
        justify-content: left;
    }
}

@media screen and (max-width:590px) and (min-height:670px) {

    .fv-news {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        bottom: 15px;
        margin-top: 0;
    }

    .fv-contents h1 {
        margin-top: 20px;
    }

    .fv-text {
        margin-top: 30px;
    }

    .fv-area {
        margin-top: 45px;
    }

    .fv-btn {
        margin-top: 25px;
    }

}
