@charset "UTF-8";
/* ==========================================
   COCOTSUNA 非ログインTOPページ専用スタイル
   Based on: received/index022402.html
   ========================================== */

/* --- CSS Variables --- */
:root {
    --c-base: #F9F9F7;
    --c-white: #FFFFFF;
    --c-main: #E65100;
    --c-main-light: #FF8F00;
    --c-main-dark: #b33e00;
    --c-accent: #CCA43B;
    --c-text: #333333;
    --c-gray: #666666;
    --c-bg-light: #FFF5EC;
    --f-serif: 'Noto Serif JP', serif;
    --f-sans: 'Noto Sans JP', sans-serif;
}

/* --- Reset & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--f-sans);
    color: var(--c-text);
    background-color: var(--c-white);
    font-size: 1.15rem; /* 最小フォントサイズを1.15remに設定 */
    line-height: 1.8;
    overflow-x: hidden;
    padding-bottom: 90px; /* フローティングボタン用の余白(スマホ) */
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* --- Utilities --- */
.serif { font-family: var(--f-serif); }
.container { width: 90%; max-width: 1140px; margin: 0 auto; position: relative; }
.section-pad { padding: 80px 0; }
.text-center { text-align: center; }
.text-accent { color: var(--c-main); }
.hidden-sp { display: none !important; }

/* --- Section Title --- */
.sec-title {
    font-family: var(--f-serif);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3.5rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
}
.sec-title span {
    display: block;
    font-size: 1.15rem;
    color: var(--c-main);
    margin-bottom: 0.5rem;
    font-family: var(--f-sans);
    font-weight: 900;
    letter-spacing: 0.1em;
}

/* --- Buttons --- */
.btn-wrap { text-align: center; margin-top: 2rem; }
.micro-copy {
    display: block; font-size: 1.15rem; font-weight: bold; color: var(--c-main);
    margin-bottom: 0.5rem; letter-spacing: 0.05em;
}
.btn {
    display: inline-flex;
    align-items: center; justify-content: center;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s;
    letter-spacing: 0.05em;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.btn-main {
    background: linear-gradient(135deg, var(--c-main), var(--c-main-light));
    color: var(--c-white);
    border: none;
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.3);
}
.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 81, 0, 0.4);
    color: var(--c-white);
}
.btn-main::after {
    content: '\f054'; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; right: 20px; font-size: 1.15rem;
}
.btn-outline {
    background: var(--c-white);
    color: var(--c-main);
    border: 2px solid var(--c-main);
    padding: 1rem 2.5rem;
}
.btn-outline:hover { background: var(--c-main); color: var(--c-white); }
.btn-final-cta { padding: 1.2rem 5rem; font-size: 1.3rem; max-width: 100%; }

