@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: 130px;
}

@media screen and (max-width: 599px) {
  html {
    scroll-padding-top: 120px;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  font-family: var(--noto-sans-jp);
  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;
}

/* ------------------------------------------------------ */
/* font-family
/* ------------------------------------------------------ */

/* ------------------------------------------------------ */
/* 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: 80px;
}

@media screen and (max-width: 767px) {
  .main {
    margin-top: calc(80px + 44px);
  }

  body:not(.home) .main {
    margin-top: 80px;
  }
}

@media screen and (max-width: 599px) {
  .main {
    margin-top: calc(64px + 44px);
  }

  body:not(.home) .main {
    margin-top: 64px;
  }
}

/* ------------------------------------------------------ */
/* logo
/* ------------------------------------------------------ */

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-sub {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}

.logo-main {
  font-size: 30px;
  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;
  }
}

@media screen and (max-width: 599px) {
  .logo-sub {
    letter-spacing: 0.08em;
  }

  .logo-main {
    font-size: 26px;
    letter-spacing: 0.12em;
  }
}


/* ------------------------------------------------------ */
/* header
/* ------------------------------------------------------ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000000;
  height: 80px;
  background-color: var(--white);
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 599px) {
  .header {
    height: 64px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-left: 94px;
  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-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

@media screen and (max-width: 950px) {
  .header-nav-list {
    justify-content: center;
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    height: 44px;
    background-color: var(--secondary-lighter-300);
  }

  body:not(.home) .header-nav-list {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  .header-nav-list {
    top: 64px;
    gap: 16px;
  }
}

.header-nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
}

@media screen and (max-width: 390px) {
  .header-nav-link {
    font-size: 12px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .header-nav-link:hover {
    color: var(--secondary-dark-600);
  }
}

.header-contact-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  width: 200px;
  height: 100%;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background-color: var(--secondary-main-500);
  transition: all 0.3s ease;
}

@media screen and (max-width: 1100px) {
  .header-contact-button {
    padding: 12px;
    width: 80px;
  }
}

@media screen and (max-width: 599px) {
  .header-contact-button {
    width: 64px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .header-contact-button:hover {
    background-color: var(--secondary-dark-600);
  }
}

.header-contact-button-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

@media screen and (max-width: 1100px) {
  .header-contact-button-text {
    display: none;
  }
}

/* ------------------------------------------------------ */
/* footer
/* ------------------------------------------------------ */

.footer {
  padding: 60px 0 24px;
}

@media screen and (max-width: 599px) {
  .footer {
    padding: 48px 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-title {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  width: 66px;
  height: 25px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--white);
  background-color: var(--primary-main-500);
}

.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 20px 0 0;
  width: 180px;
  height: 42px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  background-color: var(--primary-main-500);
  border-radius: 21px;
  transition: all 0.3s ease;
}

.footer-related::before {
  content: '';
  position: absolute;
  top: 17px;
  right: -20px;
  width: 46px;
  height: 6px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_line_navy.svg) center / contain no-repeat;
}

.footer-related:hover {
  opacity: 0.7;
}

.footer-map {
  flex: 1;
  height: 260px;
  border: 4px solid var(--white);
  border-radius: 10px;
  box-shadow: 0px 0px 6.6px 0px var(--shadow-secondary);
}

@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%;
  border-radius: 8px;
}

@media screen and (max-width: 599px) {
  .footer-map iframe {
    height: 250px;
  }
}

.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 {
  position: relative;
  height: 480px;
}

@media screen and (max-width: 599px) {
  .top-kv {
    height: 380px;
  }
}

.top-kv-image {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  overflow: hidden;
  width: 76%;
  height: 480px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  border-radius: 0 0 0 52px;
  box-shadow: 0px 4px 7.6px 0px var(--shadow-secondary);
}

@media screen and (max-width: 599px) {
  .top-kv-image {
    width: calc(100% - 40px);
    height: 380px;
  }
}

.top-kv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-kv-inner {
  position: relative;
}

.top-kv-scrollbar {
  position: absolute;
  right: 20px;
  bottom: -96px;
}

@media screen and (max-width: 599px) {
  .top-kv-scrollbar {
    right: 10px;
    bottom: -70px;
  }
}

