@charset "UTF-8";

/* =============================================
* HOME
* ============================================= */
#mv {
   width: 100%;
   height: 300vh;
   position: relative;
   box-sizing: border-box;
   overflow: hidden;
   padding: 65px 0 0;
}

#mv:after {
   content: '';
   width: 100%;
   height: 18.75vw;
   background-image: linear-gradient(to bottom, transparent, rgba(250, 248, 244, 0.82), rgba(250, 248, 244, 0.95), #faf8f4);
   position: absolute;
   bottom: 0;
   left: 0;
}

#mv h2 {
   color: #E0CFC5;
   font-size: 140px;
   letter-spacing: 0;
   line-height: 175px;
   position: relative;
   z-index: 1;
}

#mv .catch {
   position: absolute;
   top: 40vh;
   left: 4.6vw;
   z-index: 1;
}

#mv .catch .logo {
   max-width: 18.75vw;
   margin: 0 auto;
}

#mv .catch h3 {
   font-weight: 600;
   font-size: 1.875vw;
   line-height: 1.4;
   letter-spacing: 0;
   padding-top: 10px;
}

#mv .catch .sub {
   font-weight: 600;
   font-size: 1.09vw;
   line-height: 1.4;
   letter-spacing: 0;
   padding-top: 10px;
}

#mv .feed {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px 15px;
   width: 360px;
   background-color: #fff;
   position: absolute;
   top: calc(100vh - 250px);
   right: 0;
   box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
   padding: 17px 30px;
   box-sizing: border-box;
   line-height: 24px;
   border-radius: 10px 0 0 10px;
   z-index: 1;
}

#mv .feed time {
   font-size: 13px;
}

#mv .feed .cat {
   display: inline-block;
   background-color: #07045B;
   color: #fff;
   font-size: 13px;
   line-height: 19px;
   text-align: center;
   padding: 3px 10px;
   border-radius: 2px;
}

#mv .feed .cat:hover {
   background-color: #333;
   opacity: 1;
}

#mv .feed .ttl {
   width: 100%;
}

#mv .feed .ttl span {
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   display: -webkit-box;
   overflow: hidden;
}

#mv .scroll-down {
   display: flex;
   gap: 4px;
   height: 20.8vw;
   position: absolute;
   top: calc(100vh - 100px - 20.8vw);
   right: 435px;
}

#mv .scroll-down .txt-vertical {
   width: 20px;
   color: #9F7563;
   font-weight: 600;
   font-size: 13px;
   letter-spacing: 0.05em;
   line-height: 20px;
   padding: 10px 0;
   cursor: pointer;
}

#mv .scroll-down .txt-vertical span {
   cursor: pointer;
}

#mv .scroll-down .line {
   width: 1px;
   height: 100%;
   background-color: #ccc;
   position: relative;
   overflow: hidden;
}

#mv .scroll-down .line:after {
   content: '';
   width: 100%;
   height: 200%;
   background-color: #9F7563;
   position: absolute;
   top: 0;
   left: 0;
   animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

#mv .fade {
   transition: opacity .3s ease-out, filter .3s ease-out;
   opacity: 1;
   filter: blur(0);
}

#mv .fade.is-active {
   opacity: 0;
   filter: blur(8px);
}

.hero {
   width: 100%;
   height: 100vh;
   min-height: 600px;
   position: absolute;
   top: 0;
   left: 0;
}

.hero-img {
   position: relative;
   width: 100%;
   height: 100vh;
   -webkit-mask-image: url("../img/index/hero-frame.svg");
   mask-image: url("../img/index/hero-frame.svg");
   -webkit-mask-repeat: no-repeat;
   mask-repeat: no-repeat;
   -webkit-mask-position: center;
   mask-position: center;
   -webkit-mask-size: cover;
   mask-size: cover;
   overflow: hidden;
}

.hero-img img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: bottom;
   display: block;
   transform-origin: center bottom;
}

@keyframes sdl01 {
   0% {
      transform: scale(1, 0);
      transform-origin: 0 0;
   }

   50% {
      transform: scale(1, 1);
      transform-origin: 0 0;
   }

   50.1% {
      transform: scale(1, 1);
      transform-origin: 0 100%;
   }

   100% {
      transform: scale(1, 0);
      transform-origin: 0 100%;
   }
}

@media screen and (max-width: 1440px) {
   #mv .scroll-down {
      right: 395px;
   }
}

