/* カラー変更 */

:root {
  --content-width: 1200px;
  --main-color: #2660AD;
  --sub-color: #F39939;
  --pale-color: #DCECFF;
}


/* コンテンツレイアウト */
html {
    scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "游ゴシック体", "Yu Gothic", YuGothic, Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", sans-serif;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  word-break: break-all;
  border-spacing: 0;
  border-collapse: collapse;
  text-indent: initial;
  text-decoration: none;
  line-height: 2.0em;
  margin: 0;
  padding: 0;
}

section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}


@media (max-width: 767px) {
  section {
    padding: 30px 0;
  }
}

.home section:first-of-type {
  padding-top: 60px;
}

@media (max-width: 767px) {
  .home section:first-of-type {
    padding-top: 30px;
  }
}

.container {
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}

@media (min-width: 767px) {
  .container {
    margin: 0 auto;
    max-width: var(--content-width);
  }
   :first-child {
    margin-top: 0;
  }
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: calc(-1 * 30px / 2);
  margin-left: calc(-1 * 30px / 2);
}

@media (max-width: 767px) {
  .row {
    display: block;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .row.sp-2row {
    display: flex;
  }
}

.row.reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.row .span_1 {
  width: calc(100% / 12 * 1);
}

.row .span_2 {
  width: calc(100% / 12 * 2);
}

.row .span_3 {
  width: calc(100% / 12 * 3);
}

.row .span_4 {
  width: calc(100% / 12 * 4);
}

.row .span_5 {
  width: calc(100% / 12 * 5);
}

.row .span_6 {
  width: calc(100% / 12 * 6);
}

.row .span_7 {
  width: calc(100% / 12 * 7);
}

.row .span_8 {
  width: calc(100% / 12 * 8);
}

.row .span_9 {
  width: calc(100% / 12 * 9);
}

.row .span_10 {
  width: calc(100% / 12 * 10);
}

.row .span_11 {
  width: calc(100% / 12 * 11);
}

.row .span_12 {
  width: 100%;
}

.row>.col {
  margin-top: 30px;
  margin-left: 0;
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}

@media (max-width: 767px) {
  .row>.col {
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
    width: 100%;
  }
  .row.sp-2row>.col {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .row .span_1 {
    width: auto;
  }
  .row>.col:not(:first-child) {
    margin-top: 20px;
  }
}


/* ぱんくず */

.bread_wrap {
  margin-top: 0;
  margin-bottom: 0;
}

.bread {
  overflow: hidden;
  margin: 0;
  justify-content: flex-end;
}

.bread ul {
  float: none;
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  flex-wrap: wrap;
}

.bread ul li {
  list-style: none;
  position: relative;
  float: left;
  margin-right: 20px;
  padding-right: calc(20px + 9px);
  color: #000;
}

@media (max-width: 767px) {
  .bread ul li {
    margin-right: 15px;
    padding-right: calc(15px + 9px);
  }
}

.bread ul li a {
  padding: 0;
  text-decoration: none;
  color: #000;
}

.bread ul li a:hover {
  text-decoration: underline;
}

.bread ul li:after {
  content: '>';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  color: #000;
}

.bread ul li:last-child {
  padding-right: 0;
  margin-right: 0;
}

.bread ul li:last-child:after {
  content: none;
}


/* 画像のフィックス */

figure {
  margin: 0;
  text-align: center;
}

img {
  vertical-align: middle;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  max-width: 100%;
  width: 100%;
  height: auto;
}

figure img {
  width: inherit;
}


/* 投稿 */

.article_list {
  padding: 30px;
  border: 1px solid var(--main-color);
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .article_list {
    padding: 20px;
  }
}

.article_list:first-child {
  margin-top: 0;
}

.article_list:nth-child(n+2) {
  margin-top: 30px;
}

.article_detail img {
  width: auto;
}

.article_detail .span_12 {
  margin: 2% 0;
}

.article_button {
  margin-top: 30px;
  text-align: right;
}

@media (max-width: 767px) {
  .article_button {
    margin-top: 20px;
  }
}

.more {
  display: inline-block;
  overflow: hidden;
  margin: auto;
}

.more.btn_ss a, .more.btn_ss span {
  padding: 0.3em 2.1em 0.3em 1.4em;
}

.more.btn_s a, .more.btn_s span {
  padding: 0.5em 2.1em 0.5em 1.4em;
}

.more.btn_m a, .more.btn_m span {
  padding: 0.5em 2.1em 0.5em 1.4em;
}

.more a, .more span {
  display: inline-block;
  letter-spacing: normal;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  padding: 0.9em 1.6em;
  margin-bottom: 1px;
  text-decoration: none;
}

.more a:after, .more span:after {
  border-color: var(--main-color);
}

.more a:hover, .more span:hover {
  color: #333;
  border-color: #333;
}

.more a:hover:after, .more span:hover:after {
  border-color: #333;
}

.more a.add_arrow, .more span.add_arrow {
  padding-right: 1.9em;
}

.add_arrow {
  display: block;
  position: relative;
}

.add_arrow:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 5%;
  margin: auto;
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  -webkit-transform: translate(0, -50%) rotate(45deg);
  transform: translate(0, -50%) rotate(45deg);
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.add_arrow:hover:after {
  right: 3%;
  border-color: #fff;
}

.more {
  display: inline-block;
  overflow: hidden;
  margin: auto;
}

.more a {
  display: inline-block;
  letter-spacing: normal;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  padding: 0.3em 1.3em 0.3em 1em;
  margin-bottom: 1px;
  text-decoration: none;
  font-size: 1.2rem;
}

.pager {
  overflow: hidden;
  margin-bottom: 5%;
}

.pager .pager_prev {
  float: left;
}

.pager .pager_prev a {
  display: block;
  position: relative;
  padding-left: 15px;
  text-decoration: none;
}

.pager .pager_prev a:before, .pager .pager_prev a:after {
  content: "";
  display: block;
  position: absolute;
  left: 2px;
  margin: auto;
  width: 8px;
  height: 1px;
  background: var(--main-color);
  -webkit-transition: .2s;
  transition: .2s;
}

.pager .pager_prev a:before {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
  top: calc(50% - 2px);
}

.pager .pager_prev a:after {
  -webkit-transform: translateY(-50%) rotate(-135deg);
  transform: translateY(-50%) rotate(-135deg);
  top: calc(50% + 3px);
}

.pager .pager_prev a:hover {
  text-decoration: underline;
}

.pager .pager_prev a:hover:before {
  left: 0;
}

.pager .pager_prev a:hover:after {
  left: 0;
}

.pager .pager_next {
  float: right;
}

.pager .pager_next a {
  display: block;
  position: relative;
  padding-right: 15px;
  text-decoration: none;
}

.pager .pager_next a:before, .pager .pager_next a:after {
  content: "";
  display: block;
  position: absolute;
  right: 2px;
  margin: auto;
  width: 8px;
  height: 1px;
  background: var(--main-color);
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transition: .2s;
  transition: .2s;
}

.pager .pager_next a:before {
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  top: calc(50% - 2px);
}

.pager .pager_next a:after {
  -webkit-transform: translateY(-50%) rotate(135deg);
  transform: translateY(-50%) rotate(135deg);
  top: calc(50% + 3px);
}

.pager .pager_next a:hover {
  text-decoration: underline;
}

.pager .pager_next a:hover:before {
  right: 0;
}

.pager .pager_next a:hover:after {
  right: 0;
}

.pagination{
   margin:40px 0 0;
   text-align: center;
   font-weight: bold;
}
.nav-links{
   display:flex;
   justify-content: center;
}
.pagination .page-numbers{
   margin:10px;
   padding:5px;
   color:#fff;
   background:var(--main-color);
   border:2px solid var(--main-color);
}

.pagination .current{
   padding:5px;
   color:var(--main-color);
   background: #fff;
}

.pagination .prev,
.pagination .next{
    margin: 10px;
    height: auto;
    padding: 4px 10px;
    text-align: center;
    background: var(--main-color);
    color: #fff;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--main-color);
}

.pagination .prev:hover,
.pagination .next:hover{
  color: var(--main-color);
  background: #fff;
}

.pagination .dots{
   background:transparent;
   box-shadow:none;
}

.news-item {
  display: block;
  padding: 10px 35px;
  border: 2px solid #c4c4c4;
  background: #fff;
  line-height: 1.625;
  position: relative;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.news-item:hover {
  background: #c4c4c4;
}

.news-item article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  line-height: 1.625;
  gap: 0 20px;
  align-items: center;
  flex-wrap: wrap;
}

.news-item:before {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background-image: url(/wp/wp-content/uploads/arrow-right.png);
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.2s ease-out;
}

.news-item:hover:before {
  right: 5px;
}

@media (max-width: 767px) {
  .news-item {
    padding: 10px 15px;
    line-height: 1.625;
  }
}

.news-item:nth-child(n+2) {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .news-item:nth-child(n+2) {
    margin-top: 15px;
  }
}

.news-item time {
  width: 100px;
}


/* コンタクトフォーム */

.form-wrap dl {
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 0;
  gap: 0;
}

.form-wrap dl:last-child {
  margin-bottom: 0;
}

.form-wrap dl dt {
  font-weight: bold;
  width: 300px;
  background: #2461AD;
  padding: 20px;
  color: #fff;
  margin-bottom: 32px;
}

.form-wrap dl dd {
  padding: 10px;
  margin-left: 0;
  width: calc(100% - 300px);
  border: 2px solid #E5E9F4;
  background: #fff;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
}
.form-wrap dl dd p{
  flex-grow: 1;
}

.reqired {
  color: #f00;
}

input[type=text],input[type=email],input[type=tel] {
  width: 100%;
  font-size: 20px;
  border: none;
  background: #ececec;
  height: 100%;
  padding: 5px;
}

select {
  font-size: 20px;
  border: none;
  background: #ececec;
  height: 100%;
  display: inline-block;
}

textarea {
  width: 100%;
  border: none;
  background: #ececec;
  height: 100%;
  padding: 5px;
}

.submit-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.submit-wrap .wpcf7-previous{
  display: block;
  width: 240px;
  height: auto;
  padding: 10px 20px;
  background: #6b6b6b;
  color: #fff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  border: 2px solid #6b6b6b;
  border-radius: 100px;
  position: relative;
}

.submit-wrap .wpcf7-submit {
    display: block;
    width: 240px;
    height: auto;
    padding: 10px 20px;
    background: var(--main-color);
    color: #fff;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    border: 2px solid var(--main-color);
    border-radius: 100px;
    position: relative;
}

.wpcf7-previous:hover {
  color: #575757;;
  background: #fff;
  border: 2px solid #575757;
}

.wpcf7-submit:hover {
  color: var(--main-color);
  background: #fff;
}

.wpcf7-spinner {
  display: none;
}

.require {
  color: #c00;
}

@media (max-width: 768px) {
  .form-wrap dl dt {
  width: 100%;
  margin-bottom: 0;
}
.form-wrap dl dd {
  width: 100%;
}
}

/* Slider */
.mv {
  background: url(/wp/wp-content/uploads/mv-bg.png) #DCECFF;
  background-size: cover;
  position: relative;
  height: 620px;
  background-repeat: no-repeat;
  background-position: top right;
  display: flex;
  align-items: center;
  flex-wrap: wrap;

}

.mv-catch {
  font-family: "Zen Maru Gothic", serif;
  margin-left: 5%;
  position: relative;
}

.mv-catch img{
  width: 400px;
}

.mv-catch p {
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
  font-size: 1.4rem;
  font-weight: bold;
}

.slider-wrap {
  max-width: 980px;
  position: absolute;
  right: 0;
  top: 110px;
  background-image: radial-gradient(#bddbda 30%, transparent 30%);
  background-size: 10px 10px;
  padding: 30px 0 30px 30px;
  border-radius: 50px 0 0 50px;
}

.slider01 {
  overflow: hidden;
  border-radius: 50px 0 0 50px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}


@media (max-width: 1024px) {
  .slider-wrap {
    width: calc(100% - 100px);
    bottom: 0;
  }
}

@media (max-width: 820px) {
  .mv {
    height: 530px;
  }
}


@media (max-width: 767px) {
  .mv {
    height: auto;
    justify-content: center;
    padding-top: 90px;
    background-position: top center;
	position: relative;
  }
  .slider-wrap {
    width: 100%;
    position: static;
	background-image: radial-gradient(#bddbda 8%, transparent 30%);
    background-size: 6px 6px;
    padding: 15px 0 15px 15px;
  }
  .mv-catch {
    margin-left: 0;
	position: absolute;
  }
  .mv-catch img{
    width: 200px;
  }
  .mv-catch p {
    text-align: center;
	font-size: 1.2rem;
  }
}
/* 見出し */

.heading-1 {
    margin: 0 0 2em;;
    font-family: "Zen Maru Gothic", serif;
    margin-top: -100px;
    padding-top: 100px;
}

.heading-1 h2 {
    font-weight: bold;
    font-size: 2.4rem;
    color: #1A1131;
    letter-spacing: 3px;
    border-bottom: none;
    line-height: 1.5em;
}

.heading-1 strong {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 4px;
	font-weight: 400;
}

h2.heading-1 a {
    color: var(--main-color);
}

.heading-anime span{
  opacity: 0;
}

.heading-anime.appeartext span{
  animation:text_anime_on 1s ease-out forwards;
  line-height: 1;
}

@keyframes text_anime_on {
  0% {opacity:0;}
  100% {opacity:1;}
}

h3.heading-1 {
    margin: 0 0 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: bold;
    padding-top: 0;
    font-size: 1.4rem;
    color: var(--main-color);
    padding-left: 1em;
}

h3.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    background: linear-gradient(to top, #D9D1C1 50%, var(--main-color) 50%);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

h3.heading-2 {
  margin: 0 0 0.5em;
  position: relative;
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  padding-top: 0;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--main-color);
  padding-left: 2em;
}

h3.heading-2:after {
  display: block;
  content: '≫';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 10px;
  color: #f8ff9a;
}

h4.heading-1 {
    margin: 0 0 0.5em;
    font-size: 1.2rem;
    position: relative;
    color: var(--main-color);
    font-weight: normal;
    line-height: 1.5em;
}

h5.heading-1 {
    margin: 0 0 0.5em;
    font-size: 1rem;
    position: relative;
    color: var(--main-color);
    font-weight: normal;
    line-height: 1.5em;
}

#pagetitle {
    position: relative;
    color: var(--main-color);
    padding: 6.5em 0 3.5em;
    background: url(/wp/wp-content/uploads/mv-bg.png) #DCECFF;
    background-size: cover;
    font-family: "Zen Maru Gothic", serif;
    font-weight: bold;
    background-position: center;
}

#pagetitle span {
    font-size: 2.0rem;
    display: block;
    box-sizing: border-box;
    line-height: 1.5em;
}

@media (max-width: 480px) {
    .heading-1 h2{
        font-size: 1.8rem;
    }
    h3.heading-1 {
        font-size: 1.4rem;
    }
}


/* ボタン */

.btn-1 {
  display: block;
  width: max-content;
  margin: 40px auto 0;
  height: auto;
  padding: 10px 40px 10px 20px;
  background: var(--main-color);
  color: #fff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  border: 2px solid var(--main-color);
  border-radius: 100px;
  position: relative;
}

.btn-1:before {
  position: absolute;
  content: '▶';
  color: #fff;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.btn-1:hover:before {
  color: var(--sub-color);
}

.btn-1:hover {
  color: var(--main-color);
  background: #fff;
}

.btn-1.price {
  color: var(--main-color);
  background: #FFF;
  border: 2px solid #FFF;
}

.btn-1.price:hover {
  color: #fff;
  background: var(--main-color);
}

.btn-1.price:before {
  color: var(--sub-color);
}

.btn-1.price:hover:before {
  color: #FFF;
}

.btn-1.work {
  width: 300px;
  border-radius: 0;
  padding: 15px 60px;
  font-size: 20px;
  font-family: 'Zen Maru Gothic', serif;
  font-weight: bold;
}
.btn-1.work:before {
  content: '〉';
  color: #2660AD;
  font-weight: bold;
  right: 12px;
  z-index: 1;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  font-size:16px;
}
.btn-1.work:after {
  position: absolute;
  content: '';
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 50% 50%;
  width: 30px;
  height: 30px;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
}

.btn-1.work:hover:before {
  color: #fff;
}
.btn-1.work:hover:after {
  background-color: #2660AD;
}

/* リスト */

dl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

dl dt {
  font-weight: bold;
  width: 230px;
  border-bottom: 1px solid var(--main-color);
  padding: 10px;
  margin: 0;
}

dl dd {
  width: calc(100% - 240px);
  border-bottom: 1px solid #9c9c9c;
  padding: 10px;
  margin: 0;
}

@media (max-width: 767px) {
  dl dt {
    width: 100%;
  }
  dl dd {
    width: 100%;
  }
}


/* ページトップ */

.pagetop {
  position: absolute;
  top: 90px;
  right: 5%;
  z-index: 100;
  margin: 0;
}

@media (max-width: 767px) {
  .pagetop {
    bottom: 74px;
  }
}

.pagetop a {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  background: #fff;
}

.pagetop a:hover{
  background: var(--main-color);
}

.pagetop a:after {
  content: "▲";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  color: var(--sub-color);
  -webkit-transition: .2s;
  transition: .2s;
}

.pagetop a:hover:after {
  color: #fff;
}

/* ヘッダー */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  font-family: 'Zen Maru Gothic',serif;
  overflow: visible!important;
}

/* .header-info [aria-current]:not([aria-current="false"]) {
  position: relative;
  color: var(--main-color);
}
[aria-current]:not([aria-current="false"]):before {
  display: block;
  content: '';
  position: absolute;
  width: 15px;
  height: 10px;
  clip-path: polygon(50% 10px, 0% 0%, 15px 0%);
  background: #F39838;
  right: 0;
  top: -15px;
  left: 0;
  margin: 0 auto;
}
[aria-current]:not([aria-current="false"]):after {
  display: block;
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--main-color);
  bottom: -2px;
  margin: auto auto 0;
} */

.header_nav ul li a {
  position: relative;
}

.header_nav ul li a:hover:after {
  display: block;
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--main-color);
  bottom: -2px;
  margin: auto auto 0;
}

