* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kiwi Maru", sans-serif;
    
}

body {
    color: #444;
    line-height: 1.5;
    background-color: white;
}

/* ページ遷移アニメーション */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-transition-overlay.active {
  transform: translateY(0);
}

.page-transition-logo {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-transition-overlay.active .page-transition-logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.page-transition-text {
  font-size: 1.5rem;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-transition-overlay.active .page-transition-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
.facility-address {
  width: 100%;
  text-align: center; /* リスト内のテキストを左揃えに戻す */
  line-height: 8px;
  padding: 20px;
  
}

/* 記事一覧のスタイル */
.article-section {
    margin-top: 100px; /* ヘッダーの高さに応じて調整 */
    padding: 20px;
}

.article-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.article-row {
    flex: 1 1 300px;
    min-width: 300px;
    margin-bottom: 20px;
}

.article-row:hover .article-image img {
    transform: scale(1.05);
}

/* デスクトップ */
.nav_morph {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.nav_morph > * {
    flex: 1;
}

/* タブレット */
@media screen and (max-width: 768px) {
    .nav_morph {
        flex-direction: column;
        gap: 15px;
    }

    .nav_morph > * {
        width: 100%;
    }
}

/* タブレット */
@media screen and (max-width: 1199px) and (min-width: 769px) {
    .article-row {
        flex: 1 1 calc(50% - 20px);
        min-width: auto;
    }
}

/* スマートフォン */
@media screen and (max-width: 768px) {

    .article-row {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .hero-image {
        height: auto;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-catchphrase h1 {
        font-size: 2rem;
    }
    
    .hero-catchphrase h2 {
        font-size: 1.5rem;
    }
}

/* ヘッダー */
header {
  position: relative;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.logo-area {
  display: flex;
  align-items: center;
}

.header-logo {
  width: 200px;
  height: auto;
}

.header-right {
display: flex;
align-items: center;
justify-content: flex-end;
}

.site-title {
  color: #4caf50; /* あいのわ福祉会のテーマカラーに変更 */
  font-size: 16px;
  line-height: 1.3;
  margin-left: 10px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  margin-right: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  font-size: 18px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.social-icon:hover {
  transform: scale(1.1);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #4caf50; /* テーマカラーに変更 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}


.hamburger-morph {
  position: relative;
  z-index: 1000;
  width: 48px;
  height: 48px;
  padding: 0;
  background-color:#4caf50 ;
  border-radius: 50%;
  border:none;
  cursor: pointer;
}

.hamburger-morph__icon {
  width: 100%;
  height: 100%;
}

.hamburger-morph__line {
  fill: none;
  stroke: white;
  background-color: #4caf50;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-morph__line:nth-child(1) {
  stroke-dasharray: 60 207;
}

.hamburger-morph__line:nth-child(2) {
  stroke-dasharray: 60 60;
}

.hamburger-morph__line:nth-child(3) {
  stroke-dasharray: 60 207;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(1) {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(2) {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(3) {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.nav-morph {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255,255,255, 0.9);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
}

.nav-morph.active {
  clip-path: circle(150% at calc(100% - 44px) 44px);
}

.nav-morph__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.nav-morph__list {
  margin: 0;
  padding: 2.5%;
  list-style: none;
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.nav-morph__item {
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-morph.active .nav-morph__item {
  opacity: 1;
  
}

.nav-morph.active .nav-morph__item:nth-child(1) { transition-delay: 0.3s; }
.nav-morph.active .nav-morph__item:nth-child(2) { transition-delay: 0.4s; }
.nav-morph.active .nav-morph__item:nth-child(3) { transition-delay: 0.5s; }
.nav-morph.active .nav-morph__item:nth-child(4) { transition-delay: 0.6s; }

.nav-morph__link {
  position: relative;
  display: inline-block;
  padding: 20px;
  font-size: 28px;
  color: #4caf50;
  text-decoration: none;
  overflow: hidden;
}

.nav-morph__text,
.nav-morph__hover {
    transition: transform 0.3s ease;
}

/* SNSセクションのスタイル */
.nav-morph__sns {
  text-align: center;
  padding: 20px;
}

.nav-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.nav-social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #444;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 10px;
}

.nav-social-icon:hover {
  transform: translateY(-3px);
}

.nav-social-icon i {
  font-size: 24px;
  margin-bottom: 5px;
}

.nav-social-icon span {
  font-size: 14px;
}

/* SNSアイコンの個別カラー */
.nav-social-icon:hover i.fa-instagram {
  background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-social-icon:hover i.fa-facebook {
  color: #1877f2;
}

.nav-morph__hover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  transform: translateY(0%);
}

.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
}

/* ヒーローエリア */
.hero-image {
  display:flex;
  width: 100%;
  height: auto; /* 画面の高さを90%に調整 */
  background-size: cover;
  position: relative;
  padding: 1.5%;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 90vh; /* 画面の高さを90%に調整 */
}

.slides-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.hero-slide {
    position: absolute;
    width: 100%;
    height: 90vh;
    object-fit: cover;
    opacity: 0;
    transition: opacity 3s, transform 4s ease-out;
    z-index: 1;
    border-radius: 16px;
    transform: scale(0.9);
}

@media screen and (max-width: 768px) {
    .hero-slide {
        height: 50vh;
        min-height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .hero-slide {
        height: 40vh;
        min-height: 300px;
    }
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1); /* アクティブになったら等倍サイズに拡大 */
}
.hero-slide.fade-out {
    opacity: 0;
    transition: opacity 1s ease-out;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%; /* 高さを100%に変更 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  display: flex;
  width: 100%;
  padding: 0 40px;
  z-index: 2; /* オーバーレイより前に表示 */
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-logo {
  text-align: center;
  margin-bottom: 30px;
}

.ainowa-logo {
  max-width: 400px;
  width: 80%;
}

.main-visual {
  display:flex;
  width: 100%;
  justify-content: center;
 
}

.main-visual-2 {
  display:flex;
  width: 100%;
  justify-content: center;
}

.hero-catchphrase {
  flex-direction: column;
  margin: 0; /* marginを0に変更して左寄せにします */
}

.hero-catchphrase h1 {
  color: white;
  font-weight: bold;
}

.hero-catchphrase h2 {
  margin: 0;
  font-size: 2rem; /* 文字サイズは必要に応じて調整 */
  font-weight: bold;
  color: white;
  position: relative;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid;
  border-bottom: 8px solid #4caf50;
  font-weight: bold;
  text-align: center;
}

.hero-catchphrase p {
  text-align: left; /* p要素も左寄せに設定 */
}

.bubble {
  background-color: white;
  border-radius: 30px;
  padding: 10px 30px;
  margin: 10px 0;
  font-size: 18px;
  position: relative;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.bubble.top {
  align-self: flex-start;
}

.bubble.bottom {
  align-self: flex-end;
  margin-top: 20px;
}

/* バナーエリア */
.banner-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  position:absolute;
}

/* バナーコンテナを右側に固定するスタイル */
.banner-container {
  position: absolute;
  right: 0;  /* 右側からの距離を調整 */
  bottom: 0; /* 下からの距離を調整（必要に応じて） */
  display: flex;
  flex-direction: column;
  gap: 1.5%;
  z-index: 10;
  max-width: 280px; /* バナーの最大幅を設定 */
}

.banner {
  width: 300px;
  height: 10vw; /* 高さを自動に変更 */
  padding: 15px 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  transition: transform 0.3s;
}

.banner:hover {
  transform: scale(1.03);
}

.banner.anniversary {
  background-color: #FF9BA8; /* 画像に合わせてピンク色に変更 */
  position: relative;
}

.banner.innovation {
  background-color: #69c3d4;
}

.banner-content {
  width: 100%;
  padding: 5px 15px;
  display: flex;
  flex-direction: column;
}

.banner-highlight {
  font-size: 12px;
  background-color: rgba(255,255,255,0.8);
  padding: 2px 5px;
  border-radius: 10px;
  display: inline-block;
  font-weight: 600;
  
}

.banner-main {
  display: flex;
  align-items: center;
  color: white;
}

.banner-number {
  font-size: 32px;
  font-weight: bold;
  margin-right: 10px;
}

.banner-text {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.banner-subtext {
  font-size: 12px;
  margin-top: 5px;
  color: white;
}

.scroll-indicator {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.2em;
  animation: fadeInOut 2s infinite;
}

.scroll-indicator::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background-color: #ffffff;
  margin-top: 10px;
  animation: scrollDown 2s infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

/* スクロールアニメーション用のスタイル */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 3s ease-in-out, transform 3s ease-in-out;
}

.fade-in-element.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ボックスフェードアニメーション */
.box {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 3s ease, transform 3s ease;
}

.box.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* フェードイン遅延の設定 */
.box-delay-1 { transition-delay: 0.3s; }
.box-delay-2 { transition-delay: 0.6s; }
.box-delay-3 { transition-delay: 0.9s; }
.box-delay-4 { transition-delay: 0.12s; }

/* スクロールフェード要素のスタイル */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade.fade-in {
  opacity: 1;
  transform: translateY(0);
}


/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .banner-container {
    right: 20px;
  }
  
  .banner {
    width: 250px;
  }
}

@media (max-width: 767px) {
  .header-container {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.95);
  }
  
  .site-title {
    font-size: 16px;
  }
  
  .social-icons {
    margin-right: 12px;
  }
  
  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 24px;
  }
  
  .menu-toggle {
    width: 48px;
    height: 48px;
  }
  
  .banner-container {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
  }
  
  .banner {
    width: 45%;
  }
  
  .ainowa-logo {
    max-width: 350px;
  }
  
  .bubble {
    font-size: 16px;
    padding: 8px 20px;
  }

  .hero-overlay {
    align-items: flex-start;
    padding-top: 120px;
  }

  .hero-catchphrase {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .hero-catchphrase h1  {
    font-size: 1.5rem;
  }

  .hero-catchphrase h2  {
    font-size: 1.2rem;
  }
  
  /* スクロールインジケーターの位置を調整 */
  .scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
  }
}

/* バナーのレスポンシブ対応 */
@media (max-width: 767px) {
  .banner-container {
    right: 10px;
    bottom: 10px;
    max-width: 220px;
    
  }
   /* hero-overlayとその子要素のスタイル変更 */
  .hero-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .main-visual, .main-visual-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .hero-catchphrase {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .header-logo {
    width: 100px;
  }
  
  .site-title {
    font-size: 12px;
  }
  
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  
  .hamburger {
    width: 20px;
    height: 16px;
  }
  
  .ainowa-logo {
    max-width: 280px;
  }
  
  .bubble {
    font-size: 14px;
    padding: 6px 15px;
  }
  
  .banner-container {
    flex-direction: column;
    align-items: center;
  }
  
  .banner {
    width: 90%;
  }

  /* hero-overlayとその子要素のスタイル変更 */
  .hero-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .main-visual, .main-visual-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .hero-catchphrase {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
  }
}

/* 新着情報セクション */
.news-section {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.news-date-container {
  display: flex;
}

.news-date {
  background-color: white;
  padding: 5px 10px;
  margin-right: 10px;
}

.more-btn {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 5px 15px;
  cursor: pointer;
}

/* 〇〇についてセクション */
.about-section {
  padding: 0 5% ;
  max-width: 1200px;
  margin: 0 auto;
}

.about-title {
  display: flex;
  position: relative;
  justify-content: center;
}

.about-circle {
  position:absolute;
  border-radius: 50%;
  width: 200px;
  height: auto;
  background-color: #ccc;

}

.section-title {
  position: absolute;
  text-align: center;
  margin-bottom: 20px;
  padding: 10%;
  z-index: 2;
}

.about-content {
    display: flex; /* Flexbox を有効にする */
    align-items: center; /* 縦方向の中央揃え（任意） */
    justify-content: space-between; /* 要素間にスペースを配置（任意） */
  }

  .about-text {
    padding: 5%;
  }

.catch-copy-container {
  font-size: 2rem;
  padding: 1.5%;
  font-weight: bold;
  color: #4caf50; /* 深緑色 */
  line-height: 4rem;
}

.catch-copy-container span {
  border-bottom: 2px solid #4caf50; /* 線の太さ、種類、色を指定 */
 
}

.text-box {
  line-height: 3;
}

.about-image {
    width: 50%;
    text-align: center; /* 中央寄せを追加 */
    margin: 0 auto; /* 左右のマージンを自動で調整して中央配置 */
    display: flex; /* Flexboxを使用 */
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center; /* 垂直方向の中央揃え */
}

.about-image img {
    width: 100%; /* 画像の幅を親要素に合わせる */
    height: auto;
    border-radius: 16px;
    max-width: 600px; /* 画像の最大幅を設定（必要に応じて調整） */
}

.about-circles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3列のグリッド */
  justify-content: space-around;
  padding:10% 0;
}

.circle-1 {
  justify-content: center;
  align-items: center;
}

.circle-1 h3{
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #4caf50; /* 深緑色 */
}

.circle-1 {
  color:#222;
  text-align: center;
}

.circle-1 img{
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: solid 4px #ff6347;
}

.about-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tag {
  background-color: white;
  padding: 5px 15px;
  border-radius: 15px;
}

/* 記事セクション */

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3列のグリッド */
    gap: 25px;
    padding:1%;
    /* height: 100vh; を削除してコンテンツに合わせた高さにする */
    margin: 0 auto; /* 中央寄せ */
}

.article-row {
  position: relative;
  border: 2px solid white;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding:5%;
  transition: transform 0.3s ease;
}

.article-row a {
  text-decoration: none;
  color: inherit;
}

.article-row:hover {
  transform: scale(1.05);
}

.article-image {
  display: flex;
  border-radius: 16px;
  overflow:hidden;
  margin-bottom:8px;
}

.article-image img {
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.article-content {
  display: grid;
  grid-template-columns: 1fr;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #222;
}

.article-title {
    font-size: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .about-image {
      width: 100%;
      height: auto;
    }
    .catch-copy {
      font-size: 1.5rem;
    }

    .about-circles {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .circle-1 {
      padding: 2.5%;
    }
}

.article-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.article-image-container {
    width: 35%;
    flex-shrink: 0;
}

.article-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.article-title {
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .article-card {
        flex-direction: column;
    }
}

.category {
  background-color: white;
  padding: 2px 8px;
}

.read-more {
  background-color: white;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  margin-top: 10px;
}

/* 代表者挨拶 */
.representative-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5%;
  gap: 5%;
  background-color: #4caf50;
}

.representative-image {
  margin: 0 auto;
  border:#4caf50 solide 4px;
}

.representative-img {
  width: 200px;
  border-radius: 50%;
}

.representative-name {
  font-size: 1.1rem;
  font-weight: bold;
}

.representative-button {
  display: flex;
  background-color: #4caf50;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
  text-decoration: none;
  color: inherit;
}

.representative-button a {
  text-decoration: none;
  color: inherit;
}

.representative-button:hover {
  background-color: white;
  color: #4caf50;
  transition: 0.5s;
}


.representative-image {
  margin: 0 auto;
  border:#4caf50 solide 4px;
}

.representative-img {
  width: 200px;
  border-radius: 50%;
}

.representative-name {
  font-size: 1.1rem;
  font-weight: bold;
}

.representative-button {
  display: flex;
  background-color: #4caf50;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
  text-decoration: none;
  color: inherit;
}

.representative-button a {
  text-decoration: none;
  color: inherit;
}

.representative-button:hover {
  background-color: white;
  color: #4caf50;
  transition: 0.5s;
}
/* 施設ガイドセクション */
.facility-guide {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.facility-guide-circle {
  background-color: #ccc;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.facility-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.facility-card:hover {
  transform: scale(1.05);
}


.facility-card a {
  text-decoration: none;
  color: inherit;
}

.facility-image {
  background-color: white;
  height: 150px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

/* 施設ガイドセクション全体のスタイル */
.facility-guide {
    padding: 40px 20px;
    background-image: url('path/to/wood-texture.jpg'); /* 木目調の背景画像 */
    background-size: cover;
    text-align: center;
}

/* セクションタイトルのスタイル */
.section-title {
    color: #4caf50; /* 緑色 */
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: normal;
}

/* サブタイトルのスタイル */
.section-subtitle {
    color: #4caf50;
    font-size: 16px;
    margin-bottom: 30px;
}

/* カードコンテナのスタイル */
.facility-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

/* 個別カードのスタイル */
.facility-card {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 2.5%;
    transition: transform 0.3s ease;
}

/* カード内の画像エリア */
.facility-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    object-fit: cover;
}

/* 施設タイトルのスタイル */
.facility-title {
    color: #4caf50;
    font-size: 20px;
    font-weight: normal;
}

/* 施設説明文のスタイル */
.facility-description {
    padding: 0 15px 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #222;
}

/* 詳しく見るリンクのスタイル */
.more-link {
    display: block;
    text-align: right;
    padding: 0 15px 15px;
    color: #4caf50;
    text-decoration: none;
    font-size: 14px;
}

.more-link:hover {
    text-decoration: underline;
}

/* サービス一覧ボタンのスタイル */
.view-all-button {
    text-align: center;
    margin-top: 20px;
}

.btn-view-all {
    display: inline-block;
    background-color: white;
    color: #4caf50;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-view-all:hover {
    background-color: #f5f5f5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .facility-cards {
        flex-direction: column;
        align-items: center;
    }
  

    .facility-image {
      width: 100%;
      height: auto;
    }
    .representative-content {
        flex-direction: column;
        padding-top:5%;
    }
    .representative-text {
      padding: 5%;
    }
}

/* 特徴セクション */
.feature-section {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-content {
  display: flex;
  margin-bottom: 20px;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin: 40px auto;
  padding: 5%;
  background-color: rgba(245, 252, 245, 1); /* 薄い緑色の背景 */
}

.feature-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.feature-tag {
  background-color: white;
  padding: 8px 15px;
  border-radius: 5px;
}

.feature-circle {
  background-color: #ccc;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ギャラリーセクション */
.gallery-section {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3列のグリッド */
    gap: 20px; /* アイテム間の間隔 */
    padding: 2.5%;
  }
  
  .gallery-item {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .gallery-item-title {
    padding: 10px;
    text-align: center;
    font-weight: bold;
  }
  
  /* レスポンシブ対応 */
  @media (max-width: 768px) {
    .gallery-grid {
      display: flex;
     flex-direction: column;
    }
  }

/* フードセクション */
.food-section {
    padding: 80px 20px;
    background-color: #fff;
}

.food-container {
    margin: 0 auto;
}

.food-description {
    text-align: center;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.8;
}

.food-images-row {
    display: flex;
    gap: 30px;
}

.food-text-col {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 30px;
}

.food-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 300px;
}

.food-image img {
    width: 100%;

    object-fit: cover;
}

.food-text {
    display: flex;
    flex-direction: column;
    background-color: rgba(245, 252, 245, 1);
    padding: 2.5%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.food-text h3 {
    margin-bottom: 15px;
    color: #4caf50;
    font-size: 20px;
}

.food-text p {
    font-size: 15px;
    line-height: 1.8;
}

/* バナーセクション */
.banner-section {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.banner {
  display: flex;
  margin-bottom: 20px;
  background-color: white;
  padding: 15px;
}

.banner-image {
  flex: 1;
  background-color: #ccc;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  flex: 1;
  padding: 15px;
}

.banner-catch {
  font-weight: bold;
  margin-bottom: 10px;
}

.banner-grid {
  margin-bottom: 30px;
}

.banner-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.banner-item-image {
  background-color: white;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* フッター全体のスタイル */
footer {
    display: flex;
    position: relative;
    background: url(../images/footer.png) no-repeat center center;
    background-size: cover; 
    text-align: center;
    justify-content: center;
    border-top: 2px solid white;
    height: 100vh;
    overflow: hidden;
    color:#222;
}

.footer-bottom {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.6); /* 半透明の白背景 */
    display: flex;           /* flexboxを使用 */
    justify-content: center; /* 水平方向の中央揃え */
    align-items: center;     /* 垂直方向の中央揃え */
}

.footer-container {
    display: flex;           /* flexboxを使用 */
    flex-direction: column;  /* 子要素を縦に並べる */
    justify-content: center; /* 水平方向の中央揃え */
    align-items: center;     /* 垂直方向の中央揃え */
    width: auto;
    max-width: 1200px;       /* コンテンツの最大幅を指定（必要に応じて調整） */
    padding: 0 20px;         /* 左右に余白を追加 */
}

.footer-container li a {
    color: #222;
}

/* 施設名のスタイル */
.footer-facility-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: orange; /* あいのわ福祉会のテーマカラー（画像から推測） */
}

/* フッターボタン共通スタイル */
.footer-button {
    display: inline-block; /* インラインブロック要素として表示 */
    background-color: #4caf50;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* 下線を削除 */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.footer-button:hover {
    background-color: #3d9640;
    color: white;
    transform: translateY(-2px);
}

/* フッターナビゲーション（必要に応じて追加） */
.footer-nav {
    margin: 30px 0;
}

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

.footer-nav a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #4caf50;
}

.footer-nav ul li a,
.footer-button {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.footer-nav ul li a:hover,
.footer-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 1rem;
}

.footer-button:hover {
    background-color: white;
    color:#4caf50;
}

.footer-nav ul li a:active,
.footer-button:active {
    transform: scale(0.98);
}

/* コピーライト */
.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #222;
}

/* レスポンシブデザイン */
@media (max-width: 767px) {
    .footer-button {
        width: 80%;
        margin: 0 auto;
    }
    .food-images-row {
      display: flex;
    }

    .food-text-col {
      display: flex;
      flex-direction: column;
    }
}

/* テキストエリア */
.feature-text {
    padding: 40px;
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}


.ft-2 {
  display: flex;
  flex-direction: row-reverse;
}

/* テキストボックス */
.text-box {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    margin-top: 50px;
}

/* 画像エリア */

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .feature-content {
        flex-direction: column;
    }
    
    .feature-text {
        width: 100%;
        padding: 30px 20px;
    }
    
    .feature-image {
        max-width: 100%;
        margin-top: 20px;
    }
    
    .text-box {
        font-size: 16px;
    }
}

/* セクション共通 */
.section-title {
    text-align: center;
    font-size: 28px;
    color: #4caf50;
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4caf50;
}

/* 利用者様の声セクション */
.testimonials-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-profile {
    flex: 0 0 100px;
    margin-right: 30px;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.testimonial-type {
    font-size: 14px;
    color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonial-profile {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .food-images-row {
       display:flex;
    }
    
    .food-image, .food-text {
        height: auto;
    }
}

/* 採用情報セクション */
.home_recruit {
    padding: 80px 0;
    background-color: #f5fcff; /* 薄い水色の背景 */
    overflow: hidden;
    position: relative;
}

.inner1280 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.home_recruit .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.home_recruit .text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.home_recruit .catch {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 30px;
    position: relative;
}

.fluffy {
    position: relative;
    margin-bottom: 15px;
}

.fluffy .circle-1,
.fluffy .circle-2,
.fluffy .circle-3 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
}

.fluffy.sm .circle-1 { 
    background-color: #ffb6c1; /* ピーチピンク */
    top: -20px;
    left: 0;
}

.fluffy.sm .circle-2 {
    background-color: #98fb98; /* ライトグリーン */
    top: -15px;
    left: 20px;
}

.fluffy.sm .circle-3 {
    background-color: #87ceeb; /* ライトブルー */
    top: -25px;
    left: 40px;
}

.home_recruit p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.home_recruit .btn2 {
    display: inline-block;
    background-color: #ffffff;
    color: #333333;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.home_recruit .btn2:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.home_recruit .image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.image-1 {
    display: flex;
    padding-bottom:5%;
    gap:5%;
}




.image-2 {
    display: flex;
    justify-content: center;
}

.home_recruit .image-1 img {
    width: 40%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.sponly {
    border-radius: 24px;
    width: 35%;
    height: auto;
}


@media screen and (max-width: 1024px) {
    .home_recruit .pconly {
        display: none;
    }
    
    .home_recruit .tabonly {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .home_recruit {
        padding: 50px 0;
    }

    .home_recruit .flex {
        flex-direction: column;
    }

    .home_recruit .catch {
        font-size: 24px;
    }

    .home_recruit .tabonly {
        display: none;
    }

    .home_recruit .sponly {
        display: block;
    }

    .home_recruit .text {
        text-align: center;
        margin-bottom: 30px;
    }
}

/* PC (768px以上) */
body {
    font-size: 16px;
}

.header-container {
    padding: 15px 30px;
}

.section-title {
    font-size: 32px;
}

.about-content, 
.feature-content,
.food-images-row,
.facility-cards,
.gallery-grid {
    display: flex;
}

.about-text,
.feature-text {
    width: 48%;
}

/* タブレット (768px未満) */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .header-container {
        padding: 10px 15px;
    }

    .hero-image {
        width: 100%;
        height: 70vh; /* モバイルでの高さを調整 */
        padding: 0; /* パディングを削除してフルサイズで表示 */
    }
    
    .hero-slides {
        height: 70vh; /* スライドの高さも調整 */
    }
    
    .hero-slide {
        height: 70vh; /* スライド画像の高さも調整 */
        border-radius: 0; /* モバイルでは角丸なし */
    }
    
    .hero-content {
        padding: 0 20px; /* コンテンツの左右パディングを調整 */
        gap: 20px 0;
    }
    
    .hero-catchphrase h1 {
        font-size: 1.5rem; /* モバイルでのフォントサイズを小さく */
        justify-content: center;
        text-align: center;
    }
    
    .hero-catchphrase h2 {
        font-size: 1.5rem; /* モバイルでのフォントサイズを小さく */
        
    }
    .main-visual-2 h2{
      font-size : 16px;
    }
    .section-title {
        font-size: 24px;
    }

    .about-content,
    .food-images-row {
        flex-direction: column;
        gap: 30px;
        padding: 25px;
    }

    .about-text,
    .feature-text {
        width: 100%;
    }

    .facility-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* スマートフォン (375px未満) */
@media screen and (max-width: 374px) {
    body {
        font-size: 12px;
    }

    .header-container {
        padding: 8px 10px;
    }

    .hero-image {
        height: 70vh;
        margin-top: 80px;
    }

    .section-title {
        font-size: 22px;
    }

    .catch-copy {
        font-size: 1.5rem;
    }

    .facility-cards,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .food-image,
    .food-text {
        height: 200px;
    }

    .testimonial-img {
        width: 80px;
        height: 80px;
    }

    .header-logo {
        width: 50px;
    }

    .site-title {
        font-size: 12px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .hamburger {
        width: 20px;
    }

    .bubble {
        font-size: 14px;
        padding: 8px 15px;
    }

    .banner {
        width: 100%;
        padding: 10px;
    }
}

/* メッセージセクション */
#message {
  padding: 120px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

#message .inner {
  max-width: 800px;
  margin: 0 auto;
}

#message h2 {
  text-align: center;
  font-size: 28px;
  color: #4caf50;
  margin-bottom: 30px;
  position: relative;
}

#message img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 30px;
  border-radius: 8px;
  border: 4px solid white;
}

#message .lg {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #222;
}

#message p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

#message .president {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
}

#message .sm {
  font-size: 14px;
  font-weight: normal;
  display: block;
  margin-bottom: 5px;
}

.fluffy.md {
  position: relative;
  display: inline-block;
}

.fluffy.md .circle-1,
.fluffy.md .circle-2,
.fluffy.md .circle-3 {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: absolute;
}

.fluffy.md .circle-1 {
  background-color: #ffb6c1; /* ピーチピンク */
  top: -15px;
  left: -20px;
}

.fluffy.md .circle-2 {
  background-color: #98fb98; /* ライトグリーン */
  top: -25px;
  left: 0;
}

.fluffy.md .circle-3 {
  background-color: #87ceeb; /* ライトブルー */
  top: -10px;
  left: 20px;
}

.representative {
  display: flex;
  align-items: center;
  overflow: hidden; /* はみ出る要素を隠す */
  max-width: 100%; /* 最大幅を親要素に合わせる */
  margin-bottom: 20px; /* 下部に余白を追加 */
}

.representative img {
  width: 100%; /* 幅を100%に設定 */
  height: auto; /* 高さを自動調整して縦横比を維持 */
  display: block; /* インライン要素の余白を削除 */
  object-fit: cover; /* 画像が枠内に収まるように調整 */
  border: none; /* 元々の画像の枠線を削除 */
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  #message {
    padding: 100px 15px 60px;
  }
  
  #message .lg {
    font-size: 18px;
  }
  
  #message p {
    font-size: 14px;
  }
  
  #message .president {
    font-size: 16px;
  }
  
  .pconly {
    display: none;
  }
  
  .sponly {
    display: block;
  }
  
  .pc-tab {
    display: none;
  }
  
  .representative {
    flex-direction: column; /* スマホサイズでは縦並びに */
    max-width: 100%;
  }
  
  .representative img {
    width: 100%;
    border-radius: 28px 28px 0 0; /* 上部の角だけ丸く */
  }
}

/* プロフィールセクション (法人概要) */
#profile {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#profile .inner {
  max-width: 1000px;
  margin: 0 auto;
}

#profile h2 {
  text-align: center;
  font-size: 28px;
  color: #4caf50;
  margin-bottom: 40px;
  position: relative;
}

#profile .img_appearance {
  height: auto;
  border-radius: 20px;
  display: block;
  margin: 0 auto 30px;
}

#profile table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

#profile th {
  width: 120px;
  text-align: left;
  padding: 15px 10px;
  color: #333;
  position: relative;
  vertical-align: top;
}