@media screen and (max-width: 1200px) {
   #mv .catch {
      position: static;
      margin: 0 auto;
      transform: translateY(0);
   }

   #mv .catch .logo {
      max-width: 204px;
   }

   #mv .catch h3 {
      font-size: 20px;
   }

   #mv .catch .sub {
      font-size: 12px;
      line-height: 20px;
      padding-top: 5px;
   }

   #mv .feed {
      top: calc(100vh - 220px);
   }

   #mv .scroll-down {
      top: calc(100vh - 70px - 20.8vw);
   }

   .hero {
      top: 10vw;
   }
}

@media screen and (max-width: 1023px) {
   #mv h2 {
      font-size: 100px;
      line-height: 120px;
   }
}

@media screen and (max-width: 767px) {
   #mv {
      padding: 50px 0 0;
   }

   #mv h2 {
      font-size: 54px;
      line-height: 67px;
   }

   #mv .feed {
      gap: 6px 15px;
      width: 76.9%;
      line-height: 20px;
      padding: 10px 30px;
      top: calc(90vh - 120px);
   }

   #mv .feed time {
      font-size: 12px;
   }

   #mv .feed .cat {
      font-size: 11px;
      line-height: 16px;
      padding: 2px 6px;
   }

   #mv .scroll-down {
      display: none;
   }

   .hero-img {
      -webkit-mask-size: auto 25vh;
      mask-size: auto 25vh;
   }
}

/* -- -- */
#top__feelings {
   position: relative;
   padding: 40px 0 80px;
}

#top__feelings .wrap {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   align-items: center;
   gap: 120px;
}

#top__feelings .wrap:before {
   content: '';
   width: 0;
   height: 100%;
   border-left: 1px solid #333;
   position: absolute;
   top: 0;
   left: 50%;
}

#top__feelings h2 {
   background: url("../img/index/feelings-deco.png") no-repeat center top/auto 100%;
   padding: 72px 0 132px;
}

#top__feelings h2 .en {
   display: block;
   font-size: 34px;
   letter-spacing: 0.05em;
   line-height: 42px;
   color: #EA96A3;
}

#top__feelings ul {
   color: #9F7563;
   letter-spacing: 0.05em;
   padding: 30px 0;
}

#top__feelings ul li {
   display: block;
   width: max-content;
}

#top__feelings ul li+li {
   margin-top: 30px;
}

#top__feelings ul li .slide-in_inner {
   background: url("../img/index/icon-1.png") no-repeat top 7px left/32px auto;
   padding-left: 40px;
}

@media screen and (max-width: 1440px) {
   #top__feelings .wrap {
      gap: 60px;
   }
}

@media screen and (max-width: 1200px) {
   #top__feelings .wrap:before {
      left: 46%;
   }

   #top__feelings h2 {
      font-size: 30px;
   }
}

@media screen and (max-width: 1023px) {
   #top__feelings .wrap {
      grid-template-columns: 100%;
   }

   #top__feelings .wrap:before {
      display: none;
   }

   #top__feelings ul {
      border-top: 1px solid #333;
      padding: 60px 0 0;
   }
}

@media screen and (max-width: 767px) {
   #top__feelings {
      padding: 40px 0;
   }

   #top__feelings .wrap {
      gap: 15px;
   }

   #top__feelings h2 {
      font-size: 22px;
      line-height: 32px;
      padding: 60px 0;
   }

   #top__feelings h2 span {
      font-size: 24px;
      line-height: 30px;
   }

   #top__feelings ul {
      font-size: 18px;
      line-height: 26px;
      padding-top: 15px;
   }

   #top__feelings ul li+li {
      margin-top: 16px;
   }

   #top__feelings ul li .slide-in_inner {
      background-position: top 2px left;
      background-size: 24px auto;
      padding-left: 30px;
   }
}

@media screen and (max-width: 389px) {
   #top__feelings h2 {
      font-size: 18px;
   }

   #top__feelings h2 .en {
      font-size: 28px;
   }
}

/* -- -- */
#top__help {
   background: url("../img/index/help-bg-img.jpg") no-repeat center/cover;
   color: #fff;
   position: relative;
   padding: 160px 0;
}

#top__help .logo {
   display: grid;
   grid-template-columns: 333px 72px;
   justify-content: center;
   align-items: center;
   gap: 15px;
}

#top__help h2 {
   padding-top: 20px;
}

#top__help h2 .ja {
   display: inline-block;
   background-color: #F1E6D5;
   color: #333;
   padding: 0 15px;
}

#top__help h2 .en {
   display: block;
   font-size: 34px;
   line-height: 42px;
   padding-top: 8px;
}

#top__help ul {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 30px 60px;
   padding-top: 40px;
}

#top__help ul li {
   border-bottom: 1px dashed #fff;
   padding-bottom: 12px;
}

#top__help .txt {
   line-height: 36px;
   padding-top: 40px;
}

