@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  font-family: "Roboto", sans-serif;
}

.inner {
  padding: 0 20px;
  margin: 0 auto;
}
@media screen and (min-width: 1024px) {
  .inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
  }
}

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

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

.button {
  border-radius: 50px;
  background: #D92B37;
  color: #fff;
  padding: 12px 50px;
  display: inline-block;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.button:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.039);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.039);
}

.service__button,
.company__button,
.contact__button {
  text-align: center;
  margin: 23px 0;
  color: #fff;
}

.company__button {
  text-align: left;
}
.company__button a {
  color: #fff !important;
}
.company__button i {
  margin-left: 5px;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 10000;
  padding: 15px 20px;
}
@media screen and (min-width: 1024px) {
  .header {
    padding: 13px 80px;
    margin: 0 auto;
  }
}
.header__content {
  background-color: #D92B37;
  padding: 20px 25px;
  border-radius: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (min-width: 1024px) {
  .header__content {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 20px 70px;
  }
}
.header .header__left .header__logo img {
  width: 120px;
}
@media screen and (min-width: 1024px) {
  .header .header__left .header__logo img {
    width: 150px;
  }
}
.header .header__right {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width: 768px) {
  .header .header__right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
.header .header__right ul {
  display: none;
}
@media screen and (min-width: 1024px) {
  .header .header__right ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 30px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.header .header__right li {
  color: #FFF;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.header .header__right li a {
  font-weight: 600;
}
.header .header__right li:hover {
  opacity: 0.7;
}
.header__button {
  display: none;
}
@media screen and (min-width: 1024px) {
  .header__button {
    display: inline-block;
    border: #fff solid 2px;
    padding: 9px 25px;
    border-radius: 50px;
    color: #FFF;
    margin-left: 20px;
    font-weight: 600;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
  }
  .header__button:hover {
    border: #D92B37 solid 2px;
    color: #D92B37;
    background-color: #fff;
  }
}

.drawer-icon {
  width: 36px;
  height: 21px;
  position: relative;
  z-index: 51;
}
@media screen and (min-width: 1024px) {
  .drawer-icon {
    display: none;
  }
}
.drawer-icon.is-checked .drawer-icon__bar:nth-of-type(1) {
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg);
  top: 10px;
}
.drawer-icon.is-checked .drawer-icon__bar:nth-of-type(2) {
  display: none;
}
.drawer-icon.is-checked .drawer-icon__bar:nth-of-type(3) {
  -webkit-transform: rotate(-30deg);
          transform: rotate(-30deg);
  top: 10px;
}
.drawer-icon__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  border-radius: 6px;
  background: #fff;
  -webkit-transition: top 0.3s linear, -webkit-transform 0.3s linear;
  transition: top 0.3s linear, -webkit-transform 0.3s linear;
  transition: transform 0.3s linear, top 0.3s linear;
  transition: transform 0.3s linear, top 0.3s linear, -webkit-transform 0.3s linear;
}
.drawer-icon__bar:nth-of-type(2) {
  top: 9px;
}
.drawer-icon__bar:nth-of-type(3) {
  top: 18px;
}

.drawer-content__button {
  text-align: right;
  display: none;
}

/* ドロワーメニュー */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  -webkit-transition: right 0.3s ease-in-out;
  transition: right 0.3s ease-in-out;
  z-index: 2000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-left: 40px;
  gap: 15px;
}
.drawer-menu.is-checked {
  right: 0;
}
.drawer-menu a {
  color: white;
  font-size: 16px;
  text-decoration: none;
  font-weight: 600;
}
.drawer-menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
.drawer-menu__button {
  display: inline-block;
  border: #fff solid 2px;
  padding: 9px 25px;
  color: #FFF;
  margin-top: 10px;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  z-index: 999;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

/* メイン画像 */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 530px; /* 全画面 */
  z-index: -1; /* 背景にまわす */
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .hero {
    height: 100vh;
  }
}
.hero__bg {
  width: 100%;
  height: 100%;
  background-image: url(../img/top_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width: 768px) {
  .hero__bg {
    background-image: url(../img/top_bg-pc.png);
    margin-top: -65px;
  }
}
.hero__title {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  color: #333;
}
.hero__title p:nth-child(1) {
  font-weight: 600;
  font-size: 38px;
  letter-spacing: 2.8px;
}
@media screen and (min-width: 768px) {
  .hero__title p:nth-child(1) {
    font-size: 48px;
  }
}
.hero__title p:nth-child(2) {
  font-weight: 500;
  font-size: 18px;
  margin-top: 8px;
}
@media screen and (min-width: 768px) {
  .hero__title p:nth-child(2) {
    font-size: 28px;
  }
}
.hero__title .red {
  color: #D92B37;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 2.8px;
}
@media screen and (min-width: 768px) {
  .hero__title .red {
    font-size: 48px;
  }
}

.main {
  z-index: 1;
  margin-top: 580px;
  background-color: #fff;
  border-radius: 20px 20px 0px 0px;
  -webkit-box-shadow: 0px -7px 10px 0px rgba(173, 173, 173, 0.17);
          box-shadow: 0px -7px 10px 0px rgba(173, 173, 173, 0.17);
  padding-top: 100px;
  padding-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .main {
    padding-top: 140px;
  }
}
.main__bg {
  margin-top: -30px;
}

.heading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}
.heading h2 {
  color: #D92B37;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.48px;
}
@media screen and (min-width: 1024px) {
  .heading h2 {
    font-size: 24px;
  }
}
.heading span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
}
@media screen and (min-width: 1024px) {
  .heading span {
    font-size: 28px;
  }
}

