@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&family=Zen+Old+Mincho:wght@400;500;600;700&display=swap');

.main-wrap {
  overflow: hidden;
}

.nowhite {
  white-space: nowrap
}

.font400 {
  font-weight: 400
}

.font500 {
  font-weight: 500
}

.lineheight22 {
  line-height: 2.2;
  letter-spacing: 0.08em;
  font-weight: 400
}

.txtwhite {
  color: #ffffff
}

.color1 {
  color: #404040
}

.color2 {
  color: rgba(51, 51, 51, 0.70)
}

.color3 {
  color:
}

.bg1 {
  position: relative;
  overflow: hidden
}

.bg2 {
  position: relative;
  overflow: hidden
}

.bg3 {
  background: #F3EFE4
}

.mincho {
  font-family: "Zen Old Mincho", "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif"
}

.serif {
  font-family: "Noto Serif JP", "Zen Old Mincho", "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif"
}

.fontnoto {
  font-family: "Noto Sans JP", "Noto Sans", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif
}

.zenkaku {
  font-family: "Zen Kaku Gothic New", "Noto Sans", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif
}

.fontsen {
  font-family: "JetBrains Mono", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif
}

.entitle0 {
  font-family: "JetBrains Mono", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: max(14px, clamp(56px, 6vw, 72px));
  letter-spacing: 0.08em
}

.entitle1 {
  font-family: "JetBrains Mono", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: max(14px, clamp(40px, 4vw, 57px));
  letter-spacing: 0.12em
}

.entitle2 {
  font-family: "JetBrains Mono", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: max(14px, clamp(34px, 5vw, 46px));
  letter-spacing: 0.1em
}

.entitle3 {
  font-family: "JetBrains Mono", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: max(14px, clamp(22px, 3vw, 28px));
  letter-spacing: 0.08em
}

.entitle4 {
  font-family: "JetBrains Mono", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: max(14px, clamp(18px, 3vw, 22px));
  letter-spacing: 0.08em
}

.default_title1 {
  font-size: max(14px, clamp(28px, 3.2vw, 44px))
}

.default_title2 {
  font-size: max(14px, clamp(26px, 3.0vw, 32px))
}

.default_title3 {
  font-size: max(14px, clamp(18px, 2.8vw, 28px))
}

.default_title4 {
  font-size: max(14px, clamp(18px, 1.8vw, 22px))
}

.default_txt1 {
  font-size: max(14px, clamp(15px, 1.4vw, 18px))
}

.default_txt2 {
  font-size: max(14px, clamp(12px, 1.2vw, 14px))
}

.default_txt3 {
  font-size: max(14px, clamp(12px, 1.2vw, 14px))
}

.mg_b_1 {
  margin-bottom: 150px
}

.mg_b_2 {
  margin-bottom: 100px
}

.mg_b_3 {
  margin-bottom: 80px
}

.mg_b_4 {
  margin-bottom: 50px
}

.mg_b_5 {
  margin-bottom: 30px
}

@media screen and (max-width: 1080px) {
  .mg_b_1 {
    margin-bottom: 100px
  }

  .mg_b_2 {
    margin-bottom: 80px
  }

  .mg_b_3 {
    margin-bottom: 60px
  }

  .mg_b_4 {
    margin-bottom: 40px
  }

  .mg_b_5 {
    margin-bottom: 30px
  }
}

@media screen and (max-width: 576px) {
  .mg_b_1 {
    margin-bottom: 80px
  }

  .mg_b_2 {
    margin-bottom: 60px
  }

  .mg_b_3 {
    margin-bottom: 50px
  }

  .mg_b_4 {
    margin-bottom: 30px
  }

  .mg_b_5 {
    margin-bottom: 20px
  }
}

.mg_t_1 {
  margin-top: 150px
}

.mg_t_2 {
  margin-top: 100px
}

.mg_t_3 {
  margin-top: 80px
}

.mg_t_4 {
  margin-top: 50px
}

.mg_t_5 {
  margin-top: 30px
}

@media screen and (max-width: 1080px) {
  .mg_t_1 {
    margin-top: 100px
  }

  .mg_t_2 {
    margin-top: 80px
  }

  .mg_t_3 {
    margin-top: 60px
  }

  .mg_t_4 {
    margin-top: 40px
  }

  .mg_t_5 {
    margin-top: 30px
  }
}

@media screen and (max-width: 576px) {
  .mg_t_1 {
    margin-top: 80px
  }

  .mg_t_2 {
    margin-top: 60px
  }

  .mg_t_3 {
    margin-top: 50px
  }

  .mg_t_4 {
    margin-top: 30px
  }

  .mg_t_5 {
    margin-top: 20px
  }
}

.pd_wrap {
  padding: 150px 80px 0
}

.pd_wrap_all {
  padding: 150px 80px 150px
}

.pd_wrap_side {
  padding-left: 80px;
  padding-right: 80px
}

.pd_wrap_t {
  padding-top: 150px
}

.pd_wrap_b {
  padding-bottom: 150px
}

.pd_wrap_tb {
  padding-top: 150px;
  padding-bottom: 150px
}

@media screen and (max-width: 1280px) {
  .pd_wrap {
    padding: 150px 60px 0
  }

  .pd_wrap_all {
    padding: 150px 60px 150px
  }

  .pd_wrap_side {
    padding-left: 60px;
    padding-right: 60px
  }
}

@media screen and (max-width: 768px) {
  .pd_wrap {
    padding: 100px 50px 0
  }

  .pd_wrap_all {
    padding: 100px 50px 100px
  }

  .pd_wrap_side {
    padding-left: 50px;
    padding-right: 50px
  }

  .pd_wrap_t {
    padding-top: 100px
  }

  .pd_wrap_b {
    padding-bottom: 100px
  }

  .pd_wrap_tb {
    padding-top: 100px;
    padding-bottom: 100px
  }
}

@media screen and (max-width: 576px) {
  .pd_wrap {
    padding: 80px 20px 0
  }

  .pd_wrap_all {
    padding: 80px 20px 80px
  }

  .pd_wrap_side {
    padding-left: 20px;
    padding-right: 20px
  }

  .pd_wrap_t {
    padding-top: 80px
  }

  .pd_wrap_b {
    padding-bottom: 80px
  }

  .pd_wrap_tb {
    padding-top: 80px;
    padding-bottom: 80px
  }
}

body {
  background-color: #ffffff
}

body .bg_img_wrap {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat
}

body.on .bg_img_wrap .bg_img {
  display: none
}

body .bg_img_wrap2 {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat
}

a {
  display: inline-block
}

a p,
a,
a i {
  color: #000000
}

.font-medium {
  font-weight: 500
}

.font-semibold {
  font-weight: 600
}

.font-black {
  font-weight: 900
}

.cate_wrap>.cate {
  padding-top: 150px
}

/* ---------- footer ---------- */

/* ANIME */
.sc-anime.topin.on {
  opacity: 0;
  transform: translateY(-50px)
}

.sc-anime.topin.on.active {
  animation-name: topin;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards
}

.sc-anime.bottomin.on {
  opacity: 0;
  transform: translateY(50px)
}

.sc-anime.bottomin.on.active {
  animation-name: bottomin;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards
}

.sc-anime.leftin.on {
  opacity: 0;
  transform: translateX(-50px)
}

.sc-anime.leftin.on.active {
  animation-name: leftin;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards
}

.sc-anime.rightin.on {
  opacity: 0;
  transform: translateX(50px)
}

.sc-anime.rightin.on.active {
  animation-name: rightin;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards
}

.sc-anime.fadein.on {
  opacity: 0
}

.sc-anime.fadein.on.active {
  animation-name: fadein;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards
}

.sc-anime.blurin.on {
  opacity: 0;
  -ms-filter: blur(6px);
  filter: blur(6px)
}

.sc-anime.blurin.on.active {
  animation-name: blurin;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards
}

.sc-anime.blurin2.on {
  opacity: 0;
  transform: translateY(50px);
  -ms-filter: blur(6px);
  filter: blur(6px)
}

.sc-anime.blurin2.on.active {
  animation-name: blurin2;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards
}

@keyframes topin {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

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

@keyframes bottomin {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

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

@keyframes leftin {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes rightin {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes upin {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(0);
  }
}

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

  100% {
    opacity: 1;
  }
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes blurin {
  0% {
    opacity: 0;
    -ms-filter: blur(6px);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    -ms-filter: blur(0px);
    filter: blur(0px);
  }
}

@keyframes blurin2 {
  0% {
    opacity: 0;
    transform: translateY(50px);
    -ms-filter: blur(6px);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
    -ms-filter: blur(0px);
    filter: blur(0px);
  }
}

/* color */
.txt-color-normal {
  color: #000000
}

.txt-white {
  color: #ffffff
}

.txt-red {
  color: #ff0000
}

.txt-color1 {
  color: #FFE93C
}

.txt-color2 {
  color: #F1F1E9
}

.txt-color3 {
  color: #021745
}

.txt-color4 {
  color: #EBF5E5
}

.bg-white {
  background-color: #ffffff
}

.bg-black {
  background-color: #000000
}

.bg-color1 {
  background-color: #FFE93C
}

.bg-color2 {
  background-color: #F1F1E9
}

.bg-color3 {
  background-color: #021745
}

.bg-color4 {
  background-color: #EBF5E5
}

.border-color1 {
  border-color: #FFE93C
}

.border-color2 {
  border-color: #F1F1E9
}

.border-color3 {
  border-color: #021745
}

.border-color4 {
  border-color: #EBF5E5
}

.hvr-bg-white:hover {
  background-color: #ffffff
}

.hvr-bg-black:hover {
  background-color: #000000
}

.hvr-bg-color1:hover {
  background-color: #FFE93C
}

.hvr-bg-color2:hover {
  background-color: #F1F1E9
}

.hvr-bg-color3:hover {
  background-color: #021745
}

.hvr-bg-color4:hover {
  background-color: #EBF5E5
}

.hvr-border-color1:hover {
  border-color: #FFE93C
}

.hvr-border-color2:hover {
  border-color: #F1F1E9
}

.hvr-border-color3:hover {
  border-color: #021745
}

.hvr-border-color4:hover {
  border-color: #EBF5E5
}

/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {}

/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px) {
  .pd_wrap {
    padding: 150px 60px 0
  }

  .pd_wrap_all {
    padding: 150px 60px 150px
  }

  .pd_wrap_side {
    padding-left: 60px;
    padding-right: 60px
  }

  /* ---------- common ---------- */
  /* ---------- header ---------- */
  /* ---------- footer ---------- */
}

/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {
  /* ---------- common ---------- */
  /* ---------- header ---------- */
  /* ---------- footer ---------- */
}

/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {
  .pd_wrap {
    padding: 100px 50px 0
  }

  .pd_wrap_all {
    padding: 100px 50px 100px
  }

  .pd_wrap_side {
    padding-left: 50px;
    padding-right: 50px
  }

  .cate_wrap>.cate {
    padding-top: 100px
  }

  /* ---------- common ---------- */
  /* ---------- header ---------- */
  /* ---------- footer ---------- */
}

/* ---------- スマートフォン ---------- */
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {
  .pd_wrap {
    padding: 80px 20px 0
  }

  .pd_wrap_all {
    padding: 80px 20px 80px
  }

  .pd_wrap_side {
    padding-left: 20px;
    padding-right: 20px
  }

  .cate_wrap>.cate {
    padding-top: 80px
  }

  /* ---------- common ---------- */
  /* ---------- header ---------- */
  /* ---------- footer ---------- */
}

/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px) {}

/* Shared 徳原美術工藝 layout */
/* 徳原美術工藝 — shared layout, built on the supplied template. */
:root {
  --green: #004b34;
  --leaf: #66943f;
  --ink: #181818;
  --gray: #f3f3f3;
  --serif: 'Zen Old Mincho', 'Yu Mincho', serif;
  --sans: 'Noto Sans JP', sans-serif;
  --english: 'Cormorant Garamond', Georgia, serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: clip
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 2.15;
  letter-spacing: .045em
}

body,
p,
h1,
h2,
h3,
h4,
a,
li,
label,
input,
textarea,
button {
  font-size: inherit
}

p,
h1,
h2,
h3,
h4 {
  margin: 0
}

h1,
h2,
h3,
h4 {
  font-weight: 500
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .35s, background-color .35s
}

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 5px
}

a img {
  transition: transform .6s ease
}

button,
input,
textarea {
  font: inherit
}

button,
input[type=radio],
input[type=checkbox],
label {
  cursor: pointer
}

input:not([type=radio]):not([type=checkbox]),
textarea {
  cursor: text
}

button {
  color: inherit
}

::selection {
  background: #dce5d5
}

[hidden] {
  display: none !important
}

.wrap {
  width: calc(100% - 120px);
  max-width: 1200px;
  margin-inline: auto
}

.content-section {
  padding-block: 130px
}

.soft-section {
  background: var(--gray)
}

.eyebrow {
  font-family: var(--english);
  font-size: 24px;
  font-weight: 700;
  color: var(--leaf);
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase
}

.lead-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.7;
  letter-spacing: .08em;
  margin-bottom: 25px
}

.card-title {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.65;
  letter-spacing: .06em;
  margin: 18px 0 12px
}

.section-title {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  margin-bottom: 55px
}

body.on .section-title:before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  top: -30px;
  left: -45px;
  background: url('https://kuzasakougei.jp/system_panel/uploads/images/motif-green.png') center/contain no-repeat;
  opacity: .12;
  z-index: -1;
  pointer-events: none
}

.section-title-en {
  font-family: var(--english);
  font-size: 52px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: .01em
}

.section-title-ja {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
  letter-spacing: .14em
}

.title-right {
  text-align: right
}

body.on .title-right:before {
  left: auto;
  right: -35px
}

.section-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  margin-bottom: 55px
}

.section-top .section-title {
  margin-bottom: 0
}

.section-top>div:empty {
  display: none
}

.section-top .lead-title:empty {
  display: none
}

.section-top .lead-title {
  font-size: 28px;
  margin-bottom: 15px
}

.more {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 277px;
  min-height: 53px;
  margin: 55px auto 0;
  padding: 12px 45px;
  color: var(--green);
  background: url('https://kuzasakougei.jp/system_panel/uploads/images/0acd4.svg') center/100% 100% no-repeat;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  transition: color .35s, filter .35s, background-color .35s
}

.more:hover {
  background-color: #f1f5ec
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 35px
}

.button-row .more {
  margin-inline: 0
}

.text-more {
  display: block;
  width: max-content;
  margin-top: 30px;
  border-bottom: 1px solid #7d7d7d
}

.text-link {
  display: inline-block
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%)
}

/* One shared header and one shared full-screen navigation on every page. */
.site-header {
  position: absolute;
  z-index: 30;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1440px;
  margin: auto;
  padding: 0 40px;
  height: 158px
}

.brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 0 0 150px;
  color: var(--green)
}

.brand img {
  width: 100px;
  height: 105px;
  object-fit: cover
}

.brand p {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  line-height: 1.6
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 13px 20px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.031)
}

.nav-en {
  font-family: var(--english);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.6
}

.nav-ja {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 4px
}

.header-nav .nav-ja {
  display: none
}

.menu-toggle {
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #181818;
  border-radius: 30px;
  color: #ffffff;
  transition: background .35s
}

.menu-toggle .menu-line {
  display: block;
  width: 40px;
  height: 2px;
  background: #ffffff;
  transition: transform .35s, opacity .35s
}

.menu-toggle:hover {
  background: var(--green)
}

html.menu-open .menu-toggle .menu-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg)
}

html.menu-open .menu-toggle .menu-line:nth-child(2) {
  opacity: 0
}

html.menu-open .menu-toggle .menu-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg)
}

html.menu-open .site-header {
  position: fixed;
  right: var(--scroll-gap, 0px)
}

/* Hide the menu before deferred JavaScript initializes it, including CMS pages. */
html:not(.menu-open) .site-menu,
.site-menu[hidden] {
  display: none !important;
}

.site-menu {
  position: fixed;
  z-index: 25;
  inset: 0;
  background: rgba(247, 248, 244, 0.969);
  backdrop-filter: blur(18px);
  padding: 200px 7vw 50px;
  overflow-y: auto;
  overscroll-behavior: contain
}

.menu-links {
  max-width: 1050px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 70px
}

.menu-links>a {
  padding: 12px 0;
  border-bottom: 1px solid #ccd4c7;
  position: relative
}

.menu-links .nav-en {
  font-size: 32px;
  font-weight: 500
}

.menu-links .nav-ja {
  font-size: 16px
}

body.on .menu-links>a:after {
  content: '↗';
  position: absolute;
  right: 10px;
  top: 28px;
  color: var(--leaf);
  transition: transform .35s
}

body.on .menu-links>a:hover:after {
  transform: translate(3px, -3px)
}

/* Page titles share proportions, with editable HTML lettering. */
.page-head {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 560px;
  padding: 180px 70px 55px 175px;
  background-repeat: repeat;
  background-size: 40px;
  isolation: isolate
}

.page-head-title {
  position: absolute;
  left: 75px;
  top: 230px;
  z-index: 2
}

.page-en {
  font-family: var(--english);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: .11em;
  writing-mode: vertical-rl
}

.page-ja {
  position: absolute;
  top: 0;
  right: 45px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .22em;
  line-height: 1.2;
  color: var(--green)
}

.page-head-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 95px 35px 95px 35px
}

.page-head:not(:has(.page-head-photo)) {
  min-height: 385px;
  padding-bottom: 70px
}

.page-head:not(:has(.page-head-photo)) .page-head-title {
  top: 235px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center
}

.page-head:not(:has(.page-head-photo)) .page-en {
  writing-mode: horizontal-tb;
  font-size: 48px;
  line-height: 1.6
}

.page-head:not(:has(.page-head-photo)) .page-ja {
  position: static;
  writing-mode: horizontal-tb;
  font-size: 23px;
  margin-top: 10px
}

.motif {
  position: absolute;
  pointer-events: none;
  z-index: 2
}

.motif-one {
  width: 100px;
  right: 30px;
  top: 56%
}

.motif-two {
  width: 125px;
  right: 75px;
  bottom: 20px
}

.motif img {
  width: 100%;
  height: auto
}

.page-head:not(:has(.page-head-photo)) .motif-one {
  left: 5%;
  right: auto;
  width: 65px;
  top: 200px
}

.page-head:not(:has(.page-head-photo)) .motif-two {
  width: 90px;
  right: 5%;
  bottom: 0
}

/* TOP */
.home-hero {
  max-width: 1440px;
  height: 780px;
  margin: auto;
  position: relative;
  background: conic-gradient(rgba(134, 172, 102, .2) 25%, #ffffff 0 50%, rgba(134, 172, 102, .2) 0 75%, #ffffff 0) repeat;
  isolation: isolate
}

.hero-art {
  position: absolute;
  left: 4.86%;
  right: 4.86%;
  top: 79px;
  height: 648px
}

.hero-photo {
  height: 100%;
  object-fit: contain
}

.hero-title {
  position: absolute;
  top: 183px;
  right: 13%;
  display: flex;
  flex-direction: row-reverse;
  gap: 16px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .12em
}

.hero-title>span {
  writing-mode: vertical-rl;
  background: rgba(255, 255, 255, 0.949);
  padding: 18px 4px;
  line-height: 1.2
}

.hero-signature {
  position: absolute;
  left: 12%;
  bottom: 95px;
  background: rgba(255, 255, 255, 0.949);
  padding: 8px 20px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .14em
}

.home-hero .motif-one {
  left: 1.4%;
  top: 46%;
  width: 100px
}

.home-hero .motif-two {
  right: 4.7%;
  bottom: 70px;
  width: 145px
}

.home-concept {
  position: relative;
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 8.5%;
  max-width: 1440px;
  margin: auto;
  min-height: 780px
}

.concept-image {
  height: 780px
}

.concept-image img {
  height: 100%;
  object-fit: cover;
  object-position: 62% center
}

.concept-copy {
  padding: 150px 0 90px;
  max-width: 430px;
  min-width: 0
}

.concept-title {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.6;
  margin: 35px 0
}

.concept-copy>p:not(.eyebrow) {
  font-size: 15px;
  line-height: 2.35
}

.concept-copy .more {
  margin-left: 0
}

.concept-vertical {
  position: absolute;
  right: 35px;
  top: 100px;
  writing-mode: vertical-rl;
  color: var(--green);
  line-height: 1.2
}

.concept-vertical h2 {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.6;
  letter-spacing: .1em
}

.concept-vertical img {
  width: 40px;
  margin-top: 20px
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12%
}

.service-card {
  position: relative;
  display: block;
  padding-bottom: 40px;
  margin-left: 38px
}

.service-card>.service-picture {
  width: 100%;
  height: 335px;
  object-fit: cover
}

.service-label {
  position: absolute;
  top: 0
}

.service-label p {
  font-family: var(--english);
  font-size: 19px;
  letter-spacing: .08em
}

.service-label h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--green)
}

.service-caption {
  position: relative;
  width: 90%;
  padding: 28px 50px 25px 25px;
  margin: -50px 0 0 auto;
  background: #ffffff;
  box-shadow: 2px 5px 0 #e5e5e5;
  min-height: 185px
}

body.on .service-caption:after {
  content: '＋';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  background: #181818;
  color: #ffffff;
  font-size: 24px;
  line-height: max(1.6em, 40px);
  transition: background .35s
}

body.on .service-card:hover .service-caption:after {
  background: var(--green)
}

.gallery-grid .webgene-blog,
.archive-grid .webgene-blog,
.instagram-grid .webgene-blog,
.tk-gallery-works>.webgene-blog {
  display: contents
}

.three-grid,
.gallery-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px 55px
}

