* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Hiragino Maru Gothic Pro","Yu Gothic",sans-serif;
}
body {
  background: #ffffff;
  color: #333;
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: #6b8f71;
  transition: color 0.3s;
}
a.show-underline:hover {
  text-decoration: underline;
  color: #4f6d53;
}
.bold {
  font-weight: bold;
}
/* インデント */
.indent-p {
  text-indent: 1em;
  margin-bottom: 1.5em;
}
/* スマホ向け調整 */
@media screen and (max-width: 767px) {
  .indent-p {
    text-indent: 0.8em;
  }
}
.wave {
  position: relative;
  width: 100%;
  height: 80px;
  z-index: 2;
  transform: rotate(180deg);
filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.25));
}

.wave svg {
  width: 100%;
  height: 100%;
}
.wave-path {
  fill: #fffdf2 !important;
}

.anchor-link-padding {
  padding: 20px 0;
}
.text-center {
  text-align:center;
}
.mgbottom-30{
  margin-bottom:30px;
}
/* new-window用リンク */
.new-window::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 0.3em;
  vertical-align: middle;
  background-image: url('../images/new-window.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* PDF用リンク */
.pdf-link::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 0.3em;
  vertical-align: middle;
  background-image: url('../images/pdficon_small.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* ================= ヘッダー ================= */
/* Cloud Header */
.cloud-header {
  text-align: center;
  background-color: #fffdf2; 
  padding: 60px 20px 40px;
  position: relative;
  z-index: 3;
}
.cloud-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cloud-title h1 a {
  color: #2f6f5f;
  text-decoration: none;
  letter-spacing: 0.08em;
    text-shadow:
    0 2px 4px rgba(0,0,0,0.15),
     2px -2px 0 #f0f0f0,
    -2px  2px 0 #f0f0f0,
     2px  2px 0 #f0f0f0,
     0 2px 4px rgba(0,0,0,0.18);
}

@media (max-width: 768px) {
  .cloud-title img.logo {
    height: 50px;
    margin-top: -26px;
  }
}

.title-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cloud-title h1 {
  font-size: 2.8rem;
  color: #0b3d2e;
  font-weight: bold;
  display: inline-block;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  margin: 0;
  line-height: 1;
}
.cloud-title h1 a {
    font-family: 'Zen Maru Gothic',
               'Hiragino Maru Gothic Pro',
               'Yu Gothic',
               sans-serif !important;
}
.mobile-text {
  display: none;
  font-size: 0.9rem;
  color: #ff5c5c;
  margin-top: 0px;
  text-align: center;
}
/* スマホのみ */
@media (max-width: 768px) {
  .mobile-text {
    display: block;
  }
}

/* PC表示のみ */
@media (min-width: 769px) {
  .header-top {
    display: flex;
    justify-content: space-between;/
    align-items: center;
    padding: 20px 40px;
  }
    .cloud-title h1 {
    font-size: 3.5rem;
    line-height: 1.1;
  }
.cloud-title img.logo {
  height: 80px;
  width: 80px;
  object-fit: contain;
}
  .cloud-title {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-info {
    font-family: "Zen Maru Gothic", "Hiragino Maru Gothic Pro", "Yu Gothic", sans-serif !important;
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    color: #ff5c5c;
  }
header.cloud-header .header-info span {
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic Pro', 'Yu Gothic', sans-serif !important;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #ff5c5c;
}
  .header-info span {
    display: block;
    margin-bottom: 6px;
  }
  .hamburger {
    display: none;
  }

  .cloud-nav {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}
/* スマホでZen Maru Gothic*/
@media (max-width: 768px) {
  header.cloud-header .header-info,
  header.cloud-header .header-info span {
    font-family: "Zen Maru Gothic", "Hiragino Maru Gothic Pro", "Yu Gothic", sans-serif !important;
    line-height: 1.2;
  }
}

/* スマホ（768px以下） */
@media (max-width: 768px) {
  .header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-top: 10px;
  }

  .header-info span {
    display: block;
    margin-bottom: 4px;
  }
}


.cloud-nav {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cloud-nav a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 140px;
  height: 140px;
  margin: 4px;
  padding-top: 16px;
  background-color: #fff;
  color: #ff6b6b;
  border-radius: 50%;

  /* 手書き風縁取り */
  border: 3px dashed #ff9999;

  /* 背景に薄い模様を追加 */
  background-image: 
    radial-gradient(circle, rgba(255,153,153,0.25) 20%, transparent 20%),
    radial-gradient(circle, rgba(255,153,153,0.25) 20%, transparent 20%);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;

  text-decoration: none;
  font-size: 28px;
  font-weight: bold;

  /* 柔らかい影で浮かせる */
  box-shadow: 0 4px 12px rgba(255,182,193,0.3);

  transition: all 0.3s ease;
}
@media (min-width: 769px) {
  .cloud-nav a {
    padding-top: 12px;
  }
}
.cloud-nav a:hover {
  border-color: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255,182,193,0.4);
}

.cloud-nav a span.emoji {
  font-size: 48px;
  margin-bottom: 3px; */
}
@media (min-width: 769px) {
  .cloud-nav a span.emoji {
    font-size: 48px;
    margin-top: -2px;
    margin-bottom: 1px;
  }
}
.cloud-nav a span.label {
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
    margin-top: -10px;
}
@media (min-width: 769px) {
  .cloud-nav a span.label {
    font-size: 16px;
  margin-top: -8px;
    line-height: 1.25;
  }
}
/* ================== PC用 ランダムジグザク＋浮遊＋ホバー ================== */
@media (min-width: 769px) {

  /* 浮遊アニメーション */
  @keyframes floatUpDown {
    0%   { transform: translateY(calc(var(--initial-y,0px) + var(--hover-offset,0px))); }
    50%  { transform: translateY(calc(var(--initial-y,0px) - 6px + var(--hover-offset,0px))); }
    100% { transform: translateY(calc(var(--initial-y,0px) + var(--hover-offset,0px))); }
  }

  /* ナビ全体 */
  .cloud-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 10px;
  }

  /* 各アイテムに初期Y位置とアニメーション */
  .cloud-nav a {
    transform: translateY(var(--initial-y));
    animation-name: floatUpDown;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    --hover-offset: 0px;
  }

  /* ホバー時に少し上に */
  .cloud-nav a:hover {
    --hover-offset: -4px;
  }

  /* 円のサイズ・ジグザク */
  .cloud-nav a:nth-child(1) { --initial-y: 0px; animation-delay: 0s; width: 140px; height: 140px; }
  .cloud-nav a:nth-child(2) { --initial-y: 22px; animation-delay: 0.2s; width: 120px; height: 120px; }
  .cloud-nav a:nth-child(3) { --initial-y: 12px; animation-delay: 0.4s; width: 150px; height: 150px; }
  .cloud-nav a:nth-child(4) { --initial-y: 25px; animation-delay: 0.6s; width: 125px; height: 125px; }
  .cloud-nav a:nth-child(5) { --initial-y: 5px;  animation-delay: 0.8s; width: 145px; height: 145px; }
  .cloud-nav a:nth-child(6) { --initial-y: 18px; animation-delay: 1s; width: 120px; height: 120px; }
  .cloud-nav a:nth-child(7) { --initial-y: 10px; animation-delay: 1.2s; width: 150px; height: 150px; }
  .cloud-nav a:nth-child(8) { --initial-y: 28px; animation-delay: 1.4s; width: 130px; height: 130px; }
  .cloud-nav a:nth-child(9) { --initial-y: 0px;  animation-delay: 1.6s; width: 140px; height: 140px; }

  /* アイコンと文字のサイズ調整 */
  .cloud-nav a:nth-child(1) span.emoji { font-size: 48px; margin-top: -2px; margin-bottom: 1px; }
  .cloud-nav a:nth-child(1) span.label { font-size: 16px; margin-top: -8px; }

  .cloud-nav a:nth-child(2) span.emoji { font-size: 43px; margin-top: -2px; margin-bottom: 1px; }
  .cloud-nav a:nth-child(2) span.label { font-size: 15px; margin-top: -6px; }

  .cloud-nav a:nth-child(3) span.emoji { font-size: 50px; margin-top: -2px; margin-bottom: 2px; }
  .cloud-nav a:nth-child(3) span.label { font-size: 17px; margin-top: -9px; }

  .cloud-nav a:nth-child(4) span.emoji { font-size: 44px; margin-top: -2px; margin-bottom: 1px; }
  .cloud-nav a:nth-child(4) span.label { font-size: 15px; margin-top: -6px; }

  .cloud-nav a:nth-child(5) span.emoji { font-size: 49px; margin-top: -2px; margin-bottom: 2px; }
  .cloud-nav a:nth-child(5) span.label { font-size: 17px; margin-top: -9px; }

  .cloud-nav a:nth-child(6) span.emoji { font-size: 42px; margin-top: -2px; margin-bottom: 1px; }
  .cloud-nav a:nth-child(6) span.label { font-size: 15px; margin-top: -6px; }

  .cloud-nav a:nth-child(7) span.emoji { font-size: 50px; margin-top: -2px; margin-bottom: 2px; }
  .cloud-nav a:nth-child(7) span.label { font-size: 17px; margin-top: -9px; }

  .cloud-nav a:nth-child(8) span.emoji { font-size: 45px; margin-top: -2px; margin-bottom: 1px; }
  .cloud-nav a:nth-child(8) span.label { font-size: 16px; margin-top: -7px; }

  .cloud-nav a:nth-child(9) span.emoji { font-size: 48px; margin-top: -2px; margin-bottom: 1px; }
  .cloud-nav a:nth-child(9) span.label { font-size: 16px; margin-top: -8px; }
  
  .cloud-nav a:nth-child(2) span.label,
  .cloud-nav a:nth-child(9) span.label {
  margin-top: -14px;
}

.cloud-nav a:nth-child(2) span.emoji,
.cloud-nav a:nth-child(9) span.emoji {
  margin-bottom: 2px;
  transform: translateY(-4px);
  display: inline-block;
}

  /* ホバー時も少し影を浮かせる */
  .cloud-nav a:hover {
    box-shadow: 0 6px 14px rgba(255,182,193,0.4);
  }
}

/* ハンバーガーボタン初期非表示 */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}
/* スマホ用ハンバーガーメニュー */
@media (max-width: 768px) {
  .cloud-nav {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4px;
    row-gap: 8px;
    background-color: #fffdf2;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 12px;
    border-radius: 0 0 20px 20px;
    box-sizing: border-box;
  }

  .cloud-nav.show {
    display: grid;
  }

  .cloud-nav a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    border-radius: 20px;
    width: auto;
    margin: 0;
    transition: background-color 0.3s;
  }
