@charset "UTF-8";
/*
Theme Name: makimiyuki
Theme URI: https://makimiyuki.com/
Description: Maki Miyuki theme
*/
/*-------------------------------------------------
⚙️ 変数とMixinの定義（上部にまとめておく）
-------------------------------------------------*/
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
    /* 完全に透明な状態から */
  }
  to {
    opacity: 1;
    /* 滑らかに不透明（表示）にする */
  }
}
/*-------------------------------------------------
📦 common (ベーススタイル)
-------------------------------------------------*/
/* フォント読み込み中は、テキストを含む要素（またはページ全体）を非表示、または透明にする */
.wf-loading body {
  opacity: 0;
}

/* 読み込みが完了したら、0.2秒かけてふわっと表示させる */
.wf-active body {
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* 万が一読み込みがタイムアウト（3秒以上）した場合も、ちゃんと表示させる */
.wf-inactive body {
  opacity: 1;
}

.grecaptcha-badge {
  visibility: hidden;
}

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

svg {
  /* アンチエイリアスを制御し、少し太く見せる */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: #615752;
  transition: 0.3s;
}
a img {
  border: none;
  backface-visibility: hidden;
}
a:hover {
  opacity: 0.7;
  -webkit-tap-highlight-color: rgba(160, 160, 160, 0.54);
}

img {
  width: 100%;
  vertical-align: bottom;
  backface-visibility: hidden;
}

li {
  list-style-type: none;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: clip;
  opacity: 0;
  animation: fadeInAnimation 3s linear forwards !important;
  /*font-size: calc(clamp(0.813rem, 0.76rem + 0.26vw, 1rem));*/
  font-size: 16px;
  margin: 0;
  padding: 0;
  font-feature-settings: "palt";
  color: #615752;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  letter-spacing: 0.04rem;
  line-height: 1.8;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-weight: 800;
  font-style: normal;
  position: relative;
  /* 可読性とシャープさを優先 */
  text-rendering: optimizeLegibility;
  /* もしくは、さらにシャープにする場合 */
  -webkit-font-smoothing: antialiased;
  height: 100%;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html,
body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100%;
  overflow-y: visible;
  overflow-x: clip;
  position: static;
  -webkit-overflow-scrolling: auto;
}

main {
  flex: 1 0 auto !important;
}

h1,
h2,
h3,
h4,
h5 {
  -webkit-font-smoothing: antialiased;
  /* Safari, Chrome (Mac / iOS) 用 */
  -moz-osx-font-smoothing: grayscale;
  /* Firefox (Mac) 用 */
  font-weight: 800;
}

.fadeIn {
  animation: fadeInAnimation 1s forwards;
}

/*-------------------------------------------------
改行タグ (<br>) の制御（Mixinを使ってネスト化）
-------------------------------------------------*/
br.nopc {
  display: none;
}
@media screen and (max-width: 768px) {
  br.nopc {
    display: block;
  }
}
@media screen and (max-width: 550px) {
  br.nopc {
    display: block;
  }
}
br.max768 {
  display: none;
}
@media screen and (max-width: 768px) {
  br.max768 {
    display: block;
  }
}
@media screen and (max-width: 550px) {
  br.nosp {
    display: none;
  }
}

/*-------------------------------------------------
header
-------------------------------------------------*/
.header {
  height: 80px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  background-color: rgba(255, 255, 255, 0.8);
  transition: height 0.3s ease; /* 高さが変わる際のアニメーション */
  /* スマホの3D空間バグによる fixed 解除をガード */
  transform: none;
  box-sizing: border-box;
}
@media screen and (min-width: 551px) {
  .header {
    height: 80px;
  }
}
@media screen and (max-width: 550px) {
  .header {
    height: 80px;
  }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 25px;
  margin: 0 auto;
  box-sizing: content-box;
  width: 100%;
  max-width: 1200px;
}
@media screen and (min-width: 551px) {
  .header__inner {
    max-width: 1200px;
  }
}
.header__inner {
  /* スマホ時はみ出さないよう横幅を内側に収める設定 */
}
@media screen and (max-width: 550px) {
  .header__inner {
    padding: 0 25px;
    box-sizing: border-box;
  }
}
.header__logo img {
  width: auto;
  height: 44px;
}
@media screen and (max-width: 550px) {
  .header__logo img {
    max-height: 50px;
  }
}
.header {
  /* 💡 修正ポイント：ロゴブロックの幅を自動(auto)にし、広がりすぎを防ぐ */
}
.header .header__logo {
  width: auto;
  max-width: 65%;
  /* スマホ画面の65%以上は広がらないように制限 */
}
.header__nav ul {
  display: flex;
  gap: 32px;
}
.header__nav li {
  font-weight: 800;
  font-size: calc(clamp(0.813rem, 0.76rem + 0.26vw, 1rem) - 1px);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
@media screen and (max-width: 900px) {
  .header nav.header__nav {
    display: none;
  }
}
.header {
  /* 💡 追加：3本線ボタン自体が潰れたりはみ出したりしないように固定 */
}
.header .hamburger__menu {
  flex-shrink: 0;
  /* 画面が狭くなっても絶対にサイズを維持する */
  margin-left: auto;
  /* 左側に自動で余白を作り、画面内の右端に寄せる */
}
.header {
  /* 💡 スクロールして「is-animation」がついた時だけ高さを縮める */
}
.header.is-animation {
  height: 60px;
  min-height: 60px;
  background-color: rgba(255, 255, 255, 0.8);
}

.header.is-scrolled .header__logo img {
  max-height: 40px;
}

/* ヘッダーの高さを60pxに縮小 */
.header.is-scrolled {
  height: 60px;
}

/* 通常のナビゲーションを非表示にする */
.header.is-scrolled .header__nav {
  display: none;
}

/* スクロール後にハンバーガーメニューを表示する */
.header.is-scrolled .hamburger {
  display: block;
}

/* ==========================================================================
   スクロールして60px以上になったときのヘッダー（JSと完全連動）
   ========================================================================== */
header,
.header.is-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999999;
  display: flex;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.8);
  transform: none;
}