.header_nav ul li a:hover:before {
  display: block;
  content: '';
  position: absolute;
  width: 15px;
  height: 10px;
  clip-path: polygon(50% 10px, 0% 0%, 15px 0%);
  background: #F39838;
  right: 0;
  top: -15px;
  left: 0;
  margin: 0 auto;
}

@media (max-width: 767px) {
  header{
    border-radius: 0 0 20px 20px;
    background: #FFF;
  }
}

.header-wrap {
  position: relative;
  margin: 0 auto;
  max-width: 1450px;
}

.header-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  gap: 0 20px;
}

@media (max-width: 767px) {
  .header-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    width: 100%;
  }
}

.header-head {
  text-align: left;
  flex:1;
}

.header-head img{
  width: 200px;
}

@media (max-width: 767px) {
  .header-head img{
    width: 140px;
  }
}

.header-info {
  display: flex;
  gap: 0 20px;
  align-items: center;
}

.header_nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  align-items: center;
  gap: 20px;
}

.header_nav ul li {
  font-weight: bold;
}

.header_nav ul li a:hover {
  color: var(--main-color);
}

.nav-contact {
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--main-color);
  border: 2px solid var(--main-color);
  transition: all 0.2s ease-out;
}

.nav-contact i{
  background: #fff;
  border-radius: 50%;
  color: var(--main-color);
  padding: 5px;
  margin-right: 5px;
}

