@charset "UTF-8";
/* ==========================================================================
   目次 (Table of Contents)
   --------------------------------------------------------------------------
   01. Root variables
   02. Fonts
   03. Global styles
   04. Utility styles
   05. Accessibility utilities
   06. Button
   07. Layout
   08. Header
   09. Nav
   10. Typography
   11. Flex / Slider
   12. Categories, lists
   13. Section: Inquiry
   14. Footer
   15. Form
   16. Block editor
   17. Pages
   ========================================================================== */

/* ==========================================================================
   01. Root variables
   ========================================================================== */
:root {
  --color-charcoal: 63, 64, 67;
  /* #3f4043 */
  --color-charcoal-deep: 41, 42, 47;
  /* #292a2f */
  --color-white: 255, 255, 255;
  /* #fff */
  --color-off-white: 241, 242, 245;
  /* #f1f2f5 */
  --color-gray: 140, 144, 153;
  /* #8c9099 */
  --color-gray-dark: 85, 87, 95;
  /* #55575f */

  --font-jp: 'Shippori Mincho', "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  --font-en: 'Jost', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --root-font-size: 16;
  /* root:16px min:320 max:1120 minS:13 maxS:14 */
  --font-base: clamp(0.813rem, 0.787rem + 0.125vw, 0.875rem);
  /* root:16px min:320 max:1366 minS:64 maxS:140 */
  --padding-block: clamp(4rem, 2.547rem + 7.266vw, 8.75rem);
  /* root:16px min:320 max:1280 minS:12 maxS:80 */
  --padding-inline: clamp(0.75rem, -0.667rem + 7.083vw, 5rem);

  --lb-gap: 4px;
  --lb-radius: 0;
  --lb-focus-color: #4d90fe;
  --lb-duration: 500ms;

}

/* ==========================================================================
   02. Fonts
   ========================================================================== */
/* shippori-mincho-regular - japanese_latin */
@font-face {
  font-display: swap;
  font-family: 'Shippori Mincho';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/shippori-mincho-v17-japanese_latin-regular.woff2') format('woff2');
}

/* shippori-mincho-500 - japanese_latin */
@font-face {
  font-display: swap;
  font-family: 'Shippori Mincho';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/shippori-mincho-v17-japanese_latin-500.woff2') format('woff2');
}

/* shippori-mincho-600 - japanese_latin */
@font-face {
  font-display: swap;
  font-family: 'Shippori Mincho';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/shippori-mincho-v17-japanese_latin-600.woff2') format('woff2');
}

/* jost-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/jost-v20-latin-300.woff2') format('woff2');
}

/* jost-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/jost-v20-latin-regular.woff2') format('woff2');
}

/* jost-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/jost-v20-latin-500.woff2') format('woff2');
}

/* jost-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/jost-v20-latin-600.woff2') format('woff2');
}

/* ==========================================================================
   03. Global styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* html body {
  background: url(null) fixed;
}

html {
  font-size: 100%;
  /** nav open **/
}

html.is-locked {
  height: 100vh;
  overflow: hidden;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgb(var(--color-white));
  background: rgb(var(--color-charcoal));
  font-weight: 400;
  line-height: 1.6;
  font-style: normal;
  font-family: var(--font-jp);
  /* 折り返し指定：収まらない場合に折り返す 長い英単語でのレイアウトの突き抜け防止 */
  overflow-wrap: anywhere;
  /* break-all は強制的に折り返すのて使用控える */
  word-break: normal;
  /*英数字と日本語の間に余白を入れる*/
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* 単語の分割はデフォルトに依存 */
  line-break: strict;
  /* フォントの上下につく余白をトリミング */
  text-box: trim-both cap alphabetic;
  /* 禁則処理を厳格に適用 子音や句読点、記号が行頭にこないようにする */
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  overflow-x: hidden;
}

@media (min-width: 751px) {

  /*
  見た目は非リンク化しているが、キーボード/スクリーンリーダー利用者はTab移動でこのリンクにアクセスでき、
  Enterキーで電話発信動作（tel:リンク）が起きてしまう可能性がある
  html側にも　aria-disabled="true" を入れる
  */
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

figure {
  margin: 0;
}

picture {
  display: block;
}

picture,
img {
  height: auto;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

/* ==========================================================================
   04. Utility styles
   ========================================================================== */
::-moz-selection {
  color: rgb(var(--color-white));
  background: rgba(var(--color-white), 0.16);
  text-shadow: none;
}

::selection {
  color: rgb(var(--color-white));
  background: rgba(var(--color-white), 0.16);
  text-shadow: none;
}

@media screen and (min-width: 480px) {
  .sp-only {
    display: none;
  }
}

@media screen and (min-width: 1025px) {
  .sp {
    display: none;
  }
}

.tab {
  display: none;
}

@media screen and (min-width: 768px) {
  .tab {
    display: block;
  }
}

.pc {
  display: none;
}

@media screen and (min-width: 1025px) {
  .pc {
    display: block;
  }
}

.hidden {
  display: none;
}

.font-jp {
  font-family: var(--font-jp);
}

.font-en {
  font-family: var(--font-en);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

a {
  color: rgb(var(--color-white));
  cursor: pointer;
  line-height: inherit;
  -webkit-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  text-decoration: none;
}

a:link,
a:visited,
a:active {
  text-decoration: none;
}

a:hover {
  opacity: 0.72;
  text-decoration: none;
}


.svgicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
}

/* --------------------------------------------------------------------
   Utility: WordPress color & alignment classes
   -------------------------------------------------------------------- */

.has-charcoal-color {
  color: rgb(var(--color-charcoal));
  /* color: rgb(var(--wp--preset--color-charcoal)); */
}

.has-charcoal-deep-color {
  color: rgb(var(--color-charcoal-deep));
}

.has-white-color {
  color: rgb(var(--color-white));
}

.has-off-white-color {
  color: rgb(var(--color--off-white));
}

.has-gray-color {
  color: rgb(var(--color--gray));
}

.has-gray-dark-color {
  color: rgb(var(--color--gray-dark));
}

.has-charcoal-background-color {
  background-color: rgb(var(--color-charcoal));
}

.has-charcoal-deep-background-color {
  background-color: rgb(var(--color-charcoal-deep));
}

.has-white-background-color {
  background-color: rgb(var(--color-white));
}

.has-off-white-background-color {
  background-color: rgb(var(--color-off-white));
}

.has-gray-background-color {
  background-color: rgb(var(--color-gray));
}

.has-gray-dark--background-color {
  background-color: rgb(var(--color-gray-dark-));
}

.aligncenter {
  text-align: center;
}

.alignright {
  text-align: right;
}

.alignleft {
  text-align: left;
}



/* ==========================================================================
   05. Accessibility utilities
   ========================================================================== */
/* キーボード操作時のフォーカス表示。元のCSSにはフォーカス時のスタイルが一切なく、
   .nav-toggleではoutline:noneで完全に消えていたため、すべてのインタラクティブ要素に
   visibleなフォーカスを追加（WCAG 2.4.7 フォーカスの可視化） */
:focus-visible {
  outline: 3px solid rgba(var(--color-charcoal-deep), .1);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(var(--color-charcoal-deep), .1);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 背景画像の上にあるため、デフォルトのアウトラインが見えにくい要素は太め・コントラストを上げる */
.nav-toggle:focus-visible,
.modal-closed:focus-visible {
  outline: 3px solid rgb(var(--color-charcoal-deep));
  outline-offset: 3px;
}

/* スクリーンリーダー専用テキスト。視覚的には隠すが、display:noneにはしない
   （display:noneは支援技術からも除外されてしまうため） */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* スキップリンク：通常は画面外に隠し、キーボードフォーカス時のみ表示する */
.skip-link {
  position: absolute;
  top: -10em;
  left: 0;
  z-index: 10000;
  padding: 0.75em 1.25em;
  background-color: rgb(var(--color-charcoal));
  color: rgb(var(--color-white));
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0 0 0.5em 0;
  transition: top 0.2s;
}

.skip-link:focus-visible {
  top: 0;
  outline: 3px solid rgb(var(--color-charcoal-deep));
  outline-offset: -3px;
}

/* 動きに敏感な利用者への配慮（前庭障害等）。OS側で「視差効果を減らす」等が
   有効な場合、揺れ続けるツリーや大きく動くアニメーションを止め、
   js-scroll-animate系のコンテンツはJSの実行を待たずに表示する */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js-scroll-animate,
  .js-animate-stagger {
    opacity: 1 !important;
    transition: none !important;
  }
}

/* ==========================================================================
   06. Button
   ========================================================================== */
.btn:not(:has(> a)),
.btn a {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-inline: 0;
  padding: 0.675em 2.5em 0.675em 0.25em;
  font-size: 0.875em;
  font-weight: 500;
  letter-spacing: 0.05em;
  background-repeat: no-repeat;
  background-size: 200% 1px;
  background-position: right bottom;
  background-image: linear-gradient(to right, rgb(var(--color-white), 1) 0%, rgb(var(--color-white), 1) 50%, rgb(var(--color-white), 0.5) 50%, rgb(var(--color-white), 0.5) 100%);
  color: rgb(var(--color-white));
  position: relative;
  cursor: pointer;
  appearance: none;
  transition: all .3s;

  &::after {
    content: "";
    display: block;
    width: 0.75em;
    height: 0.75em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,0.5)' viewBox='0 0 12 12'%3E%3Cg transform='translate(-318 -1293)'%3E%3Cpath d='M298.082,1286.058l11.941,5.858-11.959,6.132,4.527-6.132Z' transform='translate(19.936 6.951)'/%3E%3Cpath d='M301.487,1288.842l2.356,3.062-2.444,3.311,6.394-3.279-6.306-3.094m-3.405-2.784,11.941,5.858-11.959,6.132,4.527-6.132Z' transform='translate(19.936 6.951)'/%3E%3C/g%3E%3C/svg%3E") no-repeat right center / contain;
    position: absolute;
    top: 50%;
    right: 0.25em;
    transform: translateY(-50%);
    transition: right 0.3s;
  }

  .svgicon {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    margin-right: 0.75em;
  }

  &:hover {
    background-position: left bottom;
    opacity: 1;

    &::after {
      right: 0;
    }
  }
}

.btn-contact:not(:has(> a)),
.btn-contact a {
  padding-left: 2em;

  &::before {
    content: "";
    display: block;
    width: 0.9em;
    height: 0.9em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,0.7)' viewBox='0 0 38.632 28.422'%3E%3Cpath d='M38.632,1.932V6.384L19.795,17.237a.983.983,0,0,1-.957,0L0,6.384V1.932A1.931,1.931,0,0,1,1.932,0H36.7a1.931,1.931,0,0,1,1.932,1.932'/%3E%3Cpath d='M20.77,15.742,38.632,5.44V21.923A1.931,1.931,0,0,1,36.7,23.855H1.932A1.931,1.931,0,0,1,0,21.923V5.44l17.863,10.3a2.892,2.892,0,0,0,2.888,0' transform='translate(0 4.568)'/%3E%3C/svg%3E") no-repeat left center / contain;
    position: absolute;
    top: 50%;
    left: 0.25em;
    transform: translateY(-50%);
  }
}

