/* --- 基本スタイル & 変数定義 --- */
:root {
    --primary-color: #FFAB91;
    /* コーラルピンク (温かみ) */
    --secondary-color: #C8E6C9;
    /* ソフトグリーン (優しさ) */
    --accent-color: #FFFACD;
    /* ライトイエロー (明るさ) */
    --text-color: #6d6875;
    /* 少し紫がかったグレー (落ち着き) */
    --heading-color: #4a4a4a;
    /* 濃いグレー (読みやすさ) */
    --light-bg: #fff8f5;
    /* ごく薄いピンク/オレンジ系背景 */
    --white: #ffffff;
    --link-color: #e57373;
    /* 少し濃いめのピンク系 */
    --button-primary-bg: var(--primary-color);
    --button-primary-text: var(--white);
    --button-secondary-bg: var(--white);
    --button-secondary-text: var(--primary-color);
    --button-secondary-border: var(--primary-color);
    --suzuri-button-bg: #4CAF50;
    /* Suzuriの緑系 */
    --suzuri-button-text: var(--white);

    --font-family-sans: 'Noto Sans JP', sans-serif;
    --font-family-rounded: 'M PLUS Rounded 1c', sans-serif;
    --font-family-accent: 'Kaisei Decol', serif;
    /* 手書き風アクセント */

    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --border-radius-small: 8px;
    --border-radius-medium: 15px;
    --border-radius-large: 25px;
    --transition-smooth: all 0.3s ease-in-out;
}

/* --- グローバルスタイル --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    /* 横スクロール防止 */
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex-grow: 1;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-family-rounded);
    color: var(--heading-color);
    font-weight: 700;
    margin-top: 0;
    line-height: 1.4;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.4em;
    margin-bottom: 0.7em;
}

h4 {
    font-size: 1.1em;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1.2em;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
    /* ホバー時は下線なしに */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-small);
    /* 画像にも少し丸み */
}

ul {
    list-style: none;
}

.section {
    padding: 60px 0;
}

