/*---------------------------------------------------------
Theme Name: kohaku-greefcare
Description: Theme for kohaku-greefcare
Author: kohaku-greefcare
---------------------------------------------------------*/
:root {
  /* --main-color: #042764; */
  --main-color: #001b49;
  /* --main-light-color: #1a458f; */
  --main-light-color: #092960;
  --accent-color: #ff842d;
  --accent-light-color: #ffeadb;
  --text-color: #333;
  --link-color: #48a4ff;
  --bg-color: #e9f1ff;
}

/* body {
  font-family:
    "LINE Seed JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  font-size: 15px;
} */

body {
  font-family:
    "Zen Kaku Gothic New", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  font-size: 15px;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  line-height: 1.8;
}

a {
  transition: all 0.3s;
}

a[href*="tel:"] {
  pointer-events: none;
}

p a,
table a,
.text-link {
  color: var(--link-color);
  text-decoration: underline;
}

@media (any-hover: hover) {
  p a:hover,
  table a:hover,
  .text-link:hover {
    text-decoration: none;
  }
}

.pc {
  display: block;
}

.sp {
  display: none;
}

iframe {
  width: 100%;
}

.youtube {
  width: 100%;
  margin-bottom: 0.5em;
}

.youtube > iframe {
  aspect-ratio: 16/9;
  width: 100%;
  height: 100%;
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="email"],
select {
  width: 380px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #fff;
  letter-spacing: 0.05em;
}

