#banner-campaign {
    width: 190px;
    position: fixed;
    z-index: 20;
    background-image: linear-gradient(180deg, rgba(221, 0, 127, 1), rgba(255, 233, 0, 1));
    padding: 5px;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    top: 80vh;
    right: 10px;
}

#banner-campaign.show {
    opacity: 1;
    transform: translateY(0);
}

.banner-campaign__content {
    background-color: #ffffff;
    display: inline-block;
    padding: 20px 5px 10px;
    position: relative;
    text-align: center;
}

.banner-campaign__content::after {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(../img/mizuhiki-2.webp);
    background-repeat: no-repeat;
    background-size: contain;
}

.banner-campaign__content img {
    margin-bottom: 5px;
}

.banner-campaign__countdown {
    font-weight: bold;
    color: #dd007f;
}


/*============
nav
=============*/
/* #navArea{
    position: fixed;
    top: 0;
} */
nav {
    display: block;
    position: fixed;
    top: 0;
    /* right: -100vw; */
    left: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: .7s all ease;
    opacity: 0;
    text-align: center;
    z-index: -10;
}

.open nav {
    /* right: 0; */
    opacity: 1;
    z-index: 50;
}

nav {
    padding: 25px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 60px;
    text-align: center;
    display: inline-block;
}

nav ul li {
    position: relative;
    margin: 0;
    /* border-bottom: 1px solid #333; */
}

nav ul li a {
    display: block;
    color: #333;
    font-size: 14px;
    padding: 1em;
    text-decoration: none;
    transition-duration: all 0.4s ease;
    font-size: 20px;
    font-weight: 600;
}

nav ul li a:hover {
    color: var(--color-pink);
}



/*============
@keyframes
=============*/
@keyframes equalizer01 {
    0% {
        width: 70%;
    }

    10% {
        width: 50%;
    }

    20% {
        width: 100%;
    }

    30% {
        width: 10%;
    }

    40% {
        width: 50%;
    }

    50% {
        width: 70%;
    }

    60% {
        width: 50%;
    }

    70% {
        width: 10%;
    }

    80% {
        width: 100%;
    }

    90% {
        width: 10%;
    }

    100% {
        width: 70%;
    }
}

@keyframes equalizer02 {
    0% {
        width: 30%;
    }

    10% {
        width: 20%;
    }

    20% {
        width: 40%;
    }

    30% {
        width: 10%;
    }

    40% {
        width: 20%;
    }

    50% {
        width: 30%;
    }

    60% {
        width: 20%;
    }

    70% {
        width: 10%;
    }

    80% {
        width: 40%;
    }

    90% {
        width: 10%;
    }

    100% {
        width: 30%;
    }
}

/*============
.toggle_btn
=============*/
.toggle_btn-box {
    position: relative;
}

.toggle_btn {
    display: block;
    position: fixed;
    /* position: absolute; */
    top: 30px;
    right: 30px;
    width: 60px;
    height: 30px;
    transform: translate(0, 0);
    transition: all .5s;
    cursor: pointer;
    z-index: 100;
}

/* .toggle_btn::before{
    content: '';
    display: inline-block;
    width: 110%;
    height: 110%;
    background: #ffffff;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 69% 31% 30% 70% / 35% 44% 56% 65%;
} */


/* .open .toggle_btn {
    left: 330px;
} */

.toggle_btn span {
    display: block;
    position: absolute;
    right: 0;
    width: 30px;
    height: 4px;
    background-color: var(--color-pink);
    transition: all .5s;
}

.toggle_btn span:nth-child(1) {
    top: 5px;
    width: 60px;
    animation: equalizer01 7000ms infinite;
}

.toggle_btn span:nth-child(2) {
    top: 15px;
    width: 30px;
    animation: equalizer02 5000ms infinite;
    animation-delay: 0.33s;
}

.toggle_btn span:nth-child(3) {
    top: 25px;
    width: 20px;
    animation: equalizer02 5000ms infinite;
}

.open .toggle_btn span {
    background-color: var(--color-pink);
    width: 30px;
}

.open .toggle_btn span:nth-child(1) {
    transform: translate(0, 10px) rotate(-45deg);
    animation: unset;
}

.open .toggle_btn span:nth-child(2) {
    opacity: 0;
    animation: unset;
}

