/* ============================================================
   AisisJapan - style.css
   ============================================================
   【編集ガイド】
   ★ カラーを変えたい → :root の変数だけ変更すればOK
   ★ フォントを変えたい → @import の行を変更
   ★ 各セクションはコメントで区切っています
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Noto+Serif+JP:wght@300;400;500&family=Zen+Kaku+Gothic+New:wght@300;400&display=swap');

/* ============================================================
   ★ カラー変数 ← ここを変えると全体の色が変わります
   ============================================================ */
:root {
  --green-deep:  #2A4A1E;
  --green-mid:   #4A7C3F;
  --green-light: #7BAD6B;
  --cream:       #FAF7F0;
  --cream-dark:  #F0EAD8;
  --terra:       #C4622D;
  --terra-light: #E8936A;
  --gold:        #B8973A;
  --gold-light:  #D4B86A;
  --brown:       #3D2B1F;
  --brown-light: #7A5C45;
  --white:       #FFFFFF;
  --text-main:   #2C2017;
  --text-muted:  #6B5744;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  background: var(--cream);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ── ナビゲーション ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled { background: rgba(42,74,30,0.95); padding: 0.8rem 4rem; backdrop-filter: blur(8px); }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; color: var(--white); letter-spacing: 0.08em; text-decoration: none; }
.nav-logo span { color: var(--gold-light); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.12em; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold-light); }

/* ── ヒーロースライダー ── */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; background: var(--green-deep); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.active { opacity: 1; }
.slide-bg { width: 100%; height: 100%; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 8s ease; }
.slide.active .slide-bg { transform: scale(1); }
/* ★ 実際の写真に差し替える場合は background-image: url('../images/xxx.jpg') を追加 */
.slide-1 .slide-bg { background-image: url('../images/hero-01-ai.png'); background-color: #5C2E0A; }
.slide-2 .slide-bg { background-image: url('../images/hero-02-ji.png'); background-color: #1a3a1a; }
.slide-3 .slide-bg { background-image: url('../images/hero-03-ko.png'); background-color: #C07000; }
.slide-4 .slide-bg { background-image: url('../images/hero-04-su.png'); background-color: #0D3B72; }
.slide-5 .slide-bg { background-image: url('../images/hero-05-logo.png'); background-color: #0a2818; }
.slide-logo { inset: 2rem; border-radius: 24px; overflow: hidden; }
.slide-logo .slide-bg { background-size: 70%; background-repeat: no-repeat; background-position: center 18%; }
.slide-logo .slide-content { align-items: center; text-align: center; justify-content: flex-end; padding: 0 2rem 2rem; }
.slide-logo .slide-kanji { font-size: 4rem; }
.slide-logo .slide-subtitle { font-style: italic; color: rgba(255,255,255,0.85); }
.slide-overlay-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0.15; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(20,15,10,0.75) 0%, rgba(20,15,10,0.3) 60%, transparent 100%); }
.slide-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 4rem; padding-top: 5rem; }
.slide-kanji { font-family: 'Noto Serif JP', serif; font-size: 5rem; font-weight: 300; color: var(--gold-light); line-height: 1; margin-bottom: 0.5rem; opacity: 0; transform: translateY(20px); transition: opacity 0.8s 0.4s, transform 0.8s 0.4s; }
.slide.active .slide-kanji { opacity: 1; transform: translateY(0); }
.slide-subtitle { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: rgba(255,255,255,0.7); letter-spacing: 0.2em; margin-bottom: 2rem; opacity: 0; transition: opacity 0.8s 0.7s; }
.slide.active .slide-subtitle { opacity: 1; }
.slide-title { font-family: 'Noto Serif JP', serif; font-size: 2.6rem; font-weight: 300; color: var(--white); line-height: 1.4; max-width: 520px; opacity: 0; transform: translateY(15px); transition: opacity 0.8s 0.9s, transform 0.8s 0.9s; }
.slide.active .slide-title { opacity: 1; transform: translateY(0); }
.hero-cta { position: absolute; bottom: 3rem; left: 4rem; display: flex; align-items: center; gap: 2rem; }
.btn-primary { display: inline-block; padding: 0.9rem 2.5rem; background: var(--terra); color: var(--white); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.15em; transition: background 0.3s, transform 0.2s; }
.btn-primary:hover { background: var(--terra-light); transform: translateY(-2px); }
.hero-sub { font-size: 0.8rem; color: rgba(255,255,255,0.65); letter-spacing: 0.08em; }
.slider-dots { position: absolute; bottom: 3rem; right: 4rem; display: flex; gap: 0.6rem; }
.dot { width: 28px; height: 2px; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.3s, width 0.3s; }
.dot.active { background: var(--gold-light); width: 52px; }

/* ── セクション共通 ── */
section { padding: 7rem 4rem; }
.section-label { font-size: 0.72rem; letter-spacing: 0.25em; color: var(--green-mid); text-transform: uppercase; margin-bottom: 0.8rem; font-family: 'Cormorant Garamond', serif; }
.section-title { font-family: 'Noto Serif JP', serif; font-size: 2.6rem; font-weight: 300; color: var(--green-deep); line-height: 1.3; margin-bottom: 1rem; }
.section-divider { width: 60px; height: 1px; background: var(--gold); margin: 1.5rem 0 2.5rem; }

/* ── アバウト ── */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; margin-top: 4rem; }
.aisis-name-box { background: var(--green-deep); padding: 3rem; position: relative; }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.name-item { border-left: 2px solid var(--gold); padding-left: 1rem; }
.name-jp { font-family: 'Noto Serif JP', serif; font-size: 1.8rem; font-weight: 300; color: var(--gold-light); }
.name-en { font-size: 0.7rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-top: 0.2rem; }
.name-letter { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: rgba(255,255,255,0.08); position: absolute; top: 1rem; right: 2rem; }
.about-box-label { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: rgba(255,255,255,0.5); letter-spacing: 0.15em; }
.about-tag { display: inline-block; margin-top: 2rem; padding: 0.4rem 1.2rem; border: 1px solid var(--gold); color: var(--gold-light); font-size: 0.75rem; letter-spacing: 0.2em; font-family: 'Cormorant Garamond', serif; }
.about-text { font-size: 1rem; line-height: 2; color: var(--text-muted); margin-bottom: 1.5rem; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.mission-card { padding: 1.5rem; background: var(--cream); border-top: 2px solid var(--green-mid); }
.mission-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--green-deep); margin-bottom: 0.7rem; }
.mission-card p { font-size: 0.82rem; line-height: 1.8; color: var(--text-muted); }