#profile th::before {
  content: "•";
  color: #4caf50;
  position: absolute;
  left: -5px;
  font-size: 18px;
}

#profile td {
  padding: 15px 10px;
  border-bottom: 1px solid #eee;
}

#profile td img {
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  float: right;
  margin-left: 20px;
}

#profile .tb_sub {
  width: 100%;
  border: none;
  margin: 0;
}

#profile .tb_sub th,
#profile .tb_sub td {
  border-bottom: none;
  padding: 5px 0;
}

#profile .tb_sub th {
  width: 80px;
  padding-left: 0;
}

#profile .tb_sub th::before {
  display: none;
}

#profile .to_gmap {
  display: inline-block;
  background-color: #4caf50;
  color: white;
  padding: 2px 10px;
  border-radius: 15px;
  font-size: 12px;
  margin-left: 10px;
  text-decoration: none;
}

#profile .gmap {
  width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

#profile .gmap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 767px) {
  #profile th {
    width: 90px;
    padding: 12px 5px;
  }
  
  #profile td img {
    float: none;
    margin-left: 0;
    margin-bottom: 15px;
    max-width: 100%;
  }
  
  #profile .pc-tab {
    display: none;
  }
  
  #profile .sponly {
    display: block;
    margin-bottom: 20px;
  }
}

