@charset "UTF-8";

/* 共通　ここから */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* =Basic HTML
-------------------------------------------------------------- */
html {
    font-size: 62.5%;
    overflow-y: scroll;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background-image: none !important;
}

body {
    font-size: 1.8rem;
    line-height: 1.6;
    font-family: Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
}

img {
    width: 100%;
    image-rendering: -webkit-optimize-contrast;
}

/* 共通　ここまで */



#main {
    position: relative;
}



/* ヘッダー　ここから */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px 16px 47px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 200px;
    margin-right: 30px;
    margin-left: 30px;
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 9999;
}

body.acc_check_view #header {
    position: relative;
}

body.acc_check_view #yonyon-kaso-bg {
    margin-top: 30px;
}

.logo {
    width: 273px;
    height: 69px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list ul {
    display: flex;
}

.nav-list ul li {
    margin-right: 50px;
}

.nav-list ul li a {
    font-weight: bold;
    color: #333;
}

.mainsite a {
    display: inline-block;
    padding: 20px 48px;
    border-radius: 40px;
    background: linear-gradient(to right, #FDC9A8, #FFE790, #FDC9A8, #FFE790);
    background-position: 0% 50%;
    background-size: 200% auto;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 0.3s ease-in-out;
}

.mainsite a:hover {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0);
    background-position: 100% 51%;
}

/* ヘッダー　ここまで */



/* ハンバーガーメニュー　ここから */
.bento {
    width: 42px;
    height: 42px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    margin: 0;
    display: none;
}

.bento-box {
    display: block;
    width: calc((100% - 8px) / 3);
    height: calc((100% - 8px) / 3);
    background: #006E8E;
}

/* リセットCSS */
.button {
    border-color: transparent;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.menu-btn {
    display: none;
}

/* ハンバーガーメニュー　ここまで */



/* fv　ここから */
.fv {
    height: 110vh;
    background-image: url(/img/yonyon/fv.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.fv p {
    width: 40%;
    position: absolute;
    top: 330px;
    right: 30px;
}

/* fv　ここまで */



/*ヨンヨンプロジェクトとは　ここから*/
#about {
    background-image: url(/img/yonyon/about-item2.png), url(/img/yonyon/bg-about.png);
    background-repeat: no-repeat, no-repeat;
    background-size: 450px 519px, 100% 100%;
    background-position: top 220px right -40px, center;
    margin-top: -30vh;
}

.about-flex {
    width: auto;
    margin: 0 auto;
    padding-top: 24vh;
    padding-bottom: 100px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.about-content {
    width: 60%;
    padding-left: 50px;
}

#about h2 {
    width: 489px;
    height: auto;
    margin-bottom: 40px;
}

.about-text {
    padding-left: 70px;
}

.about-text p {
    margin-bottom: 1.6rem;
    letter-spacing: 0.1rem;
}

.about-img {
    width: 40%;
}

/*ヨンヨンプロジェクトとは　ここまで*/

#know,
#enjoy,
#live {
    scroll-margin-top: 100px;
}


/*湯川村を知る　ここから*/
#know {
    background-image: url(/img/yonyon/know-item.png);
    background-repeat: no-repeat;
    background-size: 1366px 684px;
    background-position: top right;
    margin-top: -65px;
}

.know-content {
    width: 98%;
    text-align: center;
    padding-top: 160px;
    margin: 0 auto;
    margin-bottom: 110px;
}

#know h2 {
    display: inline-block;
    width: 350px;
    height: auto;
    margin: 0 auto;
    padding-left: 160px;
}

.know-text {
    margin-bottom: 50px;
    margin-left: 10px;
    margin-right: 10px;
    letter-spacing: 0.1rem;
}

.know-point {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.know-point ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
}

.know-point ul li {
    width: calc(92% / 3);
    position: relative;
    transition: all 0.3s ease-in-out;
}

.know-point ul li::before {
    content: "Point";
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    padding: 16px 20px;
    background-color: #006E8E;
    border-radius: 4px;
    position: absolute;
    top: -10px;
    left: -10px;
}

.know-point ul li.point1::before {
    content: "Point.1";
}

.know-point ul li.point2::before {
    content: "Point.2";
}

.know-point ul li.point3::before {
    content: "Point.3";
}

.know-point ul li.point4::before {
    content: "Point.4";
}

.know-point ul li.point5::before {
    content: "Point.5";
}

.know-point ul li a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.16);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

.know-point ul li a:hover img {
    opacity: 1;
}

.know-point ul li:has(a:hover) {
    scale: 0.9;
}

/*Point.1～5　ホバー無効化　ここから*/
.know-point ul li.point1 a {
    pointer-events: none;
}

