@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Zen+Maru+Gothic:wght@400;700&display=swap");
:root {
  --base-bg: #f5f0e8;
  --section-bg: #a2865c;
  --main-text: #1a1a4b;
  --sub-text: #555555;
  --accent1: #ff8c42;
  --accent2: #e03e36;
}

body {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  background: var(--base-bg);
  color: var(--main-text);
  margin: 0;
  padding: 0;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(162, 134, 92, 0.08);
  padding-bottom: 80px; /* フッター分の余白 */
  min-height: 100vh;
  position: relative;
}

.site-logo {
  margin-bottom: 2.5rem;
}
.site-header {
  padding: 4rem 0 3rem 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.06);
  background-image: url("https://arimatsu-style.org/wp-content/themes/arimatsu_style/assets/img/header_bg.png");
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-title,
.site-title a {
  font-family: "Zen Maru Gothic", cursive, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--main-text);
  text-decoration: none !important;
  text-shadow: 2px 2px 0 #fff7f0, 0 2px 8px rgba(26, 26, 75, 0.08);
  display: inline-block;

  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
@media (max-width: 780px) {
  .site-header {
    padding: 1rem 0;
  }
  .site-title,
  .site-title a {
    font-size: 2rem;
  }
}

.global-nav .nav-list {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 0;
  margin: 1rem 0 0 0;
  list-style: none;
}

.global-nav .nav-list li a {
  color: var(--main-text);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.25rem;
  padding: 0.4em 1.2em;
  border-radius: 1.2em;
  border: 2px solid var(--main-text);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 4px rgba(162, 134, 92, 0.08);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.global-nav .nav-list li a:hover {
  color: var(--accent1);
  background: #fff7f0;
  box-shadow: 0 2px 8px rgba(255, 140, 66, 0.1);
}

.news-image {
  width: 500px;
}

.global-nav .nav-list li.information a {
  background: var(--accent1);
  color: #fff !important;
  font-weight: bold;
  border-radius: 1.5em;
  box-shadow: 0 2px 8px rgba(255, 140, 66, 0.18);
  position: relative;
  padding-left: 2.2em;
}
.global-nav .nav-list li.information a::before {
  content: "\2139"; /* ℹ アイコン */
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1em;
  font-family: inherit;
  opacity: 0.85;
}
.global-nav .nav-list li.information a:hover {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224, 62, 54, 0.18);
}

.cta-btn {
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 2rem;
  border: 2px dashed var(--accent1);
  background: #fff7f0;
  color: var(--main-text);
  margin: 0 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

.cta-btn:hover {
  background: var(--accent1);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 140, 66, 0.15);
}

h1,
h2,
h3 {
  font-family: "Zen Maru Gothic", cursive, sans-serif;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--main-text);
}

h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.4rem;
}
h3 {
  font-size: 1.1rem;
}

.page:not(.home) .main-content {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.04);
}

.site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  color: var(--section-bg);
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sns-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.sns-icons a {
  display: inline-block;
  width: 24px;
  height: 24px;
  fill: var(--section-bg);
  background: #fff7f0;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(162, 134, 92, 0.1);
  padding: 2px;
  transition: fill 0.2s, background 0.2s, box-shadow 0.2s;
}
.sns-icons a:hover {
  fill: var(--accent1);
  background: #ffe3cc;
  box-shadow: 0 2px 8px rgba(255, 140, 66, 0.15);
}

img {
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.08);
}

section {
  padding: 2rem 1rem;

  background: #fff7f0;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.04);
}