.nav-contact:hover {
  color: var(--main-color);
  background: #fff;
}
.nav-contact:hover  i{
  background: var(--main-color);
  color: #fff;
}

.header-btn-wrap {
  display: flex;
  align-items: center;
  background: var(--main-color);
  padding: 5px 10px 5px 15px;
  border-radius: 50px;
  color: #fff;
  font-weight: bold;
}

.header-btn {
  position: relative;
  cursor: pointer;
  width: 40px;
  z-index: 999999999;
}

.header-btn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 15px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  width: 50%;
}

.header-btn span:nth-of-type(1) {
  top: -7px;
}

.header-btn span:nth-of-type(2) {
  top: 3px;
}

.header-btn.active span:nth-of-type(1) {
  top: -9px;
  left: 24px;
  transform: translateY(6px) rotate(-45deg);
  width: 40%;
}

.header-btn.active span:nth-of-type(2) {
  top: 3px;
  left: 24px;
  transform: translateY(-6px) rotate(45deg);
  width: 40%;
}

.header_nav {
  margin-right: 0px;
}

/* スライドナビゲーション */

.slide {
  background-color: var(--main-color);
  width: 300px;
  min-height: 100vh;
  position: fixed;
  right: -100%;
  top: 0;
  z-index: 10;
  overflow: scroll;
  padding-top: 165px;
}