.webgene-item {
  min-width: 0
}

.gallery-art {
  height: 410px;
  background: #fafafa;
  overflow: hidden
}

.gallery-art img {
  height: 100%;
  object-fit: contain
}

.gallery-caption {
  padding-top: 20px
}

.gallery-caption .category {
  font-family: var(--english);
  color: var(--leaf);
  font-size: 17px
}

.gallery-caption .card-title {
  font-size: 23px;
  margin-top: 5px
}

.gallery-caption .price {
  text-align: right;
  font-size: 15px
}

.gallery-grid a:hover .gallery-art img {
  transform: scale(1.035)
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding-block: 85px;
  max-width: 1380px
}

.related-links>a {
  height: 460px;
  overflow: hidden;
  position: relative;
  background: #373d32
}

.related-links>a:nth-child(2) {
  margin-top: 50px
}

.related-links>a>img {
  height: 100%;
  object-fit: cover;
  filter: brightness(.65)
}

.related-links>a:hover>img {
  transform: scale(1.04);
  filter: brightness(.8)
}

.related-ja {
  position: absolute;
  font-family: var(--serif);
  font-size: 30px;
  writing-mode: vertical-rl;
  line-height: 1.2
}

.related-en {
  position: absolute;
  font-family: var(--english)
}

.home-news {
  display: grid;
  grid-template-columns: 1fr 2.3fr;
  gap: 70px;
  padding-block: 110px
}

.news-list article {
  border-bottom: 1px solid #cccccc
}

.news-list article:first-child {
  border-top: 1px solid #cccccc
}

.news-list article a {
  display: grid;
  grid-template-columns: 130px 100px 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px 0
}

.news-list .category {
  font-size: 14px;
  background: var(--leaf);
  color: #ffffff;
  text-align: center;
  line-height: 1.6;
  padding: 4px 10px
}

.news-list .date {
  font-size: 14px;
  color: #747474
}

.news-title {
  line-height: 1.8
}

.instagram {
  padding-block: 90px 110px;
  text-align: center
}

.instagram-title {
  font-family: var(--english);
  font-size: 50px;
  margin-bottom: 55px;
  line-height: 1.6
}

.instagram-grid .webgene-blog {
  display: contents
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 55px
}

.instagram-grid img {
  aspect-ratio: 1;
  object-fit: cover
}

/* Shared subpage editorial layouts */
.intro {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 60px 80px;
  padding-block: 100px 80px
}

.vertical-title {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 5px
}

.vertical-title .eyebrow {
  writing-mode: vertical-rl;
  font-size: 17px;
  line-height: 1.2
}

.vertical-ja {
  font-family: var(--serif);
  font-size: 35px;
  color: var(--green);
  writing-mode: vertical-rl;
  letter-spacing: .12em;
  line-height: 1.2
}

.intro-copy .lead-title {
  margin-bottom: 25px
}

.intro-copy>p {
  line-height: 2.3
}

.intro-photos {
  grid-column: 1/-1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  min-height: 400px;
  padding-top: 25px
}

.intro-small {
  width: 22%;
  height: 220px;
  object-fit: cover;
  margin-top: 0
}

.intro-large {
  width: 60%;
  height: 355px;
  object-fit: cover;
  margin-top: 60px
}

.feature-grid {
  gap: 30px
}

.feature-card {
  position: relative;
  padding-left: 22px
}

.feature-card>img {
  height: 235px;
  object-fit: cover
}

.feature-number {
  position: absolute;
  left: -12px;
  top: 0;
  background: var(--leaf);
  border-radius: 50%;
  color: #ffffff;
  font-family: var(--english);
  font-size: 20px;
  line-height: max(1.6em, 38px);
  width: 38px;
  text-align: center
}

.feature-card .card-title {
  font-size: 24px
}

.feature-card>p:not(.feature-number) {
  font-size: 15px;
  line-height: 2.1
}

.flow-section {
  padding-block: 100px 130px
}

.flow-list {
  max-width: 920px;
  margin: auto
}

.flow-row {
  display: flex;
  gap: 45px;
  position: relative;
  padding: 22px 0 42px;
  min-height: 125px
}

body.on .flow-row:after {
  content: '';
  position: absolute;
  left: 23px;
  top: 80px;
  bottom: 0;
  border-left: 1px dashed #b7b7b7
}

body.on .flow-row:last-child:after {
  display: none
}

.flow-number {
  flex: 0 0 47px;
  height: 47px;
  color: #ffffff;
  background: #24232b;
  border-radius: 50%;
  font-family: var(--english);
  text-align: center;
  line-height: max(1.6em, 47px);
  font-size: 21px
}

.flow-title {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 9px
}

.flow-row>div {
  padding-top: 4px
}

.flow-row>div p {
  font-size: 15px
}

.plans {
  display: grid;
  gap: 50px
}

.plan {
  display: grid;
  grid-template-columns: 48% 1fr;
  gap: 60px;
  align-items: center
}

.plan>img {
  height: 350px;
  object-fit: contain;
  background: #ffffff
}

.plan .eyebrow {
  font-size: 18px;
  color: #797979
}

.plan-title {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: .13em;
  margin: 5px 0 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #9a9a9a
}

.plan>div>p {
  font-size: 15px;
  margin: 10px 0;
  line-height: 2
}

.plan>div .plan-price {
  font-size: 19px;
  font-weight: 500;
  margin: 9px 0;
  color: var(--green)
}

.plan-notes {
  border: 1px dashed #b4b4b4;
  padding: 25px;
  margin-top: 40px
}

.history-block {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 9%;
  max-width: 1440px;
  margin: auto;
  align-items: center;
  padding-block: 60px
}

.history-block>img {
  height: 670px;
  object-fit: cover
}

.history-block>div {
  max-width: 450px;
  padding-right: 20px
}

.history-block .lead-title {
  font-size: 34px;
  margin-top: 30px
}

.history-block .more {
  margin-left: 0
}

.qa {
  background: #ffffff;
  padding: 26px 30px;
  margin: 20px 0
}

.qa summary {
  cursor: pointer;
  position: relative;
  padding: 0 50px 0 45px;
  list-style: none;
  font-size: 18px
}

.qa summary::-webkit-details-marker {
  display: none
}

body.on .qa summary:before {
  content: 'Q';
  position: absolute;
  left: 0;
  font-family: var(--english);
  font-size: 28px;
  color: var(--green);
  line-height: 1.6
}

body.on .qa summary:after {
  content: '＋';
  position: absolute;
  right: 0;
  top: 0
}

body.on .qa[open] summary:after {
  content: '−'
}

.qa>p {
  margin-top: 20px;
  padding: 20px 0 0 45px;
  border-top: 1px solid #dddddd
}

.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px
}

.four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px
}

.editorial-card>img {
  height: 320px;
  object-fit: cover
}

.editorial-card .kimono-photo {
  height: 420px;
  object-fit: contain;
  background: #ece9e8
}

.editorial-card .card-title {
  font-size: 24px
}

.four-grid .editorial-card>img {
  height: 300px
}

.four-grid .card-title {
  font-size: 21px
}

.category {
  color: var(--leaf);
  font-size: 14px
}

.editorial-card>p {
  font-size: 15px;
  line-height: 2.1
}

.book-image {
  padding: 15px 45px;
  background: #fafafa
}

.book-image>img {
  height: 350px;
  object-fit: contain
}

.archive-grid {
  gap: 60px 55px
}

.archive-grid .card-title {
  font-size: 22px
}

.archive-grid .webgene-item>a {
  display: block
}

.archive-grid .webgene-item>a:hover img {
  transform: translateY(-5px)
}

.archive-grid .webgene-item p {
  font-size: 15px
}

.archive-grid .category {
  margin-top: 20px
}

.cate_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 25px 0;
  margin-bottom: 45px;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd
}

.category-link,
.filter-all {
  display: block;
  padding: 4px 25px;
  line-height: 1.9;
  font-size: 15px
}

.category-link.is-active,
.filter-all.is-active {
  color: #ffffff;
  background: var(--green)
}

.webgene-pagination {
  margin: 55px 0;
  text-align: center
}

.webgene-pagination ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0
}

.webgene-pagination li {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  line-height: max(1.6em, 38px)
}

.webgene-pagination li.selected {
  background: #24232b;
  color: #ffffff
}

.detail-wrap {
  padding-block: 100px 140px
}

.detail-title {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.7;
  margin: 15px 0 40px
}

.archive-detail-top {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 70px;
  align-items: start
}

.archive-detail-top .book-image>img {
  height: 500px
}

.work-description {
  max-width: 950px;
  margin: 100px auto 30px;
  border-top: 1px solid #cccccc;
  padding-top: 60px
}

.work-description>p {
  line-height: 2.5
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center
}

.product-photo img {
  height: 650px;
  object-fit: contain
}

.product-detail .plan-price {
  margin-block: 30px
}

.product-detail .tk-gallery-button {
  margin-top: 30px
}

.empty-state {
  padding: 80px 30px;
  border-block: 1px solid #dddddd;
  text-align: center
}

.company-intro {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 8%;
  align-items: center;
  max-width: 1440px;
  margin: auto
}

.company-intro>div:first-child>img {
  height: 730px;
  object-fit: cover
}

.company-intro>div:nth-child(2) {
  padding: 60px 60px 60px 0
}

.company-intro .lead-title {
  font-size: 36px;
  margin-top: 30px
}

.message {
  display: grid;
  grid-template-columns: 1fr 46%;
  gap: 80px;
  padding-block: 100px
}

.message .lead-title {
  margin-top: 25px
}

.message>img {
  height: 650px;
  object-fit: cover
}

.signature {
  text-align: right;
  margin-top: 30px
}

.logo-feature {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto
}

.info-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 30px;
  border-bottom: 1px solid #cccccc;
  padding: 28px 10px
}

.info-row h3 {
  font-weight: 500;
  font-size: 16px
}

.company-info {
  max-width: 1000px
}

.legal-wrap {
  max-width: 1000px;
  padding-block: 90px 140px
}

.legal-wrap>.lead-title {
  margin-top: 60px
}

.legal-wrap>.lead-title:first-child {
  margin-top: 0
}

.legal-wrap .info-row {
  grid-template-columns: 240px 1fr
}

/* Shared gallery CSS keeps its supplied dark/gold treatment. */
.tk-gallery-page {
  margin: 0 !important;
  max-width: 100% !important;
  padding-bottom: 90px
}

.tk-gallery-page .cate_wrap {
  border-color: #615640
}

.tk-gallery-page .category-link.is-active,
.tk-gallery-page .filter-all.is-active {
  background: #c8a85a;
  color: #141310
}

.tk-gallery-page h1,
.tk-gallery-page h2,
.tk-gallery-page h3 {
  color: #ece7dc
}

.tk-gallery-page .category,
.tk-gallery-page .price {
  color: #c8a85a
}

.tk-gallery-page .card-title {
  font-size: 25px
}

.tk-gallery-page .tk-gallery-label>p:last-child {
  font-size: 14px
}

.tk-gallery-inquiry {
  text-align: center;
  padding-block: 100px 10px
}

.tk-gallery-page .webgene-pagination li.selected {
  background: #c8a85a;
  color: #141310
}

.tk-gallery-page .webgene-pagination {
  margin-top: 65px
}

.tk-gallery-page .tk-gallery-wrap {
  padding-top: 20px
}

.tk-gallery-page .tk-gallery-work {
  display: block
}

body.on .tk-gallery-page .tk-gallery-work:before {
  display: none
}

/* Contact */
.contact-wrap {
  max-width: 1000px;
  padding-block: 85px 130px
}

.contact-lead {
  max-width: 900px;
  margin: 0 auto 80px
}

.form-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-bottom: 42px;
  align-items: start
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px
}

.mandatory {
  font-size: 14px;
  line-height: 1.6;
  padding: 2px 10px;
  border: 1px solid #829b72;
  color: var(--green);
  flex-shrink: 0
}

.radio-group {
  padding-top: 8px
}

.radio-group>label {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 42px
}

.radio-group input,
.privacy-agreement input {
  accent-color: var(--green);
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin: 0
}

.form-control>input,
.form-control>textarea {
  display: block;
  width: 100%;
  border: 1px solid #deded9;
  border-radius: 0;
  background: #f4f4f2;
  padding: 17px 20px;
  color: #181818;
  outline: none;
  line-height: 1.7
}

.form-control>input:focus,
.form-control>textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 2px #e4eadf
}

.form-control>textarea {
  min-height: 280px;
  resize: vertical
}

.form-control input::placeholder,
.form-control textarea::placeholder {
  color: #8a8a86;
  font-size: 14px
}

.privacy-agreement {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0
}

.privacy-agreement label {
  display: flex;
  align-items: center;
  gap: 12px;
  order: 2
}

.privacy-agreement label input {
  order: 0
}

.privacy-link {
  order: 1;
  text-decoration: underline;
  text-underline-offset: 5px
}

.send {
  display: flex;
  justify-content: center
}

.send-bt {
  margin: 0;
  position: relative
}

.send-bt button {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  border: 0;
  background: transparent
}

.send-bt p {
  pointer-events: none
}

.send-bt:has(button:focus-visible) {
  outline: 2px solid var(--green);
  outline-offset: 5px
}

.form-feedback {
  color: #a43127;
  text-align: center;
  margin-bottom: 20px
}

.form-status {
  text-align: center;
  font-size: 14px;
  color: #73736c;
  margin-top: 25px
}

dialog {
  border: 1px solid #829b72;
  background: #fffffc;
  color: #181818;
  max-width: 800px;
  width: calc(100% - 36px);
  max-height: 85dvh;
  padding: 45px;
  overflow-y: auto
}

dialog::backdrop {
  background: rgba(17, 25, 17, 0.667);
  backdrop-filter: blur(5px)
}

.privacy-content .card-title {
  margin-top: 30px
}

.privacy-content>.more {
  margin-top: 30px
}

/* Footer common to all pages. */
.site-footer {
  background: #1b1b1b;
  color: #ffffff;
  padding: 60px 60px 30px;
  clear: both
}

.footer-contact {
  position: relative;
  max-width: 895px;
  min-height: 267px;
  background: url('https://kuzasakougei.jp/system_panel/uploads/images/contact-frame.png') center/100% 100% no-repeat;
  margin: 0 auto 95px;
  color: #181818
}

.footer-contact>a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 267px;
  padding: 35px 55px
}

.footer-contact-inner {
  text-align: center
}

.contact-en {
  font-family: var(--english)
}

.contact-ja {
  font-family: var(--serif)
}

.footer-flower {
  width: 27px;
  height: 27px;
  object-fit: contain;
  margin: 15px auto 0
}

.footer-bottom {
  max-width: 1200px;
  margin: auto;
  gap: 80px;
  align-items: start
}

.footer-brand {
  display: block;
  max-width: 250px
}

.footer-brand img {
  width: 130px;
  height: 130px;
  object-fit: contain
}

.footer-brand p {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: .08em;
  line-height: 1.6;
  margin-top: 8px
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 35px
}

.footer-nav .nav-ja {
  font-size: 14px;
  color: #c1c1b9
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 65px auto 0;
  border-top: 1px solid #464640;
  gap: 25px
}

.footer-legal p {
  font-size: 14px;
  line-height: 1.7
}

.copyright {
  font-family: var(--english);
  letter-spacing: .04em
}

/* Progressive enhancement: content remains visible without JavaScript. */
.sc-anime.blurin2 {
  opacity: 1;
  filter: none;
  transform: none
}

html.motion-ready .sc-anime.blurin2.is-pending {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(25px);
  transition: opacity .7s, filter .7s, transform .7s
}

html.motion-ready .sc-anime.blurin2.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
  transition: opacity .7s, filter .7s, transform .7s
}

.is-last-centered {
  grid-column: 1/-1;
  width: calc((100% - var(--grid-gap, 40px))/2);
  justify-self: center
}

@media(min-width:1441px) {
  .wrap {
    max-width: 1280px
  }

  .home-concept .concept-copy {
    max-width: 440px
  }

  .home-concept {
    gap: 8%
  }
}

@media(max-width:1250px) {
  .header-nav {
    gap: 14px;
    padding: 12px 14px
  }

  .header-nav .nav-en {
    font-size: 14px
  }

  .site-header {
    gap: 18px;
    padding-inline: 25px
  }

  .brand {
    flex-basis: 130px
  }

  .home-concept {
    gap: 6%
  }

  .concept-copy {
    padding-right: 65px
  }

  .concept-title {
    font-size: 34px
  }

  .concept-vertical {
    right: 20px
  }

  .concept-vertical h2 {
    font-size: 34px
  }

  .service-grid {
    gap: 8%
  }
}

@media(max-width:1100px) {
  .header-nav {
    display: none
  }

  .site-header {
    height: 145px
  }

  .wrap {
    width: calc(100% - 70px)
  }

  .home-hero {
    height: 700px
  }

  .hero-art {
    top: 135px;
    height: 500px
  }

  .hero-title {
    top: 230px;
    font-size: 29px;
    right: 14%
  }

  .hero-signature {
    bottom: 80px;
    font-size: 18px;
    left: 10%
  }

  .home-concept {
    grid-template-columns: 43% 1fr;
    gap: 5%;
    min-height: 660px
  }

  .concept-image {
    height: 660px
  }

  .concept-copy {
    padding-top: 90px;
    padding-bottom: 70px
  }

  .concept-copy>p:not(.eyebrow) {
    font-size: 15px;
    line-height: 2.15
  }

  .concept-title {
    font-size: 29px;
    margin: 25px 0
  }

  .concept-vertical {
    top: 55px;
    right: 15px
  }

  .concept-vertical h2 {
    font-size: 28px
  }

  .concept-copy .more {
    width: 240px
  }

  .content-section {
    padding-block: 90px
  }

  .section-title-en {
    font-size: 46px
  }

  .section-top {
    gap: 40px;
    grid-template-columns: 1fr 1.6fr
  }

  .lead-title,
  .section-top .lead-title {
    font-size: 25px
  }

  .three-grid,
  .gallery-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 35px
  }

  .four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 35px
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
  }

  .feature-card {
    padding-left: 15px
  }

  .feature-card>img {
    height: 190px
  }

  .feature-card .card-title {
    font-size: 20px
  }

  .gallery-art {
    height: 420px
  }

  .service-card>.service-picture {
    height: 300px
  }

  .service-caption {
    font-size: 15px;
    padding: 22px 35px 22px 22px;
    min-height: 215px
  }

  .home-news {
    gap: 40px;
    grid-template-columns: 1fr 2.5fr
  }

  .news-list article a {
    grid-template-columns: 100px 80px 1fr;
    gap: 15px
  }

  .news-title {}

  .related-links>a {
    height: 350px;
    border-radius: 50px 20px
  }

  .related-ja {
    font-size: 27px
  }

  .related-en {
    font-size: 18px
  }

  .intro {
    grid-template-columns: 170px 1fr;
    gap: 50px
  }

  .intro-large {
    height: 300px
  }

  .intro-small {
    height: 180px
  }

  .intro-photos {
    min-height: 350px
  }

  .plan {
    gap: 40px
  }

  .plan>img {
    height: 300px
  }

  .plan-title {
    font-size: 32px
  }

  .company-intro {
    grid-template-columns: 42% 1fr;
    gap: 6%
  }

  .company-intro>div:nth-child(2) {
    padding-right: 30px
  }

  .company-intro .lead-title {
    font-size: 30px
  }

  .message {
    gap: 50px
  }

  .message>img {
    height: 580px
  }

  .history-block>img {
    height: 600px
  }

  .form-row {
    grid-template-columns: 220px 1fr;
    gap: 30px
  }
}