.section.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-family: var(--font-family-accent);
    /* アクセントフォント */
    font-size: 2.2em;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.section-actions {
    text-align: center;
    margin-top: 40px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- ヘッダー --- */
.site-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    /* スクロール追従 */
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: var(--font-family-accent);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.site-logo img {
    height: 40px;
    /* ロゴ画像の高さ調整 */
    width: auto;
}

.global-nav ul {
    display: flex;
    gap: 25px;
}

.global-nav a {
    font-family: var(--font-family-rounded);
    font-weight: 500;
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
    text-decoration: none;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.global-nav a:hover::after,
.global-nav a.active::after {
    width: 100%;
}

.global-nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    /* デフォルト非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 110;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--heading-color);
    margin: 5px 0;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- ヒーローセクション --- */
.hero {
    background-color: var(--secondary-color);
    /* 背景色 */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    /* 装飾的な背景要素 */
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.5;
}

.hero::after {
    /* 装飾的な背景要素 */
    content: '';
    position: absolute;
    top: -30px;
    right: -40px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 171, 145, 0.3);
    /* primary-colorの透明度調整 */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* 不定形 */
    opacity: 0.7;
    animation: blobRotate 15s linear infinite;
}

@keyframes blobRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero .catchphrase {
    font-family: var(--font-family-accent);
    font-size: 2.8em;
    color: var(--heading-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero .catchphrase .highlight {
    color: var(--primary-color);
    /* background: linear-gradient(transparent 60%, var(--accent-color) 60%); */
    /* マーカー風 */
    padding: 0 5px;
}

.hero .subtitle {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* --- ボタン共通 --- */
.cta-button {
    display: inline-block;
    padding: 14px 35px;
    border-radius: var(--border-radius-large);
    font-weight: 700;
    font-size: 1.05em;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.cta-button i {
    margin-left: 8px;
}

.cta-button.primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    border-color: var(--button-primary-bg);
}

.cta-button.primary:hover {
    background-color: var(--white);
    color: var(--button-primary-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    border-color: var(--button-secondary-border);
}

.cta-button.secondary:hover {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    border-color: var(--button-primary-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.link-button {
    display: inline-block;
    color: var(--link-color);
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    /* 下線用 */
    transition: var(--transition-smooth);
}

.link-button:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    transform: translateX(3px);
}

.link-button i {
    margin-left: 5px;
}

/* --- コンテンツグリッド --- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* トップページのグリッド */
.music-grid,
.goods-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* 一覧ページのグリッド */
.large-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* --- 音楽アイテム --- */
.music-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition-smooth);
}

.music-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 アスペクト比 */
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: var(--border-radius-small);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.music-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.music-item p {
    font-size: 0.95em;
    margin-bottom: 15px;
}

/* --- グッズアイテム --- */
.goods-item {
    background-color: var(--white);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    /* 画像のはみ出し防止 */
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    /* Flexboxでレイアウト */
    flex-direction: column;
    /* 縦方向に配置 */
}

.goods-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.goods-item a:first-of-type {
    /* 画像とテキストを含むリンク */
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 20px 20px 10px;
    /* 下の余白を少し減らす */
    flex-grow: 1;
    /* ボタン以外の領域を埋める */
}

.goods-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 正方形 */
    object-fit: cover;
    margin-bottom: 15px;
}

.goods-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.goods-item p {
    font-size: 0.95em;
    margin-bottom: 10px;
}

.price-tag {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1em;
    margin-bottom: 10px;
}

.suzuri-button {
    display: inline-block;
    background-color: var(--suzuri-button-bg);
    color: var(--suzuri-button-text);
    padding: 8px 18px;
    border-radius: var(--border-radius-small);
    font-size: 0.9em;
    font-weight: 500;
    margin: 0 20px 20px;
    /* 左右下の余白 */
    transition: var(--transition-smooth);
}

.suzuri-button:hover {
    background-color: #388E3C;
    /* 少し濃い緑 */
    color: var(--suzuri-button-text);
    transform: scale(1.05);
}

.suzuri-button i {
    margin-left: 5px;
}

/* --- コンセプト紹介 (トップページ) --- */
.concept-intro {
    text-align: center;
}

.concept-intro p {
    font-size: 1.1em;
    line-height: 1.8;
}

/* --- Aboutページ --- */
.about-header {
    background-color: var(--secondary-color);
}

/* ヘッダー背景色 */
.about-content .about-block {
    margin-bottom: 40px;
    text-align: center;
}

.about-content .icon-large {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-content h3 {
    font-family: var(--font-family-accent);
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.about-content h3 .highlight {
    color: var(--primary-color);
}

.about-content p {
    font-size: 1.05em;
}

/* --- フッター --- */
.site-footer {
    background-color: var(--heading-color);
    color: #ccc;
    padding: 40px 0;
    margin-top: auto;
    /* ページ下部に固定 */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-about,
.footer-nav {
    flex: 1;
    min-width: 200px;
}

.footer-about h3 {
    font-family: var(--font-family-accent);
    color: var(--white);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.footer-nav h4 {
    color: var(--white);
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-nav i {
    font-size: 0.8em;
    margin-left: 3px;
}

.copyright {
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #555;
    padding-top: 20px;
    margin-top: 20px;
}

/* --- ページトップへ戻るボタン --- */
.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 171, 145, 0.8);
    /* primary-color 半透明 */
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    z-index: 90;
}

.page-top:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .section {
        padding: 40px 0;
    }

    .header-container {
        padding: 0 15px;
    }

    .global-nav {
        display: none;
        /* スマホでは非表示 */
        position: absolute;
        top: 100%;
        /* ヘッダーのすぐ下 */
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .global-nav.active {
        display: block;
        /* activeクラスで表示 */
    }

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

    .global-nav a {
        font-size: 1.1em;
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
        /* スマホで表示 */
    }

    .hero {
        padding: 60px 0;
        min-height: 50vh;
    }

    .hero .catchphrase {
        font-size: 2.2em;
    }

    .hero .subtitle {
        font-size: 1.1em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cta-button {
        width: 80%;
        max-width: 300px;
    }

    .content-grid {
        gap: 20px;
    }

    .large-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* スマホでは少し小さめ */

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-about,
    .footer-nav {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.3em;
    }

    .hero .catchphrase {
        font-size: 1.9em;
    }

    .hero .subtitle {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.9em;
    }

    .concept-intro p {
        font-size: 1em;
    }

    .goods-item h3,
    .music-item h3 {
        font-size: 1.1em;
    }

    .goods-item p,
    .music-item p {
        font-size: 0.9em;
    }

    .price-tag {
        font-size: 1em;
    }

    .suzuri-button {
        font-size: 0.85em;
        padding: 7px 15px;
    }

    .page-top {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
        bottom: 15px;
        right: 15px;
    }
}

/* ==========================
   Related Contents Section
   ========================== */
.related-contents {
    /* 背景色は .bg-light で設定済み */
}

.related-grid {
    /* .content-grid のスタイルを継承 */
    /* 必要に応じて調整 */
}

.related-item {
    background-color: #fff;
    border-radius: 8px;
    /* 角を丸める */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* 影を追加 */
    overflow: hidden;
    /* 角丸からはみ出さないように */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* ホバーアニメーション */
    display: flex;
    /* Flexbox を使用 */
    flex-direction: column;
    /* 子要素を縦に並べる */
    height: 100%;
    /* グリッドセルの高さを埋める */
}

.related-item:hover {
    transform: translateY(-5px);
    /* 少し上に移動 */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    /* 影を濃く */
}

/* サムネイルと情報部分を囲むリンク */
.related-link {
    display: block;
    /* ブロック要素にする */
    text-decoration: none;
    /* 下線を消す */
    color: inherit;
    /* 親要素の色を継承 */
    flex-grow: 1;
    /* 残りのスペースを埋める */
    display: flex;
    /* Flexbox を使用 */
    flex-direction: column;
    /* 子要素を縦に並べる */
}

.related-thumbnail {
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 のアスペクト比 */
    position: relative;
    /* 子要素の絶対位置指定の基準 */
    overflow: hidden;
    /* はみ出した画像を隠す */
    background-color: #eee;
    /* 画像読み込み中の背景色 */
}

.related-thumbnail img {
    position: absolute;
    /* 親要素に対して絶対位置指定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* コンテナに合わせて画像をトリミング */
    transition: transform 0.3s ease;
    /* ホバー時のズームアニメーション */
}

.related-item:hover .related-thumbnail img {
    transform: scale(1.05);
    /* ホバー時に少しズーム */
}

.related-info {
    padding: 15px;
    /* 内側の余白 */
    flex-grow: 1;
    /* 残りのスペースを埋める */
}

.related-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
    /* タイトルのフォントサイズ */
    color: var(--primary-color);
    /* プライマリカラーを使用 */
    font-family: var(--font-accent);
    /* アクセントフォント */
}

.related-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    /* 説明文のフォントサイズ */
    color: #555;
    /* 少し薄い文字色 */
    line-height: 1.5;
    /* 行間 */
}

/* 下部のボタン */
.related-button {
    /* .link-button のスタイルを継承 */
    display: block;
    /* ブロック要素にする */
    margin: 15px;
    /* 外側の余白 */
    margin-top: auto;
    /* 上にスペースを空けて下寄せにする */
    text-align: center;
    /* テキストを中央揃え */
    background-color: var(--secondary-color);
    /* セカンダリカラーを使用 */
    color: #fff;
    /* 文字色を白に */
    padding: 10px 15px;
    /* ボタンのパディング調整 */
    border-radius: 5px;
    /* ボタンの角を丸める */
}

.related-button:hover {
    background-color: var(--secondary-dark);
    /* ホバー時に少し暗く */
    color: #c8e6c9;
}

/* レスポンシブ対応 (必要に応じて調整) */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        /* スマホでのカラム調整 */
    }
}