body {
  font-family: "Noto Sans JP", sans-serif;
  opacity: 0;
  transition: opacity 1s ease;
}

body.loaded {
  opacity: 1;
}
.cf {
  zoom: 1; /*for IE 5.5-7*/
}
.cf:after {
  /*for modern browser*/
  content: ".";
  display: block;
  height: 0px;
  clear: both;
  visibility: hidden;
}

/*iosスタイルリセット*/
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}
input[type="radio"] {
  -webkit-appearance: none;
}

@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }
  .sp {
    display: none !important;
  }
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.hl {
  position: relative;
  z-index: 1;
}
.hl span img {
  width: 30px;
  margin: 0 auto 20px;
}
.hl h2 {
  margin: min(-10vw, -60px) auto min(12vw, 100px);
  font-size: min(5vw, 30px);
  padding: 20px;
  letter-spacing: 0.5rem;
  font-weight: 500;
  position: relative;
}
.hl h2::before,
.hl h2::after {
  position: absolute;
  content: "";
  background: #000;
  width: 4px;
  height: 100%;
  top: 0;
}
#sec06 .hl h2::before,
#sec06 .hl h2::after {
  background: #fff;
}
.hl h2::before {
  right: 0;
}
.hl h2::after {
  left: 0;
}
/*fv下見だし*/
.hl.v02 h2 {
  margin: min(-6vw, -60px) auto min(10vw, 70px);
}
h3 {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin: 0 auto;
  padding: 30px 20px 20px 20px;
  letter-spacing: 0.5rem;
  background: #fff;
}
.tate {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.fcw {
  color: #fff;
}
/*ボタン*/

.btn_wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  max-height: 70px;
  width: 68%;
  height: 15vw;
  background-color: #ffffff;
  color: #4c678d;
  border-radius: 9999px; /* 完全な丸み */
  text-decoration: none;
  font-size: min(3.6vw, 16px);
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn_wrap.wh a {
  border: 2px solid #4c678d;
}
.btn_wrap a::after {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 20px;
  background: #4c678d;
  transition: transform 0.3s ease;
  right: min(5vw, 35px);
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}
.btn_wrap .wpcf7-spinner {
  display: none;
}
/* ホバー時 */
.btn_wrap p {
  max-width: 300px;
  width: 100%;
  position: relative;
}
.btn_wrap a:hover {
  background: #4c678d;
  color: #ffffff;
}

.btn_wrap a:hover::after {
  right: min(4vw, 24px);
  background: #fff;
}
#sec06 .btn_wrap input {
  width: 100%;
}
#sec06 .btn_wrap::after {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 20px;
  background: #4c678d;
  transition: transform 0.3s ease;
  right: min(5vw, 35px);
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}
#sec06 .btn_wrap:hover::after {
  right: min(4vw, 24px);
  background: #fff;
}
#sec06 .btn_wrap:hover input {
  background: #4c678d;
  color: #ffffff;
}
.btn_wrap p:hover::after,
.btn_wrap p input:hover ~ span::after {
  transform: translateY(-50%) translateX(5px); /* 例えば右に5px動かす */
}
/*問合せ送信ボタン*/
.btn_wrap input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  max-height: 70px;
  width: 68%;
  height: 15vw;
  background-color: #ffffff;
  color: #4c678d;
  border-radius: 9999px; /* 完全な丸み */
  text-decoration: none;
  font-size: min(3.6vw, 16px);
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
/*
.btn_wrap p::after {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 20px;
  background: #4c678d;
  transition: transform 0.3s ease;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}*/

.btn_wrap input:hover {
  background: #4c678d;
  color: #ffffff;
}
/*
.btn_wrap p:hover::after {
  right: 24px;
  background: #fff;
}
*/
/*ブロック要素fadein*/
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}
.fadein.visible {
  opacity: 1;
  transform: translateY(0);
}

.logo_fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.5s, transform 0.5s;
}

.logo_fixed.visible02 {
  opacity: 1;
  transform: translateX(0);
  z-index: 1000;
}
/*円形ハンバーガーメニュー*/
.hamburger-morph {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #fff;
  background: #4c678d;
  cursor: pointer;
  border-radius: 100%;
  /*box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);*/
}

.hamburger-morph__icon {
  width: 85%;
  height: 100%;
  margin: 0 auto;
}