.know-point ul li.point2 a {
    pointer-events: none;
}

.know-point ul li.point3 a {
    pointer-events: none;
}

.know-point ul li.point4 a {
    pointer-events: none;
}

.know-point ul li.point5 a {
    pointer-events: none;
}

/*Point.1～5　ホバー無効化　ここまで*/
.point-img {
    height: 180px;
    margin-bottom: 16px;
}

.point-img img {
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.point-ttl {
    margin-bottom: 6px;
}

.point-ttl h3 {
    font-size: 1.8rem;
}

.point-text {
    flex-grow: 1;
}

.point-text p {
    letter-spacing: 0.2rem;
}

/*湯川村を知る　ここまで*/



/* 「湯川を知る」のスライド　ここから */
.know__container {
    margin-bottom: 120px;
}

.know-slick {
    width: 100%;
    margin: 15px auto;
    position: relative;

    @include breakpoint(500px) {
        margin: 5% auto;
    }
}

.know-slick__item {
    margin-right: 20px;
    margin-left: 20px;
}

.know-slick__item img {
    height: auto;
    width: 100%;
    border-radius: 6px;
}

.know-slick button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}

button.slick-arrow {
    width: 30px;
    height: 30px;
    color: #fff;
    text-indent: -9999em;
    background-image: url(/img/yonyon/icon-prev.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
}

button.slick-next {
    background-image: url(/img/yonyon/icon-next.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: unset;
    right: 10%;
}

.know-slick_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 110px;
    background-color: #F1F2E6;
    border-radius: 6px;
    height: 100%;
    box-sizing: border-box;
}

.know-slick_img {
    width: 20%;
    height: auto;
}

.know-slick_text {
    width: 70%;
}

.know-slick_text h3 {
    margin-bottom: 10px;
}

.know-slick_text p {
    line-height: 2.8rem;
}

ul.slick-dots {
    display: flex;
    text-align: right;
}

ul.slick-dots li button {
    color: #fff;
    text-indent: -9999em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}

ul.slick-dots li {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #006E8E;
    margin-left: 7px;
    margin-right: 7px;
}

ul.slick-dots li.slick-active {
    background-color: #006E8E;
}

button.slide_stop,
button.slide_start {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
    width: 30px;
    height: 30px;
    color: #fff;
    text-indent: -9999em;
    background-image: url(/img/yonyon/icon-stop.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

button.slide_start {
    background-image: url(/img/yonyon/icon-play.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 8px;
}

.slick-btn-know {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-btn-know .dots {
    margin-right: 30px;
}

.slick-track {
    display: flex;
}

.slick-slide {
    height: auto !important;
}

/* 「湯川を知る」のスライド　ここまで */



/* 「湯川の四季」のスライド　ここから */
#shiki {
    margin-bottom: 130px;
}

.slide__content {
    width: auto;
    margin: 0 160px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.slide_flex_text {
    width: 40%;
}

.slide_flex_img {
    width: 40%;
}

.slider .slide__inner:nth-child(1) {
    background-image: url(/img/yonyon/bg-spring.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.slider .slide__inner:nth-child(2) {
    background-image: url(/img/yonyon/bg-summer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.slider .slide__inner:nth-child(3) {
    background-image: url(/img/yonyon/bg-autumn.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.slider .slide__inner:nth-child(4) {
    background-image: url(/img/yonyon/bg-winter.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#shiki button.slick-arrow,
#shiki button.slider-slide_stop,
#shiki button.slider-slide_start {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}

#shiki button.slick-next {
    right: 30px;
}

#shiki button.slick-prev {
    left: unset;
    right: calc(40% + 120px);
}

#shiki h2 {
    width: auto;
    margin-bottom: 10px;
    padding: 0;
}

#shiki p {
    letter-spacing: 0.2rem;
}

button.slider-slide_stop,
button.slider-slide_start {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
    width: 30px;
    height: 30px;
    color: #fff;
    text-indent: -9999em;
    background-image: url(/img/yonyon/icon-stop.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

button.slider-slide_start {
    background-image: url(/img/yonyon/icon-play.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 8px;
}

.slider-btn-shiki {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-btn-shiki .dots {
    margin-right: 30px;
}

ul.slider-dots {
    display: flex;
    text-align: right;
}

.slick-btn-shiki {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 16px;
}

.slick-btn-shiki .slider-dots {
    margin-right: 30px;
}

.slick-btn-shiki .slider-btnarea {
    margin-right: 30px;
}

.fuchidori {
    font-weight: bold;
    font-size: 7rem;
    color: rgba(0, 0, 0, 0);
    text-shadow: 3px 3px 0 #cd5;
    -webkit-text-stroke: 1px #333;
    text-stroke: 1px #333;
    padding: 0 0 10px;
    margin-left: 10px;
}

.fuchidori.fuchudori-pink {
    text-shadow: 3px 3px 0 #E88E8E;
}

.fuchidori.fuchudori-green {
    text-shadow: 3px 3px 0 #cd5;
}

.fuchidori.fuchudori-orange {
    text-shadow: 3px 3px 0 #EFD598;
}

.fuchidori.fuchudori-blue {
    text-shadow: 3px 3px 0 #9CC9F1;
}

/* 「湯川の四季」のスライド　ここまで */



/* 湯川村を楽しむ　ここから */
#enjoy {
    width: 98%;
    max-width: 1000px;
    margin: 0 auto;
}

.enjoy-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#enjoy h2 {
    width: 322px;
    height: 129px;
}

.enjoy-btn ul {
    display: flex;
    text-align: center;
}

.enjoy-btn ul li:not(:last-of-type) {
    margin-right: 20px;
}

.enjoy-img {
    width: 160px;
    height: auto;
}

.enjoy-btn ul li a {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.enjoy-btn ul li a:hover img {
    opacity: 1;
    animation: bounce 0.8s ease-out;
}

@keyframes bounce {
    0% {
        transform: translate(0, 0);
    }

    16.6% {
        transform: translate(0, -20px);
        animation-timing-function: ease-in;
    }

    33.3% {
        transform: translate(0, 0);
    }

    49.8% {
        transform: translate(0, -14px);
        animation-timing-function: ease-in;
    }

    66.4% {
        transform: translate(0, 0);
    }

    83% {
        transform: translate(0, -4px);
        animation-timing-function: ease-in;
    }

    100% {
        transform: translate(0, 0);
    }
}

/* 湯川村を楽しむ　ここまで */



/* 湯川村に住む　ここから */
#live {
    padding-top: 300px;
    padding-bottom: 140px;
    margin-top: -120px;
    background-image: url(/img/yonyon/bg-live.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.live-content {
    width: 98%;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    align-items: center;
}

.live-content-text {
    width: 50%;
}

.live-content-img {
    width: 50%;
    margin-right: 60px;
}

.live-content-img img {
    border-radius: 4px;
}

#live h2 {
    width: 256px;
    height: 114px;
    margin-bottom: 40px;
}

.live-content-text p {
    margin-bottom: 40px;
}

.morebtn a {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.2rem;
    padding: 20px 110px;
    border-radius: 40px;
    background-color: #006E8E;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, .16);
    transition: all 0.3s ease-in-out;
}

.morebtn {
    text-align: right;
}

.morebtn a:hover {
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0);
    transform: translateY(3px);
}

/* 湯川村に住む　ここまで */



/* ストライプの背景　ここから */
.stripe {
    background-image: url(/img/yonyon/bg-sub.png);
    background-repeat: repeat;
    background-size: 478px 338px;
    padding-top: 100px;
    padding-bottom: 60px;
}

/* ストライプの背景　ここまで */



/* お知らせ　ここから */
.section_information2,
.section_information {
    margin: 0;
    padding: 0;
    background: none;
    border-radius: unset;
}

#news {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 6px;
    padding: 30px;
    box-sizing: border-box;
    margin-bottom: 140px;
    position: relative;
}

#news::before {
    content: "";
    width: 260px;
    height: 316px;
    background-image: url(/img/yonyon/news-item.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: -150px;
    bottom: -110px;
}

.section_information h2,
#main_body .section_information h2 {
    background: none;
    margin: 0;
    margin-bottom: 50px;
    padding: 0;
    border-radius: unset;
    color: #333;
    font-size: 3rem;
    text-align: center;
}

.section_information_list_wrap {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    font-size: 1.8rem;
}

.section_information_list ul li {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #707070;
}

.section_information_list ul li>span.article_date {
    font-weight: bold;
    color: #006E8E;
}

.section_information_list ul li>span a {
    color: #333;
    text-decoration: none;
}

img.icon_new {
    display: none;
}

.link_box {
    margin-top: 50px;
    text-align: center;
}

.link_ichiran a {
    background-color: #006E8E;
    color: #fff;
    padding: 20px 110px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, .16);
    transition: all 0.3s ease-in-out;
}

.link_ichiran a::after {
    content: none;
}

.link_ichiran a:hover {
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0);
    transform: translateY(3px);
}

.section_information p.no_data {
    text-align: center;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* お知らせ　ここまで */



/* まいちゃん　ここから */
.maichan-content {
    padding-top: 80px;
    padding-bottom: 70px;
    background-image: url(/img/yonyon/noren.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    margin-bottom: 60px;
}

.maichan-content::after {
    content: "";
    width: 64px;
    height: 57px;
    background-image: url(/img/yonyon/noren-item.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    right: 110px;
    bottom: 20px;
}

.maichan-img {
    width: 131px;
    height: 168px;
}

.maichan-text {
    margin-left: 30px;
    font-size: 2rem;
}

p.maichan-name {
    font-weight: bold;
    margin-bottom: 10px;
}

/* まいちゃん　ここまで */



/* アクセス・村の詳細　ここから */
#access {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 80px;
    box-sizing: border-box;
    background-color: #F1F2E6;
    border-radius: 10px;
    position: relative;
}

#access::before {
    content: "";
    width: 205px;
    height: 122px;
    background-image: url(/img/yonyon/kakko.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 50%;
    top: -80px;
    transform: translateX(-50%);
}

.access-ue {
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.access-time {
    width: 40%;
}

.access-map {
    width: 50%;
}

.access-shita ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.access-shita ul li {
    text-align: center;
    padding: 10px;
    width: 160px;
    height: 160px;
    background-image: url(/img/yonyon/bg-gaiyo1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.access-shita ul li:nth-of-type(2) {
    background-image: url(/img/yonyon/bg-gaiyo2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.access-shita ul li:nth-of-type(3) {
    background-image: url(/img/yonyon/bg-gaiyo3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.access-shita ul li:nth-of-type(4) {
    background-image: url(/img/yonyon/bg-gaiyo4.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.access-shita ul li:nth-of-type(5) {
    background-image: url(/img/yonyon/bg-gaiyo5.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.access-shita ul li:nth-of-type(6) {
    background-image: url(/img/yonyon/bg-gaiyo6.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.access-shita ul li p {
    font-size: 2rem;
    line-height: normal;
    flex-grow: 1;
}

.access-shita ul li p.shosai-ttl {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* アクセス・村の詳細　ここまで */



/* フッター　ここから */
footer {
    padding-top: 55px;
    padding-bottom: 50px;
    background: linear-gradient(#E2F2F5, #fff);
}

.footer-content {
    width: 70%;
    margin: 0 auto;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-ttl {
    width: 273px;
    height: 69px;
    margin-bottom: 16px;
}

footer .mainsite a {
    padding-left: 82px;
    position: relative;
}

footer .mainsite a::before {
    content: "";
    width: 30px;
    height: 30px;
    background-image: url(/img/yonyon/logo-yugawa.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
}

.copyright {
    width: 70%;
    margin: 0 auto;
    font-size: 1.4rem;
}

/* フッター　ここまで */



/* トップへ戻る　ここから */
#page_top {
    width: 80px;
    height: 80px;
    position: fixed;
    z-index: 9999;
    right: 20px;
    bottom: 20px;
}

#page_top a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
}

#page_top a:hover img {
    opacity: 1;
}

#page_top a:hover {
    transform: rotateY(360deg);
}

#page_top.upmove {
    animation: UpAnime 0.3s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(150px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#page_top.downmove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(150px);
    }
}

/* トップへ戻る　ここまで */



/* 記事ページ　ここから */
#yonyon-kaso-area {
    background: linear-gradient(to right, #79CBD2, #E9F6ED);
}

#yonyon-kaso-bg {
    margin-top: 140px;
    padding-bottom: 100px;
    background: url(/img/yonyon/bg-kaso.png), #fff;
    background-repeat: repeat-y, no-repeat;
    background-size: 308px 938px, cover;
    background-position: top right -40px, center;
}

#yonyon-kaso-area #pankuzu_wrap {
    background: none;
    padding: 30px 0 40px 0;
}

#yonyon-kaso-area .pankuzu {
    width: 98%;
    max-width: 1000px;
    margin: 0 auto;
    padding-right: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

#yonyon-kaso-area .pankuzu .pankuzu_class {
    font-size: 1.6rem;
}

#yonyon-kaso-area .pankuzu:first-child .icon_current {
    background: #3C4D63;
    display: inline-block;
    padding: 6px 9px;
    width: unset;
    height: unset;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}

#yonyon-kaso-area #footstep_wrap {
    display: none;
}

/* h1 */
#yonyon-kaso-area #main_header {
    width: 98%;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 60px;
    background-color: #006E8E;
    border-radius: 10px;
    border: 4px solid #fff;
    box-sizing: border-box;
    box-shadow: 0px 0px 10px rgb(163, 185, 191);
}

#yonyon-kaso-area #main_header h1 {
    width: unset;
    font-size: 3rem;
    padding: 30px 40px;
}

#yonyon-kaso-area #main_header::after {
    content: unset;
}

#yonyon-kaso-area #main_header::before {
    content: "";
    display: block;
    position: absolute;
    left: -90px;
    top: -30px;
    width: 118px;
    height: 162px;
    background-image: url(/img/yonyon/item-h1-1.png);
    background-repeat: no-repeat;
    background-size: contain;
}

#yonyon-kaso-area #main_header::after {
    content: "";
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    width: 128px;
    height: 100%;
    background-image: url(/img/yonyon/item-h1-2.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#yonyon-kaso-area .col1layout {
    width: 98%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 40px 60px 40px;
    box-sizing: border-box;
    background-color: #fff;
    border: 2px solid #7DCCD3;
    border-radius: 10px;
}

/* h2 */
#yonyon-kaso-area .section_information2.acc_parent h2.acc_title,
#yonyon-kaso-area #sitemap_soshiki h2,
#yonyon-kaso-area #main_body h2 {
    padding: 24px 40px;
    background: #fff;
    border: 3px solid #006E8E;
    border-radius: 10px;
    font-size: 2.7rem;
    position: relative;
}

#yonyon-kaso-area .section_information2.acc_parent h2.acc_title:before,
#yonyon-kaso-area #sitemap_soshiki h2:before,
#yonyon-kaso-area #main_body h2:before {
    content: "";
    display: block;
    width: 71px;
    height: 81px;
    background-image: url(/img/yonyon/item-h2-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: -30px;
    top: -26px;
}

#yonyon-kaso-area .section_information2.acc_parent h2.acc_title:after,
#yonyon-kaso-area #sitemap_soshiki h2:after,
#yonyon-kaso-area #main_body h2:after {
    content: "";
    display: block;
    width: 74px;
    height: 93px;
    background-image: url(/img/yonyon/item-h2-2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    right: -36px;
    bottom: -20px;
}

/* h3 */
#yonyon-kaso-area #sitemap_soshiki h3,
#yonyon-kaso-area #main_body h3,
#yonyon-kaso-area .life_cat_list_ttl {
    padding: 24px 40px;
    background: #F1F2E6;
    border-radius: 6px;
    position: relative;
}

#yonyon-kaso-area #sitemap_soshiki h3:after,
#yonyon-kaso-area #main_body h3:after,
#yonyon-kaso-area .life_cat_list_ttl:after {
    content: "";
    display: block;
    width: 98%;
    height: 8px;
    background-image: url(/img/yonyon/item-h3.png);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;
}

/* h4 */
#yonyon-kaso-area #main_body h4 {
    background: #fff;
    border: 2px solid #2D8ABC;
    border-radius: 6px;
    padding: 20px 40px;
    font-size: 2rem;
    position: relative;
}

#yonyon-kaso-area #main_body h4::before {
    content: "";
    display: block;
    width: 36px;
    height: 36px;
    background-image: url(/img/yonyon/item-h4.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 2px;
    top: 2px;
}

/* h5 */
#yonyon-kaso-area #main_body h5 {
    border: none;
    border-bottom: 1px solid #707070;
    border-radius: unset;
    font-size: 1.8rem;
    padding: 18px 40px;
    position: relative;
}

#yonyon-kaso-area #main_body h5::before {
    content: "";
    display: block;
    width: 40px;
    height: 34px;
    background-image: url(/img/yonyon/item-h5.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 2px;
    top: 2px;
}

/* ul・ol・p */
#yonyon-kaso-area #main_body {
    font-size: 1.8rem;
}

#yonyon-kaso-area #main_body .detail_free ul,
#yonyon-kaso-area #main_body .detail_free ol,
#yonyon-kaso-area #main_body .detail_free p {
    margin: 1em 0px;
    letter-spacing: 0.2rem;
}

#yonyon-kaso-area #main_body .detail_free ul li,
#yonyon-kaso-area #main_body .detail_free ol {
    padding-left: 24px;
    position: relative;
}

#yonyon-kaso-area #main_body .detail_free ol {
    list-style: decimal;
}

#yonyon-kaso-area #main_body .detail_free ul li::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background: #BED896;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 0.7rem;
}

/* table */
#yonyon-kaso-area #main_body table {
    border-color: #707070;
    border-collapse: collapse;
    border-style: solid;
    margin: 0px 0px 20px;
    max-width: 100%;
}

#yonyon-kaso-area #main_body th {
    background: #F1F2E6;
    border-color: #707070;
    border-collapse: collapse;
    border-style: solid;
    border-width: 1px;
    padding: 0.5em;
}

