/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* デフォルトをゴシック体に設定（視認性重視） */
    font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    padding-top: 70px;
}

.container{
  max-width: 1200px;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 4%;
}


/* --- 明朝体を適用するクラスを定義 --- */
.font-serif {
    font-family: "Noto Serif JP", serif;
}

/* ヘッダー */
.header {
    background-color: #5e5441;
    color: #fff;
    padding: 15px 0;
    position: fixed;      /* 画面に固定 */
    top: 0;               /* 一番上に配置 */
    left: 0;              /* 左端から配置 */
    width: 100%;          /* 横幅いっぱい */
    z-index: 1000;        /* 他の要素より上に表示 */
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
}

/* ロゴは明朝体で上品に */
.logo {
    font-family: "Noto Serif JP", serif; /* 明朝体 */
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.15em;
}

/* --- ヘッダーの基本設定 --- */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

/* ナビゲーションのリンク文字設定 */
.nav ul li a {
    color: #fff; /* 文字色を白にする */
    font-family: "Noto Serif JP", serif; /* フォントを明朝体にする */
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em; /* 少し文字間を広げると明朝体が綺麗に見えます */
    transition: opacity 0.3s;
}

/* ホバー（マウスを乗せた時）の演出 */
.nav ul li a:hover {
    opacity: 0.7;
}

/* --- [PC用] 769px以上の設定 --- */
@media (min-width: 769px) {
    .sp-only {
        display: none !important; /* PCでは三本線を隠す */
    }
    .nav {
        display: block !important;
        position: static !important;
    }
    .nav ul {
        display: flex !important; /* 横に並べる */
        gap: 25px;
        list-style: none;
    }
}

/* --- [スマホ用] 768px以下の設定 --- */
@media (max-width: 768px) {
    .menu-btn {
        display: block; /* スマホでは三本線を出す */
        background: none;
        border: none;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 100;
        cursor: pointer;
    }
    .menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        position: absolute;
        transition: 0.3s;
    }
    .menu-btn span:nth-child(1) { top: 0; }
    .menu-btn span:nth-child(2) { top: 11px; }
    .menu-btn span:nth-child(3) { bottom: 0; }

    /* メニュー本体 */
    .nav {
        position: fixed;
        top: 0;
        right: -100%; /* 画面の外に隠す */
        width: 80%;
        height: 100vh;
        background-color: #5e5441;
        padding: 80px 40px;
        transition: 0.4s;
        z-index: 90;
    }
    .nav.is-active {
        right: 0; /* ボタンが押されたら出る */
    }
    .nav ul {
        flex-direction: column; /* 縦に並べる */
        list-style: none;
        gap: 20px;
    }
}

