@charset "utf-8";
/*
Theme Name: diver_child
Template: diver
Description:  Diverの子テーマです。
Theme URI: http://tan-taka.com/diver/
Author: Takato Takagi
*/


/* ------------------------------------------------------ */
/* base
/* ------------------------------------------------------ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 180px;
}

@media screen and (max-width: 1023px) {
  html {
    scroll-padding-top: 100px;
  }
}

@media screen and (max-width: 599px) {
  html {
    scroll-padding-top: 80px;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  font-family: var(--zen-kaku-gothic-new);
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: var(--primary-main-500);
  background-color: var(--base);
}

a,
button,
input[type="submit"],
select {
  cursor: pointer;
}

/* ------------------------------------------------------ */
/* text-align
/* ------------------------------------------------------ */

.center {
  text-align: center;
}

.right {
  text-align: right;
}

/* ------------------------------------------------------ */
/* inner
/* ------------------------------------------------------ */

.inner {
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: content-box;
  max-width: 1092px;
}

@media screen and (max-width: 599px) {
  .inner {
    padding: 0 16px;
  }
}

/* ------------------------------------------------------ */
/* main
/* ------------------------------------------------------ */

.main {
  flex: 1;
  margin-top: 160px;
}

@media screen and (max-width: 1023px) {
  .main {
    margin-top: 100px;
  }
}

@media screen and (max-width: 599px) {
  .main {
    margin-top: 64px;
  }
}

body:not(.home) .main {
  margin-top: 108px;
}

@media screen and (max-width: 1023px) {
  body:not(.home) .main {
    margin-top: 80px;
  }
}

@media screen and (max-width: 599px) {
  body:not(.home) .main {
    margin-top: 64px;
  }
}

/* ------------------------------------------------------ */
/* button
/* ------------------------------------------------------ */

.common-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 40px auto 0;
  width: 340px;
  height: 60px;
  color: var(--white);
  background-color: var(--secondary-main-500);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
  cursor: pointer;
}

@media screen and (max-width: 1023px) {
  .common-button {
    margin: 32px auto 0;
    width: 270px;
  }
}

@media screen and (max-width: 599px) {
  .common-button {
    height: 56px;
    font-size: 14px;
  }
}

.common-button-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 30px;
  height: 30px;
  background-color: var(--secondary-dark-600);
  border-radius: 50%;
  transition: all 0.3s ease;
}

@media screen and (max-width: 599px) {
  .common-button-arrow {
    right: 12px;
    width: 24px;
    height: 24px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .common-button:hover {
    background-color: var(--secondary-dark-600);
  }

  .common-button:hover .common-button-arrow {
    background-color: var(--secondary-main-500);
  }
}

.common-button-arrow::before {
  content: '';
  display: block;
  width: 13px;
  height: 11px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_white.svg) center / contain no-repeat;
}

@media screen and (max-width: 599px) {
  .common-button-arrow::before {
    width: 10px;
    height: 8px;
  }
}

/* ------------------------------------------------------ */
/* logo
/* ------------------------------------------------------ */

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-sub {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}

.logo-main {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
}

@media screen and (min-width: 600px) {
  .footer-logo.logo-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-logo.logo-wrap .logo-main {
    font-size: 32px;
  }
}

