/* ===============================
   全体共通
=============================== */

/* 全要素に box-sizing を適用 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* body全体 */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #6e564c;
  line-height: 1.6;
  letter-spacing: 0.05em;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* aタグ共通 */
a {
  text-decoration: none;
  color: inherit;
}

/* コンテナ共通 */
.container {
  margin: 0 auto;
  padding: 1rem;
}

/* ===============================
   共通カラー変数
=============================== */
:root {
  --color-bg: #fcf7f0;
  --color-text: #6e564c;
  --color-accent: #7b98cd;
  --color-hover: #fb8b70;
  --color-subtext: #bfbfbf;
  --color-white: #fff;
  --color-border: #f3c567;
  --color-green: #93c97f;
  --color-nav-hover: #D39078;
  --color-yellow: #ebde7b;
}

/* ===============================
   ヘッダー・ナビ・連絡先
=============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 3px solid var(--color-border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 3rem 0 1rem;
}

.logo img {
  width: 200px;
  /* 好きな幅に調整 */
  height: auto;
  /* アスペクト比を維持 */
  display: block;
  /* 不要な余白を消す */
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a:not(.btn-contact) {
  font-weight: bold;
  transition: color 0.4s ease;
}

.main-nav a:not(.btn-contact):hover {
  color: var(--color-nav-hover);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.tel i {
  color: var(--color-hover);
  margin-right: 0.25rem;
  vertical-align: middle;
  font-size: 1.2rem;
}

.tel {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-hover);
  margin: 0;
}

.hours {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--color-subtext);
  margin-top: 0.375rem;
}

