/* ==========================================
   全体レイアウト & リセット
   ========================================== */
.l-wrapper,
.wrapper {
    min-width: 0;
    margin-left: auto;  /* 追加: 親要素内での中央揃えを保証 */
    margin-right: auto; /* 追加: 親要素内での中央揃えを保証 */
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    font-family: 'Noto Serif JP', serif;
}

/* メインコンテンツ枠（最大幅500pxで固定して中央配置） */
.wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto; /* 追加: コンテナ自体を確実に中央揃え */
    background-color: #fff;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden; 
    padding-bottom: 30px;
    box-sizing: border-box;
}

/* ==========================================
   固定表示要素（フローティングバナー / トップへ戻る）
   ========================================== */
.floating-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    line-height: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.floating-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-arrow-top {
    position: fixed;
    top: 15px;
    left: calc(50% + 250px - 60px); 
    z-index: 1000;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow-top::after {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid #555;
    border-left: 3px solid #555;
    transform: rotate(45deg);
    margin-top: 5px;
}

@media screen and (max-width: 500px) {
    .btn-arrow-top {
        left: auto;
        right: 15px;
    }
}

/* ==========================================
   メインビジュアル & ヒーローエリア
   ========================================== */
.hero-container {
    width: 100%;
    aspect-ratio: 1200 / 1376;
    background-image: url('/resource/01/peel-and-boost/img/topimg.png'); 
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10% 3% 3% 3%;
    box-sizing: border-box;
}

.copy-top {
    width: 100%;
    display: flex;
    justify-content: center;
}

.copy-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.img-title {
    width: 95%;
    height: auto;
}

.img-lead {
    width: 30%;
    height: auto;
}

.text-desc {
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.7rem;
    line-height: 1.8;
    letter-spacing: 0.15em;
    text-align: center;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* ==========================================
   キャッチコピー・パーツ類
   ========================================== */
.center-Mcatch-copy,
.center-catch-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.Mcatch-line1, .Mcatch-line2 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: #333;
    word-break: keep-all;
}

.catch-line1, .catch-line2 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: #333;
    word-break: keep-all;
}

.text-highlight {
    color: #84b8cb;
    font-size: 1.75rem;
    font-weight: 600;
}

/* ==========================================
   セクション・装飾ボックス
   ========================================== */
.section-bg-gray {
    width: 100%;
    background-color: #c3c7de;
    padding: 0px 0;
    margin: 40px 0;
}

.section-bg-gray .content-inner {
    overflow: revert;   
    width: 95%;
    max-width: 500px;
    margin: 0 auto;
}

.dotted-line {
    width: 90%;
    border-top: 1px dotted #ccc;
    margin: 20px auto;
}

.dark-box {
    width: 90%;
    margin: 25px auto;
    background-color: #666;
    padding: 5px 10px;
    box-sizing: border-box;
    border-radius: 2px;
}

.dark-box-text {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #fff;
    text-align: center;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.05em;
}

.top-image-block {
    width: 100%;
    background-color: #fff !important;
}