/* Chapter 3 セクション（発展期） */
#chapter3 {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#chapter3 .inner {
  max-width: 1000px;
  margin: 0 auto;
}

#chapter3 h2 {
  text-align: center;
  font-size: 28px;
  color: #4caf50;
  margin-bottom: 40px;
  position: relative;
}

#chapter3 .fluffy.md {
  margin-bottom: 20px;
}

#chapter3 .fluffy.md .circle-4 {
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: -1;
}

#chapter3 .fluffy.md p {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 0;
}

#chapter3 .fluffy.md p span {
  display: block;
  font-size: 14px;
  color: #4caf50;
  margin-bottom: 5px;
}

#chapter3 .chapter_top {
  background-color: #f8f8f8;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 8px;
  line-height: 1.8;
  font-size: 16px;
}

/* タイムライン */
#chapter3 .timeline {
  position: relative;
  padding-left: 20px;
}

/* 左側の縦線 */
#chapter3 .timeline:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 95px;
  width: 3px;
  background-color: #e0e0e0;
  z-index: 1;
}

/* 各年のボックス（共通） */
#chapter3 .history_box {
  position: relative;
  display: flex;
  margin-bottom: 30px;
}

/* 年号部分 */
#chapter3 .year {
  width: 90px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

#chapter3 .year span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 30px;
  background-color: #4EB69F;
  color: #fff;
  border-radius: 15px;
  font-weight: bold;
  font-size: 16px;
}