textarea {
  width: 100%;
  height: 200px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  resize: both;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.label {
  background-color: var(--bg-light-color);
  color: var(--text-color);
  padding: 0.3em;
  border-radius: 4px;
  display: inline-block;
  font-size: 0.8em;
  font-weight: bold;
  width: fit-content;
}

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

/*--------------------------------
レイアウト
---------------------------------*/
.container {
  max-width: 1240px;
  margin-inline: auto;
  padding: 0 40px;
}

.main {
  /* overflow-x: hidden; */
}

.post__main,
.post__article {
  max-width: 900px;
  margin-inline: auto;
}

/*--------------------------------
セクション
---------------------------------*/
.section {
  padding: 88px 0;
}

.section--bgcolor {
  background-color: var(--main-color);
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading--center {
  text-align: center;
}

.section-heading__subtitle {
  font-family: playfair, serif;
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--accent-color);
  letter-spacing: 0.1em;
}

.section-heading__title {
  font-family: "shippori mincho", serif;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.section--bgcolor .section-heading__title {
  color: #fff;
}

.section-heading__subtitle {
  margin-bottom: 0.2em;
}

.section-intro {
  color: #fff;
  margin-bottom: 40px;
}

.section-intro--center {
  text-align: center;
}

.section-intro p {
  line-height: 2.2;
}

.section__btn {
  text-align: center;
  margin-top: 40px;
}

.section-col2 {
  display: flex;
  /* column-gap: 130px; */
}

.section-col2 .section-heading {
  flex: 0 0 300px;
}

.section-col2 .section-content {
  flex: 1;
}

/*--------------------------------
ボタン
---------------------------------*/
.btn {
  display: inline-block;
  min-width: 180px;
  font-size: 16px;
  line-height: 1.2;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  padding: 1.2em 2em 1.2em 2em;
  border-radius: 100px;
  cursor: pointer;
  color: var(--main-color);
  border: 1px solid #c1d7ff;
  background: #fff;
  position: relative;
}

.btn::after {
  position: absolute;
  top: 50%;
  right: 1.5em;
  content: "";
  width: 6px;
  height: 10px;
  transform: translateY(-50%);
  background-image: url(./img/icon_arrow-right-color.svg);
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.3s;
}

@media (any-hover: hover) {
  .btn:hover {
    color: var(--accent-color);
  }

  .btn:hover::after {
    right: 1.3em;
  }
}

.back-link {
  margin-top: 16px;
  padding: 24px 0;
}

.back-link__inner {
  text-align: center;
}

/*--------------------------------
テーブル
---------------------------------*/
.table-type01 {
  font-size: 15px;
  line-height: 1.5;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.table-type01 tr {
  border-bottom: 1px solid #cddfff;
}

.table-type01 th,
.table-type01 td {
  text-align: left;
  padding: 20px;
}

.table-type01 th {
  width: 20%;
  font-weight: normal;
}

.table-type01 p:not(:last-child) {
  margin-bottom: 10px;
}

.table-type01 ul {
  margin-left: 20px;
}

.table-type01--history th {
  width: 14%;
}

/*--------------------------------
カード
---------------------------------*/
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px 24px 72px;
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.card__content {
  position: relative;
}

@media (any-hover: hover) {
  .card:hover {
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
    background-color: var(--bg-light-color);
  }
}

.card__figure {
  margin: 0 auto 24px;
  text-align: center;
}

.card__img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card__title {
  font-size: 24px;
  line-height: 1.4;
  color: var(--main-color);
  margin-bottom: 0.6em;
  font-weight: bold;
  text-align: center;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px;
}

.header-logo {
  display: flex;
  align-items: center;
  column-gap: 32px;
}

.header-logo__figure-img {
  width: 120px;
  height: auto;
}

.header-logo__link {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.header-logo__text {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  font-weight: bold;
  color: #fff;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-fixed {
  position: fixed;
  top: -80px;
  width: 100%;
  z-index: 100;
  background-color: var(--main-color);
  transition: 0.5s;
}

.header-fixed.is-show {
  top: 0;
}

.header-fixed__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
}

.header-fixed-logo__figure-img {
  width: auto;
  height: 24px;
}

.header-fixed-logo__text {
  color: var(--main-color);
  font-size: 13px;
}

.header-fixed .header-nav {
  margin-left: auto;
}

.header-fixed .gnav {
  margin-left: 8px;
}

.header-fixed .gnav__list {
  column-gap: 20px;
}

.header-fixed .gnav__link {
  font-size: 15px;
  color: #fff;
}

.header-nav__btn-line {
  margin-left: 24px;
}

.gnav {
  display: flex;
  align-items: center;
}

.gnav__list {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.gnav__link {
  text-decoration: none;
  font-size: 15px;
  padding: 0.6em 0;
  color: #fff;
  transition: all 0.3s;
}

.btn-gnav .gnav__link {
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #c1d7ff;
  color: var(--main-color);
  border-radius: 100px;
  text-decoration: none;
  padding: 0.8em 1.2em;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
}

.current-menu-item .gnav__link {
  color: var(--accent-color);
}

@media (any-hover: hover) {
  .gnav__link:hover {
    color: var(--accent-color);
  }
}

.btn-menu {
  display: none; /* 初期状態では非表示 */
}

/*--------------------------------
メインビジュアル
---------------------------------*/
.kv {
  background-image: url(./img/kv.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 780px;
  position: relative;
}

.kv__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 960px;
  margin-inline: auto;
}

.kv-heading {
  margin-top: 1.5em;
  opacity: 0;
  animation-name: fadein;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.kv-heading__title {
  font-family: "shippori mincho", serif;
  font-size: 48px;
  line-height: 1.4;
  color: #fff;
  padding-left: 1em;
  margin-bottom: 0.5em;
}

.kv-heading__text {
  max-width: 600px;
  opacity: 0.3;
}

.kv-text {
  position: absolute;
  top: 65%;
  right: 4.5%;
  transform: translateY(-50%);
  color: #fff;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  font-size: 16px;
  line-height: 2.1;
  color: #fff;
  opacity: 0;
  animation-name: fadein;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 1s;
}

.kv-text__item {
  display: block;
  margin-bottom: 0.5em;
  white-space: nowrap;
}

/*--------------------------------
Intro
---------------------------------*/
.intro {
  background-color: var(--main-color);
}

.intro__inner {
  max-width: 1000px;
  margin-inline: auto;
  padding: 64px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.intro__desc {
  color: #fff;
  line-height: 2;
}

/*--------------------------------
私たちの想い
---------------------------------*/
.message {
  position: relative;
  overflow: hidden;
  padding-bottom: 148px;
}

.message__figure-img {
  width: 100%;
  height: auto;
}

.message-content {
  position: relative;
  float: right;
  margin-top: -170px;
  z-index: 1;
  background-color: var(--bg-color);
  border-radius: 16px 0 0 0;
  width: 90%;
  padding: 104px 24px 0 104px;
}

.message-content__inner {
  display: flex;
  column-gap: 14%;
}

.message-content p {
  font-family: "shippori mincho", serif;
  font-size: 18px;
  line-height: 2.4;
}

.message-content__title {
  flex: 0 0 220px;
}

.message-content__desc {
  flex: 1;
  word-break: keep-all;
}

/*--------------------------------
サービス
---------------------------------*/
.section--service {
  padding-bottom: 180px;
  background-image: url(./img/logo-bg.svg);
  background-size: 1000px auto;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.service-box-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  max-width: 1000px;
  margin-inline: auto;
}

.service-box {
  background-color: var(--main-light-color);
  border-radius: 16px;
  padding: 64px;
  color: #fff;
}

.service-box__inner {
  display: flex;
  column-gap: 80px;
}

.service-box__title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.1em;
  font-size: 24px;
  line-height: 1.4;
  font-weight: bold;
  padding-left: 1em;
  position: relative;
  padding-top: 0.8em;
  flex: 0 0 64px;
}

.service-box__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 4px;
}

.service-box__desc {
  flex: 1;
}

.service-box__desc p {
  font-size: 15px;
  line-height: 2;
}

.service-box__desc p:not(:last-child) {
  margin-bottom: 1.6em;
}

.service-box__desc p strong {
  font-weight: bold;
  color: var(--accent-color);
}

.service-box-list {
  list-style: disc;
  padding-left: 1em;
  margin-bottom: 1.6em;
}

.service-box-list__item:not(:last-child) {
  margin-bottom: 0.5em;
}

.service-box-list__item {
  line-height: 1.8;
}

.service-box__note {
  font-size: 14px;
  line-height: 1.4;
}

.price-box-table {
  margin-bottom: 1.6em;
}

.price-box-table__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}

.price-box-table__table th {
  background-color: var(--main-color);
  color: #fff;
  width: 100px;
  border-radius: 4px;
  text-align: center;
  vertical-align: middle;
  line-height: 1;
  padding: 0.2em 0.5em;
}

.price-box-table__table td {
  font-size: 20px;
  padding: 0.2em 0.5em;
}

.price-box-table__unit {
  font-size: 12px;
  line-height: 1.4;
}

.service-flow {
  display: flex;
  flex-direction: column;
}

.service-flow-item:not(:last-child) {
  border-bottom: 1px solid #5273ab;
  padding-bottom: 24px;
  margin-bottom: 24px;
  position: relative;
}

.service-flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 6px solid var(--accent-color);
  z-index: 1;
}

.service-flow-item__title {
  font-size: 24px;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.service-flow-item__title-num {
  font-size: 12px;
  line-height: 1.4;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--main-color);
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-flow-item__title-text {
  font-size: 20px;
  line-height: 1.4;
}

/*--------------------------------
FAQ
---------------------------------*/
.faq-list {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  max-width: 840px;
  margin-inline: auto;
}

.faq-item {
  background-color: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.04);
}

.faq-item__question {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 1em;
  position: relative;
  margin-left: 40px;
}

.faq-item__question::before {
  display: block;
  content: "Q";
  position: absolute;
  top: 0;
  left: -45px;
  width: 32px;
  height: 32px;
  background-color: var(--bg-color);
  color: var(--main-color);
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.faq-item__answer {
  margin-left: 40px;
  position: relative;
  font-size: 16px;
}

.faq-item__answer::before {
  display: block;
  content: "A";
  position: absolute;
  top: 0;
  left: -45px;
  width: 32px;
  height: 32px;
  background-color: var(--accent-light-color);
  color: var(--accent-color);
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/*--------------------------------
お知らせ
---------------------------------*/
.news-text-list-wrapper {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
  column-gap: 16px;
}

.news-text-list {
  flex: 1;
}

.news-text-list__link {
  color: var(--link-color);
  width: 100%;
  display: block;
  padding: 0.4em;
  border-radius: 8px;
  display: flex;
  align-items: center;
  column-gap: 16px;
}

@media (any-hover: hover) {
  .news-text-list__link:hover {
    text-decoration: none;
    background-color: var(--bg-light-color);
  }
}

.news-text-list__date {
  text-decoration: none;
  color: var(--text-color);
}

.news-text-list__title {
  text-decoration: underline;
  flex: 1;
}

/*--------------------------------
フッター
---------------------------------*/
.footer {
  background-color: var(--main-color);
}

.footer__inner {
  max-width: 1400px;
  padding: 72px 48px 32px;
  margin-inline: auto;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  column-gap: 80px;
}

.footer-logo {
  flex: 0 0 120px;
}

.footer__content {
  flex: 1;
}

.footer__list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 16px;
}

.footer__link {
  padding: 0.6em 0;
  font-size: 14px;
  color: #fff;
}

.footer-other-links {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #224179;
}

.footer-other-links__list {
  display: flex;
  column-gap: 16px;
}

.footer-other-links__link {
  font-size: 12px;
  padding: 0.6em 0;
  color: #fff;
}

.footer__note {
  font-size: 14px;
  line-height: 1.7;
  color: #fff;
  margin-top: 32px;
}

@media (any-hover: hover) {
  .footer__link:hover {
    color: var(--accent-color);
  }
  .footer-other-links__link:hover {
    color: var(--accent-color);
  }
}

.footer__copyright {
  margin-top: 56px;
  font-size: 12px;
  line-height: 1;
  color: #a2a2a2;
}

/*--------------------------------
下層ページ
---------------------------------*/
.contents {
  padding: 40px 0;
}

.sub-header {
  background-image: url(./img/sub-header.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* padding: 40px 0; */
  height: 240px;
}

.sub-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.sub-header__heading {
  color: #fff;
  text-align: center;
  margin-top: 4em;
}

.sub-header__subtitle {
  font-family: "shippori mincho", serif;
  font-size: 16px;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 0.6em;
  letter-spacing: 0.1em;
}

.sub-header__title {
  font-family: "shippori mincho", serif;
  font-size: 32px;
  letter-spacing: 0.1em;
}

.sub-section {
  padding: 40px 0;
}

.sub-section__heading {
  margin-bottom: 40px;
}

.sub-section__title {
  font-family: "shippori mincho", serif;
  font-size: 32px;
  letter-spacing: 0.2em;
  color: var(--main-color);
}

/*--------------------------------
会社概要
---------------------------------*/
.greetings {
  max-width: 740px;
  margin-inline: auto;
}

.greetings__title {
  font-family: "shippori mincho", serif;
  font-size: 32px;
  letter-spacing: 0.2em;
  color: var(--main-color);
  margin-bottom: 1em;
}

.greetings__content {
  font-family: "shippori mincho", serif;
}

.greetings__content p {
  font-size: 18px;
  line-height: 2.4;
}

.company-info {
  max-width: 900px;
  margin-inline: auto;
}

/*--------------------------------
プライバシーポリシー
---------------------------------*/

/*--------------------------------
投稿
---------------------------------*/
.post {
  padding: 32px 0 56px;
}

.post__inner {
  background-color: #fff;
  padding: 64px 10%;
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.post__header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  position: relative;
}

.post__header--reserve-status {
  padding-bottom: 16px;
  border-bottom: 1px solid #cda68a;
  position: relative;
}

.post__title-date {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.post__title {
  font-family: "shippori mincho", serif;
  font-size: 32px;
  line-height: 1.4;
  font-weight: bold;
  color: var(--main-color);
}

.post__subtitle {
  font-size: 13px;
  line-height: 1.4;
  margin-top: 0.3em;
}

.post__modified-date {
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
}
.post__desc {
  margin-top: 1em;
  margin-bottom: 1.2em;
  font-size: 14px;
  line-height: 1.6;
}

.post__date {
  display: block;
  margin-top: 0.4em;
  font-size: 14px;
}

.post__body:last-child {
  padding-bottom: 0;
}

.post__body p {
  font-size: 16px;
  line-height: 1.8;
  word-wrap: break-word;
}

.post__body p:not(:last-child) {
  margin-bottom: 1.6em;
}

.post__body p > a,
.post__body li > a {
  color: var(--link-color);
  text-decoration: underline;
}

.post__body p > img {
  margin-bottom: 1em;
}

.post__body h2 {
  position: relative;
  font-size: 20px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 0.8em;
  border-radius: 6px;
  margin-top: 1.5em;
  color: #333;
}

.post__body h2:first-child {
  margin-top: 0;
}

.post__body h3 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: bold;
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
  padding-top: 1.2em;
  padding-bottom: 0.4em;
  margin-bottom: 0.8em;
}

.post__body h4 {
  margin-top: 2em;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 1em;
}

.post__body img {
  max-width: 100%;
  height: auto !important;
}

.post__body ul,
.post__body ol {
  list-style: decimal;
  margin-bottom: 1.8em;
}

.post__body ul:last-child,
.post__body ol:last-child {
  margin-bottom: 0;
  padding-left: 0;
  padding-top: 0.3em;
  padding-bottom: 0;
}

.post__body ul {
  list-style: disc;
}

.post__body ol {
  list-style: decimal;
}

.post__body ul li,
.post__body ol li {
  line-height: 1.7;
  margin-bottom: 0.2em;
  margin-left: 2em;
}

.post__body iframe {
  width: 100%;
  margin-bottom: 0.8em;
}

.post__body table th,
.post__body table td {
  line-height: 1.5;
}

.wp-block-group-is-layout-flex > p {
  margin-bottom: 0 !important;
}

.wp-block-flexible-table-block-table {
  margin-bottom: 1.5em;
}

:where(.is-layout-flex) {
  gap: 1em;
}

.wp-block-columns .wp-block-image {
  margin-bottom: 0 !important;
}

:where(.wp-block-columns) {
  margin-bottom: 1em;
}

.wp-block-button__link {
  text-decoration: none !important;
}

.wp-block-image figcaption {
  font-size: 14px;
}

.wp-block-media-text {
  margin-bottom: 1.5em;
}

.wp-block-embed {
  margin-bottom: 1em;
}

hr {
  border: 0;
}

.post__body .wp-block-image {
  margin: 0 auto 1rem;
}

.post__body .wp-block-image img {
  display: block;
  margin-inline: auto;
}

.post__body .wp-block-image.no-border img {
  border: none;
}

.wp-block-flexible-table-block-table:last-child {
  margin-bottom: 0;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.list[class*="category-"] .post_links {
  margin-bottom: 2rem;
  border-bottom: none;
}

.wp-block-table td,
.wp-block-table th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.wp-block-table tr,
.wp-block-table td {
  font-size: 16px;
  line-height: 2;
  border: 1px solid #000;
}

.wp-block-button.aligncenter,
.wp-block-buttons.aligncenter,
.wp-block-calendar {
  margin-top: 16px;
  text-align: center;
  display: block;
}

.wp-block-button__link {
  background-color: var(--main-color);
}

.wp-block-quote {
  background-color: #f1f1f1;
  padding: 1.4em;
  border-radius: 8px;
  margin-bottom: 1em;
}

.wp-block-quote p {
  font-size: 0.9em;
}

.wp-block-video {
  margin-bottom: 1em;
}

.wp-block-buttons:not(:last-child) {
  margin-bottom: 1em;
}

.nocomments {
  display: none;
}

/*--------------------------------
記事リスト
---------------------------------*/
.article-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-card-list--col1 {
  grid-template-columns: 1fr;
  row-gap: 24px;
}

.article-card-list--col2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.article-card-list--col4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (any-hover: hover) {
  .article-card-list__link:hover {
    opacity: 0.8;
  }
}

.article-card-list__thumb {
  aspect-ratio: 16 / 9;
  margin-bottom: 8px;
  position: relative;
}

.article-card-list__thumb > img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border: 1px solid #eee;
}

.article-card-list__title {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
}

.article-card-list__title--2line {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card-list__date {
  font-size: 11px;
  color: #333;
  padding: 4px;
}

/*--------------------------------
パンくずリスト
---------------------------------*/
.breadcrumb-wrapper {
  padding: 12px 0;
  background-color: var(--bg-color);
}

.breadcrumb {
  font-size: 11px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  word-break: keep-all;
}

.breadcrumb__inner {
  font-size: 12px;
  line-height: 1.2;
}

.breadcrumb__list a {
  text-decoration: underline;
}

.breadcrumb__list span:first-child a {
  margin-right: 0;
}

.breadcrumb__list span:nth-child(n + 2) span {
  margin-left: 1.3em;
}

.breadcrumb__list span:nth-child(n + 2) {
  position: relative;
}

.breadcrumb__list span:nth-child(n + 2):before {
  position: absolute;
  top: 6px;
  left: 3px;
  content: "";
  border-style: solid;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin: 0.1em;
}

/*--------------------------------
ページネーション
---------------------------------*/
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  text-align: center;
  column-gap: 10px;
  row-gap: 10px;
}

.pagination .page-numbers {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 40px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
}

.pagination .current {
  font-weight: bold;
  font-weight: normal;
  color: #fff;
  border: 1px solid var(--main-color);
  background-color: var(--main-color);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-size: 13px;
  width: 60px;
}

/*--------------------------------
 404
---------------------------------*/
.not-found {
  padding: 100px 0;
}

.not-found__body {
  text-align: center;
}

.not-found__text {
  font-size: 24px;
  line-height: 1.5;
}

.not-found__btn {
  margin-top: 24px;
  text-align: center;
}

.not-found__btn > .btn {
  width: 200px;
}

/*--------------------------------
1200px以下
---------------------------------*/
@media screen and (max-width: 1200px) {
  /* レイアウト */
  .container {
    padding: 0 24px;
  }

  /* ヘッダー */
  .header__inner {
    padding: 16px;
  }

  .gnav__list,
  .header-fixed .gnav__list {
    column-gap: 12px;
  }

  .gnav__link,
  .header-fixed .gnav__link {
    font-size: 14px;
  }

  .header-fixed__inner {
    padding: 0 16px;
  }

  .header-logo__figure-img,
  .header-fixed-logo__figure-img {
    height: 24px;
  }

  .header-logo__text,
  .header-fixed-logo__text {
    font-size: 10px;
  }

  /* 投稿 */
  .post-wrapper {
    flex-direction: column;
    row-gap: 24px;
  }

  .post__main,
  .post__article {
    width: 100%;
  }

  /* メインビジュアル */
  .kv {
    padding: 40px 0;
  }

  .kv__inner {
    max-width: 800px;
    padding: 0 16px;
  }

  .kv-text {
    font-size: 14px;
  }

  /* メッセージ */
  .message-content__inner {
    display: flex;
    column-gap: 60px;
  }
}

/*--------------------------------
以下からSP 1000px以下
---------------------------------*/
@media screen and (max-width: 1000px) {
  body {
    font-size: 15px;
  }

  .pc {
    display: none;
  }
  .sp {
    display: block;
  }

  a[href*="tel:"] {
    pointer-events: auto;
  }

  /* レイアウト */
  .container {
    padding: 0 16px;
  }

  .contents {
    padding: 24px 0;
  }

  /* セクション */
  .section {
    padding: 40px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading__title {
    font-size: 24px;
    line-height: 1.3;
  }

  .section-heading__subtitle {
    font-size: 14px;
  }

  /* フォーム */
  input[type="text"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="email"],
  select {
    width: 100%;
  }

  /* パンくずリスト */
  .breadcrumb__list span:nth-child(n + 2):before {
    position: absolute;
    top: 6px;
  }

  /* ボタン */
  .btn {
    width: 100% !important;
    min-width: 100% !important;
    font-size: 14px;
  }

  /* ハンバーガーボタン */
  .btn-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 68px;
    text-align: center;
    z-index: 1000;
    padding: 8px;
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
    appearance: none;
    border-radius: 0 0 0 4px;
    color: #fff;
    /* background-color: var(--main-color); */
  }

  .btn-menu-icon {
    width: 100%;
    padding: 8px;
  }

  .btn-menu-icon__line {
    position: relative;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    transition: all 0.4s;
    border-radius: 4px;
    background-color: #fff;
  }

  .btn-menu-icon__line::before,
  .btn-menu-icon__line::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    transition: inherit;
    border-radius: 4px;
    background-color: inherit;
    background-color: #fff;
  }

  .btn-menu-icon__line::before {
    top: -8px;
  }

  .btn-menu-icon__line::after {
    top: 8px;
  }

  .btn-menu.is-active .btn-menu-icon__line {
    background-color: transparent;
  }

  .btn-menu.is-active .btn-menu-icon__line::before,
  .btn-menu.is-active .btn-menu-icon__line::after {
    top: 0;
  }

  .btn-menu.is-active .btn-menu-icon__line::before {
    transform: rotate(45deg);
  }

  .btn-menu.is-active .btn-menu-icon__line::after {
    transform: rotate(-45deg);
  }

  .btn-menu__text {
    display: block;
    font-size: 10px;
    line-height: 1.3;
    margin-top: 4px;
  }

  /* カード */
  /* .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 16px 16px 48px 16px;
  }

  .card__img--w100 {
    height: auto;
  }

  .card__title {
    font-size: 20px;
  }

  .card__desc {
    margin-bottom: 8px;
  } */

  /* ヘッダー */
  .header__inner {
    height: 64px;
  }

  .header-logo {
    align-items: flex-start;
    column-gap: 16px;
  }

  .header-logo__link {
    column-gap: 8px;
  }

  .header-logo__figure-img {
    width: 80px;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    display: block;
    width: 240px;
    height: 100%;
    transform: translateX(240px);
    transition: all 0.3s ease;
    z-index: 100;
    background-color: var(--main-color);
    align-items: flex-start;
    justify-content: center;
    padding: 80px 24px 16px 24px;
  }

  .header-nav.is-show {
    transform: translateX(0);
    box-shadow: -10px 0 35px -20px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .header-fixed__inner {
    height: 60px;
  }

  .header-fixed-logo__figure-img {
    height: 24px;
  }

  .header-nav--fixed {
    display: none;
  }

  .gnav__list {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    row-gap: 16px;
  }

  .gnav__item {
    width: 100%;
  }

  .gnav__link {
    font-size: 14px;
    width: 100%;
    display: block;
    color: #fff;
  }

  .btn-gnav .gnav__link {
    padding: 1.4em;
  }

  /* メインビジュアル */
  .kv {
    height: 500px;
  }

  .kv__inner {
    width: 90%;
  }

  .kv-heading__title {
    font-size: clamp(24px, 5vw, 48px);
  }

  .kv-heading__text {
    width: 70%;
  }

  .kv-text {
    font-size: 13px;
    line-height: 1.8;
  }

  /* intro */

  .intro__inner {
    padding: 40px 32px;
    flex-direction: column;
    row-gap: 24px;
  }

  .intro__title-img {
    height: 24px;
  }

  /* メッセージ */
  .message {
    padding-bottom: 40px;
  }

  .message-content__inner {
    flex-direction: column;
  }

  .message-content {
    width: 100%;
    margin-top: -40px;
    padding: 40px;
  }

  .message-content__title {
    flex: 1;
  }

  .message-content p {
    font-size: 15px;
  }

  /* サービス */
  .section--service {
    padding-bottom: 80px;
    background-size: contain;
  }

  .service-box {
    padding: 24px;
    margin-inline: -16px;
  }

  .service-box__inner {
    flex-direction: column;
    row-gap: 16px;
  }

  .service-box__title {
    writing-mode: horizontal-tb;
    font-size: 16px;
    flex: 0 0 48px;
    padding: 0 0 0 1em;
  }

  .service-box__title::before {
    width: 4px;
    height: 100%;
  }

  /* よくあるご質問 */
  .section-col2 {
    flex-direction: column;
    row-gap: 16px;
  }

  .section-col2 .section-heading {
    flex: 1;
  }

  .faq-item {
    padding: 24px;
  }

  .faq-item__question {
    font-size: 15px;
  }

  .faq-item__answer {
    font-size: 15px;
  }

  /* 投稿 */
  .post-wrapper {
    margin-inline: -16px;
  }

  .post__inner {
    padding: 24px 16px;
  }

  .post__header {
    margin-bottom: 16px;
    padding-bottom: 8px;
  }

  .post__title {
    font-size: 20px;
  }

  .post__subtitle {
    font-size: 11px;
  }

  .post__desc {
    font-size: 12px;
  }

  .post__date {
    font-size: 12px;
  }

  .post__modified-date {
    font-size: 12px;
  }

  .post__body p {
    font-size: 15px;
    line-height: 1.8;
  }

  .post__body h2 {
    font-size: 18px;
    border-radius: 4px;
  }

  .post__body h2:before {
    border-radius: 4px 0 0 4px;
  }

  .post__body h3 {
    font-size: 16px;
    padding-top: 1em;
  }

  .post__body h4 {
    font-size: 16px;
  }

  .wp-block-image figcaption {
    font-size: 11px;
  }

  /* 記事リスト */
  .article-box {
    padding: 24px;
  }

  .article-card-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 24px;
  }

  .article-card-list--col3 {
    grid-template-columns: 1fr;
  }

  .article-card-list__thumb {
    margin-bottom: 6px;
  }

  .article-card-list__title {
    font-size: 13px;
  }

  .article-card-list__date {
    font-size: 11px;
  }

  .article-list__title {
    font-size: 16px;
    line-height: 1.4;
  }

  /* ページネーション */
  .post-pager__list {
    flex-direction: column;
    row-gap: 8px;
  }

  .post-pager__body {
    padding: 12px;
  }

  /* 404 */
  .not-found__text {
    font-size: 15px;
  }

  /* フッター */
  /* .footer {
    padding: 32px 0;
  } */

  .footer__inner {
    padding: 48px 16px 24px;
  }

  .footer__list {
    flex-direction: column;
    row-gap: 16px;
  }

  .footer__inner {
    flex-direction: column;
    row-gap: 16px;
  }

  .footer__main {
    flex-direction: column;
    row-gap: 24px;
  }

  .footer-logo {
    flex: 1;
    margin-bottom: 24px;
  }

  .footer-logo__figure-img {
    width: 120px;
  }

  .footer__link {
    font-size: 12px;
  }

  /* 下層ページ */
  .sub-section {
    padding: 24px 0;
  }

  .sub-header {
    height: 140px;
  }
  .sub-header__heading {
    margin-top: 2em;
  }

  .sub-header__title {
    font-size: 18px;
  }

  .greetings__title {
    font-size: 24px;
  }

  .greetings__content p {
    font-size: 16px;
    line-height: 2.2;
  }

  .table-type01 {
    font-size: 14px;
  }

  .table-type01 th,
  .table-type01 td {
    padding: 16px 8px;
  }
}