.open .toggle_btn span:nth-child(3) {
    transform: translate(0, -10px) rotate(45deg);
    animation: unset;
}


/*============
#mask
=============*/
/* #mask {
    display: none;
}

.open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .8;
    z-index: 2;
    cursor: pointer;
    transition: all .5s;
} */

#tagline p {
    text-align: center;
    font-weight: 600;
}

@media screen and (min-width: 768px) {
    #tagline p {
        font-size: 18px;
    }
}


/*============
main-visual
=============*/
#main-visual {
    width: 100%;
}

#main-visual__bg {
    position: relative;
    width: 100%;
}

.kv-main {
    width: 100%;
    display: block;
}

@keyframes kvWiggleSoft1 {
    0% {
        transform: translateY(0) rotate(-2deg) scale(1);
    }

    20% {
        transform: translateY(-8px) rotate(2deg) scale(1.03);
    }

    40% {
        transform: translateY(0) rotate(-1deg) scale(1);
    }

    60% {
        transform: translateY(8px) rotate(1deg) scale(0.97);
    }

    80% {
        transform: translateY(0) rotate(2deg) scale(1);
    }

    100% {
        transform: translateY(0) rotate(-2deg) scale(1);
    }
}

@keyframes kvWiggleSoft1Delay {
    0% {
        transform: translateY(0) rotate(2deg) scale(1);
    }

    20% {
        transform: translateY(8px) rotate(-2deg) scale(0.97);
    }

    40% {
        transform: translateY(0) rotate(1deg) scale(1);
    }

    60% {
        transform: translateY(-8px) rotate(-1deg) scale(1.03);
    }

    80% {
        transform: translateY(0) rotate(-2deg) scale(1);
    }

    100% {
        transform: translateY(0) rotate(2deg) scale(1);
    }
}

.kv-parts {
    position: absolute;
    display: inline-block;
}

.soba-pc {
    width: 27.74317%;
    top: 20%;
    left: 0;
    animation: kvWiggleSoft1 7s ease-in-out infinite;
}

.zenzai-pc {
    width: 21.015215%;
    top: 22%;
    right: 2%;
    animation: kvWiggleSoft1Delay 7s ease-in-out infinite;
}

.title-pc {
    width: 92.186565%;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);

}

.soba-sp {
    width: 37%;
    top: 21%;
    left: -2%;
    animation: kvWiggleSoft1 7s ease-in-out infinite;
}

.zenzai-sp {
    width: 29.88%;
    top: 59%;
    right: -2%;
    animation: kvWiggleSoft1Delay 7s ease-in-out infinite;
}
@media screen and (max-width: 768px) {
    #main-visual {
    overflow: hidden;
}
}



/*============
tagline
=============*/
#tagline {
    position: relative;
    margin-bottom: 0;
    min-height: 500px;
}

#tagline::after {
    content: "";
    width: 250px;
    height: 250px;
    background-image: url(../img/corner-blue.png);
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
    background-position: bottom right;
    background-size: contain;
    /* transform: scale(-1, 1); */
}

#bg-gradation {
    width: 100%;
}

#tagline__text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#tagline__text-box img {
    width: 100%;
    max-width: 700px;
}

#tagline__text-box img.sp {
    width: 100%;
    max-width: 350px;
}

#tagline p {
    line-height: 2.5;
}

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


    #tagline::after {
        height: 150px;
    }
}



/*============
spot
=============*/
#spot {
    background-color: #ebfbff;
    padding: 50px 0 80px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

#spot::after {
    content: "";
    width: 250px;
    height: 250px;
    background-image: url(../img/corner-navy.png);
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    background-position: bottom right;
    transform: scale(-1, 1);
    background-size: contain;
}

#spot h2 {
    position: relative;
}


.pattern {
    position: absolute;
    /* z-index: 1; */
}

.spot__pattern-a {
    width: 400px;
    top: 100px;
    right: -50px;
}

.spot__pattern-b {
    width: 350px;
    top: 50%;
    left: -120px;
}

.spot__pattern-c {
    width: 200px;
    top: 20%;
    left: 30%;
}

#spot h2 img {
    width: 400px;
    max-width: 100%;
}

.spot__person-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
}

.person {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
}

.person__img {
    margin-bottom: 40px;
    max-width: 280px;
    position: relative;
    margin-bottom: 60px;
    cursor: pointer;
}