input,
textarea,
button {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  border-radius: 1em;
  border: 1.5px solid var(--section-bg);
  padding: 0.7em 1em;
  margin-bottom: 1em;
  background: #fff;
  box-shadow: 0 1px 4px rgba(162, 134, 92, 0.06);
  max-width: 85%;
}
button,
input[type="submit"] {
  background: var(--accent1);
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover,
input[type="submit"]:hover {
  background: var(--accent2);
}

@media (max-width: 700px) {
  body {
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
    padding-bottom: 60px;
  }
  .global-nav .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  .main-content {
    border-radius: 0;
  }
  section {
    border-radius: 0;
    padding: 2rem 1rem;
  }
  .site-footer {
    font-size: 0.95rem;
    padding: 0.7rem 0 0.5rem 0;
    color: var(--section-bg);
  }
}

.cta-cards {
  background: var(--base-bg);
  padding: 3rem 1rem 2rem 1rem;
  text-align: center;
}
.cta-cards-title {
  font-size: 2.2rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  color: var(--main-text);
  margin-bottom: 2.5rem;
  letter-spacing: 0.08em;
}
.cta-cards-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-card {
  background: #fff;
  border: 2px solid var(--main-text);
  border-radius: 2rem;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.08);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  max-width: 320px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-card:hover {
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(255, 140, 66, 0.18);
}
.cta-card-illust {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--main-text);
  margin-bottom: 1rem;
  background: #f5f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-card-illust img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.cta-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1bb1b1;
  margin-bottom: 1rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.2;
}
.cta-card-desc {
  color: var(--main-text);
  font-size: 1rem;
  text-align: left;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .cta-cards-row {
    flex-direction: column;
    gap: 2rem;
  }
  .cta-card {
    max-width: 100%;
  }
}

/* 手書き風波線（セクション下部） */
.section-handdrawn {
  position: relative;
  overflow: visible;
}
.section-handdrawn::after {
  content: "";
  display: block;
  width: 100%;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg width="120" height="16" viewBox="0 0 120 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 8 Q30 0 60 8 T120 8" stroke="%23A2865C" stroke-width="2" fill="none"/></svg>')
    repeat-x;
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* SNSアイコンのホバー */
.sns-icons a {
  transition: transform 0.2s;
}
.sns-icons a:hover {
  transform: scale(1.2) rotate(-10deg);
}

/* AOSアニメ用のちょい遅延 */
[data-aos] {
  will-change: opacity, transform;
}

.cta-btn-block {
  display: inline-block;
  vertical-align: top;
  margin: 0 1rem 2rem 1rem;
  text-align: center;
  max-width: 320px;
}
.cta-btn-desc {
  margin-top: 1rem;
  font-size: 0.98rem;
  color: var(--main-text);
  background: #fff7f0;
  border-radius: 1.2em;
  padding: 1em 1em 0.8em 1em;
  box-shadow: 0 1px 4px rgba(162, 134, 92, 0.06);
  line-height: 1.7;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}
@media (max-width: 900px) {
  .cta-btn-block {
    display: block;
    max-width: 100%;
    margin: 0 0 2rem 0;
  }
}

/* ハンバーガーアイコンのアニメーション */
.hamburger {
  display: none;
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  z-index: 200;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: var(--main-text);
  border-radius: 2px;
  transition: 0.3s;
}
.global-nav.open ~ .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.global-nav.open ~ .hamburger span:nth-child(2) {
  opacity: 0;
}
.global-nav.open ~ .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
  .global-nav .nav-list {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    background: #fff7f0;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    padding: 2rem 0 2rem 0;
    box-shadow: 0 4px 24px rgba(162, 134, 92, 0.1);
    z-index: 150;
    opacity: 0;
    transform: scale(0.98) translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }
  .global-nav.open .nav-list {
    display: flex;
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
  }
  .hamburger {
    display: flex;
  }
  .global-nav .nav-list li {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .global-nav .nav-list li a {
    display: inline-block;
    width: 80%;
    margin: 0.2em 0;
    padding: 0.8em 0;
    background: #fff;
    color: var(--main-text);
    border-radius: 2em;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 1px 4px rgba(162, 134, 92, 0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-align: center;
  }
  .global-nav .nav-list li a:hover {
    background: var(--accent1);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.15);
  }
}

/* メディアクエリ - タブレット */
@media (max-width: 1024px) {
  .site-title,
  .site-title a {
    font-size: 3rem;
  }

  .cta-cards-row {
    gap: 1.5rem;
  }

  .cta-card {
    flex: 1 1 280px;
  }
}

/* メディアクエリ - スマートフォン（横） */
@media (max-width: 900px) {
  .site-title,
  .site-title a {
    font-size: 2.5rem;
  }

  .global-nav .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-cards-row {
    flex-direction: column;
    gap: 2rem;
  }

  .cta-card {
    max-width: 100%;
  }

  .cta-btn-block {
    display: block;
    max-width: 100%;
    margin: 0 0 2rem 0;
  }
}

/* メディアクエリ - スマートフォン（縦） */
@media (max-width: 700px) {
  body {
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
    padding-bottom: 60px;
  }

  .site-title,
  .site-title a {
    font-size: 2rem;
  }

  .site-header {
    padding: 2rem 0 1.5rem 0;
  }

  .global-nav .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .main-content {
    border-radius: 0;
  }

  section {
    border-radius: 0;
    padding: 1.5rem 1rem;
  }

  .site-footer {
    font-size: 0.95rem;
  }

  .cta-cards {
    padding: 2rem 1rem 1.5rem 1rem;
  }

  .cta-cards-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .cta-card {
    padding: 1.5rem 1rem 1rem 1rem;
  }

  .cta-card-title {
    font-size: 1.2rem;
  }
}

/* メディアクエリ - 小型スマートフォン */
@media (max-width: 480px) {
  .site-title,
  .site-title a {
    font-size: 1.8rem;
  }

  .global-nav .nav-list li a {
    font-size: 1rem;
    padding: 0.3em 1em;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .cta-cards-title {
    font-size: 1.6rem;
  }

  .cta-card-illust {
    width: 80px;
    height: 80px;
  }

  .cta-card-illust img {
    width: 60px;
    height: 60px;
  }
}

/* メディアクエリ - 超小型デバイス */
@media (max-width: 360px) {
  .site-title,
  .site-title a {
    font-size: 1.6rem;
  }

  .global-nav .nav-list li a {
    font-size: 0.9rem;
    padding: 0.25em 0.8em;
  }

  .cta-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }

  .cta-cards-title {
    font-size: 1.4rem;
  }

  section {
    padding: 1rem 0.8rem;
  }
}

/* メディアクエリ - 高解像度ディスプレイ */
@media (min-width: 1200px) {
  .cta-cards-row {
    gap: 3rem;
  }

  .cta-card {
    flex: 1 1 300px;
  }

  .site-title,
  .site-title a {
    font-size: 4rem;
  }
}

/* メディアクエリ - 印刷用 */
@media print {
  body {
    background: white;
    color: black;
    box-shadow: none;
    border-radius: 0;
  }

  .site-footer,
  .global-nav,
  .cta-btn {
    display: none;
  }

  .cta-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(162, 134, 92, 0.08);
  }
}