header.header,
.header,
header.is-animation {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  display: flex;
  opacity: 1;
}

/*-------------------------------------------------
ハンバーガーメニュー
-------------------------------------------------*/
.hamburger {
  display: none;
}
@media screen and (max-width: 900px) {
  .hamburger {
    position: absolute;
    height: 100vh;
    right: 0;
    top: 0;
    z-index: 1000;
  }
}
.hamburger .hamburger__menu {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1000;
}
.hamburger .hamburger__menu .line {
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #666;
  transition: all 0.2s ease;
  z-index: 2000;
}
.hamburger .hamburger__menu .line:nth-of-type(1) {
  top: 0;
}
.hamburger .hamburger__menu .line:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger .hamburger__menu .line:nth-of-type(3) {
  bottom: 0;
}
.hamburger .hamburger__menu.active > .line:nth-of-type(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger .hamburger__menu.active > .line:nth-of-type(2) {
  opacity: 0;
}
.hamburger .hamburger__menu.active > .line:nth-of-type(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}
.hamburger {
  /* ==========================================
     .nav__menu（ここからのネストを修正しました）
  ========================================== */
}
.hamburger .nav__menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  display: flex;
  flex-direction: column;
  background: #e0f0e2;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.hamburger .nav__menu nav {
  z-index: 1001;
  padding: 1.8rem 0 0;
  width: 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
}
.hamburger .nav__menu .nav__menu__wrap {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-top: clamp(3.75rem, 0.632rem + 15.59vw, 8.125rem);
  padding-left: 16.24vw;
  padding-right: 16.24vw;
}
.hamburger .nav__menu {
  /* ─── aタグの指定（ここを綺麗に閉じました） ─── */
}
.hamburger .nav__menu a {
  width: -moz-fit-content;
  width: fit-content;
  display: inline-block;
  color: #666;
  text-decoration: none;
  font-size: clamp(14px, 4.38vw, 17px);
  font-weight: bold;
  line-height: 2.94;
  white-space: nowrap;
}
.hamburger .nav__menu a:hover {
  opacity: 0.7;
  -webkit-tap-highlight-color: rgba(160, 160, 160, 0.54);
}
.hamburger .nav__menu {
  /* ←【修正】ここでしっかりaタグを閉じました！ */
}
.hamburger .nav__menu .humb__logo {
  max-width: 130px;
}
.hamburger .nav__menu {
  /* ─── メニューが開いた時の指定 ─── */
}
.hamburger .nav__menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  background: #e0f0e2;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  white-space: nowrap;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.sns_icon {
  display: flex;
  justify-content: space-between;
  padding-top: clamp(1.875rem, -15.17rem + 72.73vw, 4.375rem);
  max-width: 300px;
  margin: 0 auto;
}

.sns_icon li {
  width: 35px;
}

.sns_icon.pc {
  display: none;
}
@media screen and (min-width: 901px) {
  .sns_icon.pc {
    display: block;
    flex-direction: column;
    width: 30px;
    position: fixed;
    top: calc(50% - 160px);
    transform: translateY(-50%);
    right: 20px;
    z-index: 9999;
  }
}

.sns_icon.pc li {
  width: 30px;
  padding: 15px 0 0;
}

/*.sns_icon.pc li a[href*="instagram"],
.sns_icon.pc li img[src*="icon_insta"] {
    transform: scale(1.6); 
    transform-origin: center; 
}*/
/*-------------------------------------------------
メインイメージ
-------------------------------------------------*/
.mainimage {
  width: 100%;
  position: relative;
  background-color: #e0f0e2;
}
@media screen and (min-width: 551px) {
  .mainimage {
    aspect-ratio: 2/1;
  }
}
@media screen and (max-width: 550px) {
  .mainimage {
    height: 100svh;
  }
}

.mainimage_wrapper {
  position: absolute;
  background-size: cover;
  background-position: center;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
}
@media screen and (min-width: 551px) {
  .mainimage_wrapper {
    background-image: url("img/main_pc.webp");
    padding-top: 80px;
    background-position: top center;
    aspect-ratio: 1106/751;
  }
}
@media screen and (max-width: 550px) {
  .mainimage_wrapper {
    background-image: url("img/main_sp6_2x.webp");
    aspect-ratio: 781/956;
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
  }
}

@media screen and (min-width: 551px) {
  .mainimage__innner {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
    padding-left: 45px;
    padding-right: 45px;
    z-index: 10;
    position: relative;
  }
}

.mainimage__innner .copy {
  max-width: 350px;
  width: clamp(180px, 30vw, 350px);
  /*
  padding-left: clamp(25px, 8vw, 85px);*/
  padding-top: clamp(15px, 11px + 2.8vw, 65px);
  transform: translateY(10px);
  /*animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;*/
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  z-index: 99;
}
@media screen and (max-width: 550px) {
  .mainimage__innner .copy {
    padding: 0;
    max-width: 250px;
    text-align: center;
    position: absolute;
    bottom: 40px;
    left: 50%;
    width: clamp(200px, 20vw, 250px);
    white-space: nowrap;
    transform: translateX(-50%) translateY(0);
    /* animation: fadeUpText 0.8s ease-out forwards;*/
  }
}

.mainimage__innner .copy img {
  width: clamp(161px, 8.26vw + 130px, 249px);
  /*max-height: 249px;
  @include sp-small{
      max-height: 161px;
  }*/
}

.mainimage__innner .copy img {
  padding-right: clamp(30px, 14.8px + 2.25vw, 50px);
}

.mainimage__innner .copy img.copy01 {
  height: clamp(134px, 7.14vw + 107.24px, 210px);
  padding-right: 5px;
}

.mainimage__innner .copy img.copy02 {
  height: clamp(161px, 8.64vw + 128.61px, 253px);
}

.mainimage__innner .copy img.copy03 {
  height: clamp(147px, 7.79vw + 117.77px, 230px);
}

.mainimage__innner .copy img.copy04 {
  height: clamp(107px, 5.92vw + 84.81px, 170px);
}