.person__img__switch {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 初期状態 - 絵画を表示 */
.person__img__switch.painting {
    opacity: 1;
    transform: translateX(-50%) scale(1) scaleX(1);
    z-index: 2;
}

.person__img__switch.photo {
    opacity: 0;
    transform: translateX(-50%) scale(1) scaleX(-1);
    z-index: 1;
}

/* アニメーション状態 - 絵画が消える */
.person__img__switch.painting.hide {
    opacity: 0;
    transform: translateX(-50%) scale(1) scaleX(-1);
    z-index: 1;
}

/* アニメーション状態 - 写真が現れる */
.person__img__switch.photo.show {
    opacity: 1;
    transform: translateX(-50%) scale(1) scaleX(1);
    z-index: 2;
}

.setsu .person__img__switch {
    top: 85px;
    max-height: 400px;
}

.yakumo .person__img__switch {
    top: 30px;
}

.person__text {
    text-align: justify;
    position: relative;
    line-height: 1.8;
}

.person__text__name {
    display: inline-block;
    margin-bottom: 5px;
}
#spot .btn{
    z-index: 10;
}

@media screen and (max-width: 768px) {
    #spot{
        padding-bottom: 115px;
    }
    .person {
        width: 90%;
    }

    #spot::after {
        height: 150px;
    }

    .spot__pattern-a {
        width: 250px;
    }

    .spot__pattern-c {
        left: 10%;
    }
}

/*============
junrei
=============*/
#junrei {
    background-color: #3b4475;
    padding: 50px 0 0px;
    color: #ffffff;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

#junrei h2 {
    position: relative;
}

.junrei__pattern-a {
    width: 250px;
    top: 20px;
    right: -50px;
}

.junrei__pattern-b {
    width: 350px;
    top: 70px;
    left: -100px;

}

.junrei__pattern-c {
    width: 350px;
    bottom: 70px;
    right: -100px;

}

#junrei p {
    margin-bottom: 40px;
    /* font-weight: 600; */
}

#junrei h2 img {
    width: 250px;
    max-width: 100%;
}

.seichi-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 0 auto 20px;
    gap: 10px;
}

.seichi {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.seichi__img {
    position: relative;
    perspective: 1000px;
    margin-bottom: 10px;
    aspect-ratio: 475/285;
    width: 400px;
    max-width: 100%;
}

.seichi__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    backface-visibility: hidden;
    transition: transform 0.8s ease-in-out;
}

.seichi__img img:hover {
    cursor: pointer;
}

/* 最初の画像（絵画）- 初期状態で表示 */
.seichi__img img:first-child {
    transform: rotateY(0deg);
    z-index: 2;
}

/* 2番目の画像（写真）- 初期状態で裏向き */
.seichi__img img:last-child {
    transform: rotateY(-180deg);
    z-index: 1;
}

/* ひっくり返った状態 */
.seichi__img.flipped img:first-child {
    transform: rotateY(180deg);
    z-index: 1;
}

.seichi__img.flipped img:last-child {
    transform: rotateY(0deg);
    z-index: 2;
}

.seichi span {
    display: block;
    text-align: center;
    margin-top: 10px;
}

.seichi span {
    font-size: 20px;
    margin-top: -10px;
}


@media screen and (max-width: 768px) {
    .seichi {
        width: 100%;
    }

    .junrei__pattern-b {
        top: 50%;
    }

    .junrei__pattern-c {
        width: 300px;
    }
}

/*============
gourmet
=============*/
#gourmet {
    background: linear-gradient(to bottom, #3b4475 100px, #ffffe1 100px);
    padding: 30px 0 80px;
    position: relative;
    overflow: hidden;
}

/* #gourmet::before{
    position: absolute;
    content: "島根の美味、\Aばけもの級";
    width: 330px;
    height: 300px;
    background-color: #ffffe1;
    border-radius: 50%;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    white-space: pre;
    padding-top: 40px;
    font-size: 20px;
    font-weight: 600;
line-height: 1.2;
} */
.gourmet__pattern-a {
    top: 200px;
    width: 300px;
    right: -50px;
    z-index: 5;
}

.gourmet__pattern-b {
    width: 300px;
    top: 115px;
    left: -10px;
    z-index: 5;
}