.btn a[target="_blank"]::after {
  right: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,0.7)' viewBox='0 0 41 41'%3E%3Cg transform='translate(-794 -4333)'%3E%3Cpath d='M32.365,32.368H0V0H8.63V4.315H4.315V28.05H28.05V23.735h4.315v8.63Z' transform='translate(794 4341.633)'/%3E%3Cpath d='M4.315,28.053H28.05V4.315H4.315M0,0H32.368V32.368H0Z' transform='translate(802.633 4333)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center center / contain;
}

.btn-cols {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.5em;
  column-gap: 2.5em;

  > .btn {
    flex: 100%;
    min-width: 0;

    a {
      width: 100%;
    }
  }

  @media screen and (min-width: 768px) {
    > .btn {
      flex: 1;
    }
  }
}

/* ==========================================================================
   07. Layout
   ========================================================================== */
.wrapper {
  width: 100%;
  margin-inline: auto;
  overflow-x: hidden;
}

.content {
  width: 100%;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.base {
  width: 100%;
  padding-block: var(--padding-block);
  margin-inline: auto;
  position: relative;
  overflow: hidden;

  &.blog {
    padding-bottom: 0;
  }
}

.has-bg-image > * {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  z-index: 3;
}

.has-bg-image::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(var(--color-charcoal-deep), 0.6);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.inner {
  width: 100%;
  max-width: calc(1200px + (var(--padding-inline) * 2));
  margin-inline: auto;
  padding-inline: var(--padding-inline);

  &.narrow {
    max-width: calc(960px + (var(--padding-inline) * 2));
  }

  &::after {
    content: "";
    clear: both;
    display: block;
  }
}

.page-wrapper,
.page-container,
.page-header {
  width: 100%;
  margin-inline: auto;
}

.page-header {
  padding-top: 7.5em;
}

.page-container {
  padding-top: clamp(2.5rem, 1.735rem + 3.824vw, 5rem);
}

.grid-container {
  padding-top: clamp(2.5rem, 1.735rem + 3.824vw, 5rem);
  padding-bottom: clamp(2.5rem, 1.735rem + 3.824vw, 5rem);

  .inner {
    @media screen and (min-width: 960px) {
      display: grid;
      grid-template-columns: 200px minmax(0, 1fr);
      align-items: start;

    }
  }

  .page-container {
    padding-top: 0;

    @media screen and (min-width: 960px) {
      grid-column: 2/3;
      padding-left: 2.5em;
    }
  }
}

.side-container {
  margin-top: 5rem;

  @media screen and (min-width: 960px) {
    margin-top: 0;
    grid-column: 1/2;
    grid-row: 1/3;
  }

}

.gallery-container {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}


#js-scrollArea {
  position: relative;
  /* is-bottom時のabsolute基準にする */

}

#js-scrollMenu {
  display: none;

  @media screen and (min-width: 960px) {
    display: block;
  }

  &.is-fixed {
    position: fixed;
    /* left: var(--padding-inline);

    @media screen and (min-width: 1360px) {
      left: calc(100% - 1280px);
    } */
  }

  &.is-bottom {
    position: absolute;
    /* top: auto;
    bottom: 0;
    left: calc((100% - 1280px + (200px + 2.5em)) / 2); */
  }

}

/* ==========================================================================
   08. Header
   ========================================================================== */
.main-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  padding-block: 0.75rem;
  padding-left: 0.75rem;
  backdrop-filter: blur(2px);
  overflow-x: hidden;
  z-index: 9999;

  @media screen and (min-width: 960px) {
    padding-block: 1.25rem;
    padding-left: 1.5rem;
  }

  .main-logo {
    width: 30%;
    max-width: 4em;
    margin: 0;
  }
}

.head-link {
  max-width: 50%;
  margin-right: calc(3.5rem + 0.675em);
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;

  @media screen and (min-width: 960px) {
    margin-right: calc(4.5rem + 0.675em);
  }
}

.head-link-item {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: calc(14 / var(--root-font-size) * 1em);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  .svgicon {
    display: inline-block;
    margin-inline: 0.5em;
    width: 0.875em;
    height: 0.875em;
  }

  .icon-insta {
    width: 1em;
    height: 1em;
  }
}

/* nav-toggle */
.nav-toggle {
  display: grid;
  place-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.5em;
  border: none;
  background: none;
  min-height: inherit;
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  transition: opacity .3s;

  &:hover {
    opacity: 0.8;
  }

  @media screen and (min-width: 960px) {
    width: 4.5rem;
    height: 4.5rem;
  }
}

.toggle-icon {
  width: 1.75em;
  height: 1.125em;
  margin-inline: auto;
  display: block;
  position: relative;

  @media screen and (min-width: 768px) {
    width: 2em;
    height: 1.275em;
  }
}

.toggle-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: rgb(var(--color-white));
  position: absolute;
  left: 0;
  transition: all 0.2s linear;

  &:first-of-type {
    top: 0;
  }

  &:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  &:last-of-type {
    bottom: 0;
  }
}

.is-active .toggle-line {
  &:first-of-type {
    top: 6px;
    transform: rotate(45deg);
  }

  &:nth-of-type(2) {
    opacity: 0;
  }

  &:last-of-type {
    top: 6px;
    transform: rotate(-45deg);
  }
}

.overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: block;
  background: rgba(0, 0, 0, 0.12);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 9997;
  transition: opacity 0.5s, backdrop-filter .5s -.5s;
}

.overlay.is-active {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(3px);
}

/* ==========================================================================
   09. Nav
   ========================================================================== */
.gnav {
  width: 100%;
  height: 100%;
  max-width: 25rem;
  padding-block: calc(5.5em + 24px);
  padding-inline: 2em;
  background-color: rgb(var(--color-charcoal-deep));
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9998;
  transform: translateX(100%);
  transition: transform .3s, filter .5s;
  /* スマホ用の慣性スクロール */
  pointer-events: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  filter: drop-shadow(4px 0 12px rgba(var(--color-charcoal-deep), 0));

  &.is-active {
    transform: translateX(0);
    filter: drop-shadow(4px 0 12px rgba(var(--color-charcoal-deep), .64));
  }

  @media screen and (min-width: 768px) {
    max-width: 35rem;
    padding-inline: 2.5em;
  }

  @media screen and (min-width: 1120px) {
    padding-inline: 3.5em;
  }
}

.nav-inner {
  width: 100%;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
}

.is-active .nav-inner {
  opacity: 1;
}

.nav-list {
  width: 100%;
  display: grid;
  grid-auto-flow: row;
  gap: 0.75em;

  @media screen and (min-width: 768px) {
    grid-auto-flow: column;
    grid-template-rows: repeat(8, auto);
  }
}

.nav-list-item {
  width: 100%;

  a {
    display: flex;
    align-items: center;
    font-size: calc(14 / var(--root-font-size) * 1em);
    padding: 0.5em 0 0.5em 1.25em;
    color: rgb(var(--color-white));
    position: relative;
  }

  a::after {
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    background: rgb(var(--color-white));
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  a[target="_blank"] {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  a[target="_blank"]::before {
    content: "";
    display: block;
    width: 0.875em;
    height: 0.875em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,0.7)' viewBox='0 0 41 41'%3E%3Cg transform='translate(-794 -4333)'%3E%3Cpath d='M32.365,32.368H0V0H8.63V4.315H4.315V28.05H28.05V23.735h4.315v8.63Z' transform='translate(794 4341.633)'/%3E%3Cpath d='M4.315,28.053H28.05V4.315H4.315M0,0H32.368V32.368H0Z' transform='translate(802.633 4333)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center center / contain;
    margin-left: 1em;
  }
}

.nav-list + .btn-cols {
  margin-top: 2.5em;
  margin-bottom: 3.5em;

  @media screen and (min-width: 768px) {
    > .btn {
      flex: auto;
    }
  }
}

@media screen and (min-width: 768px) {
  .nav-list-item:nth-of-type(8) {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-list-item:nth-of-type(n+9) {
    grid-column-start: 2;
  }
}

.sub-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;

  .nav-list-item {
    width: auto;
    margin-right: 0.5em;

    a {
      font-size: 0.75rem;
      padding: 0 1em 0 0;
    }

    a::after {
      width: 1px;
      height: 0.875em;
      border-radius: 0;
      left: auto;
      right: -0.675em;
    }
  }
}

/* ==========================================================================
   10. Typography
   ========================================================================== */
.page-title,
.section-title {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  font-weight: 400;
  font-size: calc(24 / var(--root-font-size) * 1em);
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 2em;
  position: relative;
  /* wbrで改行 */
  /* CJKテキストでの折り返しを無効化 */
  word-break: keep-all;
  /* 長い単語でも折り返し可能に */
  overflow-wrap: anywhere;

  &::before {
    content: "";
    display: inline-block;
    width: 2em;
    height: 1px;
    background: rgb(var(--color-white), 0.5);
    position: absolute;
    top: 0.3em;
    left: 0;
  }

  &::after {
    content: attr(data-caps);
    display: block;
    font-family: var(--font-en);
    font-size: calc(12 / var(--root-font-size) * 1rem);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1em;
    margin-left: 5em;
  }
}

.page-title {
  margin-bottom: 0;

  .categories {
    position: absolute;
    left: 160px;
    top: -0.25em;
  }

  .label,
  .tag {
    font-size: 0.75rem;
    padding: 0.125em 0.75em;
  }
}

.page-title:has(.categories) {
  width: 100%;
  /* padding-right: 6em; */
}


.section-main-title {
  font-size: calc(20 / var(--root-font-size) * 1em);
  font-weight: 400;
  width: fit-content;
  max-width: 100%;
  display: flex;
  margin-top: 0;
  flex-direction: column-reverse;
  justify-content: flex-start;
  word-break: keep-all;
  overflow-wrap: anywhere;

  &::after {
    content: attr(data-caps);
    display: block;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1em;
  }
}

.section-main-title.font-en {
  font-family: var(--font-en);
  text-transform: capitalize;
  font-weight: 300;
}

.section-sub-title {
  font-size: 1em;
  font-weight: 400;
  margin-top: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lead {
  font-weight: 500;
  line-height: 1.8;
}

.single .post-title {
  font-size: 1.25em;
  font-weight: 400;
  margin-top: 1.5em;
  margin-bottom: 1.75em;
}

/* ==========================================================================
   11. Flex / box / Slider
   ========================================================================== */
.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex-item {
  flex: 100%;
}

.flex-2cols {
  gap: 2.5em;

  .flex-item {
    @media screen and (min-width: 768px) {
      flex: 1;
    }
  }
}

.notice-box {
  padding: 2.5em 1.5em;
  border: 1px solid rgb(var(--color-white));
  margin-inline: auto;
  margin-block: 5em;

  @media screen and (min-width: 768px) {
    padding: 3em 2.5em;
  }

  @media screen and (min-width: 960px) {
    padding: 3.5em;
  }

  &.narrow {
    max-width: 960px;
  }

  .flex-item {
    align-self: flex-end;

    .btn {
      margin-left: auto;
      font-size: 0.875em;
    }
  }
}

.notice-title {
  font-size: 1.25em;
  font-weight: 400;
  margin-bottom: 2.5em;
}

.notice-sub-title {
  font-size: 0.875em;
  font-weight: 500;
  line-height: calc(34/14);
  margin-bottom: 5.7em;
}

.notice-text {
  font-size: 0.75em;
  line-height: calc(25/12);
}

.splide__slide picture,
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.fade-slider {
  aspect-ratio: 1366/768;
  overflow: hidden;
}

.pager-slider {
  aspect-ratio: 1536/1024;
  max-height: 465px;
  overflow: hidden;

  .splide__track,
  .splide__slide {
    height: 100%;
  }

  .splide__slide {
    text-align: center;
  }

  picture,
  img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-inline: auto;
  }
}

.splide__pagination {
  top: 0.5em;
  bottom: auto;
  left: auto;
  padding-block: 0.5em;
  gap: 0.5rem;
}

.splide__pagination li {
  font-size: 0;
}

.splide__pagination__page {
  background: #ccc;
  border-radius: 0;
  height: 4px;
  margin: 0;
  width: 40px;
  min-height: 0;
}

.splide__pagination__page.is-active {
  background: #fff;
  transform: scale(1);
}


.carousel-slider {
  margin-top: 3em;

  .splide__slide {
    aspect-ratio: 2/3;
    max-height: 540px;
    overflow: hidden;

    @media screen and (min-width: 480px) {
      max-width: calc(100%/2);
    }

    @media screen and (min-width: 768px) {
      max-width: calc(100%/3);
    }

    @media screen and (min-width: 1366px) {
      max-width: calc(100%/4);
    }
  }
}


/* .gallery-container .wp-block-gallery, */
.lb-gallery {
  width: 100vw;
  margin-top: 2.5em;
  margin-inline: calc(50% - 50vw);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(3, 1fr);
  }

  @media screen and (min-width: 1280px) {
    grid-template-columns: repeat(4, 1fr);
  }

}

