@charset "utf-8";

/*
Theme Name: Noma
*/

/*===========================================
Foundation
===========================================*/
/*
Reset.cssやNormalize.cssなどを用いたブラウザのデフォルトスタイルの初期化や、
プロジェクトにおける基本的なスタイルを定義します。
ページの下地としての全体の背景や、基本的なタイポグラフィなどが該当します。
*/

/* ress.min.css */
html {
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    -moz-tab-size: 4;
    tab-size: 4;
    word-break: normal;
}
*,
:after,
:before {
    background-repeat: no-repeat;
    box-sizing: inherit;
}
:after,
:before {
    text-decoration: inherit;
    vertical-align: inherit;
}
* {
    margin: 0;
    padding: 0;
}
hr {
    color: inherit;
    height: 0;
    overflow: visible;
}
details,
main {
    display: block;
}
summary {
    display: list-item;
}
small {
    font-size: 80%;
}
[hidden] {
    display: none;
}
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}
a {
    background-color: transparent;
}
a:active,
a:hover {
    outline-width: 0;
}
code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
}
pre {
    font-size: 1em;
}
b,
strong {
    font-weight: bolder;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
table {
    border-color: inherit;
    text-indent: 0;
}
iframe {
    border-style: none;
}
input {
    border-radius: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
textarea {
    overflow: auto;
    resize: vertical;
}
button,
input,
optgroup,
select,
textarea {
    font: inherit;
}
optgroup {
    font-weight: 700;
}
button {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
[role="button"],
[type="button"],
[type="reset"],
[type="submit"],
button {
    cursor: pointer;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button:-moz-focusring {
    outline: 1px dotted ButtonText;
}
[type="reset"],
[type="submit"],
button,
html [type="button"] {
    -webkit-appearance: button;
}
button,
input,
select,
textarea {
    background-color: transparent;
    border-style: none;
}
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline-width: 0;
}
select {
    -moz-appearance: none;
    -webkit-appearance: none;
}
select::-ms-expand {
    display: none;
}
select::-ms-value {
    color: currentColor;
}
legend {
    border: 0;
    color: inherit;
    display: table;
    max-width: 100%;
    white-space: normal;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    color: inherit;
    font: inherit;
}
[disabled] {
    cursor: default;
}
img {
    border-style: none;
}
progress {
    vertical-align: baseline;
}
[aria-busy="true"] {
    cursor: progress;
}
[aria-controls] {
    cursor: pointer;
}
[aria-disabled="true"] {
    cursor: default;
}

/*** 位置設定  ***/

.ma0 {
    margin: 0 !important;
}

.ma_to0 {
    margin-top: 0 !important;
}

.ma_to05 {
    margin-top: 0.5em !important;
}

.ma_to10 {
    margin-top: 1em !important;
}

.ma_to15 {
    margin-top: 1.5em !important;
}

.ma_to20 {
    margin-top: 2em !important;
}

.ma_to30 {
    margin-top: 3em !important;
}

.ma_to40 {
    margin-top: 4em !important;
}

.ma_to50 {
    margin-top: 5em !important;
}

.ma_to60 {
    margin-top: 6em !important;
}

.ma_to70 {
    margin-top: 7em !important;
}

.ma_bo05 {
    margin-bottom: 0.5em !important;
}

.ma_bo10 {
    margin-bottom: 1em !important;
}

.ma_bo15 {
    margin-bottom: 1.5em !important;
}

.ma_bo20 {
    margin-bottom: 2em !important;
}

.ma_bo30 {
    margin-bottom: 3em !important;
}

.ma_bo40 {
    margin-bottom: 4em !important;
}

.ma_bo50 {
    margin-bottom: 5em !important;
}

.ma_bo60 {
    margin-bottom: 6em !important;
}

.ma_bo70 {
    margin-bottom: 7em !important;
}

.ma_le0 {
    margin-left: 0 !important;
}

.ma_le05 {
    margin-left: 0.5em !important;
}

.ma_le10 {
    margin-left: 1em !important;
}

.ma_le15 {
    margin-left: 1.5em !important;
}

.ma_le20 {
    margin-left: 2em !important;
}

.ma_le30 {
    margin-left: 3em !important;
}

.ma_le40 {
    margin-left: 4em !important;
}

.ma_le50 {
    margin-left: 5em !important;
}

.ma_le60 {
    margin-left: 6em !important;
}

.ma_le70 {
    margin-left: 7em !important;
}

.ma_ri0 {
    margin-right: 0 !important;
}

.ma_ri05 {
    margin-right: 0.5em !important;
}

.ma_ri10 {
    margin-right: 1em !important;
}

.ma_ri15 {
    margin-right: 1.5em !important;
}

.ma_ri20 {
    margin-right: 2em !important;
}

.ma_ri30 {
    margin-right: 3em !important;
}

.ma_ri40 {
    margin-right: 4em !important;
}

.ma_ri50 {
    margin-right: 5em !important;
}

.ma_ri60 {
    margin-right: 6em !important;
}

.ma_ri70 {
    margin-right: 7em !important;
}

.pa0 {
    padding: 0 !important;
}

.pa_to70 {
    padding-top: 7em !important;
}

.pa_to60 {
    padding-top: 6em !important;
}

.pa_to50 {
    padding-top: 5em !important;
}

.pa_to40 {
    padding-top: 4em !important;
}

.pa_to30 {
    padding-top: 3em !important;
}

.pa_to20 {
    padding-top: 2em !important;
}

.pa_to15 {
    padding-top: 1.5em !important;
}

.pa_to10 {
    padding-top: 1em !important;
}

.pa_to05 {
    padding-top: 0.5em !important;
}

.pa_to0 {
    padding-top: 0 !important;
}

.pa_bo70 {
    padding-bottom: 7em !important;
}

.pa_bo60 {
    padding-bottom: 6em !important;
}

.pa_bo50 {
    padding-bottom: 5em !important;
}

.pa_bo40 {
    padding-bottom: 4em !important;
}

.pa_bo30 {
    padding-bottom: 3em !important;
}

.pa_bo25 {
    padding-bottom: 2.5em !important;
}

.pa_bo20 {
    padding-bottom: 2em !important;
}

.pa_bo15 {
    padding-bottom: 1.5em !important;
}

.pa_bo10 {
    padding-bottom: 1em !important;
}

.pa_bo05 {
    padding-bottom: 0.5em !important;
}

.pa_le70 {
    padding-left: 7em !important;
}

.pa_le60 {
    padding-left: 6em !important;
}

.pa_le50 {
    padding-left: 5em !important;
}

.pa_le40 {
    padding-left: 4em !important;
}

.pa_le30 {
    padding-left: 3em !important;
}

.pa_le20 {
    padding-left: 2em !important;
}

.pa_le15 {
    padding-left: 1.5em !important;
}

.pa_le10 {
    padding-left: 1em !important;
}

.pa_le05 {
    padding-left: 0.5em !important;
}

.pa_le0 {
    padding-left: 0 !important;
}

.pa_ri70 {
    padding-right: 7em !important;
}

.pa_ri60 {
    padding-right: 6em !important;
}

.pa_ri50 {
    padding-right: 5em !important;
}

.pa_ri40 {
    padding-right: 4em !important;
}

.pa_ri30 {
    padding-right: 3em !important;
}

.pa_ri25 {
    padding-right: 2.5em !important;
}

.pa_ri20 {
    padding-right: 2em !important;
}

.pa_ri15 {
    padding-right: 1.5em !important;
}

.pa_ri10 {
    padding-right: 1em !important;
}

.pa_ri05 {
    padding-right: 0.5em !important;
}

.pa_ri0 {
    padding-right: 0 !important;
}

.w_100 {
    width: 100% !important;
}

@media screen and (max-width: 781px) {
    .ma_to30 {
        margin-top: calc(3em * 0.65) !important;
    }
    .ma_to40 {
        margin-top: calc(4em * 0.65) !important;
    }
    .ma_to50 {
        margin-top: calc(5em * 0.65) !important;
    }
    .ma_to60 {
        margin-top: calc(6em * 0.65) !important;
    }
    .ma_bo30 {
        margin-bottom: calc(3em * 0.65) !important;
    }
    .ma_bo40 {
        margin-bottom: calc(4em * 0.65) !important;
    }
    .ma_bo50 {
        margin-bottom: calc(5em * 0.65) !important;
    }
    .ma_bo60 {
        margin-bottom: calc(6em * 0.65) !important;
    }
    .ma_bo70 {
        margin-bottom: calc(7em * 0.65) !important;
    }
    .ma_le30 {
        margin-left: calc(3em * 0.65) !important;
    }
    .ma_le40 {
        margin-left: calc(4em * 0.65) !important;
    }
    .ma_le50 {
        margin-left: calc(5em * 0.65) !important;
    }
    .ma_le60 {
        margin-left: calc(6em * 0.65) !important;
    }
    .ma_ri30 {
        margin-right: calc(3em * 0.65) !important;
    }
    .ma_ri40 {
        margin-right: calc(4em * 0.65) !important;
    }
    .ma_ri50 {
        margin-right: calc(5em * 0.65) !important;
    }
    .ma_ri60 {
        margin-right: calc(6em * 0.65) !important;
    }
    .ma_ri70 {
        margin-right: calc(7em * 0.65) !important;
    }
    .pa_to70 {
        padding-top: calc(7em * 0.65) !important;
    }
    .pa_bo70 {
        padding-bottom: calc(7em * 0.65) !important;
    }
    .pa_to60 {
        padding-top: calc(6em * 0.65) !important;
    }
    .pa_bo60 {
        padding-bottom: calc(6em * 0.65) !important;
    }
    .pa_to50 {
        padding-top: calc(5em * 0.65) !important;
    }
    .pa_bo50 {
        padding-bottom: calc(5em * 0.65) !important;
    }
    .pa_to40 {
        padding-top: calc(4em * 0.65) !important;
    }
    .pa_bo40 {
        padding-bottom: calc(4em * 0.65) !important;
    }
    .pa_to30 {
        padding-top: calc(3em * 0.65) !important;
    }
    .pa_bo30 {
        padding-bottom: calc(3em * 0.65) !important;
    }
    .pa_le70 {
        padding-left: calc(7em * 0.65) !important;
    }
    .pa_ri70 {
        padding-right: calc(7em * 0.65) !important;
    }
    .pa_le60 {
        padding-left: calc(6em * 0.65) !important;
    }
    .pa_ri60 {
        padding-right: calc(6em * 0.65) !important;
    }
    .pa_le50 {
        padding-left: calc(5em * 0.65) !important;
    }
    .pa_ri50 {
        padding-right: calc(5em * 0.65) !important;
    }
    .pa_le40 {
        padding-left: calc(4em * 0.65) !important;
    }
    .pa_ri40 {
        padding-right: calc(4em * 0.65) !important;
    }
    .pa_le30 {
        padding-left: calc(3em * 0.65) !important;
    }
    .pa_ri30 {
        padding-right: calc(3em * 0.65) !important;
    }
}

/* splide-core.min.css */
@keyframes splide-loading {
    0% {
        transform: rotate(0);
    }
    to {
        transform: rotate(1turn);
    }
}
.splide__track--draggable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.splide__track--fade > .splide__list > .splide__slide {
    margin: 0 !important;
    opacity: 0;
    z-index: 0;
}
.splide__track--fade > .splide__list > .splide__slide.is-active {
    opacity: 1;
    z-index: 1;
}
.splide--rtl {
    direction: rtl;
}
.splide__track--ttb > .splide__list {
    display: block;
}
.splide__container {
    box-sizing: border-box;
    position: relative;
}
.splide__list {
    backface-visibility: hidden;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}
.splide.is-initialized:not(.is-active) .splide__list {
    display: block;
}
.splide__pagination {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0;
    pointer-events: none;
}
.splide__pagination li {
    display: inline-block;
    line-height: 1;
    list-style-type: none;
    margin: 0;
    pointer-events: auto;
}
.splide:not(.is-overflow) .splide__pagination {
    display: none;
}
.splide__progress__bar {
    width: 0;
}
.splide {
    position: relative;
    visibility: hidden;
}
.splide.is-initialized,
.splide.is-rendered {
    visibility: visible;
}
.splide__slide {
    backface-visibility: hidden;
    box-sizing: border-box;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    list-style-type: none !important;
    margin: 0;
    position: relative;
}
.splide__slide img {
    vertical-align: bottom;
}
.splide__spinner {
    animation: splide-loading 1s linear infinite;
    border: 2px solid #999;
    border-left-color: transparent;
    border-radius: 50%;
    bottom: 0;
    contain: strict;
    display: inline-block;
    height: 20px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
}
.splide__sr {
    clip: rect(0 0 0 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.splide__toggle.is-active .splide__toggle__play,
.splide__toggle__pause {
    display: none;
}
.splide__toggle.is-active .splide__toggle__pause {
    display: inline;
}
.splide__track {
    overflow: hidden;
    position: relative;
    z-index: 0;
}

/* Outfit */
@font-face {
    font-display: swap;
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400 700;
    src:
        url("lib/fonts/Outfit/Outfit-VariableFont_wght.woff2") format("woff2"),
        url("lib/fonts/Outfit/Outfit-VariableFont_wght.woff") format("woff"),
        url("lib/fonts/Outfit/Outfit-VariableFont_wght.ttf") format("truetype");
}

/* Zen Maru Gothic */
@font-face {
    font-display: swap;
    font-family: "Zen Maru Gothic";
    font-style: normal;
    font-weight: 400;
    src:
        url("lib/fonts/Zen_Maru_Gothic/ZenMaruGothic-Regular.woff2") format("woff2"),
        url("lib/fonts/Zen_Maru_Gothic/ZenMaruGothic-Regular.woff") format("woff"),
        url("lib/fonts/Zen_Maru_Gothic/ZenMaruGothic-Regular.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Zen Maru Gothic";
    font-style: normal;
    font-weight: 500;
    src:
        url("lib/fonts/Zen_Maru_Gothic/ZenMaruGothic-Medium.woff2") format("woff2"),
        url("lib/fonts/Zen_Maru_Gothic/ZenMaruGothic-Medium.woff") format("woff"),
        url("lib/fonts/Zen_Maru_Gothic/ZenMaruGothic-Medium.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Zen Maru Gothic";
    font-style: normal;
    font-weight: 700;
    src:
        url("lib/fonts/Zen_Maru_Gothic/ZenMaruGothic-Bold.woff2") format("woff2"),
        url("lib/fonts/Zen_Maru_Gothic/ZenMaruGothic-Bold.woff") format("woff"),
        url("lib/fonts/Zen_Maru_Gothic/ZenMaruGothic-Bold.ttf") format("truetype");
}

body {
    background: #f8f6f3;
    color: #3b4043;
    font-family: "Zen Maru Gothic", sans-serif;
    /* fallback（フォールバック） */
    /*font-family: 'Outfit', 'Helvetica Neue', Arial, sans-serif;*/
    font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-weight: 500;
    line-height: 1.875;
    overflow-wrap: break-word;
    word-break: normal;
}

body.is-no-scroll {
    overflow: hidden;
}

textarea {
    border-radius: 0;
    vertical-align: bottom;
}

picture {
    display: block;
}

address {
    font-style: normal;
}

iframe {
    vertical-align: bottom;
}

table {
    width: 100%;
    border-collapse: collapse;
}

video {
    vertical-align: bottom;
}

time {
    display: block;
}

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

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

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

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

/* フェードイン */
.js-inview {
    transform: translateY(32px);
    opacity: 0;
}

.js-inview.is-inview {
    transform: translateY(0);
    opacity: 1;
    transition:
        transform 0.8s ease-out,
        opacity 0.8s ease-out;
}

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

/*===========================================
Layout
===========================================*/
/*
ページを構成するヘッダーやメインのコンテンツエリア、
サイドバーやフッターといったプロジェクト共通の
コンテナーブロックのスタイルを定義します。
*/

.l-wrapper {
    position: relative;
    overflow: clip;
    /*min-width: calc(1280px + (24px * 2));
  margin: 0 auto;*/
    padding-top: 172px; /* 1300px以上はこのまま */
}

[id] {
    scroll-margin-top: 24px;
}

/* ▼ 変更箇所：1023px を 1299px に変更 */
@media screen and (max-width: 1299px) {
    .l-wrapper {
        padding-top: 160px; /* ここで1300px未満のPC・iPadの余白を詰める */
    }
}

@media screen and (max-width: 767px) {
    .l-wrapper {
        /*min-width: 100%;*/
        padding-top: 120px;
    }

    .l-container__columns {
        grid-template-columns: none;
        gap: 64px 0;
    }

    [id] {
    }
}

/* ハンバーガーメニュー */
.l-menu {
    position: fixed;
    top: 0;
    /*right: -100%;*/
    right: 0;
    z-index: 1200;
    height: 100%;
    /*visibility: hidden;*/
    /*padding: 92px 0 98px;*/
    overflow-y: scroll;
    /*opacity: 0;*/
    /*transition: right .3s;*/
    transform: translateX(100%);
    transition: transform 0.3s;
}

.l-menu.is-open {
    /*right: 0;*/
    transform: translateX(0);
    /*visibility: visible;
  opacity: 1;*/
}

.l-menu__inner {
    /*height: 1080px;*/
    border-radius: 13px 0 0 13px;
    border-radius: 0 0 0 13px;
    background: #386641;
    padding: 92px 116px 0;
    padding: 92px 116px;
}

.l-menu__logo {
    margin-bottom: 80px;
}

.l-menu__logo a {
    display: block;
    display: inline-block;
    /*transition: opacity .6s;*/
}

.l-menu__logo a:hover {
    /*opacity: .6;*/
}

.l-menu__logo img {
    display: block;
    width: 276px;
}

.l-menu__logo span {
    display: block;
    margin-top: 2px;
    color: #cccccc;
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.025em;
}

.l-menu .p-nav__list {
    /*flex-direction: column;
  gap: 30px 0;*/
    display: grid;
    display: inline-grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 30px 120px;
}

.l-menu .p-nav__list > li > a {
    display: inline-flex;
    gap: 0 40px;
    color: #ffffff;
    font-size: 34px;
}

.l-menu .p-nav__list > li > a:after {
    height: 3px;
    background: #fff;
}

.l-menu .p-nav__list > li > a:before {
    width: 19px;
    height: 19px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2219%22%20height%3D%2219%22%20viewBox%3D%220%200%2019%2019%22%3E%0A%20%20%3Cpath%20id%3D%22Path_793%22%20data-name%3D%22Path%20793%22%20d%3D%22M-9.5-7.125a9.428%2C9.428%2C0%2C0%2C1%2C1.3-4.787%2C9.412%2C9.412%2C0%2C0%2C1%2C3.414-3.414A9.428%2C9.428%2C0%2C0%2C1%2C0-16.625a9.428%2C9.428%2C0%2C0%2C1%2C4.787%2C1.3A9.412%2C9.412%2C0%2C0%2C1%2C8.2-11.912%2C9.428%2C9.428%2C0%2C0%2C1%2C9.5-7.125%2C9.428%2C9.428%2C0%2C0%2C1%2C8.2-2.338%2C9.412%2C9.412%2C0%2C0%2C1%2C4.787%2C1.076%2C9.428%2C9.428%2C0%2C0%2C1%2C0%2C2.375a9.428%2C9.428%2C0%2C0%2C1-4.787-1.3A9.412%2C9.412%2C0%2C0%2C1-8.2-2.338%2C9.428%2C9.428%2C0%2C0%2C1-9.5-7.125ZM0-3.562A3.551%2C3.551%2C0%2C0%2C0%2C2.523-4.6%2C3.551%2C3.551%2C0%2C0%2C0%2C3.563-7.125%2C3.551%2C3.551%2C0%2C0%2C0%2C2.523-9.648%2C3.551%2C3.551%2C0%2C0%2C0%2C0-10.687%2C3.551%2C3.551%2C0%2C0%2C0-2.523-9.648%2C3.551%2C3.551%2C0%2C0%2C0-3.562-7.125%2C3.551%2C3.551%2C0%2C0%2C0-2.523-4.6%2C3.551%2C3.551%2C0%2C0%2C0%2C0-3.562Z%22%20transform%3D%22translate(9.5%2016.625)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
}

.l-menu .p-nav__list > li.menu-item-has-children > a > span:after {
    content: none;
}

.l-menu .p-nav__list .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    border: none;
    padding: 20px 0 0 59px;
    background: transparent;
}

.l-menu .p-nav__list .sub-menu a {
    color: #fff;
    font-size: 28px;
}

.l-menu .l-cta {
    margin-top: 108px;
}

.l-menu .l-cta__columns {
    justify-content: start;
    gap: 0 108px;
}

.l-menu .l-cta__column:first-child {
    display: none;
}

.l-menu .l-cta__button a {
    background: #fff;
    color: #386641;
}

.l-menu .l-cta__button a:after {
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2213.5%22%20viewBox%3D%220%200%2018%2013.5%22%3E%0A%20%20%3Cpath%20id%3D%22Path_792%22%20data-name%3D%22Path%20792%22%20d%3D%22M7.313-13.5a1.835%2C1.835%2C0%2C0%2C1%2C1.2.492A1.835%2C1.835%2C0%2C0%2C1%2C9-11.812a1.7%2C1.7%2C0%2C0%2C1-.668%2C1.336L.668-4.711a1.163%2C1.163%2C0%2C0%2C1-1.336%2C0l-7.664-5.766A1.7%2C1.7%2C0%2C0%2C1-9-11.812a1.835%2C1.835%2C0%2C0%2C1%2C.492-1.2%2C1.835%2C1.835%2C0%2C0%2C1%2C1.2-.492ZM-1.336-3.832A2.145%2C2.145%2C0%2C0%2C0%2C0-3.375a2.145%2C2.145%2C0%2C0%2C0%2C1.336-.457L9-9.562V-2.25A2.272%2C2.272%2C0%2C0%2C1%2C8.332-.668%2C2.272%2C2.272%2C0%2C0%2C1%2C6.75%2C0H-6.75A2.272%2C2.272%2C0%2C0%2C1-8.332-.668%2C2.272%2C2.272%2C0%2C0%2C1-9-2.25V-9.562Z%22%20transform%3D%22translate(9%2013.5)%22%20fill%3D%22%23386641%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
}

.l-menu .l-cta__button a:hover {
    background: #d6d6d6;
}

.l-menu .l-cta__button a:hover:after {
    /*background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%3E%0A%20%20%3Ctext%20id%3D%22_%22%20data-name%3D%22%EF%83%A0%22%20transform%3D%22translate(9%2016)%22%20fill%3D%22%23386641%22%20font-size%3D%2218%22%20font-family%3D%22FontAwesome6Free-Solid%2C%20'Font%20Awesome%20%5C36%20%20Free'%22%3E%3Ctspan%20x%3D%22-9%22%20y%3D%220%22%3E%EF%83%A0%3C%2Ftspan%3E%3C%2Ftext%3E%0A%3C%2Fsvg%3E%0A") no-repeat center / contain;*/
}

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

@media screen and (max-width: 1300px) {
    .l-menu {
        /*transform: translateX(0);*/
        width: 100%;
        width: calc(100% - 24px);
    }

    .l-menu__inner {
        /*padding: 34.5px 26px;*/
        /*border-radius: 13px;*/
    }

    .l-menu__logo {
        margin-bottom: 56px;
    }

    .l-menu__logo img {
        width: 202px;
    }

    .l-menu__logo span {
        font-size: 11px;
    }

    .l-menu .p-nav {
        display: block;
    }

    .l-menu .p-nav__list {
        gap: 20px 0;
        gap: 20px 88px;
    }

    .l-menu .p-nav__list > li > a {
        font-size: 20px;
    }

    .l-menu .p-nav__list > li > a:before {
        width: 14px;
        height: 14px;
    }

    .l-menu .p-nav__list .sub-menu a {
        font-size: 17px;
    }

    .l-menu .p-nav__list .sub-menu {
        padding: 14px 0 0 54px;
    }

    .l-menu .p-nav__list .sub-menu li:nth-child(n + 2) {
        margin-top: 10px;
    }

    .l-menu .l-cta {
        margin-top: 56px;
    }

    .l-menu .l-cta__column:nth-child(2) {
        margin-top: 0;
    }
}

@media screen and (max-width: 1200px) {
    .l-menu .p-nav {
        text-align: center;
    }

    .l-menu .p-nav__list {
        text-align: left;
    }

    .l-menu .l-cta__column:nth-child(2) {
        padding-right: 0;
    }

    .l-menu .l-cta__number {
        font-size: max(3.08vw, 34px);
    }
}

@media screen and (max-width: 767px) {
    .l-menu__inner {
        padding: 34.5px 26px;
    }

    .l-menu .p-nav__list {
        display: flex;
        flex-direction: column;
        gap: 20px 0;
    }

    .l-menu__logo {
        margin-bottom: 26px;
    }

    .l-menu .l-cta {
        margin-top: 26px;
    }
}

/* 背景 */
.l-burger-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    height: 100%;
    background: rgba(85, 85, 85, 0.7);
    /*transition: all cubic-bezier(.215, .61, .355, 1) .4s;
  transition: all cubic-bezier(.215, .61, .355, 1) .2s;*/
}

.l-burger-mask.is-open {
    display: block;
}

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

@media screen and (max-width: 767px) {
    .l-burger-mask {
        position: fixed;
        bottom: 0;
        right: 0;
        z-index: 900;
        transform: translate(-24px, -16px);
        width: 110px;
        height: 42px;
        border-radius: 9999px;

        /* ▼ 紺色の指定を削除し、基本設定と同じグレー（または透明度）に書き換え */
        /* background: rgba(18, 24, 56, 1); ←これを消す */
        background: rgba(85, 85, 85, 0.7); /* iPadと同じグレーの透過 */
    }

    .l-burger-mask.is-open {
        transform: translate(0, 0);
        width: 100%;
        height: 100%;
        border-radius: 0;

        /* ▼ ここも同様にグレーを指定 */
        background: rgba(85, 85, 85, 0.7);
    }
}

/* ヘッダー */
.p-header {
    position: absolute;
    top: 30px;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
    width: calc(100% - (46px * 2));
    height: 112px;
    border-radius: 6px;
    background: #fff;
}

.p-header__inner {
    height: 100%;
    padding: 0 32px 0 46px;
    padding: 0 102px 0 46px;
}

.p-header__columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 20px;
    height: 100%;
}

.p-header__column:first-child {
    padding-top: 10px;
}

.p-header__column:nth-child(2) {
    margin: 0 auto;
    padding-left: 40px;
}

.p-header__logo a {
    display: block;
    transition: opacity 0.3s;
}

.p-header__logo a:hover {
    opacity: 0.6;
}

.p-header__logo img {
    display: block;
    width: 276px;
}

.p-header__logo span {
    display: block;
    margin-top: 2px;
    color: #6a6a6a;
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.025em;
}

.p-nav__list {
    display: flex;
    gap: 0 54px;
}

.p-nav__list li a {
    display: flex;
    align-items: center;
    gap: 0 7px;
    position: relative;
    color: #3b4043;
    font-size: 18px;
    /*transition: opacity .6s;*/
}

.p-nav__list li a:hover {
    /*opacity: .6;*/
}

.p-nav__list > li > a:before {
    width: 12px;
    height: 13px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%0A%20%20%3Cpath%20id%3D%22Path_789%22%20data-name%3D%22Path%20789%22%20d%3D%22M-6-4.5a5.954%2C5.954%2C0%2C0%2C1%2C.82-3.023A5.944%2C5.944%2C0%2C0%2C1-3.023-9.68%2C5.954%2C5.954%2C0%2C0%2C1%2C0-10.5a5.954%2C5.954%2C0%2C0%2C1%2C3.023.82A5.944%2C5.944%2C0%2C0%2C1%2C5.18-7.523%2C5.954%2C5.954%2C0%2C0%2C1%2C6-4.5a5.954%2C5.954%2C0%2C0%2C1-.82%2C3.023A5.944%2C5.944%2C0%2C0%2C1%2C3.023.68%2C5.954%2C5.954%2C0%2C0%2C1%2C0%2C1.5%2C5.954%2C5.954%2C0%2C0%2C1-3.023.68%2C5.944%2C5.944%2C0%2C0%2C1-5.18-1.477%2C5.954%2C5.954%2C0%2C0%2C1-6-4.5ZM0-2.25a2.243%2C2.243%2C0%2C0%2C0%2C1.594-.656A2.243%2C2.243%2C0%2C0%2C0%2C2.25-4.5a2.243%2C2.243%2C0%2C0%2C0-.656-1.594A2.243%2C2.243%2C0%2C0%2C0%2C0-6.75a2.243%2C2.243%2C0%2C0%2C0-1.594.656A2.243%2C2.243%2C0%2C0%2C0-2.25-4.5a2.243%2C2.243%2C0%2C0%2C0%2C.656%2C1.594A2.243%2C2.243%2C0%2C0%2C0%2C0-2.25Z%22%20transform%3D%22translate(6%2010.5)%22%20fill%3D%22%23416d4a%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
}

.p-nav__list > li > a:after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 9999px;
    background: #386641;
    content: "";

    /*transform: translateX(-50%) scaleX(0);*/
    transform: scale(0, 1);
    transform-origin: center;
    transition: transform 0.3s;
}

.p-nav__list > li > a:hover:after {
    transform: scale(1, 1);
}

.p-nav__list > li.menu-item-has-children {
    position: relative;
}

.p-nav__list .sub-menu {
    /*display: none;*/
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 40px;
    white-space: nowrap;
    border-radius: 6px;
    background: #fff;
    background: #e8e8e8;
    border: 1px solid #eae7e2;
    background: #f2f2f2;
    transition:
        visibility 0.3s,
        opacity 0.3s;
}

.p-nav__list > li.menu-item-has-children:hover .sub-menu {
    visibility: visible;
    opacity: 1;
}

.p-nav__list .sub-menu li:nth-child(n + 2) {
    margin-top: 12px;
}

.p-nav__list .sub-menu a {
    font-size: 15px;
}

.p-nav__list .sub-menu a:before {
    content: "-";
}

.p-nav__list > li.menu-item-has-children > a > span {
    display: flex;
    align-items: center;
    gap: 0 7px;
}

.p-nav__list > li.menu-item-has-children > a > span:after {
    width: 10px;
    height: 6px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%229.75%22%20height%3D%225.688%22%20viewBox%3D%220%200%209.75%205.688%22%3E%0A%20%20%3Cpath%20id%3D%22Path_788%22%20data-name%3D%22Path%20788%22%20d%3D%22M5.459-5.459%2C1.4-9.521A.847.847%2C0%2C0%2C0%2C.813-9.75a.847.847%2C0%2C0%2C0-.584.229A.847.847%2C0%2C0%2C0%2C0-8.937a.847.847%2C0%2C0%2C0%2C.229.584l3.5%2C3.479L.229-1.4A.847.847%2C0%2C0%2C0%2C0-.812a.847.847%2C0%2C0%2C0%2C.229.584A.847.847%2C0%2C0%2C0%2C.813%2C0%2C.847.847%2C0%2C0%2C0%2C1.4-.229L5.459-4.291a.847.847%2C0%2C0%2C0%2C.229-.584A.847.847%2C0%2C0%2C0%2C5.459-5.459Z%22%20transform%3D%22rotate(90)%22%20fill%3D%22%233b4043%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
    /*transition: transform .3s;*/
}

.p-nav__list > li.menu-item-has-children > a:hover > span:after {
    /*transform: rotate(180deg);*/
}

.p-header__contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 17px;
    width: 200px;
    height: 50px;
    border-radius: 9px;
    background: #386641;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s;
}

.p-header__contact a:hover {
    background: #26472c;
}

.p-header__contact a:after {
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2213.5%22%20viewBox%3D%220%200%2018%2013.5%22%3E%0A%20%20%3Cpath%20id%3D%22Path_788%22%20data-name%3D%22Path%20788%22%20d%3D%22M7.313-13.5a1.835%2C1.835%2C0%2C0%2C1%2C1.2.492A1.835%2C1.835%2C0%2C0%2C1%2C9-11.812a1.7%2C1.7%2C0%2C0%2C1-.668%2C1.336L.668-4.711a1.163%2C1.163%2C0%2C0%2C1-1.336%2C0l-7.664-5.766A1.7%2C1.7%2C0%2C0%2C1-9-11.812a1.835%2C1.835%2C0%2C0%2C1%2C.492-1.2%2C1.835%2C1.835%2C0%2C0%2C1%2C1.2-.492ZM-1.336-3.832A2.145%2C2.145%2C0%2C0%2C0%2C0-3.375a2.145%2C2.145%2C0%2C0%2C0%2C1.336-.457L9-9.562V-2.25A2.272%2C2.272%2C0%2C0%2C1%2C8.332-.668%2C2.272%2C2.272%2C0%2C0%2C1%2C6.75%2C0H-6.75A2.272%2C2.272%2C0%2C0%2C1-8.332-.668%2C2.272%2C2.272%2C0%2C0%2C1-9-2.25V-9.562Z%22%20transform%3D%22translate(9%2013.5)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
    transition: transform 0.3s;
}

.p-header__contact a:hover:after {
    transform: translateX(14px);
}

.p-hamburger {
    position: fixed;
    position: absolute;
    top: calc(30px + (27px / 2) + (56px / 2) + 1px);
    right: 78px;
    z-index: 1500;
    width: 35px;
    height: 27px;
    cursor: pointer;
    /*transition: background .3s;*/
    transition:
        transform 0.3s,
        opacity 0.3s;
}

.p-hamburger.is-fixed {
    position: fixed;
    animation: kenburns 0.4s linear forwards;
}

@keyframes kenburns {
    0% {
        top: -100%;
    }
    100% {
        /* ▼ 50px を 30px に変更 */
        top: calc(30px + (27px / 2) + (56px / 2) + 1px);
    }
}

.p-hamburger.is-open {
    /*background: #fff;*/
}

.p-hamburger__line {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.p-hamburger__line span {
    height: 3px;
    background: #386641;
    transition:
        transform 0.3s,
        background 0.3s,
        opacity 0s;
}

.p-hamburger__line span:first-child,
.p-hamburger__line span:nth-child(2) {
    width: 35px;
}

.p-hamburger__line span:nth-child(3) {
    width: 18px;
}

.p-hamburger.is-open .p-hamburger__line span {
}

.p-hamburger.is-open .p-hamburger__line span:nth-child(1) {
    transform: translateY(12px) rotate(-36deg);
    width: 40px;
    border-radius: 9999px;
    background: #fff;
}

.p-hamburger.is-open .p-hamburger__line span:nth-child(2) {
    opacity: 0;
}

.p-hamburger.is-open .p-hamburger__line span:nth-child(3) {
    transform: translateY(-12px) rotate(36deg);
    width: 40px;
    border-radius: 9999px;
    background: #fff;
}

@media screen and (max-width: 1700px) {
    .p-header__inner {
        padding: 0 88px 0 24px;
    }

    .p-header__column:nth-child(2) {
        padding-left: 0;
    }

    .p-nav__list {
        gap: 0 32px;
    }

    .p-nav__list li a {
        font-size: 17px;
    }

    .p-header__contact a {
        width: 140px;
        font-size: 13px;
        gap: 0 12px;
    }

    .p-header__contact a:after {
        width: 15px;
        height: 15px;
    }

    .p-header__logo img {
        width: 202px;
    }

    .p-header__logo span {
        font-size: 11px;
    }

    .p-hamburger {
        right: 70px;
    }
}

@media screen and (max-width: 1400px) {
    .p-nav__list li a {
        font-size: 15px;
    }
}

@media screen and (max-width: 1300px) {
    .p-header {
        top: 13px;
        width: calc(100% - (11px * 2));
        height: 80px;
    }

    .p-header__inner {
        padding: 0 15px;
    }

    .p-header__column:first-child {
        padding-top: 6px;
    }

    .p-nav__list li a {
        font-size: 16px;
    }

    .p-nav {
        display: none;
    }

    .p-header__contact {
        display: none;
    }

    .p-hamburger {
        top: calc(80px / 2);
        right: 28px;
    }

    @keyframes kenburns {
        0% {
            top: -100%;
        }
        100% {
            top: 40px;
        }
    }
}

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

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

/* ページタイトル */
.l-page-head__inner {
    /* 20px * 2 ではなく、46px * 2 に変更 */
    width: min(100%, calc(1828px + (46px * 2)));
    margin: 0 auto;

    /* 20px ではなく 46px に変更してヘッダーと揃える */
    padding: 20px 46px 0;
}

.l-page-head__columns {
    display: grid;
    grid-template-columns: 1fr 1024px;
    grid-template-columns: 1fr calc((1024 / 1920) * 100%);
    align-items: center;
    gap: 0 86px;
}

.l-page-head__column:first-child {
    padding: 0 0 8px 42px;
}

.l-page-head__image {
    overflow: hidden;
    border-radius: 14px;
}

.l-page-head__image img {
    width: 100%;
    height: 384px;
    object-fit: cover;
}

.l-page-head__heading {
    display: flex;
    flex-direction: column;
    gap: 14px 0;
    font-weight: 700;
    line-height: 1.5;
    font-size: clamp(36px, 2.9vw, 56px); /* h2より一段上 */
    letter-spacing: 0.03em;
}

.l-page-head__heading:before {
    display: block;
    order: 1;
    color: #a4aaa5;
    font-family: "Outfit", sans-serif;
    font-size: clamp(18px, 1.8vw, 30px);
    font-weight: 500;
    letter-spacing: 0.05em;
    content: attr(data-title);
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 1.2s ease-out,
        transform 1.2s ease-out;
}

.l-page-head__heading.is-inview::before {
    opacity: 1;
    transform: translateY(0);
}

.l-page-head__heading:after {
    display: block;
    width: 100%;
    height: 8px;
    border-radius: 9999px;
    background: #e8e8e8;
    content: "";

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s ease-out;
}

.l-page-head__heading.is-inview:after {
    transform: scaleX(1);
}

@media screen and (max-width: 1299px) {
    .l-page-head__inner {
        width: 100%;
        padding: 0 20px; /* ここでモバイル・タブレット用の20pxに戻す */
    }
}

@media screen and (max-width: 767px) {
    .l-page-head__columns {
        display: flex;
        flex-direction: column-reverse;
        align-items: normal;
        gap: 16px 0;
    }

    .l-page-head__column:first-child {
        padding: 0;
    }

    .l-page-head__heading {
        gap: 6px 0;
        font-size: 24px;
    }

    .l-page-head__heading:before {
        font-size: 16px;
        font-weight: 400;
    }

    .l-page-head__heading:after {
        height: 4px;
    }

    .l-page-head__image img {
        height: 100%;
        aspect-ratio: 335 / 228;
    }
}

/* パンくずリスト */
.l-breadcrumb {
    padding: 52px 0 92px;
}

.l-breadcrumb__inner {
    /* 20px * 2 ではなく、46px * 2 に変更 */
    width: min(100%, calc(1828px + (46px * 2)));
    margin: 0 auto;

    /* 20px ではなく 46px に変更してヘッダーと揃える */
    padding: 0 46px;
}

.l-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 0 90px;
    padding: 16px 42px 14px 42px;
    padding: 15px 42px;
    border-radius: 10px;
    background: #e3e3e3;
}

.l-breadcrumb__item {
    display: inline;
}

.l-breadcrumb__item:nth-last-child(n + 2) {
    position: relative;
    flex: 0 0 auto;
}

.l-breadcrumb__item:nth-last-child(n + 2):before {
    position: absolute;
    top: -15px;
    right: -54px;
    width: 25px;
    height: 60px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2225%22%20height%3D%2260%22%20viewBox%3D%220%200%2025%2060%22%3E%0A%20%20%3Cdefs%3E%0A%20%20%20%20%3CclipPath%20id%3D%22clip-path%22%3E%0A%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle_1205%22%20data-name%3D%22Rectangle%201205%22%20width%3D%2225%22%20height%3D%2260%22%20transform%3D%22translate(1947.5%20693)%22%20fill%3D%22%23cb2a2a%22%2F%3E%0A%20%20%20%20%3C%2FclipPath%3E%0A%20%20%3C%2Fdefs%3E%0A%20%20%3Cg%20id%3D%22Mask_Group_3%22%20data-name%3D%22Mask%20Group%203%22%20transform%3D%22translate(-1947.5%20-693)%22%20clip-path%3D%22url(%23clip-path)%22%3E%0A%20%20%20%20%3Cg%20id%3D%22Group_1534%22%20data-name%3D%22Group%201534%22%20transform%3D%22translate(1774%20-8)%22%3E%0A%20%20%20%20%20%20%3Cpath%20id%3D%22Line_27%22%20data-name%3D%22Line%2027%22%20d%3D%22M20%2C38.5a2.5%2C2.5%2C0%2C0%2C1-2.188-1.286l-20-36a2.5%2C2.5%2C0%2C0%2C1%2C.971-3.4%2C2.5%2C2.5%2C0%2C0%2C1%2C3.4.971l20%2C36A2.5%2C2.5%2C0%2C0%2C1%2C20%2C38.5Z%22%20transform%3D%22translate(176%20695)%22%20fill%3D%22%23f8f6f3%22%2F%3E%0A%20%20%20%20%20%20%3Cpath%20id%3D%22Line_28%22%20data-name%3D%22Line%2028%22%20d%3D%22M0%2C38.5a2.488%2C2.488%2C0%2C0%2C1-1.212-.315%2C2.5%2C2.5%2C0%2C0%2C1-.971-3.4l20-36a2.5%2C2.5%2C0%2C0%2C1%2C3.4-.971%2C2.5%2C2.5%2C0%2C0%2C1%2C.971%2C3.4l-20%2C36A2.5%2C2.5%2C0%2C0%2C1%2C0%2C38.5Z%22%20transform%3D%22translate(176%20731)%22%20fill%3D%22%23f8f6f3%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
}

/*.l-breadcrumb__item:nth-last-child(n + 2):before,
.l-breadcrumb__item:nth-last-child(n + 2):after {
  position: absolute;
  top: -15px;
  width: 34px;
  height: 60px;
  clip-path: polygon(0% 0%, 50% 0, 100% 50%, 50% 100%, 0% 100%);
  content: "";
}

.l-breadcrumb__item:nth-last-child(n + 2):before {
  right: -54px;
  background: #F8F6F3;
}

.l-breadcrumb__item:nth-last-child(n + 2):after {
  right: -48px;
  background: #E3E3E3;
}*/

.l-breadcrumb__item:last-child {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.l-breadcrumb__item:last-child span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.l-breadcrumb__item a {
    display: block;
    color: #3b4043;
    transition: opacity 0.6s;
}

.l-breadcrumb__item a:hover {
    opacity: 0.6;
}

.l-breadcrumb__item span {
    display: block;
}

.l-breadcrumb__item svg {
    vertical-align: sub;
}

@media screen and (max-width: 1299px) {
    .l-breadcrumb__inner {
        width: 100%;
        padding: 0 20px; /* ここでモバイル・タブレット用の20pxに戻す */
    }
}

@media screen and (max-width: 767px) {
    .l-breadcrumb {
        padding: 48px 0 50px;
    }

    .l-breadcrumb__list {
        gap: 0 48px;
        padding: 11px 15px;
        border-radius: 5px;
    }

    .l-breadcrumb__item {
        font-size: 13px;
    }

    .l-breadcrumb__item:nth-last-child(n + 2):before {
        top: 50%;
        transform: translateY(-50%);
        right: -30px;
    }

    .l-breadcrumb__item svg {
        transform: translateY(2px);
        width: 18px;
    }
}

/* CTA */
.l-cta__columns {
    display: flex;
    justify-content: space-between;
}

.l-cta__column:first-child {
    padding-top: 18px;
}

.l-cta__column:nth-child(3) {
    padding-top: 2px;
}

.l-cta__heading {
    color: #fff;
    font-size: 30px;
    line-height: 1.5;
}

.l-cta__lead {
    margin-top: 2px;
    color: #e3e3e3;
    font-size: 15px;
    letter-spacing: 0.025em;
}

.l-cta__text {
    color: #e3e3e3;
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.025em;
}

.l-cta__number {
    margin-top: 6px;
    font-family: "Outfit", sans-serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
}

.l-cta__number a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 13px;
    color: #fff;
    transition: opacity 0.3s;
}

.l-cta__number a:hover {
    opacity: 0.6;
}

.l-cta__number a:before {
    width: 27px;
    height: 27px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226.967%22%20height%3D%2226.979%22%20viewBox%3D%220%200%2026.967%2026.979%22%3E%0A%20%20%3Cpath%20id%3D%22Path_790%22%20data-name%3D%22Path%20790%22%20d%3D%22M13.447-3.217%2C12.234%2C2.109A1.641%2C1.641%2C0%2C0%2C1%2C10.6%2C3.375%2C23.432%2C23.432%2C0%2C0%2C1-1.529.053%2C24.271%2C24.271%2C0%2C0%2C1-10.178-8.6%2C23.432%2C23.432%2C0%2C0%2C1-13.5-20.725a1.641%2C1.641%2C0%2C0%2C1%2C1.266-1.635l5.326-1.213a1.681%2C1.681%2C0%2C0%2C1%2C1.9.949l2.426%2C5.7a1.644%2C1.644%2C0%2C0%2C1-.475%2C1.951l-2.795%2C2.268a17.79%2C17.79%2C0%2C0%2C0%2C3.48%2C4.9%2C18.746%2C18.746%2C0%2C0%2C0%2C4.9%2C3.533l2.32-2.848A1.644%2C1.644%2C0%2C0%2C1%2C6.8-7.594l5.7%2C2.426A1.865%2C1.865%2C0%2C0%2C1%2C13.447-3.217Z%22%20transform%3D%22translate(13.5%2023.604)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
}

.l-cta__time {
    margin-top: 6px;
    color: #e3e3e3;
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.025em;
}

.l-cta__button a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 20px;
    width: 385px;
    height: 98px;
    border-radius: 9px;
    background: #386641;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s;
}

.l-cta__button a:hover {
    background: #26472c;
}

.l-cta__button a:after {
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2213.5%22%20viewBox%3D%220%200%2018%2013.5%22%3E%0A%20%20%3Cpath%20id%3D%22Path_791%22%20data-name%3D%22Path%20791%22%20d%3D%22M7.313-13.5a1.835%2C1.835%2C0%2C0%2C1%2C1.2.492A1.835%2C1.835%2C0%2C0%2C1%2C9-11.812a1.7%2C1.7%2C0%2C0%2C1-.668%2C1.336L.668-4.711a1.163%2C1.163%2C0%2C0%2C1-1.336%2C0l-7.664-5.766A1.7%2C1.7%2C0%2C0%2C1-9-11.812a1.835%2C1.835%2C0%2C0%2C1%2C.492-1.2%2C1.835%2C1.835%2C0%2C0%2C1%2C1.2-.492ZM-1.336-3.832A2.145%2C2.145%2C0%2C0%2C0%2C0-3.375a2.145%2C2.145%2C0%2C0%2C0%2C1.336-.457L9-9.562V-2.25A2.272%2C2.272%2C0%2C0%2C1%2C8.332-.668%2C2.272%2C2.272%2C0%2C0%2C1%2C6.75%2C0H-6.75A2.272%2C2.272%2C0%2C0%2C1-8.332-.668%2C2.272%2C2.272%2C0%2C0%2C1-9-2.25V-9.562Z%22%20transform%3D%22translate(9%2013.5)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
    transition: transform 0.3s;
}

.l-cta__button a:hover:after {
    transform: translateX(18px);
}

@media screen and (max-width: 1200px) {
    .l-cta__columns {
        flex-direction: column;
        justify-content: normal;
        align-items: center;
    }

    .l-cta__column:nth-child(2) {
        margin-top: 28px;
        padding-right: 16px;
    }

    .l-cta__column:nth-child(3) {
        margin-top: 34px;
        /*width: 100%;*/
    }
}

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

@media screen and (max-width: 767px) {
    .l-cta__heading {
        font-size: 24px;
    }

    .l-cta__lead {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.71;
    }

    .l-cta__button a {
        gap: 0 16px;
        width: 100%;
        width: 321px;
        height: 72px;
        font-size: 16px;
    }

    .l-cta__button a:after {
        margin-top: 2px;
    }
}

/* フッター */
.l-footer {
    position: relative;
    padding: 64px 0;
    background: #688a6d;
}

.l-footer__inner {
    width: min(100%, calc(1280px + (27px * 2)));
    margin: 0 auto;
    padding: 0 27px;
}

.l-footer__bottom {
    margin-top: 72px;
    padding-top: 48px;
    border-top: 1px dotted #fff;
}

.l-footer__columns {
    display: flex;
    justify-content: space-between;
}

.l-footer__column:nth-child(2) {
    padding-top: 8px;
}

.l-footer__copyright {
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.025em;
}

.l-footer__logo {
    width: 276px;
    margin-left: auto;
}

.l-footer__logo a {
    display: block;
    transition: opacity 0.3s;
}

.l-footer__logo a:hover {
    opacity: 0.6;
}

.l-footer__logo img {
    display: block;
}

.l-footer__address {
    margin-top: 12px;
    color: #fff;
    font-size: 15px;
    text-align: right;
    line-height: 2;
    letter-spacing: 0.025em;
}

.l-footer__address span:first-of-type {
    margin-right: 28px;
}

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

@media screen and (max-width: 767px) {
    .l-footer {
        padding: 20px 0 32px;
    }

    .l-footer__bottom {
        margin-top: 48px;
        padding-top: 66px;
    }

    .l-footer__columns {
        flex-direction: column-reverse;
        justify-content: normal;
        align-items: center;
        gap: 50px 0;
    }

    .l-footer__column:nth-child(2) {
        padding-top: 0;
    }

    .l-footer__address {
        margin-top: 22px;
        line-height: 1.86;
    }

    .l-footer__address span {
        display: inline-block;
        margin-top: 14px;
    }

    .l-footer__copyright {
        text-align: center;
    }
}

/* ページトップに戻るボタン */
.l-top {
    position: absolute;
    bottom: calc(100% + 62px);
    right: 38px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    /*transition: visibility .4s, opacity .4s;*/
}

.l-top.is-fixed {
    position: fixed;
    opacity: 1;
    bottom: 62px;
}

.l-top.is-absolute {
    position: absolute;
    opacity: 1;
}

.l-top__text {
    color: #386641;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.l-top__icon {
    display: block;
    position: relative;
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 4px;
    background: #386641;
    transition: background 0.3s;
}

.l-top:hover .l-top__icon {
    background: #26472c;
}

.l-top__icon:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20id%3D%22Icon_-_ArrowUp%22%20data-name%3D%22Icon%20-%20ArrowUp%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2223.273%22%20height%3D%2223.273%22%20viewBox%3D%220%200%2023.273%2023.273%22%3E%0A%20%20%3Cpath%20id%3D%22Path_10%22%20data-name%3D%22Path%2010%22%20d%3D%22M11.636%2C0%2C9.521%2C2.116l8.009%2C8.009H0v3.022H17.53L9.521%2C21.157l2.116%2C2.116L23.273%2C11.636Z%22%20transform%3D%22translate(0%2023.273)%20rotate(-90)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
    transition: transform 0.3s;
}