.mainimage__innner .copy img:nth-child(1) {
  animation-delay: 0.2s;
}

.mainimage__innner .copy img:nth-child(2) {
  animation-delay: 0.5s;
}

.mainimage__innner .copy img:nth-child(3) {
  animation-delay: 1s;
}

.mainimage__innner .copy img:nth-child(4) {
  animation-delay: 1.5s;
}

/* 1. img要素すべてにアニメーションの共通設定を適用 */
.mainimage__innner .copy img {
  opacity: 0; /* 初期状態は透明にしておく */
  animation: maincopy_fadeInUp 1.5s ease forwards;
}

@keyframes maincopy_fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0); /* 本来の位置に着地 */
  }
}
/* ★下から表示させるための新しいアニメーション定義 */
@keyframes fadeUpText {
  0% {
    opacity: 0;
    /* 左右中央(-50%)を維持しつつ、少し下(例: 20px)から開始 */
    transform: translateX(-50%) translateY(20px);
  }
  100% {
    opacity: 1;
    /* 最終地点は左右中央・元の高さ(0) */
    transform: translateX(-50%) translateY(0);
  }
}
.mainimage__innner .title {
  max-width: 350px;
  /* 中央の 25vw を 35vw〜40vw 程度に上げて縮小率を強化 */
  width: clamp(100px, 40vw, 350px);
  /* 上下余白（padding）も縮小率を上げたい場合の調整例 */
  padding-top: clamp(25px, 15vw, 100px);
  padding-bottom: clamp(20px, 6vw, 40px);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.8s;
}
@media screen and (max-width: 768px) {
  .mainimage__innner .title {
    display: none;
  }
}

.mainimage,
main {
  margin-top: 0;
}

/*-------------------------------------------------
ご挨拶
-------------------------------------------------*/
section {
  padding-top: clamp(25px, 12vw, 110px);
  padding-left: 25px;
  padding-right: 25px;
  width: 100%;
  margin: 0 auto;
}
#message {
  background-size: 100% auto;
  background-color: #fff;
  width: 100%;
  position: relative;
  background-repeat: no-repeat;
}
@media screen and (min-width: 551px) {
  #message {
    /* ★白いモヤを少し深め（0%〜40%）まで引っ張る設定に変えます */
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 40%, transparent 70%), url("img/message_back_pc.webp");
    background-repeat: no-repeat, no-repeat;
    /* ★横は中央、縦は上から「75%」の位置に画像を強制配置（確実に下がります） */
    background-position: center top, center bottom;
    /* ★横幅だけを100%にし、縦は自由（はみ出させる）にします */
    background-size: auto, cover;
    padding-bottom: 200px;
  }
}
@media screen and (max-width: 550px) {
  #message {
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 15%, transparent 35%), url("img/message_back_sp.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
  }
}

h3.titleH3 {
  font-family: futura-pt, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.1rem;
}

h2.titleH2 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 500;
  line-height: 1;
  padding-top: clamp(8px, 2vw, 15px);
  padding-bottom: clamp(25px, 8vw, 60px);
  letter-spacing: 0.1rem;
}
@media screen and (min-width: 551px) {
  h2.titleH2 {
    font-size: 36px;
  }
}
@media screen and (max-width: 550px) {
  h2.titleH2 {
    font-size: 24px;
  }
}

#message {
  text-align: center;
}
#message p {
  line-height: 2;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: bold;
}
@media screen and (min-width: 551px) {
  #message p {
    padding-bottom: 50px;
  }
}
@media screen and (max-width: 550px) {
  #message p {
    padding-bottom: 30px;
  }
}
#message .sign {
  max-width: 320px;
  margin: 0 auto;
}
@media screen and (max-width: 550px) {
  #message .sign {
    max-width: 230px;
  }
}

/* アニメーションが始まる前の位置 */
[data-aos=fade-up] {
  transform: translate3d(0, 20px, 0) !important;
  opacity: 0 !important;
}

/* アニメーションが終わって元の位置に収まるとき */
[data-aos=fade-up].aos-animate {
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
}

header.header.is-animation .hamburger__menu {
  top: 23px !important;
}

#message .massage__text {
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (min-width: 551px) {
  #message .massage__text {
    padding-bottom: clamp(180px, 15vw, 300px);
  }
}
@media screen and (max-width: 550px) {
  #message .massage__text {
    padding-bottom: 180px;
  }
}

/*-------------------------------------------------
お知らせ
-------------------------------------------------*/
.news__inner {
  max-width: 850px;
  margin: 0 auto;
}

.news__box {
  display: flex;
}
@media screen and (min-width: 551px) {
  .news__box {
    padding-bottom: 30px;
    margin-bottom: 40px;
    justify-content: flex-start;
    align-items: flex-start;
  }
}
@media screen and (max-width: 550px) {
  .news__box {
    margin-bottom: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.news__box h3 {
  display: inline-block;
  background: #E0F0E2;
  border-radius: 30px;
  padding: 13px 0 10px;
  margin-right: 20px;
  white-space: nowrap;
  text-align: center;
  width: 146px;
  box-sizing: border-box;
  flex-shrink: 0;
  min-width: 146px;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 550px) {
  .news__box h3 {
    margin-bottom: 20px;
  }
}

.news__box .date {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 800;
  font-style: normal;
  margin-right: 15px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  width: 90px;
}

.news_scroll_wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px; /* リストとボタンの間の余白 */
  flex-direction: row-reverse; /* これで左右が逆になります */
  width: 100%;
}

.news_list_container {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
  height: auto !important;
  width: 0;
}
@media screen and (min-width: 551px) {
  .news_list_container {
    max-height: 190px;
  }
}
@media screen and (max-width: 550px) {
  .news_list_container {
    max-height: 230px;
  }
}

.scroll-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  display: block;
  padding: 0;
}

/* 矢印の線を描画 */
.scroll-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px; /* 矢印の幅 */
  height: 10px; /* 矢印の高さ */
  border-top: 2px solid #615752; /* 線の太さと色 */
  border-right: 2px solid #615752; /* 線の太さと色 */
  transform: translate(-50%, -50%) rotate(-45deg); /* 斜めにして「く」の字にする */
  transition: border-color 0.2s;
}