.hamburger-morph__line {
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-morph__line:nth-child(1) {
  stroke-dasharray: 60 207;
}

.hamburger-morph__line:nth-child(2) {
  stroke-dasharray: 60 60;
}

.hamburger-morph__line:nth-child(3) {
  stroke-dasharray: 60 207;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(1) {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(2) {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(3) {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.nav-morph {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(76, 103, 141, 0.98);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
}

.nav-morph.active {
  clip-path: circle(150% at calc(100% - 44px) 44px);
}

.nav-morph__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.nav-morph.active .nav-morph__item:nth-child(1) {
  transition-delay: 0.3s;
}
.nav-morph.active .nav-morph__item:nth-child(2) {
  transition-delay: 0.4s;
}
.nav-morph.active .nav-morph__item:nth-child(3) {
  transition-delay: 0.5s;
}
.nav-morph.active .nav-morph__item:nth-child(4) {
  transition-delay: 0.6s;
}
.nav-morph__list li {
  text-align: center;
  outline: 1px solid #fff;
  width: 55vw;
  max-width: 420px;
}
.nav-morph__list li:first-child,
.nav-morph__list li:first-child a {
  border-radius: 30px 30px 0 0;
}
.nav-morph__list li:last-child,
.nav-morph__list li:last-child a {
  border-radius: 0 0 30px 30px;
}
.nav-morph__list li a {
  position: relative;
  display: inline-block;
  padding: min(4vw, 30px) min(10vw, 60px);
  font-size: min(3.6vw, 26px);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s;
  width: 100%;
}
.nav-morph__list li:hover a {
  background: #fff;
  color: #4c678d;
}
header h1 {
  width: min(10vw, 80px);
  margin: min(12vw, 100px) auto;
}

.logo_fixed a {
  display: inline-block;
}
.logo_fixed p {
  width: min(16vw, 100px);
  height: min(16vw, 100px);
  background: #fff;
  border-radius: 0 0 100% 0;
  padding: min(4vw, 30px) 0 0 min(2vw, 15px);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.logo_fixed p img {
  width: 66%;
}

#sec01 {
  position: relative;
  width: 100%;
  height: 60vw;
  display: grid;
  place-items: center;
}
#sec01 .bg_slider {
  position: absolute;
  width: 100%;
}
#sec01 .bg_slider img {
  width: 100%;
  height: 60vw;
  object-fit: cover;
  /* ここではanimation書かない！ */
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1); /* 拡大率 */
  }
}
.add-animation {
  animation: zoomUp 10s linear 0s normal both;
}
#sec01 h2 {
  margin: -160px 0 0 0;
  font-size: min(5vw, 32px);
  letter-spacing: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
#sec01 h2 span {
  font-size: min(4vw, 26px);
}
#sec01 .filter01 {
  position: absolute;
  top: 0;
  width: 100%;
}
#sec01 .filter02 {
  position: absolute;
  bottom: 0;
  width: 100%;
}

section {
  position: relative;
}

.text01 {
  text-align: left;
  max-width: 860px;
  padding: 0 30px;
  margin: 0 auto;
  line-height: 2.6;
  font-size: min(3.6vw, 18px);
}
#sec02 .text01 p {
  font-size: min(4vw, 28px);
  font-weight: 500;
  text-align: center;
}
#sec02 .block {
  padding: min(10vw, 80px) 0 min(10vw, 100px) 0;
}
#sec03 .text01 {
  padding: min(10vw, 80px) 30px min(10vw, 100px);
}
#sec04 .img01 {
  background: #e9edf1;
  position: relative;
  z-index: -1;
  padding: calc((248 / 1807) * 100%) 0;
  margin: calc((248 / 1807) * -150%) 0 0 0;
}
#sec04 .img01 .wrap {
  max-width: 860px;
  padding: 0 30px;
  margin: 0 auto;
  position: relative;
}

