@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
margin:0 auto;
}
body {
  color: #2a3c4c;
  font-size: 1.6em;
  font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "sans-serif";
  line-height: 1.8;
  background-color: #fff;
	margin:0 auto;
}
h1 {
  font-size: 3.6rem;
}
h2 {
  position: relative;
  padding: 30px 65px;
  text-align: center;
}
h2:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: #3D5B81;
}
h2 span {
  position: relative;
  padding: 0 1em;
  background: #fff;
}
h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 50px auto 30px;
  text-align: center;
}
h4 {
  font-size: 1.6rem;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: #333;
}
a:hover {
  opacity: 0.5;
  border: none;
}
.bold {
  font-weight: 600;
  font-size: 2.0rem;
}
.none {
  display: none;
}
dt {
  font-weight: 600;
}
@media (max-width: 768px) {
  h2 {
    position: relative;
    padding: 0;
    text-align: center;
  }
  dd {
    margin: 0;
    padding: 0;
  }
	  p {
    font-size: 1.6rem;
  }
}
@media (max-width: 428px) {
  h2 {
    font-size: 1.8rem;
    position: relative;
    padding: 0;
    text-align: center;
  }
  p {
    font-size: 1.4rem;
  }
}
/*----------------------------------------
	全体
----------------------------------------*/
/*全体のサイト幅など指定*/
.container {
  max-width: 1280px;
  background: #fff;
  color: #10273a;
	margin: 0 auto;
}
/*コンテンツの枠指定*/
.contents {
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 4px;
  background: #fff;
  border-radius: 10px;
}
/*本文ここからー*/
/*== ヘッダー追従のためのCSS */
#header {
  position: fixed; 
  top: 0; 
  width: 100%; 
  color: #fff;
  text-align: center;
  z-index: 999;
}
.header__box {
  display: flex;
  width: auto;
  justify-content: space-between; 
  align-items: center; 
  margin: 0 auto;
}
/*----------------------------------------
	ヘッダー
----------------------------------------*/
/* 1. 全体のラッパー */
.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
}
/* 2. 左側のマーク画像 */
.header__left img {
  margin: 1.5rem 0.5rem 0;
}
/* 3. 中央部分 */
.header__center {
  display: flex;
  flex-direction: column; 
  justify-content: space-between; 
  align-items: flex-end;
  flex: 1 1 auto; 
}
.header__center nav {
  display: flex;
  flex-direction: column; 
  align-items: flex-end; 
}
.header__center a:hover {
  text-decoration: underline; 
  color: #2B3D4E;
}
/* 上段：リンクメニュー */
.top-list {
  display: inline-flex; 
  gap: 10px; 
  list-style: none;
  padding: 0;
  margin: 0;
}
.top-list i {
  color: #e66b89;
  margin-right: 5px;
}
.top-list a {
  font-size: 1.2rem; 
  text-decoration: none;
  color: #2B3D4E;
  margin-right: 20px;
}
/* 下段：メインメニュー */
.bottom-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end; 
  gap: 5px; 
  max-width: 900px; 
  margin: 0 auto;
  padding-top: 15px;
}
.bottom-list li {
  flex: 1 1 auto; 
}
.menu-item {
  display: block; 
  text-align: center; 
  font-size: 1.6rem; 
  padding: 0 12px;
}
/* ホバー時のアンダーライン */
.menu-item {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.menu-item::after {
  content: ""; 
  position: absolute;
  left: 0;
  bottom: -5px; 
  width: 100%;
  height: 5px;
  background-color: #e66b89;
  transform: scaleX(0);
  transform-origin: center; 
  transition: transform 0.3s ease-out;
  display: block;
}
.bottom-list a:hover .menu-item::after {
  transform: scaleX(1);
}
.bottom-list li + li {
  position: relative;
}
.bottom-list li + li::before {
  content: "";
  display: block;
  height: 1em;
  border-left: 1px solid #999;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}
nav a .sub-text {
  display: block; 
  width: auto;
  font-size: 1rem; 
  color: #777; 
}
/* 4. 右側（意見箱） */
.header__right {
  flex-direction: column;
  flex: 0 0 auto; 
  display: flex;
  align-items: center;
}
.header__button {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  background-color: #3D5B81; 
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}
.header__button:hover {
  background-color: #005bb5; 
}
.button-icon {
  width: auto; 
  height: auto;
  margin-top: 10px; 
}
/*========= ナビゲーションのためのCSS ===============*/
@media (max-width: 940px) {
  .header__center nav, .header__right {
    display: none; 
  }
  .header__left img {
    margin: 10px 0 0 3px;
    width: 60%;
  }
  #g-nav {
    display: block; 
    position: fixed;
    z-index: 999;
    top: -120%;
    right: 0;
    width: 60%;
    height: 80vh; 
    background: #f1f8ff;
    transition: all 0.6s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    top: 0;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 50%;
    height: 45vh; 
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 45%;
    left: 45%;
    transform: translate(-50%, -50%);
  }
  #g-nav .top-list {
    display: none;
  }
  /*リストのレイアウト設定*/
  #g-nav li {
    list-style: none;
    text-align: center;
  }
  #g-nav li a {
    text-decoration: none;
    padding: 10px 0;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }
