@charset "UTF-8";
@import url("grid.css");

/* カラー変数 */
:root {
  --base-color: #000;
  --link-color: #666;
  --linkhover-color: #ff9966;
  --back-color: #ff9966;
  --border-color: #ccc;
  --white-color: #fff;
}

/* 基本要素 */
img {
  max-width: 100%;
  height: auto;
}
a {
  display: block;
  color: var(--base-color);
  text-decoration: none;
}
a:hover {
  color: var(--linkhover-color);
}
a img {
  margin-bottom: 2rem;
}
a img:hover {
  opacity: 0.8;
}

/* 汎用クラス */
.blueback {
  background: linear-gradient(135deg, #F28500, #FFB366); /* 暖色グラデーション */
  color: #fff;
  padding: 1.2rem 2rem;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: left; /* ← 左寄せ */
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(242, 133, 0, 0.2);
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* 左寄せ用の装飾ライン（アクセント） */
.blueback::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 6px;
  height: 60%;
  background-color: #fff;
  border-radius: 3px;
  opacity: 0.6;
}
.underline {
  border-bottom: 3px solid var(--back-color);
  padding-bottom: 0.5rem;
}
.center {
  text-align: center;
}

/* ヘッダー（PC） */
.head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.head h1 {
  padding: 1rem 0;
}

.site-title {
  font-family: "Noto Sans JP", "Helvetica Neue", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 3.2rem;
  line-height: 1.4;
  font-weight: 700;
  margin: 1rem 0;
  text-align: left;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  white-space: nowrap;
}

.site-title .line1,
.site-title .line2 {
  display: inline;
}

.telbox {
  margin-left: auto;
  flex-shrink: 0;
}

.header-img {
  max-width: 360px;
  height: auto;
  display: block;
}

/* スマホ表示時（1つに統合） */
@media screen and (max-width: 768px) {

  .site-title {
    font-size: 2.2rem;
    line-height: 1.3;
    white-space: normal;
  }

  .site-title .line1,
  .site-title .line2 {
    display: block;
    margin-bottom: 0.2em;
  }

  .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hamburger {
    position: static;
    margin-left: auto;
  }

  .telbox {
    margin-left: 0;
    padding: 0.5rem 0 0 0;
    width: 100%;
  }

  .header-img {
    max-width: 260px;
  }
}




/* メニュー */
.menu {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  font-family: 'Yu Gothic UI', 'Helvetica Neue', sans-serif;
}
#navi ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
#navi li {
  flex: 1;
  text-align: center;
}
#navi a {
  display: block;
  padding: 1.2em 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
    background-color: #F28500;
  border-bottom: 4px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  width: 100%;
}
#navi a:hover {
  background-color: #ef0808;
  color: #fff;
  border-bottom: 4px solid #cc5500;
}

/* メイン画像 */
.mainimg {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 5px auto 30px auto; 
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 9;
  max-height: 350px;
}
.kumagai-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 0; /* ← 他の画像と差別化したい場合 */
}

.kumagai-img2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  display: block;
  border-radius: 0; /* ← 他の画像と差別化したい場合 */
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* メインコンテンツ */
main {
  margin: 1rem 0;
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
figure {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  margin: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* ← 比率を整えてスマホでも美しく */
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
  object-position: top;
}

figcaption {
  padding: 1em 1.2em;
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  text-align: center;
}

/* ホバー演出（任意） */
.card-link:hover figure {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* レスポンシブ対応：縦並び時の調整 */
@media screen and (max-width: 768px) {
  .row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .col {
    width: 100%;
  }

  figure img {
    aspect-ratio: 3 / 2; /* ← 少し横長にしてスマホでの圧迫感を軽減 */
    max-height: 200px;
  }

  figcaption {
    font-size: 1.3rem;
    padding: 0.8em 1em;
  }
}

/* 新着情報 */
.news-section {
  padding: 2em 0;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
  font-family: 'Helvetica Neue', 'Yu Gothic UI', sans-serif;
  font-size: 2.3rem;
}
.news-box {
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  padding: 3em;
}
.news-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5em;
  padding-bottom: 0.8em;
  border-bottom: 2px solid #333;
  color: #222;
  letter-spacing: 0.05em;
}
.news {
  background-color: #fff;
  padding: 3em;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-family: 'Yu Gothic UI', 'Helvetica Neue', sans-serif;
}

.news h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5em;
  color: #333;
  border-bottom: 2px solid #F28500;
  padding-bottom: 0.5em;
  letter-spacing: 0.05em;
}