.top-kv-title {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 264px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

@media screen and (max-width: 1023px) {
  .top-kv-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 599px) {
  .top-kv-title {
    margin-top: 234px;
    gap: 14px;
    font-size: 26px;
  }
}

.top-kv-title>span {
  padding: 12px 12px 14px;
  background-color: var(--white);
  border-bottom: 4px solid var(--secondary-main-500);
}

@media screen and (max-width: 599px) {
  .top-kv-title>span {
    padding: 8px 12px 9px;
  }
}

/* お寺紹介、住職のご挨拶（TOP）
/* ------------------------------------------------------ */
.top-about {
  position: relative;
  padding: 104px 0 0;
}

@media screen and (max-width: 1023px) {
  .top-about {
    padding: 180px 0 0;
  }
}

@media screen and (max-width: 599px) {
  .top-about {
    padding: 130px 0 0;
  }
}

.top-about::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 0;
  bottom: 0;
  z-index: -10;
  width: 40%;
  background-color: var(--primary-main-500);
}

.top-profile {
  position: relative;
  scroll-margin-top: 70px;
}

.top-profile-image-temple {
  position: absolute;
  left: 0;
  bottom: -5px;
}

@media screen and (max-width: 1023px) {
  .top-profile-image-temple {
    display: none;
  }
}

.top-greeting {
  margin-top: 94px;
  padding-bottom: 104px;
}

@media screen and (max-width: 1023px) {
  .top-greeting {
    margin-top: 72px;
    padding-bottom: 128px;
  }
}

@media screen and (max-width: 599px) {
  .top-greeting {
    margin-top: 60px;
    padding-bottom: 128px;
  }
}

.top-greeting-image-temple {
  position: absolute;
  right: 20px;
  bottom: -111px;
}

@media screen and (max-width: 1023px) {
  .top-greeting-image-temple {
    bottom: -81px;
    width: 160px;
  }
}

@media screen and (max-width: 599px) {
  .top-greeting-image-temple {
    bottom: -61px;
    width: 120px;
  }
}

.top-common-inner {
  position: relative;
}

.top-common-header {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

@media screen and (max-width: 599px) {
  .top-common-header {
    border-radius: 10px;
  }
}

.top-profile-header {
  position: absolute;
  top: -44px;
  left: 20px;
  z-index: -1;
  padding: 40px 0 0 68px;
  width: 850px;
  height: 280px;
  background-color: var(--primary-light-400);
}

@media screen and (max-width: 1023px) {
  .top-profile-header {
    top: -100px;
    width: calc(100% - (40px + 40px));
  }
}

@media screen and (max-width: 599px) {
  .top-profile-header {
    top: -70px;
    left: 16px;
    padding: 24px 0 0 44px;
  }
}

.top-greeting-header {
  padding: 36px 40px 36px 68px;
  width: 630px;
  background-color: var(--white);
}

@media screen and (max-width: 767px) {
  .top-greeting-header {
    padding: 24px 20px 24px 44px;
    width: calc(100% - 18px);
  }
}

.top-common-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--white);
}

@media screen and (max-width: 599px) {
  .top-common-title {
    font-size: 22px;
  }
}

.top-greeting-title {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--secondary-main-500);
  color: var(--primary-main-500);
}

@media screen and (max-width: 599px) {
  .top-greeting-title {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
}

.top-common-title-en {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  writing-mode: sideways-lr;
  text-align: end;
  padding: 20px 0;
  width: 28px;
  height: 100%;
  font-family: var(--lexend);
  font-size: 16px;
  letter-spacing: 0.1em;
  background: var(--bg-gradation-primary);
}

@media screen and (max-width: 599px) {
  .top-common-title-en {
    width: 24px;
    font-size: 12px;
  }
}

.top-profile-content {
  margin-left: 300px;
  padding: 36px 40px;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0px 0px 9px 0px var(--shadow-secondary);
}

@media screen and (max-width: 1023px) {
  .top-profile-content {
    margin-left: 68px;
    padding: 24px;
  }
}

@media screen and (max-width: 599px) {
  .top-profile-content {
    margin-left: 44px;
  }
}

.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-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 599px) {
  .top-greeting-text {
    font-size: 14px;
  }
}

