@charset "UTF-8";

/* ----------共通項目---------- */

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
}

p,
li,
address,
table,
dt,
dd {
    line-height: 150%;
    font-size: 1.6rem;
    letter-spacing: var(--letterspacing-detail, 0.05em);
}

body {
    font-size: 1.6rem;
    font-family: "Noto Sans JP", sans-serif, "Hiragino Kaku Gothic ProN", Meiryo;
    color: #333;
}

body.menu-open {
    overflow: hidden;
}

ul {
    list-style: none;
}

a:link {
    color: #333;
    text-decoration: none;
}

a:hover,
a:focus {
    opacity: 0.6;
}

a:visited {
    color: #333;
}

a[href^="tel:"] {
    color: inherit !important;
    text-decoration: none !important;
}

:focus-visible {
    outline: -webkit-focus-ring-color auto 1px;
}

#footstep_wrap {
    display: none;
}

#mymainback {
    width: 100%;
    padding: 0;
}

.tpl_side1 #main_a {
    padding-left: 0;
}

.w_1300 {
    max-width: 1300px;
    margin: 0 auto;
}

.tpl_side1 #main {
    width: 100%;
}

.d_flex {
    display: flex;
}

/* セクションタイトル */

.title_s {
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
}

.title_s h2 {
    position: relative;
    font-size: 4.8rem;
    font-family: "Noto Serif JP", serif, "Hiragino Mincho ProN";
    font-weight: 300;
    display: inline;
    letter-spacing: 0.1rem;
}

.title_s h2::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #00345C;
    bottom: -0.6rem;
}

/* もっと見るボタン */

.section_information_list div.link_box {
    padding: 0;
    justify-content: center;
}

.link_ichiran a {
    position: relative;
    padding: 0 40px 0 0;
    border: none;
    background-color: transparent;
    font-size: 1.6rem;
    border-radius: 0;
}

.link_ichiran a::before {
    content: "";
    width: 26px;
    height: 26px;
    right: 0;
    background: url(/img/kanko/more_arrow.png) no-repeat center/100%;
    border: none;
}

.link_ichiran a::after {
    content: none;
}

.link_ichiran a:hover::before {
    right: 0;
    background: url(/img/kanko/more_arrow.png) no-repeat center/100%;
}

/* swiper */

.swiper {
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.swiper_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.swiper-pagination {
    position: inherit;
    width: auto !important;
}

.swiper-pagination-bullet {
    margin: 0 10px !important;
    width: 15px;
    height: 15px;
    background: #fff;
    border: solid 1px #00345C;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #00345C;
}

.swiper-button-prev,
.swiper-button-next,
.swiper-toggle {
    position: inherit;
    margin-top: 0;
    width: 28px;
    height: 28px;
    border-radius: 40px;
    background: #fff;
    border: solid 1px #00345C;
}

.swiper-button-next {
    transform: scaleX(-1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    content: "";
    width: 12px;
    height: 12px;
    background: url(/img/kanko/swiper_arrow.png) center / contain no-repeat;
}

.swiper-toggle {
    background-image: url(/img/kanko/swiper_stop.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.swiper_btn .swiper-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
}



/* スライド無効化時の中央寄せスタイル */
.kl_swiper.is-center-aligned {
    /* 子要素 (.swiper-wrapper) を水平中央に寄せる */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* 縦方向はグリッドの開始位置に合わせる */
}

/* 中央寄せされたwrapperのスタイル */
.kl_swiper.is-center-aligned .swiper-wrapper.non-swiper-wrapper {
    /* グリッドコンテナのサイズを、中の要素の合計サイズに合わせる */
    width: auto;
    max-width: fit-content;
    margin: 0 auto;
}

/* ----------ヘッダー---------- */

#headerKanko {
    position: relative;
    background-color: #C6BB9D;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

#headerKanko::before {
    position: absolute;
    content: "";
    width: 537px;
    height: 100%;
    background-color: #00345C;
    clip-path: polygon(0 0, 60% 0, 100% 100%, 0% 100%);
}

#headerKanko .siteLogo {
    z-index: 1;
}

#headerKanko .siteLogo h1 {
    padding: 14px 0 14px 40px;
}