.archive-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.archive-cat-img {
  width: 100%;
  max-width: 680px;
  height: 220px;
  object-fit: cover;
  border-radius: 1.5rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 2px 12px rgba(162, 134, 92, 0.1);
  display: block;
}
.archive-title {
  font-size: 2.2rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  color: var(--main-text);
  font-weight: bold;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}
.archive-desc {
  color: var(--sub-text);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.archive-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.archive-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.archive-card-img {
  width: 100%;
  height: 180px;
  background: #f5f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.archive-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.archive-card-meta {
  flex: 1;
  padding: 1.2rem 1rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.archive-card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--main-text);
  margin-bottom: 0.5em;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}
.archive-card-title a {
  color: var(--main-text);
  text-decoration: none;
  transition: color 0.2s;
}
.archive-card-title a:hover {
  color: var(--accent1);
}
.archive-card-date {
  color: var(--sub-text);
  font-size: 0.95rem;
  margin-bottom: 0.5em;
}
.archive-card-excerpt {
  color: var(--main-text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2em;
}
.archive-card-more {
  display: inline-block;
  background: var(--accent1);
  color: #fff;
  font-weight: bold;
  border-radius: 2em;
  padding: 0.5em 1.5em;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(255, 140, 66, 0.1);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: auto;
}
.archive-card-more:hover {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224, 62, 54, 0.15);
}
.archive-card:hover {
  box-shadow: 0 8px 32px rgba(255, 140, 66, 0.18);
  transform: translateY(-4px) scale(1.02);
}
@media (max-width: 900px) {
  .archive-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .archive-card-img {
    height: 160px;
  }
}