/* クレジットを画像の右下に重ねる */
.lb-gallery .wp-block-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 1.5em 0.6em 0.4em;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  /* 画像クリック（拡大）を邪魔しない */
  opacity: 0;
  transition: opacity .3s;
}

.lb-gallery .wp-block-image:hover figcaption {
  opacity: 1;
}

/* クレジット内のリンクだけはクリックできるようにする */
.lb-gallery .wp-block-image figcaption a {
  color: inherit;
  text-decoration: underline;
  pointer-events: auto;
}

.gallery-container .wp-block-image,
.gallery-container .wp-block-image a,
.lb-gallery__item {
  position: relative;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 460/300;
  padding: 0;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;

  picture,
  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--lb-duration) ease, opacity var(--lb-duration) ease;
  }

  &:hover img,
  &:focus-visible img {
    transform: scale(1.035);
  }
}



/* キーボードフォーカスを常にはっきり見せる（マウスクリック時は出さない） */
.gallery-container .wp-block-image:focus-visible,
.lb-gallery__item:focus-visible {
  outline: 3px solid var(--lb-focus-color);
  outline-offset: -3px;
}

.gallery-container .wp-block-image:focus:not(:focus-visible),
.lb-gallery__item:focus:not(:focus-visible) {
  outline: none;
}

/* 拡大アイコンのヒント（hover/focus時） */
.gallery-container .wp-block-image::after,
.lb-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 40%);
  opacity: 0;
  transition: opacity var(--lb-duration) ease;
  pointer-events: none;
}

.gallery-container .wp-block-image:hover::after,
.gallery-container .wp-block-image:focus-visible::after,
.lb-gallery__item:hover::after,
.lb-gallery__item:focus-visible::after {
  opacity: 1;
}

/* ==========================================================================
   Dialog（ライトボックス本体）
   ========================================================================== */

.lb-modal {
  padding: 1em;
  border: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  background: transparent;
  color: rgb(var(--color-white));
  backdrop-filter: blur(3px);
}

.lb-modal::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.lb-modal[open] {
  display: flex;
}

.lb-modal__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.lb-modal__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  flex: 0 0 auto;
}

.lb-modal__counter {
  font-size: 0.875em;
  letter-spacing: 0.02em;
  font-family: var(--font-en);
  color: rgba(var(--color-white), 0.6);
  font-variant-numeric: tabular-nums;
}

.lb-modal__stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 calc(44px + 2em);
}

.lb-modal__img-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-modal__img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity var(--lb-duration) ease;
}

.lb-modal__img.is-loaded {
  opacity: 1;
}

.lb-modal__caption {
  flex: 0 0 auto;
  padding: 0.5em 1em 1.25em;
  text-align: center;
  /* font-size: 0.9rem; */
  color: rgba(var(--color-white), 0.6);
  max-width: 60ch;
  margin: 0 auto;
  /* margin: 0.75em 0 0; */
  /* color: rgba(255, 255, 255, 0.85); */
  font-size: 0.675rem;
  line-height: 1.5;
  text-align: center;
}

.lb-modal__caption[hidden],
.lb-modal__caption:empty {
  display: none;
}

.lb-modal__caption a {
  color: inherit;
  text-decoration: underline;
}




/* ボタン共通 */
.lb-modal button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--color-white), 0.24);
  transition: background var(--lb-duration) ease;
}

.lb-btn:hover {
  background: rgba(var(--color-white), 0.4);
}

.lb-btn:focus-visible {
  outline: 3px solid var(--lb-focus-color);
  outline-offset: 2px;
}

.lb-btn svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
}

.lb-modal__nav--prev {
  left: 4px;
}

.lb-modal__nav--next {
  right: 4px;
}

.lb-modal__nav:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* アクセシビリティ / レスポンシブ */
@media (max-width: 640px) {
  .lb-modal__stage {
    padding: 0 calc(36px + 2em);
  }

  .lb-modal__nav {
    width: 36px;
    height: 36px;
  }
}

/* スクリーンリーダー専用テキスト */
.lb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {

  .gallery-container .wp-block-image img,
  .gallery-container .wp-block-image::after,
  .lb-gallery__item img,
  .lb-gallery__item::after,
  .lb-modal__img,
  .lb-btn {
    transition-duration: 0.001ms !important;
  }
}

/* 背景が inert 化されている間のスクロール固定 */
body.lb-modal-open {
  overflow: hidden;
}



/* ---------- キャプション内の書式（ギャラリー一覧・モーダル共通） ----------
 *
 * リセットCSS（例: b, strong, em, i, sub, sup, mark { font: inherit;
 * vertical-align: baseline; }）が入っているテーマでは、太字・斜体・
 * 上付き・下付き・ハイライトのタグがHTML上は残っていても見た目が消える。
 * ここでキャプション内に限って書式を戻す。
 * ------------------------------------------------------------------ */

/* 太字 */
.lb-gallery .wp-block-image figcaption :is(strong, b),
.lb-modal__caption :is(strong, b) {
  font-weight: bold;
}

/* 斜体 */
.lb-gallery .wp-block-image figcaption :is(em, i),
.lb-modal__caption :is(em, i) {
  font-style: italic;
}

/* 上付き・下付き（行間が広がらないよう line-height: 0） */
.lb-gallery .wp-block-image figcaption :is(sup, sub),
.lb-modal__caption :is(sup, sub) {
  position: relative;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline;
}

.lb-gallery .wp-block-image figcaption sup,
.lb-modal__caption sup {
  top: -0.5em;
}

.lb-gallery .wp-block-image figcaption sub,
.lb-modal__caption sub {
  bottom: -0.25em;
}

/* ハイライト
 * WordPress の「ハイライト」は
 *   <mark style="background-color:…" class="has-inline-color has-○○-color">
 * として出力され、文字色・背景色はインラインstyle / プリセットクラス側で指定される。
 * ここでは色を上書きせず、リセットCSSで潰された分だけ戻す。 */
.lb-gallery .wp-block-image figcaption mark,
.lb-modal__caption mark {
  padding: 0 0.1em;
  font: inherit;
}

/* 色指定のない素の <mark> のみ、ブラウザ標準相当の黄色マーカーにする */
.lb-gallery .wp-block-image figcaption mark:not([style]):not([class*="has-"]),
.lb-modal__caption mark:not([style]):not([class*="has-"]) {
  background-color: #ff0;
  color: #000;
}

/* ---------- キャプション内の書式（ギャラリー・モーダル共通） ----------
 *
 * ブロックエディタのリッチテキスト書式は、次のタグで出力される。
 *   太字       <strong>
 *   斜体       <em>
 *   上付き     <sup>
 *   下付き     <sub>
 *   ハイライト <mark style="background-color:…" class="has-inline-color has-〇〇-color">
 *
 * lb-gallery.js はキャプションの中身をタグ・style・class ごと複製するので、
 * モーダル側にも書式はそのまま渡る。ただしテーマやリセットCSS
 * （destyle.css / ress.css など）が strong・em・mark・sup・sub の
 * 見た目を打ち消していると表示されないため、ここで明示的に戻している。
 */

.lb-gallery .wp-block-image figcaption strong,
.lb-gallery .wp-block-image figcaption b,
.lb-modal__caption strong,
.lb-modal__caption b {
  font-weight: 700;
}

.lb-gallery .wp-block-image figcaption em,
.lb-gallery .wp-block-image figcaption i,
.lb-modal__caption em,
.lb-modal__caption i {
  font-style: italic;
}