.l-top:hover .l-top__icon:before {
    transform: translate(-50%, calc(-50% - 6px));
}

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

@media screen and (max-width: 767px) {
    .l-top {
        bottom: calc(100% + 20px);
        right: 15px;
    }

    .l-top.is-fixed {
        bottom: 20px;
    }

    .l-top__icon {
        width: 47px;
        height: 47px;
    }

    .l-top__text {
        font-size: 11px;
    }
}

/*===========================================
Object
===========================================*/
/*-------------------------------------------
Component
-------------------------------------------*/
/*
再利用できるパターンとして、小さな単位のモジュールを定義します。
出来る限り、最低限の機能を持ったものとして定義されるべきであり、
それ自体が固有の幅や色などの特色を持つことは避けるのが望ましいです。
*/

/* 見出し */
/* 見出し本体 */
.c-heading,
.wp-block-post-content h2,
.wp-block-post-content h2:not(.is-style-default) {
    font-size: clamp(32px, 2.5vw, 48px);
    letter-spacing: 0.03em;
    line-height: 1.5;

    position: relative;

    /* ★ここはもう不要（absoluteをやめるので確保スペースいらない） */
    --label-font: 22px;
    --label-gap: clamp(4px, 0.1vw, 8px); /* ← 英字“上”の空間はここで決まる */
    padding-bottom: 0;
}