@media screen and (max-width: 1440px) {
   #top__help ul {
      gap: 30px;
   }
}

@media screen and (max-width: 1023px) {
   #top__help ul {
      grid-template-columns: 100%;
   }
}

@media screen and (max-width: 767px) {
   #top__help {
      background-image: url("../img/index/help-bg-img_sp.jpg");
      padding: 50px 0;
   }

   #top__help .logo {
      grid-template-columns: 215px 47px;
      gap: 10px;
   }

   #top__help h2 {
      padding-top: 10px;
   }

   #top__help h2 .ja {
      font-size: 20px;
      line-height: 30px;
   }

   #top__help h2 .en {
      font-size: 26px;
      line-height: 32px;
      padding-top: 4px;
   }

   #top__help ul {
      gap: 15px;
      font-size: 18px;
      line-height: 26px;
      padding-top: 20px;
   }

   #top__help ul li {
      padding-bottom: 8px;
   }

   #top__help .txt {
      font-size: 13px;
      line-height: 20px;
      padding-top: 20px;
   }
}

@media screen and (max-width: 389px) {
   #top__help h2 .ja {
      font-size: 19px;
   }
}

/* -- -- */
#top__safety-trust {
   background: url("../img/index/safety-trust-bg-img.png") no-repeat center bottom/100% auto;
   padding: 100px 0 36vw;
}

#top__safety-trust h2 .en {
   font-size: 64px;
   line-height: 80px;
}

#top__safety-trust ul {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 10px;
   padding-top: 30px;
}

#top__safety-trust ul img {
   filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.16));
}

#top__safety-trust .txt {
   line-height: 36px;
   padding-top: 30px;
}

@media screen and (max-width: 767px) {
   #top__safety-trust {
      padding: 50px 0 40vw;
   }

   #top__safety-trust h2 .en {
      font-size: 50px;
      line-height: 63px;
   }

   #top__safety-trust ul {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      padding-top: 20px;
   }

   #top__safety-trust .txt {
      font-size: 13px;
      line-height: 20px;
      padding-top: 20px;
   }
}

/* -- -- */
#top__about {
   padding: 150px 0 80px;
}

#top__about .wrap {
   display: flex;
   flex-direction: row-reverse;
   align-items: center;
   gap: 180px;
   max-width: 100%;
}

#top__about .col {
   width: 500px;
}

#top__about .col h3,
#top__about .col .txt,
#top__about .col .button {
   padding-top: 30px;
}

#top__about figure {
   width: 50%;
}

#top__about figure img {
   border-radius: 200px 0 0 200px;
}

@media screen and (max-width: 1440px) {
   #top__about .wrap {
      gap: 60px;
   }

   #top__about figure {
      width: calc(100% - 620px);
   }
}

@media screen and (max-width: 1023px) {
   #top__about .wrap {
      flex-direction: column;
      align-items: flex-end;
   }

   #top__about figure {
      width: calc(100% - 30px);
   }

   #top__about .col {
      margin: 0 auto;
   }

   #top__about h2,
   #top__about .button {
      text-align: center;
   }
}

@media screen and (max-width: 767px) {
   #top__about {
      padding: 40px 0;
   }

   #top__about .wrap {
      gap: 20px;
      padding: 0;
   }

   #top__about figure img {
      border-radius: 84px 0 0 84px;
   }

   #top__about .col {
      width: 100%;
      padding: 0 30px;
      box-sizing: border-box;
   }

   #top__about .col h3 {
      font-size: 17px;
      line-height: 25px;
      padding-top: 10px;
   }

   #top__about .col .txt,
   #top__about .col .button {
      padding-top: 20px;
   }
}

/* -- -- */
#top__guide {
   padding-bottom: 80px;
}

#top__guide .wrap {
   display: flex;
   align-items: center;
   gap: 180px;
   max-width: 100%;
}

#top__guide .col {
   width: 500px;
}

#top__guide .col h3,
#top__guide .col .txt,
#top__guide .col .button {
   padding-top: 30px;
}

#top__guide figure {
   width: 50%;
}

#top__guide figure img {
   border-radius: 0 200px 200px 0;
}

@media screen and (max-width: 1440px) {
   #top__guide .wrap {
      gap: 60px;
   }

   #top__guide figure {
      width: calc(100% - 620px);
   }
}

@media screen and (max-width: 1023px) {
   #top__guide .wrap {
      flex-direction: column;
      align-items: flex-start;
   }

   #top__guide figure {
      width: calc(100% - 30px);
   }

   #top__guide .col {
      margin: 0 auto;
   }

   #top__guide h2,
   #top__guide .button {
      text-align: center;
   }
}