/* 上付き・下付き：行の高さを崩さないよう line-height: 0 + position で位置を調整 */
.lb-gallery .wp-block-image figcaption sup,
.lb-gallery .wp-block-image figcaption sub,
.lb-modal__caption sup,
.lb-modal__caption sub {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

.lb-gallery .wp-block-image figcaption sup,
.lb-modal__caption sup {
  top: -0.5em;
}

.lb-gallery .wp-block-image figcaption sub,
.lb-modal__caption sub {
  bottom: -0.25em;
}

/*
 * ハイライト
 * - 背景色・文字色は WordPress が付ける inline style / has-〇〇-color クラスに任せる。
 *   （ここで background や color を指定すると、エディタで選んだ色を上書きしてしまう）
 * - 色指定のない <mark> がブラウザ既定の「黄色背景＋黒文字」になるのを防ぐため、
 *   既定値を透明背景・親の文字色にしておく。
 */
.lb-gallery .wp-block-image figcaption mark,
.lb-modal__caption mark {
  background-color: transparent;
  color: inherit;
  padding: 0 0.15em;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  /* 折り返しても左右の余白・角丸を保つ */
}

/* 背景色付きハイライトは、画像に重ねたときの影を消して読みやすくする */
.lb-gallery .wp-block-image figcaption mark[style*="background-color"] {
  text-shadow: none;
}


/* ==========================================================================
   12. Categories, lists
   ========================================================================== */
.categories {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
}

.cat-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  /* margin-right: auto; */

  &:has(.cat) {
    gap: 1em;
  }
}

.label,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25em 0.75em;
  font-size: 0.75em;
  font-weight: 500;
}

.label {
  font-family: var(--font-en);
  font-weight: 400;
  text-transform: uppercase;
  background-color: rgba(var(--color-white), 0.4);
  border: 1px solid rgb(var(--color-white), 0.1);
}

.tag {
  border: 1px solid rgb(var(--color-white), 0.5);
}

.tag.cat {
  border: none;
  padding: 0;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 2em;

  @media screen and (min-width: 480px) {
    flex-direction: row;
    flex-wrap: wrap;
  }
}


.section-main-title + .card-list {
  margin-top: 2.5em;
}


.card-list + .btn-cols,
.card-list + .btn {
  margin-top: 2.5em;
}

.company .card-list + .btn-cols {
  width: fit-content;
  margin-left: auto;
}

.card-list + .btn-cols .btn,
.card-list + .btn {
  @media screen and (min-width: 768px) {
    flex: 0 1 auto;
  }
}

.card-list-item {
  display: flex;

  @media screen and (min-width: 480px) {
    flex-basis: calc(50% - 1em);
  }

  @media screen and (min-width: 960px) {
    flex-basis: calc((100% - 4em)/3);
  }

  a {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5em;
    gap: 0.675rem;
    background-color: rgb(var(--color-charcoal-deep));
    color: rgb(var(--color-white));
  }

  .categories {
    min-height: 1.75rem;
    margin-bottom: 0.75em;
  }

  .cat-tag {
    margin-left: auto;
  }

  .place,
  .price {
    font-size: calc(11/16*1em);
    margin-bottom: auto;
  }
}

.archive .card-list-item {
  .cat-tag {
    margin-left: 0;
    margin-right: auto;
  }
}

.single {
  .cat-tag {
    margin-left: 0;
    margin-right: auto;
  }
}

.card-title {
  font-size: 0.875em;
  font-weight: 400;
  line-height: 1.75;
}

.page-container .writer {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  gap: 0.5em;
  font-size: 0.75em;
}

a.writer {
  border-bottom: 1px solid rgba(var(--color-white), 0.5);
}

a.writer:hover {
  border-bottom: 1px solid rgba(var(--color-white), 0);
}

.writer::before {
  content: "writer";
  display: inline-block;
  font-size: calc(11/16*1rem);
}

.card-list-item:has(.thumb) {
  a {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 1em;
  }

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

  .categories {
    margin-bottom: 0;
  }

  .post-date {
    width: auto;
  }

  .thumb {
    grid-column: 1/2;
    grid-row: 1/3;
  }
}

