/* =============================================
   宮崎市保育会 - Main Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

figure {
  margin: 0;
}

address {
  font-style: normal;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-weight: 500;
  color: #333;
  background-color: #fff;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* =============================================
   Variables
   ============================================= */
:root {
  --orange: #EE8A1F;
  --orange-dark: #D97A10;
  --orange-light: #FFF3D4;
  --cream: #FFFCE8;
  --cream-dark: #FFF8D0;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #888;
  --text: #863C05;
  --text-light: #863C05;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.14);
}

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* =============================================
   Header & Navigation
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.35s ease;
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 90px;
  padding: 0 24px 0 calc(22vw - 25px);
}

/* Logo */
.logo {
  position: fixed;
  left: -45px;
  top: -5.2vw; /* 円の上23%を画面外へ (22vw × 0.235) */
  display: flex;
  align-items: center;
  z-index: 101;
  transition: opacity 0.35s ease;
}

.logo.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.logo__images {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.4vw;
  background: #fff;
  border-radius: 50%;
  width: 22vw;
  height: 22vw;
  padding: 1.3vw 4.2vw 5.5vw 1.3vw;
}

.logo__img {
  height: auto;
  width: auto;
}

.logo__img--1 {
  max-width: 8.5vw;
  margin-right: 1.5vw;
}

.logo__img--2 {
  max-width: 12vw;
}

.logo__icon {
  width: 52px;
  height: 52px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.03em;
}

