@charset "utf-8";

/*=======index.html=======*/

/* スムーズにTOPに戻す処理 */
html {
  scroll-behavior: smooth;
}
/* アニメーション定義*/
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*ボタン背景グラデーション*/
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* ===== ローディング画面スタイル ===== */

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
}

#loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}

.loader {
  color: #a2f5b2;
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  transform: translateZ(0);
}

.loader:before,
.loader:after {
  position: absolute;
  content: '';
}

.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #a2f5b2;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  transform-origin: 5.1em 5.1em;
  animation: load2 2s infinite ease 1.5s;
}

.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #a2f5b2;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 4.9em;
  transform-origin: 0.1em 5.1em;
  animation: load2 2s infinite ease;
}

@keyframes load2 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #A2F5B2;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}


/*基本スタイル */
body {
  background-image: url(./images/bg3.jpg);
  font-size: 16px;
  font-family: 'arial','Hiragino Sans','Meiryo',sans-serif;
  color: #faf7f7;
}

/*ヘッダー */
header {
  width: 1250px;
  margin: 0 auto 10px;
}

h1 {
  text-align: center;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

h1 img {
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
  height: auto;
}

/*ナビゲーションメニュー*/
header nav ul {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  border-top: 2px solid #a09f9e;
  border-bottom: 2px solid #a09f9e;
  background-color: rgba(255, 255, 255, 0.42);
  list-style-type: none;
  padding: 12px 0px 10px;
}

header nav ul li {
  margin: 0 20px;
}

header nav ul li a {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
}

header nav ul li a:hover {
  text-decoration: underline double;
  color: #A2F5B2;
}

@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

nav ul li a.active {
  background: linear-gradient(270deg, #ffffff, #e5f839, #f5ff9d);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 4s ease infinite;
  font-weight: bold;
}



/*メイン画像*/
.hero-section {
  position: relative;
  max-width: 1000px;
  width: 100%;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-text,
.cta-button {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-text {
  top: 60%;
  font-size: 34px;
  font-weight: bold;
  background: linear-gradient(to right, #ffffff, #A2F5B2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: fadeUp 2s ease-out forwards;
  animation-delay: 4.5s;
  opacity: 0;
}

/*LearnMoreボタン アニメーション*/
.cta-button {
  top: 85%;
  left: 70%;
  padding: 12px 24px;
  background: linear-gradient(270deg, #ffffff, #A2F5B2, #ffffff);
  background-size: 400% 400%;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  animation: gradientFlow 5s ease infinite;
  transition: background-color 0.3s ease;
}


.cta-button:hover {
  box-shadow: 0 0 15px #f2ff7a, 0 0 30px #f2ff7a;
}




/*サブ画像1 & 2*/
.sub-images {
  display: flex;
  max-width: 1000px;
  margin: 20px auto;
  gap: 10px;
  padding: 0 15px;
  box-sizing: border-box;
}

.sub-image-wrapper {
  position: relative;
  width: 100%;
}

.sub-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.sub-image {
  width: 100%;
}

/*タイプライター文字*/
.typewriter-text {
  position: absolute;
  top: 10%;
  left: 40%;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  white-space: normal;
  max-width: 90%;
  overflow: hidden;
  border-right: 2px solid rgba(255,255,255,0.75);
  animation: fadeUp 1s ease-out forwards;
}

/*サブ画像3*/
.full-image {
  max-width: 1000px;
  width: 100%;
  margin: 20px auto;
  padding: 0 15px;
  box-sizing: border-box;
  position: relative;
}


/* 新着情報 */
.news-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  color: #fff;
}

.news-section h2 {
  font-size: 38px;
  margin-top: 100px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #a2f5b2,
    0 0 15px #a2f5b2,
    0 0 20px #a2f5b2;
  animation: fadeUp 1s ease-out forwards;
}

.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  margin-bottom: 12px;
  font-size: 19px;
  border-bottom: 1px dashed #a2f5b2;
  padding-bottom: 6px;
  transition: transform 0.3s ease;
  cursor: pointer;
  transform-origin: center; /* 拡大の基準を中央に */
  text-align: center;
}

.news-section li a {
  color: #fff;       /* 文字色を白に */
  text-decoration: none; /* アンダーラインを消す */
  font-weight: normal;   /* 必要に応じて太さを調整 */
}

.news-list li:hover {
  transform: scale(1.25); /* 拡大率 */
}


.news-list .date {
  font-weight: bold;
  color: #a2f5b2;
  margin-right: 10px;
}

/*SNSリンク*/
.sns-links {
  text-align: center; /* 中央寄せ */
  margin-top: 100px;   /* 上の余白 */
  margin-bottom: 60px;   /* 下の余白 */
}

.sns-links .sns-icon {
  display: inline-block;
  margin: 0 18px;      /* アイコン間の余白 */
}

.sns-links .sns-icon img {
  width: 50px;         /* アイコンサイズ */
  height: 50px;
  transition: transform 0.3s; /* ホバー時のアニメーション */
}

.sns-links .sns-icon img:hover {
  transform: scale(1.5); /* ホバーで拡大 */
}

/*フッター*/
footer {
  background-color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  color: #ffffff;
  text-align: center;
  padding: 2px 2px 3px;
}

/*パンくずリスト（index.html以外共通）*/
.breadcrumb {
  margin: 20px 0;
  font-size: 14px;
  padding-left: 20px;
  color: #ffffff;
  text-align: center;
}

.breadcrumb ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb li::after {
  content: "＞";
  margin-left: 10px;
  color: #ffffff;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #A2F5B2;
}

/*ボトムナビゲーション*/
.footer-nav {
  margin-top: 50px; /* ← フッターの上に余白を追加 */
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px; /* 項目間の幅調整 */
  padding: 0;
  margin: 0 auto;
}

.footer-nav li a {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff; 
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-nav li a:hover {
  color: #A2F5B2; /* ホバー時の色変化 */
  text-decoration: underline
}

.footer-nav ul li a.active {
  color: #A2F5B2; 
  text-decoration: underline; 
  font-weight: bold;
  animation: glowText 2s ease-in-out infinite; /* 光る演出*/
}
@keyframes glowText {
  0%   { text-shadow: 0 0 5px #ffffff; }
  50%  { text-shadow: 0 0 15px #e5f839; }
  100% { text-shadow: 0 0 5px #ffffff; }
}

/* 浮遊ボタンズームインアニメーション定義 */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/*浮遊ボタン背景アニメーション（グラデーション）*/
@keyframes gradientFloat {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* 浮遊ボタンの基本スタイル（既存部分に flex 追加） */
#backToTop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: normal; /* 高さで位置合わせせず、要素ごとに制御 */
  /* 以下は既存スタイルと一緒に保持 */
  position: fixed;
  bottom: 100px;
  right: 75px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #5bd4b0;
  background: transparent;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.5);
  display: none;
}

/* 表示アニメーションクラス */
#backToTop.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
  animation: zoomIn 0.4s forwards;
}

/* 背景ネオン効果 */
#backToTop::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(91, 212, 176, 0.2);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  z-index: -1;
  opacity: 0;
}

#backToTop:hover::before {
  opacity: 1;
  filter: blur(20px);
}

#backToTop:hover {
  color: #a2f5b2;
  box-shadow: 0 0 10px #5bd4b0, 0 0 20px #5bd4b0, 0 0 40px #5bd4b0;
  border-color: #a2f5b2;
}

/* ⇧ のスタイル（矢印を緑に） */
#backToTop .arrow {
  font-size: 24px;
  color: #5bd4b0;
  text-shadow: 0 0 4px #5bd4b0;
  line-height: 1;
  margin-bottom: -8px; /* ↓矢印を少し下へ */
}


/* TOP文字のスタイル */
#backToTop .label {
  font-size: 12px;
  color: #5bd4b0;
  margin-top: -3px; /* ↑TOPを少し上へ */
  text-shadow: 0 0 4px #5bd4b0;
  line-height: 1;
}




/*=======contact.html=======*/

.contact-section h2 {
  margin-bottom: 40px;
  font-size: 32px;
}

.contact-section {
  max-width: 800px;
  min-height: 100vh;
  margin: 1px auto;
  padding: 40px 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  text-align: center; /* 中央寄せ */
}

.contact-section p {
  color: #ffffff;
text-align: center;
font-size: 18px;
padding-bottom: 65px;

/* 白ネオン風 */
text-shadow:
    0 0 2px #ffffff,
    0 0 4px #ffffff,
    0 0 6px #ffffff,
    0 0 8px #ffffff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center; /* 入力欄中央寄せ */
}

.contact-form label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
  align-self: flex-start; /* 左寄せラベルにしたい場合 */
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; /* 全体幅 */
  max-width: 750px;
  margin-bottom: 30px;
  padding: 20px 15px;
  border-radius: 8px;
  border: none;
  font-size: 20px;
  background-color: #f5f5f5;
  color: #333;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid #A2F5B2;
}