.archive:not(.real_estate, .realestate) .card-list-item {
  @media screen and (min-width: 480px) {
    flex-basis: calc(50% - 1em);
  }

  @media screen and (min-width: 960px) {
    flex-basis: calc(50% - 1em);
  }
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.post-list-item {
  width: 100%;
  border-bottom: 1px solid rgba(var(--color-white), 0.5);

  a {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 2em;
    padding-top: 0.675em;
    padding-bottom: 1.675em;
    color: rgb(var(--color-white));

    @media screen and (min-width: 768px) {
      column-gap: 1rem;
    }
  }
}

.post-date {
  font-family: var(--font-en);
  font-size: 0.75em;
  font-weight: 400;
  color: rgba(var(--color-white), 0.5);
  width: 5rem;
}

.post-title {
  width: 100%;

  @media screen and (min-width: 768px) {
    width: calc(100% - 6rem);
  }

  font-size: 0.875em;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.section-main-title + .staff-list {
  margin-top: 2.5em;
}

.staff-list:not(:last-of-type) {
  margin-bottom: 5em;
}

.staff-list + .btn {
  margin-top: -2.5em;
  width: fit-content;
  margin-left: auto;
  margin-bottom: 5em;
}

.company .staff-list + .btn {
  margin-top: 2.5em;
  margin-bottom: 0;
}

.staff-list-item {
  flex-basis: calc(50% - 0.5em);

  @media screen and (min-width: 560px) {
    flex-basis: calc((100% - 2em)/3);
  }

  @media screen and (min-width: 768px) {
    flex-basis: calc((100% - 3em)/4);
  }
}

.staff-container {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  row-gap: 1em;
  color: rgb(var(--color-white));

  .thumb {
    width: 100%;
    aspect-ratio: 1;

    picture,
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.staff-name {
  font-size: 1.125em;
  font-weight: 400;

  .job {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }
}

.roman-name {
  font-size: 0.75rem;
  font-family: var(--font-en);
  font-weight: 300;
  color: #8C9099;
  margin-top: 0.675rem;
  margin-bottom: 0;
  text-transform: capitalize;
  letter-spacing: 0.15em;
}

.category-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.category-list-item {
  padding-left: 1.75em;
  position: relative;

  a {
    display: block;
    padding: 0.25em 0.5em;
    width: 100%;
    font-size: 0.875em;
    font-weight: 500;
  }
}

.category-list-item::before {
  content: "";
  display: block;
  width: 1.25em;
  height: 1px;
  background-color: rgb(var(--color-white));
  position: absolute;
  top: 1.05em;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.category-list-item.is-current::before {
  opacity: 1;
}

.profile-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin-bottom: 5em;

  @media screen and (min-width: 560px) {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
  }

  @media screen and (min-width: 1120px) {
    gap: 2.5em;
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .staff-container {
    display: flex;
    flex-direction: row-reverse;
    align-self: start;
    gap: 1em;

    .thumb {
      width: 45%;
    }

    .text {
      width: calc(55% - 1em);
      align-self: center;
    }

    @media screen and (min-width: 560px) {
      flex-direction: column-reverse;

      .thumb {
        width: 100%;
      }

      .text {
        width: 100%;
        align-self: inherit;
      }
    }
  }

  .profile {
    background-color: rgb(var(--color-charcoal-deep));
    padding: 1.5em 1em;
    font-size: 0.875em;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */

    @media screen and (min-width: 560px) {
      padding: 1.5em;
    }

    @media screen and (min-width: 768px) {
      /* gap: 2rem; */
      padding: 2.5em;
    }

    > h6 {
      margin: 0;
      font-size: 1em;
      font-weight: 400;

      &:not(:first-of-type) {
        margin-top: 1rem;

        @media screen and (min-width: 768px) {
          margin-top: 2rem;
        }
      }
    }

    > p {
      padding-top: 0;
      margin-bottom: 0;
    }
  }
}

.works-list {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
  margin-top: 3.5em;

  @media screen and (min-width: 768px) {
    margin-top: 5em;
    row-gap: 3.5em;
  }
}

.works-list-item {
  border-bottom: 1px solid rgba(var(--color-white), 0.5);

  a {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em 2.5em;
    padding-bottom: 2.5em;

    @media screen and (min-width: 768px) {
      padding-bottom: 3.5em;
    }
  }

  .text {
    flex-basis: 100%;
    display: flex;
    align-self: center;

    @media screen and (min-width: 480px) {
      flex-basis: calc(45% - 2.5em);
    }

    @media screen and (min-width: 768px) {
      flex-basis: calc(35% - 2.5em);
    }
  }

  .thumb {
    flex-basis: 100%;
    aspect-ratio: 600/360;

    @media screen and (min-width: 480px) {
      flex-basis: 55%;
    }

    @media screen and (min-width: 768px) {
      flex-basis: 65%;
    }

    picture,
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.works-title {
  font-size: 1em;
  font-weight: 400;
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  word-break: keep-all;
  overflow-wrap: anywhere;

  &::after {
    content: attr(data-caps);
    display: block;
    font-family: var(--font-en);
    font-size: 1.5em;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
}



.pagination {
  display: flex;
  justify-content: space-between;
  gap: 0.75em;
  width: fit-content;
  margin-inline: auto;
  margin-top: 4em;

  @media screen and (min-width: 480px) {
    margin-right: 0;
  }

  &.btn-cols {
    /* margin-inline: auto; */
    column-gap: 2.5em;
  }

  .btn {
    flex: 1 1 auto;
    order: 3;

    @media screen and (min-width: 480px) {
      order: inherit;
    }
  }

  .btn.prev {
    padding: 0.675em 0.25em 0.675em 2.5em;
    order: 1;

    @media screen and (min-width: 480px) {
      order: inherit;
    }

    &::after {
      right: auto;
      left: 0.25em;
      transform: translateY(-50%) rotate(180deg);
      transition-property: left;
    }

    &:hover::after {
      right: auto;
      left: 0;
    }
  }

  .btn.next {
    order: 2;

    @media screen and (min-width: 480px) {
      order: inherit;
    }
  }
}

.page-numbers {
  display: grid;
  place-content: center;
  width: 2em;
  height: 2em;
  font-size: 1.25em;
  text-align: center;

  .svgicon {
    width: 0.675em;
    height: 0.675em;
    opacity: 0.7;
  }
}

.page-numbers.prev {
  .svgicon {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   13. Section: Inquiry
   ========================================================================== */
.inquiry {
  .flex-item {
    background-color: rgb(var(--color-charcoal-deep));
    padding: 3em 1.5em;
    display: flex;
    flex-direction: column;

    @media screen and (min-width: 768px) {
      padding: 3em 2em;
    }

    @media screen and (min-width: 1120px) {
      padding: 4em;
    }

    .section-title {
      width: 100%;
      flex-grow: 1;
      justify-content: flex-end;
      margin-bottom: auto;
      word-break: keep-all;
      overflow-wrap: anywhere;

      @media screen and (min-width: 1080px) {
        flex-grow: 0;
      }
    }

    .lead {
      font-size: 0.875em;
      margin-top: 1.5em;
      margin-bottom: 2.5em;
      word-break: keep-all;
      overflow-wrap: anywhere;

      @media screen and (min-width: 1080px) {
        flex-grow: 1;
        margin-top: 2.5em;
      }
    }

    .btn {
      margin-top: auto;
      width: 100%;

      a {
        width: 100%;
      }
    }
  }
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.main-footer {
  border-top: 1px solid #55575F;
  padding-top: 4em;
  padding-bottom: 1em;

  @media screen and (min-width: 1120px) {
    padding-top: 5em;
  }

  .inner {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 2.5em;

    @media screen and (min-width: 768px) {
      flex-direction: row;
      flex-wrap: wrap;
    }
  }

  .btn-cols {
    width: 100%;
    margin-bottom: 1.5em;

    @media screen and (min-width: 768px) {
      > .btn {
        flex: auto;
      }

      > .btn:only-of-type,
      > .btn:last-of-type {
        max-width: fit-content;
        margin-right: auto;
      }
    }

    @media screen and (min-width: 1120px) {
      margin-bottom: 2.5em;

      > .btn {
        flex: 1;
      }

      > .btn:only-of-type,
      > .btn:last-of-type {
        max-width: 100%;
        margin-right: 0;
      }
    }
  }

  .main-logo {
    width: 10em;

    picture,
    img {
      opacity: 0.7;
    }

    span {
      display: block;
      font-size: 0.75em;
      font-weight: 500;
      margin-top: 1em;
    }
  }
}

.ft-info {
  @media screen and (min-width: 768px) {
    flex-basis: calc(45% - 2.5em);
  }

  @media screen and (min-width: 1120px) {
    flex-basis: calc(30% - 2.5em);
  }
}

.add {
  font-size: 0.75em;
  font-weight: 500;
  margin-block: 1.35em;
}

.ft-link {
  font-size: 0.75em;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;

  a {
    display: flex;
    align-items: center;
  }

  .svgicon {
    width: 0.875em;
    height: 0.875em;
    margin-right: 0.5em;
  }
}

.sitemap {
  @media screen and (min-width: 768px) {
    flex-basis: 55%;
  }

  @media screen and (min-width: 1120px) {
    flex-basis: 40%;
  }

  .nav-list {
    grid-auto-flow: column;
    grid-template-rows: repeat(7, auto);
    row-gap: 0.5em;
  }

  .nav-list-item {
    a {
      font-size: 0.75em;
      padding-block: 0.25em;

      &::after {
        top: 12px;
        transform: translateY(0);
      }
    }
  }
}

.banner-list {
  display: flex;
  flex-direction: column;
  gap: 1em;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1.5em;
  }

  @media screen and (min-width: 1120px) {
    margin-top: 0;
    flex-basis: calc(30% - 2.5em);
  }
}

.banner-list-item {
  @media screen and (min-width: 768px) {
    display: flex;
    flex-basis: calc((100% - 2em)/3);
  }

  @media screen and (min-width: 1120px) {
    flex-basis: 100%;
  }

  a {
    border: 1px solid rgb(var(--color-white));
    padding: 0.75em 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    font-size: calc(14 / var(--root-font-size) * 1em);
    position: relative;

    .caps {
      display: block;
      font-size: calc(12 / var(--root-font-size) * 1rem);
      width: 100%;
    }
  }

  a:has(> img) {
    background-color: rgba(var(--color-white), 0.7);
  }

  a[target="_blank"]:not(:has(> img))::before {
    content: "";
    display: block;
    width: 0.875em;
    height: 0.875em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,0.7)' viewBox='0 0 41 41'%3E%3Cg transform='translate(-794 -4333)'%3E%3Cpath d='M32.365,32.368H0V0H8.63V4.315H4.315V28.05H28.05V23.735h4.315v8.63Z' transform='translate(794 4341.633)'/%3E%3Cpath d='M4.315,28.053H28.05V4.315H4.315M0,0H32.368V32.368H0Z' transform='translate(802.633 4333)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center center / contain;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
  }
}

.copyright {
  display: block;
  width: 100%;
  font-size: calc(12 / var(--root-font-size) * 1em);
  font-family: var(--font-en);
  font-weight: 400;
  text-align: center;
  padding-block: 1em;

  @media screen and (min-width: 1120px) {
    text-align: left;
  }
}

/* ==========================================================================
   15. Form
   ========================================================================== */
.form-container {
  width: 100%;
  margin: 0 auto;
  margin-top: 5em;
  padding: 2.5em 1em;
  background-color: rgb(var(--color-charcoal-deep));

  @media screen and (min-width: 768px) {
    padding: 4em;
  }

  @media screen and (min-width: 1120px) {
    padding: 5em;
  }
}

.builder_contact .form-container {
  margin-top: 1.5em;
}

.form-notice {
  font-size: 0.875em;
  line-height: 2.2;
  margin-bottom: 1.5em;

  p {
    font-size: 1em;
    padding-top: 0;
  }
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.125em 1em;
  margin-top: 2.5rem;
  /* margin-bottom: 2.5rem; */
}

/* .form-row:first-of-type {
} */

.field-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.field-label .required {
  margin-left: 0.2em;
}

.field-block {
  flex: 1 1 auto;
  min-width: 0;
}

.field-shell {
  display: flex;
  align-items: center;
}

.address-row-gap {
  margin-top: 1rem;
}

.form-container .input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
}

.form-container .input-wrap.small {
  max-width: 50%;

  @media screen and (min-width: 480px) {
    max-width: 12rem;
  }
}

.form-container .input-wrap.medium {
  @media screen and (min-width: 480px) {
    max-width: 25rem;
  }
}


.form-title {
  font-size: 1.25em;
  font-weight: 500;
  margin-bottom: 1.25em;
}

.form-notice + .form-title {
  margin-top: 2em;

}

.form-row + .form-title {
  margin-top: 3.25em;
}

.field-shell .prefix,
.field-shell .suffix {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875em;
}

.field-shell .prefix {
  margin-right: 1em;
}

.field-shell .suffix {
  margin-left: 1.5em;
}

.field-shell .suffix.auto {
  font-size: 0.75rem;
  padding: 0.25em 0.5em;
  background-color: rgb(var(--color-white), 0.25);
}

.helper-text {
  margin: 0.45rem 0 0;
  padding-left: 0.15rem;
  font-size: 0.75rem;
}

.field-block p + p {
  margin-top: 1.5em;
}

/* form parts */
input:not([type="checkbox"], [type="radio"], [type="submit"], [type="file"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  outline: none;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  padding: 0.75em 1em;
  color: rgb(var(--color-white));
  background: rgba(var(--color-white), 0.09);
  border: none;
  border-bottom: 1px solid rgba(var(--color-white), 0.5);
  box-shadow: inset 0 0 0 1px rgba(var(--color-white), 0.02);
}

textarea {
  height: 15em;
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.5em;
  cursor: pointer;
}

input::placeholder,
textarea::placeholder {
  color: rgba(var(--color-white), 0.4);
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin: 0;
  padding: 0;
  background: rgba(var(--color-white), 0.04);
  border: 1px solid rgba(var(--color-white), 0.48);
  border-radius: 0;
  position: relative;
  box-shadow: none;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background: rgba(var(--color-white), 0.12);
  border-color: rgba(var(--color-white), 0.8);
}

input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 0.875em;
  height: 0.875em;
  background: url(../img/icon/icon-check.svg) no-repeat center center / contain;
  position: absolute;
  left: 50%;
  top: 0.125em;
  transform: translateX(-50%);
}

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  background: rgba(var(--color-white), 0.04);
  border: 1px solid rgba(var(--color-white), 0.48);
  position: relative;
  cursor: pointer;
}

input[type="radio"]:checked::after {
  content: "";
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: rgb(var(--color-white));
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}

input[type="date"] {
  padding-right: 1.5em;
  cursor: pointer;
  position: relative;
}

/* input内のどこをクリックしてもカレンダーが展開 */
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  background: transparent;
  z-index: 1;
  cursor: pointer;
}

/* カレンダーアイコン */
input[type="date"]::after {
  content: "";
  display: block;
  width: 1.25em;
  height: 1.25em;
  background: url("../img/icon/icon-calendar.svg") no-repeat center center / contain;
  position: absolute;
  top: 50%;
  right: 1em;
  translate: 0 -50%;
}

.checkbox-field,
.radio-field {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.checkbox-field {
  margin-top: 0.75em;
}

.radio-field {
  gap: 1em 2em;
  margin-top: 0.5em;
}

.check-label,
.check-label label,
.radio-label label,
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.5;
  cursor: pointer;
}


.date-row {
  gap: 1em 2em;
  flex-wrap: wrap;
}

.date-row .date-field {
  width: auto;
  min-width: 100%;

  @media screen and (min-width: 480px) {
    min-width: 12.5em;
  }
}

.date-row .select-field {
  width: auto;
  min-width: 100%;

  @media screen and (min-width: 480px) {
    min-width: 15em;
  }
}

.select-label {
  display: flex;
  width: 100%;
  position: relative;
}

.select-label::after {
  content: "";
  display: block;
  width: 0.75em;
  height: 0.75em;
  background: url(../img/icon/icon-cheveron-down.svg) no-repeat center center / contain;
  position: absolute;
  right: 1em;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
}

.form-row:has(.accept-field) {
  margin-bottom: 4em;
}

.field-block:has(.accept-field) {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.accept-label label,
.accept-label {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  line-height: 1.6;
  cursor: pointer;
}

.accept-label a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.accept-label a:hover {
  text-decoration: none;
}

.field-block:has(.submit-field) {
  display: flex;
  justify-content: center;
}

.submit-field {
  width: 100%;
  display: flex;
  justify-content: center;
}

.submit-field input {
  color: rgb(var(--color-white));
}

.submit-field input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 0.675em 2.5em 0.675em 0.25em;
  letter-spacing: 0.08em;
  font-weight: 500;
  cursor: pointer;

  &:disabled {
    color: rgba(var(--color-white), 0.5);
  }
}

.submit-field .btn {
  padding: 0;

}

.submit-field .btn:has(:disabled):hover {
  background-position: right bottom;

  &::after {
    right: 0.25em;
  }
}

.submit-field .btn:hover {
  opacity: 0.85;
}

/* CF7 */

.wpcf7-form-control-wrap {
  width: 100%;
}

.wpcf7-form-control-wrap:has(.wpcf7-checkbox) {
  display: block;
}

.wpcf7-not-valid-tip {
  font-size: 0.75em;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-checkbox {
  /* display: grid; */
  display: flex;
  gap: 0.9rem 1.5rem;
  flex-wrap: wrap;
  /* @media screen and (min-width: 560px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } */
}

.wpcf7-radio .wpcf7-list-item {
  margin-right: 1em;
  margin-bottom: 0.75em;
}

/* ==========================================================================
   16. block-editor styles
   ========================================================================== */
.editor-area > .wp-block-group:not(:last-of-type) {
  padding-bottom: var(--padding-block);
  margin-inline: auto;
}

.editor-area .has-background {
  padding: 1.25em 2.375em;
}

.editor-area mark {
  display: inline-block;
  font-size: 0.875rem;
  margin-inline: 0.75em;
  background-color: inherit;
  color: inherit;
}

.editor-area mark.has-inline-color {
  color: inherit;
  /* padding-block: 0.25em; */
  padding-inline: 0.5em;
}

.has-en-font-family mark {
  font-family: var(--font-jp);
}

.wp-block-paragraph {
  width: 100%;
  line-height: 2.2;
  margin-bottom: 1em;
}

.wp-block-group > .wp-block-paragraph {
  width: auto;
}

.wp-block-paragraph:not(.has-background) {
  padding-top: 0.25em;
}

.wp-block-paragraph a {
  color: rgb(var(--color-white));
  text-decoration: underline;
}

.wp-block-paragraph a[target=_blank]::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin: 0 0.25em;
  background: url(../img/icon/icon-blank.svg) no-repeat center center/contain;
  font-size: 0.875em;
  color: rgb(var(--color-white));
}

.wp-block-paragraph a:hover {
  color: rgb(var(--color-white));
  opacity: 1;
  text-decoration: none;
}

.editor-area sup,
.editor-area sub {
  font-size: 0.75em;
}

.editor-area strong {
  font-weight: bold;
}

.editor-area iframe[src^="https://www.google.com/"] {
  width: 100%;
  height: 280px;
  filter: grayscale(1);

  @media screen and (min-width: 768px) {
    height: 400px;

  }
}

.editor-area > .wp-block-image {
  margin-block: 1em;
}

/* .has-background {

} */
.has-text-align-left {
  text-align: left;
}

.has-text-align-right {
  text-align: right;
}

.has-text-align-center {
  text-align: center;
}


.has-en-font-family {
  font-family: var(--font-en);
}

.has-system-font-font-family {
  font-family: var(--font-jp);
}

.has-huge-font-size {
  font-size: var(--wp--preset--font-size--huge);
  /* --min-size: 26;
  --max-size: 32;
  --clamp-size: calc(var(--min-size) * 1px + (var(--max-size) - var(--min-size)) * (100vw - var(--min-viewport) * 1px) / (var(--max-viewport) - var(--min-viewport)));
  --font-size: clamp(var(--min-size) * 1px,
      var(--clamp-size),
      var(--max-size) * 1px);
  font-size: var(--font-size); */
}

h1.wp-block-heading,
.has-xx-large-font-size {
  line-height: 1.65;
  font-size: var(--wp--preset--font-size--xx-large);

}

h2.wp-block-heading,
.has-x-large-font-size {
  line-height: 1.65;
  font-size: var(--wp--preset--font-size--x-large);

}

h3.wp-block-heading,
.has-large-font-size {
  font-size: var(--wp--preset--font-size--large);

}

h4.wp-block-heading,
.has-medium-font-size {
  font-size: var(--wp--preset--font-size--medium);

}

h5.wp-block-heading,
h6.wp-block-heading {
  font-size: var(--wp--preset--font-size--normal);
}


.has-small-font-size {
  font-size: var(--wp--preset--font-size--small);
  /* font-size: 0.875em; */
}

.has-x-small-font-size {
  font-size: var(--wp--preset--font-size--x-small);
  /* font-size: 0.75em; */
}

.has-xx-small-font-size {
  font-size: var(--wp--preset--font-size--xx-small);
  /* font-size: 10px; */
}

.wp-block-heading {
  font-family: var(--font-jp);
  font-weight: 400;
  color: rgb(var(--color-white));
  margin-top: 0.5em;
  margin-bottom: 0.75em;
}


sup,
sub {
  display: inline-block;
  vertical-align: middle;
}

hr,
.wp-block-separator {
  width: 100%;
  border: none;
  border-top: 1px solid;
  background-color: rgba(var(--color-white), 0.2);
  margin-top: 2.5em;
  margin-bottom: 2.5em;
  color: rgba(var(--color-white), 0.2);
}

hr.has-background,
.wp-block-separator.has-background {
  padding: 0;
}

.wp-block-list {
  padding-left: 1.5em;
  font-size: var(--wp--preset--font-size--small);
}

.wp-block-list ul,
.wp-block-list ol {
  margin-top: 0.5em;
  font-size: 1em;
}

.wp-block-list li {
  line-height: 1.75;
  margin-bottom: 0.5em;
}

.wp-block-list li::marker {
  display: none;
}

.wp-block-list li .wp-block-list {
  margin-top: 1em;
  margin-bottom: 1.5em;
}

ul.wp-block-list {
  list-style: none;
}

ul.wp-block-list > li {
  position: relative;
}

ul.wp-block-list > li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: rgb(var(--color-white));
  border-radius: 50%;
  position: absolute;
  left: -1.2em;
  top: 0.65em;
}

ul.wp-block-list > li li::marker {
  color: rgba(var(--color-white), 0.5);
}

ul.wp-block-list > li ul.wp-block-list li {
  position: relative;
}

ul.wp-block-list > li ul.wp-block-list li::before {
  width: 4px;
  height: 4px;
  top: 0.85em;
  background-color: rgba(var(--color-white), 0.5);
}

ol.wp-block-list li {
  list-style: decimal;
}

ol.wp-block-list li::marker {
  font-family: var(--font-en);
  /* font-size: 0.875em; */
  color: rgba(var(--color-white), 0.7);
}

ol.wp-block-list li li::marker {
  color: rgba(var(--color-white), 0.7);
}

ol.wp-block-list li ul.wp-block-list li {
  list-style: none;
}

ol.wp-block-list li ul.wp-block-list li::before {
  width: 4px;
  height: 4px;
  top: 0.8em;
  background-color: rgba(var(--color-white), 0.5);
}

.alignleft:not(.post-ttl) {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}

.alignright:not(.post-ttl) {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
}

.clearfloat {
  clear: both;
  margin: 1em 0;
}

.wp-block-image {
  width: 100%;
  height: auto;
  position: relative;
  margin-inline: 0;
  overflow: hidden;
}

.wp-block-image figure,
.wp-block-image picture {
  margin: 0;
  width: 100%;
  display: block;
  position: relative;
}

.wp-block-image picture:has(img[style*="object-fit:cover"]),
.wp-block-image img[style*="object-fit:cover"] {
  height: 100%;
}

.wp-block-image .wp-element-caption {
  margin-bottom: 1em;
  margin-top: 0.5em;
  font-size: 0.75rem;
  text-align: center;
  font-weight: var(--weight-medium);
  color: rgb(var(--color-white), 0.6);
}

.wp-block-image picture,
.wp-block-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.wp-block-image.size-thumbnail {
  max-width: 240px;
}

.wp-block-image.size-thumbnail picture,
.wp-block-image.size-thumbnail img {
  width: 100%;
}

.wp-block-image.size-large {
  max-width: 80%;
}

.wp-block-column .wp-block-image.size-large {
  max-width: 100%;
}

.wp-block-image.size-large picture,
.wp-block-image.size-large img {
  width: 100%;
}

.wp-block-image.size-full {
  width: 100%;
}

.wp-block-image.size-full picture,
.wp-block-image.size-full img {
  width: 100%;
}

.wp-block-image.size-medium,
.wp-block-image.alignleft,
.wp-block-image.alignright {
  max-width: 50%;
}

.wp-block-image.size-medium picture,
.wp-block-image.alignleft picture,
.wp-block-image.alignright picture,
.wp-block-image.size-medium img,
.wp-block-image.alignleft img,
.wp-block-image.alignright img {
  width: 100%;
}

.wp-block-image.alignleft,
.wp-block-image.alignright {
  max-width: 50%;

}

.wp-block-image.alignright {
  margin-left: 1em;
}

.wp-block-image.aligncenter {
  margin-inline: auto;
}

.wp-block-image.alignleft {
  margin-right: 1em;
}

.wp-block-embed.is-type-video {
  aspect-ratio: 16/9;
}

.wp-block-embed .wp-block-embed__wrapper {
  width: 100%;
  height: 100%;
}

.wp-block-embed iframe {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.wp-block-embed iframe[src^="https://www.google.com/"] {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

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

.wp-block-embed .wp-element-caption {
  margin-bottom: 1em;
  margin-top: 1em;
  font-size: 0.75rem;
  text-align: center;
  font-weight: 400;
  color: rgba(var(--color-white), 0.6);
}

.editor-area > section > iframe[src*="youtube.com/embed/"] {
  height: auto;
  aspect-ratio: 16/9;
}

.wp-block-table,
.wp-block-flexible-table-block-table {
  overflow-x: scroll;
  padding-top: 1.5em;
  position: relative;
  width: 100%;
  margin: 1.5em auto 2.5em;
  font-size: var(--wp--preset--font-size--small);
  /* https://mimihokuro.com/blog/change-color-svg-in-css/ */
  /* ストライプ */
}

@media screen and (min-width: 768px) {

  .wp-block-table,
  .wp-block-flexible-table-block-table {
    padding-top: 0;
    overflow-x: hidden;
  }
}

.wp-block-table::before,
.wp-block-table::after,
.wp-block-flexible-table-block-table::before,
.wp-block-flexible-table-block-table::after {
  display: inline-block;
  font-size: 0.8em;
  color: rgb(var(--color-gray));
  position: absolute;
  top: 0;
}

@media screen and (min-width: 768px) {

  .wp-block-table::before,
  .wp-block-table::after,
  .wp-block-flexible-table-block-table::before,
  .wp-block-flexible-table-block-table::after {
    display: none !important;
  }
}

.wp-block-table::before,
.wp-block-flexible-table-block-table::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  aspect-ratio: 1;
  top: 0.25em;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%238c9099' viewBox='0 0 448 512'%3E%3Cpath d='M128 40c0-22.1 17.9-40 40-40s40 17.9 40 40l0 148.2c8.5-7.6 19.7-12.2 32-12.2c20.6 0 38.2 13 45 31.2c8.8-9.3 21.2-15.2 35-15.2c25.3 0 46 19.5 47.9 44.3c8.5-7.7 19.8-12.3 32.1-12.3c26.5 0 48 21.5 48 48l0 48 0 16 0 48c0 70.7-57.3 128-128 128l-16 0-64 0-.1 0-5.2 0c-5 0-9.9-.3-14.7-1c-55.3-5.6-106.2-34-140-79L8 336c-13.3-17.7-9.7-42.7 8-56s42.7-9.7 56 8l56 74.7L128 40zM240 304c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96zm48-16c-8.8 0-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96c0-8.8-7.2-16-16-16zm80 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.wp-block-table::after,
.wp-block-flexible-table-block-table::after {
  content: "スクロールで全体をご覧いただけます";
  left: 1.75em;
}

.wp-block-table .element-caption,
.wp-block-flexible-table-block-table .element-caption {
  color: rgba(var(--color-white), 0.72);
  font-size: var(--wp--preset--font-size--x-small);
  margin-top: 0.5em;
  border: none;
}

.wp-block-table table,
.wp-block-flexible-table-block-table table {
  border-spacing: 0;
  width: 100%;
  min-width: 640px;
  border: none;
  background-color: transparent;
  /* border-top: 1px solid rgba(var(--color-white), 0.5);
  border-right: 1px solid rgba(var(--color-white), 0.5); */

  overflow: hidden;
}

.wp-block-table table.has-fixed-layout,
.wp-block-flexible-table-block-table table.has-fixed-layout {
  table-layout: fixed;
}

.wp-block-table table:not(.has-fixed-layout:not(:has(thead))) {
  border-radius: 0;
}

.wp-block-table table:not(.has-fixed-layout:not(:has(thead))) td:first-of-type {
  /* width: 33%; */
}

.wp-block-table table:not(.has-fixed-layout:not(:has(thead))) th + td:first-of-type {
  width: auto;
}

@media screen and (min-width: 768px) {

  .wp-block-table table,
  .wp-block-flexible-table-block-table table {
    min-width: 100%;
  }
}

.wp-block-table table th,
.wp-block-table table td {
  border: none;
  padding: 1em 0.875em;
}


.editor-area .wp-block-table thead {
  border: none;
  border-bottom: 1px solid rgba(var(--color-white), 0.5);
}

.wp-block-table thead th,
.wp-block-table thead td {
  /* border-left: 1px solid rgba(var(--color-white), 0.5); */
  font-weight: 500;
  background-color: rgba(var(--color-white), 0.12);
}

.editor-area .wp-block-table tfoot {
  border-top: 1px solid rgba(var(--color-white), 0.5);
}

.wp-block-table tfoot th,
.wp-block-table tfoot td {
  /* font-size: 0.875em; */
  /* border-left: 1px solid rgba(var(--color-white), 0.5); */
  background-color: rgba(var(--color-white), 0.12);
}

.wp-block-table thead tr,
.wp-block-table tfoot tr {
  border-bottom: 1px solid rgba(var(--color-white), 0.5);
}


.wp-block-table tbody td,
.wp-block-table tbody th {
  /* border-left: 1px solid rgba(var(--color-white), 0.5); */
  border-bottom: 1px solid rgba(var(--color-white), 0.5);
  background-color: transparent;
}

.wp-block-table tbody td:first-of-type,
.wp-block-table tbody th:first-of-type {
  /* border-left: none; */
  min-width: 6em;
}

/* .wp-block-table table:not(:has(thead)) th+td:first-of-type {
  border-left: 1px solid rgba(var(--color-white), 0.24);
} */

.wp-block-table table:has(tfoot) tr:last-of-type,
.wp-block-table table:has(tfoot) tr:last-of-type td {
  border-bottom: none;
}


/* table.is-style-stripes */
.editor-area .wp-block-table.is-style-stripes {
  border: none;
}

.wp-block-table.is-style-stripes table {
  border: none;
  background: none;
}

.wp-block-table.is-style-stripes thead {
  background: rgba(var(--color-charcoal-deep), 0.5);
}

.wp-block-table.is-style-stripes thead tr {
  border-bottom: 1px solid rgb(var(--color-gray-dark));
}

.wp-block-table.is-style-stripes thead th,
.wp-block-table.is-style-stripes thead td {
  background: none !important;
}

.wp-block-table.is-style-stripes tfoot {
  border-top: 1px solid rgb(var(--color-gray-dark));
  background: rgba(var(--color-charcoal-deep), 0.5);
}

.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
  background: none !important;
  border: none;
}

.wp-block-table.is-style-stripes tbody tr {
  background-color: rgb(var(--color-charcoal));
}

.wp-block-table.is-style-stripes tbody tr:nth-of-type(even) {
  background: rgba(var(--color-charcoal-deep), 0.5);
}

.editor-area .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: rgb(var(--color-charcoal-deep));
}

/* flexible-table-block */
/* .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
  border: none;
  padding: 1em 0.875em;
  background-color: rgb(var(--color-white), 0.5);
  border-left: 4px solid rgb(var(--color-white));
  border-bottom: 4px solid rgb(var(--color-white));
}

.wp-block-flexible-table-block-table thead {
  background-color: rgb(var(--color-gray));
  border: none;
}

.wp-block-flexible-table-block-table thead tr {
  border-bottom: 4px solid rgb(var(--color-white));
}

.wp-block-flexible-table-block-table table thead th,
.wp-block-flexible-table-block-table table thead td {
  border-left: 4px solid rgb(var(--color-white));

  color: rgb(var(--color-white));
  background-color: rgb(var(--color-gray));
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table thead th {
  background-color: rgb(var(--color-gray));
}

.wp-block-flexible-table-block-table>table tbody tr th,
.wp-block-flexible-table-block-table>table tbody tr td {
  border-left: 4px solid rgb(var(--color-white));
  border-bottom: 4px solid rgb(var(--color-white));
  background-color: rgb(var(--color-white), 0.5);
}

.wp-block-flexible-table-block-table>table tbody td:first-of-type,
.wp-block-flexible-table-block-table>table tbody th:first-of-type {
  min-width: 6em;
  background-color: rgb(var(--color-gray));
  color: rgb(var(--color-white));

}

.wp-block-flexible-table-block-table>table tbody td:first-of-type,
.wp-block-flexible-table-block-table>table tbody th:first-of-type {
  min-width: 6em;
  background-color: rgb(var(--color-gray));
  color: rgb(var(--color-white));

}

.wp-block-flexible-table-block-table>table tbody tr:has(td[rowspan])+tr td:first-of-type,
.wp-block-flexible-table-block-table>table tbody tr:has(td[rowspan])+tr th:first-of-type {

  color: rgb(var(--color-white));
  background-color: rgb(var(--color-white), 0.5);

}

.wp-block-flexible-table-block-table tfoot {
  border-top: 1px solid rgb(var(--color-white));
  background-color: rgb(var(--color-gray));
  color: rgb(var(--color-white));
}

.wp-block-flexible-table-block-table>table tfoot tr th,
.wp-block-flexible-table-block-table>table tfoot tr td {
  font-size: 0.875em;
  border-left: 4px solid rgb(var(--color-white));
  background-color: rgb(var(--color-gray));
}

.wp-block-flexible-table-block-table table:not(:has(thead)) th+td:first-of-type {
  border-left: 4px solid rgb(var(--color-white));
}

.wp-block-flexible-table-block-table table:has(tfoot) tr:last-of-type td {
  border-bottom: none;
} */

/* flexible-table-block is-style-stripes */
/* .wp-block-flexible-table-block-table.is-style-stripes {
  border: none;
}

.wp-block-flexible-table-block-table.is-style-stripes table {
  background: none;
}

.wp-block-flexible-table-block-table.is-style-stripes thead {
  background: rgb(var(--color-gray));
}

.wp-block-flexible-table-block-table.is-style-stripes thead th,
.wp-block-flexible-table-block-table.is-style-stripes thead td {
  background: none !important;
}


.wp-block-flexible-table-block-table.is-style-stripes tfoot {
  border-top: 4px solid rgb(var(--color-white));
}

.wp-block-flexible-table-block-table.is-style-stripes td,
.wp-block-flexible-table-block-table.is-style-stripes th {
  background: none !important;
  border: none;
}

.wp-block-flexible-table-block-table.is-style-stripes>table tr th,
.wp-block-flexible-table-block-table.is-style-stripes>table tr td {
  border: none;
}

.wp-block-flexible-table-block-table.is-style-stripes tbody tr {
  background-color: rgb(var(--color-white));
}

.wp-block-flexible-table-block-table.is-style-stripes tbody tr:nth-of-type(even) {
  background-color: rgb(var(--color-white), 0.5);
}

.wp-block-flexible-table-block-table.is-style-stripes tbody tr:nth-of-type(odd) {
  background-color: rgb(var(--color-gray));
} */


/* buttons */
.wp-block-buttons {
  width: 100%;
  margin: 1.5em auto;
}

.wp-block-buttons + .wp-block-buttons {
  margin-top: 0;
}

.wp-block-buttons > .wp-block-button {
  width: 100%;
}

@media screen and (min-width: 480px) {
  .wp-block-buttons > .wp-block-button {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: calc(50% - 0.75rem);
  }
}

@media screen and (min-width: 960px) {
  .wp-block-buttons > .wp-block-button {
    max-width: calc(40% - 0.75rem);
  }
}

.wp-block-buttons:has(:nth-child(1)) > .wp-block-button {
  width: auto;
}

@media screen and (min-width: 480px) {
  .wp-block-buttons:has(:nth-child(1)) > .wp-block-button {
    max-width: initial;
    -webkit-box-flex: initial;
    -ms-flex: initial;
    flex: initial;
  }
}

@media screen and (min-width: 960px) {
  .wp-block-buttons:has(:nth-child(1)) > .wp-block-button {
    max-width: initial;
  }
}

@media screen and (min-width: 960px) {
  .wp-block-buttons:has(:nth-child(2)) > .wp-block-button {
    max-width: calc(50% - 0.75rem);
  }
}

.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
  width: 100%;
  max-width: 100%;
}

.wp-block-button {
  /* 矢印右共通 */
  /* 矢印左共通 */
  /* 矢印右 */
  /* 矢印左 */
  /* 輪郭・矢印右 */
  /* 輪郭・矢印左 */
}

.wp-block-buttons .wp-block-button__link {
  padding: 0.675em;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.wp-block-buttons .wp-block-button__link[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  margin-left: 1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,0.7)' viewBox='0 0 41 41'%3E%3Cg transform='translate(-794 -4333)'%3E%3Cpath d='M32.365,32.368H0V0H8.63V4.315H4.315V28.05H28.05V23.735h4.315v8.63Z' transform='translate(794 4341.633)'/%3E%3Cpath d='M4.315,28.053H28.05V4.315H4.315M0,0H32.368V32.368H0Z' transform='translate(802.633 4333)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center center / contain;
}

.wp-block-button.is-style-no-arrow .wp-block-button__link {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-inline: 0;
  background-repeat: no-repeat;
  background-size: 200% 1px;
  background-position: right bottom;
  background-image: linear-gradient(to right, rgb(var(--color-white), 1) 0%, rgb(var(--color-white), 1) 50%, rgb(var(--color-white), 0.5) 50%, rgb(var(--color-white), 0.5) 100%);
  transition: all .3s;

  &:hover {
    background-position: left bottom;
    opacity: 1;
  }
}

.wp-block-button.is-style-arrow-right .wp-block-button__link,
.wp-block-button.is-style-arrow-left .wp-block-button__link {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-inline: 0;
  padding-block: 0.675em;
  padding: 0.675em 2.5em 0.675em 0.25em;
  background-repeat: no-repeat;
  background-size: 200% 1px;
  background-color: transparent;
  position: relative;
  cursor: pointer;
  appearance: none;
  transition: all .3s;

  &::before {
    content: "";
    display: block;
    width: 0.75em;
    height: 0.75em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,0.5)' viewBox='0 0 12 12'%3E%3Cg transform='translate(-318 -1293)'%3E%3Cpath d='M298.082,1286.058l11.941,5.858-11.959,6.132,4.527-6.132Z' transform='translate(19.936 6.951)'/%3E%3Cpath d='M301.487,1288.842l2.356,3.062-2.444,3.311,6.394-3.279-6.306-3.094m-3.405-2.784,11.941,5.858-11.959,6.132,4.527-6.132Z' transform='translate(19.936 6.951)'/%3E%3C/g%3E%3C/svg%3E") no-repeat right center / contain;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  &:hover {
    opacity: 1;
  }
}

.wp-block-button.is-style-arrow-right .wp-block-button__link {
  padding-left: 0.25em;
  padding-right: 2.5em;
  background-position: right bottom;
  background-image: linear-gradient(to right, rgb(var(--color-white), 1) 0%, rgb(var(--color-white), 1) 50%, rgb(var(--color-white), 0.5) 50%, rgb(var(--color-white), 0.5) 100%) !important;

  &::before {
    transition: right 0.3s;
    right: 0.25em;
  }

  &:hover {
    background-position: left bottom;

    &::before {
      right: 0;
    }
  }
}

.wp-block-button.is-style-arrow-left .wp-block-button__link {
  padding-right: 0.25em;
  padding-left: 2.5em;
  background-position: left bottom;
  background-image: linear-gradient(to left, rgb(var(--color-white), 1) 0%, rgb(var(--color-white), 1) 50%, rgb(var(--color-white), 0.5) 50%, rgb(var(--color-white), 0.5) 100%) !important;


  &::before {
    left: 0.25em;
    transform: translateY(-50%) rotate(180deg);
    transition: left 0.3s;
  }

  &:hover {
    background-position: right bottom;

    &::before {
      left: 0;
    }
  }
}

.wp-block-button.is-style-no-arrow .wp-block-button__link.has-border-color,
.wp-block-button.is-style-arrow-right .wp-block-button__link.has-border-color,
.wp-block-button.is-style-arrow-left .wp-block-button__link.has-border-color {
  background-image: none;
}

.editor-area > .wp-block-group:has(.wp-block-media-text) {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.wp-block-group .wp-block-media-text {
  width: 100%;
  max-width: calc(1200px + (var(--padding-inline) * 2));
  margin-inline: auto;

  /* @media (max-width: 600px) {
    &.is-stacked-on-mobile {
    }
} */
  @media (min-width: 601px) {
    &.is-stacked-on-mobile {
      grid-template-columns: 100% !important;

      > .wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
      }

      > .wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
      }
    }
  }

  @media (min-width: 960px) {
    &.is-stacked-on-mobile {
      grid-template-columns: 55% auto !important;

      > .wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
      }

      > .wp-block-media-text__content {
        grid-column: 2;
        grid-row: 1;
      }
    }

    &.is-stacked-on-mobile.has-media-on-the-right {
      grid-template-columns: auto 55% !important;

      > .wp-block-media-text__media {
        grid-column: 2;
      }

      > .wp-block-media-text__content {
        grid-column: 1;
      }
    }
  }

  .wp-block-media-text__content {
    padding-top: 2.5em;
    padding-inline: var(--padding-inline);

    @media screen and (min-width: 601px) {
      padding-top: 4em;
    }

    @media screen and (min-width: 960px) {
      padding-block: 4em;
    }

    @media screen and (min-width: 1120px) {
      padding-inline: 4em;
    }
  }

  .section-title::before {
    display: none;
  }

  .section-title::after {
    margin-left: 0;
    margin-bottom: 0;
  }
}

.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
  min-height: 300px;

  @media screen and (min-width: 601px) {
    min-height: 400px;
  }

  @media screen and (min-width: 960px) {
    min-height: 600px;
  }

  @media screen and (min-width: 1280px) {
    min-height: 768px;
  }
}