@media (max-width: 767px) {
  .slide {
    padding-top: 85px;
  }
}

.slide-menu {
  list-style: none;
  border-top: 2px solid #fff;
  padding: 0;
}

.slide-menu > ul {
  padding: 0;
}

.slide-menu > ul > li {
  border-bottom: 2px solid #fff;
}

.slide-menu > ul > li > a {
  text-decoration: none;
  color: #fff;
  padding: 20px;
  display: block;
}

.slide-menu > ul > li > a:hover {
  background-color: var(--sub-color);
  box-shadow: inset 0px 5px 10px -5px rgba(0, 0, 0, 0.5);
  transition: 0.3s ease 0s;
  opacity: 1;
}


/* フッター */
footer {
  position: relative;
  background: var(--pale-color);
  padding: 60px 0;
}

.spacer {
  background: var(--pale-colr);
  height: 90px;
  width: 100%;
}
.spacer:before {
  position: absolute;
  content: '';
  top: 0;
  width: 100%;
  height: 60px;
  border-radius: 0 0 50% 50%;
  background: #fff;
}

@media (max-width: 767px) {
  .spacer {
    height: 30px;
  }
}

.footer-wrap {
  display: flex;
  max-width: 1450px;
  margin: 0 auto;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
}
.footer-item img{
  width: 360px;
}