/* お問い合わせボタン */
.btn-contact {
  display: inline-flex;
  align-items: center;
  background: var(--color-hover);
  color: var(--color-white);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.btn-contact:hover {
  opacity: 0.7;
}

.icon-circle {
  width: 1.8rem;
  height: 1.8rem;
  background-color: var(--color-white);
  color: var(--color-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-size: 0.95rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.3125rem;
  /* 5px */
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 1.5625rem;
  /* 25px */
  height: 0.1875rem;
  /* 3px */
  background-color: var(--color-text);
  transition: all 0.3s;
}

/* ✕に変化するアニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===============================
   メインヒーロー
=============================== */
.hero {
  width: 100%;
  background-color: var(--color-white);
  text-align: center;
  position: relative;
  isolation: isolate;
}

.hero-image {
  position: relative;
}

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

/* ===============================
   メディアクエリ
=============================== */

/* タブレット */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 1rem 0 0;
  }

  .logo img {
    width: 150px;
  }

  .main-nav {
    gap: 2rem;
  }

  .main-nav ul {
    gap: 1rem;
  }

  .header-contact {
    gap: 2rem;
  }

  .contact-info .tel-text,
  .contact-info .hours {
    display: none;
  }

  .contact-info .tel {
    font-size: 1.8rem;
    margin-bottom: 0.625rem;
    /* 10px */
  }

  .btn-contact {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 50%;
    background-color: transparent;
    overflow: hidden;
  }

  .btn-contact .icon-circle {
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .btn-contact .icon-circle i {
    font-size: 1.5rem;
    line-height: 1;
  }

  .header-btn span:not(.icon-circle) {
    display: none;
  }

  .hero-image img {
    margin-top: 4.375rem;
    /* 70px */
  }

  .vertical-text {
    writing-mode: vertical-rl;
    font-size: 1.4rem;
    line-height: 2;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 1rem 0 0;
  }

  .logo img {
    width: 100px;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 5rem 0;
    border-top: 0.0625rem solid var(--color-border);
    /* 1px */
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .main-nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .header-contact {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
  }

  .tel,
  .tel-text {
    display: inline !important;
    font-size: 1.5rem;
    color: var(--color-hover);
    text-align: center;
  }

  .hours {
    display: block !important;
    font-size: 0.75rem;
    color: var(--color-subtext);
    text-align: center;
    margin-top: 0.3rem;
  }

  .btn-contact {
    display: flex !important;
    align-items: center;
    width: 15rem;
    gap: 2.4rem;
    padding: 1rem;
    border-radius: 999px;
    background: var(--color-hover);
    color: var(--color-white);
  }

  .btn-contact .icon-circle {
    background: var(--color-white);
    color: var(--color-hover);
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.9rem;
  }

  .btn-contact .icon-circle i {
    font-size: 1rem;
  }

  .btn-contact span:not(.icon-circle) {
    display: inline !important;
  }

  .main-nav.active {
    display: flex;
  }

  .hero-image img {
    margin-top: 2.1875rem;
    /* 35px */
  }

  .vertical-text {
    writing-mode: horizontal-tb;
    font-size: 1.2rem;
    line-height: 1.6;
  }
}




/* ===============================
   おしらせセクション
=============================== */
.news {
  position: relative;
  overflow: visible;
  background-color: var(--color-bg);
  padding: 5rem 1rem;
  text-align: center;
}

.news::before {
  content: '';
  position: absolute;
  top: -7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 7.5rem;
  /* 120px */
  background-image: url("../img/section-hero.svg");
  background-repeat: repeat-x;
  background-size: cover;
  z-index: 0;
}

.news .container {
  max-width: 62.5rem;
  /* 1000px */
  margin: 0 auto;
  position: relative;
  z-index: 20;
  background: var(--color-white);
  padding: 2rem;
  border-radius: 0.75rem;
  /* 12px */
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.news .container::before {
  content: "";
  position: absolute;
  top: -10rem;
  /* 160px */
  left: 50%;
  transform: translateX(-50%);
  width: 31.25rem;
  /* 500px */
  height: 15.625rem;
  /* 250px */
  background: url('../img/news-bg.png') no-repeat center center;
  background-size: contain;
  pointer-events: none;
  z-index: 20;
}

.image-wrapper {
  position: absolute;
  top: -23rem;
  /* 368px */
  left: -20rem;
  /* 320px */
  width: 31.25rem;
  /* 500px */
  height: 31.25rem;
  /* 500px */
  background-image: url("../img/news-top.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 20;
  pointer-events: none;
}

.news h2 {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.news-title {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-logo);
  margin-bottom: 2rem;
}

.material-symbols-outlined.icon-head {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 1.6rem;
  color: var(--color-accent);
  transition: color 0.3s ease;
  cursor: pointer;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  color: var(--color-text);
  font-size: 1rem;
}

.news-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 0.0625rem solid #ccc;
  /* 1px */
  border-bottom: 0.0625rem solid #ccc;
}

.news-list .date {
  flex-shrink: 0;
  color: var(--color-subtext);
  font-weight: bold;
  width: 6.25rem;
  /* 100px */
  padding-left: 0.9375rem;
  /* 15px */
}

.news-list .text {
  transition: color 0.3s ease;
  cursor: pointer;
}

.news-top-image {
  position: absolute;
  top: 30rem;
  /* 480px */
  right: 0;
  width: 31.25rem;
  /* 500px */
  height: auto;
  z-index: 20;
  pointer-events: none;
}

.news-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 3.75rem;
  /* 60px */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.news-modal .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  margin-top: 6rem;
}

.news-modal .close {
  position: absolute;
  top: 1.25rem;
  /* 20px */
  right: 2.1875rem;
  /* 35px */
  color: var(--color-white);
  font-size: 2.5rem;
  /* 40px */
  font-weight: bold;
  cursor: pointer;
}

.news-modal .close:hover {
  color: #bbb;
}


/* ===============================
   メディアクエリ：おしらせ
=============================== */

/* タブレット（iPad）対応 */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .news {
    padding: 4rem 1.5rem;
  }

  .news::before {
    background-size: contain;
    height: 8.75rem;
    /* 140px */
    top: -3rem;
  }

  .news .container::before {
    top: -7.5rem;
    /* 120px */
    width: 25rem;
    /* 400px */
    height: 12.5rem;
    /* 200px */
  }

  .image-wrapper {
    top: -6rem;
    left: -2rem;
    width: 18.75rem;
    /* 300px */
    height: 12.5rem;
    /* 200px */
  }

  .news h2,
  .news-title {
    font-size: 1.6rem;
  }

  .news-list li {
    flex-direction: column;
    gap: 0.4375rem;
    /* 7px */
  }

  .news-list .date {
    width: auto;
    padding: 0;
    font-size: 1rem;
  }

  .news-list .text {
    font-size: 1rem;
  }

  .news-top-image {
    width: 25rem;
    /* 400px */
    top: auto;
    bottom: -6rem;
    margin-right: 0.9375rem;
    /* 15px */
  }
}

/* スマホ対応 */
@media (max-width: 48rem) {
  .news {
    padding: 3rem 1rem;
  }

  .news .container {
    padding: 2rem;
  }

  .news::before {
    background-size: contain;
    height: 6.25rem;
    /* 100px */
    top: -1.5rem;
  }

  .news .container::before {
    top: -6.25rem;
    /* 100px */
    width: 18.75rem;
    /* 300px */
    height: 9.375rem;
    /* 150px */
  }

  .image-wrapper {
    display: block;
    width: 11.25rem;
    /* 180px */
    height: 12.5rem;
    /* 200px */
    top: auto;
    bottom: -1rem;
    left: auto;
    right: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .news h2,
  .news-title {
    font-size: 1.4rem;
  }

  .news-list li {
    flex-direction: column;
    gap: 0.3125rem;
    /* 5px */
  }

  .news-list .date {
    width: auto;
    padding: 0;
    font-size: 0.9rem;
  }

  .news-list .text {
    font-size: 0.95rem;
  }

  .news-top-image {
    width: 15.625rem;
    /* 250px */
    top: auto;
    bottom: -6rem;
    margin-right: 0.8125rem;
    /* 13px */
  }
}



/* ===============================
   ごあいさつ（保育方針）セクション
=============================== */
.greeting {
  background-color: var(--color-bg);
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 7rem;
  /* 112px */
}

.greeting-wrap {
  position: relative;
  margin-left: 5.625rem;
  /* 90px */
  padding: 0;
  box-sizing: border-box;
}

/* 画像セクション（画面幅いっぱい右寄せ） */
.greeting-image-section {
  max-width: 100vw;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.greeting-image-section .container {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}

.greeting-image {
  max-width: 62.5rem;
  /* 1000px */
  width: 100%;
  padding-top: 4.375rem;
  /* 70px */
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}

.greeting-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  padding: 0;
  margin-left: auto;
}

/* テキストを画像上に絶対配置（PC用） */
.greeting-text-section {
  position: absolute;
  top: 10%;
  left: 2%;
  max-width: 37.5rem;
  /* 600px */
  color: var(--color-text);
  background: transparent;
  padding: 0;
  z-index: 10;
  box-sizing: border-box;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.greeting-text-section .greeting-container {
  padding-left: 0;
  margin-left: 0;
}

/* タイトル */
.greeting-title {
  font-size: 2.6rem;
  /* 41.6px */
  padding-top: 4.375rem;
  /* 70px */
  margin-bottom: 10%;
  letter-spacing: 0.05em;
  position: relative;
  color: var(--color-text);
  padding-left: 0;
}

.greeting-title::after {
  content: "";
  display: block;
  width: 7.5rem;
  /* 120px */
  height: 0.5625rem;
  /* 9px */
  background-image: url('../img/ttl-deco.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 1rem;
  /* 16px */
}

/* 段落 */
.greeting-paragraph span {
  display: inline-block;
  font-size: 1.3rem;
  /* 20.8px */
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 0.4375rem;
  /* 7px */
  color: var(--color-text);
  background-color: var(--color-white);
  padding: 0.25rem 0.5rem;
  /* 4px 8px */
  white-space: nowrap;
}

/* ボタンラッパー */
.greeting-btn-wrapper {
  margin-top: 1.5625rem;
  /* 25px */
}

.greeting-button-text {
  flex-grow: 1;
  padding-left: 1.25rem;
  /* 20px */
}

/* タイトル下デコレーション画像 */
.ttl-deco-image {
  width: 130px;
  height: 10px;
  margin: 2rem auto 0;
  /* 32px auto 0 */
  background-image: url('../img/ttl-deco.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* ボタン共通 */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  /* 12px 24px */
  border-radius: 64px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 1.125rem;
  /* 18px */
  font-weight: bold;
  text-decoration: none;
  gap: 0.75rem;
  /* 12px */
  max-width: 230px;
  width: 100%;
  transition: opacity 0.3s ease;
}

.btn:hover {
  opacity: 0.7;
}

/* 丸い矢印アイコン */
.circle-icon {
  position: relative;
  width: 2.25rem;
  /* 36px */
  height: 2.25rem;
  /* 36px */
  background-color: var(--color-white);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.circle-icon::after {
  content: '';
  position: absolute;
  top: calc(50% - 0.25rem);
  /* -4px */
  right: 0.9375rem;
  /* 15px */
  width: 0.5rem;
  /* 8px */
  height: 0.5rem;
  /* 8px */
  border-top: 0.1875rem solid var(--color-accent);
  /* 3px */
  border-right: 0.1875rem solid var(--color-accent);
  /* 3px */
  transform: rotate(45deg);
  border-radius: 0.125rem;
  /* 2px */
  transition: all 0.2s ease-out;
}

/* セクション区切り */
.section-divider {
  width: 40%;
  height: 12.5rem;
  /* 200px */
  background-image: url('../img/feature-bottom.png');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  position: relative;
  z-index: 1;
  margin-top: -12.375rem;
  /* -198px */
  margin-left: 1.875rem;
  /* 30px */
}

.section-divider img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===============================
   ごあいさつセクション メディアクエリ
=============================== */

/* ===== タブレット（iPad）対応 ===== */
@media (min-width: 48.0625rem) and (max-width: 64rem) {

  /* 769px〜1024px */
  .greeting-wrap {
    margin: 0 auto;
    padding: 0 1.25rem 5.9375rem;
    /* 0 20px 95px */
    max-width: 100%;
  }

  .greeting-image-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .greeting-text-section {
    position: static;
    margin-top: 2rem;
    /* 32px */
    max-width: 100%;
    text-align: left;
    padding: 0 0.625rem;
    /* 0 10px */
  }

  .greeting-title {
    padding-top: 0;
    text-align: left;
    font-size: 2rem;
    /* 32px */
  }

  .greeting-paragraph span {
    background-color: transparent;
    display: inline;
    font-size: 1.75rem;
    /* 28px */
    white-space: normal;
    text-align: left;
  }

  .greeting-image {
    width: 100%;
    max-width: 50rem;
    /* 800px */
    padding-top: 3.125rem;
    /* 50px */
  }

  .greeting-image img {
    width: 100%;
    height: auto;
  }

  .greeting-btn-wrapper {
    margin-top: 1.5rem;
    /* 24px */
    text-align: center;
  }

  .greeting-btn-wrapper .btn {
    display: inline-flex;
    justify-content: center;
    margin-top: 1.5625rem;
    /* 25px */
    padding: 1.25rem 1.5rem;
    /* 20px 24px */
    font-size: 1.25rem;
    /* 20px */
  }

  .greeting-button-text {
    padding-left: 0.625rem;
    /* 10px */
  }

  .section-divider {
    margin-top: -9.375rem;
    /* -150px */
    margin-left: 1.875rem;
    /* 30px */
    background-size: contain;
    background-position: left top;
    height: 9.375rem;
    /* 150px */
    width: 90%;
  }
}

/* ===== スマホ対応 ===== */
@media (max-width: 48rem) {

  /* 768px以下 */
  .greeting-wrap {
    margin: 0 auto;
    padding: 0 0.625rem 3.125rem;
    /* 0 10px 50px */
    max-width: 100%;
  }

  .greeting-text-section {
    position: static;
    margin-top: 1.5rem;
    /* 24px */
    max-width: 100%;
    text-align: left;
    padding: 0 0.3125rem;
    /* 0 5px */
  }

  .greeting-title {
    padding-top: 0;
    text-align: left;
    font-size: 1.75rem;
    /* 28px */
  }

  .greeting-paragraph span {
    background-color: transparent;
    display: inline;
    font-size: 1.0625rem;
    /* 17px */
    white-space: normal;
  }

  .greeting-image {
    padding-top: 3.125rem;
    /* 50px */
    width: 100%;
  }

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

  .greeting-btn-wrapper {
    margin-top: 1.5rem;
    /* 24px */
    text-align: center;
  }

  .greeting-btn-wrapper .btn {
    display: inline-flex;
    justify-content: center;
    margin-top: 1.5625rem;
    /* 25px */
  }

  .section-divider {
    margin-top: -7.5rem;
    /* -120px */
    margin-left: 0;
    background-size: contain;
    background-position: center top;
    height: 6.25rem;
    /* 100px */
    width: 100%;
  }
}




/* ===============================
   園の特色セクション
=============================== */
.feature-bg-wrapper {
  position: relative;
  background: var(--color-white) url("../img/feature-bg.png") repeat top center;
  background-size: 100% auto;
  z-index: 0;
}

.features {
  padding-top: 5rem;
}

.features-header {
  margin-bottom: 6.5rem;
}

.features>.container {
  position: relative;
  z-index: 2;
  margin: 0 8.75rem;
  /* 140px */
}

.features h2 {
  font-size: 2.5rem;
  /* 40px */
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 2rem;
  /* 32px */
  text-align: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 5.625rem;
  /* 90px */
}

.feature-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 9.375rem;
  /* 150px */
  margin-bottom: 3.125rem;
  /* 50px */
}

.feature-item.reverse {
  flex-direction: row-reverse;
}

/* ===== コンテンツ部分 ===== */
.feature-content {
  flex: 1;
}

.feature-content h3 {
  font-size: 2rem;
  /* 32px */
  color: var(--color-text);
  margin-bottom: 3rem;
  /* 48px */
  letter-spacing: 0.1em;
}

.feature-content p {
  font-size: 1.25rem;
  /* 20px */
  color: var(--color-text);
  line-height: 2.5;
  /* 200% */
  font-weight: bold;
}

/* ===== 画像部分 ===== */
.feature-image {
  flex-shrink: 0;
  align-self: flex-start;
}

.feature-image img {
  display: block;
  width: 43.75rem;
  /* 700px */
  height: auto;
  border-radius: 0.75rem;
  /* 12px */
  object-fit: cover;
  border: 0.625rem solid transparent;
  /* 10px */
}

.feature-image.color1 img {
  border-color: var(--color-hover);
}

.feature-image.color2 img {
  border-color: var(--color-accent);
}

.feature-image.color3 img {
  border-color: var(--color-yellow);
  /* 黄色系は変数未定義のため固定 */
}

/* ===== 番号部分 ===== */
.feature-number {
  font-size: 3.25rem;
  /* 52px */
  font-weight: bold;
  min-width: 3.125rem;
  /* 50px */
}

.feature-number.color1 {
  color: var(--color-hover);
}

.feature-number.color2 {
  color: var(--color-accent);
}

.feature-number.color3 {
  color: var(--color-yellow);
}

/* ===============================
   園の特色セクション メディアクエリ
=============================== */

/* タブレット（iPad）対応 */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .features>.container {
    margin: 0 2.5rem;
    /* 40px */
  }

  .feature-item,
  .feature-item.reverse {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    /* 20px */
  }

  .feature-content {
    order: 2;
    text-align: center;
    width: 100%;
  }

  .feature-image {
    order: 1;
    width: 100%;
    max-width: 37.5rem;
    /* 600px */
  }

  .feature-content h3 {
    font-size: 1.625rem;
    /* 26px */
    margin-bottom: 0.625rem;
    /* 10px */
    text-align: left;
  }

  .feature-content p {
    font-size: 1.125rem;
    /* 18px */
    line-height: 2;
    /* 180% */
    text-align: left;
  }

  .feature-number {
    font-size: 2.625rem;
    /* 42px */
    margin-bottom: 0.3125rem;
    /* 5px */
    text-align: left;
  }
}

/* スマホ対応 */
@media (max-width: 48rem) {
  .features>.container {
    margin: 0 0.625rem;
    /* 10px */
  }

  .features-list {
    gap: 2.5rem;
    /* 40px */
  }

  .feature-item,
  .feature-item.reverse {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    /* 20px */
  }

  .feature-content {
    order: 2;
    text-align: center;
    width: 100%;
  }

  .feature-image {
    order: 1;
    width: 100%;
  }

  .feature-content h3 {
    font-size: 1.5rem;
    /* 24px */
    margin-bottom: 0.625rem;
    /* 10px */
    text-align: left;
  }

  .feature-content p {
    font-size: 1rem;
    /* 16px */
    line-height: 1.8;
    /* 180% */
    text-align: left;
  }

  .feature-number {
    font-size: 2.25rem;
    /* 36px */
    margin-bottom: 0.3125rem;
    /* 5px */
    text-align: left;
  }
}



/* ==================================================
   園での生活セクション 共通スタイル
================================================== */
.top-image-section {
  position: relative;
  background-color: var(--color-bg);
}

.top-image-section::before {
  content: "";
  display: block;
  background: url("../img/section-top.svg") center/cover no-repeat;
  height: 1.375rem;
  /* 22px */
  position: relative;
  top: -1.25rem;
  /* -20px */
}

/* リスト全体 */
.home-links-list {
  list-style: none;
  padding: 7rem 0;
  /* 上下余白 */
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  /* 80px */
  justify-content: center;
}

/* 各アイテム */
.home-links-item {
  position: relative;
  width: 18.75rem;
  /* 300px */
}

.home-links-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: var(--color-text);
}

/* 画像 */
.home-links-img {
  width: 18.75rem;
  /* 300px */
  height: 18.75rem;
  /* 300px */
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 背景の丸（共通スタイル） */
.home-links-item::before,
.home-links-item::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease;

  /* 共通オフセット */
  --bottom-pos: 0.5rem;
  /* 8px */
  --left-pos: 0.625rem;
  /* 10px */
  --right-pos: 0.625rem;
  /* 10px */
}

.home-links-item::before {
  bottom: var(--bottom-pos);
  left: var(--left-pos);
}

.home-links-item::after {
  bottom: calc(var(--bottom-pos) - 1.125rem);
  /* 18px */
  right: var(--right-pos);
}

/* hover時の位置入れ替え */
.home-links-item.hovered::before {
  bottom: calc(var(--bottom-pos) - 1.125rem);
  left: var(--right-pos);
}

.home-links-item.hovered::after {
  bottom: var(--bottom-pos);
  right: var(--left-pos);
}

/* 色バリエーション */
.home-links-item.item1::before,
.home-links-item.item1::after {
  background-color: var(--color-hover);
}

.home-links-item.item2::before,
.home-links-item.item2::after {
  background-color: var(--color-accent);
}

.home-links-item.item3::before,
.home-links-item.item3::after {
  background-color: var(--color-yellow);
}

/* タイトル */
.home-links-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0.3125rem 0.625rem;
  /* 5px 10px */
  font-size: 1.75rem;
  /* 28px */
  line-height: 1.4;
  /* 読みやすさ向上 */
  color: var(--color-white);
  text-align: center;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  z-index: 10;
}

/* ==================================================
   iPad対応（タブレット：769px〜1024px）
================================================== */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .home-links-list {
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 5rem 0;
    gap: 1.25rem;
    /* 20px */
    justify-content: space-around;
  }

  .home-links-item {
    width: 30%;
    max-width: 15.625rem;
    /* 250px */
  }

  .home-links-img {
    width: 13.75rem;
    /* 220px */
    height: 13.75rem;
    /* 220px */
  }

  .home-links-title {
    font-size: 1.375rem;
    /* 22px */
  }

  /* 上下のずれ微調整 */
  .home-links-item::before {
    bottom: 0.3125rem;
    /* 5px */
    left: 0.3125rem;
  }

  .home-links-item::after {
    bottom: -0.3125rem;
    /* -5px */
    right: 0.3125rem;
  }

  .top-image-section::before {
    height: 1.125rem;
    /* 18px */
    top: -1.1rem;
  }
}

/* ==================================================
   スマホ対応（768px以下）
================================================== */
@media (max-width: 48rem) {
  .home-links-list {
    flex-direction: column;
    align-items: center;
    padding: 3.75rem 0;
    /* 60px */
    gap: 2.5rem;
    /* 40px */
  }

  .home-links-item {
    width: 80%;
    max-width: 18.75rem;
    /* 300px */
  }

  .home-links-img,
  .home-links-item::before,
  .home-links-item::after {
    width: 18.75rem;
    /* 300px */
    height: 18.75rem;
    /* 300px */
  }

  .home-links-title {
    font-size: 1.25rem;
    /* 20px */
    padding: 0.1875rem 0.375rem;
    /* 3px 6px */
    line-height: 1.5;
    white-space: normal;
  }

  .home-links-item::before {
    bottom: 0.3125rem;
    /* 5px */
    left: 0.3125rem;
  }

  .home-links-item::after {
    bottom: -0.3125rem;
    /* -5px */
    right: 0.3125rem;
  }

  .top-image-section::before {
    height: 0.9375rem;
    /* 15px */
    top: -0.9rem;
  }
}



/* ==================================================
   園からのおたよりセクション
================================================== */
.home-blog {
  position: relative;
  padding: 7rem 2rem 15rem;
  /* 上下 112px / 左右 32px */
  text-align: center;
  background: url("../img/ptn02.jpg") center / cover no-repeat;
}

.home-blog .section-title {
  display: inline-block;
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
  /* 下 64px */
}

.home-blog h2 {
  font-size: 2.5rem;
  /* 40px */
  color: var(--color-text);
  margin: 0;
}

/* 投稿リスト */
.posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1.25rem;
  /* 20px */
  min-height: 21.875rem;
  /* 350px */
}