/* サービス内容 */
.service-section {
  margin-top: 80px;
}
@media screen and (min-width: 768px) {
  .service-section {
    margin-top: 100px;
  }
}
.service-section__cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 125px;
}
.service-section__card .service__head .service_title {
  font-size: 22px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 11px;
}
@media screen and (min-width: 768px) {
  .service-section__card .service__head .service_title {
    font-size: 32px;
  }
}
.service-section__card .service__head .service_title i {
  color: #D92B37;
}
.service-section__card .service__head .service_title p {
  font-weight: 600;
}
.service-section__card .service__head .service_text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 170%;
  text-align: justify;
  padding: 0 10px;
}
@media screen and (min-width: 768px) {
  .service-section__card .service__head .service_text {
    font-size: 17px;
    padding: 0 40px;
    margin-top: 20px;
  }
}
.service-section__card .service__cards {
  margin-top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .service-section__card .service__cards {
    margin-top: 70px;
    gap: 45px;
  }
}
.service-section__card .service__cards .service__card {
  border-radius: 10px;
  -webkit-box-shadow: 3px 5px 16px 0px rgba(173, 173, 173, 0.21);
          box-shadow: 3px 5px 16px 0px rgba(173, 173, 173, 0.21);
  padding: 40px 30px;
}
@media screen and (min-width: 768px) {
  .service-section__card .service__cards .service__card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 45px;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    padding: 60px 66px;
  }
}
@media screen and (min-width: 768px) {
  .service-section__card .service__cards .service__card .card_text-box {
    max-width: 465px;
  }
}
.service-section__card .service__cards .service__card .card_text-box .card_title {
  color: #D92B37;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.54px;
}
@media screen and (min-width: 768px) {
  .service-section__card .service__cards .service__card .card_text-box .card_title {
    font-size: 24px;
  }
}
.service-section__card .service__cards .service__card .card_text-box .card_text {
  text-align: justify;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.42px;
  margin-top: 12px;
}
@media screen and (min-width: 768px) {
  .service-section__card .service__cards .service__card .card_text-box .card_text {
    margin-top: 25px;
  }
}
.service-section__card .service__cards .service__card .card_button {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .service-section__card .service__cards .service__card .card_button {
    margin-top: 0;
  }
}
.service-section__card .service__cards .service__card .card_button a {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  border: 2px solid #D92B37;
  color: #D92B37;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  max-width: 300px;
  text-align: center;
  padding: 16px 64px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  z-index: 999;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.service-section__card .service__cards .service__card .card_button a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 40px;
  height: 1px;
  background: #D92B37;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.service-section__card .service__cards .service__card .card_button a:hover::after {
  -webkit-animation: OutIn-Line 700ms;
          animation: OutIn-Line 700ms;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@-webkit-keyframes OutIn-Line {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
  }
  50% {
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
  }
  50.1% {
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
}
@keyframes OutIn-Line {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
  }
  50% {
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
  }
  50.1% {
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
}

/* 会社概要 */
.company {
  padding-top: 60px;
  padding-bottom: 60px;
  margin-top: 175px;
}
@media screen and (min-width: 768px) {
  .company {
    margin-top: 270px;
  }
}
@media screen and (min-width: 768px) {
  .company-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
}
.company-section__card {
  border-radius: 10px;
  -webkit-box-shadow: 3px 5px 16px 0px rgba(173, 173, 173, 0.21);
          box-shadow: 3px 5px 16px 0px rgba(173, 173, 173, 0.21);
  padding: 10px;
  padding-bottom: 40px;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 3px 5px 16px 0px rgba(173, 173, 173, 0.21);
  padding: 40px 10px;
}
@media screen and (min-width: 768px) {
  .company-section__card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 45px;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 60px 66px;
  }
}
.company .company__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 40px;
}
.company .company__list .company__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.company .company__list .company__item dt {
  width: 100px;
  font-weight: 500;
  margin-left: 10px;
}
.company .company__list .company__item dd {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 0;
  color: #555;
}
.company .company__map {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.company .company__map iframe {
  width: 329px;
  height: 353px;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
@media screen and (min-width: 768px) {
  .company .company__button {
    text-align: left;
  }
}

/* 問い合わせ */
.contact {
  padding-top: 230px;
  padding-bottom: 100px;
  background-color: #fff;
}
@media screen and (min-width: 1024px) {
  .contact {
    margin-top: 220px;
    padding-top: 0;
    border-radius: 10px;
  }
}
.contact__card {
  border-radius: 20px;
  background: #FFF3F3;
  -webkit-box-shadow: 0px 5px 16px 0px rgba(173, 173, 173, 0.17);
          box-shadow: 0px 5px 16px 0px rgba(173, 173, 173, 0.17);
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.contact__card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.contact .card-content {
  padding-bottom: 30px;
}
.contact .card-content .card__image {
  text-align: center;
}
.contact .card-content .card__image img {
  width: 225px;
  margin-top: -80px;
}
.contact .card-content .heading {
  text-align: center;
  padding-top: 30px;
}
.contact .card-content .heading h2 {
  color: #D92B37;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.84px;
}
.contact .card-content .heading-text {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 150%; /* 42px */
  letter-spacing: 0.84px;
  margin-top: -5px;
}
.contact .card-content .card__text {
  padding: 0 20px;
  text-align: center;
  margin-top: 20px;
}

/* ContactForm7カスタマイズ */
table.CF7_table {
  margin: 20px 0;
  width: 100%;
}

@media screen and (min-width: 768px) {
  table.CF7_table {
    max-width: 700px;
    margin-top: 60px;
    margin-right: auto;
  }
}
.CF7_table p {
  margin: 0;
  padding: 10px 20px;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
  display: table;
}

/*入力欄*/
.CF7_table input,
.CF7_table textarea {
  border: 1px solid #d8d8d8;
  margin: 20px 0;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .CF7_table input,
  .CF7_table textarea {
    border: 1px solid #d8d8d8;
    margin: 20px 0;
    width: 100%;
    padding: 10px 3px;
  }
}
.CF7_table ::-webkit-input-placeholder {
  color: #797979;
}
.CF7_table ::-moz-placeholder {
  color: #797979;
}
.CF7_table :-ms-input-placeholder {
  color: #797979;
}
.CF7_table ::-ms-input-placeholder {
  color: #797979;
}
.CF7_table ::placeholder {
  color: #797979;
}

/*「必須」文字*/
.CF7_req {
  font-size: 0.9em;
  padding: 5px;
  background: #D92B37;
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}

/*「任意」文字*/
.CF7_unreq {
  font-size: 0.9em;
  padding: 5px;
  background: #bdbdbd; /*グレー*/
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}

/* タイトル列 */
.CF7_table th {
  width: 30%; /*横幅*/
  -moz-text-align-last: left;
       text-align-last: left;
  -ms-flex-line-pack: center;
      align-content: center;
}

.CF7_table tr, .CF7_table td, .CF7_table th {
  display: block;
  width: 100%;
  line-height: 2.5em;
}

.wpcf7-list-item {
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .wpcf7-list-item {
    font-size: 12px;
  }
}
/* フッター */
.footer {
  background: #464646;
  text-align: center;
  padding: 50px 0;
}
.footer .footer__logo {
  width: 100px;
}
.footer small {
  color: #FFF;
  font-family: "Noto Sans JP";
  font-size: 12px;
  font-weight: 250;
  display: block;
  margin-top: 5px;
}

.breadcrumb {
  color: #555;
}
.breadcrumb span .home {
  color: #ddd;
}

/*
固定ページ
投稿ページ 共通
*/
.single__content {
  z-index: 1;
  margin-top: 0px;
  background-color: #fff;
  border-radius: 20px 20px 0px 0px;
  -webkit-box-shadow: 0px -7px 10px 0px rgba(173, 173, 173, 0.17);
          box-shadow: 0px -7px 10px 0px rgba(173, 173, 173, 0.17);
  padding-top: 100px;
  padding-bottom: 60px;
}

/* 固定ページ --------------------------------- */
.main-page {
  margin-top: 380px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
}
.main-page__content {
  padding: 60px 30px;
  border-radius: 20px;
  -webkit-box-shadow: 3px 3px 10px 0px rgba(173, 173, 173, 0.17);
          box-shadow: 3px 3px 10px 0px rgba(173, 173, 173, 0.17);
  z-index: 1;
  background-color: #fff;
}
@media screen and (min-width: 1024px) {
  .main-page__content {
    padding: 200px 40px;
    margin-bottom: 100px;
  }
}
.main-page h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.4;
  border-left: 9px #D92B37 solid;
  padding-left: 20px;
}
.main-page h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.main-page h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.main-page p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
}
.main-page ul,
.main-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.main-page ul li {
  list-style-type: disc;
}
.main-page ol li {
  list-style-type: decimal;
}
.main-page a {
  color: #5f9cdc;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.main-page a:hover {
  color: #32659c;
}
.main-page img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}
.main-page blockquote {
  border-left: 4px solid #ddd;
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: #555;
  font-style: italic;
}