.c-heading span,
.wp-block-post-content h2:not(.is-style-default) span {
    display: inline-block;
}

.c-heading__char {
    display: inline-block;
    opacity: 0;
    /*transform: translateY(4px);*/
}

/* 表示された文字 */
.c-heading__char.is-visible {
    opacity: 1;
    /*transform: translateY(0);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;*/
}

.c-heading > span,
.wp-block-post-content h2:not(.is-style-default) > span {
    display: inline-block;
    position: relative;
}

/* 上のライン（span::before） */
.c-heading > span::before,
.wp-block-post-content h2:not(.is-style-default) > span::before {
    display: block;
    width: 75%;
    height: 4px;
    margin-bottom: clamp(14px, 1.2vw, 22px);
    border-radius: 9999px;
    background: #386641;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease-out;
}

.c-heading.is-inview > span::before,
.wp-block-post-content h2:not(.is-style-default).is-inview > span::before {
    transform: scaleX(1);
}

/* ▼▼▼ 重要：英字ラベル（h2::after）を “通常フロー” に戻す ▼▼▼
   → これで h3 とは被りません（①をCSSだけで確実に解決）
*/
.c-heading::after,
.wp-block-post-content h2:not(.is-style-default)::after {
    content: attr(data-title);

    display: block; /* ★通常フローに載せる */
    position: static; /* ★absoluteをやめる */
    margin-top: var(--label-gap); /* ★英字の上の空間（②はここで調整） */

    color: #a9b4ac;
    font-family: "Outfit", sans-serif;
    font-size: var(--label-font);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.5;

    /* 登場アニメ（上から降りてくる） */
    --label-enter: -24px;
    transform: translateY(var(--label-enter));
    opacity: 0;

    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
    will-change: transform;
}