@media screen and (max-width: 599px) {
  .header-logo.logo-wrap {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
  }

  .header-logo.logo-wrap .logo-sub {
    font-size: 12px;
  }

  .header-logo.logo-wrap .logo-main {
    font-size: 24px;
  }

  .footer-logo.logo-wrap {
    gap: 12px;
  }

  .footer-logo.logo-wrap .logo-sub {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .footer-logo.logo-wrap .logo-main {
    font-size: 30px;
    letter-spacing: 0.12em;
  }
}


/* ------------------------------------------------------ */
/* header
/* ------------------------------------------------------ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000000;
  height: 160px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent);
  backdrop-filter: blur(8px)
}

@media screen and (max-width: 1023px) {
  .header {
    height: 80px;
  }
}

@media screen and (max-width: 599px) {
  .header {
    height: 64px;
  }
}

body:not(.home) .header {
  height: 108px;
}

@media screen and (max-width: 1023px) {
  body:not(.home) .header {
    height: 80px;
  }
}

@media screen and (max-width: 599px) {
  body:not(.home) .header {
    height: 64px;
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-left: 44px;
  height: 100%;
}

@media screen and (max-width: 1200px) {
  .header-inner {
    padding-left: 20px;
  }
}

@media screen and (max-width: 599px) {
  .header-inner {
    padding-left: 16px;
  }
}

.header-logo {
  align-self: start;
  margin-top: 28px;
}

@media screen and (max-width: 1023px) {
  .header-logo {
    align-self: auto;
    margin-top: 0;
  }
}

.header-content {
  display: flex;
}

.header-nav {
  display: flex;
  gap: 56px;
  height: 100%;
}

.header-nav-list {
  display: flex;
  gap: 42px;
  margin-top: 28px;
}

@media screen and (max-width: 1023px) {
  .header-nav-list {
    position: fixed;
    gap: 0;
    top: 80px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - 80px);
    opacity: 0;
    visibility: hidden;
    margin-top: 0;
    background-color: var(--primary-main-500);
    border-top: 1px solid var(--white);
    transition: all 0.3s ease;
  }

  .header-nav-list::after {
    content: '';
    position: absolute;
    top: 400px;
    right: 0;
    width: 210px;
    height: 200px;
    background: url(/wp-content/uploads/assets/img/img_temple_secondary.svg) center / contain no-repeat;
  }
}

@media screen and (max-width: 599px) {
  .header-nav-list {
    top: 64px;
    height: calc(100dvh - 64px);
  }
}

body:not(.home) .header-nav-list {
  display: none;
}

.header-nav-list.active {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 1023px) {
  .header-nav-item {
    flex: 1;
    display: flex;
    height: 350px;
    border-right: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
  }

  .header-nav-item:last-child {
    border-right: none;
  }
}

.header-nav-link {
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  border-right: 1px solid var(--secondary-main-500);
  transition: all 0.3s ease;
}

@media screen and (max-width: 1023px) {
  .header-nav-link {
    display: flex;
    align-items: center;
    padding-top: 24px;
    width: 100%;
    color: var(--white);
    border-right: none;
  }
}

@media (hover: hover)and (pointer: fine) {
  .header-nav-link:hover {
    color: var(--secondary-main-500);
  }
}

.header-contact-button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  padding: 12px 24px;
  width: 180px;
  height: 160px;
  color: var(--white);
  background-color: var(--secondary-main-500);
  transition: all 0.3s ease;
}

@media screen and (max-width: 1023px) {
  .header-contact-button {
    padding: 12px;
    width: 80px;
    height: 80px;
  }
}

@media screen and (max-width: 599px) {
  .header-contact-button {
    width: 64px;
    height: 64px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .header-contact-button:hover {
    background-color: var(--secondary-dark-600);
  }
}

@media screen and (max-width: 1023px) {
  .header-contact-button-icon {
    width: 32px;
  }
}

@media screen and (max-width: 599px) {
  .header-contact-button-icon {
    width: 24px;
  }
}

.header-contact-button-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media screen and (max-width: 1023px) {
  .header-contact-button-text {
    display: none;
  }
}

.header-menu-button {
  display: none;
}

@media screen and (max-width: 1023px) {
  .header-menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    background-color: var(--primary-main-500);
  }
}

@media screen and (max-width: 599px) {
  .header-menu-button {
    width: 64px;
  }
}

body:not(.home) .header-menu-button {
  display: none;
}

.header-menu-button-inner {
  position: relative;
  width: 26px;
  height: 24px;
}

.header-menu-button-inner span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  background-color: var(--white);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.header-menu-button-inner span:nth-child(1) {
  left: 0;
  height: 100%;
}

.header-menu-button-inner span:nth-child(2) {
  left: 50%;
  transform: translate(-50%, -50%);
  height: calc((10/24) * 100%);
}

.header-menu-button-inner span:nth-child(3) {
  right: 0;
  height: 100%;
}

.active .header-menu-button-inner span:nth-child(1) {
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.active .header-menu-button-inner span:nth-child(2) {
  opacity: 0;
}

.active .header-menu-button-inner span:nth-child(3) {
  right: 50%;
  transform: translate(50%, -50%) rotate(-45deg);
}

/* ------------------------------------------------------ */
/* footer
/* ------------------------------------------------------ */

.footer {
  padding: 60px 0 24px;
}

@media screen and (max-width: 599px) {
  .footer {
    padding: 44px 0 24px;
  }
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px 36px;
}

@media screen and (max-width: 1023px) {
  .footer-inner {
    gap: 48px 32px;
  }
}

@media screen and (max-width: 767px) {
  .footer-inner {
    gap: 32px;
  }
}

@media screen and (max-width: 1023px) {
  .footer-logo {
    width: 100%;
  }
}

.footer-info {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 40px;
  padding-left: 32px;
  border-left: 1px solid var(--primary-main-500);
}

@media screen and (max-width: 1023px) {
  .footer-info {
    width: 268px;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
}

@media screen and (max-width: 767px) {
  .footer-info {
    width: 100%;
  }
}

.footer-address-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {
  .footer-address-content {
    font-size: 14px;
  }
}

.footer-contact-table {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
}

.footer-contact-table dt {
  width: 72px;
  display: flex;
  align-items: center;
  gap: 2px;
  border-right: 1px solid var(--primary-main-500);
}

.footer-contact-table dd {
  padding-left: 8px;
  width: calc(100% - 72px);
  white-space: nowrap;
}

.footer-contact-title {
  font-family: var(--lexend);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.footer-contact-number {
  font-family: var(--lexend);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  pointer-events: none;
}

@media screen and (max-width: 599px) {
  .footer-contact-number {
    pointer-events: auto;
  }
}

.footer-sns {
  display: flex;
  gap: 12px;
}

.footer-sns a {
  transition: all 0.3s ease;
}

@media screen and (max-width: 599px) {
  .footer-sns a {
    width: 40px;
    height: 40px;
  }
}

.footer-sns a:hover {
  opacity: 0.7;
}

.footer-related {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 8px 0 0;
  width: 180px;
  height: 42px;
  color: var(--white);
  background-color: var(--primary-main-500);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-related::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 11px;
  height: 9px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_white.svg) center / contain no-repeat;
}

.footer-related:hover {
  opacity: 0.7;
}

.footer-map {
  flex: 1;
  height: 260px;
  border: 2px solid var(--white);
  box-shadow: var(--box-shadow-primary);
}

@media screen and (max-width: 1200px) {
  .footer-map {
    width: 400px;
  }
}

@media screen and (max-width: 767px) {
  .footer-map {
    flex: auto;
    width: 100%;
  }
}

.footer-map iframe {
  height: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--primary-main-500);
}

@media screen and (max-width: 599px) {
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }
}