.scroll-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 190px;
  flex-shrink: 0; /* ボタンエリアが縮まないように固定 */
}
@media screen and (max-width: 550px) {
  .scroll-nav {
    height: 230px;
  }
}

/* 下向き矢印（down）の場合の回転 */
.scroll-btn.down::before {
  transform: translate(-50%, -70%) rotate(135deg); /* 回転させて下向きに */
}

/* ホバー時の色変化（任意） */
.scroll-btn:hover::before {
  border-color: #5c5c5c;
}

/* 無効化されたボタンのスタイル */
.up.is-disabled,
.down.is-disabled {
  opacity: 0.3; /* 半透明にする */
  pointer-events: none; /* クリックイベントを完全に無効化する（重要） */
  cursor: default; /* カーソルを標準に戻す */
}

/* （オプション）スクロールバーのデザインを細くしてスタイリッシュにする場合 */
.news__box ul::-webkit-scrollbar {
  width: 4px;
}

.news__box ul::-webkit-scrollbar-thumb {
  background-color: #cccccc;
  border-radius: 3px;
}

.news__box li {
  padding-bottom: 10px;
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  justify-content: space-between; /* 両端に具を広げる（これでボタンが右端にいく） */
  width: 100%;
  height: auto !important;
}
@media screen and (max-width: 550px) {
  .news__box li {
    align-items: flex-start;
    font-size: 14px;
    display: flex;
  }
}

.news__box li a {
  text-decoration: underline;
  display: block;
  flex-grow: 1;
  margin-right: 15px;
  text-align: left;
}

/* 枠の中にあるリスト（ul / li / a）の文字切れを徹底的に防ぐ */
.news_list_container ul,
.news_list_container li,
.news_list_container a {
  /* 高さを固定する命令が他にあれば、すべて解除して自動伸縮にする */
  height: auto !important;
  max-height: none !important;
  /* 2行になったときに文字の上下が絶対に潰れないための行高 */
  line-height: 1.6 !important;
  /* 文字が枠線や次の行にピタッとくっついて切れるのを防ぐための下部余白 */
  padding-bottom: 6px !important;
  /* 中の要素で文字を隠す設定が動いていたら強制解除 */
  overflow: visible !important;
}

/* 記事のリンク（テキスト部分）の文字切れを絶対に防ぐ */
.news_list_container li a {
  display: inline-block !important; /* または block */
  height: auto !important;
  max-height: none !important;
  /* 2行になっても上下が絶対に潰れない行高 */
  line-height: 1.6 !important;
  /* スクロール時に文字の上下が外枠に当たって切れるのを防ぐための安全マージン */
  padding-top: 4px;
  padding-bottom: 6px !important;
  overflow: visible !important;
}
@media screen and (max-width: 550px) {
  .news_list_container li a {
    padding-top: 0 !important;
  }
}

/* もし日付の横幅が潰れる場合は、日付に以下を追加 */
.news__box li time {
  flex-shrink: 0;
  margin-right: 15px; /* タイトルとの隙間 */
}

.news__box.news {
  position: relative;
  /* 必須：ここを基準にする */
}

@media screen and (min-width: 551px) {
  .news_list_container li {
    display: flex;
  }
  .news__box.news::after {
    content: "";
    position: absolute;
    left: 165px;
    /* ここで左から90pxの位置を指定 */
    bottom: 0;
    width: calc(100% - 165px);
    /* 右端まで引く場合は計算で指定 */
    border-bottom: 1px solid #615752;
  }
}
/*-------------------------------------------------
 理念
-------------------------------------------------*/
@media screen and (min-width: 551px) {
  #policy, #contact {
    background-image: url(img/section2_back.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 10px;
  }
}
@media screen and (max-width: 550px) {
  #policy, #contact {
    background-image: url(img/back_2.webp);
    background-repeat: repeat-y;
    padding-bottom: 20px;
  }
}

.policy__inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.title__wrap.roundwhite h2 {
  display: inline-block;
  background: #ffffff;
  border-radius: 30px;
  /* margin-right: 20px;*/
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
  flex-shrink: 0;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 551px) {
  .title__wrap.roundwhite h2 {
    min-width: 300px;
    width: 300px !important;
    padding: 13px 0 10px;
  }
}
@media screen and (max-width: 550px) {
  .title__wrap.roundwhite h2 {
    margin-bottom: 20px;
    padding: 13px 26px 10px;
  }
}

.title__wrap.roundwhite h3 {
  padding-bottom: clamp(10px, 2vw, 20px);
}

@media screen and (min-width: 551px) {
  .policy__inner figure.img1 {
    padding-top: clamp(30px, 12vw, 70px);
  }
}
@media screen and (max-width: 550px) {
  .policy__inner figure.img1 {
    width: 90%;
    margin: 20px auto 0;
  }
}

.policy_bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 45px;
  width: auto;
  padding-top: clamp(30px, 12vw, 70px);
  margin-right: calc(50% - 50vw) !important;
}
@media screen and (max-width: 768px) {
  .policy_bottom {
    display: block;
  }
}

.policy_bttom_wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 45px;
  width: auto;
  padding-top: clamp(30px, 12vw, 70px);
}
@media (max-width: 1000px) {
  .policy_bttom_wrap {
    display: block;
    padding-top: 10px;
  }
}

h3.youmin {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(23px, 2.5vw + 1rem, 28px);
  position: relative;
  font-weight: 400;
  margin-bottom: clamp(20px, 8vw, 30px);
}
@media screen and (max-width: 768px) {
  h3.youmin {
    text-align: center;
  }
}

h3.youmin:after {
  content: "";
  position: absolute;
  left: 0;
  /* ここで左から90pxの位置を指定 */
  bottom: 0;
  width: 100%;
  /* 右端まで引く場合は計算で指定 */
  height: 2px;
  background-image: url(img/line.svg);
  background-repeat: no-repeat;
  background-size: 280px;
}
@media screen and (max-width: 768px) {
  h3.youmin:after {
    background-size: 250px;
    background-position: center;
  }
}