#headerKanko .siteLogo h1 img {
    max-width: 280px;
    display: block;
}

#headerKanko nav {
    padding: 14px 40px 14px 0;
    align-items: center;
    gap: 4rem;
    z-index: 2;
}

#headerKanko nav ul {
    gap: 2.8rem;
}

#headerKanko nav ul li a {
    font-size: 1.8rem;
    gap: 6px;
    align-items: center;
}

#headerKanko nav ul li a:hover {
    opacity: 0.6;
}

#headerKanko nav ul li a img {
    max-height: 18px;
}

#top_search_keyword #cse-search-box {
    display: flex;
}

#top_search_keyword #tmp_query {
    height: 36px;
    border: solid 1px #000053;
    border-radius: 5px 0 0 5px;
    box-sizing: border-box;
}

#top_search_keyword #submit {
    padding: 0 10px;
    height: 36px;
    background: #000053;
    border: solid 1px #000053;
    border-radius: 0 5px 5px 0;
    color: #fff;
}

/* ハンバーガー */

.hamburger {
    position: fixed;
    padding: 0 10px;
    width: 46px;
    height: 46px;
    border-radius: 5px;
    border: solid 1px #00345C;
    background: #fff;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    z-index: 100;
    right: 20px;
    display: none;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: #00345C;
    transition: all 0.4s ease;
}

.hamburger span:nth-child(2) {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* --- 開いた状態（×になる） --- */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ----------メインビジュアル---------- */

.ms_pic {
    position: relative !important;
    width: 100%;
    height: 100%;
    margin-top: -1px;
    background: url(/img/kanko/bg00.jpg) center / cover no-repeat;
    overflow: hidden;
}

.ms_pic::After {
    content: "";
    position: absolute;
    width: 25%;
    min-width: 280px;
    aspect-ratio: 241/103;
    top: 4rem;
    left: 3rem;
    background-image: url(/img/kanko/message.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.ms_pic .swiper-instance {
    display: grid;
    grid-template-columns: 31% 53% 31%;
    align-items: end;
    justify-content: center;
    gap: 8rem;
}

.ms_pic .swiper {
    padding-bottom: 0;
    display: block;
    width: 100%;
}

.ms_pic .ms_swiper,
.ms_pic .ms_swiper3 {
    clip-path: polygon(0% 75%, 0% 25%, 50% 0%, 100% 25%, 100% 75%, 50% 100%);
    aspect-ratio: 20 / 23;
    margin-bottom: -18% !important;
}

.ms_pic .ms_swiper2 {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    aspect-ratio: 41 / 33;
}

.ms_pic .ms_swiper .swiper-wrapper,
.ms_pic .ms_swiper3 .swiper-wrapper {
    aspect-ratio: 20 / 23;
}

.ms_pic .ms_swiper2 .swiper-wrapper {
    aspect-ratio: 41 / 33;
}

.ms_pic .swiper-slide {
    height: 100% !important;
    transition-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1) !important;
}

.ms_pic .swiper-slide p {
    width: 100% !important;
    height: 100% !important;
}

#main .ms_pic .swiper-slide p img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.ms_pic .swiper_btn_wrapper {
    position: absolute;
    width: 100%;
    bottom: 30px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

/* ページネーション全体とその子要素に対するマウス操作を無効化 */
.ms_pic .swiper-pagination,
.ms_pic .swiper-pagination-bullet {
    pointer-events: none !important;
    cursor: default !important;
}

/* ----------ピックアップ---------- */

.scPickup {
    padding-top: 8rem;
    background: url(/img/kanko/bg01.jpg);
    background-size: contain;
}

.scPickup .title_s h2 {
    position: relative;
}

.scPickup .title_s h2::after {
    content: "";
    position: absolute;
    width: 45%;
    aspect-ratio: 39/16;
    background: url(/img/kanko/pickup_deco.png) no-repeat;
    background-size: 100%;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
}

.pu_swiper .swiper_wrapper {
    gap: 2rem;
}

.pu_swiper .swiper-wrapper .swiper-slide {
    flex-direction: column;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    position: relative;
}

.pu_swiper .swiper-wrapper .swiper-slide p {
    display: inline-block;
    line-height: 1;
}

.pu_swiper .swiper-wrapper .swiper-slide p img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.pu_swiper .swiper-wrapper .swiper-slide p a {
    display: block;
    padding: 40px 17px 15px;
}

.pu_swiper .swiper-wrapper .swiper-slide p a:before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
}

.pu_swiper .swiper-wrapper .swiper-slide p a::after {
    content: "";
    position: absolute;
    width: calc(100% - 34px);
    height: 1px;
    background: #B3A47C;
    bottom: 4.6rem;
    display: block;
}

/* スライド0.5枚分はみ出し処理 */
.scPickup .swiper-instance2 {
    overflow: hidden;
}

.pu_swiper {
    width: 110%;
}

.pu_swiper .swiper_btn {
    width: calc(100% / 1.1);
}

@media screen and (max-width: 767px) {

    .pu_swiper {
        width: 100%;
    }

    .pu_swiper .swiper_btn {
        width: 100%;
    }
}

/* 複製分ページネーション処理 */
.pu_swiper .swiper-pagination-clickable .swiper-pagination-bullet.origin {
    display: none !important;
}

/* ----------お知らせ---------- */

.scOshirase {
    padding-top: 150px;
    justify-content: space-between;
}

.scOshirase .scOshirase_n {
    min-width: 60%;
}

.scOshirase_n .section_information_list_wrap {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.16);
    padding: 60px 54px;
}

