:root {
  --font__main: YakuHanJP, 'Noto Sans JP', 'Hiragino Sans',
    'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  // stylelint-enable value-keyword-case
  --font__code: monaco, consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
  --font__pre: 'Courier 10 Pitch', courier, monospace;
  --font__line-height-body: 1.6;
  --font__line-height-pre: 1.6;
  --easing: cubic-bezier(0.2, 1, 0.2, 1);
  --transition: 0.4s var(--easing);
  --color__background-body: #fff;
  --color__background-screen: #f1f1f1;
  --color__background-hr: #ccc;
  --color__background-button: #e6e6e6;
  --color__background-pre: #eee;
  --color__background-ins: #fff9c0;
  --color__background-heading: #202020;
  --color__text-screen: #21759b;
  --color__text-input: #666;
  --color__text-input-focus: #111;
  --color__link: #202020;
  --color__link-visited: #202020;
  --color__link-hover: #d91618;
  --color__text-main: #202020;
  --color__text-main-rgb: 32, 32, 32;
  --color__border-button: #ccc #ccc #bbb;
  --color__border-button-hover: #ccc #bbb #aaa;
  --color__border-button-focus: #aaa #bbb #bbb;
  --color__border-input: #ccc;
  --color__border-abbr: #666;
  --color__border-works: #303030;
  --box-shadow: 0.8rem 0.8rem 1.2rem #00d, -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-hover: 1rem 1rem 1.5rem #014, -1rem -1rem 1.5rem #fff;
  --box-shadow-inset: inset 0.8rem 0.8rem 1.2rem #00d,
    inset -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-dark: 0.8rem 0.8rem 1.2rem #01a,
    -0.8rem -0.8rem 1.2rem rgba(#fff, 0.2);
}
@font-face {
  font-family: Code-Bold;
  src: url(webfonts/Code-Bold.ttf.woff) format('woff'),
    url(webfonts/Code-Bold.ttf.svg#Code-Bold) format('svg'),
    url(webfonts/Code-Bold.ttf.eot),
    url(webfonts/Code-Bold.ttf.eot?#iefix) format('embedded-opentype');
  font-weight: 400;
  font-style: normal;
}
*,
::before,
::after {
  --clamp-root-font-size: 16;
  --clamp-slope: calc(
    (var(--clamp-max) - var(--clamp-min)) /
      (var(--clamp-viewport-max) - var(--clamp-viewport-min))
  );
  --clamp-y-axis-intersection: calc(
    var(--clamp-min) - (var(--clamp-slope) * var(--clamp-viewport-min))
  );
  --clamp-preffered-value: calc(
    var(--clamp-y-axis-intersection) * (1rem / var(--clamp-root-font-size)) +
      (var(--clamp-slope) * 100vi)
  );
  --clamp: clamp(
    calc(var(--clamp-min) * (1rem / var(--clamp-root-font-size))),
    var(--clamp-preffered-value),
    calc(var(--clamp-max) * (1rem / var(--clamp-root-font-size)))
  );
  font-size: var(--clamp);
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

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

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

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

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

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

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

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

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

*,
:before,
:after {
  box-sizing: inherit;
}
html {
  box-sizing: border-box;
}
body,
button {
  color: var(--color__main);
  font-family: var(--font__main);
  font-size: 1rem;
  line-height: 1.6;
}
h1,
h2,
h3 {
  clear: both;
  font-weight: 600;
}
p {
  margin: 0;
  padding: 0;
}
i {
  font-style: italic;
}
address {
  margin: 0;
  padding: 0;
}
code,
var {
  font-family: monaco, consolas, Andale Mono, DejaVu Sans Mono, monospace;
}

html:has(dialog[open]) {
  overflow: hidden;
}

body {
  --clamp-viewport-min: 375;
  --clamp-viewport-max: 1200;
  --clamp-min: 14;
  --clamp-max: 16;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
dt {
  font-weight: 700;
}
dd {
  margin: 0;
  padding: 0;
}
object {
  max-width: 100%;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--color__link);
  transition: 0.3s;
  &:visited {
    color: var(--color__link-visited);
  }
  &:hover,
  &:focus,
  &:active {
    color: var(--color__link-hover);
    transition: 0.3s;
  }
  &:focus {
    outline: thin dotted;
  }
  &:hover,
  &:active {
    outline: 0;
  }
}
.btn01 {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 60px;
    border-radius: 32px;
    background: linear-gradient(270deg, #d91618 0%, #23a6d5 100%);
    background-size: 200% auto;
    background-position: left center;
    border: 2px solid var(--color__link);
    color: #fff;
    font-weight: 700;
    outline: none;
    text-decoration: none;
    transition: background-position 0.4s var(--easing), color 0.3s,
      border-color 0.3s;
    &:hover {
      background: linear-gradient(270deg, #d91618 0%, #23a6d5 100%);
      background-size: 200% auto;
      background-position: right center;
      color: #fff;
      border-color: #fff;
      box-shadow: 0 5px 10px rgba(250, 108, 159, 0.4);
      box-shadow: 0 5px 10px rgba(250, 108, 159, 0.4);
    }
  }
}

button {
  color: #00c;
  background: #e6e6e6;
  border: 1px solid #ccc;
  border-bottom-color: #bbb;
  border-radius: 3px;
  padding: 0.6em 1em 0.4em;
  line-height: 1;
}
button:hover {
  border-color: #ccc #bbb #aaa;
}
button:active,
button:focus {
  border-color: #aaa #bbb #bbb;
}
.main-navigation {
  ul {
    display: flex;
    justify-content: space-between;
    width: 70%;
    gap: 3em;
    /* @media (width <=1200px) {
      gap: 1em;
    } */
    @media (width <=1280px) {
      display: none;
    }
    li {
      a {
        display: block;
        font-family: 'Code-Bold';
        /* font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem); */
        --clamp-min: 16;
        --clamp-max: 24;
        font-display: swap;
        letter-spacing: 0.25em;
        text-decoration: none;
      }
    }
  }
}
.site-info {
  height: 200px;
  margin: 6em 0 0;
  padding: 3em;
  background-color: var(--color__background-heading);
  color: #fff;
  @media (width <=768px) {
    height: 100%;
  }
  ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3em;
    /* @media (width <=768px) {
      flex-direction: column;
      align-items: center;
    } */
    li {
      a {
        display: block;
        color: #fff;
        // font-family: 'Code-Bold';
        // @include font-size(1.5);
        font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
        // letter-spacing: 0.25em;
        font-weight: 700;
        text-decoration: none;
        &:hover {
          color: var(--color__link-hover);
        }
      }
    }
  }
  .copyright {
    margin: 32px auto;
    text-align: center;
  }
}

.hamburger {
  display: none;
  @media (width <=1280px) {
    position: fixed;
    top: 0;
    right: 0;
    display: block;
    // position: relative;
    width: 70px;
    height: 70px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(1px);
    color: var(--color__text-main);
    z-index: 800;
    &.-active {
      .hamburger__line {
        background-color: transparent;
        &::before {
          top: 0;
          background-color: #fff;
          transform: rotate(45deg);
        }
        &::after {
          top: 0;
          background-color: #fff;
          transform: rotate(-45deg);
        }
      }
      .hamburger__text {
        &::before {
          content: 'CLOSE';
          color: #fff;
        }
      }
    }
  }
}
.hamburger__line {
  display: block;
  height: 2px;
  position: absolute;
  top: 23px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  background-color: var(--color__background-heading);
  transition: 0.4s;
  &::before,
  &::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color__background-heading);
    transition: inherit;
  }
  &::before {
    top: -6px;
  }
  &::after {
    top: 6px;
  }
}
.hamburger__text {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  &::before {
    content: 'MENU';
    color: var(--color__background-heading);
    font-size: 0.625rem;
    font-weight: 900;
    text-align: center;
  }
}

:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 1px dotted #fff;
}
.modal-container-1 {
  display: none;
  &.-active {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 500;
    overflow-y: scroll;
  }
  #modal-1-content {
    width: 100%;
    height: 100%;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.45s var(--easing), opacity 0.45s var(--easing);
    .modal-header {
      padding: 20px 30px;
    }
    .modal-main {
      padding: 4em;
      @media (width <=600px) {
        padding: 2em;
      }
    }
    ul {
      display: flex;
      flex-direction: column;
      // align-items: center;
      // justify-content: center;
      // width: 100vw;
      // padding: 1em 0;
      margin: 0 0 1em;
      --clamp-min: 32;
      --clamp-max: 48;
      @media (width <=375px) {
        --clamp-min: 24;
        --clamp-max: 32;
      }
      font-weight: 600;
      li {
        margin: 0 0 0.5em;
        a {
          color: #fff;
          font-family: 'Code-Bold';
          letter-spacing: 0.25em;
          text-decoration: none;
          &:focus {
            outline: none;
          }
          &:focus-visible {
            outline: 1px dotted #fff;
          }
          span {
            --clamp-min: 14;
            --clamp-max: 20;
            @media (width <=600px) {
              display: block;
            }
          }
        }
      }
    }
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* === MicroModal をアニメ可能にする土台 === */
.modal {
  position: fixed;
  inset: 0;
  display: grid !important; /* ← 重要：既定の display:none を上書き */
  place-items: center;
  z-index: 9999;
}

/* 背景（フェード） */
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 中身（下からスッと） */
.modal__container {
  position: relative;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: transparent; /* 全画面メニューなら透明でOK。必要なら色を付ける */
  width: min(92vw, 1100px);
  height: min(92vh, 800px);
  display: grid;
  place-items: center;
}

/* 非表示状態（MicroModal が aria-hidden を切替） */
.modal[aria-hidden='true'] {
  pointer-events: none;
}
.modal[aria-hidden='true'] .modal__overlay {
  opacity: 0;
  visibility: hidden;
}
.modal[aria-hidden='true'] .modal__container {
  transform: translateY(24px);
  opacity: 0;
}

/* 表示状態 */
.modal[aria-hidden='false'] {
  pointer-events: auto;
}
.modal[aria-hidden='false'] .modal__overlay {
  opacity: 1;
  visibility: visible;
}
.modal[aria-hidden='false'] .modal__container {
  transform: translateY(0);
  opacity: 1;
}

/* （任意）リンクを段階的に表示したい場合 */
.modal[aria-hidden='false'] .menu a {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal[aria-hidden='true'] .menu a {
  transform: translateY(10px);
  opacity: 0;
}
.modal[aria-hidden='false'] .menu a {
  transform: translateY(0);
  opacity: 1;
}
.modal[aria-hidden='false'] .menu a:nth-child(1) {
  transition-delay: 0.05s;
}
.modal[aria-hidden='false'] .menu a:nth-child(2) {
  transition-delay: 0.12s;
}
.modal[aria-hidden='false'] .menu a:nth-child(3) {
  transition-delay: 0.19s;
}
.modal[aria-hidden='false'] .menu a:nth-child(4) {
  transition-delay: 0.26s;
}
.modal[aria-hidden='false'] .menu a:nth-child(5) {
  transition-delay: 0.33s;
}
.modal[aria-hidden='false'] .menu a:nth-child(6) {
  transition-delay: 0.4s;
}

/* 低モーション環境 */
@media (prefers-reduced-motion: reduce) {
  .modal__overlay,
  .modal__container,
  .menu a {
    transition: none !important;
  }
}
/* 背景フェード */
.modal-container-1.is-anim-in {
  animation: fadeIn 0.45s var(--easing) both;
}
.modal-container-1.is-anim-out {
  animation: fadeOut 0.45s var(--easing) both;
}

.modal-container-1.-active #modal-1-content.is-content-in {
  transform: translateY(0);
  opacity: 1;
}
.wp-pagenavi {
  clear: both;
  margin: 0.5em 0;
  text-align: center;
}
.pagenav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 10em 0 5em;
  padding: 0;
  li {
    display: flex;
    align-items: center;
    width: calc(50% - 12px);
    font-size: 0.875rem;
    @media (width <=768px) {
      width: 100%;
    }
  }
  .prev {
    i {
      margin-right: 0.5em;
    }
  }
  .next {
    // text-align: right;
    justify-content: flex-end;
    @media (width <=768px) {
      // text-align: left;
      justify-content: flex-start;
    }
    i {
      margin-left: 0.5em;
    }
  }
}
.comment-navigation,
.posts-navigation,
.post-navigation {
  .site-main & {
    margin: 0 0 1.5em;
  }

  .nav-links {
    display: flex;
  }

  .nav-previous {
    flex: 1 0 50%;
  }

  .nav-next {
    text-align: end;
    flex: 1 0 50%;
  }
}
.sticky {
  display: block;
}
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.post,
.page {
  margin: 0;
}
.updated:not(.published) {
  display: none;
}
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}
.container {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}
.en-code {
  font-family: 'Code-Bold';
  letter-spacing: 0.25em;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em;
  @media (width <=768px) {
    padding: 1em;
  }
  .site-branding {
    margin: 0;
    padding: 0;
    line-height: 1;
    @media (width <=1200px) {
      width: 30%;
    }
    @media (width <=768px) {
      width: 80%;
    }
    h1 {
      margin: 0;
      padding: 0;
    }
  }
}
.mv {
  background: linear-gradient(-60deg, #d91618, #d1d1d1, #23a6d5, #d3dd20, #000);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  overflow: hidden;
  img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.column-2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 0 32px;
  @media (width <=768px) {
  }
  > li {
    width: 40%;
    padding: 1em;
    @media (width <=768px) {
      width: 90%;
    }
  }
}
.section-title01 {
  display: grid;
  place-content: center;
  gap: 1ch;
  /* width: 230px; */
  width: fit-content;
  min-width: auto;
  margin: 48px auto;
  padding: 16px 2em 14px;
  background-color: var(--color__background-heading);
  @media (width <=768px) {
    margin: 32px auto;
  }
  &::before {
    display: block;
    color: #fff;
    content: attr(data-en);
    --clamp-min: 20;
    --clamp-max: 24;
    font-family: 'Code-Bold';
    font-weight: 600;
    letter-spacing: 0.25em;
    line-height: 1;
  }
}
.home-service {
  ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin: 0 0 32px;

    li {
      position: relative;
      width: 40%;
      padding: 1em 2em;

      @media (width <= 768px) {
        width: 90%;
      }

      &::before,
      &::after {
        content: '';
        width: 15px;
        height: 100%;
        position: absolute;
      }

      &::before {
        border-left: dotted 2px var(--color__link);
        border-top: dotted 2px var(--color__link);
        border-bottom: dotted 2px var(--color__link);
        top: 0;
        left: 0;
      }

      &::after {
        border-right: dotted 2px var(--color__link);
        border-top: dotted 2px var(--color__link);
        border-bottom: dotted 2px var(--color__link);
        top: 0;
        right: 0;
      }

      > div {
        position: relative;
        min-height: 260px;
        height: 100%;
        &::before {
          position: absolute;
          bottom: 0;
          right: -16px;
          color: rgba(var(--color__text-main-rgb), 0.05);
          font: var(--fa-font-thin, normal 100 1em/1 'Font Awesome 6 Pro');
          font-size: 12rem;
          line-height: 1;
          pointer-events: none;
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
          overflow: hidden;
        }
        p:not(:last-child) {
          margin: 0 0 1em;
        }
      }

      &.service-website {
        > div::before {
          content: var(--fa-var-globe, '\f0ac');
        }
      }

      &.service-shooting {
        > div::before {
          content: var(--fa-var-video, '\f03d');
        }
      }

      h3 {
        margin: 0 0 1em;
        padding: 0;
        --clamp-min: 20;
        --clamp-max: 24;
      }
    }
  }
}
.home-post-list {
  li {
    margin: 0 0 1em;
    a {
      display: flex;
      flex-direction: column-reverse;
      h3 {
        margin: 0;
        padding: 0;
      }
      p {
        margin: 0;
        padding: 0;
      }
    }
  }
}
.about-section {
  dl {
    dt {
      margin: 0 0 0.25em;
    }
    dd {
      margin: 0 0 1em;
    }
  }
}
#map_canvas {
  width: 100%;
  height: 300px;
}

