/* --------------------------------------------------------------------------
   リセットcss
   -------------------------------------------------------------------------- */
@charset "utf-8";

/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.min.css */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent
}

body {
  margin: 0
}

main {
  display: block
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none
}

dt {
  font-weight: 700
}

dd {
  margin-left: 0
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit
}

pre {
  font-family: monospace, monospace;
  font-size: inherit
}

address {
  font-style: inherit
}

a {
  background-color: transparent;
  color: inherit;
  cursor: pointer
}

abbr[title] {
  text-decoration: underline dotted
}

b,
strong {
  font-weight: bolder
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: inherit
}

small {
  font-size: 80%
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom
}

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default
}

:-moz-focusring {
  outline: auto
}

select:disabled {
  opacity: inherit
}

option {
  padding: 0
}

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0
}

legend {
  padding: 0
}

progress {
  vertical-align: baseline
}

textarea {
  overflow: auto
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto
}

[type="search"] {
  outline-offset: -2px
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

details {
  display: block
}

summary {
  display: list-item
}

[contenteditable]:focus {
  outline: auto
}

table {
  border-color: inherit;
  border-collapse: collapse
}

caption {
  text-align: left
}

td,
th {
  vertical-align: top;
  padding: 0
}

th {
  text-align: left;
  font-weight: 700
}

:where(:root) {
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  hyphens: auto
}

:where(:root) {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%
}

:where(:root) {
  -webkit-tap-highlight-color: transparent
}

@media(any-hover:hover) {
  :where(a[href^="tel:"]) {
    pointer-events: none
  }
}

:where(img) {
  max-width: 100%;
  width: 100%;
  height: auto;
  vertical-align: bottom
}

/* --------------------------------------------------------------------------
   variables 変数
   -------------------------------------------------------------------------- */
:root {
  /* =========================
    Font Family
  ========================== */
  --font-base:
    "Geologica",
    "Zen Kaku Gothic New",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    sans-serif;

  /* =========================
    Font Weight
  ========================== */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  /* =========================
    Font Size
  ========================== */
  /* Heading */
  --fz-h1-ja:
    clamp(2rem, 1.25rem + 1.25vw, 3rem);
  --fz-h1-sub:
    clamp(1.2rem, 1.05rem + 1.25vw, 1.6rem);
  --fz-h2-ja:
    clamp(1.5rem, 1.6rem + 1vw, 2rem);
  --fz-h2-en:
    clamp(2.25rem, 1.8rem + 1.2vw, 3.5rem);
  --fz-h3-ja:
    clamp(1.375rem, 1.25rem + 0.4vw, 1.625rem);
  --fz-h4-ja:
    18px;
  /* Subtitle */
  --fz-sub-title:
    clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
  /* Text */
  --fz-text:
    clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --fz-small-text:
    clamp(0.75rem, 0.72rem + 0.15vw, 0.875rem);

  /* =========================
    Line Height
  ========================== */
  --lh-body: 1.6;
  --lh-heading: 1.4;
  --lh-small: 1.2;
  --lh-xs: 1;

  /* =========================
    Letter Spacing
  ========================== */
  --ls-tight: 0.02em;
  --ls-base: 0.05em;
  --ls-wide: 0.1em;

  /* =========================
    color
  ========================== */
  --color-main: #4E6F79;
  --color-text: #2D2C33;
  --color-dark: #464646;
  --color-accent: #B15C23;
  --color-background: #F5F5F5;
  --color-white: #fff;
  --color-background-2: #E7E9E1;
  --color-pink: #D8AE91;

  /* =========================
    shadow
  ========================== */
  --shadow-image: rgba(38, 38, 38, 0.3);
  --shadow-text: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-button: 0 10px 30px rgba(0, 0, 0, 0.08);

}

/* --------------------------------------------------------------------------
  common 共通
   -------------------------------------------------------------------------- */
/* ログイン時 header */
.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

/* =========================
  body
========================== */
body {
  font-family: var(--font-base);
  font-weight: var(--fw-medium);
  font-size: var(--fz-text);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-base);
  color: var(--color-text);
}