#yonyon-kaso-area #main_body td {
    border-color: #707070;
    border-collapse: collapse;
    border-style: solid;
    border-width: 1px;
    padding: 0.5em;
}

/* 記事ページ　ここまで */



/* 小メニューページ　ここから */
#yonyon-kaso-area.yonyon-kaso-list .col1layout {
    background-color: unset;
    border: unset;
    padding: 0;
}

#yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul {
    display: block;
    width: 100%;
}

#yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li {
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 30px 40px;
    margin-bottom: 16px;
    box-sizing: border-box;
    background-color: #fff;
    border-bottom: none;
    outline: 2px solid #7DCCD3;
    border-radius: 10px;
    position: relative;
}

#yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li::after {
    content: "";
    display: block;
    width: 8px;
    height: 12px;
    background-image: url(/img/yonyon/item-list1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li span.article_date {
    margin-right: 20px;
}

#yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li a {
    display: inline-block;
    padding: 0;
    position: unset;
}

#yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li a::after {
    content: none;
}

#yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li:has(a:hover) {
    background: linear-gradient(to right, #79CBD2, #E9F6ED);
    background-repeat: no-repeat;
    outline: none;
}

/* 小メニューページ　ここまで */



/* 大メニューページ　ここから */
#yonyon-kaso-area.yonyon-kaso-dai .subsite_menu_list ul li {
    background: url(/img/yonyon/item-list2.png);
    background-repeat: repeat;
    background-size: 40px 40px;
    background-position: top right;
    background-color: #fff;
}