/* is-inview：アニメだけ発火 */
.c-heading.is-inview::after,
.wp-block-post-content h2:not(.is-style-default).is-inview::after {
    opacity: 1;
    --label-enter: 0px;
}

/* ★カウンター必須：content だけ上書き（他のafter設定は維持） */
.wp-block-post-content h2:not(.is-style-default)::after {
    content: counter(counter, decimal-leading-zero) "\00a0\00a0\00a0" attr(data-title);
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: auto;
    }
}

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media screen and (max-width: 767px) {
    .c-heading,
    .wp-block-post-content h2,
    .wp-block-post-content h2:not(.is-style-default) {
        font-size: 24px !important;
        /* スマホの英字サイズと“上の空間”は変数で調整 */
        --label-font: 16px;
        /* ★スマホで英字上が足りないなら、ここを増やす（例：6〜10px） */
        --label-gap: 0px;
    }

    .c-heading > span:before,
    .wp-block-post-content h2 > span:before,
    .wp-block-post-content h2:not(.is-style-default) > span::before {
        height: 3px;
    }
}

/* 見出し */
.c-title {
    color: #000;
    /*font-family: "Noto Sans JP", sans-serif;*/
    font-size: 36px;
    font-size: 40px;
    /*font-size: 44px;*/
    font-weight: 600;
    line-height: 1.5;
    /*line-height: 1.25;*/
}

.c-title--center {
    text-align: center;
}

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

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

/* 説明文 */
.c-description {
    margin-top: 24px;
    margin-top: 17px;
    /*margin-top: 26px;*/
    /*color: #666;*/
    /*line-height: 1.75;*/
}

.c-description--center {
    text-align: center;
}

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

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

/* ボタン */
.c-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 315px;
    height: 48px;
    border-radius: 8px;
    background: #386641;
    color: #fff;
    font-weight: 700;
    transition:
        background 0.3s,
        color 0.3s;
}

.c-button--narrow {
    width: 192px;
}

.c-button--narrow--low {
    height: 30px !important;
    font-size: 80% !important;
}

.c-button--full-width {
    width: 100%;
}

.c-button--contrast {
    border: 2px solid #dfdfdf;
    background: transparent;
    color: #386641;
}

.c-button:hover {
    background: #26472c;
}

.c-button--contrast:hover {
    color: #fff;
}

.c-button:after {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    right: 20px;
    width: 12px;
    height: 13px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210.563%22%20height%3D%229.75%22%20viewBox%3D%220%200%2010.563%209.75%22%3E%0A%20%20%3Cpath%20id%3D%22Path_788%22%20data-name%3D%22Path%20788%22%20d%3D%22M.584-5.459-3.479-9.521a.847.847%2C0%2C0%2C0-.584-.229.847.847%2C0%2C0%2C0-.584.229.847.847%2C0%2C0%2C0-.229.584.847.847%2C0%2C0%2C0%2C.229.584l3.5%2C3.479L-4.646-1.4a.847.847%2C0%2C0%2C0-.229.584.847.847%2C0%2C0%2C0%2C.229.584A.847.847%2C0%2C0%2C0-4.062%2C0a.847.847%2C0%2C0%2C0%2C.584-.229L.584-4.291a.847.847%2C0%2C0%2C0%2C.229-.584A.847.847%2C0%2C0%2C0%2C.584-5.459Zm4.875%2C0L1.4-9.521A.847.847%2C0%2C0%2C0%2C.813-9.75a.847.847%2C0%2C0%2C0-.584.229A.847.847%2C0%2C0%2C0%2C0-8.937a.847.847%2C0%2C0%2C0%2C.229.584l3.5%2C3.479L.229-1.4A.847.847%2C0%2C0%2C0%2C0-.812a.847.847%2C0%2C0%2C0%2C.229.584A.847.847%2C0%2C0%2C0%2C.813%2C0%2C.847.847%2C0%2C0%2C0%2C1.4-.229L5.459-4.291a.847.847%2C0%2C0%2C0%2C.229-.584A.847.847%2C0%2C0%2C0%2C5.459-5.459Z%22%20transform%3D%22translate(4.875%209.75)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
    transition:
        right 0.3s,
        background 0.3s;
}

.c-button--contrast:after {
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210.563%22%20height%3D%229.75%22%20viewBox%3D%220%200%2010.563%209.75%22%3E%0A%20%20%3Cpath%20id%3D%22Path_789%22%20data-name%3D%22Path%20789%22%20d%3D%22M.584-5.459-3.479-9.521a.847.847%2C0%2C0%2C0-.584-.229.847.847%2C0%2C0%2C0-.584.229.847.847%2C0%2C0%2C0-.229.584.847.847%2C0%2C0%2C0%2C.229.584l3.5%2C3.479L-4.646-1.4a.847.847%2C0%2C0%2C0-.229.584.847.847%2C0%2C0%2C0%2C.229.584A.847.847%2C0%2C0%2C0-4.062%2C0a.847.847%2C0%2C0%2C0%2C.584-.229L.584-4.291a.847.847%2C0%2C0%2C0%2C.229-.584A.847.847%2C0%2C0%2C0%2C.584-5.459Zm4.875%2C0L1.4-9.521A.847.847%2C0%2C0%2C0%2C.813-9.75a.847.847%2C0%2C0%2C0-.584.229A.847.847%2C0%2C0%2C0%2C0-8.937a.847.847%2C0%2C0%2C0%2C.229.584l3.5%2C3.479L.229-1.4A.847.847%2C0%2C0%2C0%2C0-.812a.847.847%2C0%2C0%2C0%2C.229.584A.847.847%2C0%2C0%2C0%2C.813%2C0%2C.847.847%2C0%2C0%2C0%2C1.4-.229L5.459-4.291a.847.847%2C0%2C0%2C0%2C.229-.584A.847.847%2C0%2C0%2C0%2C5.459-5.459Z%22%20transform%3D%22translate(4.875%209.75)%22%20fill%3D%22%23386641%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
}

.c-button--contrast:hover:after {
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210.563%22%20height%3D%229.75%22%20viewBox%3D%220%200%2010.563%209.75%22%3E%0A%20%20%3Cpath%20id%3D%22Path_788%22%20data-name%3D%22Path%20788%22%20d%3D%22M.584-5.459-3.479-9.521a.847.847%2C0%2C0%2C0-.584-.229.847.847%2C0%2C0%2C0-.584.229.847.847%2C0%2C0%2C0-.229.584.847.847%2C0%2C0%2C0%2C.229.584l3.5%2C3.479L-4.646-1.4a.847.847%2C0%2C0%2C0-.229.584.847.847%2C0%2C0%2C0%2C.229.584A.847.847%2C0%2C0%2C0-4.062%2C0a.847.847%2C0%2C0%2C0%2C.584-.229L.584-4.291a.847.847%2C0%2C0%2C0%2C.229-.584A.847.847%2C0%2C0%2C0%2C.584-5.459Zm4.875%2C0L1.4-9.521A.847.847%2C0%2C0%2C0%2C.813-9.75a.847.847%2C0%2C0%2C0-.584.229A.847.847%2C0%2C0%2C0%2C0-8.937a.847.847%2C0%2C0%2C0%2C.229.584l3.5%2C3.479L.229-1.4A.847.847%2C0%2C0%2C0%2C0-.812a.847.847%2C0%2C0%2C0%2C.229.584A.847.847%2C0%2C0%2C0%2C.813%2C0%2C.847.847%2C0%2C0%2C0%2C1.4-.229L5.459-4.291a.847.847%2C0%2C0%2C0%2C.229-.584A.847.847%2C0%2C0%2C0%2C5.459-5.459Z%22%20transform%3D%22translate(4.875%209.75)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
}

.c-button--turning-arrow:after {
    right: auto;
    left: 20px;
    transform: translateY(-50%) scaleX(-1);
}

.c-button:hover:after {
    right: 8px;
}

.c-button--no-arrow:after {
    content: none;
}

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

@media screen and (max-width: 767px) {
    .c-button {
        width: 140px;
        height: 46px;
        font-size: 14px;
    }

    .c-button--full-width {
        width: 100%;
    }

    .c-button--narrow {
        width: 200px;
    }

    .c-button:after {
        right: 12px;
    }
}

/* ページネーション */
.c-pagination {
    padding-top: 84px;
}

.c-pagination__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
}

.c-pagination__item {
    height: 52px;
    width: 52px;
    font-size: 18px;
}

.c-pagination__item--prev {
    margin-right: 18px;
}

.c-pagination__item--next {
    margin-left: 18px;
}

.c-pagination__item span,
.c-pagination__item a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.c-pagination__item span,
.c-pagination__item a {
    border-radius: 7px;
}

.c-pagination__item span {
    border: 1px solid #386641;
    color: #386641;
}

.c-pagination__item:not(.c-pagination__item--prev):not(.c-pagination__item--next) a {
    color: #98a6b5;
    /*transition: border .2s, background .2s, color .2s;*/
}

.c-pagination__item:not(.c-pagination__item--prev):not(.c-pagination__item--next) a:hover {
}

.c-pagination__item--prev a,
.c-pagination__item--next a {
    position: relative;
    transition:
        border 0.2s,
        background 0.2s;
}

.c-pagination__item--prev a:hover,
.c-pagination__item--next a:hover {
}

.c-pagination__item--prev a:before,
.c-pagination__item--next a:before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%3Cg%20id%3D%22%E3%82%B7%E3%83%B3%E3%83%9C%E3%83%AB_83%22%20data-name%3D%22%E3%82%B7%E3%83%B3%E3%83%9C%E3%83%AB%2083%22%20transform%3D%22translate(1271%20523)%20rotate(180)%22%3E%0A%20%20%20%20%3Cpath%20id%3D%22Path_10%22%20data-name%3D%22Path%2010%22%20d%3D%22M8%2C0%2C6.545%2C1.455l5.506%2C5.506H0V9.039H12.052L6.545%2C14.545%2C8%2C16l8-8Z%22%20transform%3D%22translate(1255%20507)%22%20fill%3D%22%23386641%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
    transition: border 0.2s;
}

.c-pagination__item--prev a:before {
    transform: translate(-50%, -50%);
}

.c-pagination__item--next a:before {
    transform: translate(-50%, -50%) scaleX(-1);
}

.c-pagination__item--prev a:hover:before,
.c-pagination__item--next a:hover:before {
}

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

@media screen and (max-width: 767px) {
    .c-pagination {
        padding-top: 64px;
    }

    .c-pagination__item {
        width: 44px;
        height: 44px;
    }
}

.p-section {
    padding: 108px 0 136px;
}
.p-section.p-news-archive {
    padding: 50px 0 136px;
}

.p-section--slightly-gray {
    background: #fcfcfc;
}

.p-section__inner {
    /* コンテンツ幅1280px ＋ 左右余白46px（ヘッダーと揃える） */
    width: min(100%, calc(1280px + (46px * 2)));
    margin: 0 auto;
    /* 余白もヘッダーと同じ46pxにする */
    padding: 0 46px;
}

.p-section__body {
}

.p-block {
    padding-bottom: 152px;
}

.p-block--gray-background-color {
    background: #f4f3f0;
}

.p-block--blue-purple-background-color {
    background: #f5f7fa;
}

.p-block__inner {
    /* コンテンツ幅1280px ＋ 左右余白46px（ヘッダーと揃える） */
    width: min(100%, calc(1280px + (46px * 2)));
    margin: 0 auto;
    /* 余白もヘッダーと同じ46pxにする */
    padding: 0 46px;
}

@media screen and (max-width: 1024px) {
    .p-section__inner {
        width: 100%; /* スマホは画面いっぱい */
        padding: 0 20px; /* スマホ時の余白（20pxのまま、あるいは16px等） */
    }
    .p-block__inner {
        width: 100%; /* スマホは画面いっぱい */
        padding: 0 20px; /* スマホ時の余白（20pxのまま、あるいは16px等） */
    }
}

@media screen and (max-width: 767px) {
    .p-section {
        padding: 58px 0;
    }

    .p-block {
        padding-bottom: 112px;
    }
}

h2:not(.is-style-default) .s1,
h2:not(.is-style-default) .s2,
h2:not(.is-style-default) .s3,
h2:not(.is-style-default) .s4,
h2:not(.is-style-default) .s5 {
    display: inline-block;
    position: relative;
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
    opacity: 1;
}

h2:not(.is-style-default).is-inview .s1 {
    animation: textReveal 0.8s ease-out forwards;
}

.p-mainvisual__heading .s1,
.p-mainvisual__heading .s2,
.p-mainvisual__heading .s3,
.p-mainvisual__heading .s4,
.p-mainvisual__heading .s5 {
    display: inline-block;
    position: relative;
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
    opacity: 1;
    will-change: clip-path;
}

.p-mainvisual__heading.is-inview .s1 {
    animation: textReveal 1.2s ease-out forwards;
}
.l-page-head__heading.is-inview .s1 {
    animation: textReveal 3s ease-out forwards;
}

/* ✅トップだけはトップのis-inviewで順番制御 */
.p-mainvisual__heading.is-inview .s1 {
    animation: textReveal 1.2s ease-out forwards;
}
.p-mainvisual__heading.is-inview .s2 {
    animation: textReveal 1.2s ease-out 0.2s forwards;
}
.p-mainvisual__heading.is-inview .s3 {
    animation: textReveal 1.2s ease-out 0.4s forwards;
}
.p-mainvisual__heading.is-inview .s4 {
    animation: textReveal 1.2s ease-out 0.6s forwards;
}
.p-mainvisual__heading.is-inview .s5 {
    animation: textReveal 1.2s ease-out 0.8s forwards;
}
.p-about h2:not(.is-style-default).is-inview .s1 {
    animation-delay: calc(0.08s * 6);
}

@keyframes textReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* 目次エリア全体 */
.p-toc {
    margin-bottom: 160px;
}

.p-toc__list {
    display: flex; /* GridをやめてFlexにする */
    flex-wrap: wrap; /* 折り返しを許可 */
    justify-content: center; /* 余った要素（2行目）を中央寄せにする魔法 */
    gap: 32px; /* item間の隙間 */
    counter-reset: counter;
}

.p-toc__list li {
    /* 3カラムにする計算式：
       (全体100% - 隙間2つ分(64px)) ÷ 3 
    */
    width: calc((100% - 64px) / 3);
    counter-increment: counter;
    /* Flexboxで幅計算を崩さないおまじない */
    box-sizing: border-box;
}

/* リンクのデザイン（変更なし） */
.p-toc__list li a {
    display: block;
    position: relative;
    padding: 21px calc(24px + (28px * 2)) 21px 36px;
    border-radius: 9px;
    background: #386641;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s;
}

.p-toc__list li a:hover {
    background: #26472c;
}

.p-toc__list li a:before {
    display: inline-block;
    margin-right: 22px;
    content: counter(counter, decimal-leading-zero);
}

.p-toc__list li a:after {
    position: absolute;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cpath%20id%3D%22Path_794%22%20data-name%3D%22Path%20794%22%20d%3D%22M0-21a11.908%2C11.908%2C0%2C0%2C0-6.047%2C1.641%2C11.888%2C11.888%2C0%2C0%2C0-4.312%2C4.313A11.908%2C11.908%2C0%2C0%2C0-12-9a11.908%2C11.908%2C0%2C0%2C0%2C1.641%2C6.047A11.888%2C11.888%2C0%2C0%2C0-6.047%2C1.359%2C11.908%2C11.908%2C0%2C0%2C0%2C0%2C3%2C11.908%2C11.908%2C0%2C0%2C0%2C6.047%2C1.359a11.888%2C11.888%2C0%2C0%2C0%2C4.313-4.312A11.908%2C11.908%2C0%2C0%2C0%2C12-9a11.908%2C11.908%2C0%2C0%2C0-1.641-6.047%2C11.888%2C11.888%2C0%2C0%2C0-4.312-4.312A11.908%2C11.908%2C0%2C0%2C0%2C0-21ZM6.328-9.422l-5.25%2C5.25A1.564%2C1.564%2C0%2C0%2C1%2C0-3.75a1.564%2C1.564%2C0%2C0%2C1-1.078-.422l-5.25-5.25A1.564%2C1.564%2C0%2C0%2C1-6.75-10.5a1.564%2C1.564%2C0%2C0%2C1%2C.422-1.078A1.564%2C1.564%2C0%2C0%2C1-5.25-12a1.564%2C1.564%2C0%2C0%2C1%2C1.078.422L0-7.359l4.172-4.219A1.564%2C1.564%2C0%2C0%2C1%2C5.25-12a1.564%2C1.564%2C0%2C0%2C1%2C1.078.422A1.564%2C1.564%2C0%2C0%2C1%2C6.75-10.5%2C1.564%2C1.564%2C0%2C0%2C1%2C6.328-9.422Z%22%20transform%3D%22translate(12%2021)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
    transition: top 0.3s;
}

