@charset "utf-8";

/*
 Theme Name:   Twenty Twenty-Four Child
 Template:     twentytwentyfour
*/



@import url("../twentytwentyfour/style.css");


/*----------------------------------------------------------*/
/*フォント*/
/* Zen Maru Gothic（既存） */
@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('./fonts/zen-maru-gothic-v19-japanese-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

/* Zen Maru Gothic - Bold */
@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('./fonts/zen-maru-gothic-v19-japanese-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* M Plus Rounded 1c - Regular */
@font-face {
    font-family: 'M PLUS Rounded 1c';
    src: url('./fonts/m-plus-rounded-1c-v19-japanese-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

/* M Plus Rounded 1c - Bold */
@font-face {
    font-family: 'M PLUS Rounded 1c';
    src: url('./fonts/m-plus-rounded-1c-v19-japanese-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

h1 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

h2,
h3 {
    font-family: 'Zen Maru Gothic', 'M PLUS Rounded 1c', sans-serif;
}

body {
    font-family: 'Noto Sans JP', 'M PLUS Rounded 1c', sans-serif;
}

:where(.wp-site-blocks *:focus) {
    outline-width: 2px;
    outline-style: solid
}

/*いらないマージン*/
.entry-content,
.wp-block-group,
footer {
    margin-block-start: 0;
}

/*フォーカス時のアウトラインを消す */
.wp-site-blocks *:focus {
    outline-width: none;
    outline-style: none;
}

h1,
h2 {
    word-break: keep-all;
    color: #4b2b0e;
}


/*汎用の白枠*/
/* .about-company, */
.white-frame {
    background: white;
    padding: 60px 50px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(190, 150, 130, 0.2);
}

@media (max-width: 768px) {
    .white-frame {
        padding: 40px 20px !important;
    }

}

/*雲形のはいけい*/
.cloud-bg {
    background-image: url(./images/cloud.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 500px;
}

/*半透明の背景*/
.transparent-bg {
    background-color: #ffffffcc;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background-color: #ffffffcc;
    /* 背景色、必要に応じて */
    z-index: -1;
    pointer-events: none;
    /* 背景がクリックを邪魔しないように */
}

/*顔のアイコン*/
.face-icon {
    width: 40px;
    height: 40px;
    fill: white;
}

/*wbrで改行*/
.wbr {
    word-break: keep-all;
}

/*何かを一時的に消す*/
.display-none {
    display: none;
}

/* hide reCAPTCHA v3 badge */
.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-policy {
    font-size: small;
    text-align: center;
}


/*----------------------------------------------------------*/
/*トップページ*/

/*トップのh1非表示*/
body.page-id-33 .hero-title-block {
    display: none;
}


/* .top-frame-content--full {
    background: linear-gradient(135deg, #ff9a56, #ff6b35);
}

.top-frame-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
} */

/*トップのフレーム*/
.top-frame-content--full {
    /* background: linear-gradient(180deg, #f39839, #f9812c); */
    background: linear-gradient(to right,
            /* ← 水平（左→右） */
            #f39839 0%,
            /* 薄いオレンジ（左端） */
            #f9812c 20%,
            #f9812c 80%,
            /* 濃いオレンジ（中央） */
            #f39839 100%
            /* 薄いオレンジ（右端） */
        );
    display: grid;
    grid-template-columns: 1fr minmax(0, 1300px) 1fr;
    padding: 30px 0;
}

.top-frame-content {
    grid-column: 2;
    margin: 0 20px;
    width: auto;
    max-width: none;
}

.top-frame-header {
    transform: translateX(-50%) translateY(11px) !important;
}

.top-frame-footer {
    transform: translateX(-50%) translateY(-31px) scaleY(-1) !important;
}

/* トップフレーム共通 */
.top-frame-header,
.top-frame-footer {
    background-image: url('./images/top-frame-header.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    aspect-ratio: 10/1;
    width: 100%;
    padding-top: 20px;

    /* width: 100vw !important; */
    margin-left: 50% !important;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;

    /* padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left); */
}

.top-frame-content svg {
    margin-bottom: 0px;
    margin-top: 0px;
    display: block;
}


/*トップのコンテンツ*/
/*めいんびゅー*/
.top-main-view {
    padding: 20px 60px 60px;
}

.top-main-view img {
    width: 100%;
}

.top-main-view-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/*導入*/
.top-intro-text {
    padding: 90px 60px;
}

.top-intro-text,
.top-intro-text h2 {
    color: #51372f;
    background-color: #fff8f3;
}

/*サービス*/
.top-service {
    padding: 60px 60px 20px;
}

.top-service h2 {
    color: #4b2b0e;
}

.top-service .label {
    color: #f97316;
    border-bottom: solid 1px;
}

.top-service figure {
    text-align: right;
    margin-bottom: 30px;
}

.top-service img {
    width: 100%;
    max-width: 470px;
}

.top-service .wp-block-buttons {
    margin-top: 30px;
    gap: 20px;
    max-width: 270px;
}

@media (max-width: 768px) {

    .top-main-view {
        padding: 20px 40px 60px;
    }

    .top-intro-text {
        padding: 60px 40px;
    }

    .top-service {
        padding: 60px 40px 20px;
    }


    .top-main-view figure,
    .top-service figure {
        text-align: center;
    }

    .top-main-view img {
        width: 400px;
    }

    .top-service .wp-block-buttons {}
}


/*----------------------------------------------------------*/
/*サービス*/

/*説明*/
.service-plan-description {
    padding: 60px 16px;
}

/*サービス*/
.service-plan-item {
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(190, 150, 130, 0.4);
    border: solid 6px;
    padding: 40px 40px 50px;
    margin-bottom: 40px;

    background: linear-gradient(to right,
            #fafafa 0%,
            #fff 20%,
            #fff 80%,
            #fafafa 100%);
}

.service-plan-item h2,
.service-plan-item h3 {
    font-family: "M PLUS Rounded 1c",
        sans-serif;
    ;
}

/* 1. カウンターをリセットする */
.service-plan-detail {
    counter-reset: plan-item;
}

.service-plan-item h2 {
    font-size: 2.2rem;
    border-bottom: dotted 4px;
    padding-bottom: 20px;
    width: -webkit-fill-available;
    word-break: keep-all;
    display: flex;
    align-items: center;
    gap: 0.5em;
    counter-increment: plan-item;
    margin-bottom: 15px;
}

.service-plan-item h2::before {
    content: counter(plan-item) "";
    font-weight: bold;
    color: currentColor;
    font-size: 4rem;
    width: 50px;
}

.service-plan-item h3 {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.7rem;
    margin-top: 30px;
    /* margin-bottom: 15px; */
}

.service-plan-item h3 img {
    width: 50px;
    height: 50px;
}


.service-plan-item ul {
    list-style: none;
    margin-top: 15px;
}

.service-plan-item ul li {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.service-plan-item ul li::before {
    content: "•";
    display: inline-block;
    width: 50px;
    text-align: right;
}

.service-plan-item p {
    font-size: 0.9rem;
    margin-top: 30px;
    line-height: 1.5;
}

/* タブレット対応 (768px以下) */
@media (max-width: 768px) {
    .service-plan-item {
        border-radius: 15px;
        padding: 20px 20px 30px;
        margin-bottom: 30px;
    }

    .service-plan-item h2 {
        font-size: 1.8rem;
        width: 80%;
    }

    .service-plan-item h3 {
        font-size: 1.3rem;
    }

    .service-plan-item ul {
        margin-top: 10px;
    }

    .service-plan-item ul li {
        font-size: 1rem;
        line-height: 2;
    }

    .service-plan-item p {
        font-size: 0.85rem;
    }
}

/* スマートフォン対応 (480px以下) */
@media (max-width: 480px) {


    .service-plan-item {
        border-radius: 12px;
    }

    .service-plan-item h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .service-plan-item h3 {
        font-size: 1.2rem;
    }

    .service-plan-item p {
        font-size: 0.85rem;
    }
}

/* 色を変更 --------------------------*/
.plan-item-01 {
    border-color: #d8613c;
}

.plan-item-01 h2,
.plan-item-01 ul li::before {
    color: #d8613c;
}


.plan-item-02 {
    border-color: #c7a42f;
}

.plan-item-02 h2,
.plan-item-02 ul li::before {
    color: #c7a42f;
}

.plan-item-03 {
    border-color: #3d80b4;
}

.plan-item-03 h2,
.plan-item-03 ul li::before {
    color: #3d80b4;
}

.plan-item-04 {
    border-color: #4e996d;
}

.plan-item-04 h2,
.plan-item-04 ul li::before {
    color: #4e996d;
}

.plan-item-05 {
    border-color: #9e4c8c;
}

.plan-item-05 h2,
.plan-item-05 ul li::before {
    color: #9e4c8c;
}

.service-price {
    padding: 60px 16px 40px;
    margin-top: -20px;

    position: relative;
}

/*----------------------------------------------------------*/
/* 入会の流れ */

.join-flow-description {
    padding: 40px 0;
}


.join-flow-description h2 {
    font-size: 2.2rem;


}

.join-flow-step {
    padding-top: 0 !important;
}

.join-flow-step figure img {
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(190, 150, 130, 0.4);
}

.join-guardianship {
    /* background-image: url(./images/cloud.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%; */


    padding: 8rem 20px;
    margin: -4rem;
    z-index: -1;
}

.join-guardianship .right-column {
    max-width: 100px;
    margin: 0 auto;
}

.join-guardianship h2 {
    color: #fff;
    background-color: #f9812c;
    padding: 10px;
    width: fit-content;
    border-radius: 6px;
    margin-top: 0;
    word-break: keep-all;
}

/* タブレット対応 (768px以下) */
@media (max-width: 768px) {
    .join-guardianship .wp-block-columns {
        flex-direction: column-reverse
    }
}

.join-deny-case {
    margin: 3rem 0;
}

.join-deny-case h2 {
    font-size: 1.3rem;
}

/*----------------------------------------------------------*/
/*法人概要*/
/*----------------------------------------------------------*/



/*見出し*/
.vision-section h2,
.company-info-section h2,
.services-section h2,
.partners-section h2 {
    font-size: 28px;
    color: #4b2b0e;
    margin: 40px 0 40px 0;
    border-left: 4px solid #f88e15;
    padding-left: 15px;
}

.vision-section {
    margin-bottom: 50px;
    padding: 5rem 20px;
}

.vision-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

/* パターンA: 理事長写真あり */
/* .pattern-a .president-photo { */
.president-photo {
    float: right;
    width: 180px;
    height: 240px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin: 0 0 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
}

.president-caption {
    clear: both;
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin-top: 10px;
    font-style: italic;
}

/* パターンB: 集合写真あり */
/* .pattern-b .group-photo { */
.group-photo {
    max-width: 400px;
    /* height: 200px; */
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    /* border: 2px solid #e2e8f0; */
    border-radius: 8px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
}

.group-photo img {
    border-radius: 8px;
}

/*理事リスト*/
.executives-list {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.executive {
    font-size: 17px;
}

.executive:not(:last-child) {
    margin-bottom: 17px;
}

.title {
    font-weight: bold;
    color: #794f29;
    display: inline-block;
    min-width: 80px;
}

.name {
    font-weight: bold;
    margin-right: 20px;
}

.affiliation {
    color: #554c4c;
    font-size: 13px;
}

@media (max-width: 768px) {
    .affiliation {
        display: block;
        margin-top: 5px;
    }
}


.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/*----------------------------------------------------------*/

/*概要*/
.company-info-section {
    margin-bottom: 40px;
}

.purpose-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}


.company-details {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0 50px;
}

.detail-grid {
    display: grid;
    gap: 20px;
}

.detail-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: start;
    gap: 20px;

}

.detail-item:not(:last-child) {
    border-bottom: 1px solid #e5e5e3;
    padding: 0 0 15px 0;
}

.detail-label {
    font-weight: bold;
    color: #794f29;
    font-size: 14px;
}

.detail-value {
    font-size: 15px;
    line-height: 1.6;
}

.services-section {
    margin-bottom: 50px;
}

.service-category {
    margin-bottom: 35px;
    border-left: 4px solid #fff6e6;
    padding-left: 20px;
    transition: border-color 0.3s ease;
}

.service-category:hover {
    border-left-color: #f88e15;
}

.service-category h3 {
    color: #794f29;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-number {
    background: #f88e15;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

/* .service-list { */
.service-category li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* .service-list li { */
.service-category li {
    position: relative;
    padding: 8px 0 8px 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #554c4c;
}

/* .service-list li::before { */
.service-category li::before {
    content: '•';
    color: #794f29;
    font-weight: bold;
    position: absolute;
    left: 8px;
    top: 8px;
}

/*支援事業者*/
.partners-section {
    padding: 40px 20px;
    border-radius: 8px;
    margin-top: 40px;
}


/* .partners-list { */
.partners-section li {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

/* .partner-item { */
.partners-section li {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    color: #554c4c;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* .partner-item:hover { */
.partners-section li:hover {
    border-color: #f8852e;
    box-shadow: 0 2px 8px rgba(190, 150, 130, 0.15);
}

@media (max-width: 768px) {
    .detail-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .detail-label {
        font-size: 13px;
    }

    .service-category h3 {
        font-size: 16px;
    }

    .service-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/*---------------------------------------------------------*/

/*問い合わせページ*/

.contact-container {
    /* margin-top: 20px !important; */
    margin-bottom: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(190, 150, 130, 0.2);
    font-family: 'Helvetica Neue', sans-serif;
}

.wpcf7-form {
    padding: 2rem 1rem;
}

/* 各フィールドの余白 */
.wpcf7-form p {
    margin-bottom: 1.5rem;
}

/* ラベルと入力フィールドの整列 */
.wpcf7-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

/* テキスト・メール・題名の共通スタイル */
.wpcf7-text,
.wpcf7-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* フォーカス時のハイライト */
.wpcf7-form-control:focus {
    border-color: #00aaa2;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
    outline: none;
}

/* テキストエリア */
.wpcf7-textarea {
    resize: vertical;
    min-height: 150px;
}

/*ラジオボタン*/
.wpcf7-list-item label {
    font-weight: normal;
}

/* 送信ボタン */
.wpcf7-submit {
    background: linear-gradient(135deg, #f88e15, #e05514);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 34px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
    box-shadow: 0 4px 15px rgba(225, 124, 66, 0.3);
    transition: all 0.3s ease;

    max-width: 300px;
}

/*スピナー*/
.wpcf7-spinner {
    background-color: #f39839;
}

/* ホバー時 */
.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 124, 66, 0.4);
}

/*必須ラベル*/
.required,
.optional {
    display: inline-block;
    margin-right: 10px;
    padding: 0px 6px;
    font-size: 13px;
    font-weight: normal;
    border-radius: 3px;
}

.required {
    background: #f39839;
    color: #fff;
}

.optional {
    background: #ccc;
    color: #000;
}

/* レスポンシブ調整 */
@media (max-width: 480px) {
    .wpcf7-form {
        padding: 1.5rem 1rem;
    }
}


/*----------------------------------------------------------*/
/*ボタン*/
/*トップのボタン*/
.round-button .wp-block-button {
    width: 100%;
}

.round-button .wp-block-button a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* margin: 0 auto; */

    padding: 15px 30px;
    font-size: 1rem;
    font-family: "Noto Sans Japanese";
    color: #fff;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    background: linear-gradient(135deg, #f88e15, #e05514);
    color: #fff;
    box-shadow: 0 4px 15px rgba(225, 124, 66, 0.3);
    -webkit-box-shadow: 0 4px 15px rgba(225, 124, 66, 0.3);
    border-radius: 9999px;
}

.round-button .wp-block-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 124, 66, 0.4);
}

.round-button .wp-block-button a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}

.button a:hover:after {
    border-color: #fff;
}


/*PDFのボタン*/
.pdf-button a {
    background: linear-gradient(135deg, #f88e15, #e05514);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 34px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
    box-shadow: 0 4px 15px rgba(225, 124, 66, 0.3);
    transition: all 0.3s ease;
}

.pdf-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 124, 66, 0.4);
}


/*アニメーション*/

.rotate-anime {
    animation: rotation 100s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*----------------------------------------------------------*/
/*共通ブロック*/
.contact-block,
.hero-title-block {
    background: linear-gradient(to right,
            /* ← 水平（左→右） */
            #f39839 0%,
            /* 薄いオレンジ（左端） */
            #f9812c 20%,
            #f9812c 80%,
            /* 濃いオレンジ（中央） */
            #f39839 100%
            /* 薄いオレンジ（右端） */
        );
    box-shadow: 0 2px 5px rgba(190, 150, 130, 0.2);
    color: white;

}

.hero-title-block h1 {
    font-size: 30px;
    color: #fff;
}


/* .contact-section {
    background: linear-gradient(135deg, #f97316, #ea580c);
    padding: 60px 0;
    color: white;
} */
/*----------------------------------------------------------*/
/* contactブロック */

.contact-block {
    padding: 40px 0 !important;
    text-align: center;
}

.contact-block h2 {
    color: #fff;
    margin-bottom: 40px;
    margin-top: 0;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-block svg {
    color: #FFF;
}

.contact-method {
    margin-bottom: 1rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;


    display: flex;
    align-items: center;
    margin: 0 auto;
    gap: 20px;

    width: 300px;


    background: white;
    color: #794f29;
    padding: 15px 30px;
    border: 3px solid white;
    border-radius: 8px;

    font-weight: bold;

    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
    /* transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */

    background: #f97316;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9731691;
    border-radius: 50%;

}

/* 電話ボタン */
.phone-button {
    font-size: 28px;
    line-height: 30px;
}

/* メールボタン */
.mail-button {
    font-size: 20px;
    line-height: 30px;
}


.phone-button:hover,
.mail-button:hover {}

/* .mail-button:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
} */



/* アイコンスタイル */
.button-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {


    .button-icon {
        width: 20px;
        height: 20px;
    }
}

/******/


/*フッター*/
footer {
    background-color: #51372f;
}

/* .footer-container {
    margin: 0 auto;
    padding: 0 20px !important;
} */

.footer-info {
    /* background: #78716c; */
    padding: 40px 0 !important;
    color: white;
    text-align: center;
}

/* .footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
} */

.organization-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.organization-address {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.copyright {
    font-size: 12px;
    opacity: 0.7;
}


@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-method {
        gap: 20px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-title {
        font-size: 28px;
        /* margin-bottom: 40px; */
    }

    .phone-button {
        /* font-size: 18px;
        padding: 12px 24px; */
    }

    .mail-button {
        /* font-size: 14px;
        padding: 12px 24px; */
    }

    .organization-name {
        font-size: 16px;
    }
}

/*--------------------------------------------*/


header {
    margin-block-start: 0;
}

/*ナビメニュー*/
.nav-container {
    align-items: flex-end;
    /* position: fixed; */
}

.nav-logo img {
    width: 220px;
}

.nav-title {
    /* display: flex;
    align-items: flex-end;
    gap: 10px; */
}

/* .nav-title .wp-block-site-title { */
.nav-title h1 {
    margin-top: 8px;
    font-size: 14px;
    line-height: 20px;
    color: #4b2b0e;
    font-family: 'Zen Maru Gothic'
}

.wp-block-navigation ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
    /* line-height: 18px; */
    align-items: flex-end;
    color: #51372f;
    gap: 40px;
    font-weight: bold;
}

.nav-contact {
    border: solid 2px #f97316;
    border-radius: 20px;
    padding: 0 20px ! important;
}

@media (max-width: 768px) {

    .nav-container {
        align-items: flex-start;
    }

    .nav-logo img {
        width: 180px;
    }

    .nav-title h1 {

        font-size: 12px;
    }

    .nav-title {
        display: block;
    }

    .nav-title .wp-block-site-title {
        margin-top: 18px;
    }
}

.wp-block-navigation__responsive-container.is-menu-open {
    background-color: #f9f9f9 !important;
    color: #4b2b0e !important;
}

.wp-block-navigation__responsive-container.is-menu-open {}

/*ひらく*/
.wp-block-navigation__responsive-container-open svg {
    fill: #4b2b0e;
    height: 40px;
    width: 40px;
}

/*閉じる*/
.wp-block-navigation__responsive-container-close svg {
    fill: #4b2b0e;
    height: 40px;
    width: 40px;
}


/* .is-menu-open .wp-block-navigation__responsive-container-content, */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: start;
    text-align: center;
    padding-top: 150px;
}

/* .is-menu-open ul */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    width: 100%;
    align-items: center;
    gap: 20px;
}

/*オーバーレイメニューのアニメーション */
@keyframes overlay-menu__fade-in-animation {
    0% {
        opacity: 0;
        transform: translateX(.5em);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media not (prefers-reduced-motion) {
    .wp-block-navigation__responsive-container.is-menu-open {
        animation: overlay-menu__fade-in-animation .1s ease-out;
        animation-fill-mode: forwards;
    }
}



/*レスポンシブナビゲーションのスタイル */
/*------------------------------------------
  600px 〜 767px の範囲では親テーマの表示を打ち消す
-------------------------------------------*/
@media (min-width: 600px) and (max-width: 767px) {
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: block !important;
    }
}

/*------------------------------------------
  768px 以上では PCナビとして表示させる
-------------------------------------------*/
@media (min-width: 768px) {
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block;
        position: relative;
        background-color: inherit;
        width: 100%;
        z-index: auto;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close {
        display: none;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
        left: 0;
    }

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none;
    }
}