.footer-copyright {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.footer-privacy {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  transition: all 0.3s ease;
}

@media (hover: hover)and (pointer: fine) {
  .footer-privacy:hover {
    color: var(--secondary-dark-600);
  }
}

.footer-privacy::after {
  content: '';
  width: 14px;
  height: 14px;
  background: url(/wp-content/uploads/assets/img/icon_privacy.svg) center / contain no-repeat;
}

/* ------------------------------------------------------ */
/* TOPページ
/* ------------------------------------------------------ */

/* キービジュアル（TOP）
/* ------------------------------------------------------ */

.top-kv-inner.inner {
  max-width: 1196px;
}

.top-kv-image-wrap {
  position: relative;
  margin-top: 48px;
}

@media screen and (max-width: 1023px) {
  .top-kv-image-wrap {
    height: 350px;
  }
}

@media screen and (max-width: 599px) {
  .top-kv-image-wrap {
    margin-top: 32px;
  }
}

@media screen and (max-width: 424px) {
  .top-kv-image-wrap {
    margin-top: 28px;
  }
}

.top-kv-image-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.top-kv-image-temple {
  display: block;
  position: absolute;
  right: 17px;
  top: -186px;
  mix-blend-mode: luminosity;
}

@media screen and (max-width: 1023px) {
  .top-kv-image-temple {
    width: 240px;
    top: -136px;
  }
}

@media screen and (max-width: 767px) {
  .top-kv-image-temple {
    display: none;
  }
}

.top-kv-inner {
  position: relative;
}

.top-kv-title {
  display: inline-flex;
  flex-direction: column;
  margin-top: 20px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 1023px) {
  .top-kv-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 599px) {
  .top-kv-title {
    margin-top: 32px;
    font-size: 30px;
  }
}

@media screen and (max-width: 424px) {
  .top-kv-title {
    font-size: 26px;
  }
}

/* お寺紹介、住職のご挨拶（TOP）
/* ------------------------------------------------------ */
.top-about {
  position: relative;
  padding: 60px 0;
}

@media screen and (max-width: 599px) {
  .top-about {
    padding: 44px 0;
  }
}

.top-about-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

@media screen and (max-width: 599px) {
  .top-about-inner {
    gap: 44px;
  }
}

.top-profile,
.top-greeting,
.top-event {
  box-shadow: var(--box-shadow-primary);
}

.top-common-inner {
  display: flex;
}

.top-greeting-inner {
  flex-direction: row-reverse;
}

@media screen and (max-width: 1023px) {

  .top-common-inner,
  .top-greeting-inner {
    flex-direction: column;
  }
}

.top-common-header {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 28px 0 0;
  width: 230px;
  background-color: var(--primary-main-500);
}

@media screen and (max-width: 1023px) {
  .top-common-header {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 72px;
    padding: 0 0 0 20px;
  }
}

.top-common-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3em;
  writing-mode: vertical-lr;
  color: var(--white);
}

@media screen and (max-width: 1023px) {
  .top-common-title {
    font-size: 24px;
    writing-mode: horizontal-tb;
  }
}

.top-common-icon {
  position: absolute;
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
  z-index: -1;
}

@media screen and (max-width: 1023px) {
  .top-common-icon {
    right: 16px;
    transform: translateX(0);
  }
}

@media screen and (max-width: 1023px) {
  .top-profile-icon {
    width: 67px;
  }
}

@media screen and (max-width: 1023px) {
  .top-greeting-icon {
    bottom: -8px;
    width: 56px;
  }
}

.top-profile-content {
  padding: 36px 40px;
  background-color: var(--white);
}

@media screen and (max-width: 599px) {
  .top-profile-content {
    padding: 24px 20px;
  }
}

.top-profile-table {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 64px;
}

@media screen and (max-width: 599px) {
  .top-profile-table {
    flex-direction: column;
    gap: 0;
    margin-top: -20px;
  }
}

