@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #555;
  background: #fff5d8;
  line-height: 1.8;
  overflow-x: hidden;
}

html,
body {
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ======================================
COLOR
====================================== */

:root {
  --bg: #fff5d8; /* サイト全体の背景 */
  --section: #fff; /* カード・セクション */
  --sub-bg: #f9c5b8; /* アクセント背景 */
  --accent: #f287b2; /* ボタン・見出し */
  --mint: rgba(133, 235, 255, 0.807); /* ホバー・装飾 */
  --text: #555555;
  --border: #e8d9d7;
}

/* ======================================
COMMON
====================================== */

section {
  padding: 100px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title p {
  color: #888;
  letter-spacing: 0.2em;
  font-size: 14px;
}

.section-title h2 {
  font-family: "Zen Maru Gothic", sans-serif;

  font-size: 42px;
  margin-top: 10px;
  color: #555;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 42px;

  background: #f287b2;

  color: #fff;

  border-radius: 100px;

  transition: 0.4s;

  font-weight: 700;
}

.btn:hover {
  background: rgba(133, 235, 255, 0.807);

  transform: translateY(-5px);
}

/*=========================
TOP BUTTON
=========================*/

.to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 100px;
  height: 100px;
  background: #f287b2;
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  font-family: Zen Maru Gothic;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.35s;
  z-index: 999;
}

.to-top img {
  display: block;
  width: 88px;
  transition: 0.3s;
}

.to-top:hover img {
  transform: translateY(-4px);
}

.to-top.show {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.to-top:hover {
  background: rgba(133, 235, 255, 0.807);
  color: #666;
  transform: translateY(-5px);
}

/* ======================================
HEADER
====================================== */

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background: #f9c5b8;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s ease;
}
header.hide {
  transform: translateY(-100%);
}

header.show {
  transform: translateY(0);
}

.logo img {
  height: 80px;
  border-radius: 20px;
  transition: 0.4s;
}

.logo:hover img {
  transform: translateY(-5px);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 35px;
}

.has-sub {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);

  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;

  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;
}

.has-sub:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  top: 55px;
}

.sub-menu li {
  width: 100%;
  list-style: none;
}

.sub-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 20px;
  color: #555;
  text-decoration: none;
}

.sub-menu span {
  font-size: 18px;
  opacity: 0.6;
  transition: 0.3s;
}

.sub-menu a:hover span {
  transform: translateX(4px);
  opacity: 1;
}

.sub-menu li:nth-child(1) a {
  background: #bfe8f6;
}

/* 加古川事業所：ピンク */
.sub-menu li:nth-child(2) a {
  background: #f6d6e2;
}

/* 相談支援事業所：クリーム */
.sub-menu li:nth-child(3) a {
  background: #fff5d8;
}
/* Hover */

.sub-menu li:nth-child(1) a:hover {
  background: #8fd5ee;
  color: #fff;
}

.sub-menu li:nth-child(2) a:hover {
  background: #f0abc9;
  color: #fff;
}

.sub-menu li:nth-child(3) a:hover {
  background: #fce8a8;
  color: #fff;
}

nav li {
  font-size: 15px;
}

nav a {
  transition: 0.3s;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #f287b2;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.contact-btn {
  background: #f287b2;
  color: #fff;
  padding: 12px 24px;

  border-radius: 50px;
}

.contact-btn::after {
  display: none;
}

.contact-btn:hover {
  background: rgba(133, 235, 255, 0.807);
  color: #555;
}

.hamburger {
  display: none;
}

/* ======================================
HERO
====================================== */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-text {
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.hero-text p:first-child {
  color: #b28f8f;
  font-weight: 700;
}

.hero h1 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 64px;
  line-height: 1.4;
  margin: 30px 50px;
}

.hero-text p {
  font-size: 18px;
}

.hero .btn {
  margin-top: 40px;
}

/* ======================================
   INSTAGRAM BUTTON
====================================== */

.hero-instagram {
  position: absolute;

  top: 155px;
  right: 6%;

  display: flex;
  gap: 18px;

  z-index: 10;
}

/* 共通 */

.instagram-btn {
  width: 48px;
  height: 48px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 14px;

  text-decoration: none;

  transition: 0.3s ease;
}