.archive-search-box {
  margin: 2rem auto 2.5rem auto;
  text-align: center;
}
#archive-search-input {
  width: 320px;
  max-width: 90vw;
  font-size: 1.1rem;
  padding: 0.7em 1.2em;
  border-radius: 2em;
  border: 1.5px solid var(--section-bg);
  background: #fff;
  box-shadow: 0 1px 4px rgba(162, 134, 92, 0.06);
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  outline: none;
  transition: border 0.2s;
}
#archive-search-input:focus {
  border: 1.5px solid var(--accent1);
}
.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: 2.5rem 2rem;
  justify-content: center;
}
.grid-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.grid-card .archive-card-img {
  width: 100%;
  height: 220px;
  background: #f5f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.grid-card .archive-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.grid-card .archive-card-meta {
  flex: 1;
  padding: 1.2rem 1rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.grid-card .archive-card-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--main-text);
  margin-bottom: 0.5em;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}
.grid-card .archive-card-title a {
  color: var(--main-text);
  text-decoration: none;
  transition: color 0.2s;
}
.grid-card .archive-card-title a:hover {
  color: var(--accent1);
}
.grid-card .archive-card-date {
  color: var(--sub-text);
  font-size: 0.95rem;
  margin-bottom: 0.5em;
}
.grid-card .archive-card-excerpt {
  color: var(--main-text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2em;
}
.grid-card .archive-card-more {
  display: inline-block;
  background: var(--accent1);
  color: #fff;
  font-weight: bold;
  border-radius: 2em;
  padding: 0.5em 1.5em;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(255, 140, 66, 0.1);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: auto;
}
.grid-card .archive-card-more:hover {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224, 62, 54, 0.15);
}
.grid-card:hover {
  box-shadow: 0 8px 32px rgba(255, 140, 66, 0.18);
  transform: translateY(-4px) scale(1.02);
}
@media (max-width: 900px) {
  .grid-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .grid-card .archive-card-img {
    height: 160px;
  }
}

.score-section {
  margin: 0;
  text-align: center;
}
.score-section-title {
  font-size: 2rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  color: var(--main-text);
  font-weight: bold;
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
}
.score-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, calc(100% / 4)));
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.score-grid-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: stretch;
}
.score-grid-img {
  width: 100%;
  height: 140px;
  background: #f5f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.score-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.score-grid-meta {
  flex: 1;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.score-grid-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--main-text);
  margin-bottom: 0.5em;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  text-align: left;
}
.score-grid-date {
  color: var(--sub-text);
  font-size: 0.95rem;
  margin-bottom: 0.8em;
  text-align: left;
}
.score-grid-more {
  display: inline-block;
  background: #fff;
  color: var(--accent1);
  font-weight: bold;
  border-radius: 2em;
  padding: 0 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: auto;
}
.score-grid-more:hover {
  color: var(--accent2);
  background: #fff;
}
.score-grid-card:hover {
  box-shadow: 0 8px 32px rgba(255, 140, 66, 0.18);
  transform: translateY(-4px) scale(1.02);
}
.score-more-wrap {
  text-align: center;
}
.score-more-btn {
  display: inline-block;
  background: var(--accent1);
  color: #fff;
  font-weight: bold;
  border-radius: 2em;
  padding: 0.7em 2em;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 1px 4px rgba(255, 140, 66, 0.1);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: 1.5rem;
}
.score-more-btn:hover {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224, 62, 54, 0.15);
}
@media (max-width: 900px) {
  .score-grid-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .score-grid-img {
    height: 140px;
  }
}

/* PROFILEページ専用スタイル */
#page-profile {
  max-width: 900px;
  margin: 0 auto;
}

#page-profile .wp-block-group {
  margin-bottom: 2rem;
}
.profile-aisatsu > div {
  display: flex;
  gap: 1.5rem;
}