/*送信ボタン*/
.contact-form-button {
  align-self: center;
}

.form-button {
  top: 85%;
  left: 70%;
  padding: 12px 24px;
  background: linear-gradient(270deg, #ffffff, #A2F5B2, #ffffff);
  background-size: 400% 400%;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  animation: gradientFlow 5s ease infinite;
  transition: background-color 0.3s ease;
}

.form-button:hover {
   box-shadow: 0 0 15px #f2ff7a, 0 0 30px #f2ff7a;
}

#form-message {
  margin-top: 32px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #fff; /* 白文字 */
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #fff,
    0 0 40px #0ff;
  display: none;
}


/*=======about.html=======*/

/*ネオンタイトル(index.html以外共通)*/
.about-kaigo h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-top: 100px !important;
  margin-bottom: 100px !important;
  background: linear-gradient(120deg, #ffffff, #a2f5b2);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s infinite linear;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #a2f5b2,
    0 0 15px #a2f5b2,
    0 0 20px #a2f5b2;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.about-block {
  margin-left: 5%;
  margin-right: 5%;
}

/*画像左・フォント右*/
.about-block.left-img {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 1.5em !important;
}

.about-block.left-img img {
  width: 45%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.about-block.left-img p {
  width: 60%;
  font-size: 1.2em;
  line-height: 1.7;
  color: #ffffff;
  background-color: rgba(30,30,30,0.8);
  padding: 1em;
  border-radius: 8px;
}

/*画像右・フォント左*/
.about-block.right-img {
  display: flex;
  align-items: stretch;  /* 高さ揃える */
  gap: 1.5em;
  margin-bottom: 3em;
  flex-direction: row; /* ←これがポイント！ */
}

.about-block.right-img img {
  width: 45%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.about-block.right-img p {
  width: 55%;
  color: #ffffff;
  font-size: 1.2em;
  line-height: 1.7;
  background-color: rgba(30,30,30,0.8);
  padding: 1em;
  border-radius: 8px;

  display: flex;
  align-items: center;
}

/*マイプロフィール*/
.profile-card {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8); /* 半透明白背景 */
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 40px;
  margin: 60px auto;
  max-width: 1000px;
  flex-wrap: wrap;
}

.profile-image img {
  width: auto;
  height: auto;
  margin-right: 40px;
}

.profile-text {
  flex: 1;
  min-width: 300px;
  font-family: 'Georgia', serif;
  font-size: 18px;       /* フォントサイズアップ */
  padding-left: 100px;    /* 左側に余白を増やして右に寄せる */
  /* text-align: right; 右寄せにしたい場合はこちらを有効に */
  color: #333;
}

.profile-text h2 {
  margin-bottom: 25px;
  font-size: 28px;
  color: #333;
}

.profile-text p {
  margin-bottom: 13px;
  line-height: 1.6;
  color: #333;
}

/* トグルボタン*/
/* ネオンボタン */
.neon-button {
  font-size: 18px;
  color: #fff;
  background: transparent;
  border: 2px solid #5bd4b0;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
  text-shadow: 0 0 5px #5bd4b0, 0 0 10px #5bd4b0;
}

.neon-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(91, 212, 176, 0.2);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  z-index: -1;
  opacity: 0;
}