/* =========================
  header
========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  transition: transform 0.5s ease;
  background: var(--color-white);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  padding: 1rem 2rem;
}

.header__logo img {
  width: 150px;
  height: auto;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.header__nav-item {
  position: relative;
}

.header__nav-list a {
  display: inline-block;
  text-decoration: none;
}

.flipText {
  display: inline-block;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}

.flipText__jp,
.flipText__en {
  display: block;
  white-space: nowrap;
  backface-visibility: hidden;
}

.flipText__en {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotateX(90deg);
}

.flipText__jp {
  transform: rotateX(0deg);
}

.header__nav-link:hover .flipText,
.header__contact:hover .flipText {
  transform: rotateX(-90deg);
}

.header__action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  height: 48px;
  background: var(--color-main);
  border-radius: 6px;
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--fz-small-text);
  transition: background-color 0.3s ease;
}

.header__contact:hover {
  background-color: var(--color-accent);
}

.header__contact-icon {
  width: 18px;
  height: auto;
}

.header__hamburger {
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--color-dark);
  border-radius: 6px;
  border: none;
  transition: background-color 0.3s ease;
}

.header__hamburger:hover {
  background-color: var(--color-accent);
}

.header__hamburger-line {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--color-white);
  transition: 0.4s;
  transform: translateX(-50%);
}

/* 位置固定 */
.header__hamburger-line:nth-of-type(1) {
  top: 16px;
}

.header__hamburger-line:nth-of-type(2) {
  top: 23px;
}

.header__hamburger-line:nth-of-type(3) {
  top: 30px;
}

/* ×変形 */
.header__hamburger.is-active .header__hamburger-line:nth-of-type(1) {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}

.header__hamburger.is-active .header__hamburger-line:nth-of-type(2) {
  opacity: 0;
}

.header__hamburger.is-active .header__hamburger-line:nth-of-type(3) {
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

/* モバイルナビ */
.drawer {
  position: fixed;
  inset: 0;
  top: 80px;
  height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  background: var(--color-background);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.7s ease;
  z-index: 2000;
  pointer-events: none;
}

.drawer.is-active {
  clip-path: circle(150% at 100% 0%);
  pointer-events: auto;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.drawer__item {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s;
}

.drawer.is-active .drawer__item {
  opacity: 1;
  transform: translateY(0);
}

.drawer.is-active .drawer__item:nth-child(1) {
  transition-delay: 0.1s;
}

.drawer.is-active .drawer__item:nth-child(2) {
  transition-delay: 0.2s;
}

.drawer.is-active .drawer__item:nth-child(3) {
  transition-delay: 0.3s;
}

.drawer.is-active .drawer__item:nth-child(4) {
  transition-delay: 0.4s;
}

.drawer.is-active .drawer__item:nth-child(5) {
  transition-delay: 0.5s;
}

.drawer__link {
  text-decoration: none;
  color: var(--color-dark);
}

/* テキスト縦構造 */
.drawer__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: var(--lh-smal);
}

/* 日本語 */
.drawer__text-jp {
  font-size: 1.2rem;
}

/* 英語 */
.drawer__text-en {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  opacity: 0.55;
  margin-top: 4px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* hover時：英語カラー */
.drawer__link:hover .drawer__text-en {
  color: var(--color-accent);
  opacity: 1;
}

/* スクロール防止 */
html.is-fixed,
html.is-fixed body {
  height: 100%;
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .header__inner {
    padding: 1rem;
  }

  .header__nav-list {
    display: none;
  }

  .header__nav {
    gap: 12px;
  }

  .header__action {
    gap: 12px;
  }
}

@media screen and (max-width: 767px) {

  .header__contact {
    padding: 14px;
    gap: 0;
  }

  .header__contact-text {
    display: none;
  }
}

/* ドロップダウンメニュー */
.header__nav-item {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  list-style: none;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 9999;
  overflow: hidden;
}

.menu-item-has-children:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
}

.header__sub-link {
  display: block;
  width: 100%;
  padding: 12px 20px;
  color: var(--color-dark);
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color .3s ease;
}

.header__sub-link:hover {
  background-color: #f5f5f5;
}

.menu-item-has-children > .header__nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-item-has-children > .header__nav-link::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid var(--color-text);
    border-bottom: 2px solid var(--color-text);
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.menu-item-has-children:hover > .header__nav-link::after {
    transform: rotate(225deg);
}


/* =========================
  section-block
========================== */
.section-block {
  margin-bottom: 5rem;
}

.section-block__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 0 2rem;
}