.scOshirase_n .section_information_list ul {
    padding: 0;
    flex-direction: column;
}

.scOshirase_n .section_information_list ul li {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #B3A47C;
}

.scOshirase_n .section_information_list ul li>span.article_date {
    padding-bottom: 20px;
}

.scOshirase_n .section_information_list .link_box {
    margin-top: 36px;
    justify-content: center;
}

.scOshirase .scOshirase_l {
    padding-top: 130px;
    width: 30%;
    flex-direction: column;
    gap: 4rem;
}

.scOshirase .scOshirase_l li {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.scOshirase .scOshirase_l li a img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* ----------桑折町の魅力---------- */
.scMiryoku {
    background: url(/img/kanko/bg03.png) no-repeat center bottom 15%;
}

.scMiryokuAbout {
    position: relative;
    margin-top: 140px;
    padding: 164px 0 300px;
    background: #00345c;
    color: #fff;
}

.scMiryokuAbout::before {
    content: "";
    position: absolute;
    width: 100%;
    aspect-ratio: 30/1;
    top: -1px;
    left: 0;
    background: url(/img/kanko/bg02.png) no-repeat bottom/cover;
}

.scMiryokuAbout .scMiryoku_inner {
    justify-content: space-between;
    align-items: center;
}

/* 献上桃の郷 */

.scKenjoM {
    padding-right: 90px;
    width: 600px;
    height: 550px;
    max-width: 50%;
    background: url(/img/kanko/map_koori.png) no-repeat top center/contain;
}

.scMiryoku h2 {
    text-align: center;
}

.scKenjoM h3 {
    margin: 120px 0 24px;
    font-family: "Noto Serif JP", serif, "Hiragino Mincho ProN";
    font-size: 3.2rem;
    font-weight: 300;
    color: #F6D888;
    align-items: center;
}

.scKenjoM h3::after {
    content: "";
    height: 1px;
    background-color: #fff;
    flex: 1;
    margin-left: 24px;
}

.scKenjoM p {
    line-height: 2;
}

.scKenjoM .link_box {
    text-align: right;
}

.scKenjoM .link_ichiran {
    padding-bottom: 8px;
}

.scKenjoM .link_ichiran a {
    position: relative;
    display: inline-block;
    color: #fff;
}

.scKenjoM .link_ichiran a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #fff;
    right: inherit;
    top: inherit;
    left: -1px;
    bottom: -8px;
    border-top: none;
    border-right: none;
    transform: none;
    transition: none;
}