@media screen and (max-width: 767px) {
   #top__guide {
      padding-bottom: 40px;
   }

   #top__guide .wrap {
      gap: 20px;
      padding: 0;
   }

   #top__guide figure img {
      border-radius: 0 84px 84px 0;
   }

   #top__guide .col {
      width: 100%;
      padding: 0 30px;
      box-sizing: border-box;
   }

   #top__guide .col h3 {
      font-size: 17px;
      line-height: 25px;
      padding-top: 10px;
   }

   #top__guide .col .txt,
   #top__guide .col .button {
      padding-top: 20px;
   }
}

/* -- -- */
#top__intro {
   background: #FAF8F4 url("../img/index/intro-bg.png") no-repeat center top/cover;
   padding-bottom: 70px;
}

#top__intro .box {
   display: grid;
   grid-template-columns: 237px 1fr;
   align-items: center;
   gap: 50px;
}

#top__intro .txt {
   font-family: "Zen Maru Gothic", sans-serif;
   letter-spacing: 0.05em;
   line-height: 54px;
}

@media screen and (max-width: 1200px) {
   #top__intro .box {
      grid-template-columns: 210px 1fr;
      gap: 40px;
   }
}

@media screen and (max-width: 1023px) {
   #top__intro .box {
      grid-template-columns: 1fr;
   }

   #top__intro figure {
      width: 237px;
      margin: 0 auto;
   }

   #top__intro .txt br.pc {
      display: none;
   }
}

@media screen and (max-width: 767px) {
   #top__intro .box {
      gap: 15px;
   }

   #top__intro figure {
      width: 127px;
   }

   #top__intro .txt {
      font-size: 15px;
      line-height: 28px;
   }
}

/* -- -- */
.section__cta {
   background: url("../img/common/contact-bg-img.jpg") no-repeat center top/cover;
   color: #fff;
   padding: 100px 0;
}

.section__cta h2 .en {
   font-size: 64px;
   letter-spacing: 0.05em;
   line-height: 80px;
}

.section__cta .txt,
.section__cta .button {
   padding-top: 30px;
}

.section__cta .txt {
   line-height: 36px;
}

@media screen and (max-width: 767px) {
   .section__cta {
      padding: 50px 0;
   }

   .section__cta h2 {
      font-size: 14px;
      line-height: 20px;
   }

   .section__cta h2 .en {
      display: inline-block;
      font-size: 42px;
      line-height: 53px;
      margin-bottom: -10px;
   }

   .section__cta .txt,
   .section__cta .button {
      padding-top: 20px;
   }

   .section__cta .txt {
      font-size: 13px;
      line-height: 20px;
   }
}

/*=============================================*
* わたしたちについて
*=============================================*/
[id*='about__'] .wrap {
   display: grid;
   grid-template-columns: 350px 800px;
   align-items: flex-start;
   gap: 30px;
}

[id*='about__'] h2 {
   max-width: max-content;
   background-color: #F1E6D5;
   font-weight: 400;
   letter-spacing: 0.3em;
   padding: 0 15px;
}

@media screen and (max-width: 1440px) {
   [id*='about__'] .wrap {
      grid-template-columns: 310px 1fr;
   }
}

@media screen and (max-width: 1023px) {
   [id*='about__'] .wrap {
      grid-template-columns: 1fr;
   }

   [id*='about__'] h2 {
      margin: 0 auto;
   }
}

@media screen and (max-width: 767px) {
   [id*='about__'] .wrap {
      gap: 20px;
   }
}

/* -- -- */
#about__message .name {
   padding-top: 20px;
}

#about__message figure {
   max-width: 450px;
   padding-top: 30px;
}

#about__message figure img {
   border-radius: 140px;
   border: 6px solid #fff;
}

@media screen and (max-width: 767px) {
   #about__message figure img {
      border-radius: 50px;
   }
}

/* -- -- */
#about__philosophy .col h3 {
   display: inline-block;
   border-bottom: 1px solid;
}

#about__philosophy .col h3:not(:first-child) {
   padding-top: 30px;
}

#about__philosophy .col .txt {
   padding-top: 15px;
}

/* -- -- */
/*=============================================*
* ご利用ガイド
*=============================================*/
#guide__flow h2 {
   display: flex;
   align-items: center;
   gap: 20px;
   line-height: 40px;
}

#guide__flow h2 .en {
   font-size: 54px;
   line-height: 67px;
}

#guide__flow h2 .ja {
   border-left: 2px dashed #333;
   padding-left: 20px;
}

#guide__flow .box-1 {
   padding-top: 10px;
}