@media (max-width: 767px) {
  .footer-item img{
    width: 240px;
	margin-bottom: 20px;
  }
}
.footer__links {
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 0 30px;
}

.footer__links>ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: flex-end;
  max-width: var(--content-width);
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 0;
}

.footer__links>ul>li {
  display: block;
  position: relative;
  padding-left: 15px;
  margin-bottom: 20px;
}

.footer__links>ul>li>a {
  display: block;
  white-space: nowrap;
  padding: 0 0 0 30px;
  position: relative;
}
.footer__links>ul>li>a:before {
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  left: -10px;
  width: 15px;
  height: 2px;
  background: #000;
  transition: all 0.2s ease-out;
}

.footer__links>ul>li>a:hover:before {
  width: 30px;
}


/* 汎用クラス */

.bg-red {
  background-color: #fe266d!important;
}

.bg-blue {
  background-color: #1646b1!important;
}

.bg-green {
  background-color: #5fcf32!important;
}

.bg-orange {
  background-color: #ffa204!important;
}

.text-red {
  color: #db2d2d!important;
}

.text-blue {
  color: #2420db!important;
}

.text-green {
  color: #6ddb20!important;
}

.text-orange {
  color: #db9620!important;
}

.text-pink {
  color: #db20b2!important;
}

.text-black {
  color: #000000!important;
}

.text-white {
  color: #FFFFFF!important;
}

.mt0 {
  margin-top: 0px!important;
}

.mb0 {
  margin-bottom: 0px!important;
}

.mt10 {
  margin-top: 10px!important;
}

.mt20 {
  margin-top: 20px!important;
}

.mt30 {
  margin-top: 30px!important;
}

.mt40 {
  margin-top: 40px!important;
}

.mt50 {
  margin-top: 50px!important;
}

.mt60 {
  margin-top: 60px!important;
}

.mr10 {
  margin-right: 10px!important;
}

.mr20 {
  margin-right: 20px!important;
}

.mr30 {
  margin-right: 30px!important;
}

.mr40 {
  margin-right: 40px!important;
}

.mr50 {
  margin-right: 50px!important;
}

.mr60 {
  margin-right: 60px!important;
}

.mb10 {
  margin-bottom: 10px!important;
}

.mb20 {
  margin-bottom: 20px!important;
}

.mb30 {
  margin-bottom: 30px!important;
}

.mb40 {
  margin-bottom: 40px!important;
}

.mb50 {
  margin-bottom: 50px!important;
}

.mb60 {
  margin-bottom: 60px!important;
}

.ml10 {
  margin-left: 10px!important;
}

.ml20 {
  margin-left: 20px!important;
}

.ml30 {
  margin-left: 30px!important;
}

.ml40 {
  margin-left: 40px!important;
}