.gourmet__pattern-c {
    width: 450px;
    bottom: -50px;
    left: -50px;
}

#gourmet .bimi {
    display: inline-block;
    width: 330px;
    height: 100px;
    background-color: #ffffe1;
    clip-path: ellipse(50% 100% at 50% 100%);
    padding-top: 30px;
    font-size: 20px;
    font-weight: 600;
}


#gourmet h2 {
    position: relative;
}

#gourmet h2 img {
    width: 350px;
}

#gourmet h2+p {
    position: relative;
    margin-bottom: 50px;
    /* font-weight: 600; */
}

.gourmet-bpx {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.gourmet-bpx .gourmet {
    width: calc((100% - 40px) / 3);
}

.gourmet__img {
    width: 100%;
    aspect-ratio: 3/2;
    position: relative;
}

.gourmet__img__before,
.gourmet__img__after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    /* アニメーションを適用 */
    animation-duration: 10s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-iteration-count: infinite;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.gourmet__img__before {
    z-index: 2;
    animation-name: gourmetFadeBefore;
}

.gourmet__img__after {
    z-index: 1;
    animation-name: gourmetFadeAfter;
}

@keyframes gourmetFadeBefore {
    0% {
        opacity: 1;
    }

    35% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }

    85% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes gourmetFadeAfter {
    0% {
        opacity: 0;
    }

    35% {
        opacity: 0;
    }

    55% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.gourmet__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: solid 5px #000;
    box-sizing: content-box;
}

.gourmet__name {
    margin: 10px 0;
    font-weight: 600;
    font-size: 20px;
}

.gourmet__text {
    text-align: left;
    line-height: 1.8;
}

.gourmet {
    position: relative;
}

.gourmet a {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .gourmet-bpx .gourmet {
        width: 100%;
        margin-bottom: 20px;
    }

    .gourmet__name {
        margin-bottom: 0;
    }

    .gourmet__pattern-a {
        top: 50%;
    }

    .gourmet__pattern-b {
        top: 200px;
        left: -100px;
    }

    .gourmet-bpx {
        margin-bottom: 20px;
    }
}

/*============
kankounavi
=============*/
#kankounavi {
    padding: 50px 0 70px;
    position: relative;
}

#kankounavi::after {
    content: "";
    width: 150px;
    height: 150px;
    background-image: url(../img/corner-yelllow.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    background-position: top left;
    background-size: contain;
}

.kankounavi__banner a {
    /* border: solid 2px #ccc; */
    padding: 10px;
}

.kankounavi__banner img {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border: solid 2px #9f8f59;
}

@media screen and (max-width: 768px) {
    #kankounavi::after {
        width: 100px;
        height: 100px;
    }
}

/*============
campaign
=============*/
#campaign {
    background-color: #FCF7FC;
    padding: 40px 0 70px;
    position: relative;
    overflow: hidden;
}

.campaign__pattern-a {
    width: 300px;
    top: 60px;
    left: 10px;

}

.campaign__pattern-b {
    width: 300px;
    bottom: -20px;
    right: -100px;
}

.campaign__pattern-c {
    width: 300px;
    top: 20%;
    left: -20px;
}

.campaign__pattern-d {
    width: 250px;
    top: 50px;
    right: -50px;
}


#campaign h2 {
    color: var(--color-pink);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

#campaign h2 img {
    width: 100%;
    max-width: 400px;
    z-index: 5;
}

#campaign .date {
    font-size: 20px;
    margin-bottom: 25px;
}

#campaign .date span {
    font-size: 30px;
}

#campaign .date+p {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.8;
}




@media screen and (max-width: 768px) {
    .campaign__pattern-a {
        width: 150px;
    }

    .campaign__pattern-b {
        width: 250px;
    }

    .campaign__pattern-d {
        display: none;
    }

    .campaign__pattern-c {
        width: 200px;
    }
}

/*============
movie
=============*/
#movie {
    padding: 50px 0 80px;
}

#movie h2 {
    letter-spacing: -2px;
}

.movie-box img {
    max-height: 300px;
}

/* .movie-box {
    height: 400px;
    max-height: 90svh;
    width: auto;
    aspect-ratio: 3/2;
    margin: 0 auto;
    max-width: 100%;
    background-color: #000;
    color: #ffffff;
    position: relative;
} */

/* .movie-box span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    animation: blink 2s ease-in-out infinite alternate;
} */



