@charset "UTF-8";

/* ------------------------------------------------------------
基本設定 (Reset & Variables)
------------------------------------------------------------ */
:root {
    --primary-color: #003366;
    /* アカデミックブルー（信頼・知性） */
    --accent-color: #b8860b;
    /* ダークゴールド（品格・強調） */
    --text-color: #333333;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
    --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: bold;
}

/* ------------------------------------------------------------
ヘッダー (Sticky Navigation)
------------------------------------------------------------ */
header {
    background-color: var(--white);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5px;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-serif);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    font-size: 0.9rem;
    color: var(--text-color);
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

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

nav a:hover::after {
    width: 100%;
}

/* モバイル対応用メニュー調整 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        gap: 15px;
        font-size: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ------------------------------------------------------------
ヒーローセクション
------------------------------------------------------------ */
.hero {
    position: relative;
    height: 600px;
    background-image: url('./main.jpg');
    /* 研究室イメージ画像 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.3);
    /* 画像を少し暗くして文字を読みやすく */
}

.hero-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 60px;
    max-width: 800px;
    text-align: center;
    border-top: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-sub {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
}

.hero-price {
    display: inline-block;
    font-size: 3rem;
    color: #cc0000;
    /* 価格を目立たせる赤 */
    font-weight: bold;
    font-family: var(--font-sans);
    margin: 10px 0;
    border-bottom: 2px solid #cc0000;
}

.hero-price span {
    font-size: 1.5rem;
    color: #333;
    margin-left: 10px;
}

.hero-features {
    font-size: 1rem;
    margin: 20px 0;
    padding: 10px;
    background-color: #f0f0f0;
    display: inline-block;
    font-weight: bold;
}

.hero-message {
    margin-top: 20px;
    font-size: 1.2rem;
    font-family: var(--font-serif);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-content {
        width: 90%;
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-price {
        font-size: 2rem;
    }
}

/* ------------------------------------------------------------
共通セクションスタイル
------------------------------------------------------------ */
section {
    padding: 30px 20px;
}

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

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* ------------------------------------------------------------
制作はどこに (Where)
------------------------------------------------------------ */
#where,
#section1 {
    background-color: var(--white);
    margin-top: 40px;
}

.where-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.where-text {
    flex: 1;
}

.where-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.where-text p {
    margin-bottom: 15px;
}

.where-image {
    flex: 1;
    text-align: center;
}

.where-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .where-content {
        flex-direction: column;
    }
}

/* ------------------------------------------------------------
こんなことまで (What Included)
------------------------------------------------------------ */
#content,
#section2 {
    margin-top: 40px;
    background-color: var(--bg-light);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--white);
    padding: 20px;
    border-top: 3px solid var(--primary-color);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.85rem;
    color: #666;
}

.page-volume {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ------------------------------------------------------------
さらに (More / Features)
------------------------------------------------------------ */
#more {
    margin-top: 40px;
    /* background-color: var(--primary-color); */
    background-color: var(--primary-color);
    /* color: var(--white); */
}

#more .section-title {
    color: var(--white);
}

#more .section-title::after {
    background-color: var(--accent-color);
}

.features-wrapper {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 20px;
}

.feature-item {
    flex: 1;
    /* background: rgba(255, 255, 255, 0.1); */
    background: var(--primary-color);
    padding-top: 0px;
    padding-bottom: 0px;
    border-radius: 8px;
    font-size: 1.25rem;
    color: var(--white);
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.75rem;
    color: yellow;
}

@media (max-width: 768px) {
    .features-wrapper {
        flex-direction: column;
    }
}

/* ------------------------------------------------------------
やはり (Conclusion)
------------------------------------------------------------ */
#choice,
#section4,
#section6 {
    margin-top: 40px;
    background-color: var(--bg-light);
    text-align: center;
}

.cta-box {
    background-color: #fcfcfc;
    border: 1px solid #ddd;
    padding: 50px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #002244;
    transform: scale(1.02);
}

/* ------------------------------------------------------------
フッター
------------------------------------------------------------ */
footer {
    background-color: #222;
    color: #999;
    padding: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* ------------------------------------------------------------
table
------------------------------------------------------------ */


.table-bordered {
    border: 1px solid #ddd;
    border-collapse: collapse;
    width: 100%;
}

.table-bordered th {
    border: 1px solid #ddd;
    border-collapse: collapse;
    background-color: #f8f9fa;
    padding: 10px;
}

.table-bordered td {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-collapse: collapse;
    padding: 10px;
}

/* ------------------------------------------------------------
箇条書き（ol）中央寄せインデント
------------------------------------------------------------ */
section ol {
    max-width: 700px;
    margin: 0 auto;
    padding-left: 2em;  /* 番号分の余白 */
}

section ol li {
    text-align: left;
    margin-bottom: 12px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    section ol {
        max-width: 100%;
        padding-left: 1.5em;
    }
}

/* ------------------------------------------------------------
FAQ（Q=サブタイトル / A=テキスト）
------------------------------------------------------------ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 35px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 25px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-left: 2.2em;
    position: relative;
}

.faq-q::before {
    content: 'Q';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8em;
    height: 1.8em;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.9em;
}

.faq-a {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
    padding-left: 2.6em;
    position: relative;
}

.faq-a::before {
    content: 'A';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8em;
    height: 1.8em;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: bold;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .faq-q {
        font-size: 1.05rem;
    }
    .faq-a {
        padding-left: 0;
    }
    .faq-a::before {
        display: none;
    }
}

/* ------------------------------------------------------------
テーブル内 左寄せ＋インデント
------------------------------------------------------------ */
.table-bordered td.cell-indent {
    text-align: left;
    padding-left: 2em;
}

/* ------------------------------------------------------------
単品商品カード
------------------------------------------------------------ */
.single-items {
    margin-top: 50px;
}

.single-items-title {
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--primary-color);
    margin-bottom: 30px;
}

.card-price {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 15px 0;
    line-height: 1.6;
    min-height: 80px;
}

.card-price strong {
    color: #cc0000;
    font-size: 1.1rem;
}

.card-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
}

.card-button:hover {
    background-color: #002244;
}

@media (max-width: 768px) {
    .card-price {
        min-height: auto;
    }
}

/* 3カラム用 */
.grid-cards.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .grid-cards.grid-3 {
        grid-template-columns: 1fr;
    }
}