/**
 * Shimomiya Theme - Base Styles
 * リセットと基本スタイル + クラフト感テクスチャ
 *
 * @package Shimomiya
 */

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-noto);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography - 視認性・インパクト強化
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-zen);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-brown-dark);
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-normal);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Section Heading - インパクト装飾付き
   英字見出し → グリーン・太字
   日本語見出し → 太字・下にオレンジのアクセントバー
   ========================================================================== */

.section-heading {
    margin-bottom: 40px;
}

.section-heading-en {
    font-family: var(--font-comfortaa);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    color: #d35b47;
    letter-spacing: 2px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.section-heading-ja {
    font-family: var(--font-zen);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-5xl);
    color: var(--color-brown-dark);
    letter-spacing: 1.424px;
    line-height: 56.97px;
    display: inline-block;
    position: relative;
    padding-bottom: 18px;
}

/* 見出し下のアクセントバー装飾 */
.section-heading-ja::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 5px;
    background: var(--color-accent-orange);
    border-radius: 3px;
}

/* 中央寄せ見出し用 */
.section-heading--center {
    text-align: center;
}

.section-heading--center .section-heading-ja::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

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

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .section-heading-ja {
        font-size: 28px;
        line-height: 1.4;
    }

    .section-heading-ja::after {
        width: 48px;
        height: 4px;
    }
}
