@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

/* Reset CSS */
body {
background: #fff;
color: #2d2d2d;
line-height: 175%;
font-weight: normal;
letter-spacing: 0.05em;
height: 100%;
word-break: break-all;
font-family: "Noto Sans CJK JP", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

body, h1, p {
margin: 0;
padding: 0;
font-size: 1rem;
}

h1 {
font-weight: 700;
}

img {
border: 0;
}

ul, li {
list-style: none;
margin: 0;
padding: 0;
}

a {
outline: none;
text-decoration: none;
}

a :focus {
-moz-outline-style: none;
}

/* # =================================================================
# Global selectors
# ================================================================= */

html {
box-sizing: border-box;
-webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS */
word-break: normal;
-moz-tab-size: 4;
tab-size: 4;
}

/* # =================================================================
# General elements
# ================================================================= */

main {
display: block; /* Render the `main` element consistently in IE. */
}

a {
background-color: transparent; /* Remove the gray background on active links in IE 10 */
}

a:active,
a:hover {
outline-width: 0; /* Remove the outline when hovering in all browsers */
}

/* https://gist.github.com/unruthless/413930 */

/* # =================================================================
# Specify media element style
# ================================================================= */

img {border-style: none; /* Remove border when inside `a` element in IE 8/9/10 */}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */

/* # =================================================================
# Accessibility
# ================================================================= */

/* Hide content from screens but not screenreaders */
@media screen {
[hidden~="screen"]:not(:active):not(:focus):not(:target) {
position: absolute !important;
clip: rect(0 0 0 0) !important;
}
}

/* Specify the progress cursor of updating elements */

/* Specify the pointer cursor of trigger elements */

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */

/* 全体を包むコンテナ */
#wrapper {
min-width: 320px;
max-width: 750px;
width: 100%;
margin: auto;
overflow: hidden;
}

/* 画像の基本設定：親要素の幅に合わせる */
img {
width: 100%;
height: auto;
display: block;
}

/* メインコンテンツ内の子コンテンツ */

ul {
display: flex;
margin: 0 20px;
align-items: flex-start;
padding: 20px 16px;
border-bottom: 2px solid #cecece;
}

ul li {
flex-wrap: wrap;
font-size: 14px;
letter-spacing: 0.05em;
}

.l-footer .l-footerCopy {
background: #231815;
color: #fff;
font-weight: 300;
text-align: center;
padding: 25px 0;
}

.l-footer {
padding-bottom: 110px;
}

.l-footer .l-footerCopy p {
font-size: 12px;
font-weight:300;
margin: 0 20px;
line-height: 1.5;
color: #fff;
}

.l-footerCopy a {
color: #fff;
}

.p-topFixed {
width: 100%;
position: fixed;
text-align: center;
z-index: 15;
bottom: 0;
left: 0;
background-color: rgba(255, 255, 255, 0.7);
}

.p-topFix-inner ul {
padding: 8px 16px;
margin: 0;
border-bottom: none;
justify-content: center;
gap: 10px;
}

/* 追従ボタンの上下アニメーション */
.p-topFix-inner li {
animation: bounceBtn 2.5s ease-in-out infinite;
}

@keyframes bounceBtn {
0%, 60%, 100% { transform: translateY(0); }
70% { transform: translateY(-12px); }
80% { transform: translateY(0); }
88% { transform: translateY(-6px); }
95% { transform: translateY(0); }
}

/* 離脱防止モーダル */
.p-exitModal {
display: none;
position: fixed;
inset: 0;
z-index: 20;
}

.p-exitModal.is-show {
display: block;
}

.p-exitModal-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.6);
opacity: 0;
animation: exitFade 0.3s ease forwards;
}

.p-exitModal-inner {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.92);
width: 88%;
max-width: 500px;
opacity: 0;
animation: exitPop 0.3s ease 0.05s forwards;
}

.p-exitModal-inner a {
display: block;
}

.p-exitModal-close {
position: absolute;
top: -36px;
right: 0;
width: 32px;
height: 32px;
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
font-size: 20px;
line-height: 32px;
color: #2d2d2d;
cursor: pointer;
padding: 0;
}

@keyframes exitFade {
to { opacity: 1; }
}

@keyframes exitPop {
to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