.p-toc__list li a:hover:after {
    top: calc(50% + 12px);
}

/* タブレット（2カラムに変更） */
@media screen and (max-width: 1200px) {
    /* Gridの指定は不要になったので削除 */

    /* ★ここを変更：幅の計算式を2列用に */
    .p-toc__list li {
        /* (全体100% - 隙間1つ分(32px)) ÷ 2 */
        width: calc((100% - 32px) / 2);
    }
}

@media screen and (max-width: 1024px) {
    .p-toc__list li a {
        padding: 18px calc(19px + (22px * 2)) 18px 28px;
        font-size: 16px;
    }
}

/* スマホ（1カラム） */
@media screen and (max-width: 767px) {
    .p-toc {
        margin-bottom: 80px;
    }

    .p-toc__list {
        /* gapを縦方向のみ少し狭める */
        gap: 8px;
    }

    /* ★ここを変更：幅を100%に */
    .p-toc__list li {
        width: 100%;
    }

    .p-toc__list li a {
        padding: 18px calc(19px + (22px * 2)) 18px 28px;
        font-size: 14px;
    }

    .p-toc__list li a:after {
        right: 22px;
        width: 19px;
        height: 19px;
    }
}

/*-------------------------------------------
Page
-------------------------------------------*/

/* メインビジュアル（フロントページ） */
.p-mainvisual {
    /* 240px引いていたのを172px引きに変更 */
    height: calc(100vh - 172px);
    height: calc(100svh - 172px - 32px);
}

.p-mainvisual__inner {
    /*width: min(100%, calc(1828px + (24px * 2)));
  margin: 0 auto;
  padding: 0 24px;*/
    height: 100%;
    padding: 0 46px;
}

.p-mainvisual__columns {
    display: grid;
    grid-template-columns: 1fr calc((1024 / 1828) * 100%);
    grid-template-rows: 1fr auto;
    justify-content: space-between;
    gap: 0 62px;
    height: 100%;
    padding: 15px 0;
}

.p-mainvisual__column:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
    padding-left: 52px;
}

.p-mainvisual__column:nth-child(2) {
    grid-area: 2 / 1 / 3 / 2;
}

.p-mainvisual__column:nth-child(3) {
    grid-area: 1 / 2 / 3 / 3;
}

.p-mainvisual__heading {
    display: inline-block;
    font-size: 53px;
    font-size: 2.76vw;
    line-height: 1.25;
    letter-spacing: 0.02em;
    padding-left: 48px;
    font-size: clamp(24px, 2.76vw, 48px);
    line-height: 1.3;
}

.p-mainvisual__heading > span:first-child {
    /*padding-left: 50px;*/
    margin-left: -72px;
    /*text-indent: -72px;*/
}

.p-mainvisual__heading span:first-child:before,
.p-mainvisual__heading span:last-child:after {
    color: #888888;
    font-size: 70px;
    font-size: 3.65vw;
    vertical-align: -6px;
}

.p-mainvisual__heading span:first-child:before {
    margin-right: 14px;
    content: "“";
}

.p-mainvisual__heading span:last-child:after {
    margin-left: -14px;
    content: "”";
}

.p-mainvisual__text {
    margin-top: 60px;
    margin-top: 48px;
    font-size: 20px;
    font-size: 1.04vw;
    line-height: 1.8;
}

.p-mainvisual__column:nth-child(2).js-inview,
.p-mainvisual__text.js-inview {
    transition-delay: calc(0.2s * 2);
}

.p-mainvisual__image {
    overflow: hidden;
    border-radius: 14px;
    height: 100%;
}

.p-mainvisual__image img {
    width: 100%;
    height: 790px;
    height: 100%;
    object-fit: cover;
}

.p-pickup {
    padding-right: 22px;
}

.p-pickup__container {
    padding: 36px 48px;
    border: 1px solid #eae7e2;
    border-radius: 10px;
    background: #ffffff;
}

.p-pickup__heading {
    color: #386641;
    font-size: 16px;
}

.p-pickup__heading span {
    display: inline-block;
    width: min(100%, 315px);
    padding: 10px 24px;
    border-radius: 7px;
    background: rgba(112, 127, 137, 0.2);
}

.p-pickup__list {
    margin-top: 22px;
}

.p-pickup__item a {
    display: block;
}

.p-pickup-item__time {
    color: #386641;
    font-weight: 700;
}

.p-pickup-item__heading {
    display: inline;
    position: relative;
    margin-top: 12px;
    color: #386641;
    font-size: 16px;

    padding-bottom: 4px;

    background-image: linear-gradient(to right, #386641 100%, #386641 100%);
    background-repeat: no-repeat;
    background-size: 0% 2px;
    background-position: left bottom;
    transition:
        background-size 0.3s,
        color 0.3s;
}

.p-pickup__item a:hover .p-pickup-item__heading {
    color: #26472c;
    background-size: 100% 2px;
}

@media screen and (max-width: 1742px) {
    .p-mainvisual__columns {
        grid-template-columns: 1fr calc((904 / 1828) * 100%);
    }
}

@media screen and (max-width: 1299px) {
    .p-mainvisual {
        /* 240px引いていたところを、160px引きに変更 */
        height: calc(100vh - 160px);
        height: calc(100svh - 160px - 32px);
    }
}

@media screen and (max-width: 1100px) {
    .p-mainvisual {
        height: auto;
    }

    .p-mainvisual__columns {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 1024px) {
    .p-mainvisual {
        height: auto;
    }

    .p-mainvisual__columns {
        display: flex;
        flex-direction: column;
    }

    .p-mainvisual__column:nth-child(1) {
        padding-left: 0;
    }

    .p-mainvisual__column:nth-child(2) {
        position: relative;
        z-index: 1;
        order: 1;
        margin-top: -42px;
        padding: 0 12px;
    }

    .p-mainvisual__column:nth-child(3) {
        margin-top: 30px;
    }

    .p-mainvisual__heading {
        font-size: clamp(32px, 2.76vw, 48px);

        font-size: clamp(28px, 4.7vw, 56px);
    }

    .p-mainvisual__heading span:first-child:before,
    .p-mainvisual__heading span:last-child:after {
        font-size: clamp(40px, 3.64vw, 58px);
    }

    .p-mainvisual__text {
        margin-top: 16px;
        font-size: clamp(16px, 1.04vw, 20px);
    }
}

@media screen and (max-width: 767px) {
    .p-mainvisual__column:nth-child(2).js-inview,
    .p-mainvisual__text.js-inview {
        transition-delay: 0s;
    }

    .p-mainvisual__inner {
        padding: 0 20px;
    }

    .p-mainvisual__heading {
        margin-top: 0;
        padding-left: 32px;
        font-size: 24px;
        line-height: 1.5;

        font-size: clamp(24px, 6vw, 40px);
    }

    .p-mainvisual__heading > span:first-child {
        margin-left: -30px;
    }

    .p-mainvisual__heading span:first-child:before,
    .p-mainvisual__heading span:last-child:after {
        font-size: 30px;
        vertical-align: 0;
    }

    .p-mainvisual__heading span:first-child:before {
        margin-right: 8px;
    }

    .p-mainvisual__text {
        /*margin-top: 24px;*/
        padding-left: 20px;
        font-size: 16px;
        line-height: 2;
    }

    .p-mainvisual__image img {
        height: 100%;
        aspect-ratio: 335 / 277;
    }

    .p-pickup {
        padding-right: 0;
    }

    .p-pickup__container {
        position: relative;
        padding: 22px 16px 16px;
    }

    .p-pickup__heading {
        font-size: 15px;
    }

    .p-pickup__heading span {
        padding: 5px 12px;
    }

    .p-pickup-item__time {
        display: flex;
        align-items: center;
        gap: 0 10px;
        position: absolute;
        top: 27px;
        right: 36px;
        font-size: 15px;
    }

    .p-pickup-item__time:after {
        width: 12px;
        height: 13px;
        background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210.563%22%20height%3D%229.75%22%20viewBox%3D%220%200%2010.563%209.75%22%3E%0A%20%20%3Cpath%20id%3D%22Path_795%22%20data-name%3D%22Path%20795%22%20d%3D%22M.584-5.459-3.479-9.521a.847.847%2C0%2C0%2C0-.584-.229.847.847%2C0%2C0%2C0-.584.229.847.847%2C0%2C0%2C0-.229.584.847.847%2C0%2C0%2C0%2C.229.584l3.5%2C3.479L-4.646-1.4a.847.847%2C0%2C0%2C0-.229.584.847.847%2C0%2C0%2C0%2C.229.584A.847.847%2C0%2C0%2C0-4.062%2C0a.847.847%2C0%2C0%2C0%2C.584-.229L.584-4.291a.847.847%2C0%2C0%2C0%2C.229-.584A.847.847%2C0%2C0%2C0%2C.584-5.459Zm4.875%2C0L1.4-9.521A.847.847%2C0%2C0%2C0%2C.813-9.75a.847.847%2C0%2C0%2C0-.584.229A.847.847%2C0%2C0%2C0%2C0-8.937a.847.847%2C0%2C0%2C0%2C.229.584l3.5%2C3.479L.229-1.4A.847.847%2C0%2C0%2C0%2C0-.812a.847.847%2C0%2C0%2C0%2C.229.584A.847.847%2C0%2C0%2C0%2C.813%2C0%2C.847.847%2C0%2C0%2C0%2C1.4-.229L5.459-4.291a.847.847%2C0%2C0%2C0%2C.229-.584A.847.847%2C0%2C0%2C0%2C5.459-5.459Z%22%20transform%3D%22translate(4.875%209.75)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
            no-repeat center / contain;
        content: "";
        /*transition: right .3s, background .3s;*/
    }

    .p-pickup__list {
        margin-top: 8px;
    }

    .p-pickup-item__heading {
        font-size: 15px;
        line-height: 2;

        padding-bottom: 0;
        background-image: none;
    }
}

/* 野間工務店について（フロントページ） */
.p-about {
    padding: 194px 0 138px;
}

.p-about__inner {
    width: min(100%, calc(1704px + (20px * 2)));
    margin: 0 auto;
    padding: 0 20px;
}

.p-about__columns {
    display: grid;
    grid-template-columns: 754px 1fr;
    grid-template-columns: calc((754 / 1492) * 100%) 1fr;
    gap: 0 84px;
    padding-right: 212px;
}

.p-about__image {
    position: relative;
    z-index: 1;
}

.p-about__image:before {
    position: absolute;
    top: -67px;
    left: -476px;
    z-index: -1;
    width: 918px;
    height: 666px;
    border-radius: 18px;
    background: #a1c1a7;
    content: "";
}

.p-about__image img {
    overflow: hidden;
    width: 100%;
    height: 545px;
    /*aspect-ratio: 754 / 545;*/
    border-radius: 15px;
    object-fit: cover;
}

.p-about__image img.js-inview {
    transform: translate(-32px, 0);
    transition-delay: calc(0.08s * 3);
}

.p-about__image img.is-inview {
    transform: translate(0, 0);
}

.p-about .c-heading > span:before,
.p-about .c-heading:after {
    transition-delay: calc(0.08s * 6);
}

.p-about h2:not(.is-style-default).is-inview #s1 {
    animation-delay: calc(0.08s * 6);
}

.p-about__subheading {
    margin-top: 40px;
    font-size: 20px;
    line-height: 1.8;
}

.p-about__subheading.js-inview {
    transition-delay: calc(0.08s * 9);
}

.p-about__text {
    margin-top: 44px;
}

.p-about__text.js-inview {
    transition-delay: calc(0.08s * 12);
}

.p-about__button {
    margin-top: 52px;
}

.p-about__button.js-inview {
    transition-delay: calc(0.08s * 15);
}

@media screen and (max-width: 1200px) {
    .p-about__columns {
        padding-right: 0;
    }
}

@media screen and (max-width: 1024px) {
    .p-about__columns {
        display: grid;
        grid-template-columns: none;
        gap: 84px 0;
    }
}

@media screen and (max-width: 767px) {
    .p-about {
        padding: 98px 0 46px;
    }

    .p-about__image:before {
        top: -40px;
        left: -136px;
        height: calc(100% + (40px * 2));
        width: 80%;
    }

    .p-about__image img {
        aspect-ratio: 335 / 259;
        height: 100%;
    }

    .p-about__image img.js-inview {
        /*transition-delay: 0s;*/
    }

    .p-about .c-heading > span:before,
    .p-about .c-heading:after {
        transition-delay: 0s;
    }

    .p-about h2:not(.is-style-default).is-inview .s1 {
        animation-delay: 0s;
    }

    .p-about__text {
        margin-top: 36px;
    }

    .p-about__button {
        margin-top: 30px;
    }

    .p-about__subheading.js-inview,
    .p-about__text.js-inview,
    .p-about__button.js-inview {
        transition-delay: 0s;
    }
}

/* お知らせ（フロントページ） */
.p-information {
    padding: 98px 0 116px;
    padding: 116px 0 116px;
}

.p-information__inner {
    width: min(100%, calc(1280px + (24px * 2)));
    margin: 0 auto;
    padding: 0 24px;
}

.p-information__body {
    margin-top: 54px;
}

.p-information__footer {
    margin-top: 40px;
}

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

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

/* 施工実績（トップページ） */
.p-case__columns {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px 0;
}

.p-case__column:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
}

.p-case__column:nth-child(2) {
    grid-area: 2 / 1 / 3 / 3;
}

.p-case__column:nth-child(3) {
    grid-area: 1 / 2 / 2 / 3;
    padding: 32px 12px 0 0;
}

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

@media screen and (max-width: 767px) {
    .p-case__columns {
        gap: 48px 0;
    }

    .p-case__column:nth-child(3) {
        padding: 10px 0 0;
    }
}

/* ================================
   NEWS（共通の見た目）
   - top（.p-news--top）
   - /news（.p-news-archive）
   ✅ ここは“見た目”だけ共通化（レイアウトは各スコープで分離）
================================ */

/* 日付（アイコン + 色） */
.p-news .p-news-item__time {
    display: flex;
    align-items: center;
    gap: 0 9px;
    color: #98a6b5;
    font-size: 14px;
}

.p-news .p-news-item__time::before {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20id%3D%22Icon_-_Time%22%20data-name%3D%22Icon%20-%20Time%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%3Cpath%20id%3D%22Path_13%22%20data-name%3D%22Path%2013%22%20d%3D%22M2.4%2C2.4A7.263%2C7.263%2C0%2C0%2C1%2C8%2C0a7.263%2C7.263%2C0%2C0%2C1%2C5.6%2C2.4A7.263%2C7.263%2C0%2C0%2C1%2C16%2C8a7.263%2C7.263%2C0%2C0%2C1-2.4%2C5.6A7.263%2C7.263%2C0%2C0%2C1%2C8%2C16a7.263%2C7.263%2C0%2C0%2C1-5.6-2.4A7.984%2C7.984%2C0%2C0%2C1%2C0%2C8%2C7.263%2C7.263%2C0%2C0%2C1%2C2.4%2C2.4Zm9.2%2C9.2.933-.933L9.2%2C7.333%2C8%2C2H6.667V8a1.21%2C1.21%2C0%2C0%2C0%2C.4.933.466.466%2C0%2C0%2C0%2C.267.133Z%22%20fill%3D%22%2398a6b5%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
    content: "";
}

/* カテゴリ */
.p-news .p-news-item__terms {
    display: flex;
    align-items: center;
}

.p-news .p-news-item__term {
    color: #98a6b5;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
}

/* タイトル（共通：色・余白だけ。下線は構造別に付ける） */
.p-news .p-news-item__heading {
    margin: 0;
    color: #386641;
    font-size: 20px;
    transition: color 0.3s;
    line-height: 1.5;
}

/* 抜粋（共通のタイポ） */
.p-news .p-news-item__excerpt {
    margin: 0;
    color: rgba(59, 64, 67, 0.85);
    font-size: 14px;
    line-height: 1.9;

    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/* ================================
   新着情報（トップページ）
   ✅ HTML構造：
   article
     ├ .p-news-item__meta (time / terms)
     └ .p-news-item__body (h3 > a)
================================ */

/* 全体レイアウト（見出し＋一覧＋ボタン） */
.p-news.p-news--top .p-news__columns {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 44px 0;
}

.p-news.p-news--top .p-news__column:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
}

.p-news.p-news--top .p-news__column:nth-child(2) {
    grid-area: 2 / 1 / 3 / 3;
}

.p-news.p-news--top .p-news__column:nth-child(3) {
    grid-area: 1 / 2 / 2 / 3;
    padding: 44px 0 0 0;
}

/* 各記事（article）を grid に */
.p-news.p-news--top .p-news__item {
    display: grid;
    grid-template-columns: 128px 224px 1fr;
    column-gap: 16px;
    row-gap: 8px;
    padding: 12px 12px;
    border-bottom: 1px solid #d5d5d5;
}

/* 2件目以降の余白 */
.p-news.p-news--top .p-news__item:nth-child(n + 2) {
    margin-top: 20px;
}

/* meta：1〜2列を占有 */
.p-news.p-news--top .p-news-item__meta {
    grid-column: 1 / 3;
    grid-row: 1;
    display: grid;
    grid-template-columns: 128px 224px;
    column-gap: 16px;
    align-content: start;
    align-items: start;
}

/* 日付 */
.p-news.p-news--top .p-news-item__time {
    grid-column: 1;
    grid-row: 1;
}

/* カテゴリ */
.p-news.p-news--top .p-news-item__terms {
    grid-column: 2;
    grid-row: 1;
}

/* 本文（タイトル） */
.p-news.p-news--top .p-news-item__body {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    row-gap: 8px;
    align-content: start;
}

/* ================================
   タイトル（文字幅下線・左→右）
================================ */