/* 個別投稿 */
.post {
  background: var(--color-white);
  border: 1px solid #ddd;
  padding: 0 0 3rem 0;
  /* 下 48px */
  width: 21.875rem;
  /* 350px */
  box-sizing: border-box;
  text-align: center;
  clip-path: ellipse(100% 100% at 50% 100%);
  border-bottom-left-radius: 2.25rem;
  /* 36px */
  border-bottom-right-radius: 2.25rem;
  /* 36px */
}

.post-img {
  width: 100%;
  height: 11.25rem;
  /* 180px */
  object-fit: cover;
  margin-bottom: 0.75rem;
  /* 12px */
}

.post-meta {
  text-align: left;
  padding-left: 2rem;
  /* 32px */
}

.post-date {
  font-size: 1.125rem;
  /* 18px */
  color: var(--color-hover);
  margin: 1rem 0 0.9rem;
  /* 上16px / 下14.4px */
}

.home-blog .post-title {
  font-size: 1.4rem;
  /* 約22.4px */
  font-weight: bold;
  margin-bottom: 1rem;
  /* 16px */
}

.home-blog .post-title:hover {
  opacity: 0.7;
}

.post-subtitle {
  font-size: 0.875rem;
  /* 14px */
  color: #666;
  margin: 0;
}