.top-profile-table dt {
  width: 51px;
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 5px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

@media screen and (max-width: 599px) {
  .top-profile-table dt {
    margin: 20px 0 12px;
    font-size: 14px;
  }
}

.top-profile-table dt::after {
  content: '';
  position: absolute;
  top: 3px;
  right: -32px;
  width: 1px;
  height: 22px;
  background-color: var(--secondary-main-500);
}

@media screen and (max-width: 599px) {
  .top-profile-table dt::after {
    content: none;
  }
}

.top-profile-table dd {
  width: calc(100% - 115px);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {
  .top-profile-table dd {
    padding-top: 12px;
    width: 100%;
    font-size: 14px;
    border-top: 1px solid var(--secondary-main-500);
  }
}

.top-greeting-content {
  display: flex;
  background-color: var(--white);
}

@media screen and (max-width: 767px) {
  .top-greeting-content {
    flex-direction: column;
  }
}

.top-greeting-text {
  padding: 36px 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {
  .top-greeting-text {
    padding: 24px 20px;
    font-size: 14px;
  }
}

.top-greeting-image {
  flex-shrink: 0;
  width: 350px;
}

@media screen and (max-width: 767px) {
  .top-greeting-image {
    width: 100%;
  }
}

.top-greeting-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* top-event */
.top-common-icon.top-event-icon {
  bottom: 30px;
}

.top-event-content {
  padding: 36px 40px;
  width: 100%;
  background-color: var(--white);
}

.top-event-item {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  position: relative;
}

.top-event-item::before {
  content: "";
  position: absolute;
  top: 9px;
  width: 12px;
  height: 12px;
  background: var(--secondary-main-500);
}

.top-event-item + .top-event-item {
  margin-top: 20px;
}

.top-event-item dt {
  margin-left: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0;
}

.top-event-item dd {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

@media screen and (max-width: 1023px) {
  .top-common-icon.top-event-icon {
    bottom: auto;
    width: 68px;
  }
}

@media screen and (max-width: 599px) {
  .top-event-content {
    padding: 24px 20px;
  }

  .top-event-item {
    gap: 12px;
  }

  .top-event-item::before {
    top: 8px;
    width: 10px;
    height: 10px;
  }

  .top-event-item + .top-event-item {
    margin-top: 12px;
  }

  .top-event-item dt {
    margin-left: 18px;
    font-size: 14px;
  }

  .top-event-item dd {
    font-size: 14px;
  }
}

/* お知らせ（TOP）
/* ------------------------------------------------------ */
.top-news {
  position: relative;
  padding: 18px 0 60px;
  background: linear-gradient(to bottom, var(--base) 50px, var(--primary-light-400) 50px);
}

@media screen and (max-width: 599px) {
  .top-news {
    padding: 0 0 30px;
    background: linear-gradient(to bottom, var(--base) 30px, var(--primary-light-400) 30px);
  }
}

.top-news::before,
.top-news::after {
  content: '';
  position: absolute;
  z-index: 10;
  mix-blend-mode: difference;
}

@media screen and (max-width: 767px) {

  .top-news::before,
  .top-news::after {
    display: none;
  }
}

.top-news::before {
  top: 0;
  left: 0;
  width: 400px;
  height: 153px;
  background: url(/wp-content/uploads/assets/img/img_cloud_01.svg) center / contain no-repeat;
}

@media screen and (max-width: 1023px) {
  .top-news::before {
    width: 280px;
  }
}

.top-news::after {
  right: 0;
  bottom: 16px;
  width: 378px;
  height: 141px;
  background: url(/wp-content/uploads/assets/img/img_cloud_02.svg) center / contain no-repeat;
}

@media screen and (max-width: 1023px) {
  .top-news::after {
    width: 280px;
  }
}

.top-news-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 44px;
  padding: 56px 32px;
  background-color: var(--white);
  box-shadow: var(--box-shadow-primary);
}

@media screen and (max-width: 599px) {
  .top-news-inner {
    gap: 28px;
    padding: 40px 20px;
  }
}

.top-news-inner .common-button {
  margin-top: 0;
}

.top-news-title {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--secondary-main-500);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
}

@media screen and (max-width: 599px) {
  .top-news-title {
    font-size: 24px;
  }
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media screen and (max-width: 1023px) {
  .news-list {
    padding: 32px 0 0 0;
    border-top: 1px solid var(--white);
    border-left: none;
  }
}

@media screen and (max-width: 767px) {
  .news-list {
    gap: 20px;
    padding: 0;
  }
}

.news-link {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .news-link {
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .news-link:hover .news-text {
    color: var(--secondary-dark-600);
  }
}

.news-link::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url(/wp-content/uploads/assets/img/icon_caret_round_black.svg) center / contain no-repeat;
}

.news-date {
  padding-right: 32px;
  height: 22px;
  font-family: var(--lexend);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 22px;
  white-space: nowrap;
  color: var(--secondary-dark-600);
  border-right: 1px solid var(--secondary-dark-600);
}

@media screen and (max-width: 767px) {
  .news-date {
    padding-right: 0;
    height: auto;
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
    border-right: none;
  }
}

.news-date.news-article-date {
  padding-right: 0;
  border-right: none;
}

.news-text {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

@media screen and (max-width: 767px) {
  .news-text {
    width: calc(100% - 38px);
  }
}

@media screen and (max-width: 599px) {
  .news-text {
    font-size: 14px;
  }
}

/* ------------------------------------------------------ */
/* CTA
/* ------------------------------------------------------ */

.cta {
  margin-top: 60px;
}

@media screen and (max-width: 599px) {
  .cta {
    margin-top: 44px;
  }
}

.cta-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

@media screen and (max-width: 1023px) {
  .cta-inner {
    flex-direction: column;
  }
}

@media screen and (max-width: 599px) {
  .cta-inner {
    gap: 24px;
  }
}

.cta-button {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  max-width: 550px;
  width: 100%;
  height: 96px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  background-color: var(--white);
  border: 1px solid var(--primary-main-500);
  box-shadow: var(--box-shadow-secondary);
  transition: all 0.3s ease;
}

@media screen and (max-width: 599px) {
  .cta-button {
    gap: 12px;
    height: 64px;
    font-size: 16px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .cta-button:hover {
    color: var(--white);
    background-color: var(--secondary-dark-600);
  }

  .cta-button:hover .common-button-arrow {
    background-color: var(--secondary-main-500);
  }
}

.cta-button-icon-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 108px;
  height: 100%;
  background-color: var(--primary-main-500);
}

@media screen and (max-width: 599px) {
  .cta-button-icon-wrap {
    width: 64px;
  }
}

.cta-button-icon-envelope {
  width: 26px;
}

.cta-button-icon-ritera {
  width: 58px;
}

/* ------------------------------------------------------ */
/* 下層（共通）
/* ------------------------------------------------------ */

.page-kv {
  position: relative;
  margin-bottom: 60px;
  height: 124px;
  background-color: var(--primary-main-500);
}

@media screen and (max-width: 599px) {
  .page-kv {
    margin-bottom: 44px;
    height: 64px;
  }
}

.page-kv::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 0;
  width: 400px;
  height: 131px;
  background: url(/wp-content/uploads/assets/img/img_cloud_kv_pc.svg) center / contain no-repeat;
  mix-blend-mode: difference;
}

@media screen and (max-width: 767px) {
  .page-kv::after {
    width: 280px;
    height: 160px;
  }
}

@media screen and (max-width: 599px) {
  .page-kv::after {
    top: 12px;
    width: 127px;
    height: 60px;
    background: url(/wp-content/uploads/assets/img/img_cloud_kv_sp.svg) center / contain no-repeat;
  }
}

.page-kv-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--white);
}

@media screen and (max-width: 599px) {
  .page-title {
    font-size: 20px;
  }
}

/* パンくずリスト
/* ------------------------------------------------------ */

.page-breadcrumbs {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .page-breadcrumbs {
    display: none;
  }
}

.page-breadcrumbs-nav ol {
  display: flex;
  align-items: center;
  gap: 36px;
}

.page-breadcrumbs .page-breadcrumbs-nav .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page-breadcrumbs a,
.page-breadcrumbs span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.page-breadcrumbs a {
  transition: all 0.3s ease;
  text-decoration: underline;
}

@media (hover: hover)and (pointer: fine) {
  .page-breadcrumbs a:hover {
    opacity: 0.7;
  }
}

.page-breadcrumbs :nth-child(n+2) {
  position: relative;
}

.page-breadcrumbs li:nth-child(n+2)::before {
  content: '';
  position: absolute;
  top: 55%;
  left: -20px;
  width: 9px;
  height: 13px;
  transform: translateY(-50%);
  background: url(/wp-content/uploads/assets/img/icon_caret_right_primary.svg) center / contain no-repeat;
}

.page-breadcrumbs a:not(:first-child) {
  position: relative;
}

.page-breadcrumbs a:not(:first-child)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-main-500);
}