/* h3 自体は装飾だけ */
.p-news.p-news--top .p-news-item__heading {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #386641;
}

/* 記事タイトルリンク */
.p-news.p-news--top .p-news-item__heading a {
    display: inline-block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

/* 記事タイトルの下線設定 */
.p-news.p-news--top .p-news-item__heading a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 9999px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

/* ▼【変更点1】トリガーを行全体ではなく「aタグそのもの」に限定 */
.p-news.p-news--top .p-news-item__heading a:hover::after {
    transform: scaleX(1);
}

/* タイトル文字色の変化も aタグホバー時のみに限定 */
.p-news.p-news--top .p-news-item__heading a:hover {
    color: #26472c;
}

/* ================================
   ▼【追加】カテゴリーリンクの下線アニメーション
================================ */

/* カテゴリーリンク */
.p-news-item__term a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: inherit; /* または任意の色 */
}

/* カテゴリーの下線設定（タイトルと同じ仕組み） */
.p-news-item__term a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* 必要に応じて調整 */
    width: 100%;
    height: 2px; /* 線の太さ */
    border-radius: 9999px;
    background: currentColor; /* 文字色と同じ線 */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

/* カテゴリーホバー時のトリガー */
.p-news-item__term a:hover::after {
    transform: scaleX(1);
}

/* カテゴリーホバー時の文字色（必要なら） */
.p-news-item__term a:hover {
    color: #26472c; /* タイトルと同じ濃い緑にする例 */
}

/* ================================
   SP
================================ */
@media screen and (max-width: 767px) {
    .p-news.p-news--top .p-news__columns {
        gap: 38px 0;
    }

    .p-news.p-news--top .p-news__item {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        column-gap: 12px;
        row-gap: 8px;
        padding: 12px 0;
    }

    .p-news.p-news--top .p-news-item__meta {
        grid-column: 1 / 3;
        grid-row: 1;
        grid-template-columns: 1fr auto;
    }

    .p-news.p-news--top .p-news-item__terms {
        justify-self: end;
    }

    .p-news.p-news--top .p-news-item__body {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .p-news.p-news--top .p-news-item__heading,
    .p-news .p-news-item__heading {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* ================================
   NEWS一覧（/news/）
   - HTML：article直下に meta と body がある前提
   - meta を「1〜2列」、body を「3列」に配置
================================ */

.p-news-archive .p-news__columns {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 44px 0;
}

.p-news-archive .p-news__column:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
}

.p-news-archive .p-news__column:nth-child(2) {
    grid-area: 2 / 1 / 3 / 3;
}

.p-news-archive .p-news__column:nth-child(3) {
    grid-area: 1 / 2 / 2 / 3;
    padding: 44px 0 0 0;
}

.p-news-archive .p-news__item {
    display: grid;
    grid-template-columns: 128px 224px 1fr;
    column-gap: 16px;
    row-gap: 8px;
    padding: 25px 12px;
    border-bottom: 1px solid #d5d5d5;
}

/*  meta を 1〜2列に置き、meta の中を2カラムにする */
.p-news-archive .p-news-item__meta {
    grid-column: 1 / 3;
    grid-row: 1;
    display: grid;
    grid-template-columns: 128px 224px;
    column-gap: 16px;
    align-items: start; /* 上寄せ */
    align-content: start;
}

/* meta内の配置（これで幅1280pxにならない） */
.p-news-archive .p-news-item__time {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
}

.p-news-archive .p-news-item__terms {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
}

/*  本文は 3列目 */
.p-news-archive .p-news-item__body {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    row-gap: 8px;
    align-content: start;
}

/*  /news：タイトルは a 前提 */
.p-news-archive .p-news-item__heading a {
    display: inline-block;
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease; /* 色の変化を滑らかに */
}

/* /news：下線（初期状態：非表示） */
.p-news-archive .p-news-item__heading a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 9999px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

/* ▼ 修正点：トリガーを「記事全体（.p-news__item:hover）」から削除し、「aタグ」に限定 */

/* タイトルホバー時の文字色 */
.p-news-archive .p-news-item__heading a:hover {
    color: #26472c;
}

/* タイトルホバー時の下線アニメーション */
.p-news-archive .p-news-item__heading a:hover::after,
.p-news-archive .p-news-item__heading a:focus-visible::after {
    transform: scaleX(1);
}

/* 抜粋 */
.p-news-archive .p-news-item__excerpt {
    -webkit-line-clamp: 3;
}

/* 続きを読む（ボタンリンク） */
.p-news-archive .p-news-item__morelink {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 9999px;
    background: #386641;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.2s;
}

.p-news-archive .p-news-item__morelink::after {
    content: "›";
    font-size: 18px;
    line-height: 1;
}

.p-news-archive .p-news-item__morelink:hover {
    background: #26472c;
    transform: translateY(-1px);
}

/* SP */
@media screen and (max-width: 767px) {
    .p-news-archive .p-news__item {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        column-gap: 12px;
        row-gap: 8px;
        padding: 12px 0;
    }

    .p-news-archive .p-news-item__meta {
        grid-column: 1 / 3;
        grid-row: 1;
        grid-template-columns: 1fr auto;
    }

    .p-news-archive .p-news-item__terms {
        justify-self: end;
    }

    .p-news-archive .p-news-item__body {
        grid-column: 1 / 3;
        grid-row: 2 / 4;
    }

    .p-news-archive .p-news-item__excerpt {
        -webkit-line-clamp: 4;
        font-size: 14px;
    }
}

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

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

/* 会社情報 */
.p-company__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 32px;
}

.p-company__card a {
    display: block;
    padding: 25px 30px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.6s;
}

body.page-id-24 .p-company__card a {
    display: flex;
    align-items: center;
    height: 104px;
    padding: 13px 18px 10px;
}

.p-company__card a:hover {
    background: #f2f2f2;
}

.p-company-card__heading {
    color: #80050a;
    font-family:
        游ゴシック,
        游ゴシック体,
        Yu Gothic,
        YuGothic,
        ヒラギノ角ゴ Pro W3,
        Hiragino Kaku Gothic ProN,
        メイリオ,
        Meiryo,
        sans-serif;
    font-size: 18px;
    line-height: 1.5;
}

.p-company-card__text {
    margin-top: 6px;
    color: #333;
    line-height: 1.65;
}

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

@media screen and (max-width: 767px) {
    /*.p-company__cards {
    flex-direction: column;
    gap: 48px 0;
  }

  .p-company__card:nth-child(-n + 2),
  .p-company__card:nth-child(n + 3) {
    width: 100%;
  }

  .p-company-card__heading {
    margin-top: 12px;
    font-size: 16px;
    font-size: 18px;
  }

  .p-company-card__text {
    margin-top: 4px;
    font-size: 14px;
  }*/
}

/* お知らせ（詳細） */
.p-entry-area {
    padding-bottom: 100px;
}

.p-entry-area__inner {
    width: min(100%, calc(980px + (24px * 2)));
    margin: 0 auto;
    padding: 0 24px;
}

.p-entry-area__time {
    margin-top: 15px;
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.15;
}

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

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

/* よくあるご質問 */
.tab-menu__head {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.tab-menu__head li {
    padding: 8px;
    background: #f5f5f5;
    font-family:
        游ゴシック,
        游ゴシック体,
        Yu Gothic,
        YuGothic,
        ヒラギノ角ゴ Pro W3,
        Hiragino Kaku Gothic ProN,
        メイリオ,
        Meiryo,
        sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

/* クラス付与時の指定 */
.tab-menu__head li.is-active {
    position: relative;
    border-right: 1px solid #cbcbcb;
    border-left: 1px solid #cbcbcb;
    background: #fff;
    color: #80050a;
}

.tab-menu__head li.is-active:before {
    position: absolute;
    top: -2px;
    left: 0;
    left: -1px;
    height: 2px;
    width: 100%;
    width: calc(100% + 2px);
    background: #80050a;
    content: "";
}

.tab-menu__head li:not(.is-active) {
    border-bottom: 1px solid #cbcbcb;
    transition: background 0.6s;
}

.tab-menu__head li:not(.is-active):hover {
    background: #d6d6d6;
}

.tab-menu__main {
    margin-top: 80px;
}

.tab-menu__main li {
    display: none;
}

/* クラス付与時の指定 */
.tab-menu__main li.is-active {
    display: block;
}

.p-faq__item {
    padding: 27px 0 38px;
    border-bottom: 1px solid #dedede;
}

.p-faq__item:first-child {
    border-top: 1px solid #dedede;
}

.p-faq__item dt {
    position: relative;
    padding-left: 40px;
    font-family:
        游ゴシック,
        游ゴシック体,
        Yu Gothic,
        YuGothic,
        ヒラギノ角ゴ Pro W3,
        Hiragino Kaku Gothic ProN,
        メイリオ,
        Meiryo,
        sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.p-faq__item dt span {
    position: absolute;
    top: -3px;
    left: 0;
    color: #80050a;
    font-family: "EB Garamond", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

.p-faq__item dd {
    margin-top: 22px;
    padding-left: 40px;
    line-height: 1.625;
}

.p-faq__item dd a {
    color: #6a0515;
    transition: opacity 0.6s;
}

.p-faq__item dd a:hover {
    opacity: 0.6;
}

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

@media screen and (max-width: 767px) {
    .p-faq__rows {
        gap: 64px 0;
        gap: 72px 0;
    }

    .p-faq__heading {
        margin-bottom: 40px;
        font-size: 24px;
    }

    .p-faq__list {
        gap: 24px 0;
        gap: 56px 0;
        /*margin-top: 56px;
    margin-top: 40px;*/
        gap: 40px 0;
    }

    .p-faq__item dt {
        /*font-size: 20px;
    font-size: 22px;*/
    }

    .p-faq__item dd {
        margin-top: 40px;
        margin-top: 32px;
        font-size: 16px;
        font-size: 17px;
        line-height: 1.7;
    }

    .p-faq__item dt,
    .p-faq__item dd {
        position: relative;
        padding-left: calc(40px + 16px);
    }
}

/* フォーム */
.p-form__item:nth-child(n + 2) {
    margin-top: 25px;
}

.p-form__item dt,
.p-form__item dd {
    line-height: 1.5;

    line-height: 1.7;
}

.p-form__item dt {
    font-family:
        游ゴシック,
        游ゴシック体,
        Yu Gothic,
        YuGothic,
        ヒラギノ角ゴ Pro W3,
        Hiragino Kaku Gothic ProN,
        メイリオ,
        Meiryo,
        sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.p-form__item dt span {
    display: inline-block;
    margin-left: 15px;
    padding: 5px 4px 3px;
    background-color: #80050a;
    border-radius: 5px;
    color: #ffffff;
    font-family:
        メイリオ,
        Meiryo,
        ヒラギノ角ゴ ProN W3,
        Hiragino Kaku Gothic ProN,
        sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    vertical-align: 1px;
}

.p-form__item dd {
    margin-top: 10px;
}

.p-form__item .wpcf7-form-control-wrap {
    display: block;
}

.p-form__item input[type="text"],
.p-form__item input[type="tel"],
.p-form__item input[type="email"],
.p-form__item select,
.p-form__item textarea {
    width: 100%;
    padding: 12px 16px 9px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #f2f2f2;
    font-size: 15px;
    line-height: 1.15;
    outline: none;
}

.p-form__item textarea {
    height: calc(((15px * 1.15) * 10) + (19px + 15px) + (1px * 2));
    padding: 19px 20px 15px;
}

.p-form__content {
    margin-top: 56px;
    padding: 40px 0;
    background: #f2f2f2;
}

.p-form__text {
    text-align: center;
    line-height: 1.15;
}

.p-form__target {
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
}

.p-form__target a {
    display: inline-block;
    color: #275481;
}

.p-form__target a:after {
    display: inline-block;
    width: 10px;
    height: 8px;
    margin-left: 6px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%208%206%22%3E%3Cpath%20d%3D%22M1135%2C16h-1v5h7V20h-6V16Zm1-1v4h6V15h-6Z%22%20transform%3D%22translate(-1134%20-15)%22%20fill%3D%22%23275481%22%2F%3E%3C%2Fsvg%3E")
        no-repeat center / contain;
    vertical-align: 1px;
    content: "";
}

.p-form__item .wpcf7-not-valid-tip {
    margin-top: 8px;
    color: #ff000a;
    font-size: 13px;
}

.p-form__acceptance {
    margin-top: 10px;
    text-align: center;
}

.p-form__acceptance a {
    color: #333;
    transition: opacity 0.6s;
}

.p-form__acceptance a:hover {
    opacity: 0.6;
}

.p-form__item input[type="text"]::placeholder,
.p-form__item input[type="tel"]::placeholder,
.p-form__item input[type="email"]::placeholder,
.p-form__item textarea::placeholder {
    color: #ccc;
}

.p-form__item input[type="text"]::-webkit-input-placeholder,
.p-form__item input[type="tel"]::-webkit-input-placeholder,
.p-form__item input[type="email"]::-webkit-input-placeholder,
.p-form__item textarea::-webkit-input-placeholder {
    color: #ccc;
}

.p-form__item input[type="text"]::-ms-input-placeholder,
.p-form__item input[type="tel"]::-ms-input-placeholder,
.p-form__item input[type="email"]::-ms-input-placeholder,
.p-form__item textarea::-ms-input-placeholder {
    color: #ccc;
}

.p-form__item input[type="text"]::-moz-placeholder,
.p-form__item input[type="tel"]::-moz-placeholder,
.p-form__item input[type="email"]::-moz-placeholder,
.p-form__item textarea::-moz-placeholder {
    color: #ccc;
}

.p-form__item input[type="text"]:-ms-input-placeholder,
.p-form__item input[type="tel"]:-ms-input-placeholder,
.p-form__item input[type="email"]:-ms-input-placeholder,
.p-form__item textarea:-ms-input-placeholder {
    color: #ccc;
}

.p-form .wpcf7-radio,
.p-form .wpcf7-checkbox {
    display: block;
}

.p-form .wpcf7-radio .wpcf7-list-item,
.p-form .wpcf7-checkbox .wpcf7-list-item,
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item {
    display: block;
    margin: 0;
}

.p-form .wpcf7-radio .wpcf7-list-item:nth-child(n + 2),
.p-form .wpcf7-checkbox .wpcf7-list-item:nth-child(n + 2) {
    margin-top: 10px;
}

.p-form .wpcf7-radio .wpcf7-list-item label,
.p-form .wpcf7-checkbox .wpcf7-list-item label,
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item label {
    /*display: flex;
  align-items: center;
  gap: 0 8px;*/
    cursor: pointer;
}

.p-form .wpcf7-radio .wpcf7-list-item label:hover,
.p-form .wpcf7-checkbox .wpcf7-list-item label:hover,
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item label:hover {
    /*color: #ff000a;*/
}

.p-form .wpcf7-radio .wpcf7-list-item input[type="radio"],
.p-form .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"],
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    position: relative;
    width: 16px;
    height: 16px;
    border: 2px solid #d2d2d2;
    background: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.p-form .wpcf7-radio .wpcf7-list-item input[type="radio"] {
    border-radius: 50%;
}

.p-form .wpcf7-radio .wpcf7-list-item input[type="radio"]:checked {
    border: 2px solid #ff000a;
}

.p-form .wpcf7-radio .wpcf7-list-item input[type="radio"]:checked::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff000a;
    content: "";
}

.p-form .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"],
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: -2px;
}

.p-form .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked,
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"]:checked {
    border: 2px solid #80050a;
}

.p-form .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked::before,
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"]:checked::before {
    position: absolute;
    top: 0;
    left: 3px;
    transform: rotate(45deg);
    width: 6px;
    height: 9px;
    border-right: 2px solid #80050a;
    border-bottom: 2px solid #80050a;
    content: "";
}

.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label {
    color: #80050a;
}

.p-form .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label,
.p-form .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label,
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label {
    display: inline-block;
}

.p-form .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label::before,
.p-form .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label::after,
.p-form .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label::before,
.p-form .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label::after,
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label::before,
.p-form__acceptance .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label::after {
    content: none;
}

/* .p-form__button {
    margin-top: 25px;
}

.p-form__button button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 50px;
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
    background: #386641;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.6s;
}

.p-form__button button[type="submit"].is-disabled {
    box-shadow: none;
    background: #ccc;
    color: #fff;
    cursor: not-allowed;
    pointer-events: none;
}

.p-form__button button[type="submit"]:hover {
    opacity: 0.6;
}

.p-form__button button[type="submit"]:after {
    display: inline-block;
    transform: rotate(45deg) translateY(-1px);
    width: 9px;
    height: 9px;
    margin-left: 5px;
    border-top: 2px solid #f2de9e;
    border-right: 2px solid #f2de9e;
    content: "";
}

.p-form__button .wpcf7-spinner {
    display: none;
}

.p-form + .wpcf7-response-output {
    margin: 24px 0 0 !important;
    padding: 4px 12px !important;
    font-size: 15px;
    font-weight: 500;
} 
*/

/* ================================
   送信ボタン（.p-form__button）
================================ */

.p-form__button {
    margin-top: 25px;
}

/* ボタンの基本スタイル */
.p-form__button button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 10px; /* アイコンとの余白（調整可） */
    width: 300px;
    height: 50px;
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
    background: #386641; /* 通常時の色 */
    color: #fff;
    font-size: 16px; /* 必要なら調整 */
    font-weight: 700; /* 太字に合わせるなら追加 */
    cursor: pointer;
    transition:
        background 0.3s,
        box-shadow 0.3s,
        opacity 0.3s;
    border: none; /* デフォルトの枠線を消す */
}

/* 無効時のスタイル（同意チェック前など） */
.p-form__button button[type="submit"].is-disabled,
.p-form__button button[type="submit"][disabled] {
    box-shadow: none;
    background: #ccc;
    color: #fff;
    pointer-events: none;
    cursor: not-allowed;
}

/* ホバー時のスタイル（背景色を濃く） */
.p-form__button button[type="submit"]:not(.is-disabled):hover {
    background: #26472c; /* 濃い緑（CTAボタンと同じ色） */
    opacity: 1; /* 元のopacity変化を打ち消し */
}

/* メールアイコン（after疑似要素） */
.p-form__button button[type="submit"]:after {
    content: "";
    display: inline-block;
    width: 18px; /* CTAボタンと同じサイズ */
    height: 18px;
    /* CTAボタンと同じSVG画像を背景に設定 */
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2213.5%22%20viewBox%3D%220%200%2018%2013.5%22%3E%0A%20%20%3Cpath%20id%3D%22Path_791%22%20data-name%3D%22Path%20791%22%20d%3D%22M7.313-13.5a1.835%2C1.835%2C0%2C0%2C1%2C1.2.492A1.835%2C1.835%2C0%2C0%2C1%2C9-11.812a1.7%2C1.7%2C0%2C0%2C1-.668%2C1.336L.668-4.711a1.163%2C1.163%2C0%2C0%2C1-1.336%2C0l-7.664-5.766A1.7%2C1.7%2C0%2C0%2C1-9-11.812a1.835%2C1.835%2C0%2C0%2C1%2C.492-1.2%2C1.835%2C1.835%2C0%2C0%2C1%2C1.2-.492ZM-1.336-3.832A2.145%2C2.145%2C0%2C0%2C0%2C0-3.375a2.145%2C2.145%2C0%2C0%2C0%2C1.336-.457L9-9.562V-2.25A2.272%2C2.272%2C0%2C0%2C1%2C8.332-.668%2C2.272%2C2.272%2C0%2C0%2C1%2C6.75%2C0H-6.75A2.272%2C2.272%2C0%2C0%2C1-8.332-.668%2C2.272%2C2.272%2C0%2C0%2C1-9-2.25V-9.562Z%22%20transform%3D%22translate(9%2013.5)%22%20fill%3D%22%23fff%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;

    /* 元のCSS（矢印スタイル）を打ち消し・調整 */
    border: none;
    margin-left: 0;
    transform: none; /* 回転等をリセット */
    transition: transform 0.3s ease; /* 移動アニメーション */
}

/* ホバー時のアイコン移動（右へスライド） */
.p-form__button button[type="submit"]:not(.is-disabled):hover:after {
    transform: translateX(10px); /* 移動距離（お好みで調整） */
}

/* スピナー非表示（既存維持） */
.p-form__button .wpcf7-spinner {
    display: none;
}

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

@media screen and (max-width: 767px) {
    .p-form__item {
        gap: 7px 0;
    }

    .p-form__item dt {
        /*font-size: 16px;*/
    }

    .p-form__item dt span {
        padding: 1px 3px 0;
        padding: 1.5px 6px 0.5px;
        padding: 5px 6px 3px;
        font-size: 10px;
        font-size: 12px;
        /*font-size: 14px;*/
        line-height: 1;
    }

    .p-form__item dd {
        /*font-size: 14px;*/
    }

    .p-form__item input[type="text"],
    .p-form__item input[type="tel"],
    .p-form__item input[type="email"],
    .p-form__item select,
    .p-form__item textarea {
        padding: 10.5px 16px;
        padding: 14px 16px;
        padding: 12px 16px;
    }

    .p-form__half {
        width: 100%;
    }

    .p-form__post {
        flex-direction: column;
        gap: 12px 0;
    }

    .p-form__trigger {
        padding-top: 0;
    }

    .p-form__acceptance {
        margin-top: 32px;

        /*font-size: 14px;
    font-size: 16px;*/

        /*letter-spacing: -.028em;
    letter-spacing: -.08em;*/
    }

    .p-form__acceptance a::after {
        margin-left: 2px;
    }

    .p-form__acceptance span {
        margin-left: 2px;
    }

    .p-form__button {
        margin-top: 48px;
    }

    .p-form__button input[type="submit"] {
        min-height: 64px;
        min-height: 56px;
        /*border-radius: 4px;*/
        font-size: 16px;
        /*font-size: 17px;
    font-size: 18px;*/
    }
}

/* 404 NOT FOUND */
.p-not-found__text {
    text-align: center;
}

.p-not-found__buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 0 32px;
}

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