@media(max-width:900px) {
  .wrap {
    width: calc(100% - 50px)
  }

  .page-head {
    padding: 160px 30px 45px 110px;
    min-height: 490px
  }

  .page-head-photo {
    height: 300px;
    border-radius: 65px 25px
  }

  .page-head-title {
    left: 55px;
    top: 195px
  }

  .page-en {
    font-size: 20px
  }

  .page-ja {
    right: 30px;
    font-size: 18px
  }

  .page-head:not(:has(.page-head-photo)) {
    min-height: 340px
  }

  .page-head:not(:has(.page-head-photo)) .page-head-title {
    top: 200px
  }

  .page-head:not(:has(.page-head-photo)) .page-en {
    font-size: 42px
  }

  .motif-one {
    width: 70px;
    right: 8px
  }

  .motif-two {
    width: 85px;
    right: 35px;
    bottom: 10px
  }

  .home-concept {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 5%;
    min-height: 700px
  }

  .concept-image {
    height: 700px
  }

  .concept-copy {
    padding: 70px 25px 60px 0
  }

  .concept-vertical {
    display: none
  }

  .concept-title {
    font-size: 29px
  }

  .section-top {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .section-top .section-title {
    margin-bottom: 15px
  }

  .section-top {
    text-align: center
  }

  .section-top>div>p {
    text-align: left
  }

  .section-title {
    text-align: center
  }

  body.on .section-title:before {
    left: calc(50% - 75px);
    top: -25px;
    width: 130px;
    height: 130px
  }

  body.on .section-title.title-right:before {
    left: calc(50% - 75px);
    right: auto
  }

  .section-title-en {
    font-size: 44px
  }

  .service-grid {
    gap: 6%
  }

  .service-card {
    margin-left: 30px
  }

  .service-card>.service-picture {
    height: 250px
  }

  .service-label {
    left: -36px;
    gap: 7px
  }

  .service-label h3 {
    font-size: 23px
  }

  .service-label p {
    font-size: 16px
  }

  .service-caption {
    width: 95%;
    min-height: 240px;
    padding: 20px 25px 40px 20px
  }

  .home-news {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .home-news .section-title {
    margin-bottom: 25px
  }

  .news-list article a {
    grid-template-columns: 110px 90px 1fr
  }

  .related-links {
    gap: 20px
  }

  .related-links>a {
    height: 320px
  }

  .related-ja {
    font-size: 24px;
    left: 50%;
    top: 20%
  }

  .related-en {
    left: 25%;
    top: 20%;
    font-size: 16px
  }

  .instagram-grid {
    gap: 15px;
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }

  .instagram>div>p {
    text-align: left
  }

  .intro {
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding-top: 70px
  }

  .vertical-title {
    gap: 12px
  }

  .vertical-ja {
    font-size: 29px
  }

  .intro-copy>p {
    text-align: left;
    font-size: 15px
  }

  .intro-photos {
    gap: 30px;
    min-height: 300px
  }

  .intro-small {
    height: 150px;
    width: 25%
  }

  .intro-large {
    height: 260px;
    width: 65%;
    margin-top: 35px
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .feature-grid>.feature-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    width: calc((100% - 20px)/2);
    justify-self: center
  }

  .feature-card>img {
    height: 230px
  }

  .feature-card .card-title {
    font-size: 23px
  }

  .flow-section {
    padding-block: 80px
  }

  .flow-row {
    gap: 25px
  }

  .plan {
    grid-template-columns: 42% 1fr;
    gap: 30px
  }

  .plan>img {
    height: 290px
  }

  .history-block {
    gap: 6%
  }

  .history-block>img {
    height: 700px
  }

  .history-block .lead-title {
    font-size: 29px
  }

  .history-block>div {
    padding-right: 25px
  }

  .history-block>div>p {
    font-size: 15px
  }

  .company-intro {
    grid-template-columns: 40% 1fr;
    gap: 5%
  }

  .company-intro>div:first-child>img {
    height: 860px
  }

  .company-intro .lead-title {
    font-size: 27px
  }

  .company-intro>div:nth-child(2)>p {
    font-size: 15px
  }

  .message {
    grid-template-columns: 1fr 40%;
    gap: 35px
  }

  .message>img {
    height: 700px
  }

  .message>div>p {
    text-align: left;
    font-size: 15px
  }

  .message .lead-title {
    font-size: 25px
  }

  .info-row {
    grid-template-columns: 160px 1fr;
    gap: 25px
  }

  .legal-wrap .info-row {
    grid-template-columns: 180px 1fr
  }

  .form-row {
    grid-template-columns: 185px 1fr;
    gap: 25px
  }

  .contact-lead,
  .contact-lead>p {
    text-align: left
  }

  .form-label {
    font-size: 15px
  }

  .site-footer {
    padding: 55px 30px 25px
  }

  .footer-contact {
    margin-bottom: 70px
  }

  .footer-contact-inner>p:not(.contact-en) {
    text-align: center
  }

  .footer-bottom {
    gap: 40px;
    grid-template-columns: .8fr 1.2fr
  }

  .archive-detail-top {
    gap: 40px
  }

  .archive-detail-top .book-image {
    padding: 10px
  }

  .archive-detail-top .book-image>img {
    height: 430px
  }

  .product-detail {
    gap: 35px
  }

  .product-photo img {
    height: 470px
  }

  .detail-title {
    font-size: 31px
  }

  .tk-gallery-works {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:768px) {
  .site-header {
    padding-inline: 20px;
    height: 125px
  }

  .brand {
    flex-basis: 130px
  }

  .brand img {
    width: 75px;
    height: 78px
  }

  .brand p {
    font-size: 16px
  }

  .menu-toggle {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
    border-radius: 22px
  }

  .menu-toggle .menu-line {
    width: 29px
  }

  .site-menu {
    padding-top: 160px
  }

  .menu-links {
    gap: 15px 35px
  }

  .menu-links .nav-en {
    font-size: 26px
  }

  .menu-links .nav-ja {
    font-size: 14px
  }

  .home-hero {
    height: 660px
  }

  .hero-art {
    top: 150px;
    left: 3%;
    right: 3%;
    height: 430px
  }

  .hero-title {
    top: 220px;
    font-size: 26px;
    right: 11%;
    gap: 10px
  }

  .hero-title>span {
    padding: 12px 3px
  }

  .hero-signature {
    left: 7%;
    right: 7%;
    bottom: 35px;
    font-size: 16px;
    text-align: center;
    padding: 7px 10px
  }

  .home-hero .motif-one {
    width: 70px;
    top: 48%
  }

  .home-hero .motif-two {
    width: 95px;
    bottom: 90px
  }

  .home-concept {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0
  }

  .concept-image {
    height: 440px;
    width: 85%
  }

  .concept-copy {
    max-width: none;
    padding: 65px 30px 70px;
    width: 100%
  }

  .concept-copy .eyebrow,
  .concept-title {
    text-align: center
  }

  .concept-copy .more {
    margin-inline: auto
  }

  .concept-title {
    font-size: 34px
  }

  .concept-copy>p:not(.eyebrow) {
    font-size: 16px;
    line-height: 2.25
  }

  .content-section {
    padding-block: 75px
  }

  .section-title {
    margin-bottom: 40px
  }

  .service-caption {
    min-height: 260px
  }

  .gallery-art {
    height: 340px
  }

  .gallery-caption .card-title {
    font-size: 21px
  }

  .gallery-caption .price {
    font-size: 14px
  }

  .three-grid,
  .gallery-grid,
  .archive-grid {
    gap: 40px 25px
  }

  .related-links {
    gap: 15px;
    padding-block: 60px
  }

  .related-links>a {
    height: 280px;
    border-radius: 35px 15px
  }

  .related-ja {
    font-size: 21px
  }

  .related-en {
    font-size: 15px;
    left: 20%
  }

  .instagram-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .intro {
    display: block;
    padding-block: 60px
  }

  .vertical-title {
    justify-content: center;
    display: block;
    text-align: center;
    margin-bottom: 35px
  }

  .vertical-title .eyebrow {
    writing-mode: horizontal-tb;
    font-size: 20px;
  line-height: 1.6
}

  .vertical-ja {
    writing-mode: horizontal-tb;
    font-size: 30px;
    margin-top: 8px;
  line-height: 1.6
}

  .intro-copy .lead-title {
    text-align: center;
    font-size: 27px
  }

  .intro-copy>p {
    font-size: 16px
  }

  .intro-photos {
    min-height: 0;
    margin-top: 35px
  }

  .intro-large {
    height: 230px
  }

  .intro-small {
    height: 140px
  }

  .flow-row {
    gap: 22px
  }

  .flow-title {
    font-size: 21px
  }

  .flow-row>div p {
    font-size: 15px
  }

  .plan {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .plan>img {
    height: 350px
  }

  .plan .eyebrow,
  .plan-title {
    text-align: center
  }

  .plan-title {
    font-size: 32px
  }

  .plan-notes {
    font-size: 14px;
    padding: 20px
  }

  .history-block {
    grid-template-columns: 1fr;
    padding-block: 40px;
    gap: 35px
  }

  .history-block>img {
    height: 440px;
    width: 85%
  }

  .history-block>div {
    max-width: none;
    padding: 20px 30px
  }

  .history-block .eyebrow,
  .history-block .lead-title {
    text-align: center
  }

  .history-block>div>p {
    font-size: 16px
  }

  .history-block .more {
    margin-inline: auto
  }

  .company-intro {
    display: block
  }

  .company-intro>div:first-child>img {
    width: 85%;
    height: 500px
  }

  .company-intro>div:nth-child(2) {
    padding: 60px 30px
  }

  .company-intro .eyebrow,
  .company-intro .lead-title {
    text-align: center
  }

  .company-intro .lead-title {
    font-size: 32px
  }

  .company-intro>div:nth-child(2)>p {
    font-size: 16px
  }

  .message {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    padding-block: 60px
  }

  .message>img {
    height: 440px;
    width: 85%;
    margin-left: auto
  }

  .message .eyebrow,
  .message .lead-title {
    text-align: center
  }

  .message .lead-title {
    font-size: 28px
  }

  .message>div>p {
    font-size: 16px
  }

  .logo-feature {
    width: 160px;
    height: 160px
  }

  .company-info .info-row {
    grid-template-columns: 130px 1fr
  }

  .legal-wrap .info-row {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .legal-wrap .info-row h3 {
    font-size: 18px;
    color: var(--green)
  }

  .archive-detail-top {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .archive-detail-top .book-image {
    width: 75%;
    margin: auto
  }

  .archive-detail-top .book-image>img {
    height: 440px
  }

  .archive-detail-top .detail-title {
    text-align: center;
    margin-top: 10px
  }

  .archive-detail-top>div>.category {
    text-align: center
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .product-photo img {
    height: 500px
  }

  .product-detail .detail-title {
    text-align: center
  }

  .product-detail>div>p {
    text-align: left
  }

  .work-description {
    margin-top: 60px;
    padding-top: 40px
  }

  .work-description .lead-title {
    text-align: center
  }

  .contact-wrap {
    padding-block: 65px 90px
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px
  }

  .form-label {
    padding-top: 0;
    justify-content: flex-start;
    gap: 22px;
    font-size: 16px
  }

  .form-label .mandatory {
    font-size: 14px
  }

  .contact-lead {
    margin-bottom: 50px
  }

  .contact-lead p {
    font-size: 16px
  }

  .form-control>input {
    padding: 16px 18px
  }

  .privacy-agreement {
    font-size: 14px
  }

  .form-status {
    text-align: left
  }

  .footer-contact {
    background: #f8f7f2;
    border: 1px solid #c9c6bc;
    outline: 1px solid #f8f7f2;
    outline-offset: 5px;
    min-height: 245px
  }

  .footer-contact>a {
    padding: 30px;
    min-height: 245px
  }

  .footer-contact-inner>p:not(.contact-en) {
    text-align: left;
    font-size: 14px
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .footer-brand {
    margin: auto;
    text-align: center
  }

  .footer-brand img {
    margin: auto
  }

  .footer-brand p {
    font-size: 23px
  }

  .footer-nav {
    gap: 22px 35px;
    max-width: 500px;
    width: 100%;
    margin: auto
  }

  .footer-legal {
    display: block;
    margin-top: 40px;
    text-align: center
  }

  .footer-legal .copyright {
    margin-top: 20px
  }

  .detail-wrap {
    padding-block: 65px 100px
  }
}

@media(max-width:576px) {
  body {
    font-size: 14px;
    line-height: 2.1
  }

  .wrap {
    width: calc(100% - 40px)
  }

  .site-header {
    top: 8px;
    padding-inline: 15px;
    height: 110px
  }

  .brand {
    flex-basis: 115px
  }

  .brand img {
    width: 65px;
    height: 68px
  }

  .brand p {
    font-size: 15px
  }

  .menu-toggle {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 18px;
    gap: 6px
  }

  .menu-toggle .menu-line {
    width: 25px
  }

  .menu-open .menu-toggle .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
  }

  .menu-open .menu-toggle .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
  }

  .site-menu {
    padding: 140px 25px 30px
  }

  .menu-links {
    gap: 10px 25px
  }

  .menu-links .nav-en {
    font-size: 23px;
    white-space: normal;
    line-height: 1.6
  }

  .menu-links .nav-ja {
    font-size: 14px
  }

  .menu-links>a {
    padding: 9px 0
  }

  body.on .menu-links>a:after {
    right: 0;
    top: 20px;
    font-size: 14px
  }

  .home-hero {
    height: 610px
  }

  .hero-art {
    top: 145px;
    left: -15%;
    right: -15%;
    height: 370px
  }

  .hero-photo {
    object-fit: contain
  }

  .hero-title {
    top: 220px;
    right: 13%;
    font-size: 25px;
    gap: 9px
  }

  .hero-title>span {
    padding: 10px 2px;
    line-height: 1.6
  }

  .hero-signature {
    bottom: 30px;
    left: 20px;
    right: 20px;
    font-size: 14px;
    letter-spacing: .07em;
    line-height: 1.9;
    padding: 8px
  }

  .home-hero .motif-one {
    width: 65px;
    left: 2%;
    top: 43%
  }

  .home-hero .motif-two {
    width: 85px;
    right: 1%;
    bottom: 80px
  }

  .concept-image {
    height: 330px;
    width: 90%
  }

  .concept-copy {
    padding: 50px 25px 60px
  }

  .concept-title {
    font-size: 31px;
    margin: 22px 0
  }

  .concept-copy>p:not(.eyebrow) {
    font-size: 14px
  }

  .eyebrow {
    font-size: 22px
  }

  .section-title-en {
    font-size: 43px
  }

  .section-title-ja {
    font-size: 17px
  }

  body.on .section-title:before {
    width: 115px;
    height: 115px;
    left: calc(50% - 60px);
    top: -18px
  }

  body.on .section-title.title-right:before {
    left: calc(50% - 60px)
  }

  .section-top {
    gap: 20px;
    margin-bottom: 35px
  }

  .section-top .lead-title,
  .lead-title {
    font-size: 23px;
    line-height: 1.8
  }

  .section-top .lead-title>span {
    max-width: 100%
  }

  .content-section {
    padding-block: 65px
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 50px
  }

  .service-card {
    margin-left: 35px
  }

  .service-card>.service-picture {
    height: 260px
  }

  .service-caption {
    min-height: 0;
    padding: 22px 35px 28px 22px;
    font-size: 14px;
    width: 92%
  }

  .service-label h3 {
    font-size: 25px
  }

  .service-label p {
    font-size: 17px
  }

  .three-grid,
  .gallery-grid,
  .archive-grid,
  .two-grid,
  .four-grid,
  .feature-grid,
  .tk-gallery-works {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .feature-grid>.feature-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%
  }

  .feature-card {
    padding-left: 18px
  }

  .feature-card>img {
    height: 270px
  }

  .feature-card .card-title {
    font-size: 24px;
    text-align: center
  }

  .feature-card>p:not(.feature-number) {
    font-size: 14px
  }

  .gallery-art {
    height: 420px;
    max-width: 340px;
    margin-inline: auto
  }

  .gallery-caption {
    max-width: 340px;
    margin: auto
  }

  .gallery-caption .card-title {
    font-size: 23px
  }

  .gallery-caption .category {
    font-size: 16px
  }

  .gallery-caption .price {
    font-size: 14px
  }

  .more {
    width: 260px;
    min-height: 52px;
    font-size: 15px;
    margin-top: 40px
  }

  .button-row {
    flex-direction: column;
    align-items: center;
    gap: 0
  }

  .button-row .more {
    margin-top: 25px
  }

  .related-links {
    grid-template-columns: 1fr;
    gap: 25px;
    width: calc(100% - 50px);
    padding-block: 55px
  }

  .related-links>a {
    height: 340px;
    border-radius: 45px 20px
  }

  .related-links>a:nth-child(2) {
    margin-top: 0
  }

  .related-en {
    left: 35%;
    font-size: 19px
  }

  .related-ja {
    left: 50%;
    font-size: 29px
  }

  .home-news {
    padding-block: 65px
  }

  .news-list article a {
    grid-template-columns: 95px 95px;
    gap: 9px 18px;
    padding: 22px 0
  }

  .news-title {
    grid-column: 1/-1;
  }

  .news-list .date {
    font-size: 14px
  }

  .news-list .category {
    font-size: 14px
  }

  .instagram {
    padding-block: 60px
  }

  .instagram-title {
    font-size: 43px;
    margin-bottom: 35px
  }

  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 30px
  }

  .page-head {
    min-height: 410px;
    padding: 145px 15px 35px 65px
  }

  .page-head-photo {
    height: 230px;
    border-radius: 50px 18px
  }

  .page-head-title {
    top: 160px;
    left: 34px
  }

  .page-en {
    font-size: 16px;
    letter-spacing: .1em
  }

  .page-ja {
    font-size: 15px;
    right: 23px
  }

  .motif-one {
    width: 50px;
    right: 0;
    top: 47%
  }

  .motif-two {
    width: 65px;
    right: 20px;
    bottom: 10px
  }

  .page-head:not(:has(.page-head-photo)) {
    min-height: 310px
  }

  .page-head:not(:has(.page-head-photo)) .page-head-title {
    top: 170px;
    min-width: 70%
  }

  .page-head:not(:has(.page-head-photo)) .page-en {
    font-size: 36px
  }

  .page-head:not(:has(.page-head-photo)) .page-ja {
    font-size: 21px;
    margin-top: 8px
  }

  .page-head:not(:has(.page-head-photo)) .motif-one {
    width: 42px;
    left: 3%;
    top: 190px
  }

  .page-head:not(:has(.page-head-photo)) .motif-two {
    width: 60px;
    right: 2%
  }

  .intro {
    padding-block: 50px
  }

  .vertical-ja {
    font-size: 28px
  }

  .vertical-title {
    margin-bottom: 28px
  }

  .intro-copy .lead-title {
    font-size: 24px
  }

  .intro-copy>p {
    font-size: 14px;
    line-height: 2.2
  }

  .intro-photos {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 0;
    align-items: center
  }

  .intro-small {
    width: 28%;
    height: 100px
  }

  .intro-large {
    width: 67%;
    height: 180px;
    margin-top: 35px
  }

  .flow-section {
    padding-block: 60px
  }

  .flow-row {
    gap: 18px;
    padding-bottom: 35px
  }

  .flow-number {
    flex-basis: 39px;
    width: 39px;
    height: 39px;
    line-height: max(1.6em, 39px);
    font-size: 19px
  }

  body.on .flow-row:after {
    left: 19px;
    top: 70px
  }

  .flow-title {
    font-size: 20px
  }

  .flow-row>div>p {
    font-size: 14px
  }

  .plan {
    gap: 22px
  }

  .plan>img {
    height: 265px
  }

  .plan-title {
    font-size: 30px
  }

  .plan>div>p {
    font-size: 14px
  }

  .plan>div>.plan-price {
    font-size: 17px
  }

  .plan-notes {
    padding: 18px 15px
  }

  .history-block>img {
    height: 350px;
    width: 90%
  }

  .history-block>div {
    padding: 10px 25px
  }

  .history-block .lead-title {
    font-size: 27px
  }

  .history-block>div>p {
    font-size: 14px
  }

  .qa {
    padding: 22px 18px;
    margin-block: 15px
  }

  .qa summary {
    padding: 0 25px 0 32px;
    font-size: 16px
  }

  body.on .qa summary:before {
    font-size: 25px
  }

  .qa>p {
    font-size: 14px;
    padding-left: 0
  }

  .editorial-card>img {
    height: 300px
  }

  .editorial-card .card-title {
    font-size: 24px;
    text-align: center
  }

  .editorial-card>p {
    font-size: 14px
  }

  .four-grid .editorial-card>img {
    height: 340px
  }

  .editorial-card .kimono-photo {
    height: 430px
  }

  .book-image {
    padding: 15px 35px
  }

  .book-image>img {
    height: 365px
  }

  .archive-grid .webgene-item>a>p {
    font-size: 14px
  }

  .archive-grid .card-title {
    text-align: center
  }

  .archive-grid .category {
    text-align: center
  }

  .detail-wrap {
    padding-block: 50px 80px
  }

  .detail-title {
    font-size: 27px;
    margin-bottom: 25px
  }

  .archive-detail-top .book-image {
    width: 90%
  }

  .archive-detail-top .book-image>img {
    height: 380px
  }

  .work-description {
    margin-top: 45px;
    padding-top: 35px
  }

  .product-photo img {
    height: 430px
  }

  .company-intro>div:first-child>img {
    height: 390px;
    width: 90%
  }

  .company-intro>div:nth-child(2) {
    padding: 50px 25px
  }

  .company-intro .lead-title {
    font-size: 28px
  }

  .company-intro>div:nth-child(2)>p {
    font-size: 14px
  }

  .message {
    padding-block: 50px
  }

  .message>img {
    height: 430px;
    width: 90%
  }

  .message .lead-title {
    font-size: 25px
  }

  .message>div>p {
    font-size: 14px
  }

  .logo-feature {
    width: 140px;
    height: 140px
  }

  .info-row,
  .company-info .info-row {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 0
  }

  .info-row h3 {
    font-size: 14px
  }

  .info-row>p {
    overflow-wrap: anywhere
  }

  .legal-wrap {
    padding-block: 45px 80px
  }

  .legal-wrap .info-row {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .legal-wrap .info-row h3 {
    font-size: 17px
  }

  .cate_wrap {
    gap: 10px;
    margin-bottom: 35px;
    padding-block: 20px
  }

  .category-link,
  .filter-all {
    padding: 4px 18px;
    font-size: 14px
  }

  .is-last-centered {
    grid-column: auto;
    width: auto;
    justify-self: stretch
  }

  .tk-gallery-wrap {
    padding-inline: 20px
  }

  .tk-gallery-hero {
    padding-top: 50px
  }

  .tk-gallery-hero__title {
    font-size: 29px
  }

  .tk-gallery-inquiry {
    padding-top: 70px
  }

  .tk-gallery-page {
    padding-bottom: 55px
  }

  .tk-gallery-page .card-title {
    font-size: 23px
  }

  .contact-wrap {
    padding-block: 45px 75px
  }

  .contact-lead>p {
    font-size: 14px
  }

  .form-row {
    gap: 13px;
    margin-bottom: 30px
  }

  .form-label {
    font-size: 15px
  }

  .radio-group>label {
    min-height: 43px
  }

  .form-control input::placeholder,
  .form-control textarea::placeholder {
    font-size: 14px
  }

  .form-control>textarea {
    min-height: 230px
  }

  .privacy-agreement {
    font-size: 14px;
    gap: 8px
  }

  .form-status {
    font-size: 14px
  }

  .form-feedback {
    text-align: left
  }

  .site-footer {
    padding: 45px 25px 25px
  }

  .footer-contact {
    min-height: 245px;
    margin-bottom: 65px
  }

  .footer-contact>a {
    padding: 25px 20px;
    min-height: 245px
  }

  .contact-en {
    font-size: 23px
  }

  .contact-ja {
    font-size: 26px
  }

  .footer-contact-inner>p:not(.contact-en) {
    font-size: 14px
  }

  .footer-brand img {
    width: 110px;
    height: 110px
  }

  .footer-brand p {
    font-size: 22px
  }

  .footer-nav {
    gap: 23px 20px
  }

  .footer-nav .nav-en {
    font-size: 19px;
    white-space: normal;
    line-height: 1.6
  }

  .footer-nav .nav-ja {
    font-size: 14px;
    margin-top: 6px
  }

  .footer-legal p {
    font-size: 14px
  }

  .empty-state {
    text-align: left;
    padding: 45px 15px
  }

  dialog {
    padding: 30px 22px
  }

  .privacy-content>.lead-title {
    text-align: center
  }
}

@media(max-width:360px) {
  .hero-title {
    right: 10%;
    font-size: 23px
  }

  .home-hero {
    height: 575px
  }

  .hero-art {
    height: 325px
  }

  .hero-title {
    top: 205px
  }

  .hero-signature {
    font-size: 14px
  }

  .section-title-en {
    font-size: 40px
  }

  .gallery-art {
    height: 370px
  }

  .menu-links .nav-en {
    font-size: 21px
  }

  .site-menu {
    padding-inline: 20px
  }

  .page-head:not(:has(.page-head-photo)) .page-en {
    font-size: 32px
  }

  .intro-large {
    height: 150px
  }

  .concept-title {
    font-size: 28px
  }

  .more {
    width: 245px
  }

  .footer-contact>a {
    padding: 22px 16px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  body.on *,
  body.on *:before,
  body.on *:after {
    animation: none !important;
    transition: none !important
  }

  .sc-anime.blurin2 {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important
  }
}

@supports(-moz-appearance:none) {
  html.motion-ready .sc-anime.blurin2 {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important
  }

  a img {
    transition: none
  }
}

/* Compatibility fixes for the supplied template's generic anchor rules. */
p {
  line-height: 1.6
}

a p,
a i {
  color: inherit
}

a:hover {
  opacity: 1
}

.gallery-grid .webgene-item>a,
.archive-grid .webgene-item>a,
.tk-gallery-works .webgene-item>a {
  display: block;
  width: 100%
}

.site-footer .footer-brand,
.site-footer .footer-nav>a,
.site-footer .footer-legal .text-link {
  color: #ffffff
}

.related-links .related-en {
  color: #ffffff
}

.home-hero {
  overflow: clip;
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), conic-gradient(rgba(134, 172, 102, .2) 25%, #ffffff 0 50%, rgba(134, 172, 102, .2) 0 75%, #ffffff 0)
}

.page-head {
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), conic-gradient(rgba(134, 172, 102, .2) 25%, #ffffff 0 50%, rgba(134, 172, 102, .2) 0 75%, #ffffff 0)
}

.motif img {
  mix-blend-mode: multiply
}

.service-label h3 {
  margin-right: 10px
}

.service-label h3>span {
  display: inline !important
}

.service-caption>p {
  font-weight: 400
}

.instagram-grid .img-tool {
  aspect-ratio: 1;
  overflow: hidden
}

.instagram-grid .img-tool>img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.footer-contact .footer-contact-inner {
  width: 100%
}

.footer-contact .footer-contact-inner>p {
  line-height: 1.8
}

.gallery-grid .webgene-item {
  width: 100%
}

@media(max-width:576px) {
  .home-hero .hero-art {
    left: 0;
    right: 0;
    top: 135px;
    height: 380px
  }

  .home-hero .hero-photo {
    object-fit: cover;
    object-position: 42% center;
    width: 100%;
    height: 100%;
    border-radius: 0
  }

  .hero-title {
    right: 8%;
    top: 210px
  }

  .home-hero .hero-title>span {
    background: rgba(255, 255, 255, 0.941)
  }

  .home-hero .motif-one {
    left: 0
  }

  .hero-signature {
    bottom: 24px
  }

  .service-label h3 {
    margin-top: 10px
  }

  .service-label h3>span {
    display: inline !important
  }
}

/* Keep vertical card labels outside the image instead of over the artwork. */
.service-label {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 10px;
  writing-mode: horizontal-tb;
  left: -65px;
  width: 55px;
  height: auto
}

.service-label>p,
.service-label>h3 {
  writing-mode: vertical-rl;
  line-height: 1.2;
  margin: 0
}

.service-label>h3>span {
  display: inline !important
}

.tk-gallery-inquiry {
  display: block !important
}

.tk-gallery-inquiry>.tk-gallery-hero__title {
  margin: 0 auto 25px !important
}

.tk-gallery-inquiry>p {
  max-width: 620px;
  margin: 25px auto !important
}

.tk-gallery-page .tk-gallery-button {
  background: #f4efe4;
  color: #17160f;
  border: 1px solid #c8a85a;
  white-space: nowrap;
  margin-top: 20px
}

.tk-gallery-page .tk-gallery-button:hover {
  background: #e6cd90
}

.tk-gallery-page .tk-gallery-button>p {
  color: inherit
}

.tk-gallery-page .tk-gallery-button:hover>span {
  transform: none
}

html.tk-gallery-view .page-head {
  background: #141310;
  color: #ece7dc
}

html.tk-gallery-view .page-en {
  color: #e6cd90
}

html.tk-gallery-view .page-ja {
  color: #ece7dc
}

html.tk-gallery-view .brand {
  color: #ece7dc
}

html.tk-gallery-view .header-nav {
  background: rgba(36, 35, 29, .8);
  color: #ece7dc
}

html.tk-gallery-view .menu-toggle {
  border: 1px solid #6c675f
}

html.tk-gallery-view .motif {
  opacity: .65
}

html.tk-gallery-view.menu-open .brand {
  color: #004b34
}

@media(max-width:1100px) {
  .service-label {
    left: -53px;
    width: 45px;
    gap: 8px
  }

  .service-label>p {
    font-size: 16px
  }

  .service-label>h3 {
    font-size: 23px
  }
}

@media(max-width:576px) {
  .service-label {
    left: -40px;
    width: 35px;
    gap: 6px
  }

  .service-label>p {
    font-size: 14px
  }

  .service-label>h3 {
    font-size: 22px
  }

  .tk-gallery-inquiry {
    padding: 45px 20px
  }

  .tk-gallery-inquiry>.tk-gallery-hero__title {
    font-size: 27px !important
  }
}

.content-section.soft-section:has(.service-grid) {
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 42%, #f3f3f3 42%, #f3f3f3 100%)
}

@media(max-width:576px) {
  .content-section.soft-section:has(.service-grid) {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 25%, #f3f3f3 25%, #f3f3f3 100%)
  }
}

html.tk-gallery-view .page-head .motif {
  display: none
}

@media(max-width:900px) {
  .tk-gallery-hero__lead {
    text-align: left
  }

  .tk-gallery-inquiry>p {
    text-align: left
  }
}

.cate_wrap>.webgene-blog,
.cate_wrap .webgene-item {
  display: contents
}

/* Reserve the scrollbar space even while the full-screen menu is open. */
html {
  scrollbar-gutter: stable
}

html.menu-open .site-header {
  width: auto
}

/* Button tint follows the exact ornament silhouette; no rectangular hover fill. */
.more,
.more:hover {
  isolation: isolate;
  z-index: 0
}

body.on .more:before {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: -1;
  background: #f1f5ec;
  opacity: 0;
  -webkit-mask: url("data:image/svg+xml,%3Cns0%3Asvg%20xmlns%3Ans0%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20preserveAspectRatio%3D%22none%22%20overflow%3D%22visible%22%20style%3D%22display%3A%20block%3B%22%20width%3D%22276.9%22%20height%3D%2251.34%22%20viewBox%3D%220%200%20276.9%2051.34%22%20fill%3D%22none%22%3E%0A%3Cns0%3Apath%20id%3D%22Vector%22%20d%3D%22M261.69%208.66H259.88V7.02C259.88%203.97%20257.41%201.5%20254.36%201.5H22.54C19.49%201.5%2017.02%203.97%2017.02%207.02V8.66H15.21C7.64%208.66%201.5%2014.8%201.5%2022.37V28.97C1.5%2036.54%207.64%2042.68%2015.21%2042.68H17.02V44.32C17.02%2047.37%2019.49%2049.84%2022.54%2049.84H254.36C257.41%2049.84%20259.88%2047.37%20259.88%2044.32V42.68H261.69C269.26%2042.68%20275.4%2036.54%20275.4%2028.97V22.37C275.4%2014.8%20269.26%208.66%20261.69%208.66Z%22%20stroke-width%3D%223%22%20stroke-miterlimit%3D%2210%22%20stroke%3D%22%234F8033%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%3C%2Fns0%3Asvg%3E") center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Cns0%3Asvg%20xmlns%3Ans0%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20preserveAspectRatio%3D%22none%22%20overflow%3D%22visible%22%20style%3D%22display%3A%20block%3B%22%20width%3D%22276.9%22%20height%3D%2251.34%22%20viewBox%3D%220%200%20276.9%2051.34%22%20fill%3D%22none%22%3E%0A%3Cns0%3Apath%20id%3D%22Vector%22%20d%3D%22M261.69%208.66H259.88V7.02C259.88%203.97%20257.41%201.5%20254.36%201.5H22.54C19.49%201.5%2017.02%203.97%2017.02%207.02V8.66H15.21C7.64%208.66%201.5%2014.8%201.5%2022.37V28.97C1.5%2036.54%207.64%2042.68%2015.21%2042.68H17.02V44.32C17.02%2047.37%2019.49%2049.84%2022.54%2049.84H254.36C257.41%2049.84%20259.88%2047.37%20259.88%2044.32V42.68H261.69C269.26%2042.68%20275.4%2036.54%20275.4%2028.97V22.37C275.4%2014.8%20269.26%208.66%20261.69%208.66Z%22%20stroke-width%3D%223%22%20stroke-miterlimit%3D%2210%22%20stroke%3D%22%234F8033%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%3C%2Fns0%3Asvg%3E") center/100% 100% no-repeat;
  transition: opacity .35s
}

body.on .more:hover:before,
body.on .more:focus-visible:before {
  opacity: 1
}

.qa-question {
  display: block;
  position: relative;
  font-size: 18px;
  padding: 0 45px;
  color: inherit
}

body.on .qa-question:before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--english);
  font-size: 28px;
  line-height: 1.6;
  color: var(--green)
}

body.on .qa-question:after {
  content: '＋';
  position: absolute;
  right: 0;
  top: 0
}

body.on .qa.is-open .qa-question:after {
  content: '−'
}

.qa>.qa-answer {
  display: block;
  margin-top: 20px;
  padding: 20px 0 0 45px;
  border-top: 1px solid #dddddd
}

body.on .qa:not(.is-open)>.qa-answer {
  display: none
}

.instagram-grid .webgene-item>a {
  display: block;
  width: 100%
}

@media(max-width:900px) {
  .txt-left-tb {
    text-align: left
  }
}

@media(max-width:576px) {
  .qa-question {
    font-size: 16px;
    padding: 0 25px 0 32px
  }

  .qa>.qa-answer {
    font-size: 14px;
    padding-left: 0
  }
}

@supports(-moz-appearance:none) {
  a:hover img {
    transform: none !important
  }
}

/* Gentle photo reveals; no motion is required for editing or reading. */
.service-picture {
  overflow: hidden;
  isolation: isolate
}

.service-picture>img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

html.motion-ready body.on .sc-anime.blurin2.is-pending,
html.motion-ready body.on .sc-anime.blurin2.is-visible {
  transition-duration: 1.25s;
  transition-timing-function: cubic-bezier(.22, .61, .36, 1)
}

html.motion-ready body.on img.image-reveal {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.8s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.22, .61, .36, 1), filter .8s ease
}

html.motion-ready body.on img.image-reveal.image-visible {
  opacity: 1;
  clip-path: inset(0)
}

@media(hover:hover) and (pointer:fine) {

  body.on .service-picture>img,
  body.on .gallery-art>img,
  body.on .related-links>a>img,
  body.on .instagram-grid img,
  body.on .archive-grid img {
    transition: transform .8s cubic-bezier(.22, .61, .36, 1), filter .8s ease
  }

  body.on .service-card:hover .service-picture>img,
  body.on .service-card:focus-visible .service-picture>img {
    transform: scale(1.04);
    filter: brightness(1.025) saturate(1.035)
  }

  body.on .gallery-grid a:hover .gallery-art>img,
  body.on .gallery-grid a:focus-visible .gallery-art>img {
    transform: scale(1.035);
    filter: brightness(1.025)
  }

  body.on .related-links>a:hover>img,
  body.on .related-links>a:focus-visible>img {
    transform: scale(1.045);
    filter: brightness(.77)
  }

  body.on .instagram-grid a:hover img,
  body.on .instagram-grid a:focus-visible img {
    transform: scale(1.045);
    filter: brightness(1.03)
  }

  body.on .archive-grid a:hover img {
    transform: translateY(-3px);
    filter: brightness(1.025)
  }
}

@media(prefers-reduced-motion:reduce) {
  html.motion-ready body.on img.image-reveal {
    opacity: 1;
    clip-path: none;
    transition: none !important
  }
}

@supports(-moz-appearance:none) {
  html.motion-ready body.on img.image-reveal {
    opacity: 1;
    clip-path: none;
    transition: none !important
  }

  body.on a:hover img,
  body.on a:focus-visible img {
    transform: none !important;
    filter: none !important
  }
}

/* Footer hover ornaments: keep text colors fixed and avoid layout movement. */
.site-footer .footer-nav>a {
  position: relative;
  width: max-content;
  max-width: 100%
}

body.on .site-footer .footer-nav>a:before {
  content: '◇';
  position: absolute;
  left: -22px;
  top: 0;
  color: #c8a85a;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0;
  transform: translateX(-5px) rotate(-45deg) scale(.65);
  transition: opacity .35s ease, transform .35s ease
}

body.on .site-footer .footer-nav>a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: #c8a85a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease
}

body.on .site-footer .footer-nav>a:hover:before,
body.on .site-footer .footer-nav>a:focus-visible:before {
  opacity: 1;
  transform: translateX(0) rotate(45deg) scale(1)
}

body.on .site-footer .footer-nav>a:hover:after,
body.on .site-footer .footer-nav>a:focus-visible:after {
  transform: scaleX(1)
}

.site-footer .footer-brand>img,
.site-footer .footer-note>img {
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
  transform-origin: center
}

.site-footer .footer-brand:hover>img,
.site-footer .footer-brand:focus-visible>img {
  transform: rotate(5deg) scale(1.035)
}

.site-footer .footer-note:hover>img,
.site-footer .footer-note:focus-visible>img {
  transform: rotate(-3deg) scale(1.04)
}

.site-footer .footer-contact {
  transition: transform .4s cubic-bezier(.22, .61, .36, 1)
}

.site-footer .footer-contact:hover,
.site-footer .footer-contact:focus-within {
  transform: translateY(-4px)
}

@media(hover:none) {

  body.on .site-footer .footer-nav>a:before,
  body.on .site-footer .footer-nav>a:after {
    display: none
  }

  .site-footer .footer-contact:hover {
    transform: none
  }
}

@media(prefers-reduced-motion:reduce) {

  .site-footer .footer-contact:hover,
  .site-footer .footer-contact:focus-within {
    transform: none
  }
}

@supports(-moz-appearance:none) {

  .site-footer a:hover>img,
  .site-footer a:focus-visible>img {
    transform: none !important
  }
}

/* Header links: a small opening diamond and a drawn underline, with fixed type. */
.site-header .header-nav>a {
  position: relative
}

body.on .site-header .header-nav>a:before {
  content: '◇';
  position: absolute;
  left: 50%;
  top: -13px;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
  color: #66943f;
  opacity: 0;
  transform: translate(-50%, 4px) rotate(-45deg) scale(.6);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none
}

body.on .site-header .header-nav>a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: #66943f;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none
}

body.on .site-header .header-nav>a:hover:before,
body.on .site-header .header-nav>a:focus-visible:before {
  opacity: 1;
  transform: translate(-50%, 0) rotate(45deg) scale(1)
}

body.on .site-header .header-nav>a:hover:after,
body.on .site-header .header-nav>a:focus-visible:after {
  transform: scaleX(1)
}

.site-header .brand>img {
  transition: transform .4s cubic-bezier(.22, .61, .36, 1)
}

html.tk-gallery-view body.on .site-header .header-nav>a:before {
  color: #c8a85a
}

html.tk-gallery-view body.on .site-header .header-nav>a:after {
  background: #c8a85a
}

@media(hover:none) {

  body.on .site-header .header-nav>a:before,
  body.on .site-header .header-nav>a:after {
    display: none
  }
}

@supports(-moz-appearance:none) {

  .site-header .brand:hover>img,
  .site-header .brand:focus-visible>img {
    transform: none !important
  }
}

.news-list .date {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal
}

/* Shared TOP component proportions, applied to every page. */
:root {
  --u: calc(100vw / 1440)
}

.brand-tagline {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .01em;
  margin-top: 5px;
  white-space: nowrap
}

.home-news .section-title {
  text-align: left
}

.site-footer {
  width: 100%
}

.footer-bottom {
  display: grid;
  grid-template-areas: 'brand nav' 'note nav';
  grid-template-columns: 1fr 385px;
  grid-template-rows: auto 25px;
  row-gap: 42px
}

.footer-brand {
  grid-area: brand
}

.footer-note {
  grid-area: note;
  display: block;
  width: 100px;
  margin-left: 25px
}

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

.footer-nav {
  grid-area: nav;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  column-gap: 70px;
  row-gap: 20px;
  align-content: start;
  padding-top: 50px
}

.footer-nav .nav-ja {
  display: none
}

.footer-nav .nav-en {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: .07em
}

.footer-legal {
  border: 0;
  padding-top: 0
}

.footer-contact {
  margin-bottom: 0
}

.footer-contact-inner>p:not(.contact-en) {
  font-size: 14px;
  line-height: max(1.6em, 25px)
}

.footer-contact-inner {
  padding-top: 10px;
  padding-bottom: 25px
}

.contact-en {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: max(1.6em, 17px)
}

.contact-ja {
  font-size: 28px;
  line-height: max(1.6em, 34px);
  margin: 5px 0 14px
}

@media(min-width:1101px) {
  .site-header {
    max-width: none;
    width: 100%;
    height: calc(158 * var(--u));
    top: calc(10 * var(--u));
    padding: 0 calc(40 * var(--u));
    gap: calc(28 * var(--u))
  }

  .brand {
    flex-basis: calc(150 * var(--u));
    position: relative
  }

  .brand img {
    width: calc(100 * var(--u));
    height: calc(100 * var(--u));
    object-fit: contain
  }

  .brand>p:not(.brand-tagline) {
    font-size: max(14px, calc(19 * var(--u)));
    line-height: max(1.6em, calc(20 * var(--u)));
    font-weight: 500
  }

  .brand-tagline {
    position: absolute;
    top: calc(130 * var(--u));
    left: 50%;
    transform: translateX(-50%);
    font-size: max(14px, calc(10 * var(--u)));
    background: rgba(255, 255, 255, 0.788);
    padding: calc(2 * var(--u)) calc(6 * var(--u));
    line-height: 1.6
  }

  .header-nav {
    gap: calc(22.5 * var(--u));
    padding: calc(15 * var(--u)) calc(20 * var(--u));
    border-radius: calc(5 * var(--u))
  }

  .header-nav .nav-en {
    font-size: max(14px, calc(15 * var(--u)));
    line-height: max(1.6em, calc(20 * var(--u)))
  }

  .menu-toggle {
    width: calc(90 * var(--u));
    height: calc(90 * var(--u));
    flex-basis: calc(90 * var(--u));
    border-radius: calc(30 * var(--u));
    gap: calc(8 * var(--u))
  }

  .menu-toggle .menu-line {
    width: calc(40 * var(--u));
    height: calc(2 * var(--u))
  }

  .concept-copy .more {
    margin: calc(35 * var(--u)) 0 0
  }

  .more {
    width: calc(277 * var(--u));
    height: calc(51.33 * var(--u));
    min-height: 0;
    font-size: max(14px, calc(16 * var(--u)));
    line-height: 1.6;
    padding: calc(12 * var(--u)) calc(35 * var(--u));
    margin-top: calc(55 * var(--u))
  }

  .section-title-en {
    font-size: max(14px, calc(70 * var(--u)));
    line-height: max(1.6em, calc(80 * var(--u)));
    font-weight: 600;
    letter-spacing: calc(1 * var(--u))
  }

  .section-title-ja {
    font-size: max(14px, calc(31 * var(--u)));
    line-height: max(1.6em, calc(40 * var(--u)));
    font-weight: 400;
    letter-spacing: calc(2 * var(--u))
  }

  .section-title {
    margin-bottom: 0
  }

  body.on .section-title:before {
    width: calc(135 * var(--u));
    height: calc(135 * var(--u));
    top: calc(-30 * var(--u));
    left: calc(-50 * var(--u));
    opacity: .2
  }

  body.on .title-right:before {
    left: auto;
    right: calc(-50 * var(--u))
  }

  .section-top {
    grid-template-columns: 1fr calc(600 * var(--u));
    gap: 0;
    margin-bottom: calc(68 * var(--u));
    align-items: center
  }

  .section-top .lead-title {
    font-size: max(14px, calc(30 * var(--u)));
    line-height: max(1.6em, calc(34.3 * var(--u)));
    font-weight: 500;
    margin-bottom: calc(15 * var(--u));
    letter-spacing: 0
  }

  .section-top>div:not(.section-title)>p {
    font-size: max(14px, calc(15 * var(--u)));
    line-height: max(1.6em, calc(25 * var(--u)));
    letter-spacing: 0
  }

  .home-gallery .section-title {
    margin-bottom: calc(75 * var(--u))
  }

  .home-gallery .more {
    margin-top: calc(90 * var(--u))
  }

  .related-links {
    width: 95.833333%;
    max-width: none;
    height: calc(640 * var(--u));
    padding: 0;
    gap: calc(20 * var(--u))
  }

  .related-links>a {
    height: calc(580 * var(--u));
    border-radius: calc(60 * var(--u))
  }

  .related-links>a:nth-child(2) {
    margin-top: calc(60 * var(--u))
  }

  .related-ja {
    font-size: max(14px, calc(34 * var(--u)));
    line-height: max(1.6em, calc(48 * var(--u)));
    top: calc(150 * var(--u));
    letter-spacing: calc(6 * var(--u))
  }

  .related-en {
    font-size: max(14px, calc(15 * var(--u)));
    bottom: calc(95 * var(--u))
  }

  body.on .related-ja:before,
  body.on .related-ja:after {
    width: calc(115 * var(--u));
    font-size: max(14px, calc(24 * var(--u)))
  }

  body.on .related-ja:before {
    top: calc(-60 * var(--u));
    padding-bottom: calc(20 * var(--u))
  }

  body.on .related-ja:after {
    bottom: calc(-110 * var(--u));
    padding-top: calc(24 * var(--u))
  }

  .instagram .more {
    margin-top: calc(30 * var(--u))
  }

  .site-footer {
    height: calc(866 * var(--u));
    padding: calc(60 * var(--u)) calc(70 * var(--u)) 0
  }

  .footer-contact {
    width: calc(895 * var(--u));
    max-width: none;
    height: calc(267 * var(--u));
    min-height: 0
  }

  .footer-contact>a {
    height: 100%;
    min-height: 0;
    padding: calc(82 * var(--u)) calc(70 * var(--u)) calc(60 * var(--u));
    align-items: flex-start
  }

  .footer-contact-inner {
    padding: 0
  }

  .contact-en {
    font-size: max(14px, calc(15 * var(--u)));
    line-height: max(1.6em, calc(17 * var(--u)));
    letter-spacing: calc(2 * var(--u))
  }

  .contact-ja {
    font-size: max(14px, calc(28 * var(--u)));
    line-height: max(1.6em, calc(34.3 * var(--u)));
    margin: calc(5 * var(--u)) 0 calc(14 * var(--u))
  }

  .footer-contact-inner>p:not(.contact-en) {
    font-size: max(14px, calc(14 * var(--u)));
    line-height: max(1.6em, calc(25 * var(--u)))
  }

  .footer-bottom {
    max-width: none;
    width: 100%;
    margin-top: calc(85 * var(--u));
    grid-template-columns: 1fr calc(385 * var(--u));
    grid-template-rows: calc(155 * var(--u)) calc(22 * var(--u));
    row-gap: calc(40 * var(--u))
  }

  .footer-brand {
    max-width: none;
    width: calc(149 * var(--u));
    text-align: center
  }

  .footer-brand img {
    width: calc(127 * var(--u));
    height: calc(128 * var(--u));
    margin: auto
  }

  .footer-brand p {
    font-size: max(14px, calc(24 * var(--u)));
    line-height: max(1.6em, calc(25 * var(--u)));
    margin: 0;
    white-space: nowrap;
    letter-spacing: calc(1 * var(--u))
  }

  .footer-note {
    width: calc(100 * var(--u));
    margin-left: calc(25 * var(--u))
  }

  .footer-nav {
    width: 100%;
    column-gap: calc(70 * var(--u));
    row-gap: calc(20 * var(--u));
    padding-top: calc(50 * var(--u))
  }

  .footer-nav .nav-en {
    font-size: max(14px, calc(15 * var(--u)));
    line-height: max(1.6em, calc(19.5 * var(--u)));
    letter-spacing: calc(1 * var(--u))
  }

  .footer-legal {
    max-width: none;
    margin-top: calc(100 * var(--u));
    padding: 0
  }

  .footer-legal p {
    font-size: max(14px, calc(12 * var(--u)));
    line-height: max(1.6em, calc(20 * var(--u)));
    color: #a3a3a3
  }
}

@media(max-width:1100px) {
  .site-header {
    max-width: none
  }

  .brand-tagline {
    font-size: 14px;
    position: absolute;
    left: 25px;
    top: 132px;
    background: rgba(255, 255, 255, 0.859);
    padding: 2px 5px
  }

  .related-links {
    width: calc(100% - 40px);
    max-width: none
  }

  .related-ja {
    top: 22%;
    font-size: 27px;
    line-height: 1.6
  }

  .related-en {
    bottom: 15%;
    font-size: 14px
  }

  body.on .related-ja:before {
    top: -40px;
    padding-bottom: 12px;
    width: 75px;
    font-size: 18px
  }

  body.on .related-ja:after {
    bottom: -70px;
    padding-top: 15px;
    width: 75px;
    font-size: 18px
  }

  .footer-nav {
    column-gap: 40px
  }

  .footer-bottom {
    grid-template-columns: 1fr 340px
  }

  .footer-legal {
    margin-top: 60px
  }

  .footer-note {
    margin-top: 0
  }

  .footer-contact {
    margin-bottom: 80px
  }

  .section-title-en {
    font-size: 60px
  }

  .section-title-ja {
    font-size: 25px
  }
}

@media(max-width:900px) {
  body.on .home-news .section-title:before {
    left: -30px
  }

  .home-news .section-title {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center
  }

  .home-news .section-title-en,
  .home-news .section-title-ja {
    grid-column: 1
  }

  .related-ja {
    font-size: 24px
  }

  .related-en {
    font-size: 14px
  }

  .footer-contact-inner>p:not(.contact-en) {
    text-align: left
  }
}

@media(max-width:768px) {
  .brand-tagline {
    top: 115px;
    left: 20px
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    grid-template-areas: 'brand' 'note' 'nav';
    row-gap: 25px;
    grid-template-rows: auto
  }

  .footer-note {
    margin-inline: auto
  }

  .footer-nav {
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    padding-top: 20px;
    max-width: 420px;
    column-gap: 35px;
    row-gap: 20px
  }

  .footer-brand {
    margin: auto
  }

  .footer-contact {
    margin-bottom: 60px
  }

  .section-title-en {
    font-size: 54px
  }

  .section-title-ja {
    font-size: 23px
  }
}

@media(max-width:576px) {
  .brand-tagline {
    left: 15px;
    top: 105px;
    font-size: 14px
  }

  .section-title-en {
    font-size: 50px;
    line-height: 1.6
  }

  .section-title-ja {
    font-size: 22px;
    line-height: 1.7
  }

  .section-top .lead-title {
    font-size: 23px
  }

  .related-links>a {
    height: 410px;
    border-radius: 45px
  }

  .related-ja {
    font-size: 30px;
    top: 24%;
    line-height: 1.6
  }

  .related-en {
    bottom: 16%;
    font-size: 14px
  }

  body.on .related-ja:before {
    top: -50px;
    width: 100px;
    font-size: 21px;
    padding-bottom: 15px
  }

  body.on .related-ja:after {
    bottom: -80px;
    width: 100px;
    font-size: 21px;
    padding-top: 20px
  }

  body.on .related-links:before,
  body.on .related-links:after {
    width: 120px;
    height: 220px
  }

  .contact-en {
    font-size: 15px
  }

  .contact-ja {
    font-size: 26px
  }

  .footer-contact>a {
    padding: 35px 22px 55px
  }

  .footer-contact-inner>p:not(.contact-en) {
    font-size: 14px;
    line-height: 1.9
  }

  .footer-contact {
    margin-bottom: 55px
  }

  .footer-brand img {
    width: 110px;
    height: 110px
  }

  .footer-brand p {
    font-size: 22px
  }

  .footer-note {
    width: 90px
  }

  .footer-nav .nav-en {
    font-size: 15px;
    line-height: 1.6
  }

  .footer-nav {
    column-gap: 25px;
    row-gap: 18px
  }

  .footer-legal {
    margin-top: 45px
  }

  .footer-legal p {
    font-size: 14px
  }
}

@media(max-width:360px) {
  .home-news .section-title-en {
    font-size: 43px
  }

  .home-news .section-title-ja {
    font-size: 19px
  }

  .related-links>a {
    height: 390px
  }
}

@media(min-width:577px) {
  .section-top>div:not(.section-title)>p {
    font-size: inherit
  }
}

.more,
.more:hover {
  background-color: transparent;
  box-shadow: none
}

body.on .more:after {
  display: block;
  content: '→';
  right: 24px;
  position: absolute;
  transition: transform .35s
}

body.on .more:hover:after {
  transform: translateX(4px)
}

.more>p {
  padding-right: 10px
}

/* Subpages use one shared page-title component and page-specific content CSS. */
.subpage .page-head {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d9a518;
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), conic-gradient(rgba(134, 172, 102, .2) 25%, #ffffff 0 50%, rgba(134, 172, 102, .2) 0 75%, #ffffff 0);
  background-size: auto, 40px 40px
}

.subpage .page-head-photo-layout {
  height: min(calc(623 * var(--u)), 100svh)
}

.subpage .page-head-text-layout {
  height: calc(420 * var(--u))
}

.subpage .page-head-visual {
  position: absolute;
  left: 25.347222%;
  right: 4.861111%;
  top: 13.64366%;
  height: 79.133226%;
  overflow: hidden;
  isolation: isolate
}

.subpage .page-head-visual .page-head-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0
}

.subpage .page-head .page-head-title {
  position: absolute;
  left: 17.638889%;
  top: calc(103 * var(--u));
  transform: none;
  text-align: left;
  z-index: 3;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: calc(16 * var(--u))
}

.subpage .page-head .page-en {
  writing-mode: vertical-rl;
  font-family: var(--english);
  font-size: max(14px, calc(42 * var(--u)));
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: calc(3 * var(--u));
  padding: calc(20 * var(--u)) calc(10 * var(--u));
  background: #ffffff;
  white-space: nowrap;
  color: #333333
}

.subpage .page-head .page-ja {
  position: static;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: max(14px, calc(28 * var(--u)));
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: calc(6 * var(--u));
  margin: 0;
  padding: calc(16 * var(--u)) calc(10 * var(--u));
  background: #ffffff;
  color: #66943f
}

.subpage .page-head-text-layout .page-head-title {
  left: 50%;
  top: calc(120 * var(--u));
  transform: translateX(-50%);
  min-width: 0
}

.subpage .page-head .motif {
  mix-blend-mode: multiply;
  opacity: 1;
  display: block;
  pointer-events: none
}

.subpage .page-head .motif-one {
  left: calc(21 * var(--u));
  right: auto;
  top: calc(271 * var(--u));
  bottom: auto;
  width: calc(146 * var(--u))
}

.subpage .page-head .motif-two {
  left: auto;
  right: calc(69 * var(--u));
  top: auto;
  bottom: calc(31 * var(--u));
  width: calc(146 * var(--u))
}

.subpage .page-head .motif-three {
  left: auto;
  right: calc(31 * var(--u));
  top: calc(313 * var(--u));
  bottom: auto;
  width: calc(101 * var(--u))
}

.subpage .page-head-text-layout .motif-one {
  top: calc(254 * var(--u))
}

.subpage .page-head-text-layout .motif-two {
  bottom: calc(-20 * var(--u))
}

.subpage .page-head-text-layout .motif-three {
  top: calc(164 * var(--u))
}

.subpage .page-content {
  overflow: clip
}

.subpage .section-top {
  align-items: center
}

.subpage .intro {
  position: relative;
  grid-template-columns: 240px minmax(0, 1fr);
  padding-block: 100px 80px;
  column-gap: 120px
}

.subpage .intro-copy .lead-title {
  font-size: 38px;
  line-height: 1.7;
  margin-bottom: 35px;
  letter-spacing: .04em
}

.subpage .vertical-title {
  position: relative;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  padding-top: 80px
}

.subpage .vertical-ja {
  font-size: 42px;
  line-height: 1.6;
  letter-spacing: .13em;
  font-weight: 400
}

.subpage .vertical-title>.eyebrow {
  font-size: 24px;
  color: #66943f;
  line-height: 1.6;
  margin-top: 10px
}

.subpage .vertical-mark {
  position: absolute;
  top: 0;
  left: calc(50% - 20px);
  width: 40px;
  height: 40px;
  object-fit: contain
}

.subpage .intro-copy>p {
  line-height: 2.2
}

.subpage .intro-photos {
  min-height: 455px;
  position: relative;
  margin-top: 30px;
  padding-top: 0
}

.subpage .intro-small {
  width: 17%;
  height: 196px;
  border-radius: 3px;
  object-fit: cover
}

.subpage .intro-large {
  width: 59.166667%;
  height: 355px;
  margin-top: 60px;
  border-radius: 3px;
  object-fit: cover
}

.subpage body.on .intro-photos:before {
  content: '';
  position: absolute;
  left: -90px;
  top: 130px;
  width: 145px;
  height: 145px;
  background: url('https://kuzasakougei.jp/system_panel/uploads/images/motif-gold.png') center/contain no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none
}

.subpage body.on .intro-photos:after {
  content: '';
  position: absolute;
  right: -45px;
  top: 10px;
  width: 101px;
  height: 101px;
  background: url('https://kuzasakougei.jp/system_panel/uploads/images/motif-green.png') center/contain no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none
}

.subpage .feature-card {
  padding-left: 60px;
  position: relative
}

.subpage .feature-card>img {
  height: 235px;
  border-radius: 3px
}

.subpage .feature-label {
  position: absolute;
  left: 0;
  top: -40px
}

.subpage .feature-number {
  position: static;
  margin: 0 auto 9px
}

.subpage .feature-label .card-title {
  font-size: 23px;
  font-family: var(--serif);
  writing-mode: vertical-rl;
  line-height: 1.2;
  margin: 0 auto;
  letter-spacing: .13em;
  font-weight: 400
}

.subpage .feature-label .card-title>span {
  display: inline !important
}

.subpage .feature-card>p {
  margin-top: 20px;
  line-height: 1.85;
  font-size: inherit
}

.subpage .flow-row {
  gap: 60px;
  padding-bottom: 55px;
  min-height: 130px
}

.subpage .flow-number {
  width: 50px;
  height: 50px;
  line-height: max(1.6em, 50px);
  flex-basis: 50px
}

.subpage body.on .flow-row:after {
  left: 25px;
  top: 72px;
  bottom: 0;
  border-left: 1px solid #d0d0d0
}

.subpage .flow-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px
}

