@charset "UTF-8";

:root {
    /* 配色パレット */
    --bg-washi: #fcfaf2; /* 生成り色（和紙） */
    --text-ink: #1a1a1a; /* 墨色 */
    --accent-red: #c22026; /* 朱色 */
    --accent-gold: #b38f4d; /* 渋めの金 */
    
    --font-serif: 'Shippori Mincho', serif;
    --font-sans: 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-washi);
    color: var(--text-ink);
    font-family: var(--font-body);
    line-height: 2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
}

/* 共通レイアウト */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 800; }

.t-vertical { writing-mode: vertical-rl; letter-spacing: 0.1em; }

/* 汎用クラス: 指定の赤色 */
.text-red {
    color: #bc002d;
}

.en-label {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}
    
.text-left { text-align: left; }

.text-emphasis {
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* -------------------------------------------
    HERO AREA
------------------------------------------- */
.hero {
    height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #fff 0%, var(--bg-washi) 80%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* .sun-circle は削除しました */

/* --- 背景スライドショー設定 --- */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: zoomFade 18s infinite;
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 6s; }
.hero-bg-slide:nth-child(3) { animation-delay: 12s; }

@keyframes zoomFade {
    0% { opacity: 0; transform: scale(1.0); }
    5% { opacity: 0.8; }
    33% { opacity: 0.8; }
    40% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1.1); }
}

/* --- 縦書きコピー（PC用） --- */
.hero-vertical-copy {
    position: absolute;
    top: 15%;
    right: 10%;
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 2rem;
    font-family: var(--font-serif);
    letter-spacing: 0.2em;
    line-height: 2;
    z-index: 10;
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    transition: margin-top 0.3s;
}

.brand-name-box {
    position: relative;
    display: inline-block;
    padding: 2rem 0;
}

/* ロゴ画像スタイル */
.brand-logo {
    display: block;
    width: 100%;
    max-width: 500px; /* PCでの最大幅 */
    height: auto;
    margin: 0 auto;
}

/* 旧テキストスタイル（brand-main, brand-sub, brand-lead, char-w）は削除しました */

.hero-catch {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    height: 300px;
    font-size: 1.4rem;
    border-right: 1px solid var(--accent-red);
    padding-right: 1.5rem;
    white-space: nowrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: #ffffff; 
    animation: upDown 2s infinite;
}

@keyframes upDown {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* -------------------------------------------
    PRODUCT INTRO
------------------------------------------- */
.section-product-intro {
    padding: 100px 0;
    position: relative;
    /* 背景色指定なし */
}

.product-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.product-img-box {
    position: relative;
}

.product-img-box::before {
    content: '';
    position: absolute;
    top: 20px; left: -20px;
    width: 100%; height: 100%;
    border: 2px solid var(--accent-gold);
    z-index: 0;
    opacity: 0.6;
}

.product-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-text-box h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* -------------------------------------------
    DEVELOPER'S STORY
------------------------------------------- */
.section-voice {
    padding: 120px 0;
    background: rgba(255,255,255,0.7);
    position: relative;
}

.bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(#000 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

.voice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.founder-photo-wrap {
    position: relative;
    box-shadow: 15px 15px 0 var(--accent-gold);
}

.founder-photo {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(10%) contrast(1.05);
}

.voice-text h2 {
    font-size: 2rem; 
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Logic Section */
.section-logic {
    padding: 100px 0;
    background-color: transparent;
}

.section-logic h2 {
    font-size: 2rem;
}

.logic-step {
    background: #fff;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-gold);
    transition: 0.3s;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-label {
    font-family: var(--font-sans);
    font-size: 3rem;
    line-height: 1;
    opacity: 0.2;
    font-weight: bold;
    min-width: 60px;
}

.logic-title {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

/* --- ロジック間の三角形 --- */
.logic-arrow {
    width: 0;
    height: 0;
    border-left: 60px solid transparent; 
    border-right: 60px solid transparent;
    border-top: 40px solid #bc002d;
    
    margin: 0 auto 2rem auto; 
    
    /* アニメーション初期状態 (1.2sフェード) */
    opacity: 0;
    transition: opacity 1.2s ease;
}

.logic-arrow.is-visible {
    opacity: 1;
}

/* -------------------------------------------
    FAQ (NEW!)
------------------------------------------- */
.section-faq {
    padding: 100px 0;
    background-color: rgba(255,255,255,0.7);
}

.section-faq h2 {
    font-size: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center; 
    cursor: pointer;
    position: relative;
    font-family: var(--font-serif);
}

.faq-question::before {
    content: 'Q.';
    color: var(--accent-gold);
    font-family: var(--font-serif);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.faq-answer {
    font-size: 0.95rem;
    color: #555;
    padding-left: 2.5rem;
    line-height: 1.8;
    overflow: hidden;
}

/* HTML5 details/summary for simple accordion */
details > summary {
    list-style: none;
    outline: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] .faq-question {
    color: var(--accent-red);
}

/* -------------------------------------------
    CTA & Contact
------------------------------------------- */
.cta-section {
    padding: 120px 0;
    text-align: center;
    background-image: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.85)), url('img/back1.png');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.cta-section h3 {
    font-weight: 600;
}

.btn-gold {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 4rem;
    background: var(--accent-gold);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: 0.3s;
    border: 1px solid var(--accent-gold);
}

.btn-gold:hover {
    background: #bc002d;
    border-color: #bc002d;
}

/* Contact Banner (NEW!) */
.contact-banner {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.contact-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 3rem;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #bc002d;
    color: #ffffff;
    border-color: #bc002d;
}

/* -------------------------------------------
    FOOTER
------------------------------------------- */
.site-footer {
    background: var(--text-ink);
    color: #ccc;
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-heading {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.company-info dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem 2rem;
    margin: 0;
}
.company-info dt { color: var(--accent-gold); font-weight: 500; }
.company-info dd { margin: 0; }

.privacy-policy p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #777;
}

/* SP対応 */
@media (max-width: 768px) {
    /* .brand-mainのフォントサイズ指定削除 */
    
    .hero-container {
        margin-top: 20vh;
    }
    
    /* sun-circle style 削除済み */
    
    /* SP時も縦書き維持、配置は上部中央 */
    .hero-vertical-copy {
        writing-mode: vertical-rl;
        top: 10%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: auto;
        height: auto;
        font-size: 1.2rem;
    }
    
    .brand-logo {
        max-width: 80%; /* SPでのロゴ幅 */
    }
    
    .product-intro-grid, .voice-grid, .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .product-img-box::before { top: 15px; left: -15px; }
    .founder-photo-wrap { box-shadow: 10px 10px 0 var(--accent-gold); }
    
    .logic-step { flex-direction: column; gap: 1rem; }
    .company-info dl { grid-template-columns: 1fr; gap: 0.5rem; }
    .company-info dt { margin-top: 1rem; }
}