#guide__flow .box-1 .item {
   display: grid;
   grid-template-columns: 1fr 280px;
   align-items: center;
   gap: 60px;
   background-color: #fff;
   border: 2px solid #F1E6D5;
   border-radius: 20px;
   padding: 40px 60px 40px 100px;
   position: relative;
}

#guide__flow .box-1 h3 {
   display: grid;
   grid-template-columns: 50px 1fr;
   gap: 16px;
   line-height: 36px;
}

#guide__flow .box-1 h3 .no {
   font-weight: 400;
   border-right: 1px solid #333;
   line-height: inherit;
}

#guide__flow .box-1 hr {
   width: 0;
   height: 60px;
   border: 0;
   border-left: 8px solid #F1E6D5;
   margin: 0 auto;
}

#guide__flow .box-1 .txt,
#guide__flow .box-1 .btn-line {
   padding-top: 20px;
}

#guide__flow .box-1 .btn-line a {
   display: inline-block;
   max-width: 215px;
}

#guide__flow .box-2 {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 60px;
   padding-top: 50px;
}

#guide__flow .box-2 ul {
   counter-reset: my-counter;
   padding-top: 15px;
}

#guide__flow .box-2 ul li {
   counter-increment: my-counter;
   position: relative;
   padding-left: 40px;
}

#guide__flow .box-2 ul li:before {
   content: counter(my-counter, decimal-leading-zero);
   width: 30px;
   height: 30px;
   background: #07045B;
   color: #fff;
   border-radius: 50%;
   position: absolute;
   top: 3px;
   left: 0;
   text-align: center;
   line-height: 28px;
}

#guide__flow .box-2 ul li+li {
   margin-top: 10px;
}

#guide__flow .box-2 ul li strong {
   font-weight: inherit;
   border-bottom: 1px solid #333;
}

#guide__flow .box-2 .txt {
   padding-top: 20px;
}

@media screen and (max-width: 1200px) {
   #guide__flow .box-1 .item {
      gap: 10px;
      padding: 40px 20px;
   }
}

@media screen and (max-width: 767px) {
   #guide__flow h2 {
      gap: 15px;
      line-height: 24px;
   }

   #guide__flow h2 .en {
      font-size: 40px;
      line-height: 50px;
   }

   #guide__flow h2 .ja {
      padding-left: 10px;
   }

   #guide__flow .box-1 .item {
      grid-template-columns: 1fr;
      gap: 30px;
      padding: 20px;
   }

   #guide__flow .box-1 hr {
      height: 30px;
   }

   #guide__flow .box-1 h3 {
      grid-template-columns: 40px 1fr;
      font-size: 18px;
      line-height: 26px;
   }

   #guide__flow .box-1 .txt {
      padding-top: 10px;
   }

   #guide__flow .box-1 .btn-line {
      text-align: center;
      padding-top: 10px;
   }

   #guide__flow .box-1 figure {
      text-align: center;
   }

   #guide__flow .box-2 {
      grid-template-columns: 1fr;
      gap: 30px;
   }
}

/* -- -- */
#guide__value {
   background-repeat: no-repeat;
   background-position: top center;
   background-size: cover;
}

#guide__value h2 .ja {
   display: inline-block;
   background-color: #FFE9ED;
   padding: 0 15px;
}

#guide__value h2 .en {
   display: block;
   color: #EA96A3;
   font-size: 34px;
   line-height: 42px;
   padding-top: 8px;
}

#guide__value ul {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 30px 60px;
   padding-top: 40px;
}

#guide__value ul li {
   border-bottom: 1px dashed #333;
   padding-bottom: 12px;
}

#guide__value .txt {
   line-height: 36px;
   padding-top: 40px;
}

@media screen and (max-width: 1440px) {
   #guide__value ul {
      gap: 30px;
   }
}

@media screen and (max-width: 1023px) {
   #guide__value ul {
      grid-template-columns: 100%;
   }
}

@media screen and (max-width: 767px) {
   #guide__value h2 {
      padding-top: 10px;
   }

   #guide__value h2 .ja {
      font-size: 20px;
      line-height: 30px;
   }

   #guide__value h2 .en {
      font-size: 26px;
      line-height: 32px;
      padding-top: 4px;
   }

   #guide__value ul {
      gap: 15px;
      font-size: 18px;
      line-height: 26px;
      padding-top: 20px;
   }

   #guide__value ul li {
      padding-bottom: 8px;
   }

   #guide__value .txt {
      font-size: 13px;
      line-height: 20px;
      padding-top: 20px;
   }
}

/* -- -- */
#guide__fees h2 {
   display: flex;
   align-items: center;
   gap: 20px;
   line-height: 36px;
}

#guide__fees h2 .en {
   font-size: 54px;
   line-height: 67px;
}