/* 大メニューページ　ここまで */



/* レスポンシブ　ここから */
@media (max-width: 1365px) {
    .fv p {
        width: 60%;
    }
}

@media (max-width: 1300px) {
    #news::before {
        width: 208px;
        height: 253px;
    }
}

@media (max-width: 1150px) {
    #header {
        padding: 16px 47px 16px 47px;
    }

    .bento {
        display: flex;
    }

    .bento span {
        transition: all 0.6s ease-in-out;
    }

    .menu-btn:checked~.bento span:nth-of-type(2),
    .menu-btn:checked~.bento span:nth-of-type(4),
    .menu-btn:checked~.bento span:nth-of-type(6),
    .menu-btn:checked~.bento span:nth-of-type(8) {
        opacity: 0;
        transform: rotate(180deg);
    }

    .nav {
        position: fixed;
        top: 120px;
        left: 30px;
        width: calc(100% - 60px);
        height: auto;
        background-color: rgba(255, 255, 255, 0.9);
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        transform: scale(1, 0);
        transform-origin: top;
        border-radius: 1000px;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
    }

    /* Hamburger menu button */
    .menu-btn:checked~.nav {
        transform: scale(1, 1);
        transform-origin: top;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    /* Hamburger menbu text */
    .nav li {
        padding: 15px 0;
        opacity: 0;
        transition: 0.5s;
    }

    .menu-btn:checked~.nav a,
    .menu-btn:checked~.nav li {
        opacity: 1;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
    }

    .fv {
        height: 100vh;
    }

    .fv p {
        width: 60%;
    }

    #know {
        background-size: 1092px 547px;
    }

    .footer-content {
        width: 90%;
    }

    .copyright {
        width: 90%;
    }

    #yonyon-kaso-area #main_header::before {
        width: 59px;
        height: 81px;
        top: -20px;
        left: -20px;
    }
}