/* 空白の年号用 */
#chapter3 .year:empty {
  width: 90px;
}

/* コンテンツ部分 */
#chapter3 .contents {
  flex-grow: 1;
  padding-left: 30px;
  position: relative;
}

/* コンテンツタイトル */
#chapter3 .contents h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.5;
}

/* 日付表示 */
#chapter3 .date {
  font-size: 14px;
  color: #777;
  font-weight: normal;
  margin-left: 10px;
}

/* 左のポイント */
#chapter3 .contents:before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4EB69F;
  z-index: 2;
}

/* 大きなボックス用 */
#chapter3 .history_box_lg .year span {
  background-color: #4caf50;
  font-size: 18px;
  height: 40px;
}

#chapter3 .history_box_lg .contents:before {
  width: 16px;
  height: 16px;
  left: -6.5px;
}

#chapter3 .history_box_lg {
  margin-bottom: 40px;
}

/* 画像付きのコンテンツ */
#chapter3 .content.flex {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

#chapter3 .thum {
  flex-shrink: 0;
  width: 200px;
}

#chapter3 .thum img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

#chapter3 .text {
  flex-grow: 1;
  font-size: 14px;
  line-height: 1.6;
}

/* 強調表示 */
#chapter3 .strong h3 {
  color: #FF8A8A;
  background-color: #fff7f7;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

