/*
Theme Name: Asami Shoji Corporate
Theme URI: https://asamishoji.com
Description: 朝見商事コーポレートサイト - Tradition × Creation - 伝統と挑戦で、ブランドを創る
Version: 1.0
Author: Asami Shoji
Text Domain: asami-shoji
*/

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

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

:root {
    --bg-main: #FAFAF8;
    --bg-sub: #F4F1EC;
    --text-main: #1C1C1C;
    --text-sub: #6B6B6B;
    --accent-gold: #C9A84C;
    --accent-light: #E8D5A3;
    --bg-dark: #111111;
    --bg-footer: #0A0A0A;
    --line-gold: rgba(201, 168, 76, 0.3);
    --luxury-gradient: linear-gradient(135deg, #F8F6F0 0%, #FEFDFB 50%, #F5F2EA 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    background: var(--luxury-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    min-width: 320px;
    position: relative;
}

/* 格子削除バージョン：グラデーションと放射状の光のみ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(201, 168, 76, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.02) 0%, transparent 60%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 28px 5%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(250, 250, 248, 0.98);
    border-bottom: 1px solid var(--line-gold);
    padding: 20px 5%;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-ja {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--text-main);
    text-decoration: none;
}

.logo-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--text-sub);
    text-transform: uppercase;
}

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

nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 1px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 10%;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-decoration {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 420px;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

.hero-line {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-title-ja {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 0.15em;
    line-height: 1.3;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-title-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-divider {
    width: 100%;
    height: 1px;
    background: var(--line-gold);
    margin: 48px 0;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--text-sub);
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.2s;
}

.hero-description {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--text-sub);
    line-height: 2;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.4s;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    border: 1px solid var(--accent-gold);
    background: transparent;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.6s;
}

.hero-cta:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
    transform: translateY(-2px);
}

.hero-cta::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.hero-cta:hover::after {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--accent-gold));
    animation: scrollLine 2s ease-in-out infinite;
}

.scroll-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--text-sub);
    text-transform: uppercase;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Section Styles */
section {
    padding: 160px 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.4em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.15em;
}

.divider-gold {
    width: 100%;
    height: 1px;
    background: var(--line-gold);
}

/* Brands Section */
#brands {
    background: transparent;
}

.brands-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
}

.brand-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 168, 76, 0.25);
    padding: 60px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.05);
}

.brand-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(201, 168, 76, 0.18);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.95);
}

.brand-logo {
    margin-bottom: 40px;
}

.brand-logo img {
    max-width: 220px;
    height: auto;
    display: block;
}

.brand-card:nth-child(2) .brand-logo img {
    max-width: 200px;
    border-radius: 8px;
}

.brand-name,
.brand-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.brand-description {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.08em;
    line-height: 2;
    color: var(--text-sub);
    margin-bottom: 40px;
    flex-grow: 1;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.brand-link:hover {
    gap: 16px;
}

.brand-link::after {
    content: '→';
    font-size: 16px;
}

/* Vision Section */
#vision {
    background: var(--bg-dark);
    color: white;
    padding: 200px 5%;
}

#vision .section-label {
    color: var(--accent-light);
}

#vision .section-title {
    color: white;
}

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

.vision-mission {
    text-align: center;
    margin-bottom: 120px;
}

.mission-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin-top: 40px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 100px;
}

.philosophy-item {
    text-align: center;
}

.philosophy-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.philosophy-text {
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0.12em;
    line-height: 1.8;
}

.vision-concept {
    text-align: center;
    font-size: 15px;
    font-weight: 200;
    letter-spacing: 0.1em;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
#about {
    background: rgba(244, 241, 236, 0.5);
    backdrop-filter: blur(10px);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 100px;
    align-items: start;
}

.about-title-wrapper {
    position: sticky;
    top: 140px;
}

.about-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.4em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-divider {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
}

.about-content {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.08em;
    line-height: 2.2;
    color: var(--text-sub);
}

/* News Section */
#news {
    background: transparent;
}

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

.news-list {
    list-style: none;
}

.news-item {
    border-bottom: 1px solid var(--line-gold);
    padding: 40px 0;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    transition: opacity 0.3s ease;
}

.news-item:hover {
    opacity: 0.7;
}

.news-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    min-width: 120px;
}

.news-title {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

/* Contact Section */
#contact {
    background: var(--bg-dark);
    color: white;
    padding: 180px 5%;
}