.subpage .flow-row>div p {
  font-size: inherit;
  line-height: 1.9
}

.subpage .cate_wrap {
  border-color: #d9a518;
  min-height: 86px;
  gap: 70px;
  padding: 20px 0;
  margin: 0 0 80px
}

.subpage .cate_wrap a {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.6;
  padding: 8px 20px
}

.subpage .cate_wrap a.is-active {
  color: #004b34;
  background: #edf2e8;
  border-radius: 3px
}

.subpage .webgene-pagination ul {
  gap: 10px
}

.subpage .webgene-pagination li {
  width: 40px;
  height: 40px;
  line-height: max(1.6em, 40px);
  border: 1px solid #d0d0d0;
  color: #777777
}

.subpage .webgene-pagination li.selected {
  border-color: #1c1e29;
  background: #1c1e29;
  color: #ffffff
}

.subpage .webgene-pagination li a {
  display: block;
  color: inherit
}

.subpage .webgene-pagination li p {
  font-size: 16px;
  line-height: max(1.6em, 38px)
}

.subpage .qa {
  padding: 35px 30px;
  margin: 20px 0;
  border-radius: 4px
}

.subpage .qa-question {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.8
}

.subpage .qa-answer {
  font-size: 16px;
  line-height: 1.9
}

.subpage body.on .qa-question:after {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #1c1e29;
  color: #ffffff;
  line-height: max(1.6em, 27px);
  text-align: center;
  font-family: var(--sans);
  font-size: 20px;
  top: 5px
}