.top-greeting-image {
  position: absolute;
  top: -34px;
  right: 20px;
  z-index: -1;
  overflow: hidden;
  width: 496px;
  height: 280px;
  border: 4px solid var(--white);
  border-radius: 16px;
  box-shadow: 0px 0px 9px 0px var(--shadow-secondary);
}

@media screen and (max-width: 1023px) {
  .top-greeting-image {
    position: static;
    width: 400px;
    height: 240px;
    margin: 28px 0 0 auto;
  }
}

@media screen and (max-width: 599px) {
  .top-greeting-image {
    width: 310px;
    height: 200px;
  }
}

.top-greeting-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* top-event */
.top-event {
  padding-bottom: 110px;
}

.top-event-header {
  position: absolute;
  top: -44px;
  left: 20px;
  z-index: -1;
  padding: 40px 0 0 68px;
  width: 850px;
  height: 280px;
  background-color: var(--primary-light-400);
}

.top-event-content {
  margin-left: 300px;
  padding: 36px 40px;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0px 0px 9px 0px var(--shadow-secondary);
}

.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);
  border-radius: 4px;
}

.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.02em;
}

.top-event-image-schedule {
  position: absolute;
  left: 0;
  bottom: 66px;
}

.top-event-image-temple {
  position: absolute;
  right: 20px;
  bottom: -111px;
}

@media screen and (max-width: 1023px) {
  .top-event {
    padding-bottom: 78px;
  }

  .top-event-header {
    top: -100px;
    width: calc(100% - (40px + 40px));
  }

  .top-event-content {
    margin-left: 68px;
    padding: 24px;
  }

  .top-event-image-schedule {
    display: none;
  }

  .top-event-image-temple {
    bottom: -81px;
    width: 160px;
  }
}

@media screen and (max-width: 599px) {
  .top-event {
    padding-bottom: 58px;
  }

  .top-event-header {
    top: -70px;
    left: 16px;
    padding: 24px 0 0 44px;
  }

  .top-event-content {
    margin-left: 44px;
  }

  .top-event-item {
    gap: 12px;
  }

  .top-event-item::before {
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 2px;
  }

  .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-event-image-temple {
    bottom: -61px;
    width: 120px;
  }
}

/* お知らせ（TOP）
/* ------------------------------------------------------ */
.top-news {
  padding: 60px 0;
  background-color: var(--primary-light-400);
}

@media screen and (max-width: 599px) {
  .top-news {
    padding: 48px 0;
  }
}

.top-news-inner {
  display: grid;
  grid-template-columns: 288px 1fr;
  grid-template-rows: auto auto;
  gap: 52px;
}

@media screen and (max-width: 1023px) {
  .top-news-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
}

@media screen and (max-width: 599px) {
  .top-news-inner {
    gap: 24px;
  }
}