#btn-pagetop {
  position: fixed;
  right: 15px;
  bottom: 48px;
  z-index: 100;
  a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 10px;
    background-color: #fff;
    color: #000;
    box-shadow: 0px 0px 8px rgba(167, 167, 167, 0.8);
    border-radius: 44px;
    font-size: 1em;
    text-decoration: none;
    transition: all 0.4s;
    backface-visibility: hidden;
    outline: none;
    &:hover {
      opacity: 0.7;
      will-change: transform;
      transform: perspective(0);
    }
  }
}

.delighter {
  transition: all 0.3s ease-out;
  transform: translateY(30px);
  opacity: 0;
}
.delighter.started {
  transform: none;
  opacity: 1;
}
.delighter.started.ended {
  // border: solid red 10px;
}

.widget {
  margin: 0 0 1.5em;
}
.gallery {
  grid-gap: 1.5em;
  margin-bottom: 1.5em;
  display: grid;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  word-wrap: normal !important;
  position: absolute !important;
  &:focus {
    clip-path: none;
    color: #21759b;
    z-index: 100000;
    background-color: #f1f1f1;
    border-radius: 3px;
    width: auto;
    height: auto;
    padding: 15px 23px 14px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    display: block;
    top: 5px;
    left: 5px;
    box-shadow: 0 0 2px 2px #0009;
    clip: auto !important;
  }
}
#primary[tabindex='-1']:focus {
  outline: 0;
}