.policy_bottom_txtblock {
  line-height: 2.1;
  flex: 1;
  margin: 0;
  max-width: 660px;
}
@media screen and (max-width: 768px) {
  .policy_bottom_txtblock {
    width: 100%;
    max-width: 100%;
    text-align: justify;
    padding-right: 25px;
  }
}

.policy_bttom_wrap .policy_bottom_txtblock {
  line-height: 2.1;
  flex: 1;
  margin: 0;
  max-width: 480px;
}
@media (max-width: 1000px) {
  .policy_bttom_wrap .policy_bottom_txtblock {
    width: 100%;
    max-width: 100%;
    text-align: justify;
    padding-right: 25px;
  }
}

.policy_bottom_right {
  max-width: 675px;
}
@media (max-width: 1000px) {
  .policy_bottom_right {
    max-width: 100%;
    padding-top: 40px;
  }
}

.policy_bottom_right ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 1000px) {
  .policy_bottom_right ul {
    justify-content: center;
    gap: 0 25px;
  }
}

.policy_bottom_right li {
  width: 320px;
  text-align: center;
  padding-bottom: 45px;
}
@media screen and (max-width: 550px) {
  .policy_bottom_right li {
    padding-bottom: 25px;
  }
}

.policy_bottom_right li:nth-child(n+3), .policy_bottom_right li:last-child {
  padding-bottom: 0;
}
@media screen and (max-width: 550px) {
  .policy_bottom_right li:nth-child(n+3), .policy_bottom_right li:last-child {
    padding-bottom: 25px;
  }
}

.policy_bottom_right h4 {
  border-radius: 30px;
  background-color: #fff;
  padding: 10px 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(21px, 1.8vw + 13px, 23px);
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 15px;
}

.policy_bottom figure {
  flex: 0 0 52%;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 768px) {
  .policy_bottom figure {
    margin: 40px 0 0;
    width: 101vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -53.5vw;
    margin-right: -53.5vw;
  }
}

.policy_bottom figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px 0 0 30px;
}
@media screen and (max-width: 768px) {
  .policy_bottom figure img {
    width: 101%;
    left: -0.5%;
    height: auto;
    display: block;
    border-radius: 0;
    border-radius: 0;
  }
}

.policy_imgback {
  width: 100%;
  background-image: url(img/policy_back_2x.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  aspect-ratio: 33/10;
}
@media screen and (max-width: 550px) {
  .policy_imgback {
    background-image: url(img/policy_back_sp_2x.webp);
    aspect-ratio: 13/10;
  }
}

.btn {
  border-radius: 30px;
  color: #fff;
  font-size: 18px;
  background: #615752;
  padding: 10px 20px 8px;
  transition: 0.3s;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}
.btn a {
  color: #fff;
  padding: 10px 20px 8px;
}
.btn:hover {
  background: #8c7f79;
}
@media screen and (max-width: 768px) {
  .btn {
    margin-top: 25px;
    font-size: 16px;
  }
}

.btn a::after {
  content: "▶︎";
  font-size: 0.8em;
  margin-left: 5px;
}

.policy_value {
  margin-top: clamp(30px, 12vw, 80px);
  padding-bottom: clamp(50px, 4.24vw + 34.1px, 120px);
}

.policy_value.pdb {
  padding-bottom: clamp(20px, 1.24vw, 120px);
}

.policy_value ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media screen and (max-width: 550px) {
  .policy_value ul {
    display: block;
  }
}

.policy_value li {
  width: 48%;
  background-color: #fff;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 30px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  margin: 0 0 30px;
}
@media screen and (max-width: 550px) {
  .policy_value li {
    width: 100%;
  }
}

.policy_value h3 {
  margin: 0 0 40px !important;
}

.policy_value li h4 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(21px, 1.8vw + 13px, 23px);
  text-align: center;
  font-weight: 400;
  padding-bottom: 15px;
}
@media screen and (max-width: 550px) {
  .policy_value li h4 {
    letter-spacing: 0.01em;
    line-height: 1.5;
  }
}

h3.youmin.center {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(23px, 2.5vw + 1rem, 28px);
  position: relative;
  font-weight: 400;
  margin-bottom: clamp(20px, 8vw, 30px);
  text-align: center;
}
@media screen and (max-width: 768px) {
  h3.youmin.center {
    text-align: center;
  }
}

h3.youmin.center:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-image: url(img/line.svg);
  background-repeat: no-repeat;
  background-size: 300px;
  background-position: center;
}
@media screen and (max-width: 768px) {
  h3.youmin.center:after {
    background-size: 280px;
  }
}

/*-------------------------------------------------
実績
-------------------------------------------------*/
#achievements {
  background: #E0F0E2;
  padding-left: 0;
  padding-right: 0;
  padding-top: clamp(25px, 12vw, 110px);
}
@media screen and (max-width: 550px) {
  #achievements {
    padding-bottom: 40px;
  }
}

#achievements .title__wrap + p, #contact .title__wrap + p {
  text-align: center;
  margin: clamp(15px, 4.61vw + 4.74px, 60px);
  padding: 0 10px;
}
@media screen and (max-width: 550px) {
  #achievements .title__wrap + p, #contact .title__wrap + p {
    text-align: center;
    margin: 5px 0 15px;
  }
}

.achievements__inner {
  width: 100%;
  padding-top: clamp(30px, 12vw, 70px);
}

.achievements__inner ul {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .achievements__inner ul {
    display: block;
  }
}

.achievements__inner li {
  width: 33.3333%;
  position: relative;
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 768px) {
  .achievements__inner li {
    width: 100%;
    margin: 0 0 60px;
  }
}

@media screen and (max-width: 768px) {
  .achievements__inner li:last-child {
    margin: 0;
  }
}

.achievements__item-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.achievements__txtbox {
  padding: 25px 28px 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}
@media screen and (max-width: 768px) {
  .achievements__txtbox {
    padding: 25px 28px 10px;
  }
}