@media screen and (max-width: 767px) {
    .p-not-found__text {
        text-align: left;
    }

    .p-not-found__buttons {
        display: block;
        margin-top: 24px;
    }
}

/* 施工実績一覧（アーカイブ） */
.p-works__header {
    margin-bottom: 72px;
}

.p-works__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 60px;
}

.p-works__card {
    padding: 25px;
    border: 1px solid #eae7e2;
    border-radius: 9px;
    background: #ffffff;
}

.p-works__card:nth-child(3n - 1) {
    transition-delay: 0.2s;
}

.p-works__card:nth-child(3n) {
    transition-delay: calc(0.2s * 2);
}

.p-works-card__image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.p-works-card__image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 335 / 215;
    object-fit: cover;
}

.p-works-card__outer {
    position: relative;
}

.p-works-card__overlay {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.p-works-card__overlay-text {
    width: 100%;
    /*position: relative;*/
    color: #fff;
    font-size: 29px;
    font-weight: 700;
    padding: 52px 0;
    text-align: center;
    transform: scale(0.98);
    transition: transform 0.3s ease-out;
}

/* 上下ライン共通 */
.p-works-card__overlay::before,
.p-works-card__overlay::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - (23px * 2));
    border-radius: 9999px;
    height: 3px;
    background-color: #fff;
}

/* 上ライン */
.p-works-card__overlay::before {
    top: 0;
    top: 28px;
}

/* 下ライン */
.p-works-card__overlay::after {
    bottom: 0;
    bottom: 28px;
}

.p-works-card__outer:hover .p-works-card__overlay {
    opacity: 1;
}

.p-works-card__outer:hover .p-works-card__overlay-text {
    transform: scale(1);
}

.p-works-card__heading {
    min-height: calc((18px * 2) * 2);
    margin-top: 18px;
    font-size: 18px;
    line-height: 2;
}

.p-works-card__terms {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

/* 親の li は余白や枠線をリセット */
.p-works-card__term {
    padding: 0;
    border: none;
    background: none;
}

/* a タグに元の li のスタイルを移植 */
.p-works-card__term a {
    display: inline-block; /* クリック範囲を広げるために必須 */
    padding: 2px 23px;
    border: 1px solid #eae7e2;
    border-radius: 6px;
    background: #f2f2f2;
    color: #386641;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 0.3s,
        color 0.3s; /* 変化を滑らかに */
}

/* ホバー時の設定：背景を少し濃く、文字色も変更 */
.p-works-card__term a:hover {
    background: #e5e5e5; /* #f2f2f2 より少しだけ濃いグレー */
    color: #1d2e21;
    border-color: #d1cfcb; /* 枠線も少し濃くするとより馴染みます */
}

.p-works-card__term:nth-child(2) {
    border: 1px solid #eae7e2;
    background: #fbfaf4;
}

.p-works-card__button {
    margin-top: 24px;
}

@media screen and (max-width: 1024px) {
    .p-works__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 14px;
    }

    .p-works__card {
        padding: 18px 11px;
    }

    .p-works__card:nth-child(3n - 1) {
        transition-delay: 0s;
    }

    .p-works__card:nth-child(3n) {
        transition-delay: 0s;
    }

    .p-works__card:nth-child(2n) {
        transition-delay: 0.2s;
    }

    .p-works-card__image img {
        aspect-ratio: 139 / 118;
    }

    .p-works-card__heading {
        min-height: calc((14px * 1.64) * 2);
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.64;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .p-works-card__terms {
        gap: 11px;
        margin-top: 10px;
    }

    .p-works-card__term {
        padding: 2px 14px;
        font-size: 10px;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        transform-origin: center;
    }

    .p-works-card__overlay {
        display: none;
    }

    .p-works-card__button {
        margin-top: 18px;
    }

    .p-works-card__button .c-button {
        height: 32px;
        font-size: 12px;
    }

    .p-works-card__button .c-button:after {
        right: 8px;
        width: 10px;
    }
}

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

/* 施工実績詳細（シングル） */
.p-post {
    padding-bottom: 48px;
}

.p-post__header {
    margin-bottom: 72px;
}

.p-post__columns {
    display: grid;
    grid-template-columns: 1fr 880px;
    gap: 94px 0;
    margin-top: 68px;
}

.p-post__column:nth-child(2) {
    padding-top: 20px;
}

.p-post__heading {
    font-family: "Outfit", sans-serif;
    font-size: 34px;
    font-weight: 400;
}

.p-post__heading span {
    display: inline-block;
}

.p-post__heading span:after {
    display: block;
    width: 244px;
    height: 2px;
    border-radius: 9999px;
    background: #386641;
    content: "";
}

.p-post__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 42px;
}

.p-post__item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid #b7b7b7;
}

.p-post__item dt {
    padding-left: 4px;
    font-weight: 700;
}

.p-post__content {
    padding: 10px 0 30px;
    border-bottom: 1px solid #b7b7b7;
}

.p-post__content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.p-post__content ul {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.p-post__content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.p-post__text {
    line-height: 2.375;
}

.p-post__buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 56px;
    width: min(100%, 1120px);
    margin: 110px auto 0;
}

.p-post__button {
    min-width: 0;
}

.p-post__button .c-button {
    height: 54px;
}

.p-post__button .c-button span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 calc(12px + (20px * 2));
}

@media screen and (max-width: 1200px) {
    .p-post__columns {
        grid-template-columns: none;
        gap: 40px 0;
        margin-top: 48px;
    }

    .p-post__column:nth-child(2) {
        padding-top: 0;
    }
}

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

@media screen and (max-width: 767px) {
    .p-post {
        padding-bottom: 0;
    }

    .p-post__header {
        margin-bottom: 48px;
    }

    .p-post__heading {
        font-size: 24px;
    }

    .p-post__list {
        grid-template-columns: none;
        gap: 10px 0;
    }

    .p-post__item {
        grid-template-columns: 104px 1fr;
    }

    .p-post__item dt {
        padding-left: 0;
    }

    .p-post__item dt,
    .p-post__item dd {
        font-size: 15px;
    }

    .p-post__content {
        padding: 0 0 24px;
    }

    .p-post__text {
        font-size: 15px;
        line-height: 2;
    }

    .p-post__buttons {
        /*display: flex;
    flex-direction: column;
    gap: 16px 0;*/
        gap: 0 8px;
        margin: 64px 0 0;
    }

    .p-post__button--right .c-button,
    .p-post__button--left .c-button {
        justify-content: normal;
    }

    .p-post__button--right .c-button:after {
        right: 8px;
    }

    .p-post__button--right .c-button span {
        padding: 0 28px 0 8px;
    }

    .p-post__button--left .c-button:after {
        left: 8px;
    }

    .p-post__button--left .c-button span {
        padding: 0 8px 0 28px;
    }

    .p-post__button--center .c-button {
        text-align: center;
        line-height: 1.4;
    }
}

/*  */
.splide__slide img,
.thumbnail img {
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    aspect-ratio: 1280 / 720;
    object-fit: cover;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 34px 32px;
    margin-top: 42px;
}

.thumbnail {
    cursor: pointer;
}

.thumbnail img {
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    aspect-ratio: 1280 / 720;
    object-fit: cover;
}

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

@media screen and (max-width: 767px) {
    .thumbnails {
        margin-top: 16px;

        display: flex;
        overflow-x: auto;
        gap: 0 8px;
        padding-bottom: 8px; /* スクロールバー対策 */
        -webkit-overflow-scrolling: touch;
    }

    .thumbnails::-webkit-scrollbar {
        display: none; /* iOS/Chrome */
    }

    .thumbnails .thumbnail {
        flex: 0 0 auto;
        width: 88px; /* 好みで調整 */
        width: 27%;
    }

    /*#thumbnails img {
    width: 100%;
    height: auto;
    display: block;
  }*/
}

/* ================================
   投稿詳細：メタ情報（日付・カテゴリー）のデザイン
================================ */

/* コンテナ：右寄せ・横並び（レイアウト維持） */
.p-post__meta {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    align-items: center; /* 上下中央揃え */
    gap: 1.5em; /* 日付とカテゴリーの間隔 */
    margin-bottom: 2em; /* 本文との余白 */
}

/* 日付（アイコン + 色） */
.p-post__time {
    display: flex;
    align-items: center;
    gap: 0 9px; /* アイコンと数字の間隔 */
    color: #98a6b5; /* 指定の文字色 */
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    line-height: 1;
}

/* 日付の時計アイコン（疑似要素） */
.p-post__time::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    /* ご提示いただいたSVGをそのまま使用 */
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20id%3D%22Icon_-_Time%22%20data-name%3D%22Icon%20-%20Time%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%3Cpath%20id%3D%22Path_13%22%20data-name%3D%22Path%2013%22%20d%3D%22M2.4%2C2.4A7.263%2C7.263%2C0%2C0%2C1%2C8%2C0a7.263%2C7.263%2C0%2C0%2C1%2C5.6%2C2.4A7.263%2C7.263%2C0%2C0%2C1%2C16%2C8a7.263%2C7.263%2C0%2C0%2C1-2.4%2C5.6A7.263%2C7.263%2C0%2C0%2C1%2C8%2C16a7.263%2C7.263%2C0%2C0%2C1-5.6-2.4A7.984%2C7.984%2C0%2C0%2C1%2C0%2C8%2C7.263%2C7.263%2C0%2C0%2C1%2C2.4%2C2.4Zm9.2%2C9.2.933-.933L9.2%2C7.333%2C8%2C2H6.667V8a1.21%2C1.21%2C0%2C0%2C0%2C.4.933.466.466%2C0%2C0%2C0%2C.267.133Z%22%20fill%3D%22%2398a6b5%22%2F%3E%0A%3C%2Fsvg%3E%0A")
        no-repeat center / contain;
}

/* カテゴリー（リンク） */
a.p-post__term {
    color: #98a6b5; /* 指定の文字色 */
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s;
}

/* カテゴリーのホバー時 */
a.p-post__term:hover {
    opacity: 0.7;
    text-decoration: underline; /* リンクだとわかるように下線を出す場合 */
}

/*-------------------------------------------
Utility
-------------------------------------------*/
/*
ComponentとProjectレイヤーのObjectの
モディファイアで解決することが難しい・適切では無い、
わずかなスタイルの調整のための便利クラスなどを定義します。
*/

.u-sp {
    display: none;
}

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

@media screen and (max-width: 767px) {
    .u-pc {
        display: none;
    }

    .u-sp {
        display: block;
    }
}

.u-clearfix:after {
    display: block;
    clear: both;
    content: "";
}

/*-------------------------------------------
ブロックエディター内
-------------------------------------------*/
/*
Gutenbergでお客様が操作しやすいように、
追加CSSの設定など無くても標準で見出しなどの
要素を選択すれば自動的にスタイルを適用する
各ページ、投稿など汎用のスタイル適用
*/
.wp-block-post-content {
    counter-reset: counter;
}

.wp-block-post-content > :first-child {
    margin-top: 0 !important;
}

.wp-block-post-content > :last-child {
    margin-bottom: 0 !important;
}

/* テキスト左寄せ（テキストの配置） */
.has-text-align-left {
    text-align: left;
}

/* テキスト中央寄せ（テキストの配置） */
.has-text-align-center {
    text-align: center;
}

/* テキスト右寄せ（テキストの配置） */
.has-text-align-right {
    text-align: right;
}

/* Gutenbergの medium を上書き（勝ち負けに依存しない） */
/* WPの :root(20px) を回避して、Mを可変にする */
body {
    --wp--preset--font-size--medium: 26px;
}

@media (max-width: 1023px) {
    body {
        --wp--preset--font-size--medium: 24px;
    }
}
@media (max-width: 767px) {
    body {
        --wp--preset--font-size--medium: 20px;
    }
}

.wp-block-post-content > * {
    margin-top: 16px;
}

