@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

/* ==================================================
   1. Base & Reset (基本設定)
================================================== */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: clamp(1rem, 2vw + 1rem, 3rem);
    text-align: center;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #FFFFFF;
    line-height: 1.2;
    -webkit-text-size-adjust: 100%;
}

h1 {
    font-size: clamp(1rem, 2vw + 1rem, 3rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 20px 0;
}

h1, h2 {
    text-align: center;
}

h2 {
    padding: 5px;
}

p {
    font-size: clamp(1rem, 2vw + 1rem, 3rem);
    line-height: 1.8;
    text-align: center;
    padding: 5px;
    word-wrap: break-word;
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #333;
}

a:hover, a:active {
    text-decoration: none;
}

mark {
    background: linear-gradient(transparent 40%, #ffff00 80%);
}

hr.line2 {
    border: none;
    border-top: 1px dotted #FFFFFF;
}

/* ==================================================
   2. Layout (レイアウト)
================================================== */
.wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    padding: 0 10px;
}

.center-box {
    text-align: center;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex > p {
    width: 49%;
}

/* コンテナ */
.container {
    width: 100%;
    display: block;
    margin: 0 auto;
    text-align: center;
}

.container2 {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
    text-align: center;
}

.container > img,
.container2 > img {
    width: 200px;
    margin: 15px;
}

/* ==================================================
   3. Grid / Columns (カラム・グリッドレイアウト)
================================================== */
/* 2〜5カラムの共通設定 */
.two-calm, .two-calms, .four-calm, .five-calm {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
}

.two-calm li { width: 50%; box-sizing: border-box; }
.two-calms li { width: 33.333%; box-sizing: border-box; }
.four-calm li { width: 25%; box-sizing: border-box; }
.five-calm li { width: 20%; padding: 0 5px; box-sizing: border-box; }

.two-calm li img, .two-calms li img, .four-calm li img, .five-calm li img {
    max-width: 100%;
    height: auto;
}

/* Grid Layouts */
.grid_layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr 1fr;
    height: auto;
}
.grid_layout-child { margin: 0; padding: 0; color: #fff; }
.grid_layout-child:nth-child(1) { grid-column: 1/2; grid-row: 1/2; margin: 0 5px 5px 0; }
.grid_layout-child:nth-child(2) { grid-column: 1/2; grid-row: 2/2; margin: 5px 5px 0 0; }
.grid_layout-child:nth-child(3) { grid-column: 2/3; grid-row: 1/3; margin-left: 1px; }

.grid2_layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
}
.grid2_layout-child { margin: 0; padding: 0; color: #000; }
.grid2_layout-child:nth-child(1) { grid-column: 1/2; margin-right: 5px; }
.grid2_layout-child:nth-child(2) { grid-column: 2/3; margin-left: 5px; }

.grid3_layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: auto;
}
.grid3_layout-child { padding: 5px; margin: 0; color: #000; }

/* Muuri / Masonry Grid */
.grid { position: relative; }
.item { display: block; position: absolute; width: 20%; padding: 0 10px 10px 10px; z-index: 1; }
.item-content { position: relative; width: 100%; height: 100%; }
.grid img { width: 100%; height: auto; vertical-align: bottom; }

@media only screen and (max-width: 768px) {
    .item { width: 24%; padding: 0 5px 10px 5px; }
}

/* ==================================================
   4. Components (タブ・ボタン・スライダー等)
================================================== */
/* -------------------------------------
   展開・格納 (アコーディオン風)
------------------------------------- */
div[id^="kakunou"] {
    cursor: pointer;
    font-size: 1.6em;
    font-weight: bold;
}
div#kakunou { font-size: 1.2em; }
div[id^="setumei"] {
    display: none;
    cursor: pointer;
}

/* -------------------------------------
   Tab Menus (共通化)
------------------------------------- */
.tabMenu, .tabMenu2, .tabMenu3, .tab {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin-top: 0;
}

.tabMenu li, .tabMenu2 li, .tabMenu3 li {
    background: #eee;
    color: #aaa;
    font-size: clamp(1rem, 2vw + 1rem, 2rem);
    flex-grow: 1;
    padding: 10px 0;
    border: #fff 1px solid;
    border-bottom: none;
    cursor: pointer;
    box-sizing: border-box;
}

/* 幅の個別指定 */
.tabMenu li { width: 25%; }
.tabMenu li:first-child { border-left: none; }

.tabMenu2 li { width: 25%; }
.tabMenu2 li:first-child, .tabMenu2 li:nth-child(2) { width: 50%; }
.tabMenu2 li:first-child { border-left: none; }

.tabMenu3 li { width: 25%; }
.tabMenu3 li:first-child { width: 100%; border-left: none; }
.tabMenu3 li:nth-child(2) { width: 33.333%; }

/* Active状態 */
.tabMenu li.active, .tabMenu2 li.active, .tabMenu3 li.active {
    background: #fffd39;
    color: #ee0808;
}

/* タブコンテンツ */
.tabContent, .tabContent2, .tabContent3, .area {
    display: none;
    padding: 5px;
    background: #fffd39;
    color: #ee0808;
}
.area { background: #ce1719; padding: 10px; }

.tabContent.active, .tabContent2.active, .tabContent3.active, .area.is-active {
    display: block;
    animation: displayAnime 2s forwards;
}

/* Tab 別デザイン */
.tab li { width: 25%; box-sizing: border-box; }
.tab li a { display: block; background: #ffea02; color: #213343; margin: 0 1px; padding: 6px 1px; text-decoration: none; }
.tab li.active a { background: #ce1719; color: #FFFFFF; }

/* -------------------------------------
   Buttons
------------------------------------- */
/* 共通ボタンスタイル */
.btn02, .btn03, .btn04, .btn05, .btn06 {
    position: relative;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: transparent;
    outline: none;
    width: 100%;
    transition: all 0.1s ease;
    transform: translateZ(0);
}
.btn02:hover, .btn03:hover, .btn04:hover, .btn05:hover, .btn06:hover { border-color: transparent !important; }
.btn02 span, .btn03 span, .btn04 span, .btn05 span, .btn06 span {
    position: relative;
    z-index: 2;
    display: block;
    font-size: 2rem;
    transition: all 0.3s ease;
}

/* 個別カラー・ボーダー */
.btn02, .btn03 { border: solid 2px #be1f33; border-radius: 25px; }
.btn02 span, .btn03 span { background: #FFFFFF; border-radius: 25px; color: #be1f33; padding: 10px 5px; }

.btn04 { border: solid 2px #FFFFFF; border-radius: 25px; }
.btn04 span { background: #be1f33; border-radius: 25px; color: #FFF; padding: 10px 5px; }

.btn05 { border: solid 3px #ee0808; border-radius: 30px; }
.btn05 span { background: #FFFFFF; border-radius: 25px; color: #ee0808; padding: 10px 2px; }

.btn06 { border: solid 2px #FFFFFF; border-radius: 30px; }
.btn06 span { background: #be1f33; border-radius: 25px; color: #FFFFFF; padding: 10px 2px; }

/* 右下押し込みボタン */
.pushright { position: relative; }
.pushright:before {
    content: ""; position: absolute; z-index: -1; top: 4px; left: 4px;
    width: 100%; height: 100%; border-radius: 25px; background-color: #333;
}
.pushright:hover span { background-color: #333; color: #fff; transform: translate(4px, 4px); }

/* 矢印付きテキストボタン */
.btnarrow4, .btnarrow5 {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    font-size: clamp(1rem, 2vw + 1rem, 2rem);
    text-decoration: none;
    outline: none;
}
.btnarrow4 { color: #FFFFFF; }
.btnarrow5 { color: #be1f33; }

.btnarrow4::before, .btnarrow5::before {
    content: ''; position: absolute; bottom: 1px; left: 15%; width: 85%; height: 1px;
    transition: all .3s; transform: translateZ(0);
}
.btnarrow4::before { background: #FFFFFF; }
.btnarrow5::before { background: #be1f33; }

.btnarrow4::after, .btnarrow5::after {
    content: ''; position: absolute; bottom: 6px; right: 0; width: 15px; height: 1px;
    transform: rotate(35deg); transition: all .3s;
}
.btnarrow4::after { background: #FFFFFF; }
.btnarrow5::after { background: #be1f33; }

.btnarrow4:hover::before, .btnarrow5:hover::before { left: 20%; }
.btnarrow4:hover::after, .btnarrow5:hover::after { right: -5%; }

/* PageTop */
.pagetop {
    height: 50px; width: 50px; position: fixed; right: 30px; bottom: 30px;
    background: #f8c8b0; border-radius: 50%; display: flex; justify-content: center; align-items: center; z-index: 2;
}
.pagetop a { display: block; text-decoration: none; }
.pagetop:hover { opacity: 0.85; }
.pagetop__arrow {
    height: 10px; width: 10px; border-top: 3px solid #e01e03; border-right: 3px solid #e01e03;
    transform: translateY(20%) rotate(-45deg);
}

/* -------------------------------------
   Sliders (Slick)
------------------------------------- */
.slider, .slider2 { width: 94%; margin: 0 auto; }
.slider img, .slider2 img { width: 100%; height: auto; }
.slider .slick-slide { margin: 0 10px; }

.slider2 .slick-slide { transform: scale(0.8); transition: all .5s; opacity: 0.5; }
.slider2 .slick-slide.slick-center { transform: scale(1); opacity: 1; }

.slick-prev, .slick-next, .slider2 .slick-prev, .slider2 .slick-next {
    position: absolute; top: 42%; cursor: pointer; outline: none;
    border-top: 2px solid #666; border-right: 2px solid #666; height: 15px; width: 15px;
}
.slick-prev, .slider2 .slick-prev { left: -1.5%; transform: rotate(-135deg); }
.slick-next, .slider2 .slick-next { right: -1.5%; transform: rotate(45deg); }

.slick-dots, .slider2 .slick-dots { text-align: center; margin: 20px 0 0 0; }
.slick-dots li, .slider2 .slick-dots li { display: inline-block; margin: 0 5px; }
.slick-dots button, .slider2 .slick-dots button {
    color: transparent; outline: none; width: 8px; height: 8px; display: block;
    border-radius: 50%; background: #ccc;
}
.slick-dots .slick-active button, .slider2 .slick-dots .slick-active button { background: #333; }


/* ==================================================
   5. Utilities & Effects (ユーティリティ・アニメーション)
================================================== */
/* 共通要素 */
.span { display: block; line-height: 2; }
.num { font-size: 50px; }
.mark5 { color: #FFFFFF; background: linear-gradient(transparent 80%, yellow 0%); }
.text {
    z-index: 2; margin: 0; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); width: 100%; color: #FFF;
    font-weight: 800; font-size: 30px; font-family: Georgia, Times, 'Times New Roman', serif;
}
.box { position: relative; }
.box p {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    padding: 0; margin: 0; font-size: 1.2em; text-align: center;
}

/* 余白設定 */
.parcent_l { margin-left: 30%; } /*重複していた50%は削除*/
.pixel_l { margin-left: 500px; }
.parcent_r { margin-right: 30%; }
.pixel_r { margin-right: 500px; }
.nega_m { margin-top: -40px; }

/* 影・フィルター */
.shadow { box-shadow: 4px 4px 4px 3px rgba(73, 52, 60, 0.5); }
.box-and-drop .box-shadow { box-shadow: 10px 10px 5px 0 rgb(61, 61, 63, 0.5); }
.box-and-drop .drop-shadow { filter: drop-shadow(10px 10px 5px rgb(61, 61, 63, 0.5)); transform: translateZ(0); }

/* YouTube */
.youtube { width: 100%; aspect-ratio: 16 / 9; }
.youtube iframe { width: 100%; height: 100%; }

/* レスポンシブ切り替え */
.pc { display: block !important; }
.sp { display: none !important; }
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

/* 検索フォーム */
.search-form-003 {
    display: flex; justify-content: space-between; align-items: center; overflow: hidden;
    border: 2px solid #FFFFFF; border-radius: 25px; background-color: transparent; margin: 10px; cursor: pointer;
}
.search-form-003 input {
    width: 100%; height: 45px; padding: 5px 15px 5px 15px; padding-right: 3em; border: none;
    box-sizing: border-box; font-size: clamp(1rem, 2vw + 1rem, 3rem); outline: none;
}
.search-form-003 input::placeholder { color: #FFFFFF; }
.search-form-003 img { transform: translate(50px, -50px); }
.search-form-003 button {
    display: flex; justify-content: center; align-items: center; width: 20%; height: 45px;
    border: none; background-color: transparent; cursor: pointer;
}
.search-form-003 button::after {
    width: 20px; height: 20px; background-image: url('img/search_icon_white.png');
    background-repeat: no-repeat; content: '';
}

/* モーダル表示 */
.md-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; opacity: .7; z-index: 9999;
}
.md-contents {
    display: none; position: fixed; top: 5%; left: 50%; width: 90%; height: auto;
    overflow: hidden; transform: translateX(-50%); z-index: 10000;
}
.md-inner { padding: 24px 35px; background: #fff; height: 80%; }
.md-img { max-height: calc(100vh - 350px); }
.md-xmark { position: absolute; top: 14px; right: 10px; width: 25px; height: 22px; z-index: 9999; cursor: pointer; }
.md-xmark span { height: 2px; position: absolute; left: 0; width: 100%; background-color: #333; border-radius: 4px; }
.md-xmark span:nth-of-type(1) { top: 0; transform: translateY(10px) rotate(-45deg); }
.md-xmark span:nth-of-type(2) { bottom: 0; transform: translateY(-10px) rotate(45deg); }


/* -------------------------------------
   Animations (キーフレーム共通化)
------------------------------------- */
@keyframes displayAnime { from { opacity: 0; } to { opacity: 1; } }

.fadeIn, .fadeInTrigger { opacity: 0; }
.fadeIn { animation: displayAnime 2s forwards; } /* アニメーションをdisplayAnimeと統合 */

.blur { animation: blurAnime 3s forwards; }
@keyframes blurAnime {
    from { filter: blur(10px); transform: scale(1.02); }
    to { filter: blur(0); transform: scale(1); }
}

.blinking { animation: blink 1.3s ease-in-out infinite alternate; }
@keyframes blink { 0% { opacity: 0; } 100% { opacity: 1; } }

.fuwafuwa {
    animation: fuwafuwa 3s ease-in-out infinite alternate;
    display: inline-block; transition: 1.5s ease-in-out;
    width: 20%; height: auto; margin-top: 0; vertical-align: bottom;
}
@keyframes fuwafuwa {
    0% { transform: translate(0, 0) rotate(-7deg); }
    50% { transform: translate(0, -7px) rotate(0deg); }
    100% { transform: translate(0, 0) rotate(7deg); }
}