/* 丸いスタイル */
#chapter3 .rad_m {
  border-radius: 8px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  #chapter3 {
    padding: 60px 15px;
  }
  
  #chapter3 .timeline:before {
    left: 50px;
  }
  
  #chapter3 .year {
    width: 50px;
  }
  
  #chapter3 .year span {
    width: 50px;
    font-size: 14px;
  }
  
  #chapter3 .contents {
    padding-left: 20px;
  }
  
  #chapter3 .content.flex {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #chapter3 .thum {
    width: 100%;
    margin-bottom: 15px;
  }
}

/* お問い合わせページのスタイル */
.sec_page {
  padding: 120px 20px 60px; /* ← PCでのパディングを120pxに変更 */
  background-color: #fff;
  }

.sec_page .inner {
    max-width: 800px;
    margin: 0 auto;
}

.sec_page h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    position: relative;
    padding-top: 20px;
    color: #222;
}

/* お問い合わせボックス */
.contact_box {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.form-header {
    width: 200px;
    padding: 10px;
    font-weight: 700;
}

.form-field {
    flex: 1;
    padding: 0 10px;
}

.form-field input[type="text"],
.form-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-field textarea {
    min-height: 150px;
}

@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-header {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .form-field {
        width: 100%;
        padding: 0;
    }
    .sec_page {
      padding: 100px 15px 60px;
      }
}

/* 電話お問い合わせエリア */
#tel {
    text-align: center;
    padding-bottom: 20px;
}

