@charset "utf-8";

:root {
    /* ページ間共通とするCSS変数 */
    /* 写真に白い文字を重ねたときにかけるシャドウ */
    --shadow-whitetext-onimg: 2px 2px 6px #50414110, -1px -1px 9px #7c6f72aa, 1px 1px 2px #554449, -5px -3px 10px #fff3;

    /* グリッドの余白の基準単位 */
    --gap-unit: 2.4vw; /* ギャップを2.4vw */
}


html {
    scroll-padding-top: 70px;
    scroll-behavior: smooth;
    max-width: 100%;
    height: auto;
}
@media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: initial;
    }
}


body {
    color: #595757;
}


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


a {
    color: inherit;
    text-decoration: none;
}
a:link {
    color: inherit;
    text-decoration: none;
}
a:visited {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: inherit;
    text-decoration: none;
}
a:active {
    color: inherit;
    text-decoration: none;
}

a.disabled {
    /* Make the disabled links grayish*/
    color: gray;
    /* And disable the pointer events */
    pointer-events: none;
}


/* font */
/* Bootstrapのクラスに属性を追加 */

h1, .h1 {
    line-height: 2.0;
    letter-spacing: 0.175rem;
    margin-bottom: 0;
}
h2, .h2 {
    line-height: 1.8;
    letter-spacing: 0.175rem;
    margin-bottom: 0;
}
h3, .h3 {
    line-height: 1.7;
    letter-spacing: 0.166rem;
    margin-bottom: 0;
}
h4, .h4 {
    line-height: 1.7;
    letter-spacing: 0.155rem;
    margin-bottom: 0;
}
h5, .h5 {
    line-height: 1.66;
    letter-spacing: 0.144rem;
    margin-bottom: 0;
}
h6 .h6 {
    line-height: 1.66;
    letter-spacing: 0.133rem;
    margin-bottom: 0;
}


small {
    color: #fff;
    display: block;
    text-align: center;
}


hr {
    opacity: 1;
}


/* 外部リンク用の装飾 */
.external_link {
    position: relative;
}
.external_link:after {
    content: "↗";
}
.external_link:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.external_link:hover:before {
    visibility: visible;
    bottom: -1px;
    opacity: 0.75;
}




.base {
    width: 100%;
}

.blank1 {
    display: none;
}

.blank2 {
    display: none;
}

#header {
    display: flex;
    position: relative;
    z-index: 1000;
    width: 100%;
    height: 4.5rem;
    background: #7EC8C0;
    color: #000;
    text-align: right;
    padding: 0.75rem 1.2rem;
    position: relative;


    position: sticky;
    /*fixedを設定して固定*/
    z-index: 1000;
    /*最前面へ*/
    top: 0;
    /*位置指定*/
    left: 0;
    /*位置指定*/
    margin-top: 0;
}
@media only screen and (max-width: 767.98px) {
    #header {
        padding: 0.5rem 0.75rem;
    }
}

.header2 {
    background-image: linear-gradient(90deg, rgba(120, 200, 192, 1), rgba(124, 193, 185, 1));
}

/*
#header.fixed {
    position: sticky;
    z-index: 1000;
    top: 0;
    left: 0;
    margin-top: 0;
}
*/


.header-icon {
    margin-right: min(1.5rem, 2.5vw);
    display: flex;
    align-items: center;
}

.header-button {
    position: relative;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 2.5rem;
    width: 112px;
}

.header-button img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    display: block;
    -webkit-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
    object-fit: scale-down;
    max-height: 2.5rem;
}

.header-button:hover img:nth-of-type(2) {
    opacity: 0;
}

.icons {
    width: auto;
    height: 2rem;
    display: block;
}
@media only screen and (max-width: 767.98px) {
    .icons {
        height: auto;
        width: 1.5rem;
    }
}

.footer {
    background: #7EC8C0;
    padding: 4rem 1rem;
}

.footer_content_pc {
    display: flex;
    justify-content: center;
}

.footer_content_sp {
    display: none;
}