/* ページメインコンテンツ
/* ------------------------------------------------------ */

.page-content,
div#wpcf7cpcnf {
  margin-bottom: 40px;
  padding: 36px 40px;
  background-color: var(--white);
  box-shadow: var(--box-shadow-primary);
}

@media screen and (max-width: 599px) {

  .page-content,
  div#wpcf7cpcnf {
    margin-bottom: 32px;
    padding: 36px 20px;
  }
}

.page-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {
  .page-text {
    font-size: 14px;
  }
}

.page-thanks-title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {
  .page-thanks-title {
    font-size: 16px;
  }
}

/* ------------------------------------------------------ */
/* お知らせページ（一覧）
/* ------------------------------------------------------ */

.page-news-list {
  gap: 0;
}

.page-news-list .news-item:first-child .news-link {
  padding-top: 0;
  border-top: none;
}

.page-news-list .news-item:last-child .news-link {
  padding-bottom: 0;
}

.page-news-list .news-link {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.paginate {
  margin-top: 40px;
}

@media screen and (max-width: 599px) {
  .paginate {
    margin-top: 32px;
  }
}

.paginate-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.paginate-list li:not(.ellipsis) {
  width: 44px;
  height: 44px;
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: var(--box-shadow-tertiary);
}

@media screen and (max-width: 599px) {
  .paginate-list li:not(.ellipsis) {
    width: 36px;
    height: 36px;
  }
}

.paginate-list li.current {
  background-color: var(--primary-main-500);
}

.paginate-list li.current a {
  color: var(--white);
  pointer-events: none;
}

.paginate-list li a,
.paginate-list li span {
  font-family: var(--lexend);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {

  .paginate-list li a,
  .paginate-list li span {
    font-size: 14px;
  }
}

.paginate-list li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

@media (hover: hover)and (pointer: fine) {
  .paginate-list li a:hover {
    opacity: 0.7;
  }
}

.paginate-list li span {
  color: var(--secondary-main-500);
}

/* ------------------------------------------------------ */
/* 投稿ページ（お知らせ・コラム）
/* ------------------------------------------------------ */

.post-title {
  margin: 12px 0 24px;
  padding-bottom: 24px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
}

@media screen and (max-width: 599px) {
  .post-title {
    margin: 8px 0 16px;
    padding-bottom: 16px;
    font-size: 18px;
  }
}

.post-content> :nth-child(n+2) {
  margin-top: 16px;
}

.post-content h2 {
  position: relative;
  padding-left: 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {
  .post-content h2 {
    font-size: 16px;
  }
}

.post-content h2::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--secondary-dark-600);
  border-radius: 2px;
}

@media screen and (max-width: 599px) {
  .post-content h2::before {
    top: 10px;
  }
}

.post-content p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {
  .post-content p {
    font-size: 14px;
  }
}

.post-content a {
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

@media (hover: hover)and (pointer: fine) {
  .post-content a:hover {
    opacity: 0.7;
  }
}

.post-content-link {
  display: inline-block;
  position: relative;
  padding-left: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--secondary-main-500);
}

@media screen and (max-width: 599px) {
  .post-content-link {
    font-size: 14px;
  }
}

.post-content-link::after {
  content: '';
  position: absolute;
  top: 9.5px;
  left: 0;
  width: 7px;
  height: 12px;
  background: url(/wp-content/uploads/assets/img/icon_caret_right_primary.svg) center / contain no-repeat;
}

@media screen and (max-width: 599px) {
  .post-content a::after {
    top: 7.5px;
  }
}

.post-content ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-content ul li {
  position: relative;
  padding-left: 1.5em;
  font-size: 16px;
  font-weight: 500;
}

@media screen and (max-width: 599px) {
  .post-content ul li {
    font-size: 14px;
  }
}

.post-content ul li::before {
  content: '';
  position: absolute;
  top: 0.8em;
  left: 0.6em;
  width: 4px;
  height: 4px;
  background-color: var(--primary-main-500);
  border-radius: 50%;
}

.post-related {
  padding: 20px;
  background-color: var(--gray-200);
  border-radius: 10px;
  box-shadow: 1px 1px 4px 0px #DED6CE66 inset;
}

.post-content> :nth-child(n+2).post-related {
  margin-top: 24px;
}

@media screen and (max-width: 599px) {
  .post-content> :nth-child(n+2).post-related {
    margin-top: 16px;
  }
}

.post-related h3 {
  margin-bottom: 0.5em;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--secondary-main-500);
}