/* 四季スライダー */

.scKoriShiki {
    width: 40%;
}

.shiki-wrapper {
    position: relative;
    margin-right: 10px;
}

.shiki-wrapper::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 10px;
    left: 10px;
    border: solid 1px #fff;
    border-radius: 5px;
    box-sizing: border-box;
}

/* 季節ごとの色 */
.shiki-wrapper.spring::before {
    border-color: #FF809E;
}

/* 桜色 */
.shiki-wrapper.summer::before {
    border-color: #008CF8;
}

/* 水色 */
.shiki-wrapper.autumn::before {
    border-color: #BB8800;
}

/* オレンジ */
.shiki-wrapper.winter::before {
    border-color: #ffffff;
}

/* 冬の青 */

.shiki-wrapper::after {
    content: "";
    position: absolute;
    width: 68px;
    height: 68px;
    top: -34px;
    right: -10px;
    background: #fff;
    border-radius: 5px;
    z-index: 1;
    font-size: 38px;
    font-weight: 300;
    text-align: center;
}

/* 季節ごとの色 */
.shiki-wrapper.spring::after {
    content: "春";
    color: #FF809E;
}

.shiki-wrapper.summer::after {
    content: "夏";
    color: #008CF8;
}

.shiki-wrapper.autumn::after {
    content: "秋";
    color: #888800;
}

.shiki-wrapper.winter::after {
    content: "冬";
    color: #00345C;
}

.scKoriShiki img {
    width: 100%;
    border-radius: 5px;
    position: relative;
    display: block;
    z-index: 1;
}

.scKoriShiki .controls {
    margin-top: 30px;
    align-items: center;
    gap: 2rem;
}

.scKoriShiki .controls button {
    width: 36px;
    height: 36px;
    border-radius: 5px;
    background: #fff;
    border: none;
    font-size: 1.6rem;
}

/* 季節ごとの色 */
.scKoriShiki .controls button.spring {
    color: #FF809E;
}

.scKoriShiki .controls button.summer {
    color: #008CF8;
}

.scKoriShiki .controls button.autumn {
    color: #888800;
}

.scKoriShiki .controls button.winter {
    color: #00345C;
}

/* 紹介 */

.scMiryokuList {
    margin-top: -185px;
}

.scMiryokuList ul {
    flex-direction: column;
}

.scMiryokuList ul li {
    display: flex;
    justify-content: flex-start;
}

.scMiryokuList ul li .scMiryokuList_inner {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.scMiryokuList ul li:nth-child(even) {
    justify-content: flex-end;
}

.scMiryokuList ul li:nth-child(even) .scMiryokuList_inner {
    flex-direction: column-reverse;
}

.scMiryokuList ul li:nth-child(n+2) {
    margin-top: -190px;
}

.scMiryokuList .pic_area {
    position: relative;
    margin-right: 10px;
}

.scMiryokuList .pic_area::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 10px;
    left: 10px;
    border: solid 1px #C1B185;
    border-radius: 5px;
    box-sizing: border-box;
}

.scMiryokuList .pic_area img {
    position: relative;
    width: 100%;
    border-radius: 5px;
    display: block;
}

.scMiryokuList .text_area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scMiryokuList .text_area h3 {
    font-family: "Noto Serif JP", serif, "Hiragino Mincho ProN";
    font-size: 2.4rem;
    font-weight: 300;
    color: #00345C;
    align-items: center;
}

.scMiryokuList .text_area h3::after {
    content: "";
    height: 1px;
    background-color: #00345C;
    flex: 1;
    margin-left: 24px;
}

.scMiryokuList .link_box {
    text-align: right;
}