.logo__tagline {
  font-size: 0.6rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__item a {
  display: block;
  padding: 10px 12px;
  font-size: 1.125rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
  border-radius: 4px;
}

.nav__item a:hover,
.nav__item a.active {
  color: var(--orange);
}

.nav__sns {
  margin-left: 12px;
  padding: 10px 18px;
  background: #863C05;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.2s;
}

.nav__sns:hover {
  background: #6a2f04;
}

.nav__sns img {
  width: 28px;
  height: 28px;
}

.nav__sns-label {
  font-size: 0.62rem;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger span:nth-child(1) { background: #EE8A1F; }
.hamburger span:nth-child(2) { background: #67AE39; }
.hamburger span:nth-child(3) { background: #50B5E2; }

.hamburger__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  line-height: 1;
  margin-top: 1px;
}

.hamburger.is-open .hamburger__label {
  opacity: 0;
}

/* × 形に変形 */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Scroll Header */
.scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.scroll-header.is-visible {
  transform: translateY(0);
}

.scroll-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.scroll-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.scroll-nav__item a {
  display: block;
  padding: 8px 14px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
  border-radius: 4px;
}

.scroll-nav__item a:hover,
.scroll-nav__item a.active {
  color: var(--orange);
}

@media (max-width: 992px) {
  .scroll-header { display: none; }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__menu {
  background: #fff;
  padding: 20px;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
}

.mobile-nav__item a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  font-weight: 500;
}

/* =============================================
   Section Headings
   ============================================= */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading__ja {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.section-heading__en {
  font-size: 0.78rem;
  color: var(--orange);
  letter-spacing: 0.18em;
  font-weight: 500;
  display: block;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.05em;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn--orange {
  background: var(--orange);
  color: #fff;
}

.btn--orange:hover {
  background: var(--orange-dark);
}

.btn--white {
  background: #fff;
  color: var(--orange);
}

.btn--white:hover {
  background: #f9f9f9;
}

.btn__arrow {
  font-size: 1.3rem;
  line-height: 1;
  opacity: 0.9;
}

.btn--white .btn__arrow {
  color: var(--orange);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  max-height: 720px;
  overflow: hidden;
  margin-top: 90px;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.1), transparent);
}

.hero__text {
  position: absolute;
  right: 6%;
  bottom: 10%;
  text-align: right;
}

.hero__catch {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.hero__catch em {
  color: var(--orange);
  font-style: normal;
}

.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

.hero__wave img {
  width: 100%;
  display: block;
}

/* =============================================
   Hexagon Decorations
   ============================================= */
.hex-deco {
  position: absolute;
  opacity: 0.35;
}

.hex-deco--sm {
  width: 60px;
  height: 60px;
}

.hex-deco--md {
  width: 100px;
  height: 100px;
}

.hex-deco--lg {
  width: 160px;
  height: 160px;
}

.hex-shape {
  width: 100%;
  height: 100%;
  background: var(--orange);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-shape--light {
  background: var(--orange-light);
  opacity: 1;
}

/* =============================================
   News Section (TOP)
   ============================================= */
.news-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.news-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card__body {
  padding: 16px;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.news-card__date {
  font-size: 0.78rem;
  color: var(--gray);
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange); /* ACFカラーピッカーでインラインスタイル上書き */
}

.news-card__title {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
}

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

/* =============================================
   About Section (TOP)
   ============================================= */
.about-section {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding-bottom: 140px;
}

/* 左右装飾画像（about / appeal 共通） */
.section-fixedbg {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  z-index: 0;
}

.section-fixedbg--left  { left: 0; }
.section-fixedbg--right { right: 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.about-content__catch {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-content__text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 28px;
}

/* =============================================
   Information Section (TOP) - Orange BG
   ============================================= */
.info-section {
  background: #EE8A1F;
  position: relative;
  padding: 150px 0;
}

.info-wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}

.info-wave img {
  width: 100%;
  display: block;
}

.info-wave--start {
  top: 0;
  transform: translateY(calc(-100% + 1px));
}

.info-wave--end {
  bottom: 0;
  transform: translateY(calc(100% - 1px));
}

.info-section .section-heading__ja {
  color: #fff;
}

.info-section .section-heading__en {
  color: rgba(255,255,255,0.7);
}

.info-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.info-content__text {
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 32px;
}

/* Info section inner (illustrations positioning context) */
.info-section__inner {
  position: relative;
}

/* Info illustrations */
.info-illust {
  position: absolute;
  pointer-events: none;
}

.info-illust--top {
  top: 10px;
  right: 8%;
  width: 110px;
}

.info-illust--bottom-01 {
  bottom: 30px;
  left: 4%;
  width: 70px;
}

.info-illust--bottom-02 {
  bottom: 0;
  right: 4%;
  width: 100px;
}

/* =============================================
   Appeal Section (TOP)
   ============================================= */
.appeal-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.appeal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.appeal-content .btn {
  display: inline-flex;
}

.appeal-content__catch,
.appeal-content__catch p {
  font-size: 1.35rem;
  font-weight: 700;
  color: #67AE39;
  line-height: 1.7;
  margin-bottom: 16px;
}

.appeal-content__text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 28px;
}

.appeal-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.appeal-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* =============================================
   Instagram Section (TOP)
   ============================================= */
.instagram-section {
  background: #fff;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.insta-item:hover img {
  transform: scale(1.05);
}

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

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
  background: #fff;
  padding: 60px 0 0;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: -80px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: 0 0 0 16px #FFF2A1, 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}

.cta-inner__label {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.cta-inner__tel {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #50B5E2;
  letter-spacing: 0.05em;
}

.cta-inner__tel a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.cta-inner__tel a::before {
  content: "☎";
  font-size: 0.8em;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: #FFF2A1;
  padding: 110px 0 24px;
  position: relative;
}

.footer__wave {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.footer__wave img {
  width: 100%;
  display: block;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer__logo-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer__logo-img--1 {
  max-width: 160px;
  height: auto;
}

.footer__logo-img--2 {
  max-width: 200px;
  height: auto;
}

.footer__logo-icon {
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
}

.footer__logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
}

.footer__logo-tagline {
  font-size: 0.6rem;
  color: var(--gray);
}

.footer__address {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer__tel {
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer__map-link {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--orange);
  text-decoration: underline;
  margin-top: 6px;
}

.footer__nav {
  padding-top: 60px;
}

.footer__nav-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.footer__nav-list li {
  margin-bottom: 8px;
}

.footer__nav-list a {
  font-size: 0.82rem;
  color: var(--text-light);
  transition: color 0.2s;
}

.footer__nav-list a:hover {
  color: var(--orange);
}

.footer__bottom {
  border-top: 1px solid #e8e0d0;
  padding-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray);
}

/* =============================================
   Sub-page Hero (下層ページ)
   ============================================= */
.page-hero {
  margin-top: 90px;
  position: relative;
  height: 280px;
  overflow: hidden;
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

/* =============================================
   Page Heading (下層共通)
   ============================================= */
.page-heading {
  text-align: center;
  padding: 56px 0 40px;
}

.page-heading__ja {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.page-heading__en {
  font-size: 0.78rem;
  color: var(--orange);
  letter-spacing: 0.18em;
  font-weight: 500;
}

/* =============================================
   About Page
   ============================================= */
.about-intro {
  background: var(--cream);
  padding: 64px 0;
  text-align: center;
}

.about-intro__catch {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 20px;
}

.about-intro__text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-overview {
  padding: 64px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.overview-table th,
.overview-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.overview-table th {
  width: 180px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.overview-table td {
  color: var(--text-light);
}

.overview-table tr:nth-child(odd) th,
.overview-table tr:nth-child(odd) td {
  background: #FFFDDE;
}

.overview-table tr:nth-child(even) th,
.overview-table tr:nth-child(even) td {
  background: #fff;
}

.about-history {
  padding: 64px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.history-table th,
.history-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e0d8c8;
  text-align: left;
  vertical-align: top;
}

.history-table th {
  width: 160px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.history-table td {
  color: var(--text-light);
  line-height: 1.8;
}

.history-table tr:nth-child(odd) th,
.history-table tr:nth-child(odd) td {
  background: #FFFDDE;
}

.history-table tr:nth-child(even) th,
.history-table tr:nth-child(even) td {
  background: #fff;
}

/* =============================================
   News Page
   ============================================= */
.news-page {
  padding: 40px 0 80px;
  background: var(--cream);
}

.news-page__layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: start;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.sidebar-box__title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.sidebar-cat-list li {
  border-bottom: 1px solid #eee;
}

.sidebar-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 0.88rem;
  color: var(--text);
  transition: color 0.2s;
}

.sidebar-cat-list a:hover {
  color: var(--orange);
}

.sidebar-cat-list .current a {
  color: var(--orange);
  font-weight: 700;
}

.sidebar-cat-list a::after {
  content: "→";
  color: var(--orange);
  font-weight: 700;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s;
}

.pagination .current,
.pagination a:hover {
  background: var(--orange);
  color: #fff;
}

/* =============================================
   Single Post Page
   ============================================= */
.single-post {
  padding: 56px 0 80px;
  background: #fff;
}

.single-post__article {
  max-width: 820px;
  margin: 0 auto;
}

.single-post__header {
  margin-bottom: 32px;
}

.single-post__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.single-post__title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.single-post__thumbnail {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.single-post__img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.single-post__body {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 2;
  margin-bottom: 48px;
}

.single-post__body p { margin-bottom: 1.4em; }
.single-post__body h2 { font-size: 1.2rem; font-weight: 700; margin: 2em 0 0.8em; padding-left: 12px; border-left: 4px solid var(--orange); }
.single-post__body h3 { font-size: 1.05rem; font-weight: 700; margin: 1.6em 0 0.6em; color: var(--orange); }
.single-post__body ul, .single-post__body ol { padding-left: 1.6em; margin-bottom: 1.4em; }
.single-post__body ul { list-style: disc; }
.single-post__body ol { list-style: decimal; }
.single-post__body li { margin-bottom: 0.4em; }
.single-post__body img { border-radius: var(--radius); margin: 1.2em 0; }
.single-post__body a { color: var(--orange); text-decoration: underline; }
.single-post__body a:hover { color: var(--orange-dark); }

.single-post__acf-image {
  margin: 40px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-light);
}

.single-post__acf-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post__acf-caption {
  font-size: 0.82rem;
  color: var(--gray);
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid #eee;
}

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

/* =============================================
   Information Page
   ============================================= */
.info-page {
  padding: 40px 0 80px;
  background: var(--cream);
}

.info-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.accordion-item {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.accordion-item:hover {
  box-shadow: var(--shadow-hover);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  cursor: pointer;
}

.accordion-header__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.accordion-header__desc {
  font-size: 0.8rem;
  color: var(--text-light);
}

.accordion-header__icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

/* =============================================
   Appeal Page
   ============================================= */
.appeal-page {
  background: #fff;
}

.appeal-intro {
  padding: 56px 0;
  background: var(--cream);
  text-align: center;
}

.appeal-intro__text,
.appeal-intro__text p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 2;
  max-width: 680px;
  margin: 0 auto;
}

/* Voices */
.voices-section {
  padding: 88px 0;
  background: linear-gradient(160deg, #fff8ee 0%, #fff 55%, #fff3d4 100%);
  position: relative;
  overflow: hidden;
}

.voices-section::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  right: 3%;
  font-size: 22rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--orange);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.voice-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 48px 32px 36px;
  box-shadow: 0 2px 20px rgba(238, 138, 31, 0.1), 0 0 0 1px rgba(238, 138, 31, 0.08);
  font-size: 0.92rem;
  color: #5a3a1a;
  line-height: 1.95;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  margin: 0;
}

.voice-card::before {
  content: '\201C';
  position: absolute;
  top: -4px;
  left: 18px;
  font-size: 5.5rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--orange);
  opacity: 0.22;
  line-height: 1;
  pointer-events: none;
}

.voice-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 0 0 20px 20px;
}

.voice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(238, 138, 31, 0.18), 0 0 0 1px rgba(238, 138, 31, 0.12);
}

.voice-card__text {
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Three charms */
.charms-section {
  padding: 80px 0 72px;
  background: var(--cream);
}

/* 外枠：カード上からはみ出す分の余白・幅を制限して中央揃え */
.charm-item {
  padding-top: 72px;
  margin: 0 auto 56px;
  max-width: 900px;
}

.charm-item:last-child { margin-bottom: 0; }

/* 白カード：画像＋テキストを横並び */
.charm-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  overflow: visible;
  padding-bottom: 28px; /* 画像の下に白を出す */
}

/* 逆順：画像を右に */
.charm-item--reverse .charm-card {
  flex-direction: row-reverse;
}

/* 画像：上はカード外へ・左に白余白を空ける */
.charm-img {
  flex: 0 0 auto;
  width: 370px;
  margin-top: -72px;
  margin-left: 40px;  /* 左に白余白 */
  position: relative;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 8px #fff;
}

/* 逆順：右側に白余白 */
.charm-item--reverse .charm-img {
  margin-left: 0;
  margin-right: 40px;
}

.charm-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* テキストエリア */
.charm-content {
  flex: 1;
  padding: 0 36px 0 28px;
  text-align: center;
}

/* 数字：カード上端から半分だけはみ出す */
.charm-num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  font-style: italic;
  line-height: 1;
  position: relative;
  top: -1.5rem;
  margin-bottom: 4px;
}

.charm-title-wrap {
  margin-bottom: 16px;
  line-height: 2;
}

.charm-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 2;
  display: inline;
  background: linear-gradient(transparent 62%, #FAFF65 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.charm-title em {
  color: var(--orange);
  font-style: normal;
}

.charm-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.9;
  text-align: left;
}

/* Qualification section */
.qual-section {
  padding: 64px 0;
  background: #fff;
}

.qual-text {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 40px;
}

.qual-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.qual-path {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.qual-path__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
}

.qual-step {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qual-step__item {
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.qual-step__arrow {
  text-align: center;
  color: var(--orange);
  font-size: 1.2rem;
  padding: 4px 0;
}

.qual-step__highlight {
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Bottom appeal */
.appeal-bottom {
  padding: 64px 0;
  background: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.appeal-bottom__catch {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.appeal-bottom__sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
}

.appeal-bottom__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
  max-width: 620px;
  margin: 0 auto;
}

/* =============================================
   Contact Page
   ============================================= */
.contact-page {
  padding: 40px 0 80px;
  background: var(--cream);
}

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

.contact-box__lead {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.contact-tel {
  text-align: center;
  margin-bottom: 8px;
}

.contact-tel__num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.05em;
}

.contact-tel__num a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.contact-tel__num a::before {
  content: "☎";
  font-size: 0.75em;
}

.contact-tel__hours {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 36px;
}

.contact-access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.access-card {
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  background: var(--orange);
  color: #fff;
  text-align: center;
}

.access-card__label {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.access-card__text {
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.92;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   Privacy Page
   ============================================= */
.privacy-page {
  padding: 40px 0 80px;
  background: var(--cream);
}

.privacy-content {
  max-width: 820px;
  margin: 0 auto;
}

.policy-section {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.policy-section__header {
  background: var(--orange);
  color: #fff;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
}

.policy-section__body {
  padding: 20px 24px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 2;
}

.policy-section__body ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-top: 8px;
}

.policy-section__body ul li {
  margin-bottom: 4px;
}

.privacy-contact {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
  border: 2px solid var(--orange);
}

.privacy-contact__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.privacy-contact__text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* =============================================
   Breadcrumb
   ============================================= */
.breadcrumb {
  padding: 12px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}

.breadcrumb__list li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
}

.breadcrumb__list a {
  color: var(--orange);
}

.breadcrumb__list li::after {
  content: "›";
}

.breadcrumb__list li:last-child::after {
  display: none;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1200px) {
  .nav__list { gap: 0; }
  .nav__item a { padding: 10px 8px; font-size: 1rem; }
}
@media (max-width: 1024px) {
  .nav__item a {font-size: 0.9rem; }
}

@media (max-width: 992px) {
  /* Header */
  .nav { display: none; }
  .hamburger { display: flex; }
  /* 装飾背景: PC用左右を非表示 → SP全体背景に切り替え */
  .section-fixedbg { display: none; }
  .about-section,
  .appeal-section,
  .about-overview,
  .about-history,
  .appeal-bottom {
    background-image: url('../img/cmn_fixedbg_full_sp.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  /* スマホ: 円なし・ロゴ1と2を横並び */
  .logo {
    position: static;
    left: auto;
    top: auto;
  }
  .logo__images {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    gap: 8px;
  }
  .logo__img--2 { display: block; }
  .logo__img--1 { max-width: 40px; margin-right: 0; }
  .logo__img--2 { max-width: 110px; }
  .header__inner {
    padding-left: 16px;
    justify-content: space-between;
  }

  /* Hero */
  .hero { max-height: 480px; }
  .hero__catch { font-size: 1.6rem; }
  .hero__text { right: 4%; }

  /* Section */
  .section { padding: 56px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading__ja { font-size: 1.4rem; }

  /* News grid */
  .news-grid { grid-template-columns: 1fr; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-img img { height: 240px; }

  /* Appeal */
  .appeal-inner { grid-template-columns: 1fr; gap: 32px; }
  .appeal-img { order: -1; }
  .appeal-img img { height: 240px; }

  /* Instagram */
  .insta-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }

  /* Page hero */
  .page-hero { height: 200px; }

  /* Sub pages */
  .news-page__layout { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }

  .contact-access { grid-template-columns: 1fr; }
  .contact-box { padding: 28px 20px; }

  .qual-paths { grid-template-columns: 1fr; }

  .charm-item { padding-top: 48px; max-width: 100%; }
  .charm-card { flex-direction: column; padding-bottom: 24px; }
  .charm-item--reverse .charm-card { flex-direction: column; }
  .charm-img { width: 75%; margin-top: -48px; margin-left: auto; margin-right: auto; border-radius: 16px; }
  .charm-item--reverse .charm-img { margin-left: auto; margin-right: auto; }
  .charm-img img { aspect-ratio: 1 / 1; }
  .charm-content { padding: 16px 24px 0; }
  .charm-num { top: 0; margin-bottom: 16px; }

  .voices-grid { grid-template-columns: 1fr; gap: 20px; }
  .voice-card { padding: 40px 24px 28px; }
  .voices-section::before { font-size: 14rem; right: -2%; }

  .cta-inner { padding: 28px 20px; }

  /* About tables */
  .overview-table th { width: 110px; }

}

@media (max-width: 480px) {
  .hero__text { right: 3%; }
  .hero__catch { font-size: 1.25rem; }

  .page-hero { height: 160px; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   404 Error Page
   ============================================= */
.error-page {
  padding: 80px 0 100px;
  background: var(--cream);
}

.error-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.error-page__code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -2px;
}

.error-page__message {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
}

/* =============================================
   WordPress 管理バー補正（ログイン時のみ）
   管理バー高さ: PC=32px / SP=46px
   ============================================= */
.admin-bar .header {
  top: 32px;
}

.admin-bar .logo {
  top: calc(-5.2vw + 32px);
}

.admin-bar .hero,
.admin-bar .page-hero {
  margin-top: 90px;
}

.admin-bar .mobile-nav {
  top: calc(90px + 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }

  /* スマホはlogoがstatic配置なのでadmin-bar補正不要 */

  .admin-bar .hero,
  .admin-bar .page-hero {
    margin-top: 90px;
  }

  .admin-bar .mobile-nav {
    top: calc(90px + 46px);
  }
}
