/*
Theme Name: 水沢こども園 テーマ
*/
@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');
/* reset css
==============================================================*/
body,
h1, h2, h3, h4, h5, h6,
p, ol, ul, dl, dt, dd, form,
figure {
  margin: 0;
  padding: 0;
  font-family: Zen Kaku Gothic New , 游ゴシック Medium, YuGothic, YuGothicM, Hiragino Kaku Gothic ProN, メイリオ, Meiryo, sans-serif;
}
p,li,dd{
  text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

table, td, th, tr, thead, tbody {
  border: none;
}

table th {
  text-align: left;
  font-weight: normal;
}

table {
  border-collapse: collapse;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
}

a:hover{
  transition : 0.5s;
}

a img {
  border: none;
}

img {
  vertical-align: bottom;
}

textarea {
  font-size: 1em;
  border: none;
  border-radius: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

select {
  font-size: 1em;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
select::-ms-expand {
  display: none;
}

header, footer, section, nav, main,
figure, figcaption, time, small {
  display: block;
}

input[type=submit], input[type=image] {
  border: none;
  padding: 0;
}
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password] {
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
}

button {
  border: none;
  margin: 0;
  cursor: pointer;
  outline: none;
}

input[type=submit], input[type=image], input[type=reset] {
  cursor: pointer;
  font-family: 游ゴシック Medium, YuGothic, YuGothicM, Hiragino Kaku Gothic ProN, メイリオ, Meiryo, sans-serif;
}

address {
  font-style: normal;
}

/*=====================================*/
/*=ページサイズ全体設定=*/
html{
  scroll-behavior: smooth;
  font-size: 20px;
  background-color: #FDFBEF;
}
.wrap90{
  width: 90%;
  margin: auto;
}
/* flex指定 */
.flexbox{
  display: flex;
  flex-wrap:wrap;
}
.flexbox_right{
	justify-content: flex-end;
}
.flexbox_reverse{
	flex-direction: row-reverse;
}
.flexbox_between{
	justify-content: space-between;
}
.flexbox_around{
	justify-content: space-around;
}
.flexbox_aligncenter{
  align-items: center;
}
.flexbox_alignend{
  align-items: flex-end;
}
.flexbox_wrap{
	flex-wrap: wrap;
}
.flexbox_flex1{
  flex: 1;
}
/*=フォント設定=*/
.font_maru{
	font-family: "Zen Maru Gothic", sans-serif;
}
.red{
  color: #C60101;
}
.bold{
    font-weight: bold;
}
.center{
  text-align: center;
}
.right{
  text-align: right;
}
.font_12,.small{
  font-size: 0.6rem !important;
}
.font_14{
  font-size: 0.7rem;
}
.font_18{
  font-size: 0.9rem;
}
.font_30{
  font-size: 1.5rem;
}
/*=幅設定=*/

.width_10{
  width: 10%;
}
.width_19{
  width: 19%;
}
.width_25{
  width: 25%;
}
.width_100{
  width: 100%;
}
/* ＝＝ */
.width_p80{
  width: 80px;
}
.width_p100{
  width: 100px;
}
.width_p130{
  width: 130px;
}
.width_p170{
  width: 170px;
}
.width_p240{
  width: 240px;
}
.width_p400{
  width: 400px;
}
/* ＝＝ */
.padding_t_80{
  padding-top: 80px !important;
}

/*=共通ボタンデザイン=*/
.parts_button{
	border:  2px solid;
	padding: 2px 20px 2px 20px;
	display: inline-block;
	border-radius: 8px;
	font-weight: 500;
  border-color: #1564D0;
	color: #1564D0;
  text-align: center;
  box-sizing: border-box;
  background-color: #fff;
}
.parts_button:hover{
	background-color: #203744;
  border-color: #203744;
	color: #fff;
	opacity: 1.0;
  transition : 0.5s;
}
/* ボタン　肯定 */
.parts_button.button_true{
  background-color: #1564D0;
  color: #fff;
  font-size: 16px;
}
.parts_button.button_true:hover{
  background-color: #203744;
}
/* ボタン　否定 */
.parts_button.button_false{
  background-color: #ccc;
  border-color: #ccc;
  color: #333;
}
.parts_button.button_false:hover{
  background-color: #aaa;
  border-color: #aaa;
  color: #000;
}
/* ボタン　肯定否定ボタン幅調整 */
.button_true.width_100,
.button_false.width_100{
  padding-left: 0;
  padding-right: 0;

}
/* .parts_button::after{
	content: "〉";
	padding-left: 20px;
} */
.parts_button_light{
	border-color: #fff;
	color: #fff;
}
.parts_button_light:hover{
	background-color: #fff;
	color: #203744;
	opacity: 1.0;
  transition : 0.5s;
}

/*=共通バッジデザイン=*/
.parts_badge{
  color: #fff;
  font-weight: 500;
  border-radius:10px;
  padding: 0 16px !important;
  line-height: 1.5em !important;
  font-size: 12px;
  text-align: center;
}
.parts_badge_red{
  background-color: #D10B12;
}
.parts_badge_bluegray{
  background-color: #667A8B;
}
/*=共通バッジデザイン=*/
.parts_badgetitle{
  color: #fff;
  font-weight: 500;
  padding: 0 8px !important;
  line-height: 1.5em !important;
  font-size: 12px;
  text-align: center;
  background-color: #65676A;
  margin-right: 8px;
}
/*=共通入力デザイン=*/
.parts_text{
  border: #ccc solid 1px;
  padding: 3px;
  border-radius: 4px;
}
/*=====================================*/
/* ここからサイトの基本構造 (ヘッダーとスクロール設定) */
/* =========================================
   ヘッダーのスタイル
========================================= */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
  z-index: 1000;
  transition: background-color 0.4s ease;
  background-color: transparent; 
}

/* スクロール時のクラス（JSで付与） */
#main-header.scrolled {
  background-color: #ffffff; 
  border-bottom: 1px solid #ddd; 
  background-image: url(./img/back_sp_logo.png);
  background-repeat: no-repeat;
  background-size: contain;
}
#main-header.scrolled .header-add{
  background: none;
}