.section-block__inner--wide {
  padding: 5rem 4rem;
}

.section-block__round {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 2rem;
  border-radius: 2rem;
  background: var(--color-background);
}

@media (max-width: 1024px) {
  .section-block__inner {
    padding-inline: 2rem;
  }

  .section-block__inner--wide {
    padding: 5rem 4rem;
  }

  .section-block__round {
    display: flex;
    gap: 4rem;
    padding: 5rem 2rem;
  }
}

@media (max-width: 768px) {
  .section-block__inner {
    padding-inline: 1rem;
  }

  .section-block__inner--wide {
    padding: 5rem 2rem;
  }

  .section-block__round {
    padding: 5rem 1rem;
  }
}

.section-block__round--dark {
  background: var(--color-dark);
}

/* =========================
  heading
========================== */
.section-heading {
  border-bottom: 1px dashed var(--color-pink);
  margin-bottom: 4rem;
}

.section-heading__title {
  position: relative;
  margin-bottom: -6px;
  padding-left: 3rem;
  font-size: var(--fz-sub-title);
  color: var(--color-accent);
}

.section-heading__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.section-heading__label {
  font-size: var(--fz-h2-en);
  line-height: var(--lh-small);
  color: var(--color-text);
}

/* white ver */
.section-heading--white .section-heading__title,
.section-heading--white .section-heading__label {
  color: var(--color-white);
}

.section-heading--white .section-heading__title::before {
  background: var(--color-white);
}

.section-heading--white {
  border-bottom-color: var(--color-white);
}

.h2-heading-ja {
  font-size: var(--fz-h2-ja);
}

.heading-sm {
  	position: relative;
	padding-left: 30px;
  font-size: var(--fz-h4-ja);
  font-weight: var(--fw-bold);
}

.heading-sm::before {
	content: "";
	position: absolute;
	top: 46%;
	left: 0;
	width: 24px;
	height: 1px;
	background: var(--color-main);
	transform: translateY(-50%);
}

.heading-m {
  font-size: var(--fz-h3-ja);
  font-weight: var(--fw-bold);
}

/* =========================
  button
========================== */
.btn-center {
  display: flex;
  justify-content: center;
}

.btn-right {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 24px;
  padding: 12px 12px 12px 24px;
  background: var(--color-white);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.4s ease;
  overflow: hidden;
}

.btn--card {
  padding: 0 0 0 12px;
  gap: 12px;
}

.btn--shadow {
  box-shadow: var(--shadow-button);
}

.btn__text {
  font-size: 15px;
  line-height: var(--lh-xs);
  font-weight: var(--fw-bold);
  color: var(--color-main);
  transition: color 0.4s ease 0.15s;

}

.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  aspect-ratio: 1;
  background: var(--color-main);
  border-radius: 6px;
  flex-shrink: 0;
  transition: transform 0.6s ease;
}

.btn__icon--bg {
  background: var(--color-background);
}

.btn__icon img {
  width: 28px;
  height: auto;
  display: block;
}

.button--lg {
  padding: 16px 16px 16px 32px;
}

.button--md {
  padding: 16px 16px 16px 32px;
}

.btn--down .btn__icon img {
  transform: rotate(90deg);
}