/* ページタイトル */
.page-title {
  padding: 0 20px;
}
@media screen and (min-width: 1024px) {
  .page-title {
    text-align: center;
  }
}
.page-title h2, .page-title .red {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2.8px;
}
@media screen and (min-width: 1024px) {
  .page-title h2, .page-title .red {
    font-size: 48px;
  }
}
.page-title .red {
  color: #D92B37;
}
.page-title .page-title__sub {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.98px;
  color: #D92B37;
}
@media screen and (min-width: 1024px) {
  .page-title .page-title__sub {
    font-size: 18px;
  }
}
.page-title__content {
  margin-top: 150px;
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

/* パンくずリスト */
.breadcrumb {
  color: #c9c7c7;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 20px;
}
@media screen and (min-width: 1024px) {
  .breadcrumb {
    font-size: 12px;
    margin-bottom: 60px;
  }
}
.breadcrumb--single {
  text-align: left;
  font-size: 12px;
  margin-bottom: 7px;
}
@media screen and (min-width: 1024px) {
  .breadcrumb--single {
    margin-top: 40px;
    font-size: 14px;
  }
}
.breadcrumb i {
  color: #a9a9a9;
}

/* 投稿ページ --------------------------------- */
.single {
  max-width: 960px;
  margin: 100px auto 50px auto;
}
.single h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.4;
  border-left: 9px #D92B37 solid;
  padding-left: 20px;
}
.single h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.single h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.single p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
}
.single ul,
.single ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.single ul li {
  list-style-type: disc;
}
.single ol li {
  list-style-type: decimal;
}
.single a {
  color: #5f9cdc;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.single a:hover {
  color: #32659c;
}
.single img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}
.single blockquote {
  border-left: 4px solid #ddd;
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: #555;
  font-style: italic;
}
.single__content {
  padding: 60px 30px;
  border-radius: 20px;
  -webkit-box-shadow: 3px 3px 10px 0px rgba(173, 173, 173, 0.17);
          box-shadow: 3px 3px 10px 0px rgba(173, 173, 173, 0.17);
  max-width: 960px;
  z-index: 1;
  background-color: #fff;
}
@media screen and (min-width: 1024px) {
  .single__content {
    padding: 100px 40px;
  }
}