.ml50 {
  margin-left: 50px!important;
}

.ml60 {
  margin-left: 60px!important;
}

.pt0 {
  padding-top: 0px!important;
}

.pt10 {
  padding-top: 10px!important;
}

.pt20 {
  padding-top: 20px!important;
}

.pt30 {
  padding-top: 30px!important;
}

.pt40 {
  padding-top: 40px!important;
}

.pt50 {
  padding-top: 50px!important;
}

.pt60 {
  padding-top: 60px!important;
}

.pr10 {
  padding-right: 10px!important;
}

.pr20 {
  padding-right: 20px!important;
}

.pr30 {
  padding-right: 30px!important;
}

.pr40 {
  padding-right: 40px!important;
}

.pr50 {
  padding-right: 50px!important;
}

.pr60 {
  padding-right: 60px!important;
}

.pb0 {
  padding-bottom: 0px!important;
}

.pb10 {
  padding-bottom: 10px!important;
}

.pb20 {
  padding-bottom: 20px!important;
}

.pb30 {
  padding-bottom: 30px!important;
}

.pb40 {
  padding-bottom: 40px!important;
}

.pb50 {
  padding-bottom: 50px!important;
}

.pb60 {
  padding-bottom: 60px!important;
}

.pl10 {
  padding-left: 10px!important;
}

.pl20 {
  padding-left: 20px!important;
}

.pl30 {
  padding-left: 30px!important;
}

.pl40 {
  padding-left: 40px!important;
}

.pl50 {
  padding-left: 50px!important;
}

.pl60 {
  padding-left: 60px!important;
}

.text-bold {
  font-weight: bold!important;
}

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

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

.text-left {
  text-align: left!important;
}

.text-xlarge {
  font-size: 1.6rem!important;
}

.text-large {
  font-size: 1.4rem!important;
}

@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}

@media (min-width: 767px) {
  .text-xlarge {
    font-size: 2.0rem;
  }
  .text-large {
    font-size: 1.6rem;
  }
  .sp-only {
    display: none !important;
  }
}