.menu-item {
  display: block; 
  text-align: center; 
  font-size: 1.6rem; 
}
  .bottom-list li + li::before {
    display: none;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 9999; 
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}
/*----------------------------------------
	ヘッダー固定
----------------------------------------*/
@media (max-width: 428px) {
  .header__wrapper {
    position: fixed;
    width: 100%;
    height: 70px;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
}
@media (min-width: 429px) and (max-width: 767px) {
  .header__wrapper {
    position: fixed;
    width: 100%;
    height: 70px;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
}
/*----------------------------------------
	戻るボタン
----------------------------------------*/
/*リンクの形状*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #3D5B81;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  color: #3D5B81;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 2rem;
  transition: all 0.3s;
}
#page-top a:hover {
  background: #fff;
}
/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 5%;
  bottom: 15%;
  z-index: 2; 
  opacity: 0;
  transform: translateY(100px);
}
/*　上に上がる動き　*/
#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}
#page-top a i {
  transform: rotate(-90deg); 
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*　下に下がる動き　*/
#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}
@media (max-width: 428px) {
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #3D5B81;
  border-radius: 8px;
  width: 25px;
  height: 35px;
  color: #3D5B81;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s;
}
}	
/*----------------------------------------
	フッター
----------------------------------------*/
.footer {
  background-image: url("/wp-content/themes/wakate/img/footer_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #3D5B81; 
  padding: 30px 0; 
}
.footer_box {
  display: block;
  width: auto;
  text-align: center;
  color: white;
}
.footer_box p {
  font-size: 1.2rem;
}
.footer_box .sp-hide {
  display: none;
}
.footer__contents {
  max-width: 80%;
  display: flex;
  justify-content: space-between; 
  align-items: stretch; 
  gap: 10px;
  color: #fff;
  margin: 20px auto 40px;
}
.footer_item {
  flex: 1; 
  padding: 15px;
  margin-bottom: 10px; 
  line-height: 5.0rem; 
  color: #fff;
}
.footer_item img {
  max-width:300px;
  margin:0 auto 40px;
}
.footer_item i {
  margin-right: 10px;
}
.footer_item h4 {
  margin: 0;
}
.footer_item a{
	color:#fff;
}
.footer_item:nth-child(2) {
  margin-left: 40px;
  font-weight: 600;
  text-align: left;
}
.footer_item:nth-child(3) {
  margin-left: 0;
  text-align: left;
  line-height: 3.0rem; 
}
@media screen and (max-width: 768px) {
  .footer__contents {
    background-size: contain; 
    background-position: right center; 
    max-width: 100%; 
    display: block;
    text-align: center;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem; 
    margin: 0 auto;
    padding: 10px;
  }
  .footer_box {
    display: block;
    width: auto;
    text-align: center;
    background-color: #3d5b81;
    color: white;
  }
  .footer_box p {
    padding-top: 10px;
    font-size: 0.8rem;
  }
  .footer_item {
    flex: 1; 
    margin: 0;
    padding: 0;
  }
  .footer_item ul li {
    font-size: 90%;
    border-top: 1px dashed #fff;
  }
  .footer_item li:last-child {
    border-bottom: 1px dashed #fff;
  }
  .footer_item img {
    max-width: 90%;
    margin: 0 auto 30px; 
  }
  .footer_item:nth-child(2) {
    font-size: 1.6rem;
    display: block; 
    text-align: center;
    margin: 0 0 30px;
    padding: 0;
  }
  .footer_item:nth-child(3) {
    font-size: 1.2rem;
    line-height: 2.0rem;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  .sp-hide {
    display: inline; 
  }
}
/*----------------------------------------
フォーム導入文（WPForms HTMLブロック用）
----------------------------------------*/
.wpforms-container .form-intro {
  font-size: inherit;
  line-height: inherit;
}

.form-intro p {
  margin-bottom: 1.5em;
}

.wpforms-container .form-intro ul {
  width: 90%;
  margin: 1.5em auto;
  padding-left: 3em;
}

.wpforms-container .form-intro li {
  margin-bottom: 0.8em;
}
