@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

/* =========================================================
   ベース設定・リセット
========================================================= */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: clamp(1rem, 2vw + 1rem, 3rem);
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #efe2d1;
    line-height: 1.2;
    text-align: center;
    -webkit-text-size-adjust: 100%;
}

h1 {
    font-size: clamp(1rem, 2vw + 1rem, 3rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 20px 0;
}

h2 {
    padding: 5px;
}

p {
    font-size: clamp(1rem, 2vw + 1rem, 3rem);
    line-height: 1.8;
    padding: 5px;
    word-wrap: break-word;
    margin: 0; /* リセット */
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #333;
    text-decoration: none;
}

/* =========================================================
   レイアウト・ユーティリティ
========================================================= */
.wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.center-box { text-align: center; }
.flex { display: flex; flex-wrap: wrap; justify-content: space-between; }
.flex > p { width: 49%; }
.span { display: block; line-height: 2; }
.shadow { box-shadow: 4px 4px 4px 3px rgba(73, 52, 60, 0.5); }
.box-and-drop .box-shadow { box-shadow: 10px 10px 5px 0 rgba(61, 61, 63, 0.5); }
.box-and-drop .drop-shadow { filter: drop-shadow(10px 10px 5px rgba(61, 61, 63, 0.5)); transform: translateZ(0); }

/* 余白設定（後述の記述を優先し統合） */
.parcent_l { margin-left: 30%; }
.parcent_r { margin-right: 30%; }
.pixel_l, .pixel_r { margin: 0 500px; } /* 左右同じなので統合可能であれば */
.pixel_l { margin-left: 500px; }
.pixel_r { margin-right: 500px; }
.nega_m { margin-top: -40px; }

/* 蛍光ペン風マーカー */
mark { background: linear-gradient(transparent 40%, #ffff00 80%); }
.mark5 { color: #FFFFFF; background: linear-gradient(transparent 85%, yellow 0%); }
hr.line2 { border: none; border-top: 1px dotted #FFFFFF; }

/* =========================================================
   ID セレクタ (格納・説明)
========================================================= */
div[id^="kakunou"] {
    cursor: pointer;
    font-size: 1.6em;
    font-weight: bold;
}
div#kakunou { font-size: 1.2em; } /* kakunou1のみ上書き */
div[id^="setumei"] {
    display: none;
    cursor: pointer;
}

/* =========================================================
   タブメニュー (tabMenu, tabMenu2, tabMenu3)
========================================================= */
.tab, .tabMenu, .tabMenu2, .tabMenu3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
}
.tabMenu:nth-of-type(2), .tabMenu2:nth-of-type(2), .tabMenu3:nth-of-type(2) { 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 2px;
    border: #fff 1px solid;
    border-bottom: none;
    cursor: pointer;
    box-sizing: border-box;
}
/* タブの幅調整 */
.tab li, .tabMenu li { width: 25%; }
.tabMenu li:first-child { border-left: none; }

.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.33%; }

/* アクティブ時の色 */
.tabMenu li.active, .tabMenu2 li.active, .tabMenu3 li.active,
.tabMenu:nth-of-type(2) li.active, .tabMenu2:nth-of-type(2) li.active, .tabMenu3:nth-of-type(2) li.active {
    background: #fffd39;
    color: #532910;
}

.tab li a { display: block; background: #ffea02; color: #e9a72c; margin: 0 1px; padding: 6px 1px; }
.tab li.active a { background: #532910; color: #FFFFFF; }

/* コンテンツ表示エリア */
.area, .tabContent, .tabContent2, .tabContent3 {
    display: none;
    padding: 5px;
    background: #fffd39;
    color: #532910;
}
.area { background: #532910; padding: 10px; opacity: 1; }
.tabContents:nth-of-type(2) .tabContent,
.tabContents2:nth-of-type(2) .tabContent2,
.tabContent3:nth-of-type(2) .tabContent2,
.tabContent3:nth-of-type(2) .tabContent3 {
    background: #fffd39;
    color: #532910;
}

/* アニメーション表示 */
.area.is-active, .tabContent.active, .tabContent2.active, .tabContent3.active {
    display: block;
    animation: displayAnime 2s forwards;
}

/* =========================================================
   グリッド・カラムレイアウト (n-calm)
========================================================= */
.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.33%; 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_layout, .grid2_layout, .grid3_layout { display: grid; height: auto; }
.grid_layout { grid-template-columns: 1fr 2fr; grid-template-rows: 1fr 1fr; }
.grid2_layout { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.grid3_layout { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }

.grid_layout-child, .grid2_layout-child, .grid3_layout-child { margin: 0; }
.grid_layout-child { 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-child { 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-child { color: #000; padding: 5px; }
/* Muuri用 */
.grid { position: relative; }
.item { display: block; position: absolute; width: 20%; padding: 0 10px 10px; z-index: 1; }
.item-content { position: relative; width: 100%; height: 100%; }
.grid img { width: 100%; height: auto; vertical-align: bottom; }

/* =========================================================
   コンテナ・ボックス系
========================================================= */
.container, .container2 { display: block; margin: 0 auto; text-align: center; }
.container { width: 100%; }
.container2 { width: 800px; max-width: 100%; }
.container > img, .container2 > img { width: 200px; margin: 15px; }

.box { position: relative; }
.box p {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em; text-align: center;
}
.text {
    z-index: 2; 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;
}
.num { font-size: 50px; }

/* =========================================================
   スライダー (Slick対応)
========================================================= */
.slider, .slider2 { width: 94%; margin: 0 auto; }
.slider img { width: 100%; height: auto; }
.slider2 img { 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 {
    position: absolute; top: 42%; cursor: pointer; outline: none;
    border-top: 2px solid #666; border-right: 2px solid #666;
    height: 15px; width: 15px;
}
.slick-prev { left: -1.5%; transform: rotate(-135deg); }
.slick-next { right: -1.5%; transform: rotate(45deg); }

.slick-dots { text-align: center; margin: 20px 0 0 0; }
.slick-dots li { display: inline-block; margin: 0 5px; }
.slick-dots button {
    color: transparent; outline: none; width: 8px; height: 8px;
    display: block; border-radius: 50%; background: #ccc; border: none;
}
.slick-dots .slick-active button { background: #333; }

/* =========================================================
   ボタンデザイン (btn02〜btn06)
========================================================= */
.btn02, .btn03, .btn04, .btn05, .btn06 {
    position: relative;
    display: inline-block;
    text-align: center;
    background: transparent;
    outline: none;
    width: 100%;
    transition: all 0.1s ease;
    transform: translateZ(0);
}
.btn02, .btn03, .btn04 { border-radius: 25px; }
.btn05, .btn06 { border-radius: 30px; }

.btn02 { border: solid 2px #ab3f2b; }
.btn03 { border: solid 2px #efe2d1; }
.btn04 { border: solid 2px #efe2d1; }
.btn05 { border: solid 2px #532910; }
.btn06 { border: none; }

.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;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.btn02 span { padding: 10px 5px; font-size: 2rem; background: #efe2d1; color: #ab3f2b; }
.btn03 span { padding: 10px 5px; font-size: 1.5rem; background: #e9a72c; color: #efe2d1; }
.btn04 span { padding: 10px 5px; font-size: 1.5rem; background: #532910; color: #efe2d1; }
.btn05 span, .btn06 span { padding: 10px 2px; font-size: 1.5rem; background: #efe2d1; color: #532910; }

/* 押し込みアクション */
.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); }

/* =========================================================
   矢印付きリンク・ボタン
========================================================= */
.btnarrow1::after {
    content: ''; position: absolute; top: 42%; right: 13px;
    width: 5px; height: 5px; border-top: 2px solid #532910; border-right: 2px solid #532910;
    transform: rotate(45deg); transition: all .3s;
}
.btnarrow1:hover::after { right: 11px; border-color: #fff; }

.btnarrow4, .btnarrow5 {
    position: relative;
    display: inline-block;
    font-size: clamp(1rem, 2vw + 1rem, 2rem);
    outline: none;
    padding: 5px 10px;
}
.btnarrow4 { color: #FFFFFF; }
.btnarrow5 { color: #532910; }

.btnarrow4::before, .btnarrow4::after,
.btnarrow5::before, .btnarrow5::after {
    content: ''; position: absolute; transition: all .3s;
}
/* 下線 */
.btnarrow4::before { bottom: 1px; left: 15%; width: 85%; height: 1px; background: #FFFFFF; transform: translateZ(0); }
.btnarrow5::before { bottom: 1px; left: 15%; width: 85%; height: 1px; background: #532910; transform: translateZ(0); }
/* 矢印先端 */
.btnarrow4::after { bottom: 6px; right: 0; width: 15px; height: 1px; background: #FFFFFF; transform: rotate(35deg); }
.btnarrow5::after { bottom: 6px; right: 0; width: 15px; height: 1px; background: #532910; transform: rotate(35deg); }

.btnarrow4:hover::before, .btnarrow5:hover::before { left: 20%; }
.btnarrow4:hover::after, .btnarrow5:hover::after { right: -5%; }

/* =========================================================
   検索フォーム
========================================================= */
.search-form-003 {
    display: flex; justify-content: space-between; align-items: center;
    border: 2px solid #FFFFFF; border-radius: 25px;
    margin: 10px; cursor: pointer;
}
.search-form-003 input {
    width: 100%; height: 45px; padding: 5px 15px 5px 15px;
    border: none; background: transparent; font-size: clamp(1rem, 2vw + 1rem, 3rem);
    outline: none; color: #fff;
}
.search-form-003 input::placeholder { color: #FFFFFF; }
.search-form-003 button {
    display: flex; justify-content: center; align-items: center;
    width: 20%; height: 45px; border: none; background: transparent; cursor: pointer;
}
.search-form-003 button::after {
    content: ''; width: 20px; height: 20px;
    background-image: url('img/search_icon_white.png'); background-repeat: no-repeat;
}

/* =========================================================
   モーダル
========================================================= */
.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%; 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; cursor: pointer; }
.md-xmark span { position: absolute; left: 0; width: 100%; height: 2px; 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); }

/* =========================================================
   その他（Youtube, PageTop）
========================================================= */
.youtube { width: 100%; aspect-ratio: 16 / 9; }
.youtube iframe { width: 100%; height: 100%; border: none; }

.pagetop {
    position: fixed; right: 30px; bottom: 30px;
    height: 50px; width: 50px; background: #fff;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    z-index: 2; box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.pagetop a { display: block; width: 100%; height: 100%; }
.pagetop:hover { opacity: 0.85; }
.pagetop__arrow {
    height: 10px; width: 10px;
    border-top: 3px solid #532910; border-right: 3px solid #532910;
    transform: translateY(20%) rotate(-45deg);
}

/* =========================================================
   アニメーション Keyframes
========================================================= */
.fadeIn { animation: fadeInAnime 2s forwards; opacity: 0; }
.fadeInTrigger { opacity: 0; }
.blur { animation: blurAnime 3s forwards; }
.blinking { animation: blink 1.3s ease-in-out infinite alternate; }
.fuwafuwa {
    display: inline-block; vertical-align: bottom;
    width: 20%; height: auto;
    animation: fuwafuwa 3s ease-in-out infinite alternate;
}

@keyframes displayAnime { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fadeInAnime { from { opacity: 0; } to { opacity: 1; } }
@keyframes blurAnime {
    from { filter: blur(10px); transform: scale(1.02); }
    to { filter: blur(0); transform: scale(1); }
}
@keyframes fuwafuwa {
    0% { transform: translate(0, 0) rotate(-7deg); }
    50% { transform: translate(0, -7px) rotate(0deg); }
    100% { transform: translate(0, 0) rotate(7deg); }
}

/* =========================================================
   レスポンシブ (Media Queries)
========================================================= */
.pc { display: block !important; }
.sp { display: none !important; }

@media only screen and (max-width: 768px) {
    .item { width: 24%; padding: 0 5px 10px 5px; }
}
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}