.btn.btn--down {
  gap: 8px;
}

.btn:hover {
  background: var(--color-main);
}

.btn:hover .btn__text {
  color: var(--color-white);
}

.btn:hover .btn__icon {
  transform: rotate(360deg);
}

/* カード内ボタンアニメーション */
.btn:hover,
.service-card__link:hover .btn,
.card__link:hover .btn {
  background: var(--color-main);
}

.btn:hover .btn__text,
.service-card__link:hover .btn__text,
.card__link:hover .btn__text {
  color: var(--color-white);
}

.btn:hover .btn__icon,
.service-card__link:hover .btn__icon,
.card__link:hover .btn__icon {
  transform: rotate(360deg);
}

/* カード内画像アニメーション */
.card__link:hover .card__image img,
.service-card__link:hover .service-card__image img {
  transform: scale(1.08);
}

/* =========================
  チェックリスト
========================== */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list__title {
  margin-bottom: 0.8rem;
}

.check-list__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.check-list__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.2em;
}

.check-list__text {
  flex: 1;
}

/* =========================
  footer
========================== */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
}

.footer__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.footer__logo {
  display: block;
  width: 150px;
}

.footer__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  padding: 2rem;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-list .menu-item {
  list-style: none;
}

.footer__nav-list .menu-item a {
  display: block;
  font-size: var(--fz-small-text);
  text-decoration: none;
  color: inherit;
  transition: opacity .3s;
  padding: .5rem;
}

.footer__nav-list .menu-item a:hover {
  opacity: .7;
}

.footer__bottom {
  padding: 1rem 0;
  border-top: 1px dashed var(--color-white);
}

.footer__copyright {
  display: block;
  font-size: var(--fz-small-text);
  text-align: center;
}

@media (max-width:767px) {
  .footer__top {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem 0;
  }

  .footer__logo {
    width: 200px;
  }

  .footer__nav {
    width: 100%;
  }

  .footer__nav-list {
    justify-content: center;
    gap: 1rem 1.5rem;
  }

  .footer__nav-list .menu-item {
    width: calc(50% - .75rem);
    text-align: center;
  }

  .footer__nav-list .menu-item a {
    padding: .75rem;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 6px;
  }

  .footer__bottom {
    margin-top: 1rem;
  }
}

/* =========================
  ページネーション
========================== */
.pagination {
  margin-bottom: 5rem;
}

.pagination__links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;

}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--color-dark);
  color: var(--color-white);
}


.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 6px;
  text-decoration: none;
  background: var(--color-background);
  color: var(--color-main);
  transition: 0.3s;
}

.page-numbers.prev,
.page-numbers.next {
  background: transparent;
}

.page-numbers img {
  width: 2rem;
  height: auto;
}

/* =========================
CARD BASE
========================== */

.card__link {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--color-white);
  box-shadow: var(--shadow-button);
  text-decoration: none;
  color: inherit;
}

.card__image {
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fz-small-text);
}

.card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px 7px;
  border-radius: 6px;
  background: var(--color-background);
  font-size: var(--fz-small-text);
  line-height: var(--lh-xs);
}

.card__date {
  line-height: var(--lh-xs);
  font-weight: var(--fw-regular);
}

.card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: var(--lh-heading);
}

/* =========================
works
========================== */
.works {
  background: var(--color-background);
}

.works__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

/* works用カード調整 */
.card--works .card__image {
  aspect-ratio: 16 / 9;
}

@media (max-width: 1024px) {
  .works__cards {
    gap: 1rem;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .works__cards {
    gap: 2rem;
  }
}

/* =========================
column
========================== */
.column__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  margin-bottom: 4rem;
}

.card--column .card__link {
  display: flex;
  align-items: stretch;
  background: none;
  box-shadow: none;
  gap: 1rem;
}

.card--column .card__image {
  flex: 0 0 auto;
  width: 40%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
}

.card--column .card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card--column .card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.card--column .card__title,
.card--column .card__date {
  color: var(--color-white);
}