#guide__fees h2 .ja {
   border-left: 2px dashed #333;
   padding-left: 20px;
}

#guide__fees .box {
   padding-top: 10px;
}

#guide__fees .box h3 {
   display: inline-block;
   border-bottom: 1px solid;
}

#guide__fees .box h3:not(:first-child) {
   padding-top: 30px;
}

#guide__fees .box .txt {
   padding-top: 15px;
}

@media screen and (max-width: 767px) {
   #guide__fees h2 {
      gap: 15px;
      line-height: 24px;
   }

   #guide__fees h2 .en {
      font-size: 40px;
      line-height: 50px;
   }

   #guide__fees h2 .ja {
      padding-left: 10px;
   }
}

/*=============================================*
* お問い合わせ
*=============================================*/
#mailform {
   padding-bottom: 160px;
}

#mailform h3.h-30 {
   line-height: 28px;
   border-left: 6px solid #9F7563;
   margin-bottom: 30px;
   padding-left: 10px;
}

#mailform .box-sns {
   padding-bottom: 90px;
}

#mailform .box-sns .btn-line {
   max-width: 215px;
   padding-top: 20px;
}

#mailform .form-row {
   margin-top: 20px;
   padding: 20px 30px;
}

#mailform .form-row+.form-row {
   margin-top: 10px;
}

#mailform .form-row .caption {
   display: flex;
   align-items: center;
   gap: 10px;
   line-height: 24px;
}

#mailform .form-row .caption span {
   width: 46px;
   border-radius: 50px;
   text-align: center;
   font-weight: 400;
   font-size: 12px;
   color: #fff;
}

#mailform .form-row .caption span.required {
   background-color: #E1344C;
}

#mailform .form-row .caption span.none {
   background-color: #777777;
}

#mailform .form-row .input {
   padding-top: 10px;
}

#mailform .form-pp {
   padding-top: 40px;
}

#mailform .form-pp .text {
   height: 300px;
   overflow-y: auto;
   background-color: #fff;
   border: 2px solid #D9D9D9;
   padding: 16px 40px;
}

#mailform .form-pp .text p {
   padding-bottom: 30px;
}

#mailform .form-pp .text p:last-child {
   padding-bottom: 0;
}

#mailform .form-pp .checkbox {
   text-align: center;
   padding-top: 30px;
}

#mailform .form-btn {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 10px;
   padding-top: 60px;
}

#mailform .form-btn p {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 320px;
   height: 60px;
   text-align: center;
   border-radius: 50px;
   background-color: #E5EAEB;
   font-weight: 400;
   font-size: 15px;
   line-height: 21px;
   position: relative;
   z-index: 1;
   transition: all 0.3s linear;
}

#mailform .form-btn p:before {
   content: '';
   width: 100%;
   height: 100%;
   background-color: #CCCCCC;
   position: absolute;
   top: 0;
   left: 0;
   transform: scale(0);
   transform-origin: center;
   transition: all 0.3s linear;
   z-index: -1;
   border-radius: 50px;
}

#mailform .form-btn p:after {
   content: '';
   width: 8px;
   height: 12px;
   background: url("../img/common/icon-angle-right.png") no-repeat center top/cover;
   position: absolute;
   top: 50%;
   right: 15px;
   transform: translateY(-50%);
}

#mailform .form-btn p input {
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
   cursor: pointer;
   opacity: 0;
}

#mailform .form-btn p:hover:before {
   transform: scale(1);
}

#mailform .form-btn .btn-back:before {
   transform: scale(1);
}

#mailform .form-btn .btn-back:hover {
   opacity: 0.7;
}

#mailform.thanks {
   text-align: center;
}

#mailform.thanks .txt {
   padding-top: 40px;
}

#mailform.thanks .txt p+p {
   padding-top: 40px;
}

#mailform.thanks .button {
   padding-top: 40px;
}

@media screen and (max-width: 767px) {
   #mailform {
      padding-bottom: 50px;
   }

   #mailform h3.h-30 {
      margin-bottom: 20px;
   }

   #mailform .box-sns {
      padding-bottom: 50px;
   }

   #mailform .form-row {
      padding: 10px 0;
   }

   #mailform .form-pp {
      padding-top: 20px;
   }

   #mailform .form-pp .text {
      padding: 20px;
   }

   #mailform .form-pp .checkbox {
      padding-top: 20px;
   }

   #mailform .form-btn {
      flex-direction: column;
      padding-top: 30px;
   }

   #mailform .form-btn p {
      width: 240px;
      height: 40px;
   }

   #mailform.thanks .txt {
      text-align: justify;
      padding-top: 20px;
   }

   #mailform.thanks .txt p+p {
      padding-top: 20px;
   }

   #mailform.thanks .button {
      padding-top: 30px;
   }
}