.news ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ▼ 最新3件に淡い背景（既存デザインと馴染むように調整） */
.news ul li:nth-child(-n+3) {
  background-color: #fff7ec; /* #fdfdfd より少し強調、オレンジ系で統一 */
}

/* ▼ 最新1件にNEWバッジ（点滅アニメーション付き） */
.news ul li:first-child a::after {
  content: "NEW";
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 0.7em;
  color: #fff;
  background: #F28500; /* ブランドカラーに統一 */
  border-radius: 4px;
  letter-spacing: 0.03em;
  animation: softBlink 2.2s ease-in-out infinite;
}

/* ▼ NEWバッジのやわらかい点滅アニメーション */
@keyframes softBlink {
  0%   { opacity: 1; }
  50%  { opacity: 0.35; }
  100% { opacity: 1; }
}

.news li {
  font-size: 1.8rem;
  line-height: 2;
  padding: 1em 1.2em;
  margin-bottom: 0.8em;
  background-color: #fdfdfd;
  border-left: 4px solid #F28500;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background-color 0.3s ease;
}

.news li a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.news li a:hover {
  color: #005999;
  text-decoration: underline;
}

.news li:hover {
  background-color: #f9f1e5;
}

/* フッター */
footer {
  background-color: #FBB982;
  padding: 3rem 0;
  font-family: 'Yu Gothic UI', 'Helvetica Neue', sans-serif;
  color: #333;
}
footer .col.span-6 {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1.8em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 2em;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
footer .col.span-6:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
footer h5 a {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0077cc;
  text-decoration: none;
  transition: color 0.3s ease;
}
footer h5 a:hover {
  color: #005999;
  text-decoration: underline;
}
footer p {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-top: 1em;
}

/* コピーライト */
.copyright {
  text-align: center;
  padding: 1rem 0;
  background-color: var(--white-color);
}
.copyright a {
  color: var(--base-color);
  text-decoration: none;
  display: inline-block;
}

/* ページトップへ戻るボタン */
#pagetop {
  position: fixed;
  bottom: 47px;
  right: 2rem;
  z-index: 1000;
}


#pagetop a {
  display: inline-block;
  padding: 1rem 1.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #1E5DB3, #3A8DFF); /* 寒色グラデーション */
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(30, 93, 179, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-align: center;
  text-decoration: none;
}

#pagetop a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 93, 179, 0.4);
  background: linear-gradient(135deg, #174A8C, #2F6FD9); /* 濃い寒色に変化 */
}
/* パンくずリスト */
.breadcrumb {
  margin: 0 0 1em 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  font-size: 1.3rem;
}
.breadcrumb li {
  list-style-type: none;
}
.breadcrumb li a {
  display: inline-block;
  color: var(--link-color);
  text-decoration: none;
}
.breadcrumb li a:hover {
  color: var(--linkhover-color);
  text-decoration: underline;
}

/* ハンバーガーボタン */
.hamburger {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 28px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background-color: transparent;
  border: 2px solid #F28500; /* ← オレンジ系の縁取り */
  border-radius: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hamburger:hover {
  border-color: #cc5500; /* ← hover時に少し濃く */
  box-shadow: 0 0 8px rgba(242, 133, 0, 0.3); /* ← ふわっと光る演出も可能 */
}


.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #F28500;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 開いたときのアニメーション */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ダークモード対応（任意） */
@media (prefers-color-scheme: dark) {
  .hamburger span {
    background-color: #eee;
  }
}
/* ナビゲーションメニュー（スマホ時） */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  #navi {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    padding-top: 6rem;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
  }

  #navi.active {
    transform: translateX(0);
  }

  #navi ul {
    flex-direction: column;
    padding: 0 2em;
  }

  #navi li {
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
  }

  #navi a {
    font-size: 1.4rem;
    padding: 1em 0;
    display: block;
    color: #333;
  }
}
@media screen and (max-width: 768px) {
  .telbox img {
    width: 240px;
  }
}