#tel h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #4caf50;
    position: relative;
    display: inline-block;
}

#tel h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4caf50;
}

.tel_number {
    font-size: 28px;
    font-weight: bold;
    color: #4caf50;
    margin: 15px 0 5px;
    line-height: 1;
}

.tel_number .sm {
    font-size: 16px;
    margin-right: 5px;
}

.tel_number span:not(.sm) {
    color: #4caf50;
    margin: 0 3px;
}

.fax {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.fax_number {
    font-size: 18px;
    margin-bottom: 10px;
}

.fax_number .sm {
    font-size: 14px;
    margin: 0 5px;
}

.fax_number .num {
    font-size: 24px;
    font-weight: bold;
    color: #4caf50;
}

.note {
    font-size: 14px;
    color: #666;
}

/* 各事業所一覧 */
.to_facility {
    margin-top: 30px;
}

.to_facility h3 {
    font-size: 18px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion_icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.accordion_icon span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #4caf50;
}

.accordion_icon span:nth-child(1) {
    top: 9px;
}

.accordion_icon span:nth-child(2) {
    top: 9px;
    transform: rotate(90deg);
    transition: 0.3s;
}

.accordion_icon.active span:nth-child(2) {
    transform: rotate(0);
}

.facility_wrap {
    display: none;
    padding: 20px 0;
}

.facility_wrap table {
    width: 100%;
    border-collapse: collapse;
}

.facility_wrap td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
}

