@charset "UTF-8";

/*------------------------------------*\
    $COMMON
\*------------------------------------*/

.small {
    font-weight: normal;
    font-size: 0.8em;
}
body{
    margin: 0;
    padding: 0;
}

.underline {
    border-bottom: 1px solid #000 !important;
    padding-bottom: 0.5px !important;
}

.link_url {
    text-decoration: underline;
    color: blue;
}

.aisatu p {
    background-color: #fff;
    background-image: linear-gradient(180deg, #ccc 0.7px, transparent 1px);
    background-size: 100% 2.34em;
    line-height: 2.32em;
    padding-bottom: 15px;
}

.text_box {
    margin: auto;
    background: #FFF;
    padding: 3em 2em;
}

.underline.red {
    border-bottom: 1px solid #BD052C;
    padding-bottom: 0.5px;
    color: #BD052C;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

p {
    letter-spacing: 1px;
    font-size: calc(16px + 0.8 * (100vw - 800px)/400);
    line-height: 1.6;
    color: #33383d;
    font-family: 'Noto Sans JP', sans-serif;
}

li {
    text-indent: -1.4rem;
    line-height: 1.8;
    margin: 1rem auto 1rem 1.4rem;
    letter-spacing: 1px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: calc(15px + 1 * (100vw - 800px)/400);
}

i {
    font-family: Font Awesome\ 5 Free;
    margin-right: 0.5rem;
}

.center {
    text-align: center !important;
}

img {
    max-width: 100%;
}

.flex {
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
}

.img-wrap {
    text-align: center;
}

.txt-wrap {
    width: 58%;
    margin-right: 2%;
}

.flex-rv {
    display: flex;
    flex-direction: row-reverse;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.f-big1 {
    font-size: 110%;
}

.f-big2 {
    font-size: 120%;
}

h3 {
    text-align: left;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    font-size: calc(19px + 2 * (100vw - 800px)/400);
}

.inner {
    max-width: 1000px;
    margin: auto;
    background: #ffffff;
    padding: 0.5rem 2rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.blue {
    color: #01579b;
}

.red {
    color: #BD052C;
}

.blue {
    color:#e74c3c;
}

li i {
    font-weight: bold;
}

.bold700 {
    font-weight: 700;
}

.blue-gradient {
    background: linear-gradient(transparent 70%, #bbefff 0%);
    display: inline;
    padding: 5px 1px 0px;
    position: relative;
}

.yellow-gradient {
    background: linear-gradient(transparent 0%, #ffff98 0%);
    display: inline;
    padding: 0 5px 2px;
    position: relative;
    font-weight: 700;
}

.yellow {
    color: #FECB00;
    font-weight: normal;
}

.big {
    font-size: 140% !important;
    text-align: left;
}

.ft1 {
    font-size: 110%;
}

.ft2 {
    font-size: 120%;
}

.black-bg {
    background: #ebf3f5;
}



/*------------------------------------*\
    $LAYOUT
\*------------------------------------*/

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    max-width: 100%;
    padding: 0 20px;
}

.content_wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .content_wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*------------------------------------*\
    $HEADER
\*------------------------------------*/

.header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header_inner {
    display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 2rem;
}

.header_logo {
    display: flex;
    align-items: center;
}

.header_logo img {
    max-height: 50px;
    width: auto;
}

.header_title h1 {
    margin: 0;
    color: #033769;
    font-size: 1.4em;
}

.header_title img {
    height: 50px;
    width: auto;
}

.header_nav {
    display: flex;
    align-items: center;
}

.nav_list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav_link {
    padding: 6px 16px;
    font-size: 0.9em;
    border-radius: 20px;
    text-decoration: none;
    color: #bd052c;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login_link {
    color: #033769;
    border: 1px solid #033769;
}

.login_link:hover {
    background: #033769;
    color: #fff;
}

.register_link {
    background: #033769;
    color: #fff;
    border: 1px solid #033769;
}

.register_link:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/*------------------------------------*\
    $MAIN CONTENT
\*------------------------------------*/


.main_content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.book_info {
}

.book_title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #033769;
    margin-bottom: 20px;
    line-height: 1.3;
}

.book_header {
    display: flex;
    gap: 30px;
    padding: 2rem;
    align-items: flex-start;
}

.book_cover {
    flex-shrink: 0;
}

.book_cover img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.book_meta {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
}

.book_meta p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.author {
    color: #666;
}

.price {
    font-size: 1.5rem!important;
    font-weight: 700;
    color: #e74c3c;
}

.shipping {
    color: #28a745;
    font-weight: 500;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.shipping i {
    color: #28a745;
    margin-right: 8px;
}

.book_description {
    padding: 2rem;
    margin-bottom: 0px;
}

.book_description h3 {
    font-size: 1.5rem;
    color: #06386b;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #c7c7c7;
}

.bonus_info {
    background: #faf8f2;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.bonus_info h4 {
    color: #856404;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.bonus_info ul {
    margin: 15px 0;
}

.bonus_info li {
    margin: 8px 0;
    color: #856404;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/*------------------------------------*\
    $TABLE OF CONTENTS
\*------------------------------------*/

.table_of_contents {
    margin-bottom: 40px;
    padding: 2rem;
}

.table_of_contents h3 {
    font-size: 1.5rem;
    color: #033769;
    margin-bottom: 25px;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #c7c7c7
}

/* 新アコーディオン構造 */
.toc_list{  border-radius:10px; overflow:hidden; }
.toc_chapter{ background: #f6f6f6 }
.toc_chapter:last-child{ border-bottom:none; }


/* 章見出しは常時展開（トグルUIなし） */
/* 章見出しは中見出し（クリック対象）に統合したため非表示（念のため） */
.toc_chapter_header{ display:none; }

/* 章の中身（小見出しリスト）は常時表示 */
.toc_sublist{ padding:12px 16px 16px; background:#fff; }
    
.toc_subitem{ border:0; border-radius:0; margin:0; padding:0; }
.toc_subtitle{
    position:relative; margin:0; padding:18px 44px 18px 20px; cursor:pointer;
    font-size:1.1em; font-weight:600; color:#033769; background:transparent;
    border-bottom:1px solid #d6d6d6;
}
.toc_chapter:last-child .toc_subtitle{ border-bottom:none; }
.toc_subtitle:after{ content:'+'; position:absolute; right:14px; top:50%; transform:translateY(-50%); color:#7a869a; font-size:1.2rem; transition:transform .2s ease; }
.toc_subtitle.active:after{ transform:translateY(-50%) rotate(45deg); }

/* 小見出しクリックで出る「小見出しリスト」 */
.toc_minilist{ margin:0; padding:8px 20px 14px; display:none; }
.toc_minilist.active{ display:block; }
.toc_miniitem{ list-style:none; position:relative; display:flex; align-items:center; gap:19px;margin-bottom:0;margin-top: 5px; }
.toc_miniitem:before{ content:"\25B6"; font-size:12px; color:#033769; position:static; line-height:1; }
/* 既存のリンクは見た目と挙動をテキスト化 */
.toc_miniitem a{ color:inherit; text-decoration:none; border:0; pointer-events:none; cursor:default; }
.toc_miniitem a:hover{ color:inherit; }

/*------------------------------------*\
    $PURCHASE FORM
\*------------------------------------*/

.purchase_form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.purchase_form h3 {
    font-size: 1.5rem;
    color: #033769;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #c7c7c7
}

.form_section {
    margin-bottom: 30px;
}

.form_section h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    background: #033769;
    padding: 0.5rem 1rem;
}

.form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form_row .form_group {
    padding-right:30px;
}

@media (max-width: 768px) {
    .form_row {
        grid-template-columns: 1fr;
        gap:0;    
    }
}

.form_group {
    margin-bottom: 20px;
}

.form_group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #033769;
}

.required {
    color: #e74c3c;
}

.form_group input,
.form_group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.1em;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
}

/* 都道府県セレクトボックスの幅調整 */
.form_group select[name="prefecture"] {
    width: 60%;
}

.form_group select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size:30px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* 特定のフィールドの横幅を調整 */
.form_group input[type="email"],
.form_group input[type="tel"] {
    width: 60%;
}

.form_group input[name="postal"] {
    width: 30%;
}

.form_group input[name="address"],
.form_group input[name="building"] {
    width: 80%;
}

.form_group input:focus,
.form_group select:focus {
    outline: none;
    border-color: #bd052c;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.address_search_btn {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.address_search_btn:hover {
    background: #5a6268;
}

.form_actions {
    text-align: center;
    margin-top: 30px;
}

.purchase_btn {
    background:#e74c3c;
    color: #fff;
    border: none;
    min-width: 350px;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:0 4px 15px rgb(231 76 60 / 52%);
}

.purchase_btn:hover {
    background: rgb(13, 67, 163);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16,84,204,0.4);
}

.payment_note {
    margin-top: 14px;
    text-align: left;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/*------------------------------------*\
    $SIDEBAR
\*------------------------------------*/

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    z-index: 10;
}

.sticky_content_block {
    margin-bottom: 10px;
}

.content_block {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.content_block h4 {
    font-size: 1.1rem;
    color: #033769;
    margin-bottom: 10px;
}

.content_block p {
    color: #666;
    margin-bottom: 15px;
    text-align: left;
    font-size: 0.9rem;
}

.line_register_btn,
.seminar_btn,
.coupon_btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.line_register_btn {
    background: #00c300;
    color: #fff;
}

.line_register_btn:hover {
    background: #00a000;
    transform: translateY(-2px);
}

.seminar_btn {
    background: #bd052c;
    color: #fff;
}

.seminar_btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.coupon_btn {
    background: #ffc107;
    color: #033769;
}

.coupon_btn:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

.sticky_book_display {
    margin-top: 20px;
}

.book_card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.book_card .book_image {
    margin-bottom: 15px;
}

.book_card .book_image img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.book_card .book_title {
    font-size: 1rem;
    font-weight: 600;
    color: #033769;
    margin-bottom: 12px;
    line-height: 1.3;
}

.book_card .author {
    color: #666;
    margin: 0.5rem auto;  
}

.book_card .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e74c3c;
    margin-top: 5px;;
    margin-bottom: 15px;
}

.tax-included {
    font-size: 0.8rem;
    font-weight: 400;
}

.book_card .purchase_btn {
    width: 100%;
    margin-bottom: 12px;
    background:#e74c3c;
    box-shadow:0 4px 15px rgb(231 76 60 / 52%);
    padding: 12px 20px;
    font-size: 1rem;
    min-width: auto;
}

.guarantee {
    margin-top: 0;
    font-size: 0.85rem;
    color: #2593a7;
    font-weight: 500;
    margin-bottom: 0;
}

/*------------------------------------*\
    $RELATED BOOKS
\*------------------------------------*/

.related_books {
    background: #f8f9fa;
    padding: 2rem 0 4rem 0;
    margin-top: 60px;
}

.section_title {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 0;
    font-weight: 700;
    color: #033769;
    margin-bottom:30px;
}

.related_books_slider {
    padding: 20px 0 40px;
}

.related_books_slider .swiper-slide {
    height: auto;
    display: flex;
}

.book_item {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    width: 100%;
    min-height: 300px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.book_item:hover {
    transform: translateY(-5px);
}

.book_item .book_image {
    margin-bottom: 20px;
}

.book_item .book_image img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.book_item .book_info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #033769;
    margin-bottom: 15px;
    line-height: 1.4;
}

.book_item .book_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.book_item .author {
    color: #666;
    margin-bottom: 10px;
}

.book_item .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
}

.book_link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.book_link:hover {
    transform: translateY(-5px);
}

.book_info h3 .book_link {
    color: #033769;
    text-decoration: none;
}

.book_info h3 .book_link:hover {
    color: #e74c3c;
    transform: none;
}

/* Swiper Navigation */
/* モバイル固定CTA */
.mobile_fixed_cta{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    padding: 8px 10px;
    display: none;
    z-index: 1001;
}

.mobile_cta_btn{
    flex: 1 1 0;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 1rem;
    font-weight: 700;
}

.mobile_fixed_cta{ gap: 8px; }

.mobile_cta_btn--line{
    background: #00c300;
}

@media (max-width: 768px){
    .mobile_fixed_cta{ display: flex; }
    body{ padding-bottom: 70px; }
}
.swiper-button-next,
.swiper-button-prev {
    color: #bd052c !important;
}

.swiper-pagination-bullet {
    background: #bd052c !important;
}

.swiper-pagination-bullet-active {
    background: #bd052c !important;
}

/*------------------------------------*\
    $FOOTER
\*------------------------------------*/

#footer {
    background: #373737;
    color: #fff;
    padding: 50px 0 20px;
}

.f-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer_links {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.footer_section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 2px solid #bd052c;
}

.footer_section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 60px;
    justify-content: center;
}

.footer_section li {
    margin: 0;
}

.footer_section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer_section a:hover {
    color: #bd052c
}

.footer_bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
}

.footer_copyright p {
    color: #999;
    margin: 0;
}

/*------------------------------------*\
    $RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 767px) {
    .inner {
        padding: 0.5rem 0.7rem;
    }

    h3 {
        width: auto;
        min-width: auto;
    }
    .book_item .price{
        margin: 0;
    }
    .book_item{
        width: 100%;
    }


  
    section .inner{
        padding-top: 2rem!important;
    }
    
    .pc{
    	display: none;	
    }
    
    .sp{
    	display: block;	
    }

    /* 目次：+アイコンと見出しの間隔を拡張 */
    .toc_chapter_header{ display:none; }
    .toc_subtitle{ padding-right:44px; }

    .book_info {
        padding: 16px;
    }

    .book_title {
        font-size: 1.8rem;
    }

    .book_header {
        flex-direction: column;
        gap: 20px;
        padding: 0;   
    }
    .purchase_form{
        padding: 20px;
    }

    .book_cover {
        align-self: center;
    }

    .book_cover img {
        margin: 0 auto;
        display: block;
    }

    .book_cover img {
        width: 170px;
        margin: 0 auto;
        display: block;
    }
    .header_inner{
        padding: 0; 
    }
    .nav_list{
        gap:10px;
    }
    .header_title h1{
        font-size: 1.1em;
    }
    .form_group select[name="prefecture"]{
        font-size: 0.9em;
    }
    .container{
        padding: 0 10px;
    }
    .book_description, .table_of_contents, .related_books{
        padding: 2rem 0 0;
    }
    .sticky_book_display{
        display: none;
    }

    .content_wrapper {
        gap: 20px;
        margin: 20px 0;
    }
    .line_register_btn{
        font-size: 1.2em;
    }

    .sidebar {
        position: static;
        top: auto;
        z-index: auto;
    }

    .related_books {
        padding: 40px 0;
        margin-top: 40px;
    }

    .section_title {
        font-size: 2rem;
    }

    .footer_links {
        flex-direction: column;
        align-items: center;
    }

    .footer_section ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }



    .form_group input[type="email"],
    .form_group input[type="tel"],
    .form_group input[name="postal"],
    .form_group input[name="address"],
    .form_group input[name="building"] {
        width: 100%;
    }
    
    .form_row .form_group {
        padding-right: 0;
    }

    /* スマホ時 購入ボタンのはみ出し防止 */
    .purchase_btn{
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

/* メッセージ表示スタイル */
.message {
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*------------------------------------*\
    $ANIMATIONS
\*------------------------------------*/

.under-dotted {
    padding-bottom: 0.1rem;
    border-bottom: 2px dotted #555;
}

.btn-box .reflection {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    max-width: 671px;
    margin: -5rem auto auto auto;
}

a:hover {
    opacity: 0.95;
}

.reflection:after {
    content: "";
    height: 100%;
    width: 30px;
    position: absolute;
    top: -180px;
    left: 0;
    background-color: #fff;
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -webkit-animation: reflection 2s ease-in-out infinite;
}

@keyframes reflection {
    0% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    80% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }

    81% {
        -webkit-transform: scale(4) rotate(45deg);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}




 