@media(min-width:1101px) {
  .subpage .wrap {
    max-width: 1280px
  }

  .subpage .intro {
    min-height: calc(946 * var(--u))
  }

  .subpage .content-section {
    padding-block: 130px
  }

  .subpage .flow-section {
    padding-block: 130px
  }

  .subpage .flow-list {
    padding-top: 80px
  }

  .subpage .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 100px
  }

  .subpage .section-top {
    margin-bottom: 80px
  }
}

@media(max-width:1100px) {
  .subpage .page-head-photo-layout {
    height: min(500px, 100svh)
  }

  .subpage .page-head-text-layout {
    height: 350px
  }

  .subpage .page-head .page-head-title {
    top: 140px;
    left: 15%;
    gap: 12px
  }

  .subpage .page-head .page-en {
    font-size: 34px;
    padding: 16px 8px;
    letter-spacing: 2px
  }

  .subpage .page-head .page-ja {
    font-size: 23px;
    padding: 14px 8px;
    letter-spacing: 4px
  }

  .subpage .page-head-text-layout .page-head-title {
    left: 50%;
    top: 135px
  }

  .subpage .page-head-visual {
    top: 125px;
    bottom: 35px;
    height: auto;
    left: 30%;
    right: 5%
  }

  .subpage .page-head .motif-one {
    width: 90px;
    left: 15px;
    top: 240px
  }

  .subpage .page-head .motif-two {
    width: 100px;
    right: 35px;
    bottom: 15px
  }

  .subpage .page-head .motif-three {
    width: 75px;
    right: 10px;
    top: 250px
  }

  .subpage .page-head-text-layout .motif-one {
    top: 220px
  }

  .subpage .page-head-text-layout .motif-three {
    top: 170px
  }

  .subpage .page-head-text-layout .motif-two {
    bottom: -15px
  }

  .subpage .intro {
    grid-template-columns: 160px 1fr;
    column-gap: 55px
  }

  .subpage .intro-copy .lead-title {
    font-size: 30px
  }

  .subpage .vertical-ja {
    font-size: 34px
  }

  .subpage .vertical-title>.eyebrow {
    font-size: 21px
  }

  .subpage .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 80px
  }

  .subpage .cate_wrap {
    gap: 25px
  }

  .subpage .cate_wrap a {
    font-size: 18px
  }

  .subpage .feature-card {
    padding-left: 50px
  }

  .subpage .feature-label {
    width: 42px
  }

  .subpage .feature-number {
    width: 40px;
    height: 40px;
    line-height: max(1.6em, 40px);
    font-size: 21px
  }

  .subpage .feature-label .card-title {
    font-size: 21px
  }

  .subpage .intro-photos {
    min-height: 330px
  }

  .subpage .intro-large {
    height: 270px
  }

  .subpage .intro-small {
    height: 160px;
    width: 22%
  }
}

@media(max-width:768px) {
  .subpage .page-head-photo-layout {
    height: min(440px, 100svh)
  }

  .subpage .page-head-text-layout {
    height: 340px
  }

  .subpage .page-head .page-head-title {
    left: 12%;
    top: 145px
  }

  .subpage .page-head .page-en {
    font-size: 29px
  }

  .subpage .page-head .page-ja {
    font-size: 20px
  }

  .subpage .page-head-visual {
    left: 28%;
    right: 3%;
    top: 140px;
    bottom: 35px
  }

  .subpage .page-head-text-layout .page-head-title {
    left: 50%;
    top: 130px
  }

  .subpage .page-head .motif-one {
    width: 70px;
    left: 10px;
    top: 270px
  }

  .subpage .page-head .motif-three {
    width: 55px;
    top: 245px;
    right: 0
  }

  .subpage .page-head .motif-two {
    width: 75px;
    right: 15px;
    bottom: 10px
  }

  .subpage .page-head-text-layout .motif-one {
    top: 235px
  }

  .subpage .page-head-text-layout .motif-three {
    top: 170px
  }

  .subpage .page-head-text-layout .motif-two {
    bottom: 0
  }

  .subpage .intro {
    display: block;
    padding-block: 70px 60px;
    min-height: 0
  }

  .subpage .vertical-title {
    padding-top: 0;
    margin-bottom: 35px
  }

  .subpage .vertical-mark {
    position: static;
    margin: 0 auto 16px;
    width: 32px;
    height: 32px
  }

  .subpage .vertical-ja {
    writing-mode: horizontal-tb;
    font-size: 29px;
    letter-spacing: .08em;
  line-height: 1.6
}

  .subpage .vertical-title>.eyebrow {
    writing-mode: horizontal-tb;
    font-size: 21px;
  line-height: 1.6
}

  .subpage .intro-copy .lead-title {
    text-align: center;
    font-size: 28px
  }

  .subpage .intro-photos {
    min-height: 0
  }

  .subpage .intro-small {
    height: 135px;
    width: 27%
  }

  .subpage .intro-large {
    height: 230px;
    width: 65%;
    margin-top: 40px
  }

  .subpage body.on .intro-photos:before {
    width: 90px;
    height: 90px;
    left: -25px;
    top: 90px
  }

  .subpage body.on .intro-photos:after {
    width: 65px;
    height: 65px;
    right: -15px;
    top: 10px
  }

  .subpage .flow-row {
    gap: 25px;
    min-height: 0;
    padding-bottom: 45px
  }

  .subpage .flow-title {
    font-size: 22px
  }

  .subpage .feature-label .card-title {
    font-size: 21px
  }

  .subpage .cate_wrap {
    gap: 15px;
    margin-bottom: 55px
  }

  .subpage .section-top {
    text-align: center
  }

  .subpage .feature-card>p {
    text-align: left
  }

  .subpage .qa {
    padding: 28px 22px
  }

  .subpage .qa-question {
    font-size: 20px
  }
}