#sec04 .img01 p {
  margin: 0 0 calc((248 / 1807) * -90%) -300px;
  max-width: 1200px;
}
#sec04 .v03.second {
  /*margin: calc((248 / 1807) * -200%) 0 0 0;*/
  margin: -400px 0 0 0;
}
#sec04 .text01 {
  padding: min(10vw, 80px) 30px min(10vw, 100px);
}
#sec04 .text02 {
  position: absolute;
  right: 0;
  width: 440px;
  line-height: 2;
  font-size: min(3.6vw, 16px);
}
#sec04 .text02 span {
  display: block;
  font-weight: 700;
  font-size: min(4.5vw, 22px);
  margin: 0 0 20px 0;
}
#sec04 table {
  max-width: 860px;
  padding: 0 30px;
  margin: 0 auto;
}
#sec04 table th {
  width: 30%;
  font-weight: 500;
}
#sec05 {
  padding: 0 0 100px 0;
}
#sec06 .hl {
  /*position: absolute;*/
  left: 50%;
  transform: translateX(-50%);
  top: 50px;
}
#sec06 .hl h2 {
  color: #fff;
}
#sec06.under .hl {
  top: 0;
}
#sec06.under .block {
  padding: 0 0 75px 0;
}
#sec06.under a {
  border: 2px solid #fff;
  padding: 65px 20px 24px 20px;
  border-radius: 100px;
  color: #fff;
  position: relative;
  font-size: min(5vw, 30px);
  letter-spacing: 0.5rem;
  transition: all 0.3s;
}
#sec06.under a::before {
  position: absolute;
  content: "";
  width: 30px;
  height: 30px;
  background: url(../img/icon_mail.png) center center no-repeat;
  background-size: contain;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: all 0.3s;
}
#sec06.under a:hover {
  background: #fff;
  color: #8c8c8c;
}
#sec06.under a:hover::before {
  background: url(../img/icon_mail_on.png) center center no-repeat;
  background-size: contain;
}
#sec06 .block {
  padding: 20px 0 100px 0;
}
#sec06.under {
  margin: calc((248 / 1807) * -146%) 0 0 0;
}

footer {
  display: grid;
  place-content: center;
  margin: 0 0 40px 0;
}
footer small {
  font-size: 14px;
}

.news-block {
  display: flex;
  max-width: 960px;
  padding: 0 30px;
  margin: 0 auto 30px;
  justify-content: space-between;
}
.news-item {
  display: flex;
  margin: 0 0 30px 0;
  justify-content: space-between;
  line-height: 1.8;
}
.news-date {
  font-weight: bold;
  margin: 0 20px 0 0;
}
.news-category {
  padding: 2px 8px;
  border-radius: 4px;
}
.news-category a {
  border: 1px solid #000;
  text-align: center;
  padding: 2px 12px;
}
.news-title {
  text-decoration: none;
  color: #333;
  width: 65%;
  line-height: 1.8;
}
.news-title a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .news-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .news-meta {
    display: flex;
    gap: 10px;
  }
}
#sec06 table {
  max-width: 600px;
  padding: 0 30px;
  margin: 0 auto min(5vw, 40px);
  width: 100%;
}
#sec06 table th,
#sec06 table td {
  width: 100%;
  display: block;
}
#sec06 table th {
  text-align: left;
  color: #fff;
  padding: 0 0 0 20px;
  margin: 0 0 10px 0;
}
#sec06 table th span.req {
  margin: 0 0 0 10px;
}
#sec06 table td {
  margin: 10px 0 30px 0;
  width: 100%;
}
#sec06 .btn_wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  max-height: 70px;
  width: 68%;
  height: 15vw;
  background-color: #ffffff;
  color: #4c678d;
  border-radius: 9999px; /* 完全な丸み */
  text-decoration: none;
  font-size: min(3.6vw, 16px);
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
input {
  border-radius: 40px;
  padding: 20px 30px;
  border: none;
  width: 100%;
}

textarea {
  border-radius: 30px;
  padding: 20px 30px;
  border: none;
  width: 100%;
}
/*アラート非表示*/
.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}
.wpcf7-form.invalid .wpcf7-response-output {
  display: none;
}
.wpcf7-not-valid-tip {
  margin: 10px 0 0 0;
  background: rgba(255, 255, 255, 0.3);
  padding: 3px 10px;
  display: inline-block !important;
}
/*各ブロック色制御*/
:root {
  --wave-color-1: #4c678d;
  --wave-color-2: #b0c4de;
  --wave-color-3: #92a8d1;
  --wave-color-4: #e3e6eb;
  --wave-color-5: #8c8c8c;
}

.wave_block {
  width: 100%;
  position: relative;
  clip-path: inset(0 100% 0 0); /* 初期状態：右を隠す */
  transition: clip-path 1s ease-out; /* スムーズなアニメーション */
}

.wave-top,
.wave-bottom {
  margin: 0;
  padding: 0;
}
svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.block {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--wave-color-1);
  text-align: center;
}

.wave-top {
  margin-bottom: -1px;
  fill: var(--wave-color-1);
}
.wave-bottom {
  fill: var(--wave-color-1);
}

/* wave-set-2 に同じ色を適用 */
.v02 .block {
  background-color: var(--wave-color-2);
}
.v02 .wave-top,
.v02 .wave-bottom {
  fill: var(--wave-color-2);
}
.v03 .block {
  background-color: var(--wave-color-3);
}
.v03 .wave-top,
.v03 .wave-bottom {
  fill: var(--wave-color-3);
}
.v04 .block {
  background-color: var(--wave-color-4);
}
.v04 .wave-top,
.v04 .wave-bottom {
  fill: var(--wave-color-4);
}