.facility_wrap td:first-child {
    width: 30%;
    font-weight: bold;
}

.facility_wrap .tel,
.facility_wrap .fax {
    display: inline-block;
    width: 40px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
    padding: 2px 0;
    color: #4caf50;
}

.facility_wrap a {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #4caf50;
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

/* メールフォーム */
#mailform h3 {
    font-size: 20px;
    color: #4caf50;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

#mailform h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #4caf50;
}

#mailform table {
    width: 100%;
    border-collapse: collapse;
}

#mailform th {
    width: 30%;
    padding: 15px;
    text-align: left;
    vertical-align: middle;
    position: relative;
}

#mailform th.vat {
    vertical-align: top;
    padding-top: 25px;
}

#mailform th span {
    display: flex;
    align-items: center;
}

#mailform .req {
    font-size: 12px;
    background-color: #ff6347;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
}

#mailform td {
    padding: 15px;
}

#mailform input[type="text"],
#mailform textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

#mailform textarea {
    height: 150px;
    resize: vertical;
}

#mailform .submit {
    text-align: center;
    margin-top: 30px;
}

#mailform button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#mailform button:hover {
    background-color: #3d9640;
}

/* アンカー用 */
.anchor {
    display: block;
    height: 80px;
    margin-top: -80px;
    visibility: hidden;
}