/* ==========================================================================
   17. Pages
   ========================================================================== */
.concept .page-container {
  padding-bottom: 0;
}

.concept .page-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5em;

  @media screen and (min-width: 768px) {
    flex-direction: row;
  }

  .page-title,
  .lead {
    @media screen and (min-width: 768px) {
      flex: 1;
    }
  }

  .lead {
    line-height: 2.2;
  }
}

.concept-item {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-content: center;
  background-image: url(../img/top-concept1.jpg);
  /* border-bottom: 1px solid red; */

  @media screen and (min-width: 768px) {
    min-height: 768px;
    align-content: center;
    justify-content: end;
  }

  .inner {
    @media screen and (min-width: 768px) {
      width: calc(520px + var(--padding-inline) * 2);
      margin-left: auto;
    }
  }

  &.position_left {
    @media screen and (min-width: 768px) {
      justify-content: start;
    }

    .inner {
      @media screen and (min-width: 768px) {
        margin-right: auto;
      }
    }
  }


  .section-main-title {
    margin-bottom: 2.5em;
  }

  .section-sub-title {
    margin-bottom: 1.5em;
    line-height: 2;
  }

  .lead {
    font-size: 0.875em;
    line-height: 2;
  }

  .btn-cols {
    margin-top: calc(40/14*1em);
    margin-left: auto;
    width: fit-content;

    > .btn {
      flex: auto;
    }

  }

  .btn {
    width: fit-content;
    font-size: 0.875em;
  }

}