.full-width-img {
    width: 100% !important;
    max-width: 100% !important; /* 親要素の幅を超えないよう強制 */
    height : auto !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* ==========================================
   テキストエリア
   ========================================== */
.top-text-area {
    padding: 25px 20px;
    text-align: center;
}

.top-main-text {
    text-align: left;
    display: block;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #333;
    padding-left: 20px;
    padding-right: 20px;
    font-family: 'Noto Serif JP', serif;
    line-height: 1.45 !important ;
    margin-block-start: 16px !important; 
    margin-block-end: 10px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.top-main-text-2 {
    text-align: left;
    display: block;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #333;
    padding-left: 20px;
    padding-right: 20px;
    font-family: 'Noto Serif JP', serif;
    line-height: 1.8 !important ;
    margin-block-start: 16px !important; 
    margin-block-end: 10px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}


.body-text-area {
    padding: 10px 20px;
    text-align: center;
}

.body-main-text {
    text-align: left;
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
    color: #333;
    margin-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-family: "Noto Sans JP", sans-serif;
}

.caption-gray {
    text-align: left;
    font-size: 0.7rem;
    font-weight: 300;
    color: #999;
    line-height: 1.6;
    margin: 0;
    padding: 15px 20px;
    margin-right: auto;
    font-family: "Noto Sans JP", sans-serif;
}

sup {
    font-size: 0.6em;
    margin-left: 2px;
    color: #888;
}

/* ==========================================
   アコーディオン
   ========================================== */
.special-with-bg,
.accordion-item.item-with-bg {
    width: 100%;
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: none !important;
    perspective: none !important;
    backface-visibility: visible !important;
}

.accordion-item.item-with-bg {
    margin-bottom: 20px;
}

.accordion-container {
    width: 100%;
    margin: 40px 0;
}

.accordion-item {
    border-top: 1px solid #ddd;
}

.accordion-item:last-child {
    border-bottom: 1px solid #ddd;
}

.special-header,
.accordion-header {
    width: 100%;
    padding: 20px 5%;
    box-sizing: border-box;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    outline: none;
}

.icon, .icon2 {
    display: block;
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
    transition: transform 0.4s ease;
    transform-origin: center center;
}

.icon { color: #84b8cb; }
.icon2 { color: #9896c8; }

.accordion-item.item-with-bg.active {
    transform: none !important;
    perspective: none !important;
    backface-visibility: visible !important;
}

.accordion-item.active .icon,
.accordion-item.active .icon2 {
    transform: rotate(180deg) !important;
    display: inline-block;
    transition: transform 0.3s ease;
}

.accordion-content {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.content-inner {
    padding: 0;
    height: auto;
    display: block;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

.more-content {
    border: 0px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    margin: 20px 0;
}

.more-content summary {
    padding: 15px;
    background-color: #fff;
    cursor: pointer;
    text-align: center;
    border-radius: 0px;
    list-style: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    color: #92b4cd;
}

.more-content[open] summary {
    display: none;
}

.btn-close {
    width: 100%;
    background-color: #fff;
    border: none;
    color: #92b4cd;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close::before {
    content: "×";
    margin-right: 8px;
    font-size: 18px;
}

/* ==========================================
   動画 & ビジュアルコンテナ
   ========================================== */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4.3; 
    background-color: #000;
    overflow: hidden;
}

.video-container_d {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4.7; 
    background-color: #000;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100% !important; 
    height: 100% !important;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 45px;
    pointer-events: none;
}

.main-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4.3;
    background-color: #fff;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/resource/01/peel-and-boost/img/bg.png'); 
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 25px;
    pointer-events: none;
}

.main-content {
    text-align: center;
    width: 90%;
    margin-bottom: 25px;
}

.main-img {
    width: 65%;
    height: auto;
    margin: 0 auto 15px;
}

.main-copy {
    font-size: clamp(1.2rem, 8vw, 2.5rem);
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================
   グリッド・リスト・パーツ
   ========================================== */
.icon-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 2px 0px;
    margin: 0 auto;
}

.icon-list-item {
    width: 21%; 
    min-width: 65px;
    flex-shrink: 0;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0em;
    line-height: 0.5;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
}

.icon-list-item img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.button-grid-container {
    width: 100%;
    margin: 10px auto 30px;
    scroll-margin-top: 60px;
}

.button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 95%;
    margin: 0 auto;
}

.grid-btn-img {
    display: block;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.grid-btn-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.grid-btn-img:active {
    opacity: 0.7;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.image-flex-container {
    display: flex;
    justify-content: space-between; 
    align-items: flex-end; 
    width: 90%;
    margin: 0 auto;
}

.image-flex-container a,
.image-flex-container img {
    height: 10px; 
    width: auto;
}

.uicon-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
    list-style: none;
    padding: 2px 0px;
    margin: 0 auto;
    height: 12px;
}

.uicon-list-item {
    height: 12px;
    padding: 0 6px;
    border-left: 1px solid #000000;
    flex-shrink: 0;
    color: #333;
}

.uicon-list-item:last-child {
    border-right: 1px solid #000000;
}

.uicon-list-item a {
    height: 100%;
}

.purchace-text {
    padding: 10px 10px;
    text-align: center;
}

.purchace-main-text {
    text-align: center;
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    line-height: 2;
    color: #333;
    margin-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-family: "Noto Sans JP", sans-serif;
}

.purchace-gray {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 300;
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding: 5px 20px;
    margin-right: auto;
    font-family: "Noto Sans JP", sans-serif;
}

/* ==========================================
   フッター
   ========================================== */
.site-footer {
    width: 100%;
    max-width: 500px; /* フッターもカード幅に合わせて中央配置 */
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #575353;
    color: #ffffff;
    padding: 30px 20px 60px;
    text-align: center;
    font-family: 'Noto Serif JP', serif;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-content {
    margin-bottom: 50px;
}

.footer-heading {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    line-height: 2;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin-bottom: 0;
}

.footer-sns {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.sns-icon-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 0px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%; 
}

.sns-icon-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 1);
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.copyright {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    opacity: 0.8;
    font-family: 'Noto Sans JP', sans-serif;
}