/* 初期は絶対に隠さない（= チラつきなし） */
.io-delight {
  will-change: transform, opacity;
}

/* “最初の1回” にだけ付くクラス。opacityは微小値発進で視覚フリッカー回避 */
.io-delight.__animate-in {
  animation: revealUp 0.6s ease-out both;
}
@keyframes revealUp {
  from {
    transform: translateY(18px);
    opacity: 0.001;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* 動きを抑制したい環境配慮 */
@media (prefers-reduced-motion: reduce) {
  .io-delight.__animate-in {
    animation: none;
  }
}

/* === 実績カードのホバー演出 === */
.list-works {
  .works-card {
    border: 1px solid var(--color__border-works);
  }

  .works-card .works-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
  }

  .works-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: border-radius 0.3s ease; /* スムーズに変化 */
  }

  .works-link:hover .works-thumb,
  .works-link:focus .works-thumb,
  .works-link:focus-visible .works-thumb {
    border-radius: 8px;
  }

  /* サムネイル画像 */
  .works-thumb img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
    will-change: transform;
  }

  /* 黒トーン (下層) */
  .works-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.25s ease;
    pointer-events: none;
    z-index: 1;
  }

  /* 中央テキスト (上層) */
  .works-cta {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column; /* 日本語＋英語を縦に */
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 8px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 2; /* ← トーンより前に出す */
  }

  .works-cta .ja {
    font-size: 1rem;
  }

  .works-cta .en {
    font-size: 0.85rem;
    font-family: 'Code-Bold';
    letter-spacing: 0.25em;
  }

  /* ホバー／フォーカス時 */
  .works-link:hover .works-thumb::after,
  .works-link:focus .works-thumb::after,
  .works-link:focus-visible .works-thumb::after {
    background: rgba(0, 0, 0, 0.45);
  }

  .works-link:hover .works-cta,
  .works-link:focus .works-cta,
  .works-link:focus-visible .works-cta {
    opacity: 1;
    transform: translateY(0);
  }

  /* 画像ズーム */
  .works-link:hover .works-thumb img,
  .works-link:focus .works-thumb img,
  .works-link:focus-visible .works-thumb img {
    transform: scale(1.03);
    filter: saturate(1.05);
  }

  /* タイトルの強調 */
  .works-link:hover .blog-title,
  .works-link:focus .blog-title,
  .works-link:focus-visible .blog-title {
    text-decoration: underline;
  }

  /* キーボードフォーカス用 */
  .works-link:focus-visible {
    outline: 3px solid #111;
    outline-offset: 4px;
    border-radius: 12px;
  }

  /* 低モーション設定のユーザーに配慮 */
  @media (prefers-reduced-motion: reduce) {
    .works-thumb img,
    .works-thumb::after,
    .works-cta {
      transition: none !important;
    }
  }
}