.concept-item::after {
  opacity: 0.7;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-image: linear-gradient(to top, rgba(var(--color-charcoal-deep), 0) 0%, rgba(var(--color-charcoal-deep), 1) 90%);
}



.concept .works {
  .inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
  }

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

  .btn {
    margin-left: auto;
    margin-bottom: 0.75em;
  }

  .splide {
    margin-top: 3em;
  }

}

.concept {
  .card-list + .btn {
    width: fit-content;
    margin-left: auto;
    margin-top: calc(40/14*1em);
  }
}

.concept .eyecatch {
  width: 100%;
  aspect-ratio: 128/45;
  min-height: 240px;
  max-height: 450px;
  overflow: hidden;

  @media screen and (min-width: 600px) {
    min-height: 360px;
  }

  @media screen and (min-width: 960px) {
    min-height: 400px;
  }

  picture,
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.real_estate .editor-area .btn {
  width: fit-content;
  margin-top: 5em;
  margin-inline: auto;
}

.company {
  .wp-block-column {
    .wp-block-table {
      margin-top: 0;
      padding-top: 0;

      &::before,
      &::after {
        display: none;
      }

      table {
        min-width: 100%;
      }
    }
  }

  .editor-area {
    em {
      display: inline-block;
      font-style: normal;
      font-size: var(--wp--preset--font-size--xx-large);
      margin-right: 0.25em;
      line-height: 1;
    }
  }
}

.brand-concept-block {
  display: grid;
  grid-template-columns: 100%;
  row-gap: 1.5em;
  margin-block: 4.5em;

  @media screen and (min-width: 960px) {
    grid-template-columns: 50% auto;
    column-gap: 2.5em;
    margin-block: 2.5em;
  }

  @media screen and (min-width: 1280px) {
    grid-template-columns: 55% auto;
    column-gap: 5em;
  }
}

.brand-concept-block:first-of-type {
  margin-top: 2.5em;
}

.brand-concept-item {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  /* flex-wrap: wrap; */

  @media screen and (min-width: 480px) {
    min-width: 420px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: 0;
  }

  @media screen and (min-width: 960px) {
    min-width: 100%;
    grid-column: 2;
    grid-row: 1;
    margin-inline: auto;
  }
}

.brand-concept-theme {
  font-size: 5em;
  /*160*/
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  padding: 0;
  margin: auto 0 0;
  flex-basis: 1.5em;

  @media screen and (min-width: 600px) {
    font-size: 7.5em;
  }

  /* @media screen and (min-width: 768px) {
    flex-basis:30%;
  } */

  @media screen and (min-width: 1280px) {
    font-size: 10em;
  }
}

.brand-concept-theme-en {
  display: block;
  font-size: 1.25rem;
  font-family: var(--font-en);
  font-weight: 300;
  margin-top: 0.675rem;
  letter-spacing: 0.1em;

  @media screen and (min-width: 1280px) {
    font-size: 1.5rem;
  }
}

.brand-concept-text {
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0;
  margin: auto 0 0;

  @media screen and (min-width: 960px) {
    flex-basis: auto;
  }
}


.brand-concept-item.image {
  display: block;

  @media screen and (min-width: 960px) {
    grid-column: 1;
    grid-row: 1;
  }

  picture,
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}



/*飯島建設役員はブログなし*/
.postid-10929 .base.blog,
.postid-10927 .base.blog,
.postid-10931 .base.blog {
  padding-top: 0;

  .pagination {
    margin-top: 0;
  }
}

/* animation  */
/* ふわっと表示 アニメーション */
/* .fuwa {
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);

  opacity: 0;
  translate: 0 13%;

  &.isActive {
    opacity: 1;
    translate: 0;
    transition-duration: 1.2s;
    transition-timing-function: opacity var(--ease-out-cubic), translate var(--ease-out-quint);
  }
} */

.fuwa {
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);

  opacity: 0;
  translate: 0 40px;
  /* 13% → 固定値に */

  &.isActive {
    opacity: 1;
    translate: 0;
    transition:
      opacity 1.2s var(--ease-out-cubic),
      translate 1.2s var(--ease-out-quint);
  }
}

/* 固定ヘッダーがある場合は、その高さ分を空けて止める */
#brand {
  scroll-margin-top: 96px;
  /* ヘッダーの高さに合わせて調整 */
}


.inview {
  opacity: 0;
  /* translate: 0 13%; */

  &.isActive {
    opacity: 1;
    transition-duration: 1.8s;
    transition-timing-function: opacity cubic-bezier(0.25, 1, 0.5, 1);
  }
}

.blur {
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  opacity: 0;
  filter: blur(1em);
  scale: 1.1;

  &.isActive {
    opacity: 1;
    filter: blur(0);
    scale: 1;
    transition:
      scale 1s var(--ease-out-quart),
      opacity 1s var(--ease-out-quart),
      filter 1.4s var(--ease-out-quart);
  }
}