/*=============================================*
* Post type
*=============================================*/
.wp-pagenavi {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
   gap: 10px;
   position: relative;
   font-size: 15px;
   line-height: 28px;
}

.wp-pagenavi .pages {
   display: none;
}

.wp-pagenavi span,
.wp-pagenavi a {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 30px;
   height: 30px;
   background-color: #333;
   border: 1px solid #333;
   color: #fff;
   box-sizing: border-box;
}

.wp-pagenavi a:hover {
   background-color: #fff;
   color: #333;
   opacity: 1;
}

.wp-pagenavi .current {
   pointer-events: none;
   background-color: #fff;
   color: #333;
}

/* -- -- */
.sidebar h3 {
   border-bottom: 1px solid #000;
   padding-bottom: 10px;
}

.sidebar .list-cat {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px 20px;
   padding-top: 20px;
}

.sidebar .list-cat a {
   display: inline-block;
   background-color: #fff;
   border: 1px solid #333;
   border-radius: 20px;
   font-size: 13px;
   line-height: 19px;
   padding: 5px 20px;
}

.sidebar .list-cat a:hover,
.sidebar .list-cat a.current {
   background-color: #333;
   color: #fff;
   opacity: 1;
}

@media screen and (max-width: 767px) {
   .sidebar .list-cat {
      gap: 10px;
      padding-top: 10px;
   }

   .sidebar .list-cat a {
      font-size: 12px;
      padding: 2px 10px;
   }
}

/* -- -- */
.article__list {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   max-width: 890px;
   margin: 0 auto;
}

.article__list figure a {
   display: block;
   width: 100%;
   padding-top: 70.1%;
   position: relative;
}

.article__list figure a img {
   position: absolute;
   top: 0;
   left: 0;
}

.article__list .cat {
   padding-top: 8px;
}

.article__list .cat a {
   display: inline-block;
   min-width: 65px;
   background-color: #07045B;
   color: #fff;
   font-size: 13px;
   line-height: 19px;
   padding: 3px 10px;
   border-radius: 2px;
   text-align: center;
}

.article__list .cat a:hover {
   background-color: #333;
   opacity: 1;
}

.article__list .ttl {
   line-height: 24px;
   padding-top: 4px;
}

.article__list .ttl a {
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   display: -webkit-box;
   overflow: hidden;
}

.article__list time {
   display: block;
   font-size: 13px;
   line-height: 19px;
   padding-top: 8px;
}

@media screen and (max-width: 767px) {
   .article__list {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px 10px;
   }

   .article__list .cat {
      padding-top: 4px;
   }

   .article__list .cat a {
      min-width: 40px;
      font-size: 10px;
      line-height: 15px;
      padding: 2px 6px;
   }

   .article__list .ttl {
      font-size: 10px;
      line-height: 15px;
   }

   .article__list .ttl a {
      -webkit-line-clamp: 3;
   }

   .article__list time {
      font-size: 9px;
      line-height: 13px;
   }
}

/* -- -- */
.cpt-template {
   position: relative;
}

.cpt-template .article__list {
   padding-top: 40px;
}

.cpt-template .wp-pagenavi {
   padding-top: 60px;
}

@media screen and (max-width: 767px) {
   .cpt-template .article__list {
      padding-top: 20px;
   }

   .cpt-template .wp-pagenavi {
      padding-top: 40px;
   }
}

/* -- -- */
#cpt-detail .the_title {
   padding-top: 4px;
}

#cpt-detail time {
   display: block;
   font-size: 15px;
   line-height: 21px;
   padding-top: 10px;
}

#cpt-detail .cate {
   display: inline-flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px;
}

#cpt-detail .cate a {
   display: inline-block;
   min-width: 65px;
   background-color: #07045B;
   color: #fff;
   font-size: 13px;
   line-height: 19px;
   padding: 3px 10px;
   border-radius: 2px;
   text-align: center;
}

#cpt-detail .cate a:hover {
   background-color: #333;
   opacity: 1;
}

#cpt-detail hr {
   border-top: 1px dashed #CCCCCC;
   margin-top: 10px;
}

#cpt-detail .thumbnail {
   padding-top: 40px;
}

#cpt-detail .the_content {
   padding-top: 30px;
}

#cpt-detail .the_content>*:not(h2, h3) {
   margin-right: 50px;
   margin-left: 50px;
}

#cpt-detail .the_content h2 {
   background-color: #F1E6D5;
   font-weight: 500;
   font-size: 22px;
   line-height: 36px;
   letter-spacing: 0;
   margin: 50px 0 20px;
   padding: 12px 30px;
}