/* sectionの最後に表示する画像 */
.home-blog-image {
  width: 31.25rem;
  /* 500px */
  height: 25rem;
  /* 400px */
  margin: -15rem 0 3rem 5rem;
  /* 上余白3rem、中央寄せ */
  background: url("../img/your-image.png") center / contain no-repeat;
  position: relative;
  /* 必要に応じてabsoluteに変更可能 */
  z-index: 2;
}


/* ==================================================
   iPad対応（タブレット：769px〜1024px）
================================================== */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .home-blog {
    padding: 5rem 2rem;
    /* 上下80px / 左右32px */
  }

  .home-blog h2 {
    font-size: 2.2rem;
    /* 35.2px */
  }

  .posts {
    gap: 1.5625rem;
    /* 25px */
    justify-content: center;
    min-height: auto;
  }

  .post {
    width: 45%;
    max-width: 21.875rem;
    /* 350px */
  }

  .post-img {
    height: 10.625rem;
    /* 170px */
  }

  .post h3 {
    font-size: 1.0625rem;
    /* 17px */
  }

  .post p {
    font-size: 0.84375rem;
    /* 13.5px */
  }

  .btn-image {
    width: 18.75rem;
    /* 300px */
    height: 9.375rem;
    /* 150px */
    margin: -29.375rem 0 0 1.875rem;
    /* 上-470px / 左30px */
  }

  .home-blog-image {
    width: 25rem;
    /* 約400px */
    height: 20rem;
    /* 約320px */
    margin: -6rem 0 2rem 1rem;
    /* 上マイナスを少なく、左余白も縮小 */
  }
}