.neon-button:hover::before {
  opacity: 1;
  filter: blur(20px);
}

.neon-button:hover {
  color: #a2f5b2;
  box-shadow: 0 0 10px #5bd4b0, 0 0 20px #5bd4b0, 0 0 40px #5bd4b0;
  border-color: #a2f5b2;
}

/*blog.html*/
.blog-iframe {
  margin-top: 2em;
}
.blog-iframe iframe {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.footer-tools {
  display: none !important;
}


/*=======work.html=======*/

.about-kaigo h2 {
  margin-top: 0;
}

.work-section { 
  text-align: center; 
  padding: 5px 5px; 
}

/* 説明文 */
.work-section p { 
  margin: 0 0 40px; 
  color: #ffffff;
  text-shadow:
    0 0 2px #ffffff,
    0 0 4px #ffffff,
    0 0 6px #ffffff,
    0 0 8px #ffffff;
} 


/* WORKグリッド（縦並び） */
.work-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

/* 各WORK項目 */
.work-item {
  max-width: 1025px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: rgba(30,30,30,0.8);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid transparent;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

/* ホバー時の演出（控えめネオン） */
.work-item:hover {
  transform: translateY(-10px);
  border-color: #a2f5b2;
  box-shadow:
    0 0 6px #5bd4b0,
    0 0 12px #5bd4b0;
}

/* 画像部分 */
.work-item .image { 
  flex: 0 0 48%;
  max-width: 48%;
  position: relative;
  z-index: 0;
}

.work-item .image img { 
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-item:hover .image img {
  transform: scale(1.05);
}

/* テキスト部分 */
.work-item .text { 
  flex: 0 0 52%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.work-item .text h3 {
  font-size: 1.7rem;
  line-height: 1.7;
  margin: 0;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.work-item:hover .text h3 {
  color: #a2f5b2;
  text-shadow:
    0 0 3px #5bd4b0,
    0 0 6px #5bd4b0;
}

/* ======= モーダル ======= */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  overflow-y: auto;
}

.modal-content {
  font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.75); /* ← 白の半透明に変更 */
  margin: 8% auto 10%; /* ← 下部の外側余白を10%に拡張 */
  padding: 40px 30px 80px; /* ← 下部の内側余白を80pxに拡張 */
  border-radius: 15px;
  width: 95%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: scroll; /* スクロール可能にする */
  scrollbar-width: none; /* Firefox用：スクロールバー非表示 */
  text-align: center;
  position: relative;
  color: #000; 
}
.modal-content::-webkit-scrollbar {
  display: none; /* Chrome/Safari用：スクロールバー非表示 */
}


/* テキストの読みやすさ向上 */
.modal-content h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #000000; /* 黒文字 */
  margin-top: 60px;
  margin-bottom: 2.5em;
  padding-bottom: 1.5em;
  border-bottom: 3px solid #000;

  /* 白ネオン強調 */
   text-shadow:
    0 0 10px #fff,
    0 0 20px #fff,
    0 0 40px #fff,
    0 0 60px #fff,
    0 0 80px #fff,
    0 0 100px #fff;
}




.modal-content h3 {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.7); /* 半透明の黒 */
  color: #fff; /* 白文字 */
  padding: 16px 24px;
  border-radius: 50px; /* 楕円形の囲み */
  font-size: 1.1rem;
  margin: 30px auto 20px;
  text-align: center;
  border: 2px solid #5bd4b0;
  box-shadow:
    0 0 5px #fff,
    0 0 10px #5bd4b0,
    0 0 20px #5bd4b0,
    0 0 40px #5bd4b0;
}

.subtitle {
  font-size: 0.5em;
  display: inline-block;
  margin-top: 4px;
  letter-spacing: 0.05em;
}


.modal-content h4 {
  background-color: rgba(50, 50, 50, 0.7); /* 濃いグレー半透明 */
  color: #fff; /* 白文字 */
  padding: 6px 10px;         
  border-radius: 6px;        
  font-size: 1rem;          
  margin: 30px auto 16px;   
  display: inline-block;
  max-width: 80%;           
  border: 2px solid #ffff66; 
  box-shadow:
    0 0 3px #fff,
    0 0 6px #ffff66,
    0 0 12px #ffff66;
}


.modal-content p {
  margin-bottom: 1em;
  line-height: 1.6;
  color: #000; /* 念のため段落にも黒指定 */
}

.modal-content strong {
  color: #000; /* 強調も黒で統一 */
}

.modal-content a {
  color: #000;
  text-decoration: underline;
}


.modal-images {
  display: flex;
  justify-content: center;     /* 中央揃えは維持 */
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.modal-img {
  width: 60%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
  transform-origin: center center;
}

.modal-img:hover {
  transform: scale(1.3);     /* ホバー時拡大 */
}

.text-left-block {
  text-align: left;
  margin: 0 auto;
  max-width: 900px;
}

.oshirase{
  text-align: center;
  font-size: 20px;
}


/* modal最後の"お問い合わせボタン" */
.contact-button { 
  padding: 12px 24px;
  background: linear-gradient(270deg, #ffffff, #A2F5B2, #ffffff);
  background-size: 400% 400%;
  color: #333;
  font-weight: bold;
  text-decoration: none !important;
  border-radius: 6px;
  animation: gradientFlow 5s ease infinite;
  transition: all 0.3s ease; /* 変化を滑らかに */
  display: inline-block;
}

.contact-button:hover { 
  border: 2px solid #5bd4b0;
  box-shadow:
    0 0 5px #fff,
    0 0 10px #5bd4b0,
    0 0 20px #5bd4b0,
    0 0 40px #5bd4b0;
}



/* ※ライトボックス→画像クリック時の拡大 */
#lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}



/* 閉じるボタン */
.modal .close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #000; /* 閉じるボタンも黒に統一 */
}





/*====== privacy.html =======*/

.privacy-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 30px 20px;
    line-height: 1.8;
    color: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    background-color: rgba(255, 255, 255, 0.1); /* 薄い黒背景 */
    border-radius: 12px;
}


.privacy-section h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #a2f5b2;
    border-left: 4px solid #a2f5b2;
    padding-left: 10px;
}