.card--column .card__title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card--column .card__tag {
  border: 1px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  padding: 8px 12px 7px;
}

.card__bottom {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

@media (max-width:1024px) {
  .column__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width:768px) {
  .card--column .card__body {
    gap: 0.5rem;
  }

  .card--column .card__image {
    width: 45%;
  }

  .card--column .card__tag {
    padding: 6px 10px 5px;
  }

  .card--column .card__date {
    display: none;
  }
}

/* =========================
main visual
========================== */
.hero {
  height: 100svh;
  margin-bottom: 3rem;
}

.hero__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 5rem 2rem 2rem;
  height: 100%;
}

.hero__slider {
  position: relative;
  height: 100%;
  border-radius: 2rem;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--shadow-image);
  z-index: 1;
}

.hero__content,
.hero__scroll {
  position: relative;
  z-index: 2;
}

.hero__content {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  color: var(--color-white);
  text-align: justify;
}

.hero__title {
  font-size: var(--fz-h1-ja);
}

.hero__lead {
  font-size: var(--fz-h1-sub);
}

.hero__scroll {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--color-white);
}

.hero__scroll-text {
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.hero__scroll-line {
  width: 1px;
  height: 80px;
  background: var(--color-white);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* デスクトップ */
@media (min-width: 1440px) {
  .hero {
    height: 750px;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    padding: 5rem 2rem 2rem;
  }

  .hero__image {
    border-radius: 1rem;
  }

  .hero__content {
    top: 3rem;
    left: 1rem;
    right: 1rem;
    bottom: auto;
  }

  .hero__title {
    margin-bottom: 1rem;
  }

  .hero__scroll {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero__inner {
    padding-inline: 1rem;
  }
}

/* =========================
    page hero section
========================== */
.page-hero {
  height: 350px;
}

/* =========================
contact section
========================== */
.contact__container {
  padding: 5rem 2rem 6rem;
  border-radius: 2rem;
  background: var(--color-background);
  position: relative;
  overflow: hidden;
}

.contact__text {
  margin-bottom: 2rem;
}

.section-heading,
.btn-center {
  position: relative;
  z-index: 1;
}

.contact__container {
  position: relative;
  overflow: hidden;
}

.contact__btn {
  position: relative;
  z-index: 2;
}

.contact__bg-text {
  position: absolute;
  bottom: 0;
  right: 2rem;
  display: flex;
  gap: 0.05em;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-base);
  color: lightgray;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.contact__bg-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-200px);
  animation: contact-letter-drop 0.9s forwards;
}

.contact__bg-text span:nth-child(1) {
  animation: contact-letter-drop 10s 0s infinite;
}

.contact__bg-text span:nth-child(2) {
  animation: contact-letter-drop 10s 0.1s infinite;
}

.contact__bg-text span:nth-child(3) {
  animation: contact-letter-drop 10s 0.2s infinite;
}

.contact__bg-text span:nth-child(4) {
  animation: contact-letter-drop 10s 0.3s infinite;
}

.contact__bg-text span:nth-child(5) {
  animation: contact-letter-drop 10s 0.4s infinite;
}

.contact__bg-text span:nth-child(6) {
  animation: contact-letter-drop 10s 0.5s infinite;
}

.contact__bg-text span:nth-child(7) {
  animation: contact-letter-drop 10s 0.6s infinite;
}

@keyframes contact-letter-drop {
  0% {
    opacity: 0;
    transform: translateY(-120px) rotate(-8deg) scale(0.8);
  }

  45% {
    opacity: 1;
    transform: translateY(10px) rotate(3deg) scale(1.05);
  }

  65% {
    transform: translateY(-6px) rotate(-2deg) scale(0.98);
  }

  80% {
    transform: translateY(3px) rotate(1deg) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@media (max-width: 768px) {
  .contact__container {
    padding: 5rem 1rem 6rem;
  }

  .contact__bg-text {
    right: 1rem;
  }
}