/* ==================================================
   スマホ対応（768px以下）
================================================== */
@media (max-width: 48rem) {
  .home-blog {
    padding: 3.75rem 1rem;
    /* 上下60px / 左右16px */
  }

  .home-blog h2 {
    font-size: 2rem;
    /* 32px */
  }

  .posts {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0;
    scroll-snap-type: x mandatory;
  }

  .post {
    flex: 0 0 100%;
    max-width: 100%;
    background: var(--color-white);
    border-radius: 0;
    box-shadow: none;
    scroll-snap-align: start;
  }

  .post img {
    width: 100%;
    height: auto;
    display: block;
  }

  .post-meta {
    padding-left: 1rem;
    /* 16px */
  }

  .post h3 {
    font-size: 1rem;
    /* 16px */
  }

  .post p {
    font-size: 0.8125rem;
    /* 13px */
  }


  .btn-image {
    width: 12.5rem;
    /* 200px */
    height: 6.25rem;
    /* 100px */
    margin: -18.4375rem 0 0 0.625rem;
    /* 上-295px / 左10px */
  }

  .home-blog-image {
    width: 50%;
    max-width: 250px;
    height: 20rem;
    margin: -9rem 0 0 0;
    background-position: left center;
    background-size: contain;
  }
}




/* ==================================================
   ホームスライダー
================================================== */
.section-bg {
  width: 100%;
  height: 37.5rem;
  /* 600px */
  background: url("../img/feature-bg.png") center top / cover no-repeat;
  background-color: var(--color-bg);
}