@media only screen and (min-width: 1921px) {
    .base {
        max-width: 1920px;
    }
    .blank1 {
        display: block;
        width: calc((100% - 1920px) / 2);
    }
    .blank2 {
        display: block;
        width: calc((100% - 1920px) / 2);
    }
}

@media only screen and (max-width: 767.98px) {
    .header-button {
        /* height: 75px; */
        width: 80px;
    }
    .footer_content_pc {
        display: none;
    }
    .footer_content_sp {
        display: block;
    }
}


/* header menu */

#g-nav {
    /* position:fixed;にし、z-indexの数値を大きくして前面へ */
    position: fixed;
    z-index: 999;
    /* ナビのスタート位置と形状 */
    top: -10%;
    left: 0;
    width: 100%;
    height: 100vh;

    /* background-image: linear-gradient(80deg, rgba(173, 218, 189, 1), rgba(124, 193, 185, 1)); */
    /* やわらかなグラデーションに */
    background-image:
        radial-gradient(at 0% 20%, rgba(173, 218, 189, 1), transparent 90%),
        radial-gradient(at 100% 0%, rgba(124, 193, 185, 1), transparent 60%),
        linear-gradient(0deg, rgba(149, 206, 187, 0), rgba(149, 206, 187, 1) 20%);
    /* 動き */
    transition: all ease-in-out 0.5s;
    /* 初期状態非表示・マウスイベントスルー（visibilityあれば不要かも） */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    #g-nav {
        transition: initial;
    }
}


#g-nav.panelactive {
    top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: initial;
}

#g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    text-align: start;
}

#g-nav #g-nav-list {
    writing-mode: vertical-rl;
}


#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: clamp(768px - 2rem, 66.6vw, 1920px - 33.3%);
}

#g-nav li {
    list-style: none;
    text-align: left;
}

#g-nav li a {
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
    padding: 10px;
    display: inline-block;
    text-transform: none;
    letter-spacing: 0.1em;
    font-weight: bold;
    position: relative;
    transition: all ease-in-out 0.5s;
    transform-origin: top center;
}

@media only screen and (min-width: 768px) {
    #g-nav li a:before {
        content: '';
        position: absolute;
        right: -1px;
        width: 2px;
        border-radius: 1px;
        height: 75%;
        background: currentColor;
        background: linear-gradient(180deg, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
        opacity: 0;
        visibility: hidden;
        transition: all ease-in-out 0.66s;
    }
    #g-nav li a:hover {
        transform: scale(1.1);
    }
    #g-nav li a:hover:before {
        visibility: visible;
        right: 0;
        height: 100%;
        opacity: 0.75;
    }
}


@media only screen and (max-width: 767.98px) {
    #g-nav #g-nav-list {
        writing-mode: horizontal-tb;
    }
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        width: 70%;
        transform: translate(-50%, -50%);
    }
    #g-nav li {
        width: 100%;
    }
    #g-nav li a {
        font-size: 1.2rem;
        padding: 0.33rem;
    }
    .navi-tate {
        writing-mode: horizontal-tb;
    }
}


/* header = button */

/* ハンバーガーメニュー */

.openbtn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.openbtn1 {
    /*ボタンを最前面に*/
    position: relative;
    z-index: 9999;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
}
.openbtn1:focus-visible {
    /* フォーカス時のアウトラインを表示する */
    outline-width: initial;
    outline-style: auto;
    outline-color: initial;
}


/* header × button */

.openbtn1 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 25%;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
}

.openbtn1 span:nth-of-type(1) {
    top: 40%;
    width: 60%;
}

.openbtn1 span:nth-of-type(2) {
    opacity: 0;
}

.openbtn1 span:nth-of-type(3) {
    top: calc( 40% + 8px );
    width: 35%;
}

.openbtn1.active span:nth-of-type(1) {
    top: 50%;
    transform: rotate(-45deg);
    width: 50%;
}

.openbtn1.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
    top: 50%;
    transform: rotate(45deg);
    width: 50%;
}