@media screen and (max-width: 599px) {
  .post-related h3 {
    font-size: 16px;
  }
}

/* ------------------------------------------------------ */
/* プライバシーポリシーページ
/* ------------------------------------------------------ */

.privacy-box {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

@media screen and (max-width: 599px) {
  .privacy-box {
    padding: 16px 0;
  }
}

.privacy-box:first-child {
  padding-top: 0;
  border-top: none;
}

.privacy-box:last-child {
  padding-bottom: 0;
}

.privacy-box :nth-child(n+2) {
  margin-top: 12px;
}

.privacy-box h2,
.privacy-box p {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {

  .privacy-box h2,
  .privacy-box p {
    font-size: 14px;
  }
}

.privacy-box h2 {
  font-weight: 700;
}

.privacy-box p {
  font-weight: 500;
}

.privacy-box p span {
  padding-left: 0.5em;
}

/* ------------------------------------------------------ */
/* お問い合わせ（入力画面）
/* ------------------------------------------------------ */

form {
  background-color: transparent;
}

.page-contact-text {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .page-contact-text {
    margin-bottom: 32px;
  }
}

.contact-table {
  width: 100%;
}

.label-text,
.wpcf7-list-item-label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 767px) {

  .label-text,
  .wpcf7-list-item-label {
    font-size: 14px;
  }
}

.contact-required,
.contact-optional {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 8px;
  width: 41px;
  height: 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  border-radius: 2px;
}

.contact-required {
  background-color: var(--required-color);
}

.contact-optional {
  background-color: var(--optional-color);
}

.contact-table th,
.contact-table td {
  padding-top: 24px;
  padding-bottom: 24px;
}

@media screen and (max-width: 767px) {

  .contact-table th,
  .contact-table td {
    display: block;
  }
}

.contact-table tr:first-child th,
.contact-table tr:first-child td {
  padding-top: 0;
}

.contact-table tr:last-child th,
.contact-table tr:last-child td {
  padding-bottom: 0;
}

@media screen and (max-width: 767px) {
  .contact-table tr:last-child th {
    padding-bottom: 20px;
  }
}

.contact-table tr:nth-child(n+2) {
  border-top: 1px solid var(--border);
}

.contact-table th {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  box-sizing: content-box;
  padding-right: 20px;
  width: 220px;
  height: 48px;
}

@media screen and (max-width: 767px) {
  .contact-table th {
    padding-bottom: 20px;
    padding-right: 0;
    width: 180px;
    height: 20px;
  }
}

@media screen and (max-width: 767px) {
  .contact-table td {
    padding-top: 0;
  }
}

.input-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.contact-table input[type=text],
.contact-table input[type=email],
.contact-table input[type=tel],
.contact-table textarea,
.contact-table select {
  background: var(--input-bg);
  font-size: 16px;
  letter-spacing: 0.02em;
  border-radius: 2px;
}

@media screen and (max-width: 767px) {

  .contact-table input[type=text],
  .contact-table input[type=email],
  .contact-table input[type=tel],
  .contact-table textarea,
  .contact-table select {
    font-size: 14px;
  }
}

.contact-table input[type=text],
.contact-table input[type=email],
.contact-table input[type=tel],
.contact-table textarea {
  padding: 16px;
  width: 100%;
}

.contact-table input[type=text],
.contact-table input[type=email],
.contact-table input[type=tel],
.contact-table select {
  height: 48px;
}

@media screen and (max-width: 767px) {

  .contact-table input[type=text],
  .contact-table input[type=email],
  .contact-table input[type=tel],
  .contact-table select {
    height: 46px;
  }
}

.contact-table select {
  padding: 0 16px;
}

.contact-table input[type=text].input-sm,
.contact-table select.input-sm {
  width: 220px;
}

.contact-table input::placeholder,
.contact-table textarea::placeholder {
  color: var(--placeholder-color);
  letter-spacing: 0.02em;
}

.contact-table textarea {
  display: block;
  height: 320px;
}

@media screen and (max-width: 767px) {
  .contact-table textarea {
    height: 280px;
  }
}

.select-wrap {
  display: inline-block;
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  top: 21px;
  right: 16px;
  width: 13px;
  height: 8px;
  background: url(/wp-content/uploads/assets/img/icon_caret_bottom_black.svg) center / contain no-repeat;
}

.privacy-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  .privacy-wrap {
    margin-top: 32px;
  }
}