.home-slider {
  margin-top: 5rem;
  /* 上余白調整 */
}

.home-slider .slider {
  width: 100%;
  height: 100%;
}

.home-slider .slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==================================================
   iPad対応（タブレット：769px〜1024px）
================================================== */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .section-bg {
    height: 25rem;
    /* 400px */
  }

  .home-slider {
    margin-top: 0;
    /* タブレットでは余白なし */
  }

  .home-slider .slider img {
    margin-top: 3.125rem;
    /* 50px */
  }
}

/* ==================================================
   スマホ対応（768px以下）
================================================== */
@media (max-width: 48rem) {
  .section-bg {
    height: 15.625rem;
    /* 250px */
  }

  .home-slider {
    margin-top: 0;
    /* 余白を消す */
  }

  .home-slider .slider img {
    margin-top: 1.875rem;
    /* 30px */
    object-fit: cover;
  }
}




/* ==================================================
   お問い合わせセクション
================================================== */
.contact-section {
  position: relative;
  text-align: center;
  padding: 5rem 0 14rem;
  /* 80px 0 224px */
  background: url("../img/ptn03.jpg") no-repeat center / cover;
  background-color: var(--color-bg);
}

.contact-title {
  position: relative;
  font-size: 2.5rem;
  /* 40px */
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  /* 40px */
  color: var(--color-text);
}