section.message-content {
  font-size: 2.2rem;
  line-height: 1.9;
  color: #333;
  background-color: #fff;
  padding: 2rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  font-family: 'Yu Gothic UI', 'Helvetica Neue', sans-serif;
}
section.message-content p {
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
    text-indent: 1em; /* 1文字分の字下げ */
}
section.message-content p:last-of-type {
  font-weight: 600;
  font-size: 1.8rem;
  text-align: right;
  margin-top: 3rem;
}
section.message-content2 {
  font-size: 2.2rem;
  line-height: 1.9;
  color: #333;
  background-color: #fff;
  padding: 2rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  font-family: 'Yu Gothic UI', 'Helvetica Neue', sans-serif;
}
section.message-content2 p {
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  text-indent: 1em; /* 1文字分の字下げ */
}
section.message-content2 p:last-of-type {
  margin-bottom: 2rem;
  letter-spacing: 0.02em;

}
.message-block {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  background-color: #f9f9f9;
  border-left: 6px solid #F28500;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.message-block .label {
  flex: 0 0 120px;
  background-color: #F28500;
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  padding: 1.2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-block .text {
  flex: 1;
  padding: 1.2rem 1.6rem;
  font-size: 2rem;
  line-height: 1.8;
  color: #333;
}

@media screen and (max-width: 768px) {
  .message-block {
    flex-direction: column;
    box-shadow: none;
    border-left: 4px solid #F28500;
  }

.message-block .label {
  font-size: 1.8rem;
  line-height: 1.2;
  padding: 0.3rem 0.6rem;
}

  .message-block .text {
    font-size: 1.8rem;
    padding: 1rem 1.2rem;
    line-height: 1.7;
  }
}
.page-reservation p {
  font-size: 1.6rem;
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

.page-reservation h5 {
  font-size: 1.6rem;
  color: #F28500;
  margin-top: 2rem;
}

.page-reservation .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-reservation .button {
  background-color: #F28500;
  color: #fff;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  margin: 0.4rem;
  display: inline-block;
  text-decoration: none;
}

.page-reservation form label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}

.page-reservation input.full-width,
.page-reservation textarea.full-width {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 1.5rem;
}


.consultation-content {
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  line-height: 1.8;
  font-size: 1em;
}

.intro {
  margin-bottom: 0em;
   font-size: 1.3em;
}

.section-title {
  font-size: 1.3em;
  color: #0077b6;
  border-left: 4px solid #00b4d8;
  padding-left: 0.6em;
  margin: 2em 0 1em;
}

.step-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;

  > li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 2em;

    &::before {
      counter-increment: step;
      content: counter(step) ".";
      position: absolute;
      left: 0;
      top: 0;
      font-weight: bold;
      color: #0077b6;
      font-size: 1.2em;
    }

    h6 {
      font-size: 1.2em;
      color: #023e8a;
      margin-bottom: 0.4em;
    }

    p {
      margin: 0.5em 0 0;
    }
  }
}

.sub-list,
.price-list {
  margin-top: 0.5em;
  padding-left: 1.2em;
  list-style: disc;

  li {
    margin-bottom: 0.4em;
  }
}
.event-info {
  font-size: 1.2em;
  line-height: 1.9;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  padding: 2em;

  .published-date {
    font-size: 1em;
    color: #555;
    margin-bottom: 1em;
  }

  .lead {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 1em;
  }

  h3 {
    font-size: 1.4em;
    color: #0077b6;
    border-left: 5px solid #00b4d8;
    padding-left: 0.6em;
    margin: 2em 0 1em;
  }

  .event-details,
  .application-items {
    list-style: none;
    padding-left: 0;

    li {
      margin-bottom: 1em;

      strong {
        display: inline-block;
        width: auto;
        color: #023e8a;
      }

      a {
        color: #0077b6;
        text-decoration: underline;
      }
    }
  }

  .highlight {
    background-color: #f1faff;
    padding: 1em;
    border-left: 4px solid #00b4d8;
    margin: 1em 0;
    font-weight: bold;
  }

  .deadline {
    font-size: 1.2em;
    font-weight: bold;
    color: #d00000;
    margin: 2em 0 1em;
  }

  .divider {
    border: none;
    height: 4px;
    background: #ccc;
    margin: 2em 0;
  }

  ul {
    padding-left: 1.2em;
    list-style: disc;

    li {
      margin-bottom: 0.5em;
    }
  }
}
.scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.responsive-img {
  width: 800px; /* 固定サイズでもOK */
  max-width: none; /* 拡大を許容 */
  height: auto;
  display: block;
}
.pdf-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em; /* テキストとアイコンの間隔 */
  text-decoration: none;
  color: inherit;
}

.pdf-link svg {
  transform: translateY(8px);
}
.pdf-row,
.email-row {
  display: flex;
  align-items: center; /* 縦位置を揃える */
  gap: 0.2rem;         /* ラベルとアイコンの間に余白 */
}

.pdf-row span,
.email-row span {
  white-space: nowrap; /* 「申込書：」「E-mail：」の改行防止 */
}
.email-row .telbox {
  margin-left: 0; /* ← auto を消すのが最重要 */
}

.email-row .telbox img {
  display: block;
}