/* ── エシカルワーク ── */
.works { background: var(--cream-dark); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 4rem; background: rgba(42,74,30,0.1); }
.work-card { background: var(--white); padding: 2.5rem; position: relative; overflow: hidden; transition: transform 0.3s; }
.work-card:hover { transform: translateY(-4px); z-index: 1; }
.work-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.4rem; }
.work-card:nth-child(1) .work-icon { background: #EAF3DE; }
.work-card:nth-child(2) .work-icon { background: #FFF3E0; }
.work-card:nth-child(3) .work-icon { background: #E3F2FD; }
.work-card:nth-child(4) .work-icon { background: #FCE4EC; }
.work-card:nth-child(5) .work-icon { background: #F3E5F5; }
.work-card:nth-child(6) .work-icon { background: #E8F5E9; }
.work-number { font-family: 'Cormorant Garamond', serif; font-size: 4rem; color: rgba(42,74,30,0.06); position: absolute; top: 1rem; right: 1.5rem; line-height: 1; }
.work-card h3 { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 500; color: var(--green-deep); margin-bottom: 0.5rem; line-height: 1.4; }
.work-tag { font-size: 0.7rem; color: var(--green-mid); letter-spacing: 0.1em; font-family: 'Cormorant Garamond', serif; margin-bottom: 1rem; display: block; }
.work-card p { font-size: 0.83rem; line-height: 1.85; color: var(--text-muted); }
.work-visual { margin-top: 1.5rem; height: 90px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; overflow: hidden; }
/* ★ 画像差し替え例: background-image: url('../images/work-01.jpg'); background-size: cover; */
.work-card:nth-child(1) .work-visual { background: linear-gradient(135deg, #C8E6C9, #A5D6A7); }
.work-card:nth-child(2) .work-visual { background: linear-gradient(135deg, #FFE0B2, #FFCC80); }
.work-card:nth-child(3) .work-visual { background: linear-gradient(135deg, #BBDEFB, #90CAF9); }
.work-card:nth-child(4) .work-visual { background: linear-gradient(135deg, #F8BBD0, #F48FB1); }
.work-card:nth-child(5) .work-visual { background: linear-gradient(135deg, #E1BEE7, #CE93D8); }
.work-card:nth-child(6) .work-visual { background: linear-gradient(135deg, #B2DFDB, #80CBC4); }

/* ── 活動履歴 ── */
.history { background: var(--green-deep); }
.history .section-label { color: var(--gold-light); }
.history .section-title { color: var(--white); }
.history .section-divider { background: var(--gold); }
.history-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 4rem; align-items: center; }
.history-text p { font-size: 1rem; line-height: 2; color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.btn-outline { display: inline-block; padding: 0.85rem 2.2rem; border: 1px solid var(--gold); color: var(--gold-light); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.15em; transition: background 0.3s, color 0.3s; margin-top: 1rem; }
.btn-outline:hover { background: var(--gold); color: var(--green-deep); }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--gold), transparent); }
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; opacity: 0; transform: translateX(20px); transition: opacity 0.6s, transform 0.6s; }
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item::before { content: ''; position: absolute; left: -4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.timeline-year { font-family: 'Cormorant Garamond', serif; font-size: 0.8rem; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.3rem; }
.timeline-item h4 { font-family: 'Noto Serif JP', serif; font-size: 1rem; color: var(--white); font-weight: 400; margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── お問い合わせ ── */
.contact { background: var(--white); }
.contact-coming-soon { max-width: 620px; margin: 0 auto; text-align: center; padding: 3rem 2rem; }
.coming-soon-icon { font-size: 2rem; color: var(--gold); margin-bottom: 1.5rem; letter-spacing: 0.3em; }
.coming-soon-title { font-family: 'Noto Serif JP', serif; font-size: 1.4rem; font-weight: 300; color: var(--green-deep); margin-bottom: 2rem; }
.coming-soon-body p { font-size: 0.92rem; line-height: 2; color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6rem; margin-top: 4rem; align-items: start; }
.contact-info-text { font-size: 0.95rem; line-height: 2; color: var(--text-muted); margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail-item { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.2rem; background: var(--cream); border-left: 2px solid var(--gold); font-size: 0.85rem; color: var(--text-muted); }
.contact-detail-item .icon { font-size: 1.1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--green-deep); font-family: 'Cormorant Garamond', serif; }
.form-group label .required { color: var(--terra); margin-left: 0.3rem; }
.form-group input,
.form-group select,
.form-group textarea { padding: 0.85rem 1.1rem; border: 1px solid #ddd; background: var(--cream); font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.9rem; color: var(--text-main); transition: border-color 0.3s, box-shadow 0.3s; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(74,124,63,0.1); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 150px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A7C3F' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-color: var(--cream); cursor: pointer; }
.btn-submit { padding: 1rem 3rem; background: var(--green-deep); color: var(--white); border: none; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.88rem; letter-spacing: 0.2em; cursor: pointer; transition: background 0.3s, transform 0.2s; align-self: flex-start; }
.btn-submit:hover { background: var(--green-mid); transform: translateY(-2px); }
.btn-submit:disabled { background: #aaa; cursor: not-allowed; transform: none; }
.form-success { display: none; padding: 3rem 2rem; background: var(--green-deep); text-align: center; }
.form-success h3 { font-family: 'Noto Serif JP', serif; font-size: 1.3rem; font-weight: 300; color: var(--white); margin-bottom: 0.8rem; }
.form-success p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.8; }

/* ── フッター ── */
footer { background: #1A2E12; color: rgba(255,255,255,0.6); padding: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--white); margin-bottom: 1rem; }
.footer-logo span { color: var(--gold-light); }
.footer-desc { font-size: 0.82rem; line-height: 1.9; max-width: 300px; }
.footer-col h5 { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--white); letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.75rem; }
.footer-domain { font-family: 'Cormorant Garamond', serif; color: var(--gold-light); font-size: 0.9rem; letter-spacing: 0.1em; }

/* ── アニメーション ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  nav { padding: 1rem 2rem; }
  nav.scrolled { padding: 0.8rem 2rem; }
  section { padding: 5rem 2rem; }
  .about-grid, .history-layout, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid, .form-row { grid-template-columns: 1fr; }
  .slide-content { padding: 0 2rem; padding-top: 5rem; }
  .slide-kanji { font-size: 3.5rem; }
  .slide-title { font-size: 1.8rem; }
  .hero-cta { left: 2rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .slider-dots { right: 2rem; }
  .section-title { font-size: 2rem; }
}
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
