/*
Theme Name: Yohoshika
Theme URI: https://example.com/
Author: You
Description: 個人ホームページ用のシンプルなWordPressテーマ。misaki_gothic_2nd / misaki_mincho / HACHEA__ を使用。
Version: 1.0.0
Text Domain: yohoshika
*/

/* フォント定義を読み込み */
@import url("assets/css/fonts.css");

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  background-color: #1eb478;
  color: #0a5336;
  font-family: "misaki_gothic_2nd", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.7;
}

/* 言語別フォント（英語は HACHEA__ 優先） */
:lang(en) {
  font-family: "HACHEA__", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

/* 見出し・引用などで明朝体を使うためのユーティリティクラス */
.jp-mincho {
  font-family: "misaki_mincho", "misaki_gothic_2nd", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

/* Gutenberg ブロックエディタで任意のブロックに付けて使えるように */
.is-style-jp-mincho,
.has-jp-mincho-font-family {
  font-family: "misaki_mincho", "misaki_gothic_2nd", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

/* 基本レイアウト */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-title {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  margin: 0;
}

.site-description {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

.site-main {
  flex: 1 0 auto;
  padding: 2rem 1.5rem 3rem;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.site-footer {
  flex-shrink: 0;
  padding: 1.5rem;
  font-size: 0.8rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0.8;
}

/* 見出しなどのデフォルトはゴシック（必要に応じて .jp-mincho を追加） */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "misaki_gothic_2nd", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  margin-top: 0;
  margin-bottom: 0.75em;
  letter-spacing: 0.08em;
}

blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(0, 0, 0, 0.1);
}

a {
  color: #0a5336;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

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

@media (min-width: 768px) {
  .site-header {
    padding-inline: 3rem;
  }

  .site-main {
    padding-inline: 3rem;
  }

  .site-footer {
    padding-inline: 3rem;
  }
}