.privacy-wrap a {
  text-decoration: underline;
  transition: all 0.3s ease;
}

@media (hover: hover)and (pointer: fine) {
  .privacy-wrap a:hover {
    color: var(--secondary-main-500);
  }
}

/* ------------------------------------------------------ */
/* Contact Form 7
/* ------------------------------------------------------ */

.wpcf7-form-control-wrap[data-name="your-address1"],
.wpcf7-form-control-wrap[data-name="your-address2"] {
  width: 100%;
}

.common-button .wpcf7-submit {
  width: 100%;
  height: 100%;
  display: block;
}

.wpcf7-response-output {
  display: none;
}

.wpcf7-spinner {
  display: none !important;
}

.wpcf7-list-item {
  margin: 0 !important;
}

div.wpcf7cp-btns {
  margin-top: 0 !important;
}

button.wpcf7cp-cfm-edit-btn,
button.wpcf7cp-cfm-submit-btn {
  margin: 0 !important;
}

/* プライバシーポリシー（チェックボックス）
/* ------------------------------------------------------ */

.wpcf7-form-control-wrap[data-name="acceptance-591"] .wpcf7-list-item-label {
  position: relative;
  padding-left: 34px;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .wpcf7-form-control-wrap[data-name="acceptance-591"] .wpcf7-list-item-label {
    padding-left: 30px;
  }
}

.wpcf7-acceptance .wpcf7-list-item-label::before,
.wpcf7-acceptance .wpcf7-list-item-label::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  cursor: pointer;
}

.wpcf7-acceptance .wpcf7-list-item-label::before {
  left: 0;
  z-index: 1;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid var(--primary-main-500);
  border-radius: 2px;
}

@media screen and (max-width: 767px) {
  .wpcf7-acceptance .wpcf7-list-item-label::before {
    width: 20px;
    height: 20px;
  }
}

.wpcf7-acceptance .wpcf7-list-item-label::after {
  opacity: 0;
  top: 11px;
  left: 8px;
  transform: rotate(-45deg) translate(12%, -70%);
  z-index: 2;
  width: 11px;
  height: 6px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

@media screen and (max-width: 767px) {
  .wpcf7-acceptance .wpcf7-list-item-label::after {
    top: 9px;
    left: 6px;
  }
}

.wpcf7-acceptance input[type=checkbox]:checked+.wpcf7-list-item-label::before {
  background: var(--primary-main-500);
}

.wpcf7-acceptance input[type=checkbox]:checked+.wpcf7-list-item-label::after {
  opacity: 1;
}

/* エラーメッセージ
/* ------------------------------------------------------ */

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--required-color);
}

.wpcf7-form-control-wrap[data-name="acceptance-591"] .wpcf7-not-valid-tip {
  margin-top: 5px;
  margin-left: 34px;
}

@media screen and (max-width: 767px) {
  .wpcf7-form-control-wrap[data-name="acceptance-591"] .wpcf7-not-valid-tip {
    margin-left: 30px;
  }
}

/* お問い合わせ確認画面
/* ------------------------------------------------------ */

.is-confirm-screen .page-contact-text {
  display: none;
}

.wpcf7cp-form-hide {
  position: absolute;
  top: -9999px;
  opacity: 0;
}

div#wpcf7cpcnf {
  position: relative !important;
  margin-bottom: 108px;
}

@media screen and (max-width: 767px) {
  div#wpcf7cpcnf {
    margin-bottom: 96px;
  }
}

div#wpcf7cpcnf table {
  width: 100%;
}

div#wpcf7cpcnf table tr p {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 767px) {
  div#wpcf7cpcnf table tr p {
    font-size: 14px;
  }
}

div#wpcf7cpcnf table tr th,
div#wpcf7cpcnf table tr td {
  padding-top: 24px;
  padding-bottom: 24px;
}

@media screen and (max-width: 767px) {

  div#wpcf7cpcnf table tr th,
  div#wpcf7cpcnf table tr td {
    display: block;
  }
}

div#wpcf7cpcnf table tr:first-child th,
div#wpcf7cpcnf table tr:first-child td {
  padding-top: 0;
}

div#wpcf7cpcnf table tr:last-child th,
div#wpcf7cpcnf table tr:last-child td {
  padding-bottom: 0;
}

@media screen and (max-width: 767px) {
  div#wpcf7cpcnf table tr:last-child th {
    padding-bottom: 20px;
  }
}

div#wpcf7cpcnf table tr:nth-child(n+2) {
  border-top: 1px solid var(--border);
}

div#wpcf7cpcnf table tr th {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  box-sizing: content-box;
  padding-right: 20px;
  width: 220px;
}

@media screen and (max-width: 767px) {
  div#wpcf7cpcnf table tr th {
    padding-bottom: 20px;
    padding-right: 0;
    width: 180px;
  }
}

div#wpcf7cpcnf table tr td {
  width: 100%;
}

