.midasi {
    font-family: 'Mochiy Pop P One', sans-serif;
}

.sawarabi {
    font-family: 'Sawarabi Gothic', sans-serif;
}

.noline {
    text-decoration: none;
}

.serif {
    font-family: 'Noto Serif JP', serif;
}

.style_add1 {
    background-color: rgba(0, 0, 0, 0.7)
}

.outline2,
.outline3 {
    text-shadow: 0 2px 4px #000;
}


.outline1 {
    text-shadow:
        0 0 2px rgba(46,56,66,0.8), /* 内側の薄いぼかし */
        0 2px 4px rgba(46,56,66,0.8); /* 外側の大きい影 */
}


#banner h2:before,
#banner h2:after {
  box-shadow: 0 2px 6px rgba(46,56,66,.6);
}


.shadow {
    filter: none;
    box-shadow: 0 0 10px rgba(6, 15, 35, 1);
}

.shadow2 {
    filter: none;
    box-shadow: 0 0 5px rgba(46, 56, 66, 1);
}

.color-darkblue {
    color: #2e3842;
}

.wrapper.style1 {
    background: linear-gradient(180deg, rgba(235, 242, 244, 1), rgba(168, 223, 230, 1) 92%);
    color: #072631;
    will-change: transform;
}

.add_text_block {
    background-color: #d8f545;
    border: 1px #9ab31e solid;
    border-radius: 10px;
    margin: 1em 2em;
    font-size: 0.8em;
    padding: 1em 3em;
    color: black;
}

#menu {
    background-color: #2e3842;
    !important;
}

.arrow_box_left {
    position: relative;
    margin: 0 0 20px 0;
    width: 90%;
    height: auto;
    background: #A3F3FF;
    padding: 1em;
    text-align: left;
    color: #000000;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.arrow_box_left:after {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    border-color: rgba(163, 243, 255, 0);
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 10px;
    border-right-width: 10px;
    margin-left: -10px;
    border-top-color: #A3F3FF;
    top: 100%;
    left: 7%;
}

.arrow_box_right {
    position: relative;
    margin: 0 0 40px 10%;
    width: 90%;
    height: auto;
    background: #ddd;
    padding: 1em;
    text-align: left;
    color: #000000;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.arrow_box_right:after {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-color: #ddd;
    top: 100%;
    left: 85%;
}

.button_ori1 {
    background-color: #072631;
    color: #ebf2f4 !important;
    border-radius: 5px;
    /* ← 角を2px丸く */
    transition: background-color 0.2s ease, color 0.2s ease;
    /* ← 変化を滑らかに */
}

.button_ori1:hover {
    background-color: #ebf2f4 !important;
    /* 背景を反転 */
    color: #072631 !important;
    /* 文字色を反転 */
}


.button_ori2 {
    background-color: #ff5942;
    color: #ebf2f4 !important;
    border-radius: 5px;
    /* ← 角を2px丸く */
    transition: background-color 0.2s ease, color 0.2s ease;
    /* ← 変化を滑らかに */
    border: none;
}

.button_ori2:hover {
    background-color: #ff8675 !important;
    /* 背景を反転 */
    color: #ebf2f4 !important;
    /* 文字色を反転 */
}

.button_ori3 {
    background-color: #072631;
    color: #ebf2f4 !important;
    border-radius: 5px;
    /* ← 角を2px丸く */
    transition: background-color 0.2s ease, color 0.2s ease;
    /* ← 変化を滑らかに */
    padding: 2px 6px;
}

.button_ori3:hover {
    background-color: #ebf2f4 !important;
    /* 背景を反転 */
    color: #072631 !important;
    /* 文字色を反転 */
}

a:has(.button_ori1),
a:has(.button_ori2),
a:has(.button_ori3) {
    border-bottom: none !important;
}
a .buttun_link{
    border: 1px dotted #072631;
}
.event-slider {
    position: relative;
    overflow: hidden;
}