@-webkit-keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}




/*============
access
=============*/
#access {
    padding-bottom: 70px;
    position: relative;
}

#access::after {
    content: "";
    width: 150px;
    height: 200px;
    background-image: url(../img/corner-yelllow.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right top;
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

#access h2 {
    letter-spacing: -2px;
}

.access__map {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 40px;
    position: relative;
    perspective: 1000px;
}

.map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: opacity 1s ease-in-out;
    border: solid 5px #000;
}

/* 両方の地図を同じz-indexで重ねて配置 */
.map-old {
    z-index: 2;
    opacity: 1;
    position: relative;
}

.map-old img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.map-old p{
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 13px;
    font-weight: 600;
    padding-left: 10px;
}

.map-new {
    z-index: 2;
    opacity: 0;
}

.map-new iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* アニメーション状態 - 新しい地図を表示 */
.access__map.show-new .map-new {
    opacity: 1;
}

.access__map.show-new .map-old {
    opacity: 0;
}

/* アニメーション状態 - 新しい地図を表示 */
.access__map.show-new .map-new {
    opacity: 1;
    z-index: 3;
}

#access ul {
    display: inline-block;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    /* font-weight: 600; */
}

#access ul li {
    margin-bottom: 10px;
}




.from {
    display: inline-block;
    position: relative;
    padding-left: 20px;
    width: 16em;
}

.from::before {
    position: absolute;
    content: "";
    background-image: url(../img/hinotama-b.webp);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0px;
}

.access-table td {
    width: 60%;
}

.access-table td span {
    color: #f3982b;
}

@media screen and (max-width: 925px) {
    .from {
        display: block;
        margin: 25px 0 10px;
    }
}

/*============
特設サイトバナー
=============*/
#banner-kankou-special {
    text-align: center;
    margin-bottom: 50px;
    background: #ffffe1;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

#banner-kankou-special .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 350px;
    position: relative;
}

#banner-kankou-special a {
    display: inline-block;
    position: relative;
}

#banner-kankou-special a::before,
#banner-kankou-special a::after {
    content: "";
    display: inline-block;
    position: absolute;
}

#banner-kankou-special a::before {
    background-image: url(../img/asanoha-pink.webp);
    background-size: contain;
    bottom: -150px;
    left: -150px;
    filter: brightness(0) saturate(100%) invert(69%) sepia(78%) saturate(2459%) hue-rotate(8deg) brightness(98%) contrast(105%);
    width: 300px;
    height: 300px;
    opacity: .45;
}

#banner-kankou-special a::after {
    background-image: url(../img/ichimatsu-yellow.webp);
    background-size: contain;
    top: -40px;
    right: -150px;
    width: 250px;
    height: 250px;
}

#banner-kankou-special img {
    width: 100%;
    max-width: 600px;
    border: solid 2px #9f8f59;
    position: relative;
    z-index: 10;
}

#banner-kankou-special img.pattern {
    width: 300px;
    height: 300px;
    top: -8%;
    left: 10%;
    border: none;
}

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

    #banner-kankou-special,
    #banner-kankou-special .inner {
        min-height: 250px;
    }
}
#banner-kankou-special a::before {
    width: 250px;
    height: 250px;
}

#banner-kankou-special a::after {
    background-image: url(../img/ichimatsu-yellow.webp);
    background-size: contain;
    top: -40px;
    right: -150px;
    width: 200px;
    height: 200px;
}





/*============
footer
=============*/
footer {
    text-align: center;
    padding-bottom: 30px;
    margin-top: auto;
}

.footer__logo img {
    width: 100px;
    margin-bottom: 10px;
}

.shimaneken img {
    width: 100px;
    margin-bottom: 20px;
}

.inquiry-policy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;

}
.footer__titile{
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
}

/*============
ヘッダー
=============*/
.lower header {
    padding: 30px;
}

.header-logo img {
    width: 200px;
}

.lower h2 {
    background-color: #3b4475;
    color: #ffffff;
    padding: 30px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .lower h2 {
        padding: 20px;
    }
}

/*============
プライバシーポリシー
=============*/
#page-policy main {
    margin-bottom: 50px;
}

#page-policy .inner div {
    margin-bottom: 30px;
}

#page-policy main a {
    color: #3b4475;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#page-policy p {
    line-height: 1.8;
}