.v05 .block {
  background-color: var(--wave-color-5);
}
.v05 .wave-top,
.v05 .wave-bottom {
  fill: var(--wave-color-5);
}
/* スクロールで表示されるように */
.visible {
  clip-path: inset(0 0 0 0); /* スクロール後に左から右に広がる */
}

/*ブログ一覧*/
.blog_cont .wrap {
  max-width: 900px;
  padding: 0 30px;
  margin: 0 auto;
  padding: 0 0 120px 0;
}
.blog_cont ul.cont {
  margin: 80px 0 0 0;
  padding: 0 0 80px 0;
}
.blog_cont ul.cont li {
  width: 31%;
  line-height: 1.7;
  background: #fff;
  border-radius: 40px;
  float: left;
  margin: 0 3.5% 50px 0;
}
.blog_cont ul.cont li:nth-child(3n) {
  margin: 0 0 50px 0;
}
.blog_cont ul.cont li img {
  border-radius: 40px 40px 0 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.blog_cont ul.cont li .text01 {
  line-height: 1.6;
  font-size: min(3.6vw, 16px);
  margin: 20px 0;
}
.blog_cont ul.cont li .box01 {
  display: flex;
  padding: 0 30px 30px 30px;
  font-size: 13px;
  justify-content: space-between;
}
.btn_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 15px;
}
ul.page-numbers li a {
  color: #fff;
}
.news_cont ul.page-numbers li a {
  color: #000;
}
ul.page-numbers li span.current {
  background: #fff;
  padding: 5px 13px;
  border-radius: 24px;
}
/*ブログ詳細*/
.blog_cont .single_box {
  background: #fff;
  border-radius: 40px;
  margin: min(10vw, 100px) auto;
}
.blog_cont .single_box {
  background: #fff;
  border-radius: 40px;
  padding: min(10vw, 80px) min(7vw, 80px) min(7vw, 80px);
}
.blog_cont .single_box h1 {
  text-align: left;
  font-size: min(4.5vw, 24px);
  line-height: 1.6;
}
.blog_cont .single_box .box01 {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
}
.blog_cont .single_box .img img {
  border-radius: 30px;
  margin: 0 0 40px 0;
}

.blog_cont .single_box .text {
  text-align: left;
  line-height: 1.8;
}
.blog_cont .single_box h2 {
  font-size: min(4.2vw, 22px);
  margin: 20px 0;
}
.blog_cont .single_box h3 {
  font-size: min(4vw, 20px);
  writing-mode: unset;
  padding: 0;
  letter-spacing: normal;
  margin: 20px 0;
}
.blog_cont .single_box h4 {
  font-size: min(3.6vw, 18px);
  writing-mode: unset;
  padding: 0;
  letter-spacing: normal;
  margin: 20px 0;
}
.blog_cont .single_box p,
.blog_cont .single_box img {
  display: block;
  margin: 20px auto;
}
.list-frame {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.list-frame .list {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.list-frame a {
  background: #fff;
  border-radius: 30px;
  padding: 10px min(4vw, 26px);
  font-size: min(2.7vw, 14px);
}

/*お知らせ一覧*/
.news_cont .wrap {
  max-width: 900px;
  padding: 0 30px min(10vw, 100px);
  margin: 0 auto;
}
.news_cont li > a {
  float: left;
}
.news_cont ul.cont {
  margin: 80px 0 0 0;
  padding: 0 0 80px 0;
  width: 100%;
}
.news_cont ul.cont li {
  line-height: 1.7;
  background: #fff;
  border-radius: 20px;
  margin: 0 0 30px 0;
  width: 100%;
  display: flex;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 30px 20px 20px;
  gap: 30px;
}

.news_cont ul.cont li .img {
  width: 120px;
  height: 120px;
  float: left;
}
.news_cont ul.cont li img {
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.news_cont ul.cont li .box00 {
  width: calc(100% - 160px);
  float: right;
}
.news_cont ul.cont li .text01 {
  line-height: 1.6;
  font-size: min(3.6vw, 16px);
  margin: 20px 0;
  padding: 0;
}
.news_cont ul.cont li .box01 {
  display: flex;
  padding: 0;
  font-size: 13px;
  justify-content: space-between;
}
/*thanksページ*/
.text_thanks {
  margin: 0 auto min(7vw, 60px);
}