.scMiryokuList .link_ichiran {
    padding-bottom: 8px;
}

.scMiryokuList .link_ichiran a {
    position: relative;
    display: inline-block;
}

.scMiryokuList .link_ichiran a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #C0153E;
    right: inherit;
    top: inherit;
    left: -1px;
    bottom: -8px;
    border-top: none;
    border-right: none;
    transform: none;
    transition: none;
}

/* 背景 */

.BackImage {
    margin-top: 40px;
    padding: 175px 0 100px;
    background: url(/img/kanko/bg04.jpg) no-repeat top center/cover;
}

/* ----------SNSエリア---------- */

.scSocial {
    justify-content: space-between;
}

/* Instagram */

.scSocialIg {
    width: 45%;
}

.eapps-instagram-feed-posts-item-visible.eapps-instagram-feed-posts-item-loaded {
    margin: 0;
    border-radius: 10px;
}

.scSocialIg .IgLink {
    margin-top: 30px;
}

.scSocialIg .IgLink a {
    font-size: 2.4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.scSocialIg .IgLink a img {
    width: 40px;
    height: 40px;
}

/* YouTube */

.scSocialYt {
    min-width: 45%;
    width: 45%;
}

.scSocialYt .scSocialYt_inner {
    position: relative;
    width: calc(100% - 10px);
}

.scSocialYt .scSocialYt_inner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 10px;
    left: 10px;
    border: solid 1px #00345C;
    border-radius: 5px;
    z-index: 0;
    box-sizing: border-box;
}

.scSocialYt .detail_movie {
    position: relative;
    z-index: 1;
}

.scSocialYt iframe {
    border-radius: 5px;
    display: block;
    width: calc(100%);
    height: auto;
    aspect-ratio: 16 / 9;
}

.scSocialYt .YtLink {
    margin-top: 46px;
}

.scSocialYt .YtLink a {
    display: flex;
    justify-content: center;
}

.scSocialYt .YtLink a img {
    display: block;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

/* 関連リンク */

.scKanren {
    margin-top: 100px;
}

.scKanren .swiper-wrapper .swiper-slide {
    display: flex;
    justify-content: center;
}

.scKanren img {
    object-fit: contain;
}

.scKanren .swiper_btn {
    margin: 0 auto;
}

.scKanren .swiper {
    padding-bottom: 0;
}

/* ----------フッター---------- */

#footer {
    padding-top: 50px;
    background: #00345C;
    border-top: solid 4px #C0153E;
    color: #fff;
}

#footer .footer_inner {
    justify-content: center;
    gap: 120px;
}

#footer .footer_flex_left .footerLogo {
    margin-bottom: 30px;
}

#footer .footer_flex_left dl dt {
    margin-bottom: 8px;
    font-size: 2rem;
}

#footer .footer_flex_left dl dd {
    flex-direction: column;
    gap: 8px;
}

#footer .footer_flex_right {
    align-items: flex-end;
}

#footer .footer_flex_right ul {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 14px;
}

#footer .footer_flex_right ul li {
    border-bottom: solid 1px #fff;
}

#footer .footer_flex_right ul li a {
    padding: 0 52px 6px 0;
    display: block;
    position: relative;
    color: #fff;
}

#footer .footer_flex_right ul li a::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background: url(/img/kanko/more_arrow.png) no-repeat center / 100%;
    right: 0;
}

#footer_flex_left dl dd p {
    color: #fff;
}

#copyright {
    margin-top: 50px;
    background: #B3A47C;
}

#copyright p {
    padding: 4px 0;
    font-size: 1.4rem;
    color: #333;
    text-align: center;
}

#toTopBtn {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    position: fixed;
    right: 50px;
    bottom: 30px;
    background: none;
    border: none;
    z-index: 9999;
}

/* ボタンを表示するクラス */
#toTopBtn.is-visible {
    opacity: 1;
    visibility: visible;
}

#toTopBtn:hover,
#toTopBtn:focus {
    opacity: 0.6;
}