/* 関連記事 */
.related-posts {
  padding: 40px 20px;
  background: #f9f9f9;
  margin-top: 20px;
}
@media screen and (min-width: 1024px) {
  .related-posts {
    padding: 60px 0;
  }
}
.related-posts__inner {
  padding: 0 20px;
}
@media screen and (min-width: 1024px) {
  .related-posts__inner {
    max-width: 960px;
    margin: 0 auto;
  }
}
.related-posts__title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}
.related-posts__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .related-posts__list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.related-posts__img img {
  width: 100%;
  height: auto;
  display: block;
}
.related-posts__title {
  padding: 15px;
  font-weight: 600;
}
@media screen and (min-width: 1024px) {
  .related-posts__title {
    font-size: 18px;
  }
}
.related-posts .related-post {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.related-posts .related-post a {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.related-posts .related-post__thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.related-posts .related-post__thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.related-posts .related-post__title {
  font-size: 16px;
  padding: 10px;
  color: #333;
}
.related-posts .related-post:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}
.related-posts .related-post:hover .related-post__thumbnail img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

/* 投稿ページネーション */
.post-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.post-pagination a {
  color: #333;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.post-pagination a:hover {
  background: #555;
  color: #fff;
}
.post-pagination__item {
  display: inline-block;
  padding: 15px 25px;
  background: #f0f0f0;
  border-radius: 30px;
  font-size: 14px;
}
.post-pagination__prev {
  background: #e0e0e0;
}
.post-pagination__next {
  background: #e0e0e0;
}

/* Contact Form 7 --------------------------------- */
.wpcf7-form {
  max-width: 640px;
  -webkit-box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
          box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
  padding: 40px 5%;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .wpcf7-form {
    max-width: 800px;
    margin-top: 100px;
    padding: 60px 5%;
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: #fffafa;
  }
}
.wpcf7-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 1.05rem;
  border: 0.5px solid #cecece;
  border-radius: 5px;
  margin-bottom: 1.75rem;
  margin-top: 10px;
  -webkit-transition: border 0.3s ease, background-color 0.3s ease;
  transition: border 0.3s ease, background-color 0.3s ease;
}
@media screen and (min-width: 768px) {
  .wpcf7-form input[type=text],
  .wpcf7-form input[type=email],
  .wpcf7-form input[type=tel],
  .wpcf7-form textarea {
    padding: 18px 20px;
  }
}
.wpcf7-form input[type=text]:focus,
.wpcf7-form input[type=email]:focus,
.wpcf7-form input[type=tel]:focus,
.wpcf7-form textarea:focus {
  border-color: #f94753;
  background-color: #fff;
  outline: none;
}
.wpcf7-form input[type=text]::-webkit-input-placeholder, .wpcf7-form input[type=email]::-webkit-input-placeholder, .wpcf7-form input[type=tel]::-webkit-input-placeholder, .wpcf7-form textarea::-webkit-input-placeholder {
  color: #cbcbcb;
  font-weight: 300;
  font-size: 12px;
}
.wpcf7-form input[type=text]::-moz-placeholder, .wpcf7-form input[type=email]::-moz-placeholder, .wpcf7-form input[type=tel]::-moz-placeholder, .wpcf7-form textarea::-moz-placeholder {
  color: #cbcbcb;
  font-weight: 300;
  font-size: 12px;
}
.wpcf7-form input[type=text]:-ms-input-placeholder, .wpcf7-form input[type=email]:-ms-input-placeholder, .wpcf7-form input[type=tel]:-ms-input-placeholder, .wpcf7-form textarea:-ms-input-placeholder {
  color: #cbcbcb;
  font-weight: 300;
  font-size: 12px;
}
.wpcf7-form input[type=text]::-ms-input-placeholder, .wpcf7-form input[type=email]::-ms-input-placeholder, .wpcf7-form input[type=tel]::-ms-input-placeholder, .wpcf7-form textarea::-ms-input-placeholder {
  color: #cbcbcb;
  font-weight: 300;
  font-size: 12px;
}
.wpcf7-form input[type=text]::placeholder,
.wpcf7-form input[type=email]::placeholder,
.wpcf7-form input[type=tel]::placeholder,
.wpcf7-form textarea::placeholder {
  color: #cbcbcb;
  font-weight: 300;
  font-size: 12px;
}
.wpcf7-form textarea {
  min-height: 180px;
  resize: vertical;
}
.wpcf7-form input[type=submit] {
  background: #D92B37;
  color: #fff;
  border: none;
  text-align: center;
  padding: 15px;
  font-size: 1.1rem;
  cursor: pointer;
  width: 100%;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.wpcf7-form input[type=submit]:hover {
  opacity: 0.8;
}
.wpcf7-form .required {
  color: #D92B37;
  font-size: 13px;
}

/* 404 --------------------------------- */
.no-page {
  text-align: center;
  margin-top: 80px;
  padding-bottom: 80px;
}
@media screen and (min-width: 1024px) {
  .no-page {
    margin-top: 100px;
    padding-bottom: 100px;
  }
}
.no-page .breadcrumb {
  text-align: left;
}
.no-page .entry-404-head {
  color: rgba(255, 200, 204, 0.6588235294);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-top: 36px;
  margin-bottom: 30px;
}
@media screen and (min-width: 1024px) {
  .no-page .entry-404-head {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 36px;
  }
}
.no-page .entry-404-lead {
  color: #9a9a9a;
  font-weight: 600;
  margin-bottom: 24px;
}
.no-page .entry-404-content {
  color: #9a9a9a;
}
.no-page .entry-404-btn {
  margin-top: 58px;
}
@media screen and (min-width: 1024px) {
  .no-page .entry-404-btn {
    width: 350px;
    margin: 50px auto;
  }
}