/* Font Setup */
@font-face {
    font-family: 'Hiragino Kaku Gothic ProN';
    src: local('Hiragino Kaku Gothic ProN'),
         local('ヒラギノ角ゴ ProN'),
         url('../fonts/Hiragino Kaku Gothic Pro W6.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Hiragino Mincho ProN';
    src: local('Hiragino Mincho ProN'),
         local('ヒラギノ明朝 ProN'),
         url('../fonts/Hiragino Mincho Pro W6.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Apply the main font to the body */
body {
    font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.8;
    color: #4C4949;
}

/* Typography enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
    font-feature-settings: "palt";
    letter-spacing: 0.03em;
    line-height: 1.4;
}

/* Secondary font class for specific elements */
.mincho-font {
    font-family: 'Hiragino Mincho ProN', serif;
}

/* Japanese text optimization */
.jp-text {
    font-feature-settings: "palt"; /* Proportional spacing for Japanese */
    text-align: justify;
    text-justify: inter-ideograph; /* Better justification for Japanese */
}

/* Japanese number styling - better alignment for Japanese numbers */
.jp-num {
    font-feature-settings: "pnum";
    font-variant-numeric: proportional-nums;
}

/* Gold text color */
.gold-text {
    color: #b45309;
}

/* Form text elements styling */
input::placeholder, textarea::placeholder {
    font-size: 0.95em;
} 