.single-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  .detail {
    width: 70%;
    min-height: 1000px;
    &.blog {
      min-height: inherit;
    }
    @media (width <=768px) {
      width: 100%;
    }
    .mainphoto {
      margin: 0 0 2em;
      padding: 0 0 2em;
      border-bottom: 1px solid var(--color__border-works);
    }
    .works-info {
      margin: 1em 0;
    }
    article {
      margin: 0 0 3em;
      padding: 0 0 3em;
      border-bottom: 1px solid var(--color__border-works);
    }
    dl {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1em;
      margin: 2em 0 4em;
      dt {
        width: 28%;
        @media (width <=768px) {
          width: 100%;
        }
      }
      dd {
        width: 68%;
        @media (width <=768px) {
          width: 100%;
        }
      }
    }
    .site-image {
      display: flex;
      flex-wrap: wrap;
      gap: 1em;
    }
    #nav-under {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      margin: 6em 0 2em;
    }
  }
  aside {
    position: relative;
    width: 25%;
    max-height: 800px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    &.open {
      max-height: inherit;
      opacity: 1;
    }
    @media (width <=768px) {
      width: 100%;
      max-height: 300px;
      margin: 2em 0;
      padding: 3em 0 0;
      border-top: 1px solid var(--color__border-works);
    }
    ul {
      li {
        margin: 0 0 1em;
      }
    }
    #aside-btn {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 30px;
      background: url(images/df_set/navigate-wh-down.png) no-repeat center #ccc;
      background-size: 15px;
      &.open {
        height: 0;
      }
    }
  }
}
.is-hidden {
  display: none !important;
}
@keyframes blinking {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.entry-loading {
  text-align: center;
  margin: 3em 0;
  font-weight: 700;
  width: 100%;
  display: none;
  animation: blinking 1s ease-in-out infinite alternate;
  color: #999;
}
.entry-loading.is-show {
  display: block;
}

.blog-title {
  margin: 0 0 32px;
  --clamp-min: 24;
  --clamp-max: 32;
  text-align: center;
}

.service {
  p {
    margin: 0 0 1em;
  }
}
.service-img {
  display: flex;
  flex-wrap: wrap;
  img {
    width: 33.3%;
  }
  figcaption {
    width: 100%;
    text-align: right;
  }
}
.service-section {
  margin: 3em 0;
  h3 {
    --clamp-min: 22;
    --clamp-max: 28;
  }
  h4 {
    margin: 1em 0 0;
    --clamp-min: 20;
    --clamp-max: 24;
  }
}
.equipment {
  dl {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 1em 0 0;
    dt {
      width: 33%;
    }
    dd {
      width: 60%;
      margin-bottom: 1em;
    }
  }
}

.contact {
  --clamp-min: 18;
  --clamp-max: 20;
  p {
    margin: 0 0 1em;
  }
  .mail {
    --clamp-min: 26;
    --clamp-max: 60;
    span {
      display: none;
    }
  }
}

.site-footer {
  margin-top: auto;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.mb2em {
  margin: 0 0 2em;
}
.mb4em {
  margin: 0 0 4em;
}