/* footer section */

.logo {
    width: 35%;
    max-width: 18rem;
}

.logo_sp {
    width: 35%;
}

.kamikura_banner {
    width: 100%;
    height: auto;
}

.cname {
    color: white;
}

.cname_first {
    margin: auto;
    line-height: 0.7rem;
    font-size: 0.8rem;
}

.cname_last {
    margin: auto;
    padding-left: 0.2rem;
    line-height: 1.5rem;
    font-size: 1.3rem;
}

.cname_contact {
    margin: auto;
    line-height: 1.5;
    font-size: 1.0rem;
}

.cname_contact_sp {
    margin: auto;
    text-align: left;
    line-height: 1.1rem;
    font-size: 0.9rem;
}

.pagetop {
    position: fixed;
    right: 4%;
    bottom: 10%;
    display: flex;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #6EC8C0;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    transition: 0.15s ease-in;
}

.pagetop:hover {
    transform: translateY(4px);
}

.is-scrollEnd {
    transform: scale(0) !important;
}






/*  top image area */
#topimg {
    /* margin-top: 75px; */
    position: relative;
    width: 100%;
    height: auto;
}

.full {
    width: 100%;
    height: auto;
    margin: 0;
    position: relative;
}

.full:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(20deg, #2112, transparent 25%);
}

.full img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;   /* トップの画像 PC用は16:9サイズを用いる */
}
.full.narrow img {
    aspect-ratio: initial;   /* トップの画像 高さを画像依存にする場合は .narrow を併記（レイアウトシフトが問題にならない程度の、高さの狭い画像に限って使用） */
}

.titles {
    position: absolute;
    left: 7rem;
    bottom: 5rem;
    max-width: calc( 100% - 7rem - 7rem );
    text-shadow: var(--shadow-whitetext-onimg);
}

.maintitle {
    font-size: 4rem;
    color: white;
    border-right: 2px solid white;
    padding-right: 0.25rem;
    position: relative;
}
.maintitle:after {
    content: "";
    position: absolute;
    top: 0;
    right: -2px;
    bottom: 0;
    background: white;
    width: 1px;
    box-shadow: var(--shadow-whitetext-onimg);
}

.maintitle h1 {
    line-height: 1.2;
}

.phrase {
    height: auto;
    margin-left: 2rem;
    font-size: 1.5rem;
    line-height: 2.0rem;
    color: white;
    display: flex;
    align-items: flex-end;
}


@media only screen and (max-width: 767.98px) {
    .full {
        width: 100%;
        height: auto;
        margin: 0;
    }
    .full img {
        object-fit: cover;
        aspect-ratio: initial;   /* トップの画像 スマホ用は縦長画像を使用（画面高さいっぱい
        、からヘッダーの高さ分を引いて表示） */
        height: calc(100% - 4.5rem);
        height: calc(100svh - 4.5rem);
    }
    .maintitle {
        font-size: 3rem;
        color: white;
        padding-right: 0.66rem;
        max-width: 66.6%;
    }
    .titles {
        position: absolute;
        left: 2rem;
        bottom: 2rem;
        max-width: calc( 100% - 2rem - 2rem );
    }
    .phrase {
        margin-left: 0.75rem;
        font-size: 1.15rem;
        line-height: 1.75rem;
        align-items: flex-end;
    }
}







/* レイアウト用の基本のグリッド */
.grid_base {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 列を8分割 */
    gap: var(--gap-unit);
    grid-auto-rows: minmax(6vw, auto); /* 行の最小の高さを6vw、内容に合わせて自動調整 */
}

.grid_base_1col {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: max-content;
}
.grid_base_2col {
    grid-template-columns: 1fr;
    grid-auto-rows: max-content;
    gap: var(--gap-unit);
}
@media only screen and (min-width: 768px) {
    .grid_base_2col {
        grid-template-columns: 1fr 1fr;
    }
}