.contact-title::after {
  content: "";
  display: block;
  width: 12.5rem;
  /* 200px */
  height: 2.5rem;
  /* 40px */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  bottom: -0.625rem;
  /* -10px */
  left: 50%;
  transform: translateX(-50%);
}

.contact-text {
  margin-bottom: 2rem;
  /* 32px */
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-text);
  font-weight: bold;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  /* 20px */
  max-width: 50rem;
  /* 800px */
  margin: 2rem auto 0;
  padding: 2rem 3rem;
  border: 2px solid #eee;
  border-radius: 0.625rem;
  /* 10px */
  background-color: var(--color-white);
}

.contact-box .tel {
  font-size: 2rem;
  /* 32px */
  font-weight: bold;
  margin: 0;
}

.contact-box .hours {
  font-size: 1rem;
  /* 16px */
  font-weight: bold;
  color: #a6a6a6;
  margin-top: 0.375rem;
  /* 6px */
}

.contact-box .btn-contact {
  display: inline-flex;
  align-items: center;
  color: var(--color-white);
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-box .btn-contact:hover {
  opacity: 0.7;
}

.contact-box .icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 0.5rem;
  /* 8px */
  font-size: 1.2rem;
  background-color: var(--color-white);
  border-radius: 50%;
}

.contact-section::after {
  content: "";
  position: absolute;
  top: 36.375rem;
  /* 582px */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 5.6875rem;
  /* 91px */
  background: url("../img/footer-top.png") repeat-x center;
  z-index: 1;
}