/* メニュー開いた時（スマホ用）の強制白背景 */
#main-header.menu-open {
  background-color: #ffffff;
}

.header-logo {
  display: flex;
  align-items: flex-end;
  text-decoration: none;width: 23%;
  padding-left: 2%;
  box-sizing: border-box;
}

.header-menu-container {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}
.header-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0 24px;
  padding-left: 10px;
}
.header-nav a {
  text-decoration: none;
  padding: 10px 0;
  -webkit-text-stroke: 3px rgba(255,255,255,1.0);
  text-stroke: 3px rgba(255,255,255,1.0);
  paint-order: stroke;
}

    /* --- ドロップダウンメニューのスタイル --- */
    .has-dropdown {
      position: relative;
    }
    /* 下向き矢印を追加 */
    .dropdown-toggle::after {
      font: var(--fa-font-solid);
      content: " \f150";
      /* content: ' ▼'; */
      font-size: 18px;
      /* vertical-align: middle; */
      color: #069DC3;
      padding-left: 4px;
      /* opacity: 0.7; */
    }
    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(10px);
      background-color: #ffffff;
      min-width: 200px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
      padding: 10px 0;
      margin: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0;
      
      /* 初期状態は非表示 */
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 1002;
    }
    /* PCホバー時に表示 */
    @media (min-width: 992px) {
      .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        /* transform: translateX(-50%) translateY(0); */
      }
    }
    .dropdown-menu{
      padding-left: 0 !important;
    }
    .dropdown-menu li {
      width: 100%;
    }
    .dropdown-menu a {
      padding: 12px 20px;
      color: #333;
      font-size: 14px;
      text-align: center;
      transition: background-color 0.2s;
      display: block;
      border-radius: 4px;
    }
    .dropdown-menu a:hover {
      background-color: #f5f5f5;
    }


