@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');

:root {
    --textcolor: #2d2d2d;
    --maincolor: #ff9131;
    --secondcolor: #d66400;
    --bgcolor: #fff8f3;
}

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

p {
    font-size: 20px;
}

h1 {
    font-size: 48px;
    font-weight: 900;
}

h2 {
    font-size: 32px;
    font-weight: 700;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

body {
    font-family: "Zen Old Mincho", serif;
}

img {
    max-width: 100%;
    width: 100%;
    display: block;
    object-fit: contain;
}

a {
    font-size: 20px;
    text-decoration: none;
    color: var(--textcolor);
    transition: all 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

li {
    font-size: 20px;
}

td {
    font-size: 20px;
}

section {
    width: 100%;
    padding-block: 60px;
}

.container {
    width: 100%;
}

.section-inner {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.section-heading {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 40px;
    position: relative;
}

.section-heading::after {
    content: "";
    width: calc(100% + 40px);
    height: 3px;
    background-color: var(--textcolor);
    border-radius: 50%;
    position: absolute;
    top: 100%;
    left: -20px;
}

/* ============== */
/* == ヘッダー === */
/* ============== */
.header {
    width: 100%;
    border-bottom: 1px solid var(--textcolor);
}

.header__inner {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin-inline: auto;
}

.header__logo-img {
    max-height: 80px;
    margin-block: 20px;
}

/* ヘッダーナビゲーション */
.header-nav__list {
    display: flex;
    gap: 4rem;
    justify-content: center;
    align-items: center;
    padding-block: 20px;
    font-weight: 900;
}

/* ========================= */
/* =====メインビジュアル====== */
/* ========================= */
.hero {
    position: relative;
    height: 100vh;
    max-height: 660px;
    padding-block: 80px;
}

.hero__bg::before {
    content: "";
    width: 100%;
    height: 260px;
    background-image: url(../image/hero_back_01.png);
    background-size: cover;
    position: absolute;
    opacity: 0.7;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero__bg::after {
    content: "";
    width: 100%;
    height: 260px;
    background-image: url(../image/hero_back_02.png);
    background-size: cover;
    position: absolute;
    opacity: 0.7;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.hero-img {
    max-height: 500px;
    object-fit: contain;
}

/* ========================= */
/* ======== はじめに ======== */
/* ========================= */
.introduction {
    background-color: var(--bgcolor);
    padding-bottom: 85px;
}

.introduction__text {
    width: fit-content;
    margin-inline: auto;
}


/* ========================= */
/* ====== 書籍のご紹介 ====== */
/* ========================= */
.book {
    position: relative;
}

.book::before {
    content: "";
    width: 770px;
    height: 600px;
    background-image: url(../image/back_01.png);
    background-size: contain;
    position: absolute;
    top: -25px;
    left: 0;
}

.book__book-title {
    width: fit-content;
    margin-inline: auto;
}

.book__text {
    margin-bottom: 20px;
    width: fit-content;
    margin-inline: auto;
}

.book__column {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin-inline: auto;
    margin-top: 60px;
}

.book__img-wrapper {
    flex-basis: 50%;
    display: flex;
    justify-content: center;
}

.book__img {
    max-height: 613px;
    border-radius: 20px;
    width: fit-content;
}

.book__book-heading {
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book__book-heading strong {
    font-size: 32px;
    writing-mode: vertical-lr;
    letter-spacing: 4px;
    position: relative;
}

.book__column.reverse {
    flex-direction: row-reverse;
}

.book__book-heading-01 strong::before {
    content: "";
    width: 46px;
    height: 46px;
    background-image: url(../image/number_01.png);
    background-size: contain;
    position: absolute;
    bottom: 104%;
    left: 50%;
    transform: translateX(-50%);
}

.book__book-heading-02 strong::before {
    content: "";
    width: 40px;
    height: 46px;
    background-image: url(../image/number_02.png);
    background-size: contain;
    position: absolute;
    bottom: 104%;
    left: 50%;
    transform: translateX(-50%);
}

.book__book-heading-03 strong::before {
    content: "";
    width: 46px;
    height: 46px;
    background-image: url(../image/number_03.png);
    background-size: contain;
    position: absolute;
    bottom: 104%;
    left: 50%;
    transform: translateX(-50%);
}

/* ========================= */
/* ========= 著者 ========== */
/* ========================= */
.about {
    padding-top: 0;
}

.about__book-title {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 20px;
}

.about__text {
    width: fit-content;
    margin-inline: auto;
}

/* ========================= */
/* ========== CTA ========== */
/* ========================= */
.cta {
    padding-top: 0;
    position: relative;
}

.cta::after {
    content: "";
    width: 770px;
    height: 600px;
    background-image: url(../image/back_02.png);
    background-size: contain;
    position: absolute;
    bottom: -25px;
    right: 0;
}

.cta__inner {
    width: fit-content;
    margin-inline: auto;
    background-color: var(--maincolor);
    padding: 20px 40px;
    border-radius: 20px;
    color: #fff;
}

.cta__price {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 20px;
}

.cta__item {
    font-weight: 900;
}

.cta__link {
    color: #fff;
}

/* ========================= */
/* ====トップページ 腹話術 === */
/* ========================= */

.ventriloquism-sec {
    background-color: var(--bgcolor);
    padding-top: 85px;
}

.ventriloquism-sec__text {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 40px;
}

.ventriloquism__button {
    background-color: var(--maincolor);
    padding: 20px 40px;
    border-radius: 15px;
    color: #fff;
    display: block;
    width: fit-content;
    margin-inline: auto;
}

/* ========================= */
/* =========フッター ======== */
/* ========================= */

.footer {
    background-color: var(--secondcolor);
}

.footer__nav {
    border-bottom: 1px solid #fff;
}

.footer__nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding-block: 20px;
    width: calc(100% - 40px);
    max-width: 1200px;
    margin-inline: auto;
}

.footer__nav-link {
    color: #fff;
}

.footer__copyright small {
    width: fit-content;
    margin-inline: auto;
    display: block;
    color: #fff;
    padding-block: 30px;
}

/* =================================================== */
/* ===================腹話術ページ===================== */
/* =================================================== */
.page-header__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background-image: url(../image/ventriloquism_head.png);
    background-size: cover;
    background-position: 0% 30%;
    position: relative;
}

.page-header__inner::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
}

.page-header__text {
    font-size: 48px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.page-content-inner {
    width: calc(100% - 40px);
    margin-inline: auto;
    max-width: 1200px;
}

.ventriloquism__info {
    width: fit-content;
    margin-inline: auto;
    padding-block: 60px;
}

.ventriloquism__column {
    display: flex;
    gap: 40px;
}

.ventriloquism__left {
    flex-basis: 50%;
    position: relative;
}

.ventriloquism__right {
    flex-basis: 50%;
    position: relative;
    top: 50px;
}

.ventriloquism__img {
    border-radius: 20px;
}

.ventriloquism__left::before {
    content: "";
    width: 170px;
    height: 160px;
    background-image: url(../image/magic_01.png);
    background-size: contain;
    position: absolute;
    bottom: -40px;
    left: 35px;
    transform: rotate(30deg);
}

.ventriloquism__left::after {
    content: "";
    width: 170px;
    height: 75px;
    background-image: url(../image/magic_02.png);
    background-size: contain;
    position: absolute;
    bottom: 0;
    right: 35px;
}

.ventriloquism__right::before {
    content: "";
    width: 117px;
    height: 35px;
    background-image: url(../image/leaf.png);
    background-size: contain;
    position: absolute;
    top: -15px;
    left: 15px;
    transform: rotate(-25deg);
}

.ventriloquism__right::after {
    content: "";
    width: 75px;
    height: 54px;
    background-image: url(../image/clover.png);
    background-size: contain;
    position: absolute;
    top: -25px;
    right: 15px;
}

/* 腹話術の様子セクション */
.ventriloquism-movie {
    padding-block: 120px 60px;
}

.ventriloquism-movie iframe {
    width: 100%;
    max-width: 854px;
    height: 100%;
    aspect-ratio: 16 / 9;
    margin-inline: auto;
    display: block;
}

/* =================================================== */
/* ===================画面幅1500px以下================= */
/* =================================================== */
@media screen and (max-width:1499px) {
    /* ========================= */
    /* =====メインビジュアル====== */
    /* ========================= */
    .hero__bg::before {
        height: 225px;
    }

    .hero__bg::after {
        height: 225px;
    }

    /* ========================= */
    /* ====== 書籍のご紹介 ====== */
    /* ========================= */
    .book::before {
        width: 500px;
        height: 400px;
    }


    /* ========================= */
    /* ========== CTA ========== */
    /* ========================= */
    .cta::after {
        width: 500px;
        height: 400px;
    }
}

/* =================================================== */
/* ===================画面幅1024px以下================= */
/* =================================================== */
@media screen and (max-width:1024px) {
    /* ========================= */
    /* =====メインビジュアル====== */
    /* ========================= */
    .hero__bg::before {
        height: 150px;
    }

    .hero__bg::after {
        height: 150px;
    }

    /* ========================= */
    /* ====== 書籍のご紹介 ====== */
    /* ========================= */
    .book::before {
        width: 330px;
        height: 260px;
    }

    /* ========================= */
    /* ========== CTA ========== */
    /* ========================= */
    .cta::after {
        width: 330px;
        height: 260px;
    }

    /* =================================================== */
    /* ===================腹話術ページ===================== */
    /* =================================================== */
    .ventriloquism__left::before {
        width: 100px;
        height: 100px;
        bottom: -20px;
    }
    
    .ventriloquism__left::after {
        width: 130px;
        height: 60px;
    }
    
    .ventriloquism__right::before {
        width: 117px;
        height: 35px;
    }
    
    .ventriloquism__right::after {
        width: 75px;
        height: 54px;
    }
}

/* =================================================== */
/* ===================画面幅767px以下================= */
/* =================================================== */
@media screen and (max-width:767px) {
    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    p, a, td, li {
        font-size: 16px;
    }

    section {
        padding-block: 45px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    /* ============== */
    /* == ヘッダー === */
    /* ============== */
    .header__logo-img {
        margin-block: 15px;
    }

    .header-nav__list {
        padding-block: 15px;
    }

    /* ========================= */
    /* =====メインビジュアル====== */
    /* ========================= */
    .hero {
        max-height: 620px;
        padding-block: 60px;
    }

    .hero__bg::before {
        height: 110px;
    }

    .hero__bg::after {
        height: 110px;
    }

    /* ========================= */
    /* ======== はじめに ======== */
    /* ========================= */
    .introduction {
        padding-bottom: 65px;
    }

    /* ========================= */
    /* ====== 書籍のご紹介 ====== */
    /* ========================= */
    .book::before {
        width: 260px;
        height: 205px;
    }

    .book__book-heading strong {
        font-size: 20px;
    }

    /* ========================= */
    /* ========= 著者 ========== */
    /* ========================= */
    .about__book-title {
        margin-bottom: 15px;
    }

    /* ========================= */
    /* ========== CTA ========== */
    /* ========================= */
    .cta::after {
        width: 260px;
        height: 205px;
    }

    .cta__inner {
        padding: 15px 30px;
    }

    .cta__item {
        width: 65px;
    }

    /* ========================= */
    /* ====トップページ 腹話術 === */
    /* ========================= */

    .ventriloquism-sec {
        padding-top: 65px;
    }

    .ventriloquism-sec__text {
        margin-bottom: 30px;
    }

    .ventriloquism__button {
        padding: 15px 30px;
    }

    /* ========================= */
    /* =========フッター ======== */
    /* ========================= */
    .footer__nav-list {
        padding-block: 15px;
    }

    .footer__copyright small {
        padding-block: 20px;
    }

    /* =================================================== */
    /* ===================腹話術ページ===================== */
    /* =================================================== */
    .page-header__inner {
        min-height: 200px;
    }

    .page-header__text {
        font-size: 32px;
    }

    .ventriloquism__info {
        padding-block: 45px;
    }

    .ventriloquism__column {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .ventriloquism__right {
        top: 0;
    }

    .ventriloquism__left::before,
    .ventriloquism__left::after,
    .ventriloquism__right::before,
    .ventriloquism__right::after {
        display: none;
    }

    .ventriloquism-movie {
        padding-block: 60px;
    }
}

/* =================================================== */
/* ===================画面幅480px以下================= */
/* =================================================== */
@media screen and (max-width:480px) {
    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 16px;
    }

    p, a, td, li {
        font-size: 14px;
    }

    section {
        padding-block: 30px;
    }

    .section-inner {
        width: calc(100% - 16px);
    }

    .section-heading {
        margin-bottom: 20px;
    }

    /* ============== */
    /* == ヘッダー === */
    /* ============== */
    .header__logo-img {
        margin-block: 10px;
    }

    .header-nav__list {
        padding-block: 10px;
    }

    /* ========================= */
    /* =====メインビジュアル====== */
    /* ========================= */
    .hero {
        max-height: 580px;
        padding-block: 40px;
    }

    .hero__bg::before {
        height: 70px;
    }

    .hero__bg::after {
        height: 70px;
    }

    /* ========================= */
    /* ======== はじめに ======== */
    /* ========================= */
    .introduction {
        padding-bottom: 45px;
    }

    /* ========================= */
    /* ====== 書籍のご紹介 ====== */
    /* ========================= */
    .book::before {
        width: 210px;
        height: 165px;
    }

    .book__column, .book__column.reverse {
        flex-direction: column-reverse;
        gap: 10px;
        margin-top: 80px;
    }

    .book__book-heading strong {
        writing-mode: horizontal-tb;
        letter-spacing: 0px;
    }
    
    /* ========================= */
    /* ========= 著者 ========== */
    /* ========================= */
    .about__book-title {
        margin-bottom: 10px;
    }

    /* ========================= */
    /* ========== CTA ========== */
    /* ========================= */
    .cta::after {
        width: 210px;
        height: 165px;
    }

    /* ========================= */
    /* ====トップページ 腹話術 === */
    /* ========================= */
    .ventriloquism-sec__text {
        margin-bottom: 20px;
    }

    .ventriloquism-sec {
        padding-top: 45px;
    }

    /* ========================= */
    /* =========フッター ======== */
    /* ========================= */
    .footer__nav-list {
        padding-block: 10px;
        width: calc(100% - 8px);
    }

    .footer__copyright small {
        padding-block: 10px;
    }

    /* =================================================== */
    /* ===================腹話術ページ===================== */
    /* =================================================== */
    .page-header__inner {
        min-height: 110px;
    }

    .page-header__text {
        font-size: 22px;
    }

    .page-content-inner {
        width: calc(100% - 8px);
    }

    .ventriloquism__info {
        padding-block: 30px;
    }

    .ventriloquism__column {
        gap: 20px;
    }

    .ventriloquism__right {
        top: 0;
    }

    .ventriloquism__left::before,
    .ventriloquism__left::after,
    .ventriloquism__right::before,
    .ventriloquism__right::after {
        display: none;
    }

    .ventriloquism-movie {
        padding-block: 30px;
    }
}
