* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

body {
    font-family: "A P-OTF Shin Maru Go Pr6N", "Noto Sans", sans-serif;
    background-color: #2f0504;
    width: 390px;
    margin: 0 auto;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* section_title */
.section-title {
    width: 390px;
    margin: 0;
    padding: 0;
    position: relative;
}

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

.section-title-buttons {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 358px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.section-title-button {
    width: 114px;
    height: auto;
    display: block;
}

.section-title-button img {
    width: 100%;
    height: auto;
    display: block;
}

/* section_nav */
.section-nav {
    width: 390px;
    margin: 0;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    background-image: url('images/section_nav_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.frame-166 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.frame-165 {
    width: 100%;
    height: 85px;
}

.frame-165 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.period-text {
    font-family: "A P-OTF Shin Maru Go Pr6N", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4375em;
    text-align: center;
    color: #FFF696;
    text-shadow: 
        2px 2px 0 #4F0706,
        -2px -2px 0 #4F0706,
        2px -2px 0 #4F0706,
        -2px 2px 0 #4F0706,
        2px 0 0 #4F0706,
        -2px 0 0 #4F0706,
        0 2px 0 #4F0706,
        0 -2px 0 #4F0706;
    width: 100%;
}

.campaign-text {
    font-family: "A P-OTF Shin Maru Go Pr6N", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4285714285714286em;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 
        2px 2px 0 #4F0706,
        -2px -2px 0 #4F0706,
        2px -2px 0 #4F0706,
        -2px 2px 0 #4F0706,
        2px 0 0 #4F0706,
        -2px 0 0 #4F0706,
        0 2px 0 #4F0706,
        0 -2px 0 #4F0706;
    width: 100%;
}

.note-text {
    font-family: "A P-OTF Shin Maru Go Pr6N", sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.6666666666666667em;
    text-align: center;
    color: #FFFFFF;
    width: 100%;
}

/* 月額料金プランのテーブル */
.frame-406 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ポイントチャージのテーブル */
.frame-405 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-heading {
    font-family: "A-OTF UD Shin Maru Go Pr6N", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 0.5625em;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 
        5px 5px 0 #4F0706,
        -5px -5px 0 #4F0706,
        5px -5px 0 #4F0706,
        -5px 5px 0 #4F0706,
        5px 0 0 #4F0706,
        -5px 0 0 #4F0706,
        0 5px 0 #4F0706,
        0 -5px 0 #4F0706;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-container {
    width: 100%;
}

.table-image {
    width: 100%;
    height: auto;
    display: block;
}

.terms-text {
    width: 100%;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5714285714285714em;
    color: #FFFFFF;
}

.terms-text p {
    margin-bottom: 0.5em;
}

.terms-text a {
    color: #FFFFFF;
    text-decoration: underline;
}

/* section_comic */
.section-comic {
    width: 390px;
    margin: 0;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.section-comic1 {
    min-height: 769px;
    background-image: url(images/bg_comics.png);
}

.section-comic2 {
    min-height: 769px;
    padding: 24px 16px;
    background-image: url(images/bg_comics_woman.png);
}

.section-comic3 {
    padding: 24px 16px;
    background-image: url(images/bg_comics_men.png);
}

.comic-book-grid {
    width: 355px;
    display: grid;
    grid-template-columns: repeat(3, 111px);
    grid-template-rows: repeat(3, 160px);
    gap: 10px;
    margin-bottom: 16px;
}

.comic-book-grid a {
    display: block;
    width: 111px;
    height: 160px;
}

.book-cover {
    width: 111px;
    height: 160px;
    object-fit: cover;
    display: block;
}

.comic-button-link {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.comic-button {
    width: 100%;
    height: auto;
    display: block;
}

.section-comic2 .comic-button {
    max-width: 371.37px;
}

.comic-title {
    width: 100%;
    max-width: 371.37px;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
}

.section-comic3 .comic-title {
    margin-bottom: 24px;
}

/* section_detail */
.section-detail {
    width: 390px;
    margin: 0;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    background-color: #4F0706;
}

.frame-165-detail {
    width: 100%;
}

.frame-165-detail img {
    width: 100%;
    height: auto;
}

.detail-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3333333333333333em;
    color: #DBB2B1;
    width: 358px;
}

.detail-text {
    font-family: "Noto Sans", sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.3em;
    color: #DBB2B1;
    white-space: pre-line;
}

.detail-text a {
    color: #DBB2B1;
    text-decoration: underline;
}