@media (min-width: 767px) and (max-width: 1023px) {
  .tablet-hide {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .tablet-only {
    display: none !important;
  }
}

a.link-opacity:hover {
  opacity: 0.7;
}

.top-case {
  overflow: hidden;
  background: url(/wp/wp-content/uploads/slider-bg.png);
  background-position: top 100px left -20px;
  background-repeat: no-repeat;
}

.template-slider {
  display: flex;
  overflow-x: scroll;
  gap: 0 20px;
  width: 100vw;
  padding-right: 45%;
}

.template-slider::-webkit-scrollbar{
  display:none;
}

.top-price {
  background: var(--main-color);
}

.price-wrap {
  padding: 20px 30px 30px 20px;
background:
    linear-gradient(135deg, #fff 0 100%),
    repeating-linear-gradient(135deg, #fff 0px 3px, transparent 3px 6px);
background-repeat: no-repeat;
background-size: calc(100% - 10px) calc(100% - 10px);
background-position: 0 0, 10px 10px;
}

.price-head-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.price-head-wrap p{
  flex: 1;
}

.price-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.price-item {
  background-color: var(--pale-color);
  padding: 16px;
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

.price-name {
  width: 100%;
  line-height: 1.5;
  text-align: center;
}

.price-name span{
  font-size: 1.4rem;
  font-weight: bold;
  display: block;
}
.price-value span{
  font-size: 1.8rem;
  font-weight: bold;
  padding-right: 5px;
}

.price-wrap.plan{
margin-top: 40px;
}

.price-wrap.plan .price-item{
  background: #FFE7CE;
}

.corse-disc {
  padding: 8px;
  font-size: 13px;
  background: #fff;
  width: 100%;
}

.corse-disc li::marker{
  color: var(--sub-color);
}
ul.corse-disc {
  padding-left: 40px;
}

@media (max-width: 767px) {
  .price-item {
    flex: auto;
  }
  .price-head-wrap {
    display: block;
  }
}

.price-head {
  display: flex;
  align-items: center;
}

.price-head span{
  font-size: 2rem;
  padding: 0 5px;
  color: var(--main-color);
}

.price-wrap.plan .price-head span {
  color: var(--sub-color);
}


.top-introduction {
  background: url(/wp/wp-content/uploads/introduction-bg.png);
  background-position: top left;
  background-repeat: no-repeat;
}

.introduction-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 0;
}

.introduction-head {
  text-align: center;
  color: var(--main-color);
  font-family: "Noto Sans JP", sans-serif;
}

.introduction-head span{
  border-bottom: 1px solid var(--sub-color);
}

.introduction-text {
  background: #F6F6F6;
  padding: 40px;
}

.feature-wrap {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 0;
}

.feature-head {
  position: relative;
  text-align: center;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .feature-head {
    font-size: 1.2rem;
  }
}

.feature-head span:nth-child(odd) {
  font-size: 2.2rem;
  color: var(--main-color);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  padding-right: 5px;
}
.feature-head span:nth-child(even) {
  font-size: 2.2rem;
  color: var(--sub-color);
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  padding-right: 5px;
}

.feature-head:before{
  position: absolute;
  content: '';
  transform: rotate(120deg) translateY(-50%);
  height: 4px;
  background-color: #B0B0B0;
  width: 90px;
  top: 50%;
  right: -90px;
}

.feature-head:after{
  position: absolute;
  content: '';
  transform: rotate(-120deg) translateY(-50%);
  height: 4px;
  background-color: #B0B0B0;
  width: 90px;
  top: 50%;
  left: -90px;
}

.medipeak-feature {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px;
  border: 5px solid #F6F6F6;
  background: #fff;
}

.medipeak-feature ul {
  color: #122B4D;
  list-style: none;
}

.medipeak-feature ul li{
  position: relative;
  padding-left: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.medipeak-feature ul li:last-child{
  margin-bottom: 0;
}

.medipeak-feature ul li:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  -webkit-transform: rotate(50deg);
  -ms-transform: rotate(50deg);
  transform: rotate(50deg);
  width: 5px;
  height: 12px;
  border-right: 3px solid var(--sub-color);
  border-bottom: 3px solid var(--sub-color);
}



@media (max-width: 480px) {
  .top-case {
    background-position: top 90px left 0px;
    background-size: 200px;
  }
  .template-slider {
    padding: 0 15%;
  }
  .introduction-head{
    font-size: 1.4rem;
  }
  .medipeak-feature {
    font-size: 1rem;
  }
  .introduction-text{
    padding: 24px;
  }
  .top-introduction {
    background-size: contain;
    background-position: 50%;
    background-color:rgba(255,255,255,0.8);
    background-blend-mode:lighten;
  }
  .feature-head:before,
  .feature-head:after{
    display: none;
  }
}

@media (min-width: 1921px) {
  .mv,
  .top-price,
  .top-case,
  .top-introduction {
    max-width: 1920px;
    margin: 0 auto;
  }
}

/* 会社概要 */
#company-overview {
    max-width: 800px;
    margin: 0 auto;
    background-image: url('/wp/wp-content/uploads/slider-bg.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 350px auto; /* 横幅を350px以下に制限 */
}

.overview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.item-content ul {
    list-style-type: none;
	padding-left: 5px;
    position: relative;
}

.item-content ul li {
    margin-bottom: 5px;
	padding-left: 15px;
}

.item-content ul li::before {
    content: '•';
    color: #B1C6E1;
    position: absolute;
    left: 0;
}


.item-header {
    flex: 1;
    font-size: 1em;
	font-weight: bold;
}

.item-content {
    flex: 2;
}

@media (max-width: 768px) {
	#company-overview {
    background-size: 200px auto;
    }

    .overview-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }

    .item-content {
        text-align: left;
    }
}

.item-content a {
    color: #2461AD;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.item-content a:hover {
    color: #DCECFF;
}

ul.check li{
  list-style: none;
}
ul.check li{
  position: relative;
  padding-left: 1.5em;
}
ul.check li:before{
  background: none repeat scroll 0 0 #2660AD;;
  border: 0;
  border-radius: 0;
  content: "";
  height: 17px;
  left: 0;
  position: absolute;
  top: 13px;
  width: 17px;
  z-index: 0;
}
ul.check li:after{
  position: absolute;
  top: 15px;
  left: 3px;
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(-40deg);
  -webkit-transform: rotate(-40deg);
  -ms-transform: rotate(-40deg);
  z-index: 1;
}

nav li.has-child a span{
  transform: scaleX(0.8);
  padding-right: 2px;
  display: inline-block;
}
nav li.has-child div {
  position: absolute;
  right: 500px;
  top: 50px;
  z-index: 4;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  background: #fff;
  padding: 20px;
  display: flex;
  gap: 0 20px;
  font-size: 1rem;
}

nav li.has-child div ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

nav li.has-child div ul p {
  /* text-align: center; */
  border-bottom: 2px solid var(--main-color);
  color: var(--main-color);
  font-weight: bold;
  width: 100%;
}

nav li.has-child div ul p span {
  padding: 0 10px;
  border-radius: 50px;
  font-size: 12px;
  color: #fff;
  background: var(--main-color);
  margin-left: 10px;
}

nav li.has-child ul:before {
  content: '';
  position: absolute;
  height: 20px;
  width: 160px;
  top: -20px;
}

nav li.has-child:hover>ul,
nav li.has-child:hover>div,
nav li.has-child:hover>div ul,
nav li.has-child ul li:hover>ul,
nav li.has-child:active>ul,
nav li.has-child ul li:active>ul {
  visibility: visible;
  opacity: 1;
}

nav li.has-child ul li a {
  color: #000;
  display: block;
  width: 300px;
  text-decoration: none!important;
  border-bottom: 1px dashed #d9d9d9;
}

nav li.has-child ul li a:before {
  display: none!important;
}
nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
  text-decoration: underline;
  color: inherit;
}

.slide-menu>ul>li.menu-item-has-children>a {
  position: relative;
}

.slide-menu>ul>li.menu-item-has-children>a:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 6%;
    margin: auto;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: translate(0, -50%) rotate(135deg);
    transform: translate(0, -50%) rotate(135deg);
    -webkit-transition: .2s;
    transition: .2s;
}