/* お問い合わせ種別（ラジオボタン） */
.inquiry-types {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.inquiry-type {
    position: relative;
    display: flex;
    align-items: center;
    width: calc(50% - 15px);
}

.inquiry-type input[type="radio"] {
    opacity: 0;
    position: absolute;
}

.inquiry-type label {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    
    .contact_box {
        padding: 20px 15px;
    }
    
    .tel_number {
        font-size: 24px;
    }
    
    .fax_number .num {
        font-size: 24px;
    }
    
    #mailform th,
    #mailform td {
        display: block;
        width: 100%;
    }
    
    #mailform th {
        padding-bottom: 5px;
    }
    
    #mailform td {
        padding-top: 5px;
    }
    
    .inquiry-type {
        width: 100%;
    }
    
    /* スマホ用のフォーム調整 */
    .sponly {
        display: block;
    }
    
    #mailform th.vat {
        padding-top: 15px;
    }
}

/* 活躍系デイサービス関連のスタイル追加 */

/* アーティクルセクションの強化 */
.article-section {
    padding: 5%;
    background-color: white;
   
}

.article-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    text-decoration: none;
}

.article-description {
    margin-top: 15px;
    line-height: 1.6;
    color: #555;
}

/* 活動ショーケース */
.activity-showcase {
    margin-top: 50px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.showcase-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #333;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.showcase-item {
    text-align: center;
}

.showcase-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

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

.showcase-item p {
    margin-top: 10px;
    font-weight: 500;
}

/* ギャラリーセクション */
.activity-gallery {
    padding: 60px 20px;
}

.gallery-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.gallery-item-large {
    flex: 2;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap:    20px;
}

.gallery-item-small {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item-large img,
.gallery-item-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item-large:hover img,
.gallery-item-small:hover img {
    transform: scale(1.05);
}

.gallery-caption {
       position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    padding: 20px;
    color: #fff;
}

.gallery-caption h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

/* 施設案内の強化 */
.facility-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.facility-gallery img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
}

.facility-gallery img:hover {
    transform: scale(1.1);
}

/* サービスハイライト */
.service-highlight {
    padding: 60px 20px;
    background-color: #f5f8fa;
}

.highlight-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 5%;
}

.highlight-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
    padding-top: 80px; /* アイコン用の余白を確保 */
}

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

.highlight-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.highlight-item h3 {
    margin-bottom: 15px;
    color: #333;
}

.highlight-item p {
    color: #666;
    line-height: 1.6;
}

.hatake-container {
    display: flex;
    gap: 2%;
    padding: 2.5%;
}

.hatake-main {
    flex: 0 0 45%;
}

.hatake-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

.hatake-sub-container {
    flex: 0 0 53%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hatake-sub img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .hatake-container {
        flex-direction: column;
    }
    
    .hatake-main {
        margin-bottom: 40px;
    }
    
    .hatake-sub-container {
        flex: 0 0 100%;
    }
}

/* さねかたセクション */
.sanekata-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 2.5%;
}

.sanekata-main {
    width: 100%;
    margin-bottom: 20px;
}

.sanekata-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

.sanekata-sub-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.sanekata-sub {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sanekata-sub img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .sanekata-sub-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

/* インスタグラムボタンスタイル */
.instagram-button-container {
    text-align: center;
    margin: 40px 0;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #fff;
    color: #333;
    border: 2px solid #333;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.instagram-button:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

.instagram-button i {
    font-size: 1.3rem;
}