/* ヒーローセクション */
.hero {
    position: relative;
    padding: 150px 0;
    background-image: url(../img/fv.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 4%;
}

.hero-text-wrap {
    flex: 1;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* 背景文字はデザイン的に明朝体 */
.bg-text {
    position: absolute;
    top: 0;
    left: 0;
    font-family: "Noto Serif JP", serif; /* 明朝体 */
    font-size: clamp(80px, 15vw, 150px);
    line-height: 1;
    font-weight: 700;
    color: #f2f0eb;
    z-index:0;
}

.hero-title-group {
    z-index: 1;
    margin-left: 20px;
}

/* メインの氏名は明朝体 */
.hero-title {
    font-family: "Noto Serif JP", serif; /* 明朝体 */
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #443c2e;
}

.hero-subtitle {
    font-size: 20px;
    font-family: "Noto Serif JP", serif; /* 明朝体 */
    font-weight: 400;
    color: #443c2e;
    letter-spacing: 0.05em;
}

.message {
    padding: 100px 30px;
    text-align: center;
}

.message-title {
    font-family: "Noto Serif JP", serif; /* キャッチコピー明朝体 */
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 60px;
    font-weight: 400;
}

.message-title .red {
    color: #8b2f2f;
    font-weight: 700;
}

/* 本文 - ゴシック体（ここだけ視認性を維持） */
.message-body {
    text-align: left;
    font-size: 16px;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
}

/* Media Section */
.media {
    background-color: #f7f3ee; /* 背景のベージュ色 */
    padding: 80px 30px;
}

.media-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* カードのデザイン */
.media-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.card-img {
    flex: 0 0 240px;
}

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

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.card-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    align-self: flex-end;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Noto Serif JP", serif;
}

.read-more .arrow {
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 50px;
}

.view-more-btn {
    background-color: #4a412e;
    color: #fff;
    border: none;
    padding: 12px 60px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.view-more-btn:hover {
    background-color: #5e5441;
}

/* 初期状態で隠すためのクラス */
.is-hidden {
    display: none;
}


/* レスポンシブ */
@media (max-width: 768px) {
    .hero {
        background-position: right -150px center;
        padding: 100px 0;
    }

    .hero-title-group {
        margin-top: 120px;
        margin-left: 10px;
    }

    .media-card {
        flex-direction: column;
        padding: 20px;
    }
    .card-img {
        flex: none;
        width: 100%;
    }
}

/* Profile Section */
.profile {
    padding: 100px 0;
    background-color: #fff;
}

.profile-flex {
    display: flex;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
}

/* 左側レイアウト */
.profile-left {
    flex: 0 0 320px;
    text-align: center;
}

.profile-img img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.sns-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.sns-link img {
    width: 32px;
    height: 32px;
    transition: opacity 0.3s;
}

.sns-link:hover {
    opacity: 0.7;
}

/* 右側レイアウト */
.profile-right {
    flex: 1;
    padding: 0 30px;
}

.profile-name {
    font-family: "Noto Serif JP", serif;
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.profile-job {
    background-color: #4a412e;
    color: #fff;
    display: inline-block;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    /* 肩書き部分は視認性のためゴシック体（body継承） */
}

.profile-text {
    font-size: 15px;
    color: #444;
    line-height: 1.9;
}

.profile-text p {
    margin-bottom: 25px;
}

/* レスポンシブ */
@media (max-width: 850px) {
    .profile-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-left {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin-bottom: 40px;
    }

    .profile-right {
        text-align: left;
    }
    
    .profile-name {
        text-align: center;
    }
    
    .profile-job {
        display: block;
        text-align: center;
    }
}


.book-section {
    margin: 0 auto;
    background-color: #f7f3ee; /* 背景のベージュ色 */
    padding: 100px 30px;
}

.book-section p {
    max-width: 900px;
}

.intro-text {
    margin: 0 auto;
}

/* タイトル部分 */
.section-title {
    font-family: "Noto Serif JP", serif;
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #4a3e21;
}

.intro-text {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 60px;
    padding: 0 10px;
}

/* カード全体のスタイル */
.book-card {
    background: #fff;
    border-radius: 4px; /* 画像に合わせて少し角をシャープに */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    padding: 50px;
    position: relative; /* バッジ配置の基準点 */
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* バッジ（画像）の配置 */
.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.badge img {
    width: 120px; /* バッジのサイズ（適宜調整） */
    height: auto;
}

/* カード内のレイアウト */
.book-content {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.book-image img {
    width: 220px;
    height: auto;
    display: block;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.1);
}

.book-detail {
    flex-grow: 1;
}

.author-info {
    font-size: 0.85rem;
    margin: 0 0 5px 0;
    color: #666;
}

.book-name {
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    color: #000;
    letter-spacing: 0.05em;
}

.publisher, .purchase, .release-date {
    font-size: 0.85rem;
    margin: 4px 0;
}

.description {
    margin-top: 25px;
    font-size: 0.95rem;
    color: #444;
}

.description p {
    margin-bottom: 12px;
}

/* ボタンのスタイル */
.btn-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4a3e21;
    color: #fff;
    text-decoration: none;
    padding: 18px;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-detail:hover {
    background-color: #635430;
    opacity: 0.9;
}

.btn-detail span {
    display: inline-block;
    margin-left: 15px;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .book-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .badge {
        top: -50px;
        right: -10px;
    }

    .book-card {
        padding: 30px 20px;
    }
}

/* 背景色共通設定 */
.bg-beige {
    background-color: #f3eee2;
    margin: 0;
    padding: 60px 20px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
}

.seminar-section {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 30px;
}

/* ギャラリー部分 */
.seminar-gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.gallery-item {
    flex: 1;
    min-width: 200px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* テキストエリア */
.seminar-footer-text {
    font-size: 0.9rem;
    margin-bottom: 50px;
    color: #444;
}

.seminar-footer-text p {
    margin-bottom: 5px;
}

/* 金色のグラデーションボタン */
.btn-container {
    margin-top: 40px;
}

.btn-gold {
    display: inline-block;
    padding: 18px 60px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 50px; /* カプセル型 */
    /* 金色のグラデーション */
    background: linear-gradient(to bottom, #b89535 0%, #8c6a1e 100%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.3);
    transition: transform 0.2s, opacity 0.2s;
    border: 1px solid #a3822d;
}

.btn-gold:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .seminar-gallery {
        gap: 20px;
    }

    .btn-gold {
        padding: 15px 30px;
        font-size: 1rem;
        width: 80%;
    }
}

/* フッター全体の共通背景（ベージュ） */
.site-footer {
    background-color: #f7f3ee;
    padding: 60px 20px 80px;
    text-align: center;
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
}

/* 名前部分のスタイル */
.footer-name {
    margin-bottom: 30px;
}

.name-jp {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #4a3e21;
    margin: 0;
    letter-spacing: 0.15em;
}

.name-en {
    font-family: serif;
    font-size: 1.2rem;
    color: #4a3e21;
    margin: 5px 0 0;
    letter-spacing: 0.05em;
}

/* SNSアイコンのスタイル */
.footer-sns {
    display: flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
}

.sns-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sns-link img {
    width: 44px; /* アイコンのサイズ */
    height: 44px;
    object-fit: contain;
    border-radius: 50%; /* Xなどは背景が黒いので丸く見せる場合 */
}

/* SNSホバーアニメーション */
.sns-link:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

/* モバイル対応 */
@media (max-width: 480px) {
    .name-jp {
        font-size: 1.8rem;
    }
    .footer-sns {
        gap: 20px;
    }
    .sns-link img {
        width: 38px;
        height: 38px;
    }
}

/* ふわっと表示させるための共通クラス */
.fade-up {
    opacity: 0;                 /* 最初は透明 */
    transform: translateY(30px); /* 少し下に配置 */
    transition: opacity 1.0s, transform 1.0s; /* 1秒かけて変化 */
}

/* 画面に入った時に付与するクラス */
.fade-up.is-visible {
    opacity: 1;                 /* 不透明にする */
    transform: translateY(0);    /* 元の位置に戻す */
}