/* ======================================
   播磨
====================================== */

.harima-instagram {
  background: #bfe8f6;
}

.harima-instagram:hover {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);

  transform: translateY(-4px);
}

/* ======================================
   加古川
====================================== */

.kakogawa-instagram {
  background: #f6d6e2;
}

.kakogawa-instagram:hover {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);

  transform: translateY(-4px);
}

/* ======================================
   Instagramアイコン
====================================== */

.instagram-icon {
  position: relative;

  width: 25px;
  height: 25px;

  border: 2.5px solid #555;

  border-radius: 7px;

  box-sizing: border-box;

  transition: 0.3s;
}

/* レンズ */

.instagram-lens {
  position: absolute;

  width: 9px;
  height: 9px;

  border: 2.5px solid #555;

  border-radius: 50%;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  transition: 0.3s;
}

/* 右上の点 */

.instagram-dot {
  position: absolute;

  width: 4px;
  height: 4px;

  background: #555;

  border-radius: 50%;

  top: 4px;
  right: 4px;

  transition: 0.3s;
}

/* ======================================
   ホバー → 白
====================================== */

.instagram-btn:hover .instagram-icon {
  border-color: #fff;
}

.instagram-btn:hover .instagram-lens {
  border-color: #fff;
}

.instagram-btn:hover .instagram-dot {
  background: #fff;
}

/* ちょっと浮く */

.instagram-btn:hover {
  transform: translateY(-4px);
}

.hero-wing {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 820px;
  opacity: 0.6;
  animation: wingFloat 6s ease-in-out infinite;
}

.hero-wing img {
  width: 100%;
  display: block;
}

@keyframes wingFloat {
  0%,
  100% {
    transform: translateY(-40%) rotate(-2deg);
  }

  50% {
    transform: translateY(-60%) rotate(2deg);
  }
}
.feather {
  position: absolute;
  width: 820px;
  opacity: 0.45;
}

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

.feather1 {
  top: 20%;
  right: 10%;
  animation: featherFloat 8s linear infinite;
}

.feather2 {
  top: 40%;
  right: 10%;
  animation: featherFloat 10s linear infinite;
  animation-delay: 2s;
}

@keyframes featherFloat {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  20% {
    opacity: 0.35;
  }

  100% {
    transform: translateY(120px);
    opacity: 0;
  }
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  animation: blink 3s ease-in-out infinite;
}

.s1 {
  top: 25%;
  right: 22%;
}
.s2 {
  top: 45%;
  right: 12%;
  animation-delay: 1s;
}
.s3 {
  top: 68%;
  right: 25%;
  animation-delay: 2s;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/*=========================
ABOUT
=========================*/

.about {
  padding: 120px 8%;
  background: #f9c5b8;
  position: relative;
  overflow: hidden;
}

/*-----------------
タイトル
-----------------*/

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title p:first-child {
  color: #b99d9d;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}

.section-title h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 48px;
  color: #666;
  margin: 10px 0;
}

.section-title p:last-child {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 22px;
  background: #fff;
  border-radius: 50px;
  color: #f287b2;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

/*-----------------
理念カード
-----------------*/

.about-card {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 60px;
  background: #fff5d8;
  border-radius: 35px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
}

.about-card h2 {
  text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  color: #666;
  font-size: 2rem;
  margin-bottom: 35px;
  position: relative;
}

.about-card h2::after {
  content: "";
  width: 70px;
  height: 5px;
  background: #f287b2;
  border-radius: 10px;
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
}

.about-card p {
  font-size: 18px;
  line-height: 2.3;
  color: #666;
  margin-bottom: 18px;
  text-align: left;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/*-----------------
3つの特徴
-----------------*/

.about-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.card {
  background: #7ccfe5;
  border-radius: 40px;
  padding: 45px 30px;
  font-size: 22px;
  text-align: center;
  transition: 0.35s;
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.08);
}

.card {
  position: relative;
}

.card::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #faf4e3;
  border-radius: 50%;
  position: absolute;
  top: 18px;
  left: 18px;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 90px;
  margin: 0 auto 25px;
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.08) rotate(-3deg);
}

.card h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 15px;
}