@media screen and (max-width: 1600px) {

    #headerKanko nav {
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 1rem;
    }

}

@media screen and (max-width: 1366px) {

    .hamburger {
        display: flex;
    }

    #headerKanko nav {
        position: fixed;
        padding: 100px 60px 60px;
        height: 100%;
        top: 0;
        right: 0;
        border-radius: 5px 0 0 5px;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 4rem;
        background-image: url(/img/kanko/kasou_bg.jpg);
        background-repeat: repeat;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        opacity: 0;
        pointer-events: none;
        transform: translateX(100%);
        transition: all 0.8s ease;
        visibility: hidden;
    }

    #headerKanko nav ul {
        flex-direction: column;
        gap: 4rem;
    }

    #headerKanko nav ul li a img {
        width: 30px;
        object-fit: contain;
    }

    #top_search_keyword #tmp_query {
        width: 220px;
    }

    /* 表示切り替え */
    #headerKanko nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
        visibility: visible;
        overflow: scroll;
    }

    .scOshirase,
    .scMiryokuAbout .scMiryoku_inner,
    .scMiryokuList,
    .scSocial {
        max-width: calc(100% - 40px);
    }

}

@media screen and (max-width: 1080px) {

    #mymainback {
        margin: 0;
    }

    .section_information_list div.link_box span a {
        font-size: 1.6rem;
    }

    .scOshirase .scOshirase_l {
        gap: 2rem;
    }

}

@media screen and (max-width: 991px) {

    .title_s {
        margin-bottom: 4rem;
    }

    .title_s h2 {
        font-size: 3.8rem;
    }

    .scOshirase {
        flex-direction: column;
        width: calc(100% - 40px);
        padding-top: 80px;
    }

    .scOshirase_n .section_information_list ul li {
        margin: 0;
    }

    .scOshirase_n .section_information_list ul li>span.article_date {
        padding-bottom: 6px;
    }

    .scOshirase_n .section_information_list .link_box {
        margin-top: 20px;
    }

    .scOshirase .scOshirase_l {
        padding-top: 60px;
        width: 100%;
        align-items: center;
    }

    .scOshirase .scOshirase_l li {
        width: 450px;
        max-width: 50%;
    }

    .scMiryoku {
        background: url(/img/kanko/bg03.png) no-repeat center bottom 240px / 60% 60%;
    }

    .scMiryokuAbout {
        margin-top: 80px;
        padding: 120px 0 180px;
    }

    .scMiryokuAbout .title_s h2 img {
        width: 86%;
    }

    .scMiryokuAbout .scMiryoku_inner {
        width: calc(100% - 40px);
        flex-direction: column;
    }

    .scKenjoM {
        width: 100%;
        max-width: 600px;
        padding-right: 0;
    }

    .scKenjoM h3 {
        font-size: 2.8rem;
    }

    .scKoriShiki {
        width: 100%;
        max-width: 600px;
        margin-top: 100px;
    }

    .scKoriShiki .controls {
        justify-content: center;
    }

    .scMiryokuList {
        width: calc(100% - 20px);
        margin-top: -80px;
    }

    .scMiryokuList ul {
        gap: 6rem;
    }

    .scMiryokuList ul li {
        justify-content: center;
    }

    .scMiryokuList ul li:nth-child(n+2) {
        margin-top: 0;
        justify-content: center;
    }

    .scMiryokuList ul li .scMiryokuList_inner {
        width: 100%;
        max-width: 600px;
    }

    .scMiryokuList ul li:nth-child(even) .scMiryokuList_inner {
        flex-direction: column;
    }

    .scMiryokuList .text_area h3 {
        font-size: 2.2rem;
    }

    .BackImage {
        margin-top: 80px;
        padding: 80px 0;
    }

    .scSocial {
        flex-direction: column;
        gap: 6rem;
    }

    .scSocialIg,
    .scSocialYt {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
    }

    .scSocialIg .IgLink {
        margin-top: 20px;
    }

    .scSocialIg .IgLink a {
        font-size: 1.8rem;
        gap: 1rem;
        align-items: center;
    }

    .scSocialIg .IgLink a img {
        width: 24px;
        height: 24px !important;
    }

    .scSocialYt .scSocialYt_inner {
        display: inline-block;
    }

    .scSocialYt .YtLink {
        margin-top: 30px;
    }

    .scKanren {
        width: calc(100% - 40px);
        margin-top: 6rem;
    }

    #footer .footer_inner {
        width: calc(100% - 40px);
        margin: 0 auto;
        gap: 4rem;
        flex-direction: column;
    }

}