/* grid-template-areas をつけるとき用 */
.grid_base_usearea {
}
.grid_base_usearea > h2,
.grid_base_usearea > h3,
.grid_base_usearea > h4 {
    grid-area: h;
}
.grid_base_usearea > h2 + h3 {
    grid-area: h3;
}
.grid_base_usearea > h3 + h4 {
    grid-area: h4;
}

.grid_base_usearea > p {
    grid-area: p;

    text-align: justify;
    margin-bottom: 1.2em;
}
.grid_base_usearea > img {
    grid-area: img;
}
.grid_base_usearea > figure {
    grid-area: img;
}
.grid_base_usearea > div {
    grid-area: div;
}
.grid_base_usearea > a {
    grid-area: a;
}
.grid_base_usearea > ul,
.grid_base_usearea > ol,
.grid_base_usearea > dl {
    grid-area: l;
}
.grid_base_usearea > small {
    grid-area: sm;
}


/* おおよそグリッド左右1列分の余白をつける （スマホ時はそれより狭い余白に） */
.margin_base_x_1 {
    margin-left: calc(var(--gap-unit) * 2);
    margin-right: calc(var(--gap-unit) * 2);
}
@media screen and (min-width: 768px) {
    .margin_base_x_1 {
        margin-left: calc( ( min( 1920px, 100vw ) + var(--gap-unit) ) / 8 );
        margin-right: calc( ( min( 1920px, 100vw ) + var(--gap-unit) ) / 8 );
    }
}
.margin_base_x_2 {
    margin-left: calc(var(--gap-unit) * 2);
    margin-right: calc(var(--gap-unit) * 2);
}
@media screen and (min-width: 768px) {
    .margin_base_x_2 {
        margin-left: calc( ( min( 1920px, 100vw ) + var(--gap-unit) ) / 8 * 2 );
        margin-right: calc( ( min( 1920px, 100vw ) + var(--gap-unit) ) / 8 * 2 );
    }
}


section {
    margin: calc( 6vw + calc(var(--gap-unit) * 2) ) 0;
}
#main > section:first-child {
    padding-top: calc( 6vw + calc(var(--gap-unit) * 2) );
    margin-top: 0;
}



/* 画像で作る枠線 */
/* 背景透過 */
.border_transparent {
    border-image-source: url("../images/components/border_transparent.svg");
    border-image-slice: 1.7% 1.4% 1.7% 1.4%;
    border-image-width: 1em;
    border-image-outset: 0px;
    border-image-repeat: stretch;

    padding: calc(var(--gap-unit) * 2);
}

/* 画像で作る下線 */
.underline {
    border-image-source: url("../images/components/horizonline.svg");
    border-image-slice: 0% 0% 100% 0%;
    border-image-width: 2px;
    border-image-outset: 0px;
    border-image-repeat: stretch;

    padding-bottom: 0.25em;
}


/* 横棒入りのリスト ul,ol ／ li の中に span を2つ置く */
ul.list_lined,
ol.list_lined {
    padding: 0 0.5em;
}
ul.list_lined li,
ol.list_lined li {
    border-bottom: 1px solid #333;
    display: grid;
    grid-template-columns: 100%;
    grid-auto-rows: minmax(6vw, auto);
    align-items: center;
    justify-items: start;
    padding: 0.5rem;
}
ul.list_lined li span {
    justify-self: center;
}

@media screen and (min-width: 768px) {
    ul.list_lined,
    ol.list_lined {
        padding: 0 1rem;
    }
    ul.list_lined li,
    ol.list_lined li {
        grid-template-columns: 1fr minmax(calc(320px - 2rem),1fr);
    }
    ul.list_lined li span:first-child {
        justify-self: center;
    }
    ul.list_lined li span:last-child {
        justify-self: start;
    }
}


/* 横棒入りのリスト dl */
dl.list_lined {
    display: grid;
    grid-template-columns: 100%;
    grid-auto-rows: minmax(6vw, auto);
}
dl.list_lined dt,
dl.list_lined dd {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-weight: normal;
}
dl.list_lined dt {
    padding: 0.5em 1em;
}
dl.list_lined dd {
    padding: 0 1em 0.5em;
    border-bottom: 1px solid currentColor;
}