.privacy-section p {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-section ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-section ul ul {
    list-style: circle inside;
    padding-left: 20px;
}

.privacy-section li {
    margin-bottom: 8px;
}

.privacy-section p strong {
    color: #a2f5b2;
}

.privacy-section a {
    color: #a2f5b2;
    text-decoration: underline;
}






/*comingsoon.html*/
.under-construction-img {
  display: block;
  margin: 0 auto;
  max-width: 40%;
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

@keyframes blinkGlow {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #a2f5b2, 0 0 30px #a2f5b2;
  }
  50% {
    opacity: 0.6;
    text-shadow: 0 0 2px #fff, 0 0 4px #a2f5b2;
  }
}

.under-construction-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease 1.5s, transform 1.5s ease 1.5s;
  font-size: 1.5rem;
  color: #fff;
  margin-top: 20px;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #a2f5b2;
  animation: blinkGlow 2s infinite;
}


/* ======== レスポンシブ対応 スマホ ======== */

@media screen and (max-width: 768px) {

  /* ヘッダー幅調整 */
  header {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  h1 img {
    width: 80%;
    height: auto;
  }

  /* ヒーローセクション調整 */
  .hero-section {
    padding: 0 10px;
  }

  .hero-text {
    top: 55%;
    font-size: 14px;
  }

  .cta-button {
    top: 85%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 16px;
  }

  /* サブ画像レイアウトを縦並びに */
  .sub-images {
    flex-direction: column;
    gap: 20px;
  }

 .typewriter-text {
    font-size: 11px !important;
    top: 18% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 6px 10px;
  }

/* 新着情報 */
.news-section h2 {
    font-size: 24px !important; /* 文字サイズ小さめに調整 */
  }
.news-list li {
  font-size: 15px !important;
  }
  /* SNSアイコン */
  .sns-links .sns-icon img:hover {
    transform: scale(1.3) !important; /* 元は1.2 → 1.1に縮小 */
  }

  /* フッターサイズ調整 */
  footer {
    font-size: 14px;
    padding: 10px;
  }

  .breadcrumb ul {
    display: flex;
    flex-direction: row;     /* 横並びに変更 */
    justify-content: center; /* 中央寄せ */
    align-items: center;
    gap: 8px;                 /* アイテム間の余白 */
    padding: 0;
    margin: 10px 0;
  }

  .breadcrumb li {
    font-size: 14px; /* スマホ用フォントサイズ調整（任意） */
  }

  /*======= contact.html =======*/

  /*CONTACTタイトルフォントサイズ*/
  .contact-title {
  font-size: 20px !important;
}
  /* CONTACTフォームの幅調整 */
  .contact-section {
    padding: 30px 20px;
  }

  .contact-section p{
    font-size: 12px;
    text-align: left;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 18px;
    padding: 15px;
  }

  

  .form-button {
    padding: 10px 18px;
    font-size: 16px;
  }

  /* TOPボタン位置修正 */
  #backToTop {
    bottom: 50px;
    right: 20px;
  }

/* ヘッダーナビゲーション：縦並び中央寄せ */
  nav ul {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  nav ul li {
    margin: 0;
  }
  nav ul li a{
    font-size: 13px !important;
  }

  /*  ボトムナビ */
  .footer-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .footer-nav ul li {
    margin: 0;
  }

  .footer-nav ul li a{
    font-size: 10px !important;
  }
}

  /*  about.html  */

  .about-block {
    flex-direction: column;
    /* text-align: center; 削除または個別調整 */
  }
  .about-block img,
  .about-block p {
    width: 100%;
  }
  .about-block p {
    text-align: left; /* スマホでも左寄せに */
    margin-top: 1em;
    background-color: rgba(255,255,255,0.15); /* 少し透け感調整 */
  }

  /*プロフィール部分*/
  /* プロフィール初期状態と表示切り替え */
.profile-card {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.profile-card.show {
  display: flex;
  opacity: 1;
  flex-direction: column;
  align-items: center;
  }

  .profile-image img {
    width: 80%;
    height: auto;
  }

  .profile-text {
    text-align: left;
    margin-top: 20px;
    padding: 0;
    max-width: 100%;
    font-size: 16px;
  }


.about-kaigo h2 {
  white-space: nowrap;        /* 折り返し防止 */
  overflow: hidden;
  text-overflow: ellipsis;    /* 万が一収まりきらない場合は省略記号表示 */
  font-size: clamp(20px, 4vw, 36px); /* 画面サイズに応じて文字サイズ自動調整 */
  text-align: center;
  margin: 10px 0;
  padding: 10px;
}

.blog-iframe iframe {
  width: 100%;
  height: auto;
  min-height: 800px;
  border: none;
  overflow: auto;
  resize: vertical;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .about-block.left-img,
  .about-block.right-img {
    flex-direction: column !important;
    align-items: center !important;
  }

  .about-block.right-img {
    flex-direction: column-reverse !important;
  }

  .about-block.left-img img,
  .about-block.right-img img,
  .about-block.left-img p,
  .about-block.right-img p {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px;
    text-align: left;
  }


  .under-construction-text {
  text-align: center;
  font-size: 0.7rem;
  margin: 10px auto;
}

/*work.html*/
.work-section p{
  font-size: 15px;
}

.work-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.work-item {
  display: flex;
  flex-direction: row; /* 横並び */
  padding: 16px;
  gap: 16px;
  align-items: center;
  flex: 1 1 calc(50% - 40px); /* 2列 */
}

.work-item .image {
  flex: 0 0 50%;
  max-width: 50%;
}

.work-item .text {
  flex: 0 0 50%;
  max-width: 50%;
  text-align: left;
}

.work-item .text h3 {
  font-size: 0.8rem; /* 収まり良く */
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

.subtitle {
  font-size: 0.5em ;
  text-align: center;
}

.oshirase{
  font-size: 0.8em;
}

/* モーダル調整 */
.modal-content {
  margin: 5% auto;
  padding: 20px 15px 40px;
  width: 90%;
  max-width: 800px; /* 横幅調整 */
  max-height: 90vh; /* 高さ調整 */
  overflow-y: auto; /* はみ出す場合スクロール */
}

.modal-content h2 {
  font-size: 1.6rem;
  margin-bottom: 55px;
}

.modal-content h3 {
  font-size: 0.9rem;       /* フォントサイズ小さめ */
  padding: 12px 24px;       /* 上下左右の余白 */
  margin: 10px 0;           /* h3同士の間隔 */
  border: 2px solid #ccc;   /* 枠線 */
  border-radius: 50px;      /* 角丸を大きくして丸囲みに */
  display: inline-block;    /* 幅に応じて丸くなる */
  text-align: center;       /* 中央揃え */
}


.modal-content h4 {
  font-size: 0.9rem;
  padding: 10px 15px;
}

.modal-img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/*== privacy.html ==*/

.privacy-section {
      max-width: 90%;       /* 幅を狭めてスマホでも余白確保 */
      margin: 40px auto;    /* 上下余白を少し縮める */
      padding: 20px 15px;   /* 内側余白を小さく */
  }


  .privacy-section h3 {
      font-size: 1.05rem;    /* 小見出しを小さく */
      margin-top: 25px;
      margin-bottom: 12px;
      padding-left: 8px;
      border-left-width: 3px; /* 線を少し細く */
  }

  .privacy-section p {
      font-size: 0.8rem;   /* 段落文字を少し小さく */
      margin-bottom: 12px;
  }

  .privacy-section ul {
      padding-left: 15px;   /* リストの左余白を縮める */
  }

  .privacy-section li {
      margin-bottom: 6px;
  }
}



  /*=======レスポンシブ対応タブレット=======*/
  @media screen and (min-width: 769px) and (max-width: 1024px) {

  /* ヘッダー幅調整 */
  header {
    width: 95%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  h1 img {
    width: 70%;
    height: auto;
  }

  /* ナビゲーション（横並び維持・ややコンパクトに） */
  header nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
  }

  header nav ul li a {
    font-size: 17px;
  }

  /* ヒーローセクション調整 */
  .hero-section {
    padding: 0 20px;
  }

  .hero-text {
    top: 65%;
    font-size: 26px;
  }

  .cta-button {
    top: 88%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    font-size: 18px;
  }

  /* サブ画像の並び：縦並びよりも余白強化 */
  .sub-images {
    flex-direction: column;
    gap: 25px;
    padding: 0 10px;
  }

  .typewriter-text {
    font-size: 23px !important;
    top: 35% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 6px 10px;
  }

  /* 新着情報 */
.news-section h2 {
    font-size: 24px !important; /* 文字サイズ小さめに調整 */
  }
.news-list li {
  font-size: 15px !important;
  }
  /* SNSアイコン */
  .sns-links .sns-icon img:hover {
    transform: scale(1.3) !important; /* 元は1.2 → 1.1に縮小 */
  }

  /* フッター調整 */
  footer {
    font-size: 15px;
    padding: 12px;
  }

  /* ボトムナビ（横並び維持） */
  .footer-nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }
  

  /* パンくずリスト整形 */
  .breadcrumb ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  /* CONTACTセクション調整 */
  .contact-section {
    padding: 40px 40px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 20px;
    padding: 18px;
  }

  .form-button {
    padding: 12px 22px;
    font-size: 18px;
  }

  /* TOPボタン位置調整 */
  #backToTop {
    bottom: 60px;
    right: 40px;
  }
}