.top-news-header {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (max-width: 1023px) {
  .top-news-header {
    flex-direction: row;
  }
}

.top-news-title-en {
  display: flex;
  color: var(--white);
  font-family: var(--lexend);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 599px) {
  .top-news-title-en {
    font-size: 14px;
  }
}

.top-news-button {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: auto 0 0 0;
  width: 210px;
  height: 68px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid var(--white);
  border-radius: 34px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 1023px) {
  .top-news-button {
    margin: 0 auto;
    width: 270px;
  }
}

@media screen and (max-width: 599px) {
  .top-news-button {
    height: 56px;
    font-size: 14px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .top-news-button:hover {
    background-color: var(--secondary-main-500);
  }
}

.top-news-button::before {
  content: '';
  position: absolute;
  top: 33px;
  right: -44px;
  width: 66px;
  height: 6px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_line_white.svg) center / contain no-repeat;
}

@media screen and (max-width: 599px) {
  .top-news-button::before {
    top: 23px;
    right: -26px;
    width: 50px;
    height: 5px;
  }
}

.top-news-list {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 0 52px;
  border-left: 1px solid var(--white);
}

@media screen and (max-width: 1023px) {
  .top-news-list {
    border-left: none;
    padding: 32px 0 0 0;
    border-top: 1px solid var(--white);
    border-left: none;
  }
}

@media screen and (max-width: 599px) {
  .top-news-list {
    gap: 20px;
    padding: 24px 0 0 0;
  }
}

.top-news-link {
  display: flex;
  gap: 32px;
  color: var(--white);
  font-size: 16px;
}

@media screen and (max-width: 599px) {
  .top-news-link {
    flex-direction: column;
    gap: 12px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .top-news-link:hover .top-news-text {
    opacity: 0.7;
  }
}

.top-news-date {
  width: 100px;
  font-family: var(--lexend);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media screen and (max-width: 599px) {
  .top-news-date {
    width: 100%;
    font-size: 14px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .top-news-link:hover .top-news-date {
    opacity: 0.7;
  }
}

.top-news-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 599px) {
  .top-news-text {
    font-size: 14px;
  }
}

/* ------------------------------------------------------ */
/* CTA
/* ------------------------------------------------------ */

.cta {
  padding: 60px 0;
  background-color: var(--primary-dark-600);
}

.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;
  margin-right: 44px;
  padding: 16px;
  max-width: 484px;
  width: 100%;
  height: 96px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  background-color: var(--white);
  border-radius: 50px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 599px) {
  .cta-button {
    gap: 12px;
    margin-right: 24px;
    padding: 8px;
    max-width: 316px;
    height: 64px;
    font-size: 16px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .cta-button:hover {
    color: var(--white);
    background-color: var(--secondary-main-500);
  }
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 45px;
  right: -40px;
  width: 66px;
  height: 7px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_line_navy.svg) center / contain no-repeat;
}

@media screen and (max-width: 599px) {
  .cta-button::before {
    top: 28px;
    right: -24px;
    width: 50px;
    height: 6px;
  }
}

@media screen and (max-width: 599px) {
  .cta-button-icon {
    width: 48px;
    height: 48px;
  }
}

/* ------------------------------------------------------ */
/* 下層（共通）
/* ------------------------------------------------------ */

.page-kv {
  padding: 60px 0 40px;
}

@media screen and (max-width: 599px) {
  .page-kv {
    padding: 48px 0 32px;
  }
}

.page-title-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media screen and (max-width: 599px) {
  .page-title-wrap {
    margin-bottom: 0;
  }
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
}

@media screen and (max-width: 599px) {
  .page-title {
    font-size: 22px;
  }
}

.page-title-en {
  display: flex;
  font-family: var(--lexend);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 599px) {
  .page-title-en {
    font-size: 14px;
  }
}

/* パンくずリスト
/* ------------------------------------------------------ */

.page-breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  .page-breadcrumbs {
    display: none;
  }
}

.page-breadcrumbs span.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-main {
  margin-bottom: 60px;
}

@media screen and (max-width: 599px) {
  .page-main {
    margin-bottom: 48px;
  }
}

body.page-id-266 .page-main,
body.page-id-265 .page-main,
body.page-id-264 .page-main {
  margin-bottom: 28px;
}

@media screen and (max-width: 599px) {

  body.page-id-266 .page-main,
  body.page-id-265 .page-main,
  body.page-id-264 .page-main {
    margin-bottom: 14px;
  }
}

.page-content,
div#wpcf7cpcnf {
  padding: 36px 40px;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0px 0px 9px 0px var(--shadow-secondary);
}

@media screen and (max-width: 599px) {

  .page-content,
  div#wpcf7cpcnf {
    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-main-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 40px auto 0;
  max-width: 340px;
  width: 100%;
  height: 68px;
  color: var(--white);
  background-color: var(--secondary-main-500);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid var(--white);
  border-radius: 34px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 599px) {
  .page-main-button {
    margin: 32px auto 0;
    width: 270px;
    height: 56px;
    font-size: 14px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .page-main-button:hover {
    background-color: var(--secondary-dark-600);
  }
}

.page-main-button::before {
  content: '';
  position: absolute;
  top: 30px;
  right: -40px;
  width: 66px;
  height: 6px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_line_primary.svg) center / contain no-repeat;
}

@media screen and (max-width: 599px) {
  .page-main-button::before {
    top: 23px;
    right: -26px;
    width: 50px;
    height: 5px;
  }
}

/* ------------------------------------------------------ */
/* お知らせページ（一覧）
/* ------------------------------------------------------ */

.news-item:first-child .news-link {
  padding-top: 0;
  border-top: none;
}

.news-item:last-child .news-link {
  padding-bottom: 0;
}