/* emoji とラベルの中央揃え */
.cloud-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cloud-nav a .emoji {
  display: block;
  margin-bottom: 4px;
}

.cloud-nav a .label {
  display: block;
  text-align: center;
  line-height: 1.2;
}
  .hamburger {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
    z-index: 10;
    color: #ff5c5c;
  }

  .cloud-header { display: flex; justify-content: space-between; align-items: center; }
}
.cloud-nav a.active {
  background-color: #ff6b6b;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255,182,193,0.4);
  transition: background-color 0.3s, color 0.3s;
}
/* スマホ用：ハンバーガーメニューactive */
@media (max-width: 768px) {
  .cloud-nav a.active {
    background-color: #ff6b6b;
    color: #ffffff;
    width: auto;
    height: auto;
    padding: 10px 16px;
    border-radius: 20px;
    margin: 0;
  }
}

/* セクション */
.section {
  padding: 80px 0;
}

.section.white { background-color: #ffffff; }
.section.soft { background-color: #fff7f3; }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  text-align: center;
  font-size: 1.9rem;
  color: #ff6b6b;
  margin-bottom: 40px;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  margin: 12px auto 0;
  background-color: #ffb3b3;
  border-radius: 10px;
}

.sub-title {
  font-size: 1.4rem;
  color: #ff7b7b;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ff8c69;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover { background-color: #ff6b6b; }

/* フェードイン */
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fadein.show {
  opacity: 1;
  transform: translateY(0);
}

/* フッター */
footer {
  background-color: #ffc6b3;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #333;
}
footer address {
  font-style: normal;
}
footer .footer-name {
  font-weight: bold;
  font-size: 1.1rem;
}
/* PCでは改行（デフォルト） */
.pc-only {
  display: block;
}

/* スマホでは改行せず */
@media (max-width: 768px) {
  .pc-only {
    display: inline;
  }
}

/* PCでは改行しない */
.sp-only {
  display: inline !important;
}

/* スマホだけ改行 */
@media (max-width: 768px) {
  .sp-only {
    display: block !important;
  }
}
.sp-only, .pc-only {
  font-family: inherit;
}
/* スマホだけ文字サイズを大きく */
@media (max-width: 768px) {
  .big-on-sp {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
  }
}
/* トップに戻る */
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-color: #4378db;
  color: #fff;
  text-align: center;
  line-height: 28px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s, transform 0.3s, background-color 0.3s;
}
@media (max-width: 768px) {
  #back-to-top {
    right: 18px;
    bottom: 30px;
  }
}

#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  background-color: #ff4b4b;
  transform: translateY(-5px);
}
/* SVG とテキスト間の余白を追加 */
#back-to-top svg {
  margin-bottom: 4px;
}
#back-to-top .btn-text {
  font-size: 0.75rem;
  margin-top: -2px;
  display: block;
  line-height: 1;
}
/* ページ内リンク */
.btn-small {
  display: inline-block;
  margin: 0 8px;
  padding: 8px 16px;
  background-color: #ff6b6b;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-small:hover {
  background-color: #ff4b4b;
}
/* PC専用：ボタンが複数行になった時の行間を作る */
@media (min-width:769px){
  .section .container .btn-small {
    margin-bottom:10px;
  }
}

/* スマホ表示時：縦並び中央寄せ */
@media (max-width: 768px) {
  .section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
.mgtop-30{
  margin-top:30px;
}