.profile-aisatsu .wp-block-image {
  margin: auto;
}
#page-profile .entry-content img,
#page-profile .entry-content figure img {
  margin: 0;
  margin-left: unset;
  margin-right: unset;
}

#page-profile .wp-block-image img:hover {
  transform: scale(1.02);
}

#page-profile h3.wp-block-heading {
  font-size: 1.8rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: bold;
  color: var(--main-text);
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  position: relative;
}

#page-profile h3.wp-block-heading::before {
  content: "";
  margin-right: 0.5rem;
}

#page-profile h4.wp-block-heading {
  font-size: 1.4rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: var(--main-text);
  letter-spacing: 0.08em;
}

#page-profile p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--main-text);
  margin-bottom: 1.2rem;
}

#page-profile .wp-block-list {
  background: #fafafe;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent1);
  list-style: none;
}

#page-profile .wp-block-list li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  padding-left: 1rem;
  position: relative;
}

#page-profile .wp-block-list li::before {
  content: "▶";
  color: var(--accent1);
  font-size: 0.8rem;
  position: absolute;
  left: -0.5rem;
  top: 0.2rem;
}

#page-profile .wp-block-list li:last-child {
  margin-bottom: 0;
}

#page-profile .wp-block-separator {
  border: none;
  border-top: 2px dashed var(--section-bg);
  margin: 2.2rem 0;
  opacity: 0.5;
}

#page-profile a {
  color: var(--accent1);
  text-decoration: underline;
  transition: all 0.3s ease;
  font-weight: 500;
}

#page-profile a:hover {
  color: var(--accent2);
  text-decoration: none;
  background: rgba(255, 140, 66, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .profile-aisatsu > div {
    display: block;
    gap: 1.5rem;
  }

  #page-profile h3.wp-block-heading {
    font-size: 1.5rem;
  }

  #page-profile h4.wp-block-heading {
    font-size: 1.2rem;
  }

  #page-profile .wp-block-list {
    padding: 1rem 1.5rem;
  }

  #page-profile p {
    font-size: 1rem;
  }
}

.lesson-section {
  background: var(--base-bg);
  color: var(--main-text);
  padding: 3rem 0 3rem 0;
  border-radius: 2rem;
  box-shadow: 0 2px 16px rgba(162, 134, 92, 0.08);
  max-width: 900px;
  margin: 0 auto;
}
.lesson-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.lesson-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.lesson-title {
  font-size: 2.2rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: bold;
  color: var(--main-text);
  letter-spacing: 0.08em;
}
.lesson-section-block {
  margin-bottom: 2.2rem;
}
.lesson-heading {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--main-text);
  margin-bottom: 0.7em;
  border-left: 4px solid var(--accent1);
  padding-left: 0.7em;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}
.lesson-message {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--main-text);
  margin-bottom: 0.5em;
}
.lesson-list {
  list-style: disc inside;
  margin: 0 0 0 1em;
  padding: 0;
  color: var(--main-text);
  font-size: 1rem;
  line-height: 1.8;
}
.lesson-list li {
  margin-bottom: 0.5em;
}
.lesson-hr {
  border: none;
  border-top: 2px dashed var(--section-bg);
  margin: 2.2rem 0;
  opacity: 0.5;
}
.lesson-fee-table {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.lesson-fee-block {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.1);
  padding: 1.2rem 1.5rem;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  margin-bottom: 0.5rem;
}
.lesson-fee-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent1);
  margin-bottom: 0.5em;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}