.card p {
  color: #fff;
  line-height: 1.9;
}

/* =========================
   Support Card
========================= */

.support {
  background-color: #f9c5b8;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
  align-items: center;
}

.support-card {
  position: relative;
  width: 220px;
  height: 220px;
  perspective: 800px;
}

.support-inner {
  position: relative;
  width: 100%;
  height: 100%;

  transform-style: preserve-3d;

  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================
   表・裏
========================= */

.support-front,
.support-back {
  position: absolute;
  inset: 0;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* =========================
   表
========================= */

.support-front {
  width: 220px;
  height: 220px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #fff;
  border: 5px solid #8fd5ee;

  box-sizing: border-box;
  z-index: 1;
}

.support-front h3 {
  margin: 0;

  font-size: 1.4rem;
  font-weight: 500;
  color: #6f5b5b;
}

/* =========================
   裏
========================= */

.support-back {
  position: absolute;

  width: 330px;
  height: 300px;

  top: -40px;
  left: -55px;

  transform: rotateY(180deg);

  overflow: visible;
  z-index: 2;
}

/* =========================
   写真
========================= */

.support-back img {
  position: absolute;

  width: 240px;
  height: 240px;

  object-fit: cover;

  /* 丸い写真 */
  border-radius: 50%;

  border: 5px solid #fff;

  box-shadow: 0 10px 25px rgba(100, 70, 70, 0.15);

  box-sizing: border-box;

  opacity: 0;

  transition:
    opacity 0.45s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================
   1枚目
========================= */

.support-back img:nth-child(1) {
  z-index: 3;

  top: 5px;
  left: 15px;

  transform: translateY(25px) scale(0.75) rotate(-6deg);

  transition-delay: 0.2s;
}

/* =========================
   2枚目
========================= */

.support-back img:nth-child(2) {
  z-index: 2;

  top: 105px;
  left: 205px;

  transform: translateY(25px) scale(0.75) rotate(4deg);

  transition-delay: 0.32s;
}

/* =========================
   3枚目
========================= */

.support-back img:nth-child(3) {
  z-index: 1;

  top: 155px;
  left: 20px;

  transform: translateY(25px) scale(0.75) rotate(-3deg);

  transition-delay: 0.44s;
}

/* =========================
   クルッと回転
========================= */

.support-card:hover .support-inner {
  transform: rotateY(180deg);
}

/* =========================
   写真をふわっと出す
========================= */

.support-card:hover .support-back img {
  opacity: 1;
  z-index: 3;
}

/* =========================
   1枚目 展開
========================= */

.support-card:hover .support-back img:nth-child(1) {
  transform: translateY(0) scale(1) rotate(-8deg);
}

/* =========================
   2枚目 展開
========================= */

.support-card:hover .support-back img:nth-child(2) {
  transform: translateY(0) scale(1) rotate(5deg);
}

/* =========================
   3枚目 展開
========================= */

.support-card:hover .support-back img:nth-child(3) {
  transform: translateY(0) scale(1) rotate(-4deg);
}

.support-card:hover .support-front {
  z-index: 0;
}

/* ==========================
   FACILITY
========================== */

.facility {
  padding: 120px 8%;
  background: #fff5d8;
}

.facility-wrap {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.harima-card {
  background: #bfe8f6;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
  text-align: center;
}

.kakogawa-card {
  background: #eacbca;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
  text-align: center;
}

.soudanshien-card {
  background: #fff5d8;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.411);
  transition: 0.35s;
  text-align: center;
}

.harima-card,
.kakogawa-card,
.soudanshien-card {
  position: relative;
}

.harima-card:hover,
.kakogawa-card:hover,
.soudanshien-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.harima-img {
  width: 90%;
  height: 300px;
  display: block;
  object-fit: cover;
  transition: 0.5s;
  margin: 20px auto;
  border-radius: 20px;
}

.kakogawa-img {
  width: 90%;
  height: 300px;
  display: block;
  object-fit: cover;
  object-position: center bottom;
  transition: 0.5s;
  margin: 20px auto;
  border-radius: 20px;
}

.kakogawa-img-wrap {
  display: flex;
  gap: 10px;
  width: 90%;
  margin: 20px auto;
}

.kakogawa-img-wrap .kakogawa-img {
  width: calc(50% - 5px);
  margin: 0;
}

.soudanshien-img {
  width: 90%;
  height: 300px;
  display: block;
  object-fit: cover;
  object-position: center bottom;
  transition: 0.5s;
  margin: 20px auto;
  border-radius: 20px;
}

.soudanshien-img-wrap {
  display: flex;
  gap: 10px;
  width: 90%;
  margin: 20px auto;
}

.soudanshien-img {
  width: calc(50% - 5px);
  height: 300px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: 0.5s;
  margin: 0;
  border-radius: 20px;
}

.harima-card:hover img,
.kakogawa-card:hover img,
.soudanshien-card:hover img {
  transform: scale(1.05);
}

.harima-card h3,
.kakogawa-card h3,
.soudanshien-card h3 {
  font-size: 32px;
  color: #666;
  margin: 35px 0 15px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.harima-card p,
.kakogawa-card p,
.soudanshien-card p {
  font-size: 20px;
  color: #777;
  line-height: 2;
  margin-bottom: 35px;
}

.harima-card a {
  display: inline-block;
  margin-bottom: 40px;
  padding: 14px 42px;
  background: #8fd5ee;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.kakogawa-card a {
  display: inline-block;
  margin-bottom: 40px;
  padding: 14px 42px;
  background: #f287b2;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.soudanshien-card a {
  display: inline-block;
  margin-bottom: 40px;
  padding: 14px 42px;
  background: #fce8a8;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.harima-card a:hover,
.kakogawa-card a:hover,
.soudanshien-card a:hover {
  background: #fff5d8;
  color: #666;
}

/*=========================
CONTACT
=========================*/

.contact {
  padding: 100px 8%;
  background: #fff5d8;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 背景の淡い丸 */

.contact::before,
.contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.contact::before {
  width: 220px;
  height: 220px;
  background: #f287b2;
  top: -80px;
  left: -80px;
}

.contact::after {
  width: 180px;
  height: 180px;
  background: rgba(133, 235, 255, 0.807);
  right: -60px;
  bottom: -60px;
}

.contact h2 {
  position: relative;
  z-index: 1;

  font-family: "Zen Maru Gothic", sans-serif;

  font-size: 42px;

  color: #666;

  line-height: 1.8;

  margin-bottom: 40px;
}

/* ボタン */

.contact .btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 18px 50px;
  background: #f287b2;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.35s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact .btn:hover {
  background: rgba(133, 235, 255, 0.807);
  color: #666;
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-wing {
  width: 60px;
  margin: 0 auto;
  margin-bottom: 20px;
  animation: floatWing 5s ease-in-out infinite;
}

@keyframes floatWing {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/*=========================
FOOTER
=========================*/

footer {
  background: #f9c5b8;
  padding: 70px 8% 30px;
  text-align: center;
  border-top: 1px solid #eacbca;
}

/* ロゴ */

.footer-logo img {
  width: 300px;
  margin: 0 auto;
  border-radius: 30px;
  transition: 0.4s;
}

.footer-logo:hover img {
  transform: translateY(-5px);
}

/* 施設名 */

.footer-info p {
  font-size: 1rem;
  color: #666;
  letter-spacing: 0.08em;
  margin-bottom: 35px;
  line-height: 1.8;
}

/* メニュー */

.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
}

.footer-menu a {
  display: inline-block;
  padding: 12px 24px;
  background: #faf4e3;
  border-radius: 50px;
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.footer-menu a:nth-child(1):hover {
  background-color: #7ccfe5;
  color: #fff;
  transform: translateY(-3px);
}

.footer-menu a:nth-child(2):hover {
  background-color: #f0abc9;
  color: #fff;
  transform: translateY(-3px);
}

.footer-menu a:nth-child(3):hover {
  background-color: #fce8a8;
  color: #666;
  transform: translateY(-3px);
}

.footer-menu a:nth-child(4):hover {
  background-color: #f287b2;
  color: #fff;
  transform: translateY(-3px);
}

/* コピーライト */

.copy {
  font-size: 0.8rem;

  color: #999;

  border-top: 1px solid #e8d9d7;

  padding-top: 25px;

  margin-top: 20px;
}

/*-----------------
レスポンシブ
-----------------*/

@media (max-width: 900px) {
  .about-card {
    padding: 40px 30px;
  }

  .about-wrap {
    grid-template-columns: 1fr;
  }

  .card {
    max-width: 500px;
    margin: auto;
  }
}

/*=========================
レスポンシブ
=========================*/

@media (max-width: 768px) {
  header {
    padding: 12px 5%;
  }

  .logo img {
    height: 48px;
    border-radius: 15px;
  }

  /* ハンバーガー */

  .hamburger {
    display: flex;
    width: 48px;
    height: 48px;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    background: #fff;
    border-radius: 50%;

    cursor: pointer;

    background: linear-gradient(135deg, #f6d6e2 0%, #fff5d8 50%, #bfe8f6 100%);

    border-radius: 50%;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

    z-index: 1001;

    transition: 0.3s;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

    z-index: 1001;
  }

  .hamburger span {
    display: block;

    width: 21px;
    height: 3px;

    border-radius: 10px;

    transition: 0.3s;
  }

  /* 上：ピンク */

  .hamburger span:nth-child(1) {
    background: #f287b2;
  }

  /* 中：ブルー */

  .hamburger span:nth-child(2) {
    background: #7ccfe5;
  }

  /* 下：ピンク */

  .hamburger span:nth-child(3) {
    background: #f287b2;
  }

  /* ホバー */

  .hamburger:hover {
    transform: rotate(5deg) scale(1.05);
  }

  /* ======================================
   OPEN → ×
====================================== */

  .hamburger.active span:nth-child(1) {
    background: #f287b2;

    transform: translateY(8px) rotate(45deg);
  }

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

  .hamburger.active span:nth-child(3) {
    background: #7ccfe5;

    transform: translateY(-8px) rotate(-45deg);
  }
  /* ======================================
    NAV
  ====================================== */

  header nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    padding: 100px 30px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
    transition: right 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  /* 開いた状態 */

  header nav.active {
    right: 0;
  }

  /* メインメニュー */

  header nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  header nav > ul > li {
    width: 100%;
    font-size: 16px;
    border-bottom: 1px solid #f287b2;
  }

  header nav > ul > li > a {
    display: block;
    padding: 18px 10px;
    color: #555;
  }

  /* PC用下線を消す */

  header nav a::after {
    display: none;
  }

  /* ======================================
     施設紹介
  ====================================== */

  .has-sub > a {
    display: flex !important;

    justify-content: space-between;
    align-items: center;
  }

  /* サブメニュー */

  .sub-menu {
    position: static !important;
    width: 100% !important;
    display: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
    box-shadow: none !important;
    border-radius: 15px;
    overflow: hidden;
  }

  /* サブメニューを開いた状態 */

  .has-sub.open .sub-menu {
    display: flex !important;
    flex-direction: column;
    gap: 0;
  }

  .sub-menu li {
    width: 100%;
  }

  .sub-menu a {
    padding: 14px 20px !important;
  }

  /* ======================================
     CONTACT
  ====================================== */

  header nav .contact-btn {
    margin-top: 20px;
    padding: 15px 20px;
    text-align: center;
    color: #fff;
  }

  /* ======================================
     HAMBURGER → ×
  ====================================== */

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section-title h2 {
    font-size: 36px;
  }
  .about-card h2 {
    font-size: 30px;
  }

  .facility-wrap {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .facility-card img {
    height: 220px;
  }

  .facility-card h3 {
    font-size: 26px;
  }

  /* ======================================
     HERO
  ====================================== */

  .hero {
    min-height: 100vh;

    padding: 120px 7% 70px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    overflow: hidden;

    position: relative;
  }

  /* --------------------------------------
     テキスト
  -------------------------------------- */

  .hero-text {
    width: 100%;

    position: relative;

    z-index: 5;
  }

  .hero-text > p:first-child {
    font-size: 13px;

    margin-bottom: 20px;

    letter-spacing: 0.08em;
  }

  .hero-text h1 {
    font-size: 36px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
  }

  .hero-text h1 br {
    display: block;
  }

  .hero-text h1 + p {
    font-size: 14px;

    line-height: 2;

    margin: 0 auto 30px;

    max-width: 300px;
  }

  /* --------------------------------------
     ボタン
  -------------------------------------- */

  .hero .btn {
    display: inline-block;

    padding: 13px 32px;

    font-size: 14px;

    border-radius: 50px;
  }

  /* --------------------------------------
     翼
  -------------------------------------- */

  .hero-wing {
    position: relative;
    width: 480px;
    height: 480px;
    right: 0%;
    margin-top: 35px;
    z-index: 2;
  }

  .hero-wing img {
    width: 100%;
    /* height: auto; */
    display: block;
    animation: wingFloat 4s ease-in-out infinite;
  }

  /* --------------------------------------
     小さな羽
  -------------------------------------- */

  .feather {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    width: 500px;
  }

  .feather img {
    width: 350px;
    height: auto;
    opacity: 0.8;
  }

  .feather1 {
    /* top: 35%; */
    left: 8%;
    width: 500px;
    animation: featherFloat1 5s ease-in-out infinite;
  }

  .feather2 {
    /* top: 55%; */
    right: 8%;
    animation: featherFloat2 6s ease-in-out infinite;
  }

  @keyframes sparkle {
    0%,
    100% {
      opacity: 0.2;
      transform: scale(0.7);
    }

    50% {
      opacity: 1;
      transform: scale(1.3);
    }
  }

  /* インスタグラム */

  .hero-instagram {
    top: 120px;
    right: 20px;

    gap: 8px;
  }

  .instagram-btn {
    width: 44px;
    height: 44px;

    border-radius: 12px;
  }

  .instagram-icon {
    width: 22px;
    height: 22px;
  }

  /* =========================
   スマホ：クリックで写真を展開
========================= */
  .support-grid {
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
  }

  .support-card h3 {
    font-size: 16px;
  }
  .support-card {
    height: auto;
    width: 165px;
    margin-bottom: 25px;
  }

  /* カード本体 */
  .support-inner {
    position: relative;
    height: auto;
    transform: none;
    align-items: center;
  }

  /* 表面 */
  .support-front {
    width: 150px;
    height: 150px;
    position: relative;
    z-index: 2;
    cursor: pointer;
  }

  /* 裏面：最初は閉じる */
  .support-back {
    position: relative;

    width: 100%;
    height: 0;

    top: auto;
    left: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    overflow: hidden;

    transform: none !important;

    padding: 0;
    margin: 0;

    z-index: 1;

    transition:
      height 0.5s ease,
      padding 0.5s ease;
  }

  /* 写真 */
  .support-back img {
    position: relative;

    width: 150px;
    height: 150px;

    top: auto !important;
    left: auto !important;

    transform: translateY(-15px) !important;

    opacity: 0;

    flex-shrink: 0;

    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(100, 70, 70, 0.15);

    transition:
      opacity 0.4s ease,
      transform 0.5s ease;
  }

  /* PC用の配置をリセット */
  .support-back img:nth-child(1),
  .support-back img:nth-child(2),
  .support-back img:nth-child(3) {
    top: auto !important;
    left: auto !important;
    transform: translateY(-15px) !important;
  }

  /* =========================
     開いた状態
  ========================= */

  .support-card.is-open .support-back {
    height: auto;
    padding-top: 25px;
    padding-bottom: 10px;
  }

  .support-card.is-open .support-back img {
    opacity: 1;
    transform: translateY(0) !important;
  }

  /* スマホでは回転させない */
  .support-card:hover .support-inner {
    transform: none !important;
  }

  .support-card:hover .support-back img {
    opacity: 0;
  }

  .support-card.is-open:hover .support-back img {
    opacity: 1;
  }

  .kakogawa-img-wrap {
    display: flex;
    gap: 10px;
    width: 90%;
    margin: 20px auto;
  }

  .kakogawa-img-wrap .kakogawa-img {
    width: calc(50% - 5px);
    margin: 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 110px 18px 50px;
  }

  .hero-text h1 + p {
    font-size: 16px;
  }

  .hero-wing {
    width: 350px;
    height: 350px;
    margin-top: 25px;
  }

  .feather img {
    width: 28px;
  }

  .contact h2 {
    font-size: 20px;
  }
}