@media(max-width:576px) {
  .subpage .page-head-photo-layout {
    height: min(400px, 100svh)
  }

  .subpage .page-head-text-layout {
    height: 320px
  }

  .subpage .page-head .page-head-title {
    top: 145px;
    left: 9%;
    gap: 8px
  }

  .subpage .page-head .page-en {
    font-size: 25px;
    padding: 12px 5px;
    letter-spacing: 1px
  }

  .subpage .page-head .page-ja {
    font-size: 18px;
    padding: 10px 5px;
    letter-spacing: 3px
  }

  .subpage .page-head-visual {
    left: 29%;
    right: 3%;
    top: 145px;
    bottom: 35px
  }

  .subpage .page-head-text-layout .page-head-title {
    left: 50%;
    top: 130px
  }

  .subpage .page-head .motif-one {
    width: 55px;
    left: 0;
    top: 265px
  }

  .subpage .page-head .motif-two {
    width: 65px;
    right: 12px;
    bottom: 8px
  }

  .subpage .page-head .motif-three {
    width: 48px;
    right: 0;
    top: 245px
  }

  .subpage .page-head-text-layout .motif-one {
    top: 230px
  }

  .subpage .page-head-text-layout .motif-three {
    top: 170px
  }

  .subpage .page-head-text-layout .motif-two {
    bottom: 0
  }

  .subpage .intro {
    padding-block: 55px
  }

  .subpage .intro-copy .lead-title {
    font-size: 25px
  }

  .subpage .vertical-ja {
    font-size: 27px
  }

  .subpage .intro-photos {
    margin-top: 30px;
    gap: 18px
  }

  .subpage .intro-small {
    height: 110px
  }

  .subpage .intro-large {
    height: 180px
  }

  .subpage .feature-grid {
    grid-template-columns: 1fr;
    row-gap: 70px;
    margin-top: 60px
  }

  .subpage .feature-label {
    width: 40px
  }

  .subpage .feature-card {
    padding-left: 50px
  }

  .subpage .feature-card>img {
    height: 230px
  }

  .subpage .feature-label .card-title {
    font-size: 20px;
    line-height: 1.6
  }

  .subpage .feature-grid>.feature-card:last-child:nth-child(odd) {
    width: 100%;
    grid-column: auto
  }

  .subpage .feature-card>p {
    font-size: 14px
  }

  .subpage .cate_wrap {
    gap: 5px;
    padding: 15px 0;
    min-height: 70px
  }

  .subpage .cate_wrap a {
    font-size: 16px;
    padding: 8px 12px
  }

  .subpage .flow-number {
    width: 40px;
    height: 40px;
    line-height: max(1.6em, 40px);
    flex-basis: 40px;
    font-size: 19px
  }

  .subpage body.on .flow-row:after {
    left: 20px;
    top: 62px
  }

  .subpage .flow-row {
    gap: 20px
  }

  .subpage .flow-title {
    font-size: 21px
  }

  .subpage .flow-row>div p {
    font-size: 14px
  }

  .subpage .qa {
    padding: 24px 18px
  }

  .subpage .qa-question {
    font-size: 18px
  }

  .subpage .qa-answer {
    font-size: 14px
  }

  .subpage body.on .qa-question:after {
    width: 24px;
    height: 24px;
    line-height: max(1.6em, 23px);
    font-size: 17px
  }

  .subpage .webgene-pagination li {
    width: 36px;
    height: 36px
  }

  .subpage .webgene-pagination li p {
    line-height: max(1.6em, 34px);
    font-size: 14px
  }
}

.subpage .page-head-visual {
  -webkit-mask-image: url("data:image/svg+xml,%3Cns0%3Asvg%20xmlns%3Ans0%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20preserveAspectRatio%3D%22none%22%20overflow%3D%22visible%22%20style%3D%22display%3A%20block%3B%22%20width%3D%221300%22%20height%3D%22648%22%20viewBox%3D%220%200%201300%20648%22%20fill%3D%22none%22%3E%0A%3Cns0%3Apath%20id%3D%22Vector%22%20d%3D%22M650%20648C531.43%20648%20415.028%20645.957%20322.202%20642.244C217.707%20638.068%20142.923%20631.832%20105.936%20624.212C84.8071%20620.255%2066.9022%20612.676%2055.5486%20602.883C33.0886%20585.469%2020.1909%20535.711%2013.3241%20497.017C4.73425%20448.602%200%20387.154%200%20324.004C0%20260.854%204.6063%20201.042%2012.9744%20152.97C25.0702%2083.4861%2041.9941%2056.637%2054.0643%2046.3386C65.2218%2035.9995%2083.5787%2027.9725%20105.723%2023.788C135.818%2017.5439%20190.863%2012.3092%20269.272%208.23056C371.31%202.92262%20506.514%200%20649.974%200C768.629%200%20885.126%202.04339%20978.003%205.76384C1082.57%209.94832%201157.34%2016.1925%201194.24%2023.8287C1214.1%2027.6062%201231.27%2034.6807%201242.57%2043.7498C1265.79%2059.5433%201279.14%20109.456%201286.24%20148.557C1295.11%20197.387%201300%20259.69%201300%20323.996C1300%20388.302%201295.1%20450.865%201286.18%20499.744C1279.04%20538.894%201265.64%20588.815%201242.32%20604.405C1232.59%20612.123%201218.82%20618.326%201202.46%20622.34C1201.14%20622.673%201199.72%20623.015%201198.24%20623.349C1198.07%20623.382%201197.94%20623.422%201197.79%20623.455C1197.6%20623.504%201197.4%20623.544%201197.19%20623.585C1167.74%20630.106%201111.71%20635.552%201030.69%20639.761C928.63%20645.069%20793.426%20647.992%20649.983%20647.992L650%20648Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%3C%2Fns0%3Asvg%3E");
  mask-image: url("data:image/svg+xml,%3Cns0%3Asvg%20xmlns%3Ans0%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20preserveAspectRatio%3D%22none%22%20overflow%3D%22visible%22%20style%3D%22display%3A%20block%3B%22%20width%3D%221300%22%20height%3D%22648%22%20viewBox%3D%220%200%201300%20648%22%20fill%3D%22none%22%3E%0A%3Cns0%3Apath%20id%3D%22Vector%22%20d%3D%22M650%20648C531.43%20648%20415.028%20645.957%20322.202%20642.244C217.707%20638.068%20142.923%20631.832%20105.936%20624.212C84.8071%20620.255%2066.9022%20612.676%2055.5486%20602.883C33.0886%20585.469%2020.1909%20535.711%2013.3241%20497.017C4.73425%20448.602%200%20387.154%200%20324.004C0%20260.854%204.6063%20201.042%2012.9744%20152.97C25.0702%2083.4861%2041.9941%2056.637%2054.0643%2046.3386C65.2218%2035.9995%2083.5787%2027.9725%20105.723%2023.788C135.818%2017.5439%20190.863%2012.3092%20269.272%208.23056C371.31%202.92262%20506.514%200%20649.974%200C768.629%200%20885.126%202.04339%20978.003%205.76384C1082.57%209.94832%201157.34%2016.1925%201194.24%2023.8287C1214.1%2027.6062%201231.27%2034.6807%201242.57%2043.7498C1265.79%2059.5433%201279.14%20109.456%201286.24%20148.557C1295.11%20197.387%201300%20259.69%201300%20323.996C1300%20388.302%201295.1%20450.865%201286.18%20499.744C1279.04%20538.894%201265.64%20588.815%201242.32%20604.405C1232.59%20612.123%201218.82%20618.326%201202.46%20622.34C1201.14%20622.673%201199.72%20623.015%201198.24%20623.349C1198.07%20623.382%201197.94%20623.422%201197.79%20623.455C1197.6%20623.504%201197.4%20623.544%201197.19%20623.585C1167.74%20630.106%201111.71%20635.552%201030.69%20639.761C928.63%20645.069%20793.426%20647.992%20649.983%20647.992L650%20648Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%3C%2Fns0%3Asvg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%
}

.subpage body.on .page-head-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Cns0%3Asvg%20xmlns%3Ans0%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20preserveAspectRatio%3D%22none%22%20overflow%3D%22visible%22%20style%3D%22display%3A%20block%3B%22%20width%3D%221300%22%20height%3D%22648%22%20viewBox%3D%220%200%201300%20648%22%20fill%3D%22none%22%3E%0A%3Cns0%3Apath%20id%3D%22Vector%22%20d%3D%22M650%20648C531.43%20648%20415.028%20645.957%20322.202%20642.244C217.707%20638.068%20142.923%20631.832%20105.936%20624.212C84.8071%20620.255%2066.9022%20612.676%2055.5486%20602.883C33.0886%20585.469%2020.1909%20535.711%2013.3241%20497.017C4.73425%20448.602%200%20387.154%200%20324.004C0%20260.854%204.6063%20201.042%2012.9744%20152.97C25.0702%2083.4861%2041.9941%2056.637%2054.0643%2046.3386C65.2218%2035.9995%2083.5787%2027.9725%20105.723%2023.788C135.818%2017.5439%20190.863%2012.3092%20269.272%208.23056C371.31%202.92262%20506.514%200%20649.974%200C768.629%200%20885.126%202.04339%20978.003%205.76384C1082.57%209.94832%201157.34%2016.1925%201194.24%2023.8287C1214.1%2027.6062%201231.27%2034.6807%201242.57%2043.7498C1265.79%2059.5433%201279.14%20109.456%201286.24%20148.557C1295.11%20197.387%201300%20259.69%201300%20323.996C1300%20388.302%201295.1%20450.865%201286.18%20499.744C1279.04%20538.894%201265.64%20588.815%201242.32%20604.405C1232.59%20612.123%201218.82%20618.326%201202.46%20622.34C1201.14%20622.673%201199.72%20623.015%201198.24%20623.349C1198.07%20623.382%201197.94%20623.422%201197.79%20623.455C1197.6%20623.504%201197.4%20623.544%201197.19%20623.585C1167.74%20630.106%201111.71%20635.552%201030.69%20639.761C928.63%20645.069%20793.426%20647.992%20649.983%20647.992L650%20648Z%22%20fill%3D%22none%22%20stroke%3D%22%23d9a518%22%20stroke-width%3D%223%22%20%2F%3E%0A%3C%2Fns0%3Asvg%3E");
  background-size: 100% 100%;
  pointer-events: none
}

html.tk-gallery-view .page-head .motif {
  mix-blend-mode: screen
}

html.tk-gallery-view .page-head .motif img {
  mix-blend-mode: normal;
  filter: invert(1) hue-rotate(180deg)
}

/* Keep the vertical heading independent of the introduction's text row. */
.subpage .vertical-ja>span {
  display: inline !important
}

@media(min-width:1101px) {
  .subpage .intro {
    display: block;
    height: 946px;
    min-height: 946px;
    padding: 100px 0 0
  }

  .subpage .intro>.vertical-title {
    position: absolute;
    left: 100px;
    top: 100px;
    width: 120px;
    height: auto;
    padding-top: 60px;
    margin: 0;
    gap: 15px
  }

  .subpage .intro .vertical-ja {
    font-size: 40px;
    letter-spacing: 4px
  }

  .subpage .intro>.intro-copy {
    margin-left: 360px;
    width: calc(100% - 460px)
  }

  .subpage .intro>.intro-photos {
    position: absolute;
    left: 0;
    right: 0;
    top: 491px;
    height: 455px;
    min-height: 455px;
    margin: 0;
    padding: 0
  }

  .subpage .intro-small {
    margin-top: 40px
  }

  .subpage .intro-large {
    margin-top: 100px
  }

  .subpage .flow-row {
    padding: 0 0 45px;
    min-height: 130px
  }

  .subpage body.on .flow-row:after {
    top: 50px
  }
}

/* Shared subpage refinements verified on Rental. */
.subpage .intro-large {
  overflow: hidden;
  flex-shrink: 0
}

.subpage .intro-large>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px
}

.subpage body.on .intro-photos:before,
.subpage body.on .intro-photos:after {
  z-index: 2
}

.subpage .feature-number {
  width: 56px;
  height: 56px;
  line-height: max(1.6em, 56px);
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20fill%3D%22%2366943f%22%20d%3D%22M32%200C41%200%2044%209%2049%2012C55%2015%2064%2019%2064%2032C64%2042%2055%2046%2051%2050C47%2055%2043%2064%2032%2064C21%2064%2017%2055%2013%2051C8%2047%200%2043%200%2032C0%2021%208%2017%2013%2013C17%208%2021%200%2032%200Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 1px
}

.subpage .feature-label {
  width: 56px
}

.subpage .flow-number {
  font-size: 27px;
  background: #1c1e29;
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 2px;
  font-weight: 400
}

@media(min-width:1101px) {
  .subpage .intro>.vertical-title {
    left: 85px
  }

  .subpage .vertical-mark {
    left: calc(50% - 13px)
  }

  .subpage body.on .intro-photos:before {
    top: 170px
  }

  .subpage .feature-label {
    top: -45px
  }
}

@media(max-width:1100px) {
  .subpage .feature-number {
    width: 48px;
    height: 48px;
    line-height: max(1.6em, 48px);
    font-size: 24px
  }

  .subpage .feature-label {
    width: 48px
  }
}

@media(max-width:768px) {
  .subpage .feature-number {
    width: 44px;
    height: 44px;
    line-height: max(1.6em, 44px);
    font-size: 23px
  }

  .subpage .feature-label {
    width: 44px
  }
}

@media(max-width:576px) {
  .subpage .flow-number {
    font-size: 24px
  }
}

/* One shared TOP related-link component for every page. */
.related-links>a {
  border-radius: 60px;
  color: #ffffff;
  isolation: isolate
}

.related-en {
  writing-mode: horizontal-tb;
  left: 50%;
  top: auto;
  bottom: 14%;
  transform: translateX(-50%);
  font-size: 15px;
  letter-spacing: .18em;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff
}

.related-ja {
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .12em
}

body.on .related-ja:before,
body.on .related-ja:after {
  content: '❖';
  position: absolute;
  font-family: var(--serif);
  left: 50%;
  transform: translateX(-50%);
  width: 115px;
  text-align: center;
  font-size: 24px;
  line-height: 1.6;
  writing-mode: horizontal-tb
}

body.on .related-ja:before {
  top: -60px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6)
}

body.on .related-ja:after {
  bottom: -110px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.6)
}

.related-links {
  position: relative;
  isolation: isolate
}

body.on .related-links:before,
body.on .related-links:after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 400px;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), conic-gradient(rgba(134, 172, 102, .2) 25%, #ffffff 0 50%, rgba(134, 172, 102, .2) 0 75%, #ffffff 0) repeat;
  background-size: auto, 40px 40px;
  pointer-events: none
}

body.on .related-links:before {
  top: -150px;
  left: -30px
}

body.on .related-links:after {
  bottom: -60px;
  right: -30px
}

@media(min-width:1101px) {
  .related-links {
    width: 95.833333%;
    max-width: none;
    height: calc(640 * var(--u));
    padding: 0;
    gap: calc(20 * var(--u))
  }

  .related-links>a {
    height: calc(580 * var(--u));
    border-radius: calc(60 * var(--u))
  }

  .related-links>a:nth-child(2) {
    margin-top: calc(60 * var(--u))
  }

  .related-ja {
    font-size: max(14px, calc(34 * var(--u)));
    line-height: max(1.6em, calc(48 * var(--u)));
    top: calc(150 * var(--u));
    letter-spacing: calc(6 * var(--u))
  }

  .related-en {
    font-size: max(14px, calc(15 * var(--u)));
    bottom: calc(95 * var(--u))
  }

  body.on .related-ja:before,
  body.on .related-ja:after {
    width: calc(115 * var(--u));
    font-size: max(14px, calc(24 * var(--u)))
  }

  body.on .related-ja:before {
    top: calc(-60 * var(--u));
    padding-bottom: calc(20 * var(--u))
  }

  body.on .related-ja:after {
    bottom: calc(-110 * var(--u));
    padding-top: calc(24 * var(--u))
  }
}

@media(max-width:1100px) {
  .related-links {
    width: calc(100% - 40px);
    max-width: none
  }

  .related-ja {
    top: 22%;
    font-size: 27px;
    line-height: 1.6
  }

  .related-en {
    bottom: 15%;
    font-size: 14px
  }

  body.on .related-ja:before {
    top: -40px;
    padding-bottom: 12px;
    width: 75px;
    font-size: 18px
  }

  body.on .related-ja:after {
    bottom: -70px;
    padding-top: 15px;
    width: 75px;
    font-size: 18px
  }
}

@media(max-width:900px) {
  .related-ja {
    font-size: 24px
  }

  .related-en {
    font-size: 14px
  }
}

@media(max-width:576px) {
  .related-links>a {
    height: 410px;
    border-radius: 45px
  }

  .related-ja {
    font-size: 30px;
    top: 24%;
    line-height: 1.6
  }

  .related-en {
    bottom: 16%;
    font-size: 14px
  }

  body.on .related-ja:before {
    top: -50px;
    width: 100px;
    font-size: 21px;
    padding-bottom: 15px
  }

  body.on .related-ja:after {
    bottom: -80px;
    width: 100px;
    font-size: 21px;
    padding-top: 20px
  }

  body.on .related-links:before,
  body.on .related-links:after {
    width: 120px;
    height: 220px
  }
}

@media(max-width:360px) {
  .related-links>a {
    height: 390px
  }
}

.related-links {
  margin: 80px auto
}

@media(max-width:768px) {
  .related-links {
    margin-block: 55px
  }
}

.related-links.wrap {
  max-width: none;
  width: 95.833333%
}

@media(max-width:1100px) {
  .related-links.wrap {
    width: calc(100% - 40px)
  }
}

@media(max-width:576px) {
  .related-links.wrap {
    width: calc(100% - 50px)
  }
}

/* Shared related cards: translucent photos, without corner patterns. */
html body.on .related-links:before,
html body.on .related-links:after {
  content: none;
  display: none
}

html .related-links>a {
  background: #1b1b1b
}

html body.on .related-links>a>img {
  opacity: 1;
  filter: brightness(.65)
}

html body.on .related-links>a:hover>img,
html body.on .related-links>a:focus-visible>img {
  opacity: 1;
  filter: brightness(.77)
}

/* Match TOP wrap width at every breakpoint. */
html .related-links.wrap {
  width: 83.333333%;
  max-width: none;
  margin-inline: auto
}

/* Gold light on the artwork, matching the existing work-detail treatment. */
.page-gallery .art-crop,
.page-gallery-detail .product-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --light-x: 50%;
  --light-y: 50%
}

.page-gallery body.on .art-crop:before,
.page-gallery-detail body.on .product-photo:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at var(--light-x) var(--light-y), rgba(255, 232, 160, .24), rgba(224, 200, 134, .08) 24%, rgba(224, 200, 134, 0) 55%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .35s ease
}

.page-gallery body.on .art-crop:after,
.page-gallery-detail body.on .product-photo:after {
  content: '';
  position: absolute;
  inset: -30%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 239, 189, 0) 38%, rgba(255, 239, 189, .22) 49%, rgba(255, 239, 189, 0) 60%);
  transform: translateX(-65%);
  opacity: 0;
  transition: transform .8s ease, opacity .35s ease
}

.page-gallery body.on .tk-gallery-work:hover .art-crop:before,
.page-gallery body.on .tk-gallery-work:focus-visible .art-crop:before,
.page-gallery-detail body.on .product-photo:hover:before {
  opacity: 1
}

.page-gallery body.on .tk-gallery-work:hover .art-crop:after,
.page-gallery body.on .tk-gallery-work:focus-visible .art-crop:after,
.page-gallery-detail body.on .product-photo:hover:after {
  opacity: 1;
  transform: translateX(40%)
}

@media(prefers-reduced-motion:reduce) {

  .page-gallery body.on .art-crop:after,
  .page-gallery-detail body.on .product-photo:after {
    transition: none;
    transform: none
  }
}

/* Phrase wrapping belongs in CSS; span HTML accepts color only. */
h1>span,
h2>span,
h3>span,
h4>span,
h5>span,
h6>span,
.page-ja>span {
  display: inline-block
}

.hero-title>span {
  display: block
}

/* Center fixed-size controls independently of their text line height. */
.flow-number,
.feature-number {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.6
}

.webgene-pagination li>a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%
}

@supports(-moz-appearance:none) {
  .process-photo-track {
    animation: none !important
  }

  .hero-photo {
    transition: none !important
  }

  .archive-slide>img {
    transition: none !important
  }
}

/* Final shared size and geometry requirements. */
html.home-page .wrap,
html.subpage .wrap {
  max-width: min(1280px, calc(100% - 40px))
}

html.subpage .page-head {
  max-width: none;
  margin: 0 auto;
  --u: calc(100vw / 1440)
}

.legal-text>p,
.legal-text>a,
.legal-link>p {
  display: inline;
  font-size: inherit;
  line-height: inherit
}

.more,
.send-bt,
.text-more {
  white-space: nowrap
}

@media(max-width:1100px) {
  html.subpage .page-head .page-head-title {
    top: 125px
  }

  html.subpage .page-head-text-layout .page-head-title {
    top: 120px
  }
}

@media(max-width:768px) {
  html.subpage .page-head .page-head-title {
    top: 130px
  }

  html.subpage .page-head-text-layout .page-head-title {
    top: 115px
  }
}

@media(max-width:900px) {
  .txt-left-tb {
    text-align: left !important
  }
}