.lesson-fee-desc {
  font-size: 1rem;
  color: var(--main-text);
  line-height: 1.7;
}
.lesson-contact-message {
  font-size: 1rem;
  color: var(--main-text);
  margin-bottom: 0.7em;
}
.lesson-contact-btn {
  display: inline-block;
  background: var(--accent1);
  color: #fff;
  font-weight: bold;
  border-radius: 2em;
  padding: 0.7em 2em;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 1px 4px rgba(255, 140, 66, 0.1);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: 1.2rem;
}
.lesson-contact-btn:hover {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224, 62, 54, 0.15);
}
.lesson-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.lesson-gallery-item {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.1);
  overflow: hidden;
  width: 180px;
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lesson-gallery-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 1.2rem 1.2rem 0 0;
  box-shadow: none;
}
.lesson-gallery-item figcaption {
  font-size: 0.95rem;
  color: var(--sub-text);
  padding: 0.5em 0.7em 0.8em 0.7em;
}
@media (max-width: 900px) {
  .lesson-fee-table {
    flex-direction: column;
    gap: 1rem;
  }
  .lesson-gallery {
    gap: 0.7rem;
  }
  .lesson-gallery-item {
    width: 48%;
    min-width: 140px;
  }
}
@media (max-width: 600px) {
  .lesson-inner {
    padding: 0 0.5rem;
  }
  .lesson-title {
    font-size: 1.5rem;
  }
  .lesson-gallery-item {
    width: 100%;
    min-width: 100px;
  }
}

.contact-section {
  background: var(--base-bg);
  color: var(--main-text);
  padding: 3rem 0 3rem 0;
  border-radius: 2rem;
  box-shadow: 0 2px 16px rgba(162, 134, 92, 0.1);
  max-width: 900px;
  margin: 0 auto;
}
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.contact-title {
  font-size: 2.2rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: bold;
  color: var(--main-text);
  letter-spacing: 0.08em;
}
.contact-section-block {
  margin-bottom: 2.2rem;
}
.contact-heading {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--main-text);
  margin-bottom: 0.7em;
  border-left: 4px solid var(--accent1);
  padding-left: 0.7em;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}
.contact-lead {
  text-align: center;
  margin-bottom: 2.2em;
  font-size: 1.08rem;
  color: var(--main-text);
  background: linear-gradient(90deg, #fff7f0 0%, #f5f0e8 100%);
  border: 2px dashed var(--accent1);
  border-radius: 1.5em;
  box-shadow: 0 2px 8px rgba(255, 140, 66, 0.08);
  padding: 1.2em 1em 1.1em 1em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.contact-lead-main {
  font-weight: bold;
  color: var(--accent1);
  font-size: 1.13rem;
  letter-spacing: 0.02em;
  display: inline-block;
  margin-bottom: 0.2em;
}
.contact-lead-main a {
  color: var(--accent2);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s;
}
.contact-lead-main a:hover {
  color: var(--main-text);
}
.contact-lead-sub {
  color: var(--main-text);
  font-size: 1.01rem;
  margin-top: 0.3em;
  display: inline-block;
}
.contact-list {
  list-style: disc inside;
  margin: 0 0 0 1em;
  padding: 0;
  color: var(--main-text);
  font-size: 1rem;
  line-height: 1.8;
}
.contact-list li {
  margin-bottom: 0.5em;
}
.contact-hr {
  border: none;
  border-top: 2px dashed var(--section-bg);
  margin: 2.2rem 0;
  opacity: 0.5;
}
.contact-quote {
  background: #fff;
  border-left: 5px solid var(--accent1);
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.08);
  padding: 1.2rem 1.5rem;
  margin: 1.2rem 0;
  font-size: 1.05rem;
  color: var(--main-text);
}
.contact-btn {
  display: inline-block;
  background: var(--accent1);
  color: #fff;
  font-weight: bold;
  border-radius: 2em;
  padding: 0.7em 2em;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 1px 4px rgba(255, 140, 66, 0.1);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: 1.2rem;
}
.contact-btn:hover {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224, 62, 54, 0.15);
}
.contact-message {
  font-size: 1rem;
  color: var(--main-text);
  margin-bottom: 1.2em;
  text-align: center;
}
.contact-img-wrap {
  text-align: center;
  margin-top: 1.5rem;
}
.contact-img {
  max-width: 445px;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.1);
}
@media (max-width: 700px) {
  .contact-inner {
    padding: 0 0.5rem;
  }
  .contact-title {
    font-size: 1.5rem;
  }
  .contact-img {
    max-width: 100%;
  }
}