@media (max-width: 1000px) {
    #about {
        background-image: url(/img/yonyon/bg-about.png);
        background-repeat: no-repeat;
        background-size: 200% 100%;
        background-position: left top;
        margin-top: -30vh;
    }

    .about-flex {
        flex-direction: column;
    }

    .about-content {
        width: 80%;
        padding: 0;
        z-index: 9;
    }

    .about-img {
        width: 80%;
        margin-top: -120px;
    }

    .about-text {
        padding: 0;
    }

    #about h2 {
        width: 391px;
    }

    #know h2 {
        width: 280px;
        padding-left: 120px;
    }

    .know-point ul li {
        width: calc(90% / 2);
    }

    .know-point ul li::before {
        font-size: 1.6rem;
        padding: 12px 16px;
    }

    .know-slick_content {
        flex-direction: column;
        padding: 30px;
    }

    .know-slick_img {
        width: 200px;
        margin-bottom: 20px;
    }

    .know-slick_text {
        flex-grow: 1;
    }

    .slide__content {
        flex-direction: column;
        margin: 0 100px;
    }

    .slide_flex_text {
        width: 100%;
        margin-bottom: 20px;
    }

    #shiki h2 {
        padding: 0;
        margin: 0;
        margin-bottom: 10px;
    }

    .slide_flex_img {
        width: 60%;
    }

    #shiki {
        margin-bottom: 80px;
    }

    #shiki button.slick-prev {
        right: unset;
        left: 30px;
    }

    .slider .slide__inner {
        background-size: 200% 130% !important;
    }

    .fuchidori {
        font-size: 6rem;
    }

    #enjoy h2 {
        width: 258px;
        height: 103px;
        margin-bottom: 40px;
    }

    .enjoy-content {
        flex-direction: column;
        align-items: center;
    }

    #live h2 {
        width: 205px;
        height: 91px;
    }

    .morebtn {
        text-align: center;
    }

    .morebtn a {
        font-size: 1.6rem;
        padding: 16px 80px;
    }

    .section_information h2,
    #main_body .section_information h2 {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .link_ichiran a {
        padding: 16px 80px;
    }

    #news::before {
        width: 200px;
        height: 242px;
        left: -100px;
        bottom: -120px;
    }

    .maichan-content {
        background-image: url(/img/yonyon/noren-sp.png);
    }

    .maichan-content::after {
        width: 51px;
        height: 46px;
    }

    .maichan-img {
        width: 105px;
        height: 134px;
        margin-left: 10px;
    }

    .maichan-text {
        font-size: 1.6rem;
        margin-right: 10px;
    }

    #access::before {
        width: 164px;
        height: 98px;
        top: -50px;
    }

    .mainsite a {
        padding: 16px 36px;
    }

    footer .mainsite a {
        padding-left: 72px;
    }

    footer .mainsite a::before {
        left: 30px;
    }

    .logo,
    .footer-ttl {
        width: 218px;
        height: 55px;
    }

    #yonyon-kaso-bg {
        margin-top: 110px;
    }

    #yonyon-kaso-area #main_header,
    #yonyon-kaso-area .col1layout,
    #yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li {
        width: auto;
        margin-left: 10px;
        margin-right: 10px;
    }

    #yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 850px) {
    .nav {
        flex-direction: column;
    }

    .nav-list ul li:last-of-type {
        margin: 0;
    }

    .slide_flex_img {
        width: 80%;
    }

    .live-content-img {
        margin-right: 30px;
    }

    .section_information_list_wrap {
        font-size: 1.6rem;
    }

    #access {
        padding: 60px 40px;
    }

    .access-shita ul li {
        width: 140px;
        height: 140px;
    }

    .access-shita ul li p {
        font-size: 1.6rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    footer .mainsite a {
        margin-top: 20px;
    }
}