/* Shared card breakpoints and centered remainder. */
@media(min-width:1081px) {

  .three-grid,
  .tk-gallery-works {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(min-width:576px) and (max-width:1080px) {

  .three-grid,
  .tk-gallery-works {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:575px) {

  .three-grid,
  .tk-gallery-works {
    grid-template-columns: 1fr
  }
}

@media(max-width:768px) {
  .site-footer .footer-note {
    margin-inline: auto;
    justify-self: center
  }
}

@media(min-width:1081px) {

  .subpage .three-grid,
  .subpage .tk-gallery-works,
  .home-page .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(min-width:576px) and (max-width:1080px) {

  .subpage .three-grid,
  .subpage .tk-gallery-works,
  .home-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:575px) {

  .subpage .three-grid,
  .subpage .tk-gallery-works,
  .home-page .gallery-grid {
    grid-template-columns: 1fr
  }
}

.menu-links .nav-en {
  position: relative
}

body.on .menu-links>a .nav-en:before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #66943f;
  transform: translateY(-50%) scale(.4);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  pointer-events: none
}

body.on .menu-links>a:hover .nav-en:before,
body.on .menu-links>a:focus-visible .nav-en:before {
  opacity: 1;
  transform: translateY(-50%) scale(1.3)
}

.site-header .brand:hover>img,
.site-header .brand:focus-visible>img {
  transform: translateY(-3px) rotate(3deg);
  transition: transform .35s ease
}

.archive-grid .webgene-item>a,
.tk-gallery-work,
.voice-case-card {
  transition: transform .35s ease
}

.archive-grid .webgene-item>a:hover,
.tk-gallery-work:hover,
.voice-case-card:hover {
  transform: translateY(-4px)
}

@media(prefers-reduced-motion:reduce) {

  .archive-grid .webgene-item>a:hover,
  .tk-gallery-work:hover,
  .voice-case-card:hover {
    transform: none
  }

  .site-header .brand:hover>img {
    transform: none
  }
}

@supports(-moz-appearance:none) {

  .site-header .brand:hover>img,
  .site-header .brand:focus-visible>img {
    transform: none !important
  }
}

/* The shared Works heading and list link remain on one row. */
.works-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 60px;
  text-align: left
}

.works-heading>.section-title {
  margin: 0;
  text-align: left
}

.works-heading>.more {
  flex-shrink: 0;
  margin: 0;
  width: 280px
}

@media(max-width:768px) {
  .works-heading {
    gap: 15px;
    margin-bottom: 45px
  }

  .works-heading>.section-title {
    text-align: left
  }

  .works-heading>.more {
    width: 210px
  }
}

@media(max-width:575px) {
  .works-heading {
    gap: 10px
  }

  .works-heading .section-title-en {
    font-size: 34px
  }

  .works-heading .section-title-ja {
    font-size: 20px
  }

  .works-heading>.more {
    width: 150px;
    font-size: 14px;
    min-height: 48px
  }
}

body.on .motif {
  animation: motif-drift 9s ease-in-out infinite;
  translate: var(--motif-x, 0px) var(--motif-y, 0px);
  transition: translate .6s ease
}

body.on .motif-two {
  animation-delay: -3s
}

body.on .motif-three {
  animation-delay: -6s
}

@keyframes motif-drift {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-7px)
  }
}

@media(prefers-reduced-motion:reduce) {
  body.on .motif {
    animation: none;
    translate: none;
    transition: none
  }
}

@supports(-moz-appearance:none) {
  body.on .motif {
    animation: none;
    translate: none;
    transition: none
  }
}

/* Keep the two-column menu usable at normal phone heights. */
@media(max-width:575px) {
  .site-menu {
    padding: 115px 25px 30px;
    overflow-y: auto
  }

  .menu-links {
    gap: 8px 22px
  }

  .menu-links>a {
    padding: 7px 0
  }

  .menu-links .nav-en {
    font-size: clamp(16px, 4.6vw, 20px);
    letter-spacing: .015em;
    line-height: 1.6;
    white-space: nowrap
  }

  .menu-links .nav-ja {
    font-size: 14px;
    line-height: 1.6
  }
}

@media(max-height:550px) {
  .site-menu {
    padding-top: 90px;
    overflow-y: auto
  }
}

html.subpage .archive-detail.wrap {
  max-width: min(1280px, 100%)
}

.page-contact .contact-wrap.wrap {
  max-width: 1000px
}

.page-legal .legal-wrap.wrap {
  max-width: 1000px
}

.page-news .news-index.wrap {
  max-width: none
}

/* Center both introduction photos when the composition stacks on phones. */
@media(max-width:575px) {
  .subpage .intro-photos {
    flex-direction: column;
    align-items: center;
    gap: 35px;
    min-height: 0;
    height: auto
  }

  .subpage .intro-small {
    width: min(204px, 65%);
    height: auto;
    aspect-ratio: 1.04;
    margin-top: 0
  }

  .subpage .intro-large {
    width: 100%;
    height: auto;
    aspect-ratio: 2;
    margin-top: 0
  }

  .subpage body.on .intro-photos:before {
    left: calc(50% - 140px);
    top: 130px
  }

  .subpage body.on .intro-photos:after {
    right: -10px;
    top: 210px
  }
}

.subpage .intro-copy>p {
  font-size: 16px
}

@media(max-width:576px) {
  .subpage .intro-copy>p {
    font-size: 14px
  }
}

.site-footer .footer-note {
  aspect-ratio: 100/21.6286;
  height: auto
}

.site-footer .footer-note>img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

/* Shared related cards: independent ornament rows prevent text collisions. */
html .related-links {
  height: auto;
  align-items: start;
  gap: 20px;
  padding-bottom: 40px
}

html .related-links>a {
  height: clamp(420px, 40.3vw, 620px)
}

html .related-links .related-caption {
  position: absolute;
  inset: 9% 8% 7%;
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr) 30px 42px;
  gap: 16px;
  justify-items: center;
  align-items: center
}

html .related-links .related-ja {
  position: static;
  transform: none;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  align-self: center;
  white-space: nowrap;
  margin: 0
}

html .related-links .related-en {
  position: static;
  transform: none;
  writing-mode: horizontal-tb;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 1px;
  white-space: normal;
  text-align: center;
  margin: 0;
  color: #ffffff
}

html body.on .related-links .related-ja:before,
html body.on .related-links .related-ja:after {
  content: none;
  display: none
}

html body.on .related-caption:before,
html body.on .related-caption:after {
  content: '❖';
  display: block;
  width: 100px;
  font-size: 22px;
  line-height: 1.6;
  text-align: center;
  color: #ffffff;
  font-family: var(--serif)
}

html body.on .related-caption:before {
  grid-row: 1;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  padding-bottom: 8px
}

html body.on .related-caption:after {
  grid-row: 4;
  border-top: 1px solid rgba(255, 255, 255, .6);
  padding-top: 8px
}

html .related-caption>.related-ja {
  grid-row: 2
}

html .related-caption>.related-en {
  grid-row: 3
}

@media(max-width:900px) {
  html .related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 20px
  }

  html .related-links>a,
  html .related-links>a:nth-child(2) {
    height: clamp(380px, 52vw, 480px);
    margin-top: 0
  }

  html .related-links>a:last-child:nth-child(odd) {
    grid-column: 1/-1;
    width: calc((100% - 20px)/2);
    justify-self: center
  }

  html .related-links .related-caption {
    inset: 7% 6%;
    grid-template-rows: 36px minmax(0, 1fr) 44px 36px;
    gap: 10px
  }

  html .related-links .related-ja {
    font-size: 26px;
    letter-spacing: 1px
  }
}

@media(max-width:575px) {
  html .related-links {
    gap: 20px 14px
  }

  html .related-links>a,
  html .related-links>a:nth-child(2) {
    height: 380px;
    border-radius: 30px
  }

  html .related-links>a:last-child:nth-child(odd) {
    width: calc((100% - 14px)/2)
  }

  html .related-links .related-ja {
    font-size: 21px;
    letter-spacing: 1px
  }

  html .related-links .related-en {
    font-size: 14px;
    letter-spacing: 0;
    overflow-wrap: anywhere
  }

  html body.on .related-caption:before,
  html body.on .related-caption:after {
    width: 65px;
    font-size: 18px
  }
}

html .related-links>a {
  height: clamp(500px, 40.3vw, 620px)
}

html .related-links .related-ja {
  align-self: start
}

@media(max-width:900px) {

  html .related-links>a,
  html .related-links>a:nth-child(2) {
    height: 480px
  }
}

@media(max-width:575px) {

  html .related-links>a,
  html .related-links>a:nth-child(2) {
    height: 420px
  }
}

/* Compact related cards at two-column widths. */
@media(max-width:900px) {

  html .related-links>a,
  html .related-links>a:nth-child(2) {
    height: clamp(340px, 50vw, 460px)
  }

  html .related-links .related-caption {
    inset: 5% 6%;
    grid-template-rows: 30px minmax(0, 1fr) 46px 30px;
    gap: 8px
  }

  html .related-links .related-ja {
    font-size: clamp(16px, 2.8vw, 24px);
    letter-spacing: 0
  }

  html body.on .related-caption:before,
  html body.on .related-caption:after {
    font-size: 16px;
    line-height: 1.6;
    width: 70px;
    padding-block: 2px
  }
}

/* Responsive bilingual headings share one centered axis. */
@media(max-width:900px) {
  html body .section-title {
    text-align: center !important
  }

  html body .section-title>.section-title-en,
  html body .section-title>.section-title-ja {
    display: block;
    width: 100%;
    text-align: center !important
  }

  html body.on .section-title:before {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%)
  }

  .section-top>div:not(.section-title)>p {
    text-align: left
  }

  .section-top .lead-title {
    text-align: center
  }
}

@media(max-width:768px) {
  html.subpage .feature-grid.three-grid {
    grid-template-columns: 1fr;
    row-gap: 75px
  }

  html.subpage .feature-grid>.feature-card,
  html.subpage .feature-grid>.feature-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch
  }
}

/* Related navigation stacks on small screens. */
@media(max-width:576px) {
  html .related-links {
    grid-template-columns: 1fr;
    gap: 25px
  }

  html .related-links>a,
  html .related-links>a:nth-child(2),
  html .related-links>a:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    max-width: 360px;
    justify-self: center;
    height: 420px;
    margin-top: 0
  }

  html .related-links .related-ja {
    font-size: 24px
  }
}

/* FV ornaments display their original artwork without visual effects. */
html body.on .home-hero .motif,
html body.on .page-head .motif,
html body.on .home-hero .motif img,
html body.on .page-head .motif img {
  opacity: 1 !important;
  filter: none !important;
  animation: none !important;
  transform: none !important;
  translate: none !important;
  clip-path: none !important;
  transition: none !important
}

/* Match the reference: transparent ornament backgrounds and a pale FV checker. */
html body.on .home-hero .motif,
html body.on .page-head .motif {
  mix-blend-mode: multiply
}

html body.on .home-hero .motif img,
html body.on .page-head .motif img {
  mix-blend-mode: normal
}

html .home-hero,
html.subpage .page-head {
  background-image: linear-gradient(transparent, transparent), conic-gradient(rgba(134, 172, 102, .2) 25%, #ffffff 0 50%, rgba(134, 172, 102, .2) 0 75%, #ffffff 0)
}

/* Use FV decorative images as supplied. */
html body.on .home-hero .motif,
html body.on .page-head .motif,
html body.on .home-hero .motif img,
html body.on .page-head .motif img {
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  filter: none !important
}

/* Shared responsive intro and feature cards across service pages. */
@media(max-width:768px) {

  html.subpage .feature-grid>.feature-card,
  html.subpage .feature-grid>.feature-card:last-child:nth-child(odd) {
    width: 100%;
    max-width: 440px;
    justify-self: center
  }

  html.subpage .feature-card>img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain
  }

  html.subpage .intro {
    display: flex;
    flex-direction: column;
    row-gap: 0
  }

  html.subpage .intro>.vertical-title {
    order: 0
  }

  html.subpage .intro>.intro-photos {
    order: 1;
    width: 100%;
    margin-top: 0;
    margin-bottom: 28px
  }

  html.subpage .intro>.intro-copy {
    order: 2;
    width: 100%;
    padding-top: 0;
    margin-top: 0
  }
}

/* Gallery cards reserve an independent column for vertical labels. */
html body :is(.home-gallery, .gallery-reference) :is(.gallery-grid, .tk-gallery-works) a.gallery-work-layout {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  position: relative;
  min-width: 0
}

html body :is(.home-gallery, .gallery-reference) :is(.gallery-grid, .tk-gallery-works) a.gallery-work-layout>.gallery-label {
  position: static;
  grid-column: 1;
  grid-row: 1;
  gap: 5px;
  width: 65px
}

html body a.gallery-work-layout>.gallery-label>.category,
html body a.gallery-work-layout>.gallery-label>.card-title {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal
}

html body :is(.home-gallery, .gallery-reference) :is(.gallery-grid, .tk-gallery-works) a.gallery-work-layout>.gallery-art {
  grid-column: 2;
  grid-row: 1;
  margin-left: 0;
  width: 100%;
  min-width: 0
}

html body :is(.home-gallery, .gallery-reference) :is(.gallery-grid, .tk-gallery-works) a.gallery-work-layout>.gallery-caption {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  margin: 0
}

/* Shared News hover fades only the background. */
html.motion-ready body.on .news-list article a {
  background-image: none;
  transition: background-color .5s ease-in-out, opacity 1.25s ease, filter 1.25s ease, transform 1.25s ease
}

html body .news-list article a:hover,
html body .news-list article a:focus-visible {
  background-color: #edf2e8
}

@media(prefers-reduced-motion:reduce) {
  html.motion-ready body.on .news-list article a {
    transition: none
  }
}

/* Leave independent space for the arrow in compact Works buttons. */
@media(max-width:768px) {
  html body .works-heading>.more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 38px 12px 18px
  }

  html body .works-heading>.more>p {
    padding: 0;
    white-space: nowrap
  }

  html body.on .works-heading>.more:after {
    right: 15px;
    width: 16px;
    text-align: center
  }
}

@media(max-width:576px) {
  html body .works-heading>.more {
    width: 175px;
    min-height: 48px
  }
}

/* Avoid doubling section spacing below stacked introductions. */
@media(max-width:768px) {
  html.subpage .intro {
    padding-bottom: 25px
  }

  html.subpage .intro+.content-section {
    padding-top: 45px
  }
}

/* Center all three hamburger strokes independently of responsive gaps. */
html body .menu-toggle {
  position: relative
}

html body .menu-toggle .menu-line {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 2px
}

html body .menu-toggle .menu-line:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-8px)
}

html body .menu-toggle .menu-line:nth-child(3) {
  transform: translate(-50%, -50%) translateY(8px)
}

html.menu-open body .menu-toggle .menu-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg)
}

html.menu-open body .menu-toggle .menu-line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg)
}

@media(max-width:576px) {
  html body .menu-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px
  }

  html body .menu-links .nav-en {
    font-size: 16px;
    letter-spacing: 0;
    white-space: nowrap
  }

  html body.on .menu-links>a:after {
    content: none;
    display: none
  }
}

/* Center FAQ plus/minus icons in their circles. */
html.subpage body.on .qa-question:after {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1.6;
  padding: 0;
  text-indent: 0;
  font-size: 18px;
  content: '+'
}

html.subpage body.on .qa.is-open .qa-question:after {
  content: '−'
}

@media(max-width:576px) {
  html.subpage body.on .qa-question:after {
    font-size: 15px
  }
}

/* Balance the common contact banner around its text and lower wave ornament. */
html body .site-footer .footer-contact {
  width: 100%;
  max-width: 895px;
  height: auto;
  min-height: 267px
}

html body .site-footer .footer-contact>a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 267px;
  padding: 40px 55px 70px
}

html body .site-footer .footer-contact-inner {
  width: 100%;
  padding: 0;
  text-align: center
}

@media(max-width:768px) {
  html body .site-footer .footer-contact {
    min-height: 0
  }

  html body .site-footer .footer-contact>a {
    min-height: 0;
    padding: 35px 25px
  }
}

/* 関連リンクの文字はホバー時も白を維持する。 */
html body .related-links > a,
html body .related-links > a:hover,
html body .related-links > a:focus,
html body .related-links > a:active,
html body .related-links > a .related-caption,
html body .related-links > a .related-ja,
html body .related-links > a .related-en {
  color: #ffffff;
}

/* 縦書き見出し：英字を左、日本語と飾りを同じ軸に揃える。 */
@media (min-width: 901px) {
  html.subpage body .intro > .vertical-title {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: 40px max-content;
    justify-content: center;
    align-content: start;
    align-items: start;
    gap: 8px 6px;
    height: auto;
    padding-top: 0;
  }

  html.subpage body .intro .vertical-mark {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  html.subpage body .intro .vertical-title > .eyebrow {
    grid-column: 1;
    grid-row: 2;
    writing-mode: vertical-rl;
    width: max-content;
    height: max-content;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    letter-spacing: .05em;
  line-height: 1.2
}

  html.subpage body .intro .vertical-ja {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    width: max-content;
    height: max-content;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    font-size: 36px;
    letter-spacing: 0;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  line-height: 1.2
}
}

/* 番号飾りの中心に、日本語の縦一列を揃える。 */
html.subpage body .feature-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

html.subpage body .feature-label .feature-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

html.subpage body .feature-label .card-title {
  flex-shrink: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  width: max-content;
  height: max-content;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  font-size: 23px;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.2
}

@media (max-width: 1100px) {
  html.subpage body .feature-label .card-title {
    font-size: 21px;
  }
}

@media (max-width: 900px) {
  html.subpage body .intro > .vertical-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: auto;
    padding-top: 0;
  }

  html.subpage body .intro .vertical-mark {
    position: static;
    margin: 0;
  }

  html.subpage body .intro .vertical-title > .eyebrow,
  html.subpage body .intro .vertical-ja {
    writing-mode: horizontal-tb;
    width: auto;
    height: auto;
    margin: 0;
    max-width: 100%;
    text-align: center;
  line-height: 1.6
}
}

@media (max-width: 576px) {
  html.subpage body .feature-label .card-title {
    font-size: 20px;
  }
}

/* 縦書きの行間はこの共通ファイルで管理する。 */
html.home-page body .concept-vertical h2,
html.home-page body .gallery-label > .category,
html.home-page body .gallery-label > .card-title,
html.home-page body .home-service .service-label > p,
html.home-page body .home-service .service-label > h3,
html.page-gallery body .gallery-label > .category,
html.page-gallery body .gallery-label > .card-title,
html.page-about-nishijin body .history-vertical h2,
html.page-japanese-style body .kimono-types-section .card-title,
html.page-company body .company-vertical,
html.page-company body .message-vertical,
html.page-company body .message > .message-vertical,
html body .txt-vertical {
  line-height: 1.2;
}

@media (max-width: 1280px) {
  html body .txt-vertical-lt {
    line-height: 1.2;
  }
}