@media screen and (min-width: 768px) {
    dl.list_lined {
        grid-template-columns: 1fr minmax(calc(320px + 3rem),1fr);
    }
    dl.list_lined dt,
    dl.list_lined dd {
        border-bottom: 1px solid currentColor;
    }
    dl.list_lined dd {
        padding: 0.5em 1em;
        justify-content: start;
    }
}



/* 画像のボタン 配下に2枚同じサイズでimgを置く。マウスホバー時が先・通常時が後（スマホ用は1枚で良い）。別途width:100%;など幅を指定する。高さは1枚目の画像に依存する。 */
.link-btn {
    position: relative;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.link-btn img:nth-of-type(2){
    position: absolute;
    top: 0;
    left: 0;
    transition: .4s ease-in-out;
}

.link-btn img {
    display: block;
    width: 100%;
}

.link-btn:hover img:nth-of-type(2) {
    opacity: 0;
}


/* リード文（各ページ 文字サイズを統一する） */
.text_description {
    line-height: 1.75;
    font-size: 1.0rem;
}
@media screen and (min-width: 768px) {
    .text_description {
        line-height: 1.75;
        font-size: 1.2rem;
        max-width: 50rem;
        place-self: center;
    }
}


/* 改行位置の制御用 */
.ib {
    display: inline-block;
}





/* PCのみ／スマホのみ表示 */
.switch_sp {
    display: block;
}
.switch_sp_inline {
    display: inline;
}
.switch_pc {
    display: none;
}
.switch_pc_inline {
    display: none;
}
.br_pc {
    display: none;
}
.br_sp {
    display: block;
}
@media screen and (min-width: 768px) {
    .switch_sp {
        display: none;
    }
    .switch_sp_inline {
        display: none;
    }
    .switch_pc {
        display: block;
    }
    .switch_pc_inline {
        display: inline;
    }
    .br_pc {
        display: block;
    }
    .br_sp {
        display: none;
    }
}




/* 矢印 */
@media only screen and (min-width: 768px) {
    .btn_right_arrow1:hover::before {
        width: calc( 100% + 1.75em );
    }
    .btn_right_arrow1:hover::after {
        right: -1.75em;
    }

    .btn_right_arrow2:hover::before {
        width: calc( 100% + 1.75em );
    }
    .btn_right_arrow2:hover::after {
        right: -1.75em;
    }
    .btn_left_arrow2:hover::before {
        width: calc( 100% + 1.75em );
        left: -1.75em;
    }
    .btn_left_arrow2:hover::after {
        left: -1.75em;
    }
}

.btn_right_arrow1 {
    /*線の基点とするためrelativeを指定*/
    position: relative;
    /*リンクの形状*/
    color: #333;
    padding: 0 1.75em 0 0.25em;
    margin-right: 1.75em;
    margin-bottom: 4px;
    display: inline-block;
    text-decoration: none;
    outline: none;
}

.btn_right_arrow1::before {
    content: '';
    /*絶対配置で下線の位置を決める*/
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    /*下線の形状*/
    width: 100%;
    height: 1px;
    background: #333;
    /*アニメーションの指定*/
    transition: all 1.5s;
}

.btn_right_arrow1::after {
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    bottom: -2px;
    right: 0;
    /*矢印の形状*/
    width: 15px;
    height: 1px;
    background: #333;
    transform: rotate(35deg);
    transform-origin: right bottom;
    /*アニメーションの指定*/
    transition: all 1.5s;
}
/* スマホ時はアニメーション無し */
@media only screen and (max-width: 767.98px) {
    .btn_right_arrow1 {
        margin-right: 0;
    }
    .btn_right_arrow1::before {
        transition: initial;
    }
    .btn_right_arrow1::after {
        transition: initial;
    }
}

.btn_right_arrow2 {
    /*線の基点とするためrelativeを指定*/
    position: relative;
    /*リンクの形状*/
    color: #333;
    padding: 0;
    display: inline-block;
    text-decoration: none;
    outline: none;

    min-width: 3rem;
    min-height: 1.5rem;
}

.btn_right_arrow2::before {
    content: '';
    /*絶対配置で下線の位置を決める*/
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    right: 0;
    /*下線の形状*/
    width: 100%;
    height: 1px;
    background: #333;
    /*アニメーションの指定*/
    transition: all 1.5s;
}

.btn_right_arrow2::after {
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    bottom: 0.4rem;
    right: 0;
    /*矢印の形状*/
    width: 15px;
    height: 1px;
    background: #333;
    transform: rotate(35deg);
    transform-origin: right bottom;
    /*アニメーションの指定*/
    transition: all 1.5s;
}

.btn_left_arrow2 {
    /*線の基点とするためrelativeを指定*/
    position: relative;
    /*リンクの形状*/
    color: #333;
    padding: 0;
    display: inline-block;
    text-decoration: none;
    outline: none;

    min-width: 3rem;
    min-height: 1.5rem;
}

.btn_left_arrow2::before {
    content: '';
    /*絶対配置で下線の位置を決める*/
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    right: 0;
    /*下線の形状*/
    width: 100%;
    height: 1px;
    background: #333;
    /*アニメーションの指定*/
    transition: all 1.5s;
}

.btn_left_arrow2::after {
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    /*矢印の形状*/
    width: 15px;
    height: 1px;
    background: #333;
    transform: rotate(-35deg);
    transform-origin: left bottom;
    /*アニメーションの指定*/
    transition: all 1.5s;
}




/* Cookie同意バナー用 */
/* ボックスとモーダル背景のz-indexをヘッダーよりも大きい値に */
.cookie-consent-root {
    z-index: 2000;
}
.cookie-disable-interaction body::before {
    z-index: 1999;
}

/* モーダルのボックスの最大幅を広げる（ボタンの文字が改行されない程度に） */
.cookie-preferences-modal-content {
    max-width: 50em;
}

/* スマホ表示時にボタンの横並びを折り返す指定（英語だと横幅に収まるが、日本語ではそのままだと画面からはみ出してしまう） */
@media (max-width: 575.98px) {
    .cookie-consent-button-container button, .consent-layout-box-wide .cookie-consent-button-action, .consent-layout-bar .cookie-consent-button-action, .cookie-consent-button-container button.preferences-btn {
        flex-wrap: wrap;
    }
}

/* バナーを閉じるボタン */
.cookie-consent-close {
    background: var(--cc-button-text-color);
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--cc-card-text-color);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: 2rem;
    height: 2rem;

    position: absolute;
    top: 0;
    right: 0;
    margin: 1rem;
}

.cookie-consent-close:hover,
.cookie-consent-close:focus {
    color: var(--cc-card-text-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.cookie-consent-close svg {
    width: 1rem;
    height: 1rem;
}

/* バナー再表示ボタン */
.btn-cookie-consent-setting {
    position: absolute;
    bottom: 10%;
    left: 10%;
    z-index: 999;
    font-size: 1rem;
    color: #fff;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.66rem 1.5rem;
    border: 1px solid #fff8;
    background: #7EC8C0BB;
    border-radius: 5px;
    transition: all ease-in-out 0.5s;
}
@media (max-width: 575.98px) {
    .btn-cookie-consent-setting {
        bottom: 1rem;
        left: 1rem;
    }
}
.btn-cookie-consent-setting:hover {
    background: #ffff;
    color: #7EC8C0;
}
.btn-cookie-consent-setting:focus-visible {
    /* フォーカス時のアウトラインを表示する */
    outline-width: initial;
    outline-style: auto;
    outline-color: initial;
}
.btn-cookie-consent-setting:before {
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-color: #fff;
    mask-image: url("../images/components/icon_cookie.svg");
    mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    transition: all ease-in-out 0.5s;
}
.btn-cookie-consent-setting:hover:before {
    background-color: #7EC8C0;
}