.header-phone {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* メニュー展開時の背景スクロール防止 */
body.no-scroll {
  overflow: hidden;
}

/* =========================================
   レスポンシブ
========================================= */
@media (max-width: 1125px) {
  #main-header {
  padding: 0 20px;
  background-color: #fff;
  background-image: url(./img/back_sp_logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  }

  .hamburger {
   display: block;
  }

  .header-menu-container {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: #ffffff;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
  box-sizing: border-box;
  gap: 40px;
  overflow-y: auto;
  
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  }

 .header-menu-container.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  }

  .header-logo{
    width: 210px;
  }
 .header-nav {
  flex: none;
  width: 100%;
  justify-content: center;
  }
 .header-nav ul {
  flex-direction: column;
  align-items: center;
  gap: 20px;
  /* margin-left: 15px; */
  padding-left: 0 !important;
  }
 
 .header-nav a {
  padding: 10px 20px;
  display: block;
  text-align: center;
  }

      /* スマホ用ドロップダウン調整 */
      .has-dropdown {
        width: 100%;
      }
      .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none; /* JSで開閉制御 */
        background-color: #f9f9f9;
        width: 100%;
        padding: 0;
        margin-top: 10px;
      }
      .dropdown-menu.is-open {
        display: flex; /* 開いた時 */
      }
      /* 開いている時の上向き矢印 */
      .dropdown-toggle.is-active::after {
        content: ' ▲';
      }




}

    /* =========================================
       ヒーロースライダー（全画面スライドショー）
    ========================================= */
    .hero-slider {
      position: relative;
      width: 77%;
      height: 90vh;
      background-color: #eee;
      overflow: hidden;
      border-bottom-left-radius: 60px;
    }

    .hero-slider img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      visibility: hidden;
      transition: opacity 1.5s ease-in-out, visibility 1.5s;
      z-index: 1;
    }

    .hero-slider img.is-active {
      opacity: 1;
      visibility: visible;
      z-index: 2;
    }

    /* スライダー上のオーバーレイ（文字を見やすくする暗い網掛け） */
    .slider-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* background-color: rgba(0, 0, 0, 0.05); */
      z-index: 3;
      pointer-events: none; /* クリックをすり抜けさせる */
    }

    /* スライダーコントロール（矢印ボタン） */
    .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.4);
      color: #fff;
      border: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      z-index: 10;
      transition: background-color 0.3s;

      display: none;
    }
    .slider-btn:hover { background-color: rgba(0, 0, 0, 0.7); }
    .slider-btn-prev { left: 20px; }
    .slider-btn-next { right: 20px; }
    
    .slider-btn::before {
      content: '';
      display: block;
      width: 12px;
      height: 12px;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
    }
    .slider-btn-prev::before { transform: rotate(-135deg); margin-left: 6px; }
    .slider-btn-next::before { transform: rotate(45deg); margin-right: 6px; }

    /* インジケーター（下部のドット） */
    .slider-dots {
      position: absolute;
      bottom: 30px;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 12px;
      z-index: 10;
      padding: 0;
      margin: 0;
      list-style: none;
    }
    .slider-dot {
      width: 12px;
      height: 12px;
      background-color: rgba(255, 255, 255, 0.5);
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .slider-dot.is-active { background-color: #fff; }

    /* スクロールを促すアイコン */
    .scroll-down {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      color: #fff;
      font-size: 14px;
      text-align: center;
      pointer-events: none;

      display: none;
    }
    .scroll-down::after {
      content: '';
      display: block;
      width: 2px;
      height: 40px;
      background-color: #fff;
      margin: 10px auto 0;
      animation: scrollAnim 2s infinite;
    }
    @keyframes scrollAnim {
      0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
      50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
      50.1% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
      100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
    }




/*=====================================*/

/* スライドショー部分調整 */
.wrap_slider{
  background-image: url(./img/back_kv.jpg);
  background-repeat: no-repeat;
  background-size: cover;background-position: right;
  position: relative;
}
.wrap_slider::before{
  content: "";
  position: absolute;
  width: 255px;
  height: 190px;
  background-image: url(./img/deco01.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 999;
  bottom: -130px;
  right: 20px;
}
.parts_catch{
  width: 23%;
  padding-left: 2%;
  padding-top: 100px;
  box-sizing: border-box;
}
.title_kv{
  font-size: 4rem;
  font-weight: 500;
  color: #fff;
}

/* ヘッダー */
.header-add{
  background-color: #fff;
  height: 80px;
  border-bottom-left-radius: 40px;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}
.header-add ul{
  height: 80px;
  box-sizing: border-box;
}
.head_li{
  align-items: center;
  gap: 10px 10px;
}
.header-phone{
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1em;
  color: #333;
}
.fa-square-phone{
  color: #069DC3;
}
.btn_inst{
  font-size: 1.2rem;
  background-color: #D42B6C;
  color: #fff;
  display: block;
  border-radius: 30px;
  width: 42px;
  height: 42px;
  line-height: 42px;
}
.header-nav a{
  color: #333;
  font-weight: 500;
}
.header-logo a{
  display: block;
  width: 188px;
}
.header-logo img{
  width: 100%;
  height: auto;
}

/*=====================================*/
/* メインコンテンツ部分 */
.wrap_cont{
  /* max-width: 1258px; */
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-top: 140px;
  /* overflow: hidden; */
}
.head_kv{
  text-align: center;
  font-size: 2rem;
  margin-bottom: 70px;
  font-weight: 500;
  color: #069DC3;
}
.wrap_cont p{
  line-height: 1.8em;
}
.wrap_cont p + p{
  margin-top: 20px;
}


/* 見出し */
.head_sub{
  font-size: 2rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #069DC3;
  margin-bottom: 80px;
}

/* リンクボタン */
.link_box_center,
.link_box_left{
  gap: 20px 20px;
  margin-top: 60px;
}
.link_box_center{
  justify-content:center;
  
}
.link_box_left{
  justify-content:left;
}
.link_arrow{
  border-bottom: 3px solid #069DC3;
  display: block;
  min-width: 230px;
  box-sizing: border-box;
  padding: 8px 16px;
  display: flex;
  justify-content:space-between;
  align-items: center;
  color: #333;
  font-weight: 500;
}
.link_arrow i{
  color: #069DC3;
}
.link_arrow:hover{
  background-color: rgba(231,241,243,0.5);
  transition : 0.5s;
  border-radius: 4px 4px 0 0;
}

/* メッセージ */
.wrap_kv p{
  line-height: 3em;
}

/* お知らせ */
.wrap_news{
  background-color: #fff;
  position: relative;
  margin-top: 300px;
  padding-bottom: 120px;
}
.wrap_news::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 188px;
  background-image: url(./img/back_news.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  top: -188px;
}
.wrap_news .wrap_cont{
  padding-top: 0;
  position: relative;
}
.wrap_news .wrap_cont::after{
  content: "";
  position: absolute;
  width: 255px;
  height: 190px;
  background-image: url(./img/deco02.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 999;
  top: -220px;
  left: -150px;
}
.cont_news{
  gap: 100px 2%;
}
.parts_news{
  width: 49%;
}
.head_news{
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #069DC3;
  font-size: 1.5rem;
  margin-bottom: 26px;
}
.list_news li{
  border-bottom: 1px solid #D8D8D8;
}
.list_news li a{
  display: block;
  box-sizing: border-box;
  padding: 8px 4px;
  color: #333;
}
.list_date{
  display: flex;
  font-weight: 500;
  gap: 5px 10px;
  align-items: baseline;
}
.cat_list{
  display: flex;
  flex-wrap: wrap;
  gap: 3px 4px;
}
.list_news li a:hover{
  background-color: #f5f5f5;
  transition : 0.5s;
}
.list_news .cat_item{
  padding: 3px 8px 2px 8px;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 0.7rem;
  white-space: nowrap;
  color: #fff;
  /* margin-right: 14px; */
}
.list_news .cat_item.c_blog{
  background-color: #e98400;
}
.list_news .cat_item.c_news{
  background-color: #03a9b2;
}
.list_news .cat_item.c_event{
  background-color: #3a835e;
}
.list_news .cat_item.c_tsubomi{
  background-color: #db246d;
}



/* コンテンツ01 */
.wrap_cont01{
  position: relative;
  padding-bottom: 300px;
}
.wrap_cont01::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 250px;
  background-image: url(./img/back_cont.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  top: 0;
}
.wrap_cont01::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 250px;
  background-image: url(./img/back_cont_bottom.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  bottom: 0;
}
.wrap_cont01 .wrap_cont{
  padding-top: 250px;
}

.img_deco{
  position: relative;
}
.img_deco::after{
  content: "";
  position: absolute;
  width: 255px;
  height: 190px;
  background-image: url(./img/deco03.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 999;
  bottom: -40px;
  right: -95px;
}

/* コンテンツ02 */
.wrap_cont02{
  padding-bottom: 120px;
}
.wrap_cont02 .wrap_cont{
  position: relative;
}
.wrap_cont02 .wrap_cont::before{
  content: "";
  position: absolute;
  width: 255px;
  height: 250px;
  background-image: url(./img/deco04.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 999;
  left: -170px;
  top: -100px;
}

/* 装飾画像 */
.back_img{
  width: 100%;
  height: 480px;
  display: block;
  background-image: url(./img/img_back.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
}
.back_img::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 10px;
  background-image: url(./img/img_back_deco.png);
  /* background-size: contain; */
  background-repeat: repeat-x;
  background-position: top center;
  bottom: -1px;
}

/* 連絡先 */
.wrap_add{
  margin-top: 155px;
  background-color: #fff;
  padding: 70px 165px 90px 165px;
  box-sizing: content-box;
  border-radius: 40px;
}
.wrap_add .head_sub{
  margin-bottom: 60px !important;
}
.wrap_add iframe{
  width: 100%;
  height: 560px;
  margin-top: 60px;
}

/* フッター */
.wrap_foot{
  background-color: #069DC3;
  position: relative;
  margin-top: 250px;
  padding-bottom: 80px;
}
.wrap_foot::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 190px;
  background-image: url(./img/back_footer.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  top: -185px;
}
.wrap_foot .wrap_cont{
  padding-top: 60px;
}
.wrap_foot .wrap_cont p{
  color: #fff;
}
.nemu_foot{
  background-color: #fff;
  padding: 18px 20px;
  box-sizing: border-box;
  align-items: center;
  border-radius: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
  gap: 20px 20px;
}
.nemu_foot a{
  color: #333;
  font-weight: 500;
}

/* バナー */
.link_banner a img{
  width: 100%;
  height: auto;
}

/* コンテンツ分割 */
.cont_div50{
  gap: 30px 4%;
}
.parts_div50{
  width: 48%;
  align-self :flex-start;
}
.parts_div50 img{
  width: 100%;
  height: auto;
  border-radius: 30px;
}

/*=====================================*/
/* コンテンツページ */
.content_page .wrap_pagemenu{
  padding-top: 0;
}
.content_page .wrap_pagemenu .flexbox{
  gap: 20px 10px;
}
.content_page .wrap_pagemenu a{
  display: block;
  background-color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #333;
  border: 2px solid #FFAE75;
  border-bottom: 6px solid #FFAE75;
  border-radius: 20px;
  padding: 10px 14px;
}
.content_page .wrap_pagemenu a:hover{
  border-bottom: 2px solid #FFAE75;
  border-top: 4px solid #FFAE75;
}
.content_page .wrap_pagemenu a i{
  color: #FFAE75;
}

.content_page .wrap_pagemenu .now a{
  background-color: #fd832d;
  border: 2px solid #e36409;
  border-bottom: 6px solid #e36409;
  color: #fff;
}
.content_page .wrap_pagemenu .now a:hover{
  border-bottom: 2px solid #e36409;
  border-top: 4px solid #e36409;
}
.content_page .wrap_pagemenu .now a i{
  color: #fff;
}

/* ページタイトル */
.wrap_pagetitle{
  background-image: url(./img/back_page_cont.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  padding-top: 180px;
  padding-left: 10%;
  padding-right: 10%;
  box-sizing: border-box;
  height: 480px;
}
.head_pagetitle{
  color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 3rem;
  -webkit-text-stroke: 8px rgba(0,157,195,1);
  text-stroke: 8px rgba(0,157,195,1);
  paint-order: stroke;
}

/* コンテンツ　見出し */
.wrap_page h1,
.wrap_page h2,
.wrap_page h3,
.wrap_page h4,
.wrap_page h5,
.wrap_page h6{
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #069DC3;
  margin-top: 2.5em;
  margin-bottom: 1em;
}

   /* --- 見出し (h3〜h6) --- */
    
    /* h3: コンテンツ内の大見出し（角丸背景＋おひさまアイコン） */
    .wrap_page h1,
    .wrap_page h2,
    .wrap_page h3 {
        position: relative;
        background-color: #fef3dd;
        color: #d74c68;
        font-size: 1.5rem;
        padding: 0.8em 1em 0.8em 2.5em;
        border-radius: 20px;

        box-shadow: 0 3px 0 #ffb24796;
    }
    .wrap_page h1::before,
    .wrap_page h2::before,
    .wrap_page h3::before {
        font-family: "Font Awesome 7 Free";
        font-weight: 900;
        content: "\f185";
        position: absolute;
        top: 1.1em;
        left: 0.8em;
        color: #ffa600;
    }


 

    /* h4: コンテンツ内の中見出し（波線＋肉球アイコン） */
    .wrap_page h4 {
        position: relative;
        font-size: 1.25rem;
        font-weight: 500;
        color: #4075d6;
        border-bottom: 3px dashed #a0d8ef;
        padding-bottom: 0.5em;
        padding-left: 2em;
        margin-top: 2em;
        margin-bottom: 1em;
    }
    .wrap_page h4::before {
        font-family: "Font Awesome 7 Free";
        font-weight: 900;
        content: "\f1b0";
        position: absolute;
        top: 0.2em;
        left: 0.2em;
        color: #68c5ea;
    }

    /* h5: コンテンツ内の小見出し（ふたばアイコン） */
    .wrap_page h5 {
        position: relative;
        font-size: 1.2rem;
        font-weight: 500;
        color: #4d8b32;
        padding-left: 1.8em;
        margin-top: 1.8em;
        margin-bottom: 0.8em;
    }
    .wrap_page h5::before {
        font-family: "Font Awesome 7 Free";
        font-weight: 900;
        content: "\f4d8";
        position: absolute;
        top: 0.3em;
        left: 0;
        color: #93c47d;
    }

    /* h6: 最も小さな見出し（吹き出し・バッジ風） */
    .wrap_page h6 {
        display: inline-block;
        font-size: 1rem;
        font-weight: 500;
        color: #fff;
        background-color: #ffa600;
        padding: 0.4em 1em;
        border-radius: 15px;
        margin-top: 1.5em;
        margin-bottom: 0.5em;
    }

    /* 最初の見出しの上余白を消す（レイアウト崩れ防止） */
    .wrap_page > h3:first-child,
    .wrap_page > h4:first-child,
    .wrap_page > h5:first-child,
    .wrap_page > h6:first-child {
        margin-top: 0;
    }


    /* --- リスト (ul, ol) --- */
    
    .wrap_page ul,
    .wrap_page ol {
        margin-top: 0;
        margin-bottom: 1.5em;
        padding-left: 0;
    }

    /* 箇条書きリスト (お星さま) */
    .wrap_page ul li {
        position: relative;
        list-style-type: none;
        padding-left: 1.8em;
        margin-bottom: 0.6em;
    }
    .wrap_page ul li::before {
        font-family: "Font Awesome 7 Free";
        font-weight: 900;
        content: "\f005"; /* fa-star */
        position: absolute;
        left: 0;
        top: 0.3em;
        color: #f1c40f; /* ピカピカの黄色 */
        font-size: 0.9em;
    }

    /* 番号付きリスト (丸くて可愛い数字) */
    .wrap_page ol {
        counter-reset: num;
    }
    .wrap_page ol li {
        position: relative;
        list-style-type: none;
        padding-left: 2.2em;
        margin-bottom: 0.8em;
    }
    .wrap_page ol li::before {
        counter-increment: num;
        content: counter(num);
        position: absolute;
        left: 0;
        top: 0;
        width: 1.6em;
        height: 1.6em;
        background-color: #a0d8ef; /* 水色 */
        color: #fff;
        border-radius: 50%;
        text-align: center;
        line-height: 1.6em;
        font-weight: 500;
        font-size: 0.9em;
    }

    /* 最後のアイテムの下余白を消す */
    .wrap_page li:last-child {
        margin-bottom: 0;
    }

    /* ネストされたリストの余白調整 */
    .wrap_page li > ul,
    .wrap_page li > ol {
        margin-top: 0.4em;
        margin-bottom: 0;
    }


    /* --- テーブル (table) --- */
    .wrap_page table,
    .wp-block-flexible-table-block-table table{
        width: 100%;
        border-collapse: separate !important;
        border-spacing: 0;
        margin-top: 40px;
        margin-bottom: 1.5em;
        font-size: 0.95rem;
        border-radius: 12px;
        overflow: hidden; /* 角丸をはみ出させない */
        border: 2px solid #ffdfdf !important;
    }

    .wrap_page th,
    .wrap_page td {
        padding: 12px 15px !important;
        text-align: left;
        border-top: 0 !important;
        border-left: 0 !important;
        border-bottom: 1px solid #ffdfdf !important;
        border-right: 1px solid #ffdfdf !important;
        vertical-align: top !important;
    }
    
    .wrap_page th:last-child,
    .wrap_page td:last-child {
        border-right: none;
    }
    .wrap_page tr:last-child td {
        border-bottom: none;
    }

    .wrap_page th {
        background-color: #fff0f0 !important; /* ヘッダーは淡いピンク */
        font-weight: 500 !important;
        color: #d74c68 !important;
        /* white-space: nowrap; */
    }
    
    .wrap_page td {
        background-color: #fff9f9 !important;
    }
    .wrap_page table strong{
font-weight: 500 !important;
        color: #d74c68 !important;
    }

    /* テーブルがスマホで画面外にはみ出さないようにするラッパー設定 */
    /* ※HTML側で <div class="table-scroll"><table>...</table></div> のように囲む必要があります */
    .wrap_page .table-scroll {
        overflow-x: auto;
        margin-bottom: 1.5em;
    }
    .wrap_page .table-scroll table {
        margin-bottom: 0;
    }

    .has-text-align-center{
      text-align: center !important;
    }
    .has-text-align-right{
      text-align: right !important;
    }

    /* --- 水平線 (hr) --- */
    
    .wrap_page hr {
        border: 0;
        border-top: 3px dotted #61c3db;
        margin: 3em auto;
        border-radius: 2px;
        max-width: 600px;
    }

/* ページ内　画像レイアウト */
.wrap_page a{
  color: #1564D0;
}
.wrap_page a:hover{
  background-color: #dbecf0;
	opacity: 1.0;
  transition : 0.5s;
}

/* ページ内　画像レイアウト */
.wrap_page .alignleft{
  display: block;
  float: left;
  margin: 20px 40px 0 0;
}
.wrap_page .alignright{
  display: block;
  float: right;
  margin: 20px 0 0 40px;
}
.wrap_page .aligncenter{
  display: block;
  text-align: center;
  margin: 20px auto 30px auto;
}
.wp-block-image{
  margin-bottom: 30px;
}
.alignleft img,
.alignright img,
.aligncenter img,
.wp-block-image img,
img.size-full{
  max-width: 100%;
  height: auto;
}

/* ページ内　引用 */
blockquote{
  background-color: #f4f4ed;
  padding: 20px 40px;
  box-sizing: border-box;
  margin: 30px auto;
}


/* 子ページ　タイトル */
.wrap_page .head_page_child_title{
  font-size: 2.5rem;
  margin-top: 0 !important;
  margin-bottom: 60px;
  border-bottom: 4px double #5AD8D3;
  position: relative;
  background: none !important;
  color: #069DC3;
  margin-top: 2.5em;
  margin-bottom: 1em;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  padding-bottom: 10px;
}
.wrap_page .head_page_child_title::before{
  display: none;
}
.wrap_page .head_page_child_title::after {
  content: "";
  position: absolute;
  width: 175px;
  height: 130px;
  background-image: url(./img/deco01.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 999;
  bottom: -20px;
  right: 0px;
}

/* パンくずリスト */
.wrap_breadcrumb{
  background-color: #fff;
  margin-top: 80px;
}
.wrap_breadcrumb .wrap_cont{
  padding: 10px 0;
}
.breadcrumbs a,
.breadcrumbs span{
  color: #333;
  font-weight: 500;
  font-size: 0.8rem;
}
.breadcrumbs i{
  font-size: 0.8rem;
  color: #069DC3;
  margin-left: 10px;
  margin-right: 10px;
}

/* ページ装飾調整 */
.content_page .back_img{
  height: 280px;
}
.content_page .wrap_add{
  margin-top: 70px;
}
.content_page .wrap_add iframe{
  height: 260px;
}

/* アーカイブページ */
.wrap_archive{
  gap: 20px 2%;
  padding-top: 0 !important;
}
.cont_archive{
  width: 78%;
}
.cont_sub_archive{
  width: 20%;
}
.parts_archive{
  background-color: #fff;
  border-radius: 30px;
  padding: 30px 40px 50px 40px;
  box-sizing: border-box;
}
.parts_archive .head_page_child_title{
  font-size: 2rem;
  margin-bottom: 10px;
}
.parts_archive p,
.parts_archive li,
.parts_archive dd{
  text-align:inherit;
}
.parts_archive img{
  margin-top: 20px;
  margin-bottom: 20px;
}
.parts_archive + .parts_archive{
  margin-top: 40px;
}
.wrap_archive .head_page_child_title::after{
    width: 105px;
    height: 90px;
}
.parts_archive .head_page_child_title + .list_news{
  line-height: 1em;
  margin-bottom: 30px;
}
.return_top{
  margin-top: 60px;
}
.return_top .link_arrow{
  justify-content: left;
}

/* ウィジェット */
ul.sidebar .widget_block{
  padding-left: 0;
  padding-bottom: 30px;
}
ul.sidebar .widget_block::before{
  display: none;
}
ul.sidebar .wp-block-heading{
  padding: 4px 14px;
  margin-top: 0;
  font-size: 1.2rem;
}
ul.sidebar .wp-block-heading::before{
  display: none;
}
.wp-block-group li{
  font-size: 0.8rem;
}

/* アコーディオン */
    .wrap_page h3.wp-block-accordion-heading{
      background-color: #fff;
      font-size: 1.2rem;
      padding: 0 !important;
      border: 2px solid #ffa600;
      border-radius: 10px;
    }
    .wp-block-accordion-heading__toggle{
      padding: 0 !important;
    }
    .wrap_page h3.wp-block-accordion-heading::before{
      display: none;
    }
    .wp-block-accordion-panel{
      background-color: #fff;
      padding: 10px;
      box-sizing: border-box;
      border-radius: 10px;
    }
    .wp-block-accordion-heading__toggle-title{
      padding: 4px 10px;
    }

    .wp-block-accordion-heading__toggle:hover,
    .wp-block-accordion-heading__toggle-title:hover{
      text-decoration: none !important;
    }

/*=====================================*/
/* ページネーション */
.parts_pagenation .page-numbers{
	padding: 8px;
	background-color: #E6EAE3;
	color: #999;
}
  .parts_pagenation .page-numbers.dots{
    background-color: #fff;
    border: 1px solid #ccc;
  }
.parts_pagenation a.page-numbers{
	border: 1px solid #00a497;
	box-sizing: border-box;
	background-color: #fff;
	text-decoration: none;
	color: #00a497;
}

/*=====================================*/
/* --- Contact Form 7 カスタムデザイン --- */
.cf7-custom-form {
  max-width: 600px;
  margin: 80px auto 0 auto;
}

.cf7-custom-form .form-item {
  margin-bottom: 24px;
}

.cf7-custom-form .form-label {
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 0.95em;
}

.cf7-custom-form .badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px; 
  font-size: 0.75em;
  font-weight: normal;
  margin-left: 10px;
  color: #fff;
  letter-spacing: 0.5px;
}

.cf7-custom-form .badge.required {
  background-color: #f28b82; 
}

.cf7-custom-form .badge.optional {
  background-color: #a0c4c4; 
}

.cf7-custom-form input[type="text"],
.cf7-custom-form input[type="email"],
.cf7-custom-form input[type="tel"],
.cf7-custom-form select,
.cf7-custom-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px; 
  background-color: #fafafa;
  font-size: 1em;
  color: #333;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.cf7-custom-form select {
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23cccccc%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: 12px auto;
  padding-right: 40px;
}

.cf7-custom-form textarea {
  min-height: 150px;
  resize: vertical;
}

.cf7-custom-form input[type="text"]:focus,
.cf7-custom-form input[type="email"]:focus,
.cf7-custom-form input[type="tel"]:focus,
.cf7-custom-form select:focus,
.cf7-custom-form textarea:focus {
  border-color: #e29b9b; 
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(226, 155, 155, 0.2);
}

.cf7-custom-form ::placeholder {
  color: #bbb;
}

.cf7-custom-form .form-submit {
  text-align: center;
  margin-top: 30px;
}

.cf7-custom-form input[type="submit"] {
  background-color: #e29b9b; 
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 6px; 
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 250px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin: 0 auto;
  display: block;
}

.cf7-custom-form input[type="submit"]:hover {
  background-color: #d68585; 
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(214, 133, 133, 0.2);
}

.cf7-custom-form .wpcf7-not-valid-tip {
  color: #f28b82;
  font-size: 0.85em;
  margin-top: 5px;
}
.cf7-custom-form .wpcf7-response-output {
  border-radius: 6px;
  margin-top: 20px;
  padding: 15px;
  font-size: 0.9em;
  border: 1px solid #f28b82;
}


/*=====================================*/
/* モーダル共通css */

/* これが無いとモーダルウィンドウ表示の際に余白が出る */
*{
  margin: 0;
  padding: 0;
}

/* モーダル全体(背景＋本体) */
.modal{
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
  z-index: 9999;
}

/* モーダル背景 */
.modal-bg{
  position: absolute;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
}

/* モーダル本体 */
.modal-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: scroll; /* はみ出た部分はスクロールさせる */
  height: 80%;/* これが無いと「overflow:scroll」が利かない */
  width: 60%;/* これが無いと「overflow:scroll」が利かない */
  background: white;
  padding: 40px;
}
.modal_completion .modal-content{
  width: 30%;
  height: 39%;
}

/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}

/*=====================================*/
@media screen and (min-width:310px) and ( max-width:1708px) {
  /* .parts_catch,
  .header-logo{
    width: 20%;
  }
  .hero-slider {
    width: 80%;
  } */
  .header-phone{
    font-size: 1.3rem;
  }
  .header-nav ul{
    flex-wrap:wrap;
    gap: 0 16px;
    letter-spacing: -0.05em;
  }
	/* KV調整 */
  .title_kv{
    font-size: 3.1rem;
  }
}
@media screen and (min-width:310px) and ( max-width:1589px) {
  .wrap_pagetitle{
    padding-left: 0%;
    padding-right: 0%;
  }
  .wrap_pagetitle .head_pagetitle{
    padding-left: 5%;
    padding-right: 5%;
    max-width: 100%;
  }
}
@media screen and (min-width:310px) and ( max-width:1450px) {
  .img_deco::after{
    bottom: -80px;
    right: -5px;
  }
}
@media screen and (min-width:310px) and ( max-width:1390px) {

  .header-nav ul{
    flex-wrap:wrap;
    gap: 0 16px;
  }
	/* KV調整 */
  .title_kv{
    font-size: 2.8rem;
  }
  /* コンテンツの幅調整 */
  .wrap_cont,
  .wrap_add{
    padding-left: 5%;
    padding-right: 5%;
    max-width: 100%;
  }
  .wrap_add{
    margin-left: 5%;
    margin-right: 5%;
  }
  .wrap_news .wrap_cont::after{
    left: -10px;
  }
  .wrap_cont02 .wrap_cont::before{
    left: -20px;
    top: -170px;
  }

  .wrap_breadcrumb .wrap_cont{
    padding-left: 5%;
        padding-right: 5%;
  }
}

@media screen and (min-width:310px) and ( max-width:1088px) {
  /* KV調整 */
  .parts_catch{
    width: 30%;
  }
  .hero-slider{
    width: 70%;
    height: 80vh;
  }
  /* コンテンツの幅調整 */
  .parts_div50{
    width: 58%;
  }
  .parts_div50 + .parts_div50{
    width: 38%;
  }

}

@media screen and (min-width:310px) and ( max-width:940px) {
  .cont_archive,
  .cont_sub_archive{
    width: 100%;
  }
  .parts_archive .head_page_child_title{
    font-size: 1.6rem;
  }
  .parts_archive .head_page_child_title::after{
    width: 105px;
    height: 80px;
    right: -30px;
  }
  .return_top{
    margin-top: 30px;
    margin-bottom: 40px;
  }
}

.sp_br{
  display: none;
}
@media screen and (min-width:310px) and ( max-width:820px) {
  /* br */
  .sp_br{
    display:block;
  }
  /* KV調整 */
  .kv_br{
    display: none;
  }
  .wrap_kv p {
    line-height: 2em;
  }
  .wrap_slider{
    flex-direction:column;
    align-items: flex-end;
    background-position: center;
  }
  .parts_catch{
    width: 100%;
    padding-bottom: 20px;
  }
  .hero-slider{
    width: 95%;
    height: 60vh;
    /* max-height: 600px; */
    border-top-left-radius: 60px;
  }
  .title_kv {
    font-size: 2.3rem;
    line-height: 1.2em;
  }
  .parts_catch{
    padding-left: 6%;
  }

  /* コンテンツの幅調整 */
  .parts_div50,
  .parts_div50 + .parts_div50{
    width: 100%;
  }

  /* トップのお知らせ */
  .parts_news{
    width: 100%;
  }
  /* 見出し */
  .wrap_page .head_page_child_title{
    font-size: 2rem;
  }
  .wrap_page .head_page_child_title::after{
    width: 105px;
    height: 70px;
  }

}

@media screen and (min-width:310px) and ( max-width:666px) {
	/* スマホサイズ */

  /* KV調整 */
  .head_kv,
  .wrap_kv p {
    text-align: left;
  }
  .wrap_kv p br{
    display: none;
  }
  .wrap_kv .link_box_center {
    justify-content:flex-start;
  }

  /* 装飾調整 */
  .wrap_slider::before{
    bottom: -90px;
    right: 0;
    width: 165px;
    height: 140px;
  }
  .wrap_news .wrap_cont::after{
    width: 165px;
    height: 120px;
    top: -150px;
  }
  .img_deco::after{
    width: 155px;
    height: 150px;
  }
  .wrap_cont01::before{
    background-position: top left;
  }
  .wrap_cont02 .wrap_cont::before{
    width: 175px;
    height: 180px;
    top: -90px;
  }
  /* フォント */
  .font_30{
    font-size: 1.2rem;
  }
  .head_sub{
    font-size: 1.7rem;
  }
  /* お知らせ */
  .wrap_news{
    padding-top: 80px;
    margin-top: 200px;
  }
  .wrap_news::before{
    background-size: 100%;
    background-position: center bottom;
    height: 78px;
    top: -77px;
  }
  .list_news li a{
    flex-direction:column;
  }

  /* 画像調整 */
  .wrap_page .alignleft,
  .wrap_page .alignright,
  .wrap_page .aligncenter{
    float: none;
    width: 100%;
    height: auto;
    margin: 40px 0;
  }

  /* アーカイブページ */
  .parts_archive .head_page_child_title{
    font-size: 1.3rem;
  }
  .parts_archive .head_page_child_title::after{
    display: none;
  }
  .parts_archive{
    padding: 30px 20px 40px 20px;
  }

  /* 見出し */
  .wrap_page .head_page_child_title{
    font-size: 1.8rem;
  }
  .wrap_page .head_page_child_title::after{
    display: none;
  }


}