.achievements__txtbox::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 1px;
  background-color: #fff;
}

li:last-child .achievements__txtbox::after {
  display: none;
}

.achievements__txtbox p {
  text-align: justify;
}

.achievements__inner li h4 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(20px, 1.25vw + 14.5px, 27px);
  position: relative;
  font-weight: 400;
  margin-bottom: clamp(15px, 8vw, 20px);
  line-height: 1.4;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .achievements__inner li h4 {
    text-align: center;
  }
}

.achievements__inner li figure.num {
  position: absolute;
  width: 85px;
  margin: 0 auto;
  top: -70px;
  left: 0;
  right: 0;
}
@media screen and (max-width: 768px) {
  .achievements__inner li figure.num {
    width: 75px;
    top: -60px;
  }
}

/*-------------------------------------------------
 プロフィール
-------------------------------------------------*/
#profile {
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 550px) {
  #profile {
    padding-bottom: 30px;
  }
}

.title__wrap.roundwhite.green h2 {
  background: #e0f0e2;
}

.profile__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.profile__flex {
  display: flex;
  justify-content: flex-start;
  padding-top: clamp(20px, 5vw, 70px);
}
@media screen and (max-width: 550px) {
  .profile__flex {
    display: block;
  }
}

.profile__flex figure {
  max-width: 600px;
  width: 100%;
}
@media screen and (min-width: 551px) {
  .profile__flex figure {
    padding: 0 50px 0 0;
  }
}

.profile__flex figure img {
  border-radius: 30px;
}

@media screen and (max-width: 550px) {
  .profile__txtbox {
    padding: 25px 0 0;
  }
}

.profile__txtbox h2 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 38px;
  font-weight: 400;
}

.profile__txtbox h2 rt {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 0.8rem;
  margin-bottom: 0.4em;
  ruby-align: center;
}

p.affiliation {
  border: 1px solid #615752;
  display: inline-block;
  border-radius: 30px;
  padding: 5px 15px 5px;
  font-size: 16px;
}

.profile__txtbox p + p {
  margin: 25px 0 0;
}

.profile_sns {
  display: flex;
  margin: 60px 0 0;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 550px) {
  .profile_sns {
    margin: 30px 0 0;
  }
}

.profile_sns_titile {
  background-color: #e0f0e2;
  display: inline-block;
  border-radius: 30px;
  padding: 5px 15px 5px;
  font-size: 16px;
  align-self: flex-start;
}
@media screen and (max-width: 550px) {
  .profile_sns_titile {
    display: none;
  }
}

.profile_sns .sns_icon {
  padding: 0;
  gap: 15px;
  margin: initial;
}

/*-------------------------------------------------
 活動報告
-------------------------------------------------*/
#activities {
  padding: 0;
  margin: 100px 0 0;
  position: relative;
  z-index: 1;
  background-color: #e0f0e2;
}
@media screen and (max-width: 550px) {
  #activities {
    margin: 50px 0 0;
  }
}

.activities__back {
  width: 100%;
  padding: 0 0 40px;
}
@media screen and (max-width: 768px) {
  .activities__back {
    padding: 0;
  }
}

.activities__warp {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
  position: relative;
  margin: 0 auto 100px;
  box-sizing: content-box;
}
@media screen and (max-width: 768px) {
  .activities__warp {
    padding: 0;
    margin: 40px auto 0;
  }
}

.curved-background {
  width: 100%;
  height: 200px; /* 弧の深さを調整 */
  display: block;
  position: absolute;
  left: 0;
  top: -100px;
  background-color: #e0f0e2;
  z-index: -1;
}
@media screen and (max-width: 550px) {
  .curved-background {
    top: -50px;
  }
}

#activities .title__wrap {
  padding: clamp(0px, 5vw, 80px) 0;
}

/* ラジオボタンを隠す */
#activities input[type=radio] {
  display: none;
}

/* コンテンツの初期状態は非表示 */
.tab-content {
  display: none;
  opacity: 0;
  animation: fadeInAnimation 1s forwards;
}

/* 選択されたタブに対応するコンテンツを表示 */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  opacity: 1;
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 30px;
  padding: 0 35px 35px;
  box-sizing: border-box;
  background-color: #fff;
  position: relative;
}
@media screen and (max-width: 768px) {
  #tab1:checked ~ #content1,
  #tab2:checked ~ #content2,
  #tab3:checked ~ #content3,
  #tab4:checked ~ #content4 {
    border-radius: 0;
  }
}

/* タブのラベルを囲うコンテナ */
.tab-labels {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* すべてのタブのラベルの基本スタイル */
.tab-labels label {
  cursor: pointer;
  background: #ccc;
  border-radius: 30px 30px 0 0;
  transition: background 0.3s;
  width: clamp(150px, 20vw, 200px);
  text-align: center;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 57px;
  line-height: 1.2;
  padding: 10px clamp(18px, 2.5vw, 30px) 8px;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  .tab-labels label {
    min-height: 40px;
    border-radius: 15px 15px 0 0;
    width: 24%;
    padding: 5px 5px 3px;
    font-size: 16px;
  }
}
@media screen and (max-width: 550px) {
  .tab-labels label {
    font-size: 15px;
  }
}

/* 選択されたタブのスタイル（ここを全タブ分指定します） */
#tab1:checked ~ .tab-labels label[for=tab1],
#tab2:checked ~ .tab-labels label[for=tab2],
#tab3:checked ~ .tab-labels label[for=tab3],
#tab4:checked ~ .tab-labels label[for=tab4] {
  background: #fff; /* 選択時の色（白） */
}

.tab_con_frex ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .tab_con_frex ul {
    display: block;
  }
}

.tab_con_frex li {
  width: 48%;
  padding-top: 35px;
}
@media screen and (max-width: 768px) {
  .tab_con_frex li {
    width: 100%;
  }
}

.tab_con_li_frex {
  display: flex;
}

@media screen and (min-width: 551px) {
  .tab_con_li_frex figure {
    aspect-ratio: 270/150;
    width: 51.33%;
  }
}
@media screen and (max-width: 550px) {
  .tab_con_li_frex figure {
    width: 45%;
  }
}