#contact .section-label {
    color: var(--accent-light);
}

#contact .section-title {
    color: white;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--accent-light);
    text-transform: uppercase;
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 0;
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: white;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    align-self: flex-start;
    padding: 18px 60px;
    border: 1px solid var(--accent-gold);
    background: transparent;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
}

.form-submit:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--bg-footer);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 5% 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo-ja {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: white;
}

.footer-logo-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    gap: 40px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-gold);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(201, 168, 76, 0.2);
    margin-bottom: 40px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-copyright {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WordPress Specific */
.wp-block-image {
    margin-bottom: 30px;
}

.alignleft {
    float: left;
    margin: 0 30px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 30px;
}

.aligncenter {
    display: block;
    margin: 0 auto 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 100px 6%;
    }

    .header-container {
        padding: 0;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    nav a {
        font-size: 18px;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 0 6%;
        height: 100vh;
    }

    .hero-decoration {
        font-size: 200px;
        right: -10%;
    }

    .hero-title-ja {
        font-size: 42px;
    }

    .hero-title-en {
        font-size: 32px;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brand-card {
        padding: 40px;
    }

    #vision {
        padding: 120px 6%;
    }

    .mission-text {
        font-size: 32px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-title-wrapper {
        position: static;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title-ja {
        font-size: 32px;
    }

    .hero-title-en {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .mission-text {
        font-size: 26px;
    }
}
/* =========================
 FIX: Brands 表示崩れ対策（完全版）
========================= */

/* 背景レイヤーの影響を遮断 */
#brands{
  position: relative;
  z-index: 5;
}

/* グリッド安定 */
.brands-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  position: relative;
  z-index: 5;
}

/* カード安定 */
.brand-card{
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: visible;
}

/* ロゴ */
.brand-logo img{
  display: block;
  max-width: 100%;
  height: auto;
}

/* タイトル */
.brand-title{
  position: relative;
  z-index: 7;
}

/* 説明文（最重要） */
.brand-description{
  position: relative;
  z-index: 8;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
  transform: none !important;
}

/* 段落の余白補正 */
.brand-description p{
  margin-bottom: 12px;
}

/* リンク */
.brand-link{
  position: relative;
  z-index: 9;
}

/* =========================
 FIX: bodyレイヤー問題回避
========================= */

/* bodyのz-index競合対策 */
body > *{
  position: relative;
  z-index: auto;
}

/* 背景は一番下に固定 */
body::before{
  z-index: -1;
}

/* =========================
 FIX: ヘッダー被り対策
========================= */

#brands{
  padding-top: 180px;
  margin-top: -120px;
}

/* =========================
 FIX: アニメーション無効化（必要時）
========================= */

.fade-in{
  opacity: 1 !important;
  transform: none !important;
}

/* =========================
 SP最適化
========================= */

@media (max-width: 768px){

  .brands-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brand-card{
    padding: 30px;
  }

}
/* 高級メールリンク */
a.mail-link{
  color: var(--accent-gold);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.08em;
  position: relative;
  transition: all 0.3s ease;
}

/* 下線（アニメーション） */
a.mail-link::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.4s ease;
}

/* ホバー */
a.mail-link:hover::after{
  width: 100%;
}

a.mail-link:hover{
  opacity: 0.8;
}

/* =========================
 ブランドカード統一（完全版）
========================= */

.brands-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap:60px;
  align-items:stretch;
}

/* カード */
.brand-card{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  height:100%;
  padding:60px;
  transition:.4s;
}

/* ロゴエリア */
.brand-logo{
  height:80px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:30px;
}

/* ロゴ画像（統一） */
.brand-logo img{
  max-height:60px;
  width:auto;
  object-fit:contain;
  opacity:0.9;
  transition:.4s;
}

/* ホバーでほんのり強調 */
.brand-card:hover .brand-logo img{
  opacity:1;
  transform:translateY(-2px);
}

/* タイトル */
.brand-title{
  margin-bottom:20px;
}

/* 説明 */
.brand-description{
  flex-grow:1;
}

/* =========================
 SP
========================= */

@media(max-width:768px){
  .brand-card{
    padding:40px;
  }

  .brand-logo{
    height:70px;
  }

  .brand-logo img{
    max-height:50px;
  }
}
.brand-logo{
  border-bottom:1px solid rgba(201,168,76,0.2);
  padding-bottom:20px;
}