@media screen and (max-width: 767px) {
  div#wpcf7cpcnf table tr td {
    padding-top: 0;
  }
}

.wpcf7cp-btns {
  position: absolute;
  left: 50%;
  bottom: -108px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media screen and (max-width: 1023px) {
  .wpcf7cp-btns {
    bottom: -96px;
  }
}

.wpcf7cp-btns button.wpcf7cp-cfm-edit-btn,
.wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 68px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
}

@media screen and (max-width: 767px) {

  .wpcf7cp-btns button.wpcf7cp-cfm-edit-btn,
  .wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn {
    height: 56px;
    font-size: 14px;
  }
}

.wpcf7cp-btns button.wpcf7cp-cfm-edit-btn {
  width: 180px;
  color: var(--secondary-main-500);
  background-color: var(--white);
  border: 1px solid var(--secondary-main-500);
}

@media screen and (max-width: 767px) {
  .wpcf7cp-btns button.wpcf7cp-cfm-edit-btn {
    width: 120px;
  }
}

@media screen and (max-width: 389px) {
  .wpcf7cp-btns button.wpcf7cp-cfm-edit-btn {
    width: 90px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .wpcf7cp-btns button.wpcf7cp-cfm-edit-btn:hover {
    color: var(--white);
    background-color: var(--secondary-main-500);
  }
}

.wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn {
  position: relative;
  width: 340px;
  color: var(--white);
  background-color: var(--secondary-main-500);
}

@media screen and (max-width: 767px) {
  .wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn {
    width: 200px;
  }
}

@media screen and (max-width: 389px) {
  .wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn {
    width: 160px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn:hover {
    background-color: var(--secondary-dark-600);
  }

  .wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn:hover::before {
    background-color: var(--secondary-main-500);
  }
}

.wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn::before,
.wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn::before {
  right: 20px;
  width: 30px;
  height: 30px;
  background-color: var(--secondary-dark-600);
  border-radius: 50%;
  transition: all 0.3s ease;
}

@media screen and (max-width: 767px) {
  .wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn::before {
    right: 12px;
    width: 24px;
    height: 24px;
  }
}

.wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn::after {
  display: block;
  right: 28.5px;
  width: 13px;
  height: 11px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_white.svg) center / contain no-repeat;
}

@media screen and (max-width: 767px) {
  .wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn::after {
    right: 19px;
    width: 10px;
    height: 8px;
  }
}

/* ------------------------------------------------------ */
/* 404ページ
/* ------------------------------------------------------ */

.notfound-page {
  padding-top: 60px;
}

@media screen and (max-width: 599px) {
  .notfound-page {
    padding-top: 48px;
  }
}

.notfound-page .page-title {
  margin-bottom: 40px;
  color: var(--primary-main-500);
}

@media screen and (max-width: 599px) {
  .notfound-page .page-title {
    margin-bottom: 32px;
  }
}

/* ------------------------------------------------------ */
/* コラム
/* ------------------------------------------------------ */

.top-column {
  padding: 60px 0;
  background-color: var(--primary-dark-600);
}

@media screen and (max-width: 599px) {
  .top-column {
    padding: 48px 0;
  }
}

.top-column-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 44px;
}

@media screen and (max-width: 599px) {
  .top-column-inner {
    gap: 28px;
  }
}

.top-column-title {
  padding-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--white);
  border-bottom: 1px solid var(--secondary-main-500);
}

@media screen and (max-width: 599px) {
  .top-column-title {
    font-size: 24px;
  }
}

.common-button.top-column-button {
  margin-top: 0;
}

.column-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

@media screen and (max-width: 767px) {
  .column-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 599px) {
  .column-list {
    grid-template-columns: 1fr;
  }
}

.column-link {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: 0px 0px 9px rgba(157.87, 120.49, 78.71, 0.15);
}

@media (hover: hover)and (pointer: fine) {
  .column-link:hover .column-image {
    opacity: 0.7;
  }

  .column-link:hover .column-arrow {
    background-color: var(--secondary-dark-600);
  }
}

.column-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.column-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  padding: 20px 20px 56px 20px;
}

.column-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.column-date {
  font-family: var(--lexend);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--secondary-main-500);
  white-space: nowrap;
}

@media screen and (max-width: 599px) {
  .column-date {
    font-size: 14px;
  }
}

.column-category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  border: 1px solid var(--primary-main-500);
}

@media screen and (max-width: 599px) {
  .column-category {
    height: 20px;
    padding: 0 8px;
  }
}

.column-title {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {
  .column-title {
    font-size: 14px;
  }
}

.column-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: var(--secondary-main-500);
  transition: all 0.3s ease;
}

.column-arrow::before {
  content: '';
  display: block;
  width: 13px;
  height: 11px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_white.svg) center / contain no-repeat;
}

.column-category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

@media screen and (max-width: 599px) {
  .column-category-buttons {
    margin-bottom: 32px;
  }
}

.column-category-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 32px;
  height: 36px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background-color: var(--primary-lighter-300);
  transition: all 0.3s ease;
}

@media screen and (max-width: 599px) {
  .column-category-button {
    height: 28px;
    font-size: 12px;
  }
}

.column-category-button.active {
  color: var(--white);
  background-color: var(--secondary-main-500);
}

@media (hover: hover)and (pointer: fine) {
  .column-category-button:not(.active):hover {
    color: var(--secondary-main-500);
    background-color: var(--white);
  }
}