@media screen and (max-width: 767px) {

    .swiper_btn {
        gap: 14px;
    }

    .swiper-pagination-clickable .swiper-pagination-bullet {
        margin: 0 7px !important;
    }

    #headerKanko::before {
        max-width: 80%;
    }

    #headerKanko .siteLogo h1 {
        max-width: calc(100% - 60px);
        padding: 14px 0 14px 20px;
    }

    #headerKanko .siteLogo h1 img {
        width: 100%;
    }

    #headerKanko nav {
        padding: 100px 24px 60px;
    }

    .hamburger {
        right: 10px;
    }

    .ms_pic::After {
        top: 2rem;
        left: 1rem;
    }

    .ms_pic .swiper-instance {
        grid-template-columns: 100%;
        justify-content: center;
    }

    .ms_pic .swiper {
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        aspect-ratio: 41 / 33;
        margin-bottom: 0 !important;
    }

    .ms_pic .ms_swiper2,
    .ms_pic .ms_swiper3 {
        display: none;
    }

    .ms_pic .swiper-wrapper {
        height: auto !important;
    }

    .scPickup .swiper-instance2 {
        width: calc(100% - 20px);
        margin: 0 auto;
    }

    .scOshirase {
        width: calc(100% - 20px);
    }

    .scOshirase_n .section_information_list_wrap {
        padding: 20px;
    }

    .scOshirase .scOshirase_l {
        padding-top: 40px;
        gap: 2rem;
    }

    .scMiryokuAbout .scMiryoku_inner {
        width: calc(100% - 20px);
    }

    .shiki-wrapper::after {
        width: 48px;
        height: 48px;
        font-size: 28px;
        top: -24px;
    }

    .scSocial {
        width: calc(100% - 20px);
    }

    .scKanren {
        width: calc(100% - 20px);
    }

    #toTopBtn {
        right: 10px;
        bottom: 20px;
    }

    #toTopBtn img {
        width: 40px;
    }

}

@media screen and (max-width: 479px) {

    p,
    li,
    address,
    table,
    dt,
    dd {
        font-size: 1.4rem;
    }

    .title_s {
        margin-bottom: 3rem;
    }

    .title_s h2 {
        font-size: 2.4rem;
    }

    .link_ichiran a {
        font-size: 1.4rem;
        padding: 0 30px 0 0;
    }

    .link_ichiran a::before {
        width: 20px;
        height: 20px;
    }

    .ms_pic .swiper_btn_wrapper {
        bottom: 10px;
    }

    .scOshirase {
        padding-top: 60px;
    }

    .scOshirase .scOshirase_l li {
        width: 100%;
        max-width: inherit;
    }

    .section_information_list div.link_box span a {
        font-size: 1.4rem;
    }

    .scMiryokuAbout .title_s h2 img {
        width: 58%;
    }

    .scKoriShiki {
        margin-top: 0;
    }

    .scMiryokuList .text_area h3 {
        font-size: 1.8rem;
    }

    .scSocialIg .IgLink a {
        font-size: 1.4rem;
    }

    .scSocialYt .scSocialYt_inner {
        width: calc(100% - 10px);
    }

    #footer .footer_flex_left .footerLogo img {
        width: 50%;
    }

    #footer .footer_flex_left dl dt {
        font-size: 1.8rem;
    }

    #footer .footer_flex_left dl dd {
        gap: 4px;
    }

    #footer .footer_flex_right ul {
        width: 100%;
    }

    #footer .footer_flex_right ul li a::before {
        width: 20px;
        height: 20px;
    }

}