#page-policy h3 {
    color: #3b4475;
    font-weight: 600;
}

/*============
キャンペーンページ
=============*/
#coupon {
    display: flex;
    background-color: #ffffff;
    width: 340px;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    margin: 30px auto;
    border: solid 2px #000;
    transform: rotate(-5deg);
    position: relative;
    animation: flameWobble 3s infinite ease-in-out;
}

#coupon img {
    width: 100px;
}

#coupon p {
    font-size: 30px;
}

#campaign-form h3,
#agreement h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background-color: var(--color-pink);
    font-weight: 600;
    position: relative;
    padding: 7px 25px;
    font-size: 20px;
    width: 270px;
    height: 50px;
    margin: 0 auto 40px;

}

#campaign-form h3::before,
#agreement h3::before {
    position: absolute;
    content: "";
    background-image: url(../img/hinotama-c.webp);
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: contain;
    left: -13px;
    top: -30px;
    animation: flameWobble 3s infinite ease-in-out;
}


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

    20% {
        transform: rotate(5deg);
    }

    40% {
        transform: rotate(-1deg);
    }

    60% {
        transform: rotate(1deg);
    }

    80% {
        transform: rotate(-1deg);
    }

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




#page-campaign .inner {
    position: relative;
    padding-bottom: 50px;
}

#campaign-overview {
    margin-bottom: 70px;
    background-color: #FCF7FC;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.campaign__pattern-a,
.campaign__pattern-b,
.campaign__pattern-c,
.campaign__pattern-d {
    position: absolute;
}

#page-campaign .campaign__pattern-a {
    width: 270px;
    top: 25%;
    left: -30px;
}

#page-campaign .campaign__pattern-b {
    width: 300px;
    bottom: 83px;
    right: -100px;
}

#page-campaign .campaign__pattern-d {
    width: 300px;
    top: 2%;
}

#campaign-overview .mizuhiki {
    width: 100%;
    /* max-width: 700px; */
}

.campaign-overview__text {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 20px;
    font-weight: 600;
}

.campaign-overview__text .fs {
    font-size: 30px;
    color: var(--color-pink);
}

.campaign-overview__text__name {
    font-size: 35px;
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    line-height: 1.3;
}

.campaign-overview__text__date {
    display: inline-block;
    margin-bottom: 50px;
    font-size: 30px;
    /* color: white;
    background-color: #000; */
}

.campaign-overview__facility {
    margin: 20px auto 50px;
    background-color: #ffffff;
    padding: 55px 20px 30px;
    position: relative;
    box-shadow: 3px 3px #ccc;
    /* border-radius: 20px; */
}

.campaign-overview__facility p {
    color: #ffffff;
    background-color: var(--color-pink);
    font-weight: 600;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    /* padding: 7px 25px; */
    font-size: 20px;
    width: 270px;
    height: 50px;
    /* text-align: center; */
    display: flex;
    justify-content: center;
    align-items: center;
}



#campaign-overview ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px 0;
    width: 100%;
    max-width: 920px;
    font-weight: 600;
}

#campaign-overview ul li {
    display: inline-block;
    position: relative;
    padding: 0 20px;
    text-align: left;
}

#campaign-overview ul li::before {
    position: absolute;
    content: "";
    background-image: url(../img/hinotama-c.webp);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0px;
}

#agreement {
    background: #fcf7fc;
    padding: 70px 30px;
    margin-bottom: 50px;
}

#agreement .inner {
    background: #ffffff;
    padding-top: 50px;
    padding-bottom: 50px;
    box-shadow: 3px 3px #ccc;
}

.agreement__text {
    text-align: left;
    font-size: 14px;
    line-height: 1.4 !important;
}

.agreement__text p {
    line-height: 1.4;
}

#agreement h4 {
    margin-top: 20px;
}

/* フォーム */
input:hover,
label:hover {
    cursor: pointer;
}

input[type="text"],
textarea {
    caret-color: auto;
    color: #222;
    /* 入力文字色も明示的に指定 */
    background: #fff;
    /* 必要に応じて背景色も指定 */
    opacity: 1;
    pointer-events: auto;
}

.required {
    font-size: 13px;
    color: #ffffff;
    display: inline-block;
    margin-right: 5px;
    background-color: var(--color-pink);
    padding: 3px 5px;
    border-radius: 2px;
}

