@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique:wght@400;500;700;900&display=swap");

*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-feature-settings: "palt";
    background: #fff;
}

body {
    margin: 0;
}

main {
    display: block;
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

dt {
    font-weight: bold;
}

dd {
    margin-left: 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border-top-width: 1px;
    margin: 0;
    clear: both;
    color: inherit;
}

pre {
    font-family: monospace, monospace;
    font-size: inherit;
}

address {
    font-style: inherit;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

abbr[title] {
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: inherit;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

svg,
img,
embed,
object,
iframe {
    vertical-align: bottom;
}

button,
input,
optgroup,
select,
textarea {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
    cursor: default;
}

:-moz-focusring {
    outline: auto;
}

select:disabled {
    opacity: inherit;
}

option {
    padding: 0;
}

fieldset {
    margin: 0;
    padding: 0;
    min-width: 0;
}

legend {
    padding: 0;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

[type="number"] {
    -moz-appearance: textfield;
}

label[for] {
    cursor: pointer;
}

details {
    display: block;
}

summary {
    display: list-item;
}

[contenteditable]:focus {
    outline: auto;
}

table {
    border-color: inherit;
    border-collapse: collapse;
}

caption {
    text-align: left;
}

td,
th {
    vertical-align: top;
    padding: 0;
}

th {
    text-align: left;
    font-weight: bold;
}
/*リセット　ここまで*/

html,
body {
    width: 100%;
    font-family:
        "Zen Kaku Gothic Antique", "zen-kaku-gothic-antique", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #2f2725;
    scroll-behavior: smooth;
}

.medium {
    font-family:
        "Zen Kaku Gothic Antique", "zen-kaku-gothic-antique", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.bold {
    font-family:
        "Zen Kaku Gothic Antique", "zen-kaku-gothic-antique", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.black {
    font-family: "Zen Kaku Gothic Antique", zen-kaku-gothic-antique, sans-serif;
    font-weight: 900;
    font-style: normal;
}

/* =========================================
   カラー変数 / 共通設定
   ========================================= */
:root {
    --green: #006d0b;
    --yellow: #eecb1a;
    --teal: #00aabe;
    --ink: #2f2725;
    --header-h: 64px;
}

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

.u-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* PC/SP 出し分けユーティリティ */
.u-sp {
    display: none;
}

.u-sp-block {
    display: none;
}

@media screen and (max-width: 768px) {
    .u-sp {
        display: inline;
    }
    .u-sp-block {
        display: block;
    }
    .u-pc {
        display: none;
    }
}

.l-inner {
    width: 100%;
    max-width: 1148px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* =========================================
   ヘッダー（共通）
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background: #fff;
    z-index: 100;
    box-shadow: 0 3px 6px rgba(0, 15, 58, 0.16);
}

/* 左上ロゴパネル（下辺右が丸い白い面） */
.header__logo {
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    width: 235px;
    height: auto;
    aspect-ratio: 235 / 220;
    /* padding: 14px 26px 18px; */
    border-bottom-right-radius: 30px;
    line-height: 0;
    box-shadow: 0 3px 6px rgba(0, 15, 58, 0.16);
}

.header__logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 10px;
    height: var(--header-h);
    background: white;
}

.header__logo a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__logo img {
    width: 168px;
    height: auto;
}

/* グローバルナビ */
.gnav {
    height: var(--header-h);
}

.gnav__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
    height: 100%;
    padding-right: 40px;
}

.gnav__link {
    position: relative;
    display: inline-block;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.1em;
    color: var(--green);
    white-space: nowrap;
    padding-bottom: 6px;
    transition: opacity 0.2s ease;
}

/* .gnav__link:hover {
    opacity: 0.55;
} */

/* hover時：左から下線が伸び、hover解除で右へ縮んで消える */
.gnav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.gnav__link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* メニュー内ロゴ（モバイル全画面メニュー専用） */
.gnav__item--logo {
    display: none;
}

/* ハンバーガー（モバイル用） */
.gnav__toggle {
    display: none;
    position: absolute;
    top: 12px;
    right: 16px;
    width: 40px;
    height: 40px;
}

.gnav__toggle span {
    position: absolute;
    left: 8px;
    width: 24px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.gnav__toggle span:nth-child(1) {
    top: 13px;
}
.gnav__toggle span:nth-child(2) {
    top: 19px;
}
.gnav__toggle span:nth-child(3) {
    top: 25px;
}

/* =========================================
   下層ページ共通：パンくず＋タイトル（白ピル）
   ========================================= */
.lower-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1148px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 44px) 24px 0;
    width: calc(100% - 500px);
}

/* パンくずリスト（下層ページ共通） */
.breadcrumb {
    position: absolute;
    left: 24px;
    /* top: 50%;
    transform: translateY(-100%); */
    top: calc(var(--header-h) + 44px);
    color: var(--green);
    font-size: 16px;
    letter-spacing: 0.04em;
}

.breadcrumb a {
    transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
    opacity: 0.6;
}

/* ページタイトル（白ピル・緑ボーダー） */
.lower-title {
    display: inline-block;
    min-width: 485px;
    text-align: center;
    background: #fff;
    border: 2px solid var(--green);
    border-radius: 9999px;
    color: var(--green);
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 0.24em;
    text-indent: 0.24em;
    line-height: 1;
    padding: 26px 40px 24px;
}

/* =========================================
   TOPにもどる（共通・黄色い円）
   ========================================= */
.info__top {
    display: flex;
    justify-content: flex-end;
    padding: 28px 7% 0;
    position: relative;
    z-index: 1;
}

.info__top-btn {
    display: block;
    width: clamp(96px, 9vw, 137px);
    transition: transform 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.info__top-btn:hover {
    transform: translateY(-10px);
}

.info__top-btn img {
    width: 100%;
    height: auto;
}

/* =========================================
   フッター（共通）
   ========================================= */
.footer {
    position: relative;
    background: #fff;
}

.footer__illust {
    width: 100%;
    line-height: 0;
}

.footer__illust img {
    width: 100%;
    display: block;
}

.footer__bar {
    background: var(--green);
    padding: 16px 16px 21px;
}

.footer__links {
    text-align: center;
    margin-bottom: 8px;
}

.footer__link {
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: underline;
}

.footer__operator {
    color: #fff;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.08em;
    line-height: 1;
}

/* =========================================
   Cookie同意バナー（共通）
   ========================================= */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 32px;
    max-width: 1148px;
    margin: 0 auto;
    padding: 20px 24px;
}

.cookie-banner__text {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.8;
    flex: 1 1 480px;
}

.cookie-banner__text a {
    color: var(--green);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.cookie-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 44px;
    padding: 0 24px;
    border: 2px solid var(--green);
    border-radius: 9999px;
    background: #fff;
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cookie-banner__btn:hover {
    background: var(--green);
    color: #fff;
}

.cookie-banner__btn--accept {
    background: var(--green);
    color: #fff;
}

.cookie-banner__btn--accept:hover {
    opacity: 0.8;
}

@media screen and (max-width: 600px) {
    .cookie-banner__inner {
        padding: 16px 20px;
    }
    .cookie-banner__actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* =========================================
   レスポンシブ：ヘッダー / フッター
   ========================================= */
@media screen and (min-width: 1025px) and (max-width: 1240px) {
    .gnav__list {
        gap: 22px;
        padding-right: 28px;
    }
    .gnav__link {
        font-size: 16px;
    }
    .header__logo img {
        width: 148px;
    }
}

@media screen and (max-width: 1640px) {
    .breadcrumb {
        top: 50%;
        transform: translateY(-100%);
    }
}

@media screen and (max-width: 1024px) {
    :root {
        --header-h: 56px;
    }

    .header__logo {
        width: 155px;
        border-bottom-right-radius: 22px;
    }
    .header__logo img {
        width: 110px;
    }

    .gnav__toggle {
        display: block;
        z-index: 2;
    }

    /* 全画面メニュー（右からスライドイン） */
    .gnav__list {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 105px 32px 40px;
        background: #fff;
        transform: translateX(100%);
        pointer-events: none;
        transition: transform 0.35s ease;
        overflow-y: auto;
        z-index: 1;
    }

    .gnav.is-open .gnav__list {
        transform: translateX(0);
        pointer-events: auto;
    }

    /* メニュー展開中は背景をスクロールさせない */
    body:has(.gnav.is-open) {
        overflow: hidden;
    }

    .gnav__link {
        display: block;
        padding: 13px 0;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.12em;
    }

    .gnav__item__tl {
        width: 44vw;
        margin: 0 auto;
        display: flex;
        justify-content: flex-end;
    }

    .gnav__link::after {
        display: none;
    }

    /* メニュー最下部のロゴ */
    .gnav__item--logo {
        display: block;
        margin-top: 0;
        padding-top: 56px;
    }
    .gnav__item--logo img {
        width: 170px;
        height: auto;
    }

    /* トグル：開いたら白背景上の緑✕に */
    .gnav.is-open .gnav__toggle {
        background: transparent;
    }
    .gnav.is-open .gnav__toggle span {
        background: var(--green);
    }
    .gnav.is-open .gnav__toggle span:nth-child(1) {
        top: 19px;
        transform: rotate(45deg);
    }
    .gnav.is-open .gnav__toggle span:nth-child(2) {
        opacity: 0;
    }
    .gnav.is-open .gnav__toggle span:nth-child(3) {
        top: 19px;
        transform: rotate(-45deg);
    }

    .lower-head {
        width: 100%;
        padding: calc(var(--header-h) + 90px) 24px 0;
    }

    .breadcrumb {
        transform: translateY(-50%);
    }
}

/* SP：白バー・ロゴなし。緑角丸ハンバーガーのみ右上フラッシュ配置 */
@media screen and (max-width: 768px) {
    :root {
        --header-h: 58px;
    }

    .header {
        height: 0;
        background: transparent;
        box-shadow: none;
    }

    .header__logo {
        display: none;
    }

    .gnav {
        height: 0;
    }

    .gnav__toggle {
        top: 0;
        right: 0;
        width: 58px;
        height: 58px;
        background: var(--green);
        border-radius: 0 0 0 14px;
    }

    .gnav__toggle span {
        left: 15px;
        width: 28px;
        height: 2px;
        background: #fff;
    }

    .gnav__toggle span:nth-child(1) {
        top: 21px;
    }
    .gnav__toggle span:nth-child(2) {
        top: 28px;
    }
    .gnav__toggle span:nth-child(3) {
        top: 35px;
    }

    .gnav.is-open .gnav__toggle span:nth-child(1) {
        top: 28px;
    }
    .gnav.is-open .gnav__toggle span:nth-child(3) {
        top: 28px;
    }

    .footer__bar {
        padding: 12px 12px 16px;
    }

    .footer__operator {
        font-size: 12px;
    }

    /* 下層ページ：パンくずを上・タイトルを全幅に縦積み */
    .lower-head {
        flex-direction: column;
        align-items: stretch;
        padding: 30px 30px 0;
    }
    .breadcrumb {
        position: static;
        transform: none;
        margin-bottom: 16px;
        font-size: 13px;
    }
    .lower-title {
        min-width: 0;
        width: 100%;
        font-size: 20px;
        letter-spacing: 0.16em;
        text-indent: 0.16em;
        padding: 16px;
        max-width: 330px;
        margin: 0 auto;
    }

    /* TOPにもどる：フッター山並みに重ねる */
    .info__top {
        padding: 98px 30px 0;
        margin-bottom: -56px;
    }
    .info__top-btn {
        width: 85px;
    }
}