.event-track {
    will-change: transform;
    display: flex;
    gap: 1.5em;
    /* ← カード間の隙間 */
    transition: transform 0.4s ease;
    padding-left: 7%;
    /* ← 最初もチラ見せ */
}

.event-card {
    min-width: 85%;
    /* ← ここを変更 */
    padding: 2em;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

/* ドット */

.event-dots {
    text-align: center;
    margin-top: 1em;
}

.event-dots button {
    width: 15px;
    height: 15px;
    /* ← 明示的に高さを与える */
    padding: 0;
    margin: 0 6px;

    border-radius: 50%;
    border: none;

    background: rgba(235, 242, 244, 0);
    cursor: pointer;
    box-shadow: none;

    display: inline-block;
    /* ← ボタンのレイアウト崩れ防止 */

    appearance: none;
    -webkit-appearance: none;
}

.event-dots button.active {
    background: #072631;
}

a [class^="button_ori"],
a [class^="button_ori"]::before,
a [class^="button_ori"]::after {
    border: none !important;
    outline: none !important;
}

a.button-link {
    border-bottom: none !important;
}

.qa-search {
    max-width: 500px;
    margin: 30px auto 0 auto;
    text-align: center;
}

.qa-search input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    font-family: "Sawarabi Gothic", sans-serif;
}

.qa-search input {
    color: #000 !important;
    background: #fff !important;
    -webkit-text-fill-color: #000;
}
/* モバイル専用（max-width 768px） */
@media screen and (max-width: 768px) {

    /* banner全体を画面高さに合わせる */
    #banner {
        min-height: 100vh; /* 画面より小さくならない */
        display: flex;
        flex-direction: column;
        justify-content: center; /* コンテンツ縦中央 */
        align-items: center;     /* 横中央 */
        padding-top: 2em;        /* 上下余白を調整 */
        padding-bottom: 2em;
    }

    /* innerの余白を調整（必要に応じて） */
    #banner .inner {
        margin-top: 0;
        margin-bottom: 0;
    }

    /* 画像の最大幅を画面幅に合わせる */
    #banner img {
        max-width: 80%;
        height: auto;
    }
}
body.is-mobile #three {
    background-image:
        linear-gradient(
            rgba(0,0,0,0.5),
            rgba(0,0,0,0.5)
        ),
        url("../../images/banner.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}
/* 初期位置（半分距離） */
.side-left {
    left: -70px;
}

.side-right {
    right: -70px;
}

/* 横移動＋回転のみ */
.side-chara {
    position: fixed;
    bottom: 15%;
    width: 120px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;   /* ← 追加 */
}
@keyframes peek-left {
    0% {
        transform: translateX(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        transform: translateX(0) rotate(45deg);
        opacity: 1;
    }
    80% {
        transform: translateX(0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translateX(-100px) rotate(0deg);
        opacity: 0;
    }
}

@keyframes peek-right {
    0% {
        transform: translateX(100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        transform: translateX(0) rotate(-45deg);
        opacity: 1;
    }
    80% {
        transform: translateX(0) rotate(-45deg);
        opacity: 1;
    }
    100% {
        transform: translateX(100px) rotate(0deg);
        opacity: 0;
    }
}

.side-left.show,
.side-right.show {
    visibility: visible;   /* ← 追加 */
}

.side-left.show {
    animation: peek-left 3.5s ease-in-out;
}

.side-right.show {
    animation: peek-right 3.5s ease-in-out;
}
body.is-mobile .side-chara {
    scale: 0.8;
}
.segway {
    position:relative;
    top: 0%;
    right: -20vw;
    width: 25vw;          /* 画面幅の25% */
    max-width: 500px;     /* デカくなりすぎ防止 */
    transform: translateY(0%);
    pointer-events: none;
    z-index: 9999;

    transition: transform 4s linear;
}

/* 移動中 */
.segway.run {
    transform: translate(-40vw,0);
}
#menu3 strong {
  color: #000 !important;
}