.news-link {
  display: flex;
  gap: 32px;
  font-size: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

@media screen and (max-width: 599px) {
  .news-link {
    flex-direction: column;
    gap: 8px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .news-link:hover .news-text {
    opacity: 0.7;
  }
}

.news-date {
  display: inline-block;
  width: 100px;
  color: var(--secondary-main-500);
  font-family: var(--lexend);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media screen and (max-width: 599px) {
  .news-date {
    width: 100%;
    font-size: 14px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .news-link:hover .news-date {
    opacity: 0.7;
  }
}

.news-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 599px) {
  .news-text {
    font-size: 14px;
  }
}

.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: 0px 0px 9px 0px var(--shadow-secondary);
}

@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 img {
  border-radius: 10px;
}

.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;
}

/* ------------------------------------------------------ */
/* お問い合わせ（入力画面）
/* ------------------------------------------------------ */

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%;
}

.page-main-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-995"] .wpcf7-list-item-label {
  position: relative;
  padding-left: 34px;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .wpcf7-form-control-wrap[data-name="acceptance-995"] .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;
}

.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-995"] .wpcf7-not-valid-tip {
  margin-top: 5px;
  margin-left: 34px;
}

@media screen and (max-width: 767px) {
  .wpcf7-form-control-wrap[data-name="acceptance-995"] .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: 136px;
}

@media screen and (max-width: 599px) {
  div#wpcf7cpcnf {
    margin-bottom: 102px;
  }
}

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: 10px;
}

@media screen and (max-width: 599px) {
  .wpcf7cp-btns {
    bottom: -88px;
  }
}

.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;
  border-radius: 34px;
  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: 200px;
  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::before {
  content: '';
  position: absolute;
  top: 30px;
  right: -40px;
  width: 66px;
  height: 6px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_line_primary.svg) center / contain no-repeat;
}

@media screen and (max-width: 767px) {
  .wpcf7cp-btns .wpcf7-submit.wpcf7cp-cfm-submit-btn::before {
    top: 23px;
    right: -26px;
    width: 50px;
    height: 5px;
  }
}

/* ------------------------------------------------------ */
/* コラム
/* ------------------------------------------------------ */

.top-column {
  padding: 60px 0;
  background-color: var(--primary-lightest-200);
}

@media screen and (max-width: 599px) {
  .top-column {
    padding: 48px 0;
  }
}

.top-column-inner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 28px;
}

@media screen and (max-width: 599px) {
  .top-column-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

.top-column-title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: start;
}

.column-list {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  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);
  border-radius: 16px;
  box-shadow: 0px 0px 9px rgba(157.87, 120.49, 78.71, 0.15);
  transition: box-shadow 0.3s ease;
}

@media (hover: hover)and (pointer: fine) {
  .column-link:hover {
    box-shadow: 0px 0px 20px rgba(157.87, 120.49, 78.71, 0.40);
  }

  .column-link:hover::after {
    right: 20px;
  }
}

.column-link::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: 40px;
  height: 6px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_line_secondary_small.svg) center / contain no-repeat;
  transition: right 0.3s ease;
}

.column-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.column-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  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;
  }
}

.top-column-button {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 22px 0 auto;
  width: 210px;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  background-color: var(--white);
  border-radius: 34px;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 9px 0px var(--shadow-secondary);
  transition: all 0.3s ease;
}

@media screen and (max-width: 599px) {
  .top-column-button {
    margin: 0 auto;
    width: 270px;
    height: 56px;
  }
}

@media (hover: hover)and (pointer: fine) {
  .top-column-button:hover {
    color: var(--white);
    background-color: var(--secondary-main-500);
  }
}

.top-column-button::before {
  content: '';
  position: absolute;
  top: 19px;
  right: -22px;
  width: 43px;
  height: 6px;
  background: url(/wp-content/uploads/assets/img/icon_arrow_line_primary_small.svg) center / contain no-repeat;
}

@media screen and (max-width: 599px) {
  .top-column-button::before {
    top: 22px;
    right: -25px;
    width: 50px;
    background: url(/wp-content/uploads/assets/img/icon_arrow_line_primary_small_sp.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(--white);
  border-radius: 18px;
  box-shadow: 0px 0px 9px 0px var(--shadow-secondary);
  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:hover {
    color: var(--white);
    background-color: var(--secondary-main-500);
  }
}