.tab_con_li_frex figure img {
  width: 100%;
  aspect-ratio: 9/5;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 30px;
  -o-object-position: center top;
     object-position: center top;
}
@media screen and (max-width: 550px) {
  .tab_con_li_frex figure img {
    aspect-ratio: 155/116;
    border-radius: 20px;
  }
}

.tab_con_li_frex P, .post_text_block {
  padding-left: 20px;
}
@media screen and (min-width: 551px) {
  .tab_con_li_frex P, .post_text_block {
    width: 47.67%;
  }
}
@media screen and (max-width: 550px) {
  .tab_con_li_frex P, .post_text_block {
    width: 55%;
  }
}

.post_text_block h3 {
  line-height: 1.4;
}
@media screen and (max-width: 550px) {
  .post_text_block h3 {
    font-size: 16px;
  }
}

.tab_con_li_frex.video figure img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.activities_btn {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: -moz-fit-content;
  width: fit-content; /* 中身のサイズに合わせる */
}
@media screen and (max-width: 768px) {
  .activities_btn {
    position: relative;
    bottom: 0;
    margin: 25px auto 15px;
    left: 0;
    transform: translateX(0);
  }
}

@media screen and (max-width: 768px) {
  .activities__warp_sp {
    background-color: #fff;
    padding-bottom: 40px;
  }
}

/*-------------------------------------------------
お問い合わせ
-------------------------------------------------*/
/* ラジオボタンを強制的に表示させるためのCSS */
.contact__form__wrap input[type=radio] {
  display: inline-block !important;
  margin-right: 0;
}

.wpcf7 fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

/* テーブル全体の設定 */
.form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
@media screen and (max-width: 550px) {
  .form-table {
    margin-bottom: 0;
  }
}

/* ラベル（左側）の設定 */
.form-table th {
  width: 210px; /* 必要に応じて調整してください */
  text-align: center;
  padding: 15px 10px;
  vertical-align: top;
  font-weight: bold;
  color: #615752;
  font-size: 18px;
}
@media screen and (max-width: 550px) {
  .form-table th {
    text-align: left;
    padding: 0;
    font-size: 13px;
  }
}

.wpcf7-list-item {
  margin-right: 20px;
  font-size: 18px;
}
@media screen and (max-width: 550px) {
  .wpcf7-list-item {
    font-size: 14px;
  }
}

/* 入力エリア（右側）の設定 */
.form-table td {
  padding: 15px 10px;
  vertical-align: middle;
}
@media screen and (max-width: 550px) {
  .form-table td {
    padding: 5px 0 20px;
  }
}

/* 入力欄（input, textarea）共通のデザイン */
.wpcf7-form-control {
  width: 100%;
  padding: 10px;
  border: none;
  box-sizing: border-box; /* paddingを含めて幅を計算 */
  font-size: clamp(0.813rem, 0.76rem + 0.26vw, 1rem);
}

input:-webkit-autofill {
  background-color: #f0f0f0;
}

input:autofill {
  background-color: #f0f0f0;
}

/* 必須マークのスタイル */
.required {
  color: #e00;
  margin-left: 5px;
  font-size: 80%;
}

/* 年齢入力欄の幅を調整（必要であれば） */
.age_text {
  width: 200px !important;
}

/* お問い合わせ内容の入力枠の縦幅を広げる */
.wpcf7-form textarea {
  height: 250px !important; /* 好みに合わせて数値を変更してください（初期値は通常100〜150pxほど） */
  line-height: 1.5;
}

/* 送信ボタンのスタイル（HTMLにボタンが含まれていない場合、適宜作成してください） */
.wpcf7-submit {
  background-color: #615752 !important;
  color: #fff;
  padding: 15px 40px;
  border: none;
  cursor: pointer;
  display: block;
  margin: 20px auto;
  width: 500px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 20px;
}
@media screen and (max-width: 550px) {
  .wpcf7-submit {
    width: 300px;
    padding: 8px 40px;
  }
}

/* エラーがある入力欄（テキストボックスや選択肢）の枠線を赤く太くする */
.wpcf7-form .wpcf7-not-valid {
  border: 1px solid #b64848 !important;
  background-color: #c76565 !important; /* 背景もほんのり薄ピンクに */
}

/* 各入力欄のすぐ下に表示される「入力してください」の文字を赤く目立たせる */
.wpcf7-not-valid-tip {
  color: #b64848 !important;
  font-size: 0.9em !important;
  font-weight: bold !important;
  margin-top: 5px !important;
  display: block !important;
}

/* フォーム上部（および下部）に表示されるエラーメッセージの箇条書きリストを非表示にする */
.wpcf7-response-output ul,
.wpcf7-response-output li {
  display: none !important;
}

/* 「入力内容に問題があります。」という1行の警告文だけは残す */
.wpcf7-response-output {
  display: none !important;
}

/* 送信完了後フォーム非表示 */
form.sent table, form.sent .submit-box {
  display: none;
}

@media screen and (max-width: 550px) {
  .form-table th, .form-table td {
    display: block;
    width: 100%;
  }
}
.screen-reader-response {
  text-align: center;
}

/* Cloudflare Turnstile バッジの中央寄せ */
.cf7-cf-turnstile {
  text-align: center;
  margin-bottom: -70px !important;
}

/* 1. お問い合わせフォーム上部のバッジを非表示にする */
.wpcf7-form > div:first-of-type .wpcf7-turnstile {
  display: none !important;
}

/* フォーム直下のTurnstile要素（iframe）のみを非表示にする */
.wpcf7-form .cf-turnstile,
.wpcf7-form iframe[src*="challenges.cloudflare.com"] {
  display: none !important;
}

/* 送信完了メッセージ（wpcf7-response-output）は必ず表示する */
.wpcf7 form.sent .wpcf7-response-output {
  display: block !important;
}

.wpcf7 form .wpcf7-response-output {
  border: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: none;
  text-align: center;
}

.contact-text {
  font-size: 19px;
}
@media screen and (max-width: 550px) {
  .contact-text {
    font-size: 15px;
  }
}