.sub-menu{
  width: 100%;
  padding: 0;
  background: #8b9ca7;
  display: none;
}


.sub-menu>li>a {
  text-decoration: none;
  color: #fff;
  padding: 10px 0 10px 20px ;
  display: block;
  border-top: 1px solid #fff;
}

.slide-menu>ul>li.menu-item-has-children>a {
  pointer-events: none;
}

.slide-menu>ul>li>a {
    text-decoration: none;
    color: #fff;
    padding: 20px;
    display: block;
}

.slide-menu>ul>li>a:hover {
    background-color: var(--main-color);
    box-shadow: inset 0px 5px 10px -5px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease 0s;
    opacity: 1;
}

/* トグル */


  .icon {
      display: block;
      position: relative;
      width: 24px;
      margin-left: 6px;
      flex-shrink: 0;
      transform-origin: center 43%;
      transition: transform 0.4s;
  }

  .icon:before {
      left: 0;
      transform: rotate(45deg);
  }

  .icon:after {
      right: 0;
      transform: rotate(-45deg);
  }

  .icon:before,
  .icon:after {
      content: "";
      position: absolute;
      display: block;
      width: 15px;
      height: 3px;
      background-color: var(--main-color);
  }

  details{
      border-top: 1px solid;
    }
    details:hover{
      background: var(--accent-color);
    }
    details:last-child{
      border-bottom: 1px solid;
    }
    summary {
      display: block;
      list-style: none;
    }

    summary::-webkit-details-marker {
      display: none;
    }

    .toggle-head.qa {
      position: relative;
    }

    .toggle-head.qa:before {
      position: absolute;
      content: "Q.";
      top: 13px;
      left: 20px;
      font-weight: bold;
      color: var(--main-color);
      font-family: serif;
      font-size: 24px;
    }

    .toggle_inner {
      cursor: pointer;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 15px 25px 15px 50px;
      font-weight: bold;
      color: var(--main-color);
    }

    .toggle_inner-icon {
      display: block;
      position: relative;
      width: 24px;
      margin-left: 6px;
      flex-shrink: 0;
      transform-origin: center 43%;
      transition: transform 0.4s;
    }

    .toggle_inner-icon:before {
      left: 0;
      transform: rotate(45deg);
    }

    .toggle_inner-icon:after {
      right: 0;
      transform: rotate(-45deg);
    }

    .toggle_inner-icon:before, .toggle_inner-icon:after {
      content: "";
      position: absolute;
      display: block;
      width: 15px;
      height: 3px;
      background-color: var(--main-color);
    }

    .toggle-content p {
      padding: 20px 20px 20px 60px;
      margin: 0;
      position: relative;
    }

    .toggle-content p a{
      color: var(--main-color);
      text-decoration: underline;
    }

    .answer:before {
      position: absolute;
      content: "A.";
      top: 18px;
      left: 30px;
      font-weight: bold;
      color: var(--main-color);
      font-family: serif;
      font-size: 24px;
    }

    details[open] .toggle_inner-icon {
      transform: rotate(180deg);
    }

    /* テーブル */

  .table-schedule {
  width: 100%;
  }

  .table-schedule td,
  .table-schedule th {
  border: 1px solid var(--main-color);
  padding: 0.7em;
  text-align: center;
  background: #fff;
  color:  var(--main-color);
  }

  @media (max-width: 480px) {
  .table-schedule td,
  .table-schedule th {
  padding: 0.7em .3em;
  }
  }

  .table-schedule thead th {
  background: var(--main-color);
  color: #fff;
  }

  .table-schedule tbody th {
  background: #fff;
  }

  .table-default {
  width: 100%;
  }

  .table-default td,
  .table-default th {
  padding: 0.3em .2em;
  border: 1px solid var(--main-color);
  vertical-align: middle;
  background: #fff;
  }

.table-default .bg1 td{
  background: #b7dee8;
}

.table-default .bg2 td{
  background: #d9d9d9;
}

  .table-default th {
  background: var(--main-color);
  color: #fff;
  }
  
.work_intro {
  text-align: center;
  color: var(--main-color);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}

.work_intro span {
  border-bottom: 1px solid var(--sub-color);
}
  .work_link {
    text-decoration: underline;
    color: #2660AD;
}

  @media (max-width: 768px) {
.work_intro {
    text-align: left;
  }
  }

  .custom {
    /*padding: 5px;*/
    /*background-color: #2461AD;*/
    border-radius: 10px;
    margin-right: 10px;
    /*color: #fff;*/
    color: #2461AD;
    font-weight: bold;
  }
  .light {
    /*padding: 5px;*/
    /*background-color: #F39939;*/
    border-radius: 10px;
    margin-right: 10px;
    /*color: #fff;*/
    color:#F39939;
    font-weight: bold;
  }

  span.highlight {
    background: linear-gradient(transparent 60%, #f6ff5f 60%);
  }

  .subject {
    font-size: 0.8em;
  }

  section.work img {
    border: 1px solid #ccc;
  }