@media (max-width: 670px) {
    #header {
        font-size: 1.6rem !important;
    }

    .acc_title+input[id*="acc_ttl_label"]+* {
        display: block;
    }

    div.section_information h2.section_information_ttl.acc_title label[for*="acc_ttl_label"] {
        padding: 0;
    }

    .section_information_list ul li a {
        font-weight: unset
    }

    .section_information_list {
        padding: 0;
    }

    #yonyon-kaso-area .pankuzu {
        padding-left: 6rem;
    }

    #yonyon-kaso-area .pankuzu:first-child .icon_current {
        font-size: 1.2rem;
        font-weight: unset;
        top: -4px;
    }

    #yonyon-kaso-area #main_header {
        margin-bottom: 40px;
    }

    #yonyon-kaso-area #main_header::before {
        width: 50px;
        height: 69px;
        top: -30px;
        left: -15px;
    }

    #yonyon-kaso-area #main_header h1 {
        font-size: 2.8rem;
        padding: 20px 30px;
    }

    #yonyon-kaso-area .col1layout {
        padding: 20px 20px 40px 20px;
    }

    #yonyon-kaso-area .section_information2.acc_parent h2.acc_title,
    #yonyon-kaso-area #sitemap_soshiki h2,
    #yonyon-kaso-area #main_body h2 {
        padding: 14px 30px;
        font-size: 2.4rem;
    }

    #yonyon-kaso-area .section_information2.acc_parent h2.acc_title:before,
    #yonyon-kaso-area #sitemap_soshiki h2:before,
    #yonyon-kaso-area #main_body h2:before {
        width: 50px;
        height: 57px;
        left: -18px;
        top: -16px;
    }

    #yonyon-kaso-area .section_information2.acc_parent h2.acc_title:after,
    #yonyon-kaso-area #sitemap_soshiki h2:after,
    #yonyon-kaso-area #main_body h2:after {
        width: 52px;
        height: 65px;
        right: -20px;
        bottom: -20px;
    }

    #yonyon-kaso-area #sitemap_soshiki h3,
    #yonyon-kaso-area #main_body h3,
    #yonyon-kaso-area .life_cat_list_ttl {
        font-size: 2.2rem;
        padding: 14px 30px;
    }

    #yonyon-kaso-area #sitemap_soshiki h3:after,
    #yonyon-kaso-area #main_body h3:after,
    #yonyon-kaso-area .life_cat_list_ttl:after {
        height: 5px;
        bottom: 5px;
    }

    #yonyon-kaso-area #main_body h4 {
        font-size: 1.8rem;
        padding: 10px 30px;
    }

    #yonyon-kaso-area #main_body h4::before {
        width: 24px;
        height: 24px;
    }

    #yonyon-kaso-area #main_body h5 {
        font-size: 1.6rem;
        padding: 8px 30px;
    }

    #yonyon-kaso-area #main_body h5::before {
        width: 28px;
        height: 24px;
    }

    #yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li {
        padding: 20px 30px;
    }

    #yonyon-kaso-area.yonyon-kaso-list .subsite_menu_list ul li::after {
        right: 10px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 1.6rem;
    }

    #header {
        padding: 10px 30px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .logo {
        width: 164px;
        height: 41px;
    }

    .bento {
        width: 30px;
        height: 30px;
    }

    .nav {
        top: 80px;
        left: 10px;
        width: calc(100% - 20px);
    }

    .nav-list ul {
        flex-direction: column;
    }

    .nav-list ul li {
        margin: 0;
        text-align: center;
    }

    .fv {
        height: 80vh;
    }

    .fv p {
        width: 70%;
        top: 230px;
        right: 10px;
    }

    #about h2 {
        width: 293px;
        margin-bottom: 20px;
    }

    .about-img {
        width: 60%;
        margin-top: -50px;
    }

    .point-img {
        margin: 0 auto;
        margin-bottom: 16px;
    }

    #know {
        background-size: 820px 410px;
    }

    #know h2 {
        width: 210px;
        padding-left: 100px;
    }

    .know-point ul li {
        width: 100%;
    }

    .know-slick_text {
        width: 100%;
    }

    button.slick-arrow {
        left: 10px;
    }

    button.slick-next {
        left: unset;
        right: 10px;
    }

    .slide__content {
        margin: 0px 60px;
    }

    .slide_flex_img {
        width: 80%;
    }

    #shiki h2 {
        padding: 0;
    }

    #shiki button.slick-next {
        right: 10px;
    }

    #shiki button.slick-prev {
        right: unset;
        left: 10px;
    }

    .fuchidori {
        font-size: 4rem;
    }

    #enjoy h2 {
        width: 193px;
        height: 77px;
    }

    .enjoy-btn ul li {
        width: calc(100% / 3);
    }

    .enjoy-btn ul li:not(:last-of-type) {
        margin-right: 10px;
    }

    .enjoy-img {
        width: 100%;
    }

    .enjoy-btn ul li a {
        font-size: 1.6rem;
    }

    #live {
        padding-top: 270px;
        padding-bottom: 80px;
        margin-top: -140px;
    }

    .live-content {
        flex-direction: column-reverse;
    }

    .live-content-text {
        width: 80%;
    }

    #live h2 {
        width: 154px;
        height: 68px;
        margin-bottom: 10px;
    }

    .stripe {
        padding-top: 60px;
    }

    #news {
        width: 90%;
        margin-bottom: 60px;
    }

    .section_information h2,
    #main_body .section_information h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    #news::before {
        width: 120px;
        height: 145px;
        left: -40px;
        bottom: -90px;
    }

    .link_ichiran a {
        font-size: 1.4rem;
        padding: 16px 60px;
    }

    .morebtn a {
        padding: 16px 60px;
    }

    .maichan-content {
        background-size: 170% 100%;
        background-position: top 20px center;
        padding-top: 90px;
        padding-bottom: 20px;
    }

    .maichan-content::after {
        content: unset;
    }

    .maichan-img {
        margin-right: auto;
    }

    .maichan-text {
        margin-left: 20px;
        margin-right: 20px;
    }

    #access {
        padding: 40px 10px;
    }

    #access::before {
        width: 98px;
        height: 59px;
        left: unset;
        right: -40px;
        top: -30px;
    }

    .access-ue {
        margin-bottom: 60px;
        flex-direction: column;
    }

    .access-time {
        width: 80%;
        margin-bottom: 30px;
    }

    .access-map {
        width: 80%;
    }

    #yonyon-kaso-bg {
        margin-top: 86px;
    }
}

@media (max-width: 400px) {
    .fv {
        height: 60vh;
    }

    .fv p {
        width: 80%;
        top: 160px;
    }

    #know {
        background-size: 546px 274px;
    }

    .know-content {
        padding-top: 90px;
    }

    #enjoy h2 {
        margin-bottom: 20px;
    }

    .access-shita ul li {
        width: 100%;
        height: 110px;
    }

    .access-shita ul li p.shosai-ttl {
        font-size: 1.6rem;
    }

    .access-shita ul li p {
        font-size: 1.6rem;
    }
}

/* レスポンシブ　ここまで */