#cpt-detail .the_content h3 {
   font-weight: 500;
   font-size: 22px;
   letter-spacing: 0;
   line-height: 32px;
   border-bottom: 2px solid #9F7563;
   margin: 50px 25px 20px;
   padding: 0 15px 2px;
}

#cpt-detail .the_content h4 {
   font-weight: 500;
   font-size: 20px;
   letter-spacing: 0;
   line-height: 32px;
   border-left: 5px solid #9F7563;
   margin: 50px 0 20px;
   padding: 0 0 0 15px;
}

#cpt-detail .the_content h2:first-child,
#cpt-detail .the_content h3:first-child,
#cpt-detail .the_content h4:first-child {
   margin-top: 0;
}

#cpt-detail .the_content h2+h3,
#cpt-detail .the_content h2+h4,
#cpt-detail .the_content h2+h5,
#cpt-detail .the_content h3+h4,
#cpt-detail .the_content h3+h5,
#cpt-detail .the_content h4+h5 {
   margin-top: 0;
}

#cpt-detail .the_content ul {
   list-style: disc;
   padding-left: 30px;
}

#cpt-detail .the_content ol {
   list-style: decimal;
   padding-left: 30px;
}

#cpt-detail .the_content a {
   text-decoration: underline;
}

#cpt-detail .the_content a:hover {
   text-decoration: none;
}

#cpt-detail .the_content p img {
   display: inline-block;
   vertical-align: top;
   margin-right: 20px;
}

#cpt-detail .the_content p img.aligncenter {
   display: block;
   margin: 0 auto;
}

#cpt-detail .the_content p img.alignright {
   display: block;
   margin-left: auto;
}

#cpt-detail .the_content p img:last-child {
   margin-right: 0;
}

#cpt-detail .the_content pre {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   align-items: flex-start;
   gap: 20px 66px;
}

#cpt-detail .button {
   padding-top: 60px;
}

@media screen and (max-width: 1023px) {
   #cpt-detail .the_content p img {
      display: block;
      margin: 0 auto 15px;
   }

   #cpt-detail .the_content p img:last-child {
      margin: 0 auto;
   }
}

@media screen and (max-width: 767px) {
   #cpt-detail .cate {
      gap: 5px;
   }

   #cpt-detail .cate a {
      min-width: 40px;
      font-size: 10px;
      line-height: 15px;
      padding: 2px 6px;
   }

   #cpt-detail .the_content>*:not(h2, h3) {
      margin-right: 20px;
      margin-left: 20px;
   }

   #cpt-detail .the_content h2 {
      font-size: 18px;
      line-height: 26px;
      padding: 12px 15px;
   }

   #cpt-detail .the_content h3 {
      font-size: 18px;
      line-height: 26px;
      margin-right: 10px;
      margin-left: 10px;
      padding: 0 5px 5px;
   }

   #cpt-detail .the_content h4 {
      font-size: 16px;
      line-height: 24px;
   }

   #cpt-detail .the_content ul,
   #cpt-detail .the_content ol {
      padding-left: 15px;
   }

   #cpt-detail .the_content p img {
      display: block;
      margin: 0 auto 15px;
   }

   #cpt-detail .the_content p img.alignright {
      margin: 0 auto 15px;
   }

   #cpt-detail .the_content p img:last-child {
      margin: 0 auto !important;
   }

   #cpt-detail .the_content pre {
      grid-template-columns: 1fr;
   }

   #cpt-detail .button {
      padding-top: 30px;
   }

   #cpt-detail .post-nav {
      padding-top: 30px;
   }
}

#related {
   background-color: #F1E6D5;
}

#related h2 {
   padding-bottom: 10px;
}

#related .article__list {
   padding-bottom: 40px;
}

#related hr {
   border: 0;
   border-top: 1px solid #9F7563;
   margin-bottom: 30px;
}

#related .post-nav {
   width: 140px;
   font-size: 15px;
   line-height: 30px;
   margin: 0 auto;
   position: relative;
}

#related .post-nav a {
   display: block;
   width: 30px;
   height: 30px;
   background-color: #333;
   color: #fff;
   text-align: center;
}

#related .post-nav a:hover {
   background-color: #fff;
   color: #333;
   opacity: 1;
}

#related .post-nav .prev {
   position: absolute;
   top: 0;
   left: 0;
}

#related .post-nav .next {
   position: absolute;
   top: 0;
   right: 0;
}

#related .post-nav li:not(.next, .prev) a {
   width: 60px;
   margin: 0 auto;
}

@media screen and (min-width: 768px) {
   #related .article__list .col:nth-child(4) {
      display: none;
   }
}