.score-lead {
  text-align: center;
  margin-bottom: 2.2em;
  font-size: 1.08rem;
  color: var(--main-text);
  background: linear-gradient(90deg, #fff7f0 0%, #f5f0e8 100%);
  border: 2px dashed var(--accent1);
  border-radius: 1.5em;
  box-shadow: 0 2px 8px rgba(255, 140, 66, 0.08);
  padding: 1.2em 1em 1.1em 1em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.score-lead-main {
  font-weight: bold;
  color: var(--accent1);
  font-size: 1.13rem;
  letter-spacing: 0.02em;
  display: inline-block;
  margin-bottom: 0.2em;
}
.score-lead-main a {
  color: var(--accent2);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s;
}
.score-lead-main a:hover {
  color: var(--main-text);
}
.score-lead-sub {
  color: var(--main-text);
  font-size: 1.01rem;
  margin-top: 0.3em;
  display: inline-block;
}
.score-artist-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2em;
  justify-content: center;
}
.score-artist-badge {
  background: #fff;
  color: var(--main-text);
  border-radius: 2em;
  padding: 0.4em 1em;
  font-size: 1rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  margin-bottom: 0;
}
.score-artist-badge.active,
.score-artist-badge:hover {
  background: var(--accent1);
  color: #fff;
  border-color: var(--accent1);
}
.score-artist-badges {
  margin-bottom: 0.7em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.score-artist-badge-label {
  display: inline-block;
  background: #eee;
  font-size: 0.92em;
  border-radius: 8px;
  padding: 0 8px;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  margin-right: 0.2em;
  margin-bottom: 0.1em;
}

.score-pagination {
  display: flex;
  justify-content: center;
  margin: 2.5em 0 1.5em 0;
}
.score-pagination ul {
  display: flex;
  gap: 0.5em;
  padding: 0;
  margin: 0;
  list-style: none;
}
.score-pagination li {
  display: inline-block;
}
.score-pagination a,
.score-pagination span {
  display: inline-block;
  min-width: 2.2em;
  padding: 0.5em 1em;
  border-radius: 2em;
  background: #fff;
  color: var(--main-text);
  border: 1.5px solid var(--accent1);
  font-size: 1rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  text-align: center;
  text-decoration: none;
  margin: 0 0.1em;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.score-pagination .current,
.score-pagination a:hover {
  background: var(--accent1);
  color: #fff;
  border-color: var(--accent1);
}

.score-card-content {
  margin-top: 1em;
  background: #f5f0e8;
  border-radius: 1em;
  padding: 4px;
  color: var(--main-text);
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(162, 134, 92, 0.06);
  transition: all 0.2s;
}

.score-card-content p {
  padding: 0;
}

.score-card-content .wp-block-button {
  color: var(--accent1);
  border-color: var(--accent1);
  font-weight: 600;
  padding: 2px 6px 4px 6px;
}
.score-card-content .wp-block-button:hover {
  color: var(--accent2);
  border-color: var(--accent2);
}

.wp-block-buttons > .wp-block-button a {
  font-size: 1rem !important;
  text-decoration: none !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
}
.wp-block-buttons > .wp-block-button a:hover {
  background: var(--accent1) !important;
  color: #fff !important;
  border-color: var(--accent1) !important;
}

/* 投稿ページ全体 */

.single-post .main-content,
.page:not(.home) .main-content {
  max-width: 1000px;
  margin: 2.5rem auto 3rem auto;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 2px 16px rgba(162, 134, 92, 0.08);
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
}

/* 記事タイトル */
.single-post .main-content h1,
.page:not(.home) .main-content h1 {
  font-size: 2rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: bold;
  color: var(--main-text);
  margin-bottom: 1.2em;
  letter-spacing: 0.08em;
  text-align: center;
}

/* メタ情報 */
.entry-meta {
  color: var(--sub-text);
  font-size: 0.98em;
  margin-bottom: 1.5em;
  text-align: center;
  letter-spacing: 0.03em;
}
.entry-meta a {
  color: var(--accent1);
  text-decoration: underline;
  transition: color 0.2s;
}
.entry-meta a:hover {
  color: var(--accent2);
}

/* 本文 */
.entry-content {
  font-size: 1.08rem;
  line-height: 2;
  color: var(--main-text);
  margin-bottom: 2em;
  word-break: break-word;
  padding: 2rem;
}
.entry-content p {
  margin-bottom: 1.5em;
}
.entry-content ul,
.entry-content ol {
  margin: 1.2em 0 1.2em 2em;
  padding-left: 1.2em;
}
.entry-content li {
  margin-bottom: 0.5em;
}
.entry-content a {
  color: var(--accent1);
  text-decoration: underline;
  transition: color 0.2s;
}
.entry-content a:hover {
  color: var(--accent2);
}

/* 画像・figure */
.entry-content img,
.entry-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 1.2em;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.1);
  margin: 1.2em 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.entry-content figure {
  margin: 2em 0;
  text-align: center;
}
.entry-content figcaption {
  color: var(--sub-text);
  font-size: 0.98em;
  margin-top: 0.5em;
}

.single-post .entry-header {
  margin: 0 auto;
  text-align: center;
}

.single-post .entry-content {
  background: #fff;
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.1);
}

.single-post .entry-content .wp-block-buttons {
  display: block;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 700px) {
  .single-post .main-content,
  .page:not(.home) .main-content {
    padding: 1.2rem 0.5rem 2rem 0.5rem;
    border-radius: 1.2rem;
  }
  .single-post .main-content h1,
  .page:not(.home) .main-content h1 {
    font-size: 1.3rem;
  }
  .entry-content {
    padding: 1.5rem;
  }
}

.contact-section-block .entry-content p {
  margin: 0 auto;
  text-align: center;
}
.wpcf7-spinner {
  position: absolute;
}

.post-navigation {
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.nav-previous,
.nav-next {
  flex: 1;
}

.nav-previous a,
.nav-next a {
  text-decoration: none;
}

.nav-subtitle {
  display: block;
  font-size: 0.9rem;
  color: #666;
}

.nav-title {
  display: block;
  font-weight: bold;
  margin-top: 0.5rem;
}

.entry-thumbnail {
  margin: 1.5rem 0;
  text-align: center;
}

.entry-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px rgba(162, 134, 92, 0.15);
}

/* ページネーション */
.pagination-wrapper {
  margin-top: 3rem;
  text-align: center;
}

.pagination {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li {
  margin: 0;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--section-bg);
  border-radius: 1.5rem;
  color: var(--main-text);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(162, 134, 92, 0.1);
  min-width: 2.5rem;
  text-align: center;
}

.pagination a:hover {
  background: var(--accent1);
  color: #fff;
  border-color: var(--accent1);
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.2);
  transform: translateY(-1px);
}

.pagination .current {
  background: var(--section-bg);
  color: #fff;
  border-color: var(--section-bg);
  box-shadow: 0 2px 8px rgba(162, 134, 92, 0.2);
}

.pagination .prev,
.pagination .next {
  font-weight: bold;
  padding: 0.5rem 0.75rem;
}

.pagination .dots {
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--sub-text);
  font-weight: normal;
}

.pagination .dots:hover {
  background: transparent;
  color: var(--sub-text);
  transform: none;
  box-shadow: none;
}

@media (max-width: 700px) {
  .pagination {
    gap: 0.25rem;
  }

  .pagination a,
  .pagination span {
    padding: 0.6rem 0.8rem;
    margin: 0 0.1rem;
    font-size: 0.9rem;
    min-width: 2.2rem;
  }

  .pagination .prev,
  .pagination .next {
    padding: 0.6rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .pagination {
    gap: 0.2rem;
  }

  .pagination a,
  .pagination span {
    padding: 0.5rem 0.7rem;
    margin: 0 0.05rem;
    font-size: 0.85rem;
    min-width: 2rem;
  }

  .pagination .prev,
  .pagination .next {
    padding: 0.5rem 0.8rem;
  }
}