/* リンク */
.wp-block-post-content *:not([class]) a {
    position: relative;
    color: #1571da;
    color: #386641;
    color: #386641;
    /*text-decoration: underline;*/
    transition: color 0.3s;

    padding-bottom: 4px;

    background-image: linear-gradient(to right, #386641 100%, #386641 100%);
    background-repeat: no-repeat;
    background-size: 0% 2px; /* ← 太めにする */
    background-position: left bottom;
    transition: background-size 0.3s;
}

.wp-block-post-content *:not([class]) a:hover {
    color: #26472c;
    background-size: 100% 2px;
}

/*.wp-block-post-content *:not([class]) a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 9999px;
  background-color: #386641;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.wp-block-post-content *:not([class]) a:hover::after {
  transform: scaleX(1);
}*/

.wp-block-image > a,
.wp-block-image > figure > a {
    overflow: hidden;
}

.wp-block-image img {
    transition: transform 0.3s;
    transform: scale(1);
}

.wp-block-image > a:hover img,
.wp-block-image > figure > a:hover img {
    transform: scale(1.05);
}

/*.wp-block-post-content a[target=_blank]:after {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 3px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2016%2016%27%3E%3Cpath%20d%3D%27M13%2013H3V3H8V2H2V14H14V8H13V13Z%27%20fill%3D%27%2300118f%27/%3E%3Cpath%20d%3D%27M9.998%202V3h2.29L5.65%209.65l.7.7L13%203.71V6h1V2H10z%27%20fill%3D%27%2300118f%27/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: -2px;
  content: "";
}*/

/* 段落（テキスト） */
.wp-block-post-content p {
    margin-top: 16px;
}

/* 見出し2（テキスト） */
.wp-block-post-content h2[data-title] {
    counter-increment: counter;
}

.wp-block-post-content h2.is-style-default {
    margin-top: 104px;
    letter-spacing: 0.01em;
}

.wp-block-post-content h2.is-style-default + * {
    margin-top: 112px;
}

.wp-block-post-content h2:not(.is-style-default) {
    margin-top: 224px;
}

/* 見出し3（テキスト） */
.wp-block-post-content h3 {
    margin-top: 56px;
    margin-bottom: 25px;
    font-size: 23px;
    font-weight: 500;
}

.wp-block-post-content h3 span {
    display: inline-block;
}

.wp-block-post-content h3 span:after {
    display: block;
    margin-top: 8px;
    width: 126px;
    width: 128px;
    height: 2px;
    border-radius: 9999px;
    background: #386641;
    content: "";

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease-out;
}

.wp-block-post-content h3.is-inview span:after {
    transform: scaleX(1);
}

.wp-block-post-content .alignleft {
    margin-right: auto;
}

.wp-block-post-content .aligncenter {
    margin-right: auto;
    margin-left: auto;
}

.wp-block-post-content .alignright {
    margin-left: auto;
}

/* カバー */
.wp-block-post-content .wp-block-cover {
    overflow: hidden;
    margin-top: 72px;
    max-width: 968px;
    border-radius: 18px;
}

.wp-block-post-content .wp-block-cover + * {
    margin-top: 80px;
}

.wp-block-post-content .wp-block-cover__inner-container > * {
    transition-delay: 0.08s;
    transition-delay: calc(0.2s * 1);
}

.wp-block-post-content .wp-block-cover__inner-container > :first-child {
    margin-top: 0 !important;
}

/* テーブル（テキスト） */
.wp-block-post-content .wp-block-table {
    margin-top: 24px;
    margin-bottom: 0;
}

.wp-block-post-content .wp-block-table table.has-fixed-layout {
    table-layout: fixed;
}

.wp-block-post-content .wp-block-table thead tr,
.wp-block-post-content .wp-block-table tbody tr {
    border-bottom: 1px solid #666;
}

.wp-block-post-content .wp-block-table th {
    padding: 1px 16px;
    background: #333;
    color: #fff;
}

.wp-block-post-content .wp-block-table td {
    padding: 8px 16px;
}

.wp-block-post-content .wp-block-table td:not(:last-child) {
    border-right: 1px dashed #ccc;
}

.wp-block-post-content .wp-block-table figcaption {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.6;
}

/* table_basic (会社概要デザイン) */
.wp-block-post-content .wp-block-table.table_basic table {
    border: none;
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
}

.wp-block-post-content .wp-block-table.table_basic tr,
.wp-block-post-content .wp-block-table.table_basic td {
    border: none;
}

.wp-block-post-content .wp-block-table.table_basic td {
    padding: 1.5em;
    vertical-align: middle;
    line-height: 1.8;
    background: #fff;
}

.wp-block-post-content .wp-block-table.table_basic td:first-child {
    background-color: #e7e7e7;
    font-weight: bold;
    color: #333;
    width: 30%;
    border-radius: 8px 0 0 8px;
}

.wp-block-post-content .wp-block-table.table_basic td:last-child {
    border-radius: 0 8px 8px 0;
}

/* 画像（メディア） */
.wp-block-post-content .wp-block-image {
    /*margin-top: 24px;
  margin-bottom: 24px;*/
}

.wp-block-post-content .wp-block-image img {
    overflow: hidden;
    width: 100%;
    border-radius: 18px;
}

.wp-block-post-content .wp-block-image figcaption {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.6;
}

/* ==============================
   カラム（デザイン）
　　graycolumn を付けた時だけ有効
   例）Columnsブロックに「追加CSSクラス：graycolumn」
============================== */

.wp-block-post-content .wp-block-columns.graycolumn {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    /*margin-bottom: 3rem;*/
}

.wp-block-post-content .wp-block-columns.graycolumn .wp-block-column {
    font-size: 14px;
    line-height: 1.8571;

    flex-basis: 0;
    flex-grow: 1;
    padding: 48px 32px 32px;
    border: 2px solid #cdd6dd;
    border-radius: 9px;
    background: #efefef;
}

/* Gutenbergのカラム幅指定（style属性）がある列はgrowしない */
.wp-block-post-content .wp-block-columns.graycolumn .wp-block-column[style*="flex-basis"] {
    flex-grow: 0;
}

.wp-block-post-content .wp-block-columns.graycolumn .wp-block-column > :first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ★元の wp-container-... は不安定なので、graycolumnで nth-child を直接管理 */
.wp-block-post-content .wp-block-columns.graycolumn .wp-block-column:nth-child(3n - 1) {
    transition-delay: 0.2s;
}

.wp-block-post-content .wp-block-columns.graycolumn .wp-block-column:nth-child(3n) {
    transition-delay: calc(0.2s * 2);
}

.wp-block-post-content iframe {
    margin-bottom: 35px;
}

/* Google Map */
.googlemap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* PC用: 16:9 */
    height: 0;
    overflow: hidden;
}
.googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 767px) {
    .wp-block-post-content {
    }

    /* 段落（テキスト） */
    .wp-block-post-content p {
    }

    .wp-block-post-content h2.is-style-default {
        margin-top: 58px;
    }

    .wp-block-post-content h2.is-style-default + * {
        margin-top: 64px;
    }

    .wp-block-post-content h2:not(.is-style-default) {
        margin-top: 60px;
    }

    .wp-block-post-content .wp-block-cover {
        min-height: 192px !important;
        margin-top: 46px;
        border-radius: 21px;
    }

    .wp-block-post-content .wp-block-cover + * {
        margin-top: 48px;
    }

    /* 見出し3（テキスト） */
    .wp-block-post-content h3 {
        margin-top: 44px;
        font-size: 20px;
    }

    .wp-block-post-content h3 span:after {
        margin-top: 6px;
    }

    /* 見出し4（テキスト） */
    .wp-block-post-content h4 {
        margin-top: 40px;
        margin-bottom: 16px;
        font-size: 18px;
        line-height: 1.6;
    }

    /* 見出し5（テキスト） */
    .wp-block-post-content h5 {
        margin-top: 24px;
        margin-bottom: 16px;
    }

    /* 見出し6（テキスト） */
    .wp-block-post-content h6 {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    /* リスト（テキスト） */
    .wp-block-post-content ol,
    .wp-block-post-content ul {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    /* 引用（テキスト） */
    .wp-block-post-content blockquote {
        margin-top: 16px;
    }

    /* テーブル（テキスト） */
    .wp-block-post-content .wp-block-table {
        margin-top: 16px;
    }

    .wp-block-post-content .wp-block-table table {
        display: block;
        overflow-x: scroll;
        /*width: calc(100% + 24px);*/
        white-space: nowrap;
    }

    .wp-block-post-content .wp-block-table figcaption {
        margin-top: 14px;
        margin-top: 12px;
    }

    /* 標準CSSの「横スクロール」を強制解除し、折り返して読めるようにする */
    .wp-block-post-content .wp-block-table.table_basic table {
        display: table;
        white-space: normal; /* 文字を折り返す */
        width: 100%;
    }

    /* スマホでは1列目と2列目を縦に積む（見やすくするため） */
    .wp-block-post-content .wp-block-table.table_basic tr {
        display: block;
        margin-bottom: 1em; /* 行ごとの間隔 */
    }

    .wp-block-post-content .wp-block-table.table_basic td,
    .wp-block-post-content .wp-block-table.table_basic td:first-child {
        display: block;
        width: 100%; /* 横幅いっぱいに */
        padding: 1em; /* 余白を少し詰める */
        border-bottom: none; /* セルごとの線は消して、行の線だけ残す */
    }

    /* 1列目（項目名）をスマホで見やすく */
    .wp-block-post-content .wp-block-table.table_basic td:first-child {
        padding-bottom: 0.5em; /* 下の余白を狭くして、内容との一体感を出す */
    }

    /* 画像（メディア） */
    .wp-block-post-content .wp-block-image {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .wp-block-post-content .wp-block-image figcaption {
        margin-top: 14px;
        margin-top: 12px;
    }

    .wp-block-post-content .wp-block-columns.graycolumn {
        gap: 26px;
        margin-top: 34px;
    }

    /* カラム */
    .wp-block-post-content .wp-block-columns.graycolumn .wp-block-column {
        padding: 36px 15px 32px;
        border: 1px solid #cdd6dd;
    }

    .wp-block-post-content .wp-block-columns.graycolumn .wp-block-column:nth-child(3n - 1),
    .wp-block-post-content .wp-block-columns.graycolumn .wp-block-column:nth-child(3n) {
        transition-delay: 0s;
    }

    .wp-block-post-content .wp-block-columns.graycolumn .wp-block-image img {
        width: 160px !important;
    }

    .wp-block-post-content .wp-block-columns.graycolumn p.title {
        margin-top: 32px;
        font-size: 24px !important;
    }

    .wp-block-post-content .wp-block-columns.graycolumn p:not([class]) {
        font-size: 13px;
        line-height: 2;
    }

    .sp-text-left {
        text-align: left !important;
    }

    .googlemap {
        padding-bottom: 75%; /* 4:3 くらいの比率で高さを出す */
    }
}

/* ==============================
   Group Block Style: "画像回り込み（画像左/右）"
   Updated: Tablet/PC Margin Fix Included
============================== */

/**
 * Group Block Style: 画像回り込み（float）
 * - group の内側に wp-block-group__inner-container が入る環境に対応
 * - inner-container が無い環境（ブロックテーマ等）にも対応
 */

/* ====== clearfix（inner-container の有無どちらでも） ====== */
.wp-block-group.is-style-noma-float-media-left::after,
.wp-block-group.is-style-noma-float-media-right::after {
    content: "";
    display: block;
    clear: both;
}
.wp-block-group.is-style-noma-float-media-left .wp-block-group__inner-container::after,
.wp-block-group.is-style-noma-float-media-right .wp-block-group__inner-container::after {
    content: "";
    display: block;
    clear: both;
}

/* ====== 対象：先頭の画像（inner-container有り/無し） ====== */
/* PC・タブレット（768px以上）の基本設定 */
@media screen and (min-width: 768px) {
    /* 左配置：画像が左、文字が右 */
    .wp-block-group.is-style-noma-float-media-left > .wp-block-image:first-child,
    .wp-block-group.is-style-noma-float-media-left > .wp-block-group__inner-container > .wp-block-image:first-child {
        float: left;
        width: min(42%, 520px);
        /* ★修正: 左に30pxの余白を追加して背景切れを防止 */
        margin: 0 2rem 2rem 30px;
    }

    /* 右配置：画像が右、文字が左 */
    .wp-block-group.is-style-noma-float-media-right > .wp-block-image:first-child,
    .wp-block-group.is-style-noma-float-media-right > .wp-block-group__inner-container > .wp-block-image:first-child {
        float: right;
        width: min(42%, 520px);
        /* ★修正: 右に30pxの余白を追加して背景切れを防止 */
        margin: 0 30px 2rem 2rem;
    }
}

/* 画像の見た目 */
.wp-block-group.is-style-noma-float-media-left > .wp-block-image:first-child img,
.wp-block-group.is-style-noma-float-media-left > .wp-block-group__inner-container > .wp-block-image:first-child img,
.wp-block-group.is-style-noma-float-media-right > .wp-block-image:first-child img,
.wp-block-group.is-style-noma-float-media-right > .wp-block-group__inner-container > .wp-block-image:first-child img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

/* スマホでは回り込み解除（inner-container有り/無し） */
@media screen and (max-width: 767px) {
    /* 共通設定：回り込み解除と下の余白 */
    .wp-block-group.is-style-noma-float-media-left > .wp-block-image:first-child,
    .wp-block-group.is-style-noma-float-media-left > .wp-block-group__inner-container > .wp-block-image:first-child,
    .wp-block-group.is-style-noma-float-media-right > .wp-block-image:first-child,
    .wp-block-group.is-style-noma-float-media-right > .wp-block-group__inner-container > .wp-block-image:first-child {
        float: none;
        width: calc(100% - 1rem) !important; /* 左右どちらかに余白を作るため幅を縮める */
    }

    /* 【左配置】の場合：背景が左にずれるので「左」に余白 (1.5rem) */
    .wp-block-group.is-style-noma-float-media-left > .wp-block-image:first-child,
    .wp-block-group.is-style-noma-float-media-left > .wp-block-group__inner-container > .wp-block-image:first-child {
        margin: 0 0 2.5rem 1rem !important;
    }

    /* 【右配置】の場合：背景が右にずれるので「右」に余白 (1.5rem) */
    .wp-block-group.is-style-noma-float-media-right > .wp-block-image:first-child,
    .wp-block-group.is-style-noma-float-media-right > .wp-block-group__inner-container > .wp-block-image:first-child {
        margin: 0 1.5rem 2.5rem 0 !important;
    }
}

/**
* 画像回り込み：画像の下に「背景プレート」を敷く（単調回避）
* - 先頭の figure.wp-block-image に ::before を作り背面に配置
* - 色はクラスで切替（交互に色変えOK）
 */

/* ▼背景プレートを使うとき：グループにこのクラスを追加 */
.wp-block-group.is-style-noma-float-media-left.has-float-plate,
.wp-block-group.is-style-noma-float-media-right.has-float-plate {
    --noma-plate-color: #a9c2ad; /* デフォルト色（任意） */
    --noma-plate-radius: 22px;
    --noma-plate-offset-x: 22px; /* 横ズレ */
    --noma-plate-offset-y: 18px; /* 縦ズレ */
}

/* 画像（先頭figure）を基準に擬似要素を置く */
.wp-block-group.is-style-noma-float-media-left.has-float-plate
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child,
.wp-block-group.is-style-noma-float-media-right.has-float-plate
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child {
    position: relative;
    z-index: 0; /* 擬似要素の土台 */
}

/* 背景プレート本体（画像の背面） */
.wp-block-group.is-style-noma-float-media-left.has-float-plate
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child::before,
.wp-block-group.is-style-noma-float-media-right.has-float-plate
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--noma-plate-color);
    border-radius: var(--noma-plate-radius);
    z-index: -1;
}

/* 左回り込み：プレートを「左下」にずらす */
.wp-block-group.is-style-noma-float-media-left.has-float-plate
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child::before {
    transform: translate(calc(var(--noma-plate-offset-x) * -1), var(--noma-plate-offset-y));
}

/* 右回り込み：プレートを「右下」にずらす */
.wp-block-group.is-style-noma-float-media-right.has-float-plate
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child::before {
    transform: translate(var(--noma-plate-offset-x), var(--noma-plate-offset-y));
}

/* ▼色バリエーション：グループに付けるだけで色替え（交互運用向け） */
.wp-block-group.is-style-noma-float-media-left.has-float-plate.is-plate-moss,
.wp-block-group.is-style-noma-float-media-right.has-float-plate.is-plate-moss {
    --noma-plate-color: #a1c1a7; /* グリーン系 */
}

.wp-block-group.is-style-noma-float-media-left.has-float-plate.is-plate-sand,
.wp-block-group.is-style-noma-float-media-right.has-float-plate.is-plate-sand {
    --noma-plate-color: #e7e1d6; /* ベージュ系 */
}

.wp-block-group.is-style-noma-float-media-left.has-float-plate.is-plate-bluegray,
.wp-block-group.is-style-noma-float-media-right.has-float-plate.is-plate-bluegray {
    --noma-plate-color: #c9d5de; /* 青グレー系 */
}

/* スマホはプレートのズレ量を少し抑える（好みで） */
@media screen and (max-width: 767px) {
    .wp-block-group.is-style-noma-float-media-left.has-float-plate,
    .wp-block-group.is-style-noma-float-media-right.has-float-plate {
        --noma-plate-offset-x: 14px;
        --noma-plate-offset-y: 12px;
    }
}

/**
* 既存の .js-inview → .is-inview 付与を流用して
* 背景プレート → 画像 の順にフェードイン
 */

/* 初期（inview前）：プレートを透明 + 少し下げる */
.wp-block-group.has-float-plate.js-inview
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child::before {
    opacity: 0;
    transform: translate(var(--noma-plate-offset-x, 22px), calc(var(--noma-plate-offset-y, 18px) + 10px));
    transition:
        opacity 450ms ease,
        transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

/* 初期（inview前）：画像を透明 + 少し下げる（プレートより後に出す） */
.wp-block-group.has-float-plate.js-inview > .wp-block-group__inner-container > figure.wp-block-image:first-child img {
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 650ms ease,
        transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: 320ms; /* ←ここで順番を作る（好みで調整） */
    will-change: opacity, transform;
}

/* inview後：プレート表示（最終位置に戻す：左/右で分岐） */
.wp-block-group.is-style-noma-float-media-left.has-float-plate.js-inview.is-inview
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child::before {
    opacity: 1;
    transform: translate(calc(var(--noma-plate-offset-x, 22px) * -1), var(--noma-plate-offset-y, 18px));
}

.wp-block-group.is-style-noma-float-media-right.has-float-plate.js-inview.is-inview
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child::before {
    opacity: 1;
    transform: translate(var(--noma-plate-offset-x, 22px), var(--noma-plate-offset-y, 18px));
}

/* inview後：画像表示 */
.wp-block-group.has-float-plate.js-inview.is-inview
    > .wp-block-group__inner-container
    > figure.wp-block-image:first-child
    img {
    opacity: 1;
    transform: translateY(0);
}

/* スマホはズレ量を控えめに（任意） */
@media screen and (max-width: 767px) {
    .wp-block-group.has-float-plate.js-inview {
        --noma-plate-offset-x: 14px;
        --noma-plate-offset-y: 12px;
    }
}

/* 動きが苦手な人向け（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
    .wp-block-group.has-float-plate.js-inview
        > .wp-block-group__inner-container
        > figure.wp-block-image:first-child::before,
    .wp-block-group.has-float-plate.js-inview
        > .wp-block-group__inner-container
        > figure.wp-block-image:first-child
        img {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