.wpcf7-radio {
  padding: 0;
  margin-left: -20px !important;
}
@media screen and (max-width: 550px) {
  .wpcf7-radio {
    margin-left: -10px !important;
  }
}

.form-table td span.age {
  padding-left: 10px;
}
@media screen and (max-width: 550px) {
  .form-table td span.age {
    font-size: 13px;
    display: inline-block;
    padding-left: 10px;
  }
}

/*-------------------------------------------------
footer
-------------------------------------------------*/
footer {
  width: 100%;
  flex-shrink: 0 !important;
}

.copyright {
  padding-bottom: 30px;
  padding-top: 100px;
  text-align: center;
  font-size: 12px;
}
@media screen and (max-width: 550px) {
  .copyright {
    font-size: 10px;
    padding-top: 30px;
  }
}

/*-------------------------------------------------
活動報告一覧ページ
-------------------------------------------------*/
.postcate_nav {
  padding-top: 20px;
  padding-bottom: 40px;
}

.postcate_nav ul {
  display: flex;
  gap: 30px;
  justify-content: flex-start;
}
@media screen and (max-width: 550px) {
  .postcate_nav ul {
    overflow-x: auto; /* 横方向にはみ出たらスクロールさせる */
    white-space: nowrap; /* 子要素の文字を絶対に改行させない */
    -webkit-overflow-scrolling: touch; /* スマホでのスクロールを滑らかにする */
    /* スクロールバーを非表示にする設定 */
    scrollbar-width: none; /* Firefox用 */
    -ms-overflow-style: none; /* IE, Edge用 */
    padding-bottom: 10px;
    gap: 20px;
  }
}

/* Chrome, Safari, Blink系ブラウザでスクロールバーを非表示にする */
@media screen and (max-width: 550px) {
  .postcate_nav ul::-webkit-scrollbar {
    display: none;
  }
}

.postcate_nav a {
  transition: none;
}

.postcate_nav ul li {
  flex-shrink: 0;
}

/* アクティブ時、およびホバー（マウスを乗せた時）のスタイル */
.postcate_nav ul li.active a {
  color: #615752;
  border-bottom: 1px solid #615752;
  padding-bottom: 8px;
}

/* .grid_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px 0;
  }*/
.grid_container {
  display: grid;
  /* 4列で固定し、自動で詰め込みます */
  grid-template-columns: repeat(4, 1fr);
  gap: 35px 25px;
  min-height: auto;
  align-content: start;
  width: 100%;
}

/* カードの崩れを防ぐ */
.grid_container > a {
  display: block;
  width: 100%;
  margin: 0;
}

.card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card_image {
  background-color: #E0F0E2;
  aspect-ratio: 8/7;
  border-radius: 20px;
  width: 100%;
  margin-bottom: 12px;
  overflow: hidden;
}
@media screen and (max-width: 550px) {
  .card_image {
    margin-bottom: 5px;
  }
}

.card_image img {
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 8/7;
  -o-object-position: center;
     object-position: center;
}

.card_title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  line-height: 1.5;
}
@media screen and (max-width: 550px) {
  .card_title {
    font-size: 16px;
    line-height: 1.3;
  }
}

.card_date {
  font-size: 12px;
  color: #666;
  margin: 4px 0 0 0;
}

/* 親要素（サムネイルの枠） */
.video_thumb {
  position: relative;
  display: inline-block; /* または block（デザインに合わせて調整） */
  overflow: hidden;
}

/* サムネイル画像が枠線からはみ出さないように調整 */
.video_thumb img {
  display: block;
  width: 100%;
  height: auto;
}

#custom-load-more-btn {
  display: none !important;
}

#activities-ajax-container {
  min-height: 100vh;
}

@media (max-width: 768px) {
  .grid_container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 15px;
  }
}
/*-------------------------------------------------
活動報告詳細ページ
-------------------------------------------------*/
/* --- カテゴリーラベルのデザイン --- */
article {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: clamp(25px, 12vw, 110px);
  padding-left: 25px;
  padding-right: 25px;
}

.single {
  padding-top: clamp(25px, 12vw, 110px);
  padding-left: 25px;
  padding-right: 25px;
  padding-left: 0 !important;
}

.entry_category a {
  display: inline-block;
  background-color: #615752;
  color: #fff;
  padding: 5px 25px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* --- タイトルと日付 --- */
.entry_title {
  font-size: 28px;
  margin-bottom: 0;
  line-height: 1.3;
}

.entry_date {
  display: block;
  color: #888;
  margin-bottom: clamp(30px, 3vw + 20px, 80px);
}

/* --- コンテンツエリア --- */
.entry_content {
  line-height: 1.8;
}

.entry_content .post_text {
  padding-bottom: 50px;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 2;
}

.entry_content .post_text a {
  text-decoration: underline;
}

/* 画像1: 幅いっぱい */
.wp-block-image {
  padding-bottom: 25px;
}

.entry_content .wp-block-image.alignfull img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 25px;
  border-radius: 30px;
}

/* 画像2: 2枚横並び */
.entry_content .wp-block-columns {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: stretch;
}

.entry_content .wp-block-columns {
  flex: 1;
}

.entry_content .wp-block-columns img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}

.video-container {
  padding-bottom: 20px;
}

.video-container {
  width: 100% !important;
  max-width: 800px !important; /* 好みの最大幅 */
  margin: 0 auto !important; /* 左右中央揃え */
  padding-top: 0 !important; /* 以前の余白を完全にリセット */
  height: auto !important;
}

.video-container iframe {
  width: 100% !important;
  height: auto !important; /* 高さを自動（横幅に連動）にする */
  aspect-ratio: 16/9 !important; /* iframe自体に16:9の比率を強制する */
}

.post-btn_wrap {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 9rem auto 5rem;
}

.post-btn_wrap .post-btn_active {
  border-bottom: 1px solid #615752;
}

.post-btn_wrap .post-btn_active:hover {
  opacity: 0.7;
}/*# sourceMappingURL=style.css.map */