#page-inquiry .required {
    background-color: #3b4475;
}

#campaign-form {
    position: relative;
}

#campaign-form a,
#agreement a {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--color-pink);
}

#campaign-form a:hover,
#agreement a:hover {
    color: var(--color-pink);
}

#campaign-form::before,
#campaign-form::after {
    content: "";
    position: absolute;
}

#campaign-form::before {
    width: 150px;
    height: 150px;
    background-image: url(../img/corner-pink-2.png);
    background-repeat: no-repeat;
    position: absolute;
    top: -70px;
    left: 0;
    background-position: top left;
    background-size: contain;
}

#campaign-form::after {
    width: 150px;
    height: 150px;
    background-image: url(../img/corner-pink-1.png);
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
    background-position: bottom right;
    background-size: contain;
}

.campaign-form__howto {
    margin-bottom: 40px;
}

#campaign-form form {
    text-align: left;
}

fieldset {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: solid 1px #ccc;
}

form .answer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    background-color: #ffffff;
    border: solid 2px var(--color-pink);
    border-radius: 50%;
}

.form-check-input:checked {
    background: linear-gradient(138deg, rgba(221, 0, 127, 1) 10%, rgba(255, 233, 0, 1) 100%);
}

.form-check-input[type="checkbox"] {
    border-radius: 2px;
    border: solid 2px var(--color-pink) !important;
}

form input[type="text"] {
    border: solid 1px;
}

#campaign-form .question {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

input::placeholder,
textarea::placeholder {
    color: rgb(124, 122, 122);
}


.other-input {
    margin-top: 10px;
    display: none;
}


.other-input.show {
    display: block;
    width: 100%;
}

.other-input textarea {
    width: 100%;
    padding: 10px;
    border: solid 1px #ccc;
}

#form-information {
    border-bottom: solid 1px #ccc;
    margin-bottom: 40px;
    margin-top: 40px;
    text-align: left;
}

#form-information fieldset {
    border-bottom: none;
}

#form-information label {
    width: 12em;
    font-weight: 600;
}

#form-information input,
#form-information textarea {
    padding: 5px 10px;
    border: solid 1px #ccc;
}

#inquiry-form #form-information input,
#inquiry-form #form-information textarea {
    border: solid 1px #3b4475;
}

.form-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-information__mail input {
    width: calc(100% - 12em - 10px);
}

.address {
    width: calc(100% - 12em - 10px);
}

.address input {
    width: 100%;
    margin-bottom: 10px;
}

.form-information__consent input {
    width: 1rem;
    height: 1rem;
    background-color: #ffffff;
    border: solid 2px var(--color-pink);
    margin-right: 5px;
    padding: 0 !important;
}



.form-submit,
.form-back {
    text-align: center;
}

.form-back {
    margin-bottom: 10px;
}


.formrun-system-show {
    color: red;
    font-size: 14px;
    width: 100%;

}

.confirm-text {
    text-align: center;
    font-size: 25px;
    line-height: 1.5;
    margin-bottom: 30px;
    background: #000000;
    color: #ffffff;
    padding: 15px 0;
    font-weight: 600;
}

#inquiry-form {
    margin-bottom: 70px;
}

.form-information__details textarea {
    width: calc(100% - 12em - 10px);
    border: solid 1px;
}

.data-formrun-back-button {
    width: 300px;
    background-color: #3b4475;
    margin-bottom: 20px;
    display: inline-block;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 20px;
}



@media screen and (max-width: 960px) {
    #campaign-overview ul {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 690px) {
    #campaign-overview ul {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .campaign-overview__text__name {
        font-size: 24px;
    }

    #coupon {
        width: 320px;
    }

    .campaign-overview__text__date {
        line-height: 1.3;
        font-size: 25px;
    }

    #form-information label,
    #form-information input,
    #form-information textarea,
    .address {
        width: 100%;
    }

    input::placeholder {
        font-size: 13px;
    }

    .form-check-input[type="checkbox"] {
        width: 1rem !important;
    }
}

/* サンクス */
#thanks {
    height: 100dvh;
    z-index: 1000;
    width: 100%;
    position: fixed;
    top: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    text-align: center;
    display: none;
}

#thanks .hikari {
    font-size: 30px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--color-pink);
}