@media (max-width: 1080px) {
  html body .txt-vertical-lt-2 {
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  html body .txt-vertical-tb {
    line-height: 1.2;
  }
}

@media (max-width: 576px) {
  html body .txt-vertical-sp {
    line-height: 1.2;
  }

  html.home-page body .home-service .service-label > p,
  html.home-page body .home-service .service-label > h3 {
    line-height: 1.6;
  }
}

@media (max-width: 900px) {
  html.page-company body .company-vertical,
  html.page-company body .message-vertical,
  html.page-company body .company-intro > .company-vertical,
  html.page-company body .message > .message-vertical {
    line-height: 1.6;
  }
}

/* ABOUT導入：レンタル・オーダー・西陣織・和装で共通化。 */
html.subpage body .intro {
  height: auto !important;
  min-height: 0 !important;
}

html.subpage body .intro > .intro-copy {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

html.subpage body .intro .vertical-ja > span {
  display: inline !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

html.subpage body .intro > .intro-photos {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  height: auto !important;
  min-height: 0 !important;
}

@media (min-width: 901px) {
  html.subpage body .intro {
    display: grid !important;
    grid-template-columns: minmax(140px, 20%) minmax(0, 1fr) !important;
    gap: 32px 60px !important;
    padding: 100px 0 80px !important;
    align-items: start !important;
  }

  html.subpage body .intro > .vertical-title {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: start !important;
    display: grid !important;
    grid-template-columns: max-content max-content !important;
    grid-template-rows: 40px max-content !important;
    gap: 8px 6px !important;
    width: max-content !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html.subpage body .intro .vertical-mark {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
  }

  html.subpage body .intro .vertical-title > .eyebrow {
    grid-column: 1 !important;
    grid-row: 2 !important;
    writing-mode: vertical-rl !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-size: 20px !important;
    letter-spacing: .05em !important;
  }

  html.subpage body .intro .vertical-ja {
    grid-column: 2 !important;
    grid-row: 2 !important;
    writing-mode: vertical-rl !important;
    width: max-content !important;
    height: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    letter-spacing: -.25em !important;
    white-space: nowrap !important;
  }

  html.subpage body .intro > .intro-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  html.subpage body .intro > .intro-photos {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
  }
}

@media (max-width: 900px) {
  html.subpage body .intro {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 48px 0 !important;
  }

  html.subpage body .intro > .vertical-title {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    order: 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 0 28px !important;
  }

  html.subpage body .intro .vertical-mark {
    position: static !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
  }

  html.subpage body .intro .vertical-title > .eyebrow,
  html.subpage body .intro .vertical-ja {
    writing-mode: horizontal-tb !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
    letter-spacing: .05em !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html.subpage body .intro .vertical-ja {
    font-size: 26px !important;
  }

  html.subpage body .intro > .intro-photos {
    order: 1 !important;
    width: 100% !important;
    margin: 0 0 28px !important;
  }

  html.subpage body .intro > .intro-copy {
    order: 2 !important;
    padding: 0 !important;
  }

  html.subpage body .intro-copy .lead-title {
    text-align: center !important;
  }

  html.subpage body .intro-copy > p {
    text-align: left !important;
  }
}

/* アーカイブ：見出しと説明を左右に配置する。 */
html.page-archive body .section-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 48px !important;
}

html.page-archive body .section-top > .section-title {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

html.page-archive body .section-top .section-title-en {
  width: auto !important;
  font-size: clamp(32px, 3.6vw, 52px) !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

html.page-archive body .section-top .section-title-ja {
  width: auto !important;
  margin-top: 10px !important;
  font-size: 22px !important;
  line-height: 1.6 !important;
  text-align: left !important;
}

html.page-archive body.on .section-top > .section-title:before {
  left: 0 !important;
  right: auto !important;
  transform: none !important;
}

html.page-archive body .section-top > div:last-child {
  width: 100% !important;
  min-width: 0 !important;
}

html.page-archive body .section-top .lead-title {
  margin: 0 0 10px !important;
  font-size: clamp(22px, 2vw, 28px) !important;
  line-height: 1.6 !important;
  text-align: left !important;
}

/* CMSのページャーをカード列から独立させる。 */
html.page-archive body .webgene-pagination {
  display: flex !important;
  grid-column: 1 / -1 !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 60px 0 0 !important;
  padding: 0 !important;
}

html.page-archive body .webgene-pagination ul {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html.page-archive body .webgene-pagination li {
  display: block !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html.page-archive body .webgene-pagination li > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 1px solid #cccccc !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #777777 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: background-color .35s ease, color .35s ease;
}

html.page-archive body .webgene-pagination li.selected > a,
html.page-archive body .webgene-pagination li > a:hover {
  border-color: #1c1e29 !important;
  background: #1c1e29 !important;
  color: #ffffff !important;
}

html.page-archive body .webgene-pagination a > p {
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
}

/* 完了ページは長い縦書きタイトルを含めてヘッダーの高さを確保する。 */
html.page-thanks body .page-head {
  height: auto !important;
  min-height: 0 !important;
  padding: 120px 20px 40px !important;
}

html.page-thanks body .page-head .page-head-title {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: max-content !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

@media (max-width: 900px) {
  html.page-archive body .section-top {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  html.page-archive body .section-top > .section-title,
  html.page-archive body .section-top .section-title-en,
  html.page-archive body .section-top .section-title-ja {
    text-align: center !important;
  }

  html.page-archive body.on .section-top > .section-title:before {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 576px) {
  html.page-archive body .webgene-pagination {
    margin-top: 36px !important;
  }

  html.page-thanks body .page-head {
    padding: 110px 20px 32px !important;
  }
}

/* 歴史の図版は元の比率で表示し、縦見出し専用の列を確保する。 */
html.page-about-nishijin body .history-block {
  display: grid !important;
  grid-template-columns: 44% minmax(0, 1fr) 64px !important;
  gap: 4% !important;
  align-items: start !important;
  padding-right: 4% !important;
}
html.page-about-nishijin body .history-block > img {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}
html.page-about-nishijin body .history-block > div:not(.history-vertical) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}
html.page-about-nishijin body .history-block > .history-vertical {
  grid-column: 3 !important;
  grid-row: 1 !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  width: 64px !important;
  padding: 0 !important;
  margin-top: 45px !important;
}
html.page-about-nishijin body .history-vertical h2 {
  font-size: 32px !important;
  line-height: 1.2 !important;
  letter-spacing: -.15em !important;
  margin: 0 auto !important;
}

/* アーカイブ詳細：書影は左端、解説は右。一般作品用の余白を解除する。 */
html.page-archive-detail body .archive-detail:has(.archive-detail-top) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 80px !important;
}
html.page-archive-detail body .archive-detail-top {
  display: grid !important;
  grid-template-columns: 45.833333% minmax(0, 1fr) !important;
  gap: 6% !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
}
html.page-archive-detail body .archive-gallery .book-image {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
html.page-archive-detail body .archive-gallery .archive-slide {
  position: relative !important;
  inset: auto !important;
  grid-area: 1 / 1 !important;
  width: 100% !important;
  height: auto !important;
}
html.page-archive-detail body .archive-slide:not(:has(img[src]:not([src=""]))) {
  display: none !important;
}
html.page-archive-detail body .archive-gallery .archive-slide > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
html.page-archive-detail body .archive-contents-top {
  min-width: 0 !important;
  padding: 60px 50px 0 0 !important;
}
html.page-archive-detail body .archive-detail-toptxt {
  display: none !important;
}
html.page-archive-detail body .archive-contents-top > .archive-detail-txt {
  display: block !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
}
html.page-archive-detail body .archive-detail-txt .work-description {
  margin: 24px 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html.page-archive-detail body .archive-detail-txt .lead-title {
  font-size: 24px !important;
  margin: 0 0 16px !important;
}
html.page-archive-detail body .archive-detail-txt p + p {
  margin-top: 16px !important;
}
html.page-archive-detail body .archive-book-meta-row {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  gap: 16px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #dddddd !important;
}
html.page-archive-detail body .archive-book-meta-row > p {
  margin: 0 !important;
}
html.page-contact body form .check-box,
html.page-contact body form .check-box > p,
html.page-contact body form .check-area input[type="checkbox"] ~ p {
  cursor: pointer;
}

@media (max-width: 900px) {
  html.page-about-nishijin body .history-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    padding-right: 0 !important;
  }
  html.page-about-nishijin body .history-block > img {
    order: 0 !important;
  }
  html.page-about-nishijin body .history-block > .history-vertical {
    order: 1 !important;
    width: 100% !important;
    margin-top: 24px !important;
  }
  html.page-about-nishijin body .history-vertical h2 {
    writing-mode: horizontal-tb !important;
    font-size: 28px !important;
    letter-spacing: .05em !important;
    text-align: center !important;
  }
  html.page-about-nishijin body.on .history-vertical:before {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  html.page-about-nishijin body .history-block > div:not(.history-vertical) {
    order: 2 !important;
    padding: 0 20px !important;
  }
  html.page-archive-detail body .archive-detail-top {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }
  html.page-archive-detail body .archive-contents-top {
    padding: 0 20px !important;
  }
}

/* 収録内容はFAQのQ表示を使わず、記事タイトルと開閉記号を揃える。 */
html.page-archive-detail body.on .archive-contents .qa-question {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 20px 48px 20px 0 !important;
  line-height: 1.6 !important;
  text-align: left !important;
  cursor: pointer;
}
html.page-archive-detail body.on .archive-contents .qa-question::before {
  content: none !important;
  display: none !important;
}
html.page-archive-detail body.on .archive-contents .qa-question > p {
  margin: 0 !important;
}
html.page-archive-detail body.on .archive-contents .qa-question::after {
  content: '+' !important;
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #1c1e29 !important;
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
}
html.page-archive-detail body.on .archive-contents .qa.is-open .qa-question::after {
  content: '−' !important;
}

/* 開閉ボタンはスクロール中・メニュー表示中も画面右上へ固定する。 */
html body .menu-toggle {
  position: fixed !important;
  top: clamp(16px, 1.8vw, 25px) !important;
  right: clamp(16px, 2.8vw, 40px) !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 1000 !important;
  margin: 0 !important;
  transform: none !important;
}

/* アーカイブ本文の段落・見出し・画像幅を共通CSSに集約する。 */
html.page-archive-detail body .archive-contents.wrap {
  width: calc(100% - 40px) !important;
  max-width: 1000px !important;
  margin: 72px auto 0 !important;
  padding: 0 !important;
}
html.page-archive-detail body .archive-contents > .section-title {
  margin: 0 0 24px !important;
  text-align: center !important;
}
html.page-archive-detail body .archive-contents > .section-title > p,
html.page-archive-detail body .archive-contents > .section-title > h2 {
  text-align: center !important;
}
html.page-archive-detail body.on .archive-contents > .section-title::before {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}
html.page-archive-detail body .archive-contents > p {
  margin: 0 0 28px !important;
  text-align: left !important;
}
html.page-archive-detail body .archive-contents .qa {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.page-archive-detail body .archive-contents .qa + .qa {
  margin-top: 20px !important;
}
html.page-archive-detail body .archive-contents .qa-answer {
  width: 100% !important;
  max-width: 880px !important;
  margin: 0 auto !important;
  padding: 28px 0 40px !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
html.page-archive-detail body.on .archive-contents .qa:not(.is-open) > .qa-answer {
  display: none;
}
html.page-archive-detail body.on .archive-contents .qa.is-open > .qa-answer {
  display: block;
}
html.page-archive-detail body .archive-contents .qa-answer > * {
  margin: 0 !important;
}
html.page-archive-detail body .archive-contents .qa-answer > * + * {
  margin-top: 24px !important;
}
html.page-archive-detail body .archive-contents .qa-answer > h3 {
  margin-top: 40px !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #dddddd !important;
  color: #004b34 !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}
html.page-archive-detail body .archive-contents .qa-answer > h3:first-child {
  margin-top: 0 !important;
}
html.page-archive-detail body .archive-contents .archive-inline-image {
  width: 100% !important;
  max-width: 760px !important;
  margin: 32px auto !important;
}
html.page-archive-detail body .archive-contents .archive-inline-image > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  border-radius: 3px;
}
html.page-archive-detail body .archive-contents .archive-inline-image > p {
  margin: 12px 0 0 !important;
  color: #666666 !important;
  text-align: left !important;
}
@media (max-width: 900px) {
  html.page-archive-detail body .archive-contents.wrap {
    margin-top: 48px !important;
  }
}
@media (max-width: 576px) {
  html.page-archive-detail body .archive-contents .qa-answer {
    padding: 24px 0 28px !important;
  }
  html.page-archive-detail body .archive-contents .qa-answer > * + * {
    margin-top: 20px !important;
  }
  html.page-archive-detail body .archive-contents .qa-answer > h3 {
    margin-top: 32px !important;
    font-size: 21px !important;
  }
  html.page-archive-detail body .archive-contents .archive-inline-image {
    margin: 24px auto !important;
  }
}

/* 特徴カードは縦見出しもレイアウトの高さ計算に含める。 */
html:is(.page-rental, .page-about-nishijin) body .feature-card {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr !important;
  gap: 20px 12px !important;
  min-width: 0 !important;
  height: auto !important;
  padding-left: 0 !important;
  align-items: start !important;
}
html:is(.page-rental, .page-about-nishijin) body .feature-card > .feature-label {
  position: relative !important;
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  top: -40px !important;
  left: auto !important;
  width: 56px !important;
  height: auto !important;
  align-self: start !important;
}
html:is(.page-rental, .page-about-nishijin) body .feature-card > img {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
}
html:is(.page-rental, .page-about-nishijin) body .feature-card > p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  text-align: left !important;
}


@media (max-width: 576px) {
  html:is(.page-rental, .page-about-nishijin) body .feature-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 48px !important;
  }
  html:is(.page-rental, .page-about-nishijin) body .feature-grid > .feature-card,
  html:is(.page-rental, .page-about-nishijin) body .feature-grid > .feature-card:last-child:nth-child(odd) {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    justify-self: center !important;
  }
  html:is(.page-rental, .page-about-nishijin) body .feature-card > .feature-label {
    position: static !important;
    order: 0 !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 10px !important;
  }
  html:is(.page-rental, .page-about-nishijin) body .feature-label .card-title {
    writing-mode: horizontal-tb !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
    letter-spacing: .05em !important;
    white-space: normal !important;
    text-wrap: balance;
    text-align: center !important;
  }
  html:is(.page-rental, .page-about-nishijin) body .feature-card > img {
    order: 1 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
  html:is(.page-rental, .page-about-nishijin) body .feature-card > p {
    order: 2 !important;
    width: 100% !important;
  }
}

/* お問い合わせの長い縦タイトルに、下側の余白を十分確保する。 */

/* どの画面幅でも、縦タイトルを含めてヘッダーの高さを計算する。 */
html.page-contact body .page-head {
  height: auto !important;
  min-height: 0 !important;
  padding: 120px 20px 48px !important;
}
html.page-contact body .page-head .page-head-title {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: max-content !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  transform: none !important;
}
@media (min-width: 900px) {
  html.page-contact body .page-head {
    min-height: 600px !important;
    padding-top: 140px !important;
    padding-bottom: 100px !important;
  }
}
@media (max-width: 576px) {
  html.page-contact body .page-head {
    padding-top: 110px !important;
    padding-bottom: 40px !important;
  }
}

/* PCナビをFV・ページタイトルより上に置き、右の固定ボタンを避ける。 */
@media (min-width: 1101px) {
  html body .site-header {
    display: grid !important;
    grid-template-columns: clamp(120px, 11vw, 180px) minmax(0, 1fr) !important;
    align-items: start !important;
    gap: clamp(20px, 2vw, 36px) !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 16px clamp(128px, 10vw, 184px) 0 clamp(24px, 2vw, 40px) !important;
    transform: none !important;
  }
  html body .site-header .brand {
    min-width: 0 !important;
    width: 100% !important;
  }
  html body .site-header .header-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-self: start !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    gap: clamp(10px, 1vw, 20px) !important;
  }
  html body .site-header .header-nav > a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  html body .site-header .header-nav .nav-en {
    font-size: clamp(14px, 1vw, 18px) !important;
    line-height: 1.6 !important;
    letter-spacing: .06em !important;
    white-space: nowrap !important;
  }
}

/* 編集状態ではFVの3画像を重ねず、すべて選択できる状態にする。 */
html body:not(.on) .home-hero {
  height: auto !important;
  min-height: 0 !important;
  padding: 160px 24px 40px !important;
}
html body:not(.on) .home-hero .hero-art {
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip-path: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  border-radius: 0 !important;
}
html body:not(.on) .home-hero .hero-art > .hero-photo {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  object-fit: contain !important;
  clip-path: none !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  z-index: auto !important;
}
html body:not(.on) .home-hero .hero-title,
html body:not(.on) .home-hero .hero-signature {
  position: relative !important;
  inset: auto !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 24px auto 0 !important;
  transform: none !important;
}

/* 下層ページも写真とタイトルを通常の流れに戻して選択しやすくする。 */
html body:not(.on) .page-head {
  height: auto !important;
  min-height: 0 !important;
  padding: 150px 24px 40px !important;
}
html body:not(.on) .page-head .page-head-visual {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  clip-path: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
html body:not(.on) .page-head .page-head-photo {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  object-fit: contain !important;
  clip-path: none !important;
  transform: none !important;
}
html body:not(.on) .page-head .page-head-title {
  position: relative !important;
  inset: auto !important;
  width: max-content !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 20px auto !important;
  transform: none !important;
}
@media (max-width: 576px) {
  html body:not(.on) .home-hero .hero-art {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 見本の白いナビ：ロゴとボタンの間ではなく、画面そのものの中央へ。 */
@media (min-width: 1101px) {
  html body .site-header .header-nav {
    position: absolute !important;
    top: clamp(43px, 3.9vw, 75px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    width: max-content !important;
    max-width: 74% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 18px !important;
    gap: clamp(12px, 1.35vw, 22px) !important;
    justify-content: center !important;
  }
}

/* タブレット・スマホでも市松模様のタイルサイズを固定する。 */
@media (max-width: 1100px) {
  html.home-page body .home-hero {
    background-image: conic-gradient(rgba(134, 172, 102, .2) 25%, #ffffff 0 50%, rgba(134, 172, 102, .2) 0 75%, #ffffff 0) !important;
    background-size: 40px 40px !important;
    background-repeat: repeat !important;
    background-position: 0 0 !important;
  }
}

/* 開いたメニューの斜め矢印は、ホバー時に右向きへ回転する。 */
html body.on .menu-links > a::after {
  top: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  transition: transform .35s ease;
}
html body.on .menu-links > a:hover::after,
html body.on .menu-links > a:focus-visible::after {
  transform: translate(3px, -50%) rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  html body.on .menu-links > a::after {
    transition: none;
  }
}

/* アーカイブの年は「最後の段落」用の左揃え指定から独立させる。 */
html.page-archive body .archive-grid .webgene-item a > .archive-year {
  width: 100% !important;
  text-align: center !important;
}

/* フォームの検証プラグインが行うスクロールとCSS smoothを二重にしない。 */
html.page-contact,
html.page-contact body {
  scroll-behavior: auto !important;
}

/* CMSによるname変更に依存せず、本文入力欄も他の入力欄と同じ幅にする。 */
html.page-contact body .contact-form_a .form-box .box-wrap .box .inputbox > input:not([type="radio"]):not([type="checkbox"]),
html.page-contact body .contact-form_a .form-box .box-wrap .box .inputbox textarea {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* 数字の字形と行ボックスを揃え、ページャーの丸の中央へ置く。 */
html body .webgene-pagination ul {
  align-items: center !important;
}
html body .webgene-pagination li {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}
html body .webgene-pagination ul li > a {
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  font-family: Arial, sans-serif !important;
  font-variant-numeric: lining-nums tabular-nums !important;
}
html body .webgene-pagination ul li > a > p {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font: inherit !important;
  color: inherit !important;
  letter-spacing: 0 !important;
}

/* ＋／−は文字ではなく線で描き、フォントのベースラインによるずれをなくす。 */
html.subpage body.on .qa .qa-question::after,
html.page-archive-detail body.on .archive-contents .qa .qa-question::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: #1c1e29 !important;
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(#ffffff, #ffffff) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 12px 2px, 2px 12px !important;
  transform: translateY(-50%) !important;
  pointer-events: none;
}
html.subpage body.on .qa.is-open .qa-question::after,
html.page-archive-detail body.on .archive-contents .qa.is-open .qa-question::after {
  content: '' !important;
  background-size: 12px 2px, 0 0 !important;
}

/* Shared header, unpublished kimono links and editorial spacing. */
html body .site-header .brand {
  position: fixed !important;
  top: 16px !important;
  left: 24px !important;
  z-index: 1001;
}
html body .brand p,
html body .footer-brand p { color: #181818 !important; }
html body .home-hero .hero-introduction > p:last-child {
  font-size: 30px !important;
}
a[href="/japanesestyle"],
a[href="./japanesestyle"],
a[href="09japanesestyle.html"],
a[href="/09japanesestyle.html"] { display: none !important; }
.related-links:has(a[href="/japanesestyle"]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html.page-japanese-style .difference-section .section-top {
  align-items: start;
  gap: 40px 60px;
}
html.page-japanese-style .difference-section .section-title {
  min-width: 0;
}
html.page-japanese-style .difference-section .section-title-en {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: .02em;
}
html.page-japanese-style .difference-section .section-title-ja {
  margin-top: 16px;
  line-height: 1.6;
}
html.page-japanese-style .difference-section .lead-title {
  margin-bottom: 24px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  html.page-japanese-style .difference-section .section-top {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  html.page-japanese-style .difference-section .section-title {
    align-self: center;
    text-align: center;
  }
}
@media (max-width: 576px) {
  html body .site-header .brand { top: 12px !important; left: 16px !important; }
  .related-links:has(a[href="/japanesestyle"]) { grid-template-columns: 1fr; }
}

/* Keep the brand at the viewport's upper left, independent of the header grid. */
html body .site-header .brand {
  position: fixed !important;
  top: 16px !important;
  left: 24px !important;
  right: auto !important;
  bottom: auto !important;
  width: 150px !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 1001;
}
@media (min-width: 1101px) {
  html body .site-header .header-nav {
    position: fixed !important;
    top: 44px !important;
    left: 198px !important;
    right: 144px !important;
    bottom: auto !important;
    width: max-content !important;
    max-width: calc(100% - 342px) !important;
    margin: 0 auto !important;
    transform: none !important;
    gap: clamp(12px, 1.1vw, 22px) !important;
    padding: 12px 18px !important;
    z-index: 999;
  }
  html body .site-header .header-nav .nav-en {
    font-size: clamp(14px, .95vw, 18px) !important;
    letter-spacing: .025em !important;
  }
}
@media (max-width: 1100px) {
  html body .site-header .header-nav { display: none !important; }
  html body .site-header .brand { width: 130px !important; }
}
@media (max-width: 576px) {
  html body .site-header .brand {
    top: 12px !important;
    left: 16px !important;
    width: 115px !important;
  }
}

/* Vertical Japanese headings: compact glyph spacing, natural height. */
@media (min-width: 577px) {
  html.subpage body .feature-label .card-title {
    letter-spacing: -.25em !important;
    line-height: 1.2 !important;
    height: max-content !important;
    min-height: 0 !important;
    text-align: start !important;
    text-align-last: auto !important;
  }
}
@media (min-width: 901px) {
  html.subpage body .intro .vertical-ja,
  html.page-about-nishijin body .history-vertical h2,
  html.home-page body .concept-vertical h2 {
    letter-spacing: -.25em !important;
    line-height: 1.2 !important;
    height: max-content !important;
    min-height: 0 !important;
    text-align: start !important;
    text-align-last: auto !important;
  }
}
/* 縦書きの文字が重ならないように統一 */
html.subpage body .feature-label .card-title,
html.subpage body .intro .vertical-ja,
html.page-about-nishijin body .history-vertical h2 {
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  font-feature-settings: normal !important;
  font-kerning: none !important;
  text-align: start !important;
  text-align-last: auto !important;
}

/* 縦書き時は内容に合わせた高さにする */
@media (min-width: 577px) {
  html.subpage body .feature-label .card-title {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 901px) {
  html.subpage body .intro .vertical-ja,
  html.page-about-nishijin body .history-vertical h2 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    white-space: nowrap !important;
  }
}
/* 英語メニュー・ページタイトルの太さを統一 */
html body .site-header .header-nav .nav-en,
html.subpage body .page-head .page-title-en {
  font-weight: 400 !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}