/* --- Header --- */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    z-index: 10002; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: auto; min-height: 80px; padding: 10px 0; display: flex; align-items: center;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; flex-wrap: wrap; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; flex-wrap: wrap; }
.nav-pc a { margin-left: 1rem; font-weight: 500; font-size: 1.15rem; white-space: nowrap; color:(var(--c-text)); }
.nav-pc a:hover { color: var(--c-main); }
.header-btn { padding: 0.8rem 1.5rem; font-size: 1.15rem; margin-left: 0.8rem; white-space: nowrap; }
.header-btn.btn-main::after { display: none; }
/* --- Hero --- */
.hero {
    position: relative;
    padding-top: 100px; padding-bottom: 60px;
    min-height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.05)), url('/images/top/hero-bg-new-v2.jpg') center/cover no-repeat;
    display: flex; align-items: center;
}
.hero-content {
    max-width: 900px; margin: 0 auto; text-align: center; color: var(--c-white);
    position: relative; z-index: 2;
}
.hero-badges {
    display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.hero-badge {
    background: var(--c-main); color: #fff; padding: 0.5rem 1.2rem;
    border-radius: 50px; font-weight: bold; font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); border: 2px solid #fff;
    display: flex; align-items: center; gap: 0.5rem;
}
.hero-title {
    font-family: var(--f-serif); font-size: 3rem; line-height: 1.3; margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero-title .highlight { color: #fffb8c; font-size: 1.2em; }
.hero-lead {
    font-size: 1.3rem; margin-bottom: 2.5rem; font-weight: 700;
    background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px);
    padding: 1.5rem 2rem; border-radius: 12px; display: inline-block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    line-height: 1.8; color: var(--c-text);
}
.hero .btn-main { border: 4px solid #fff; }
.hero-balloon {
    position: relative; display: inline-block;
    background: #fff; color: var(--c-main);
    font-weight: 900; font-size: 1.15rem;
    padding: 0.8rem 1.8rem; border-radius: 50px;
    margin-top: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    letter-spacing: 0.05em;
}
.hero-balloon::before {
    content: ''; position: absolute;
    top: -10px; left: 50%; transform: translateX(-50%);
    border-width: 0 10px 10px 10px; border-style: solid;
    border-color: transparent transparent #fff transparent;
}

/* --- 悩み喚起 (Problems) --- */
.problems { background: #f4f4f4; position: relative; }
.problems::after {
    content: ''; position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
    border-width: 30px 30px 0; border-style: solid;
    border-color: #f4f4f4 transparent transparent transparent;
    z-index: 10;
}
.prob-lead { text-align: center; font-size: 2rem; font-weight: bold; margin-bottom: 1.5rem; line-height: 1.4; letter-spacing: 0.05em; }
/* font-size: 1.05rem -> 1.15rem */
.prob-sub-lead { text-align: center; font-size: 1.15rem; font-weight: 500; margin-bottom: 2.5rem; line-height: 1.8; color: var(--c-text); }
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.prob-item {
    background: #fff; padding: 2rem 1.5rem; border-radius: 12px; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: relative;
}
.prob-icon { font-size: 3rem; color: #999; margin-bottom: 1rem; }
.prob-text { font-weight: bold; font-size: 1.15rem; line-height: 1.5; }
.prob-summary-box {
    background: #fff; padding: 2rem; border-radius: 12px; margin-top: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; line-height: 1.8;
    font-weight: bold; border: 2px solid var(--c-main-light); font-size: 1.15rem;
}
.prob-solution { text-align: center; margin-top: 3rem; font-size: 1.6rem; font-weight: 900; color: var(--c-main); }

/* --- 特徴 (Features) --- */
.features { background: var(--c-base); }
.reason-list { display: grid; gap: 2rem; }
.reason-item {
    background: #fff; border-radius: 16px; overflow: hidden; display: flex;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee;
}
.reason-num {
    background: var(--c-main); color: #fff; width: 80px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; font-family: var(--f-serif);
    flex-shrink: 0;
}
.reason-num span { font-size: 0.8rem; font-weight: bold; }
.reason-num strong { font-size: 2.5rem; line-height: 1; }
.reason-body { padding: 2rem; flex: 1; display: flex; align-items: center; gap: 2rem; }
.reason-icon { font-size: 4rem; color: var(--c-accent); opacity: 0.8; width: 80px; text-align: center; flex-shrink: 0; }
.reason-text h3 { font-size: 1.4rem; margin-bottom: 0.8rem; color: var(--c-text); font-weight: 700; }
.reason-text p { font-size: 1.15rem; color: var(--c-gray); }
.reason-item.plus-card {
    border: 2px solid var(--c-accent);
    background: linear-gradient(to right, #fff, #fffdf5);
}
.reason-item.plus-card .reason-num { background: var(--c-accent); }

.emg-flow { display: flex; gap: 1rem; margin-top: 1.5rem; background: var(--c-bg-light); padding: 1rem; border-radius: 8px; }
.emg-step { flex: 1; text-align: center; font-size: 1.15rem; font-weight: bold; position: relative; }
.emg-step:not(:last-child)::after { content: '→'; position: absolute; right: -15px; color: var(--c-main); pointer-events: none; }
.emg-step i { display: block; font-size: 1.5rem; color: var(--c-main); margin-bottom: 0.5rem; }

/* --- 商品 (Products) --- */
.products { background: var(--c-white); }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 2rem; }
.prod-card {
    border: 2px solid #eee; border-radius: 12px; overflow: hidden;
    transition: 0.3s; background: #fff; display: flex; flex-direction: column; position: relative;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--c-main-light); }
.prod-img { height: 240px; object-fit: cover; background: #f0f0f0; width: 100%; }
.prod-body { padding: 2rem 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.prod-tag {
    position: absolute; top: 15px; left: 15px;
    background: var(--c-main); color: #fff; font-size: 1.15rem; font-weight: bold;
    padding: 8px 20px; border-radius: 50px; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.prod-tag.sub { background: var(--c-accent); }
.prod-catch {
    font-size: 1.15rem; color: var(--c-main); font-weight: 900;
    margin-bottom: 0.2rem; display: block; letter-spacing: 0.05em;
}
.prod-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.prod-price {
    font-size: 1.8rem; color: var(--c-main); font-weight: 900; margin-bottom: 1rem;
    border-bottom: 1px dashed #ccc; padding-bottom: 1rem;
}
.prod-price span { font-size: 1.15rem; font-weight: normal; color: var(--c-gray); }
.prod-desc { color: var(--c-text); font-size: 1.15rem; margin-bottom: 1.5rem; flex-grow: 1; font-weight: 500; }
.prod-points { background: var(--c-bg-light); padding: 1.2rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: 1.15rem; }
.prod-points ul { list-style: none; }
.prod-points li { margin-bottom: 0.5rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.prod-points li i { color: var(--c-main); margin-top: 3px; }

/* 詳細アコーディオン */
.prod-details-accordion { margin-bottom: 1.5rem; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; }
.prod-details-summary {
    padding: 1rem; background: #f9f9f9; font-weight: bold; font-size: 1.15rem;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.prod-details-summary::after {
    content: '\f078'; font-family: "Font Awesome 6 Free"; font-weight: 900;
    transition: transform 0.3s ease; color: var(--c-gray);
}
details[open] > .prod-details-summary::after { transform: rotate(180deg); }
.prod-details-content {
    padding: 1rem; font-size: 1.15rem; border-top: 1px solid #ddd;
    color: var(--c-text); background: #fff;
}
.prod-details-list { list-style: none; padding: 0; margin: 0; }
.prod-details-list li {
    margin-bottom: 0.4rem; padding-left: 1em; position: relative; line-height: 1.4;
}
.prod-details-list li::before {
    content: '・'; position: absolute; left: 0; color: var(--c-main); font-weight: bold;
}
.prod-details-note { font-size: 1.15rem; color: var(--c-main); margin-top: 1rem; font-weight: bold; line-height: 1.4; }

/* --- カスタマイズ例 --- */
.custom-example-box {
    background: #fff; border: 2px solid var(--c-main-light); border-radius: 12px;
    margin-bottom: 4rem; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.example-title {
    background: var(--c-main-light); color: #fff; padding: 1.2rem; text-align: center;
    font-weight: bold; font-size: 1.4rem; letter-spacing: 0.05em;
}
.example-body { padding: 2rem; }
.example-scenario { font-size: 1.5rem; text-align: center; margin-bottom: 1.5rem; color: var(--c-text); line-height: 1.6; }
.example-items { display: flex; justify-content: center; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ex-item {
    background: var(--c-bg-light); border-radius: 8px; padding: 1.5rem 1rem; text-align: center;
    flex: 1; min-width: 280px; max-width: 320px; border: 1px dashed var(--c-main);
}
.ex-person {
    font-weight: bold; margin-bottom: 1rem; color: var(--c-main);
    background-color: #fff; border: 2px solid var(--c-main);
    padding: 0.5rem 1.2rem; border-radius: 50px; display: inline-block; font-size: 1.15rem;
}
.ex-person i { color: var(--c-main); font-size: 1.15rem; margin-right: 5px; }
.ex-img-square {
    width: 100%; max-width: 200px; height: auto; object-fit: contain;
    margin: 0.5rem auto 1rem; display: block;
}
.ex-img-square-small {
    width: 100%; max-width: 160px; height: auto; object-fit: contain;
    margin: 0 auto; display: block;
}
.ex-plan { font-family: var(--f-serif); font-size: 1.4rem; font-weight: 900; color: var(--c-main); margin-bottom: 0.5rem; }
.ex-plus { font-size: 1.15rem; font-weight: bold; color: var(--c-accent); line-height: 1.4; margin-top: 15px; background: #fff; padding: 15px; border-radius: 8px; }
.example-note { text-align: center; font-size: 1.15rem; color: var(--c-gray); background: #f9f9f9; padding: 1.5rem; border-radius: 8px; margin-top: 1rem; font-weight: 500; }

/* --- ご利用の流れ (Flow) --- */
.flow { background-color: var(--c-base); padding: 80px 0; }
.flow-list { display: flex; justify-content: space-between; gap: 1.5rem; position: relative; counter-reset: flow-num; }
.flow-item {
    flex: 1; background: #fff; padding: 2.5rem 1rem 1.5rem; border-radius: 12px;
    text-align: center; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--c-main);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.flow-item::before {
    counter-increment: flow-num; content: "STEP " counter(flow-num);
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background-color: var(--c-main); color: #fff; padding: 5px 15px;
    border-radius: 20px; font-weight: bold; font-size: 1.1rem; letter-spacing: 0.05em; white-space: nowrap;
}
.flow-item:not(:last-child)::after {
    content: '\f054'; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; right: -1rem; top: 50%; transform: translateY(-50%);
    color: var(--c-main); font-size: 1.5rem; opacity: 0.5;
}
.flow-icon { font-size: 2.5rem; color: var(--c-main); margin-bottom: 1rem; height: 50px; display: flex; align-items: center; justify-content: center; }
.flow-title { font-family: var(--f-serif); font-size: 1.3rem; margin-bottom: 0; font-weight: 700; line-height: 1.4; }
.step-details { margin-top: 1rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.s-item { background: var(--c-bg-light); padding: 0.8rem; border-radius: 8px; font-weight: bold; font-size: 0.95rem; border: 1px dashed var(--c-main-light); color: var(--c-text); line-height: 1.3; }
.s-item.highlight { background: #fff; border: 2px solid var(--c-main-light); color: var(--c-main); }
.s-item.highlight-main { background: var(--c-main); color: #fff; border: none; font-size: 1.1rem; padding: 1.5rem 1rem; box-shadow: 0 4px 10px rgba(230,81,0,0.3); }
.s-arrow { color: var(--c-main); font-size: 1.2rem; margin: 0.3rem 0; text-align: center; }
.flow-note { text-align: left; font-size: 0.8rem; color: var(--c-main); margin-top: 15px; font-weight: bold; line-height: 1.5; }

/* --- FAQ --- */
.faq { background-color: var(--c-white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--c-base); border-radius: 8px; margin-bottom: 1rem; overflow: hidden; }
.faq-summary { display: flex; align-items: center; padding: 1.5rem; cursor: pointer; position: relative; font-weight: 700; transition: 0.3s; font-size: 1.3rem; }
.faq-q-mark { color: var(--c-main); font-family: var(--f-serif); font-size: 1.5rem; margin-right: 1rem; flex-shrink: 0; }
.faq-summary::after { content: '+'; position: absolute; right: 1.5rem; font-size: 1.5rem; color: var(--c-main); font-weight: 400; transition: 0.3s; }
details[open] .faq-summary { background-color: rgba(230, 81, 0, 0.05); }
details[open] .faq-summary::after { transform: rotate(45deg); }
.faq-answer { padding: 1.5rem 1.5rem 1.5rem 4rem; border-top: 1px solid #e0e0e0; color: var(--c-gray); font-size: 1.15rem; line-height: 1.8; }

/* --- もしもの時もココツナ (Emergency) --- */
.emergency-sec { background-color: var(--c-base); }
.emg-lead { text-align: center; font-size: 1.15rem; margin-bottom: 3rem; line-height: 1.6; font-weight: bold; }
.emg-flow-list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.emg-item {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid var(--c-main-light);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.emg-item:not(:last-child)::after {
    content: '\f054';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-main);
    font-size: 1.5rem;
    opacity: 0.5;
    z-index: 2;
}
.emg-img-box {
    width: 100%;
    max-width: 120px;
    margin: 0 auto 1rem;
}
.emg-img-box img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}
.emg-title {
    font-weight: bold;
    color: var(--c-main);
    font-size: 1.2rem;
}

/* --- Banner Section --- */
.banner-section { padding-bottom: 80px; padding-top: 80px; background-color: var(--c-white); }
.banner-container { max-width: 1000px; margin: 0 auto; width: 90%; }
.banner-link { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: 0.3s; }
.banner-link:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.banner-link img { width: 100%; height: auto; display: block; }

/* --- Footer --- */
.footer { background: var(--c-base); padding: 50px 0 30px; text-align: center; border-top: 1px solid #e0e0e0; }
.footer-nav { margin-bottom: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.footer-nav a { margin: 0 10px; color: var(--c-text); font-size: 1.15rem; font-weight: 500; }
.footer-nav a:hover { color: var(--c-main); }
.copyright { font-size: 1.15rem; color: var(--c-gray); }

/* --- 最終CTA --- */
.final-cta-section {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('/images/top/philosophy-v2.jpg') center/cover no-repeat;
    background-attachment: scroll; /* iOS Safari互換: fixedは非対応 */
    text-align: center; color: #fff;
}
@supports (-webkit-overflow-scrolling: touch) {
    .final-cta-section { background-attachment: scroll; }
}
@media (min-width: 1024px) {
    .final-cta-section { background-attachment: fixed; }
}

/* --- Floating CTA --- */
.floating-cta {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(5px);
    padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9998; text-align: center;
}
.floating-cta .btn-main {
    width: 100%; max-width: 320px; padding: 0.9rem 2rem; font-size: 1.1rem;
    display: flex; line-height: 1.4;
    border-radius: 50px;
    margin: auto;
}
.floating-cta .sub-text {
    font-style: normal;
    font-size: 1rem;
}
.floating-cta .main-text {
    font-size: 1.2rem;
}

@media (min-width: 768px) {
    .floating-cta {
        width: auto; left: auto; right: 30px; bottom: 30px;
        background: transparent; padding: 0; box-shadow: none; backdrop-filter: none;
    }
    .floating-cta .btn-main {
        box-shadow: 0 5px 20px rgba(230, 81, 0, 0.4);
        padding: 1rem 2.5rem;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .floating-cta .btn-main:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(230, 81, 0, 0.5);
    }
}

/* --- Animation --- */
@keyframes floatAnim {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}
@keyframes stepWave {
    0%, 100% { transform: translateY(0); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    10% { transform: translateY(-12px); box-shadow: 0 15px 30px rgba(230,81,0,0.2); }
    20% { transform: translateY(0); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
}

/* --- Media Queries (PC: 1024px以上) --- */
@media (min-width: 1024px) {
    /* ハンバーガーボタンはDetails/Summaryに統合済み */
    .hero-title { font-size: 3.5rem; }
    .hero-content { padding: 2rem; }
    .prob-lead { font-size: 2.2rem; }
    .prob-item { animation: floatAnim 4s ease-in-out infinite; }
    .prob-item:nth-child(1) { animation-delay: 0s; }
    .prob-item:nth-child(2) { animation-delay: 0.8s; }
    .prob-item:nth-child(3) { animation-delay: 1.6s; }
    /* ご利用の流れのウェーブアニメーション(PCのみ) */
    .flow-item { animation: stepWave 5s infinite; }
    .flow-item:nth-child(1) { animation-delay: 0s; }
    .flow-item:nth-child(2) { animation-delay: 1s; }
    .flow-item:nth-child(3) { animation-delay: 2s; }
    .flow-item:nth-child(4) { animation-delay: 3s; }
    .flow-item:nth-child(5) { animation-delay: 4s; }
}

@media (min-width: 1140px) {
    .hidden-pc { display: none; }
    .hidden-sp {
        display: block !important;
    }
}

/* --- Media Queries (SP: 1023px以下) --- */
@media (max-width: 1023px) {
    .hero { padding-top: 110px; min-height: auto; padding-bottom: 40px; }
    .hero-title { font-size: 2rem; }
    .hero-badges { flex-direction: column; align-items: center; gap: 0.5rem; }
    .hero-lead { font-size: 1.15rem; padding: 1rem; }
    .prob-lead { font-size: 1.5rem; }
    .prob-grid { grid-template-columns: 1fr; }
    .prob-summary-box { padding: 1.5rem 1rem; font-size: 1.15rem; }
    .example-items { flex-direction: column; align-items: center; }
    .ex-item { width: 100%; max-width: 100%; }
    .example-body { padding: 1.5rem 1rem; }
    .example-scenario { font-size: 1.15rem; }
    .reason-item { flex-direction: column; }
    .reason-num { width: 100%; padding: 0.5rem 0; flex-direction: row; gap: 10px; }
    .reason-body { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .emg-flow { flex-wrap: wrap; overflow: hidden; }
    .emg-step:not(:last-child)::after { display: none; }
    .flow-list { flex-direction: column; gap: 3rem; }
    .flow-item:not(:last-child)::after { content: '\f078'; right: auto; left: 50%; top: auto; bottom: -2rem; transform: translateX(-50%); }
    .faq-answer { padding-left: 1.5rem; }
    .logo img { height: 30px; width: auto; max-width: none; }
    /* SP メニューの位置は overlay-menu.css で制御 */
    .footer-nav { flex-direction: column; gap: 1.5rem; }

    /* もしもの時もココツナ (Emergency) 縦並び調整 */
    .emg-flow-list { flex-direction: column; gap: 2.5rem; }
    .emg-item { width: 100%; max-width: 400px; margin: 0 auto; }
    .emg-item:not(:last-child)::after {
        content: '\f078';
        right: auto;
        left: 50%;
        top: auto;
        bottom: -2rem;
        transform: translateX(-50%);
    }

    /* 修正2: prod-titleテキスト溢れ防止（320px「基本セット（プラスOne）」6px超過対策） */
    .prod-title {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* 修正4: タッチターゲット44dp確保（footer-nav a 23px, menu-trigger 21×38px 対策） */
    .footer-nav a {
        padding: 0.5rem 0 !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    /* タッチターゲット44dpはoverlay-menu.css の summary.hamburger-trigger で確保済み */
}

/* 極小端末(360px未満)の調整 */
@media (max-width: 360px) {
    .hero-title { font-size: 1.7rem; }
    .hero-badge { font-size: 0.8rem; padding: 0.4rem 1rem; }
    .btn-final-cta { padding: 1rem 2rem; font-size: 1.1rem; }
}

/* 480px以下: メニュー1カラム化は overlay-menu.css で制御 */

/* 修正1: MASEフレームワークによるスクロール問題の包括対応 */
/* - min-width 350px による水平スクロール防止 */
/* - MASEのgrid-templateが固定高でコンテンツをはみ出させる問題の対策 */
/* - display: block でgridレイアウトを無効化し、コンテンツに自然に追従させる */
._z._sitetop._index {
    display: block !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: auto !important;
}

/* ベーステンプレートのフッター（_k container）を非表示 — 独自フッターを使用 */
._z._sitetop._index ._k._container { display: none !important; }

/* ==========================================
   お問い合わせページ (.e-inquiryGuide) → custom.css へ移管
   ※ sitetop.css は非ログインTOPページのみ読込のため
   ========================================== */