/* 追加2026年1月8日 */
/* ---------- 検索窓（Googleカスタム検索）の調整 ---------- */

/* 1. 検索窓全体のコンテナ */
#top_search_keyword {
    width: 220px;
    z-index: 10;
}

/* 2. GCSE全体の枠・背景の初期化 */
#top_search_keyword .gsc-control-cse {
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
}

#top_search_keyword .gsc-search-box {
    margin-bottom: 0 !important;
}

/* 3. 入力エリアの親ボックス（枠線と角丸の定義） */
#top_search_keyword .gsc-input-box {
    height: 36px !important;
    border: solid 1px #000053 !important;
    /* 紺色の枠線 */
    border-radius: 5px 0 0 5px !important;
    /* 左側のみ角丸 */
    background-color: #ffffff !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

/* 4. 入力欄本体（Googleロゴを表示させるための設定） */
#top_search_keyword input.gsc-input {
    height: 30px !important;
    /* 親ボックスより少し小さく */
    padding: 0 10px !important;
    background: none !important;
    /* 白塗りにせず、Googleの透かしロゴを通す */
    text-indent: 0 !important;
    font-size: 1.4rem !important;
    box-sizing: border-box !important;
}

/* 5. 検索ボタンのスタイル */
#top_search_keyword button.gsc-search-button {
    height: 36px !important;
    min-width: 50px !important;
    background-color: #000053 !important;
    /* 紺色の背景 */
    border: solid 1px #000053 !important;
    border-radius: 0 5px 5px 0 !important;
    /* 右側のみ角丸 */
    margin: 0 !important;
    padding: 0 15px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 6. ボタン内の虫眼鏡アイコン（白） */
#top_search_keyword button.gsc-search-button svg {
    fill: #ffffff !important;
    width: 18px;
    height: 18px;
}

/* 7. 不要な要素（クリアボタン等）の非表示 */
#top_search_keyword .gsst_b {
    padding: 0 !important;
}

#top_search_keyword .gsc-branding {
    display: none !important;
    /* 下部のテキストロゴを消して入力欄内のロゴに集約する場合 */
}


/* レスポンシブ対応：スマホ表示での幅調整 */
@media screen and (max-width: 1366px) {
    #top_search_keyword {
        width: 220px;
        /* ハンバーガーメニュー内の幅に合わせて調整 */
        margin-top: 20px;
    }
}


table.gsc-search-box td.gsc-input {
    padding-right: 0px !important;
}


/* =================================================
   【最終調整】検索結果をメニューの外に出して全画面にする
   ================================================== */

@media screen and (max-width: 1366px) {

    /* 1. 検索結果が表示されている時、メニューの制限（transform等）を無効化する */
    /* これにより fixed 指定が画面全体を基準にするようになります */
    body:has(.gsc-results-wrapper-visible) #headerKanko nav.active {
        transform: none !important;
        overflow: visible !important;
        transition: none !important;
        /* メニュー自体も一時的に全画面化して、子要素の fixed を解放する */
        width: 100% !important;
        left: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* 2. 検索結果本体を最前面・全画面に固定 */
    .gsc-results-wrapper-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 2147483647 !important;
        /* ブラウザで設定可能な最大級の数値 */
    }

    /* 3. 中身のコンテンツと閉じるボタンの余白 */
    .gsc-results-wrapper-overlay .gsc-results {
        margin-top: 80px !important;
        padding: 20px !important;
        background: #fff !important;
        border-radius: 10px !important;
    }

    .gsc-results-close-btn {
        top: 90px !important;
        right: 25px !important;
        z-index: 2147483647 !important;
    }
}

.gsib_a {
    padding: 2px 9px 2px 9px !important;
}
table.gsc-search-box td {
    vertical-align: bottom !important;
}