/* ==================================================
   タブレット（iPad対応：769px〜1024px）
================================================== */
@media (min-width: 48.0625rem) and (max-width: 64rem) {

  /* section 側のボタンは文字付きに */
  .section-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: var(--color-hover);
    color: var(--color-white);
    overflow: visible;
  }

  .section-btn span:not(.icon-circle) {
    display: inline;
    /* 文字表示 */
  }

  /* 電話番号・受付時間を表示 */
  .contact-section .contact-info .tel-text,
  .contact-section .contact-info .hours {
    display: inline;
  }

  /* 電話＋ボタンを縦並びに */
  .contact-section .contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* 電話とボタン間の余白 */
  }

  .contact-section .contact-info {
    text-align: center;
    /* 中央寄せ */
  }

  /* footer画像の位置調整 */
  .contact-section::after {
    top: 41rem;
    bottom: 0;
  }
}

/* ==================================================
   スマホ対応（768px以下）
================================================== */
@media (max-width: 48rem) {
  .contact-section {
    padding: 3.75rem 1rem 7.5rem;
    /* 60px 16px 120px */
  }

  .contact-title h2 {
    font-size: 1.5625rem;
    /* 25px */
  }

  .contact-title .ttl-deco-image {
    width: 6.5rem;
    /* 104px */
    height: 0.375rem;
    /* 6px */
    margin-top: 2rem;
    /* 32px */
  }

  .contact-text {
    font-size: 0.6875rem;
    /* 11px */
    line-height: 1.4;
  }

  .contact-box {
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .contact-box .tel {
    font-size: 1.5rem;
    /* 24px */
  }

  .contact-box .hours {
    font-size: 0.5625rem;
    /* 9px */
  }

  .contact-box .btn-contact {
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
    /* 6px 12px */
  }

  .contact-section::after {
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 3.75rem;
    /* 60px */
    background-image: url("../img/footer-top.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
  }
}




/* ==================================================
   フッター全体
================================================== */
.site-footer {
  background-color: #93C97F;
  color: var(--color-white);
  padding: 5rem 0;
  /* 80px */
  font-size: 0.9rem;
  box-sizing: border-box;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 68rem;
  /* 1080px */
  margin: 0 auto;
  gap: 2rem;
  box-sizing: border-box;
}

/* 左側：住所＋マップ横並び（PC） */
.footer-left {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: nowrap;
  width: 100%;
}

/* 園情報 */
.footer-info {
  flex: 1;
}

.footer-info h3,
.footer-info p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0.3rem 0;
  font-weight: bold;
}

/* マップ */
.footer-map {
  border: 0.1875rem solid var(--color-white);
  /* 3px */
  padding: 0.3125rem;
  /* 5px */
  border-radius: 0.5rem;
  /* 8px */
  background-color: var(--color-white);
}

.footer-map iframe {
  width: 31.25rem;
  /* 500px */
  height: 12.5rem;
  /* 200px */
  border: 0;
  max-width: 100%;
}

/* 下線 */
.footer-divider {
  width: 100%;
  height: 0.0625rem;
  /* 1px */
  background-color: var(--color-white);
  margin: 2rem 0;
}

/* 下側ナビ */
.footer-nav {
  margin-top: 1rem;
  text-align: center;
}

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

.footer-nav a {
  color: var(--color-white);
  font-size: 1.125rem;
  /* 18px */
  text-decoration: none;
  transition: opacity 0.3s;
  font-weight: bold;
}

.footer-nav a:hover {
  opacity: 0.7;
}

/* コピーライト */
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* ==================================================
   タブレット対応（〜1024px）
================================================== */
@media (max-width: 64rem) {
  .footer-left {
    gap: 1.5rem;
  }

  .footer-info {
    align-self: flex-start;
  }

  .footer-address,
  .footer-contact {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .footer-info h3,
  .footer-info p {
    font-size: 1.1rem;
    text-align: left;
  }

  .footer-map iframe {
    width: 100%;
    height: auto;
  }

  .footer-nav a {
    font-size: 1.0625rem;
    /* 17px */
  }
}

/* ==================================================
   スマホ対応（〜768px）
================================================== */
@media (max-width: 48rem) {
  .footer-left {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-info {
    align-self: flex-start;
  }

  .footer-address,
  .footer-contact {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .footer-address {
    gap: 0.125rem;
    /* 2px */
  }

  .footer-contact {
    gap: 0.25rem;
    /* 4px */
  }

  .footer-map {
    align-self: center;
  }

  .footer-map iframe {
    width: 100%;
    height: 11.875rem;
    /* 190px */
  }

  .footer-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3125rem;
    /* 5px */
    padding: 0;
  }

  .footer-nav li {
    width: 100%;
  }

  .footer-nav a {
    display: block;
    width: 100%;
    text-align: left;
  }
}