/*
Theme Name: mishima66
Author: Crossroad Co., Ltd.
*/
@charset "utf-8";

img {
  height: auto;
  vertical-align: middle;
}

.wpcf7-turnstile {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* メニューで、親メニューがキーボードでフォーカスされたらサブメニューを展開 */
.menu-item-has-children > a:focus {
  outline: 2px dashed #000; /* フォーカス枠はサイトのデザインに合わせて変更 */
  outline-offset: 2px;
}
.nav-dynamic-items.is-keyboard-open > .sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

:root {
  --paper: #f9f9f9;
  --paper2: #ece7d8;
  --ink: #333333;
  --soft: #62675d;
  --line: #e0e0e0;
  --green: #689f38;
  --green2: #558b2f;
  --green3: #7cb342;
  --gold: #0d47a1;
  --primary: #4a5c43;
  --secondary: #1a2a40;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

html,
body {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  letter-spacing: .05em;
  overflow-wrap: break-word;
  word-break: break-word;
  padding-bottom: 72px;
}

body.is-loading,
body.menu-open {
  overflow: hidden;
}

body.subpage {
  padding-top: 80px;
}

p, h1, h2, h3, h4, h5, h6, a, span, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img, video, iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: .08em;
}
h1, h2, h3 {
  line-height: 1.55;
}

input[type="text"],
input[type="email"],
textarea,
select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 769px) {
  html {
    scroll-padding-top: 0;
  }
  html,
  body {
    overflow-x: clip;
  }
  body {
    padding-bottom: 0;
  }
}

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

.section {
  padding: 72px 0;
}

.center-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.center-heading h2 {
  font-size: clamp(18px, 5.8vw, 24px);
  letter-spacing: .055em;
  white-space: nowrap;
  margin: 24px 0 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s cubic-bezier(.22, .6, .2, 1), transform .65s cubic-bezier(.22, .6, .2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.d1 { transition-delay: .14s; }
.d2 { transition-delay: .28s; }

.d-br { display: none; }
.m-br { display: inline; }

.eyebrow { display: none; }

.hide-on-mobile { display: none; }

@media (min-width: 769px) {
  .wrap {
    width: min(var(--max), calc(100% - 60px));
  }
  .section {
    padding: 140px 0;
  }
  .center-heading h2 {
    font-size: 32px;
    letter-spacing: .08em;
    white-space: normal;
  }
  .reveal {
    transform: translateY(28px);
    transition-duration: 1.05s;
  }
  .d-br { display: inline; }
  .m-br { display: none; }
  .hide-on-mobile { display: block; }
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--paper);
  transition: opacity .75s ease, visibility .75s ease;
}
.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-rings {
  position: absolute;
  width: 145px;
  height: 145px;
}
.loader-rings span {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(244, 241, 232, .22);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.25);
  opacity: 0;
  animation: loaderRipple 1.4s ease-out forwards;
}
.loader-rings span:nth-child(2) { animation-delay: .16s; }
.loader-rings span:nth-child(3) { animation-delay: .32s; }

.loader-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.loader-message {
  position: absolute;
  top: calc(50% + 78px);
  font-size: 13px;
  letter-spacing: .15em;
  color: #fff;
  opacity: 0;
  animation: loaderText .9s ease .55s forwards;
}

.loader-badge {
  position: relative;
  z-index: 2;
  width: 260px;
  height: auto;
  max-width: 80vw;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: scale(.72) rotate(-12deg);
  animation: loaderBadge 1.15s cubic-bezier(.2, .75, .2, 1) .18s forwards;
}

@keyframes loaderBadge { to { opacity: .96; transform: scale(1) rotate(0); } }
@keyframes loaderRipple {
  0% { opacity: .6; transform: translate(-50%, -50%) scale(.25); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes loaderText { to { opacity: 1; } }

@media (min-width: 769px) {
  .loader-rings {
    width: 180px;
    height: 180px;
  }
  .loader-message {
    top: calc(50% + 92px);
    font-size: 16px;
  }
  .loader-badge {
    width: 450px;
  }
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: block;
  border-bottom: 1px solid transparent;
  transition: .4s;
}
.nav.scrolled {
  background: rgba(244, 241, 232, .98);
  border-color: var(--line);
}

.nav-inner {
  width: 100%;
  height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.header-logo {
  width: auto;
  height: 28px;
  object-fit: contain;
}

.hamburger {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 7px auto;
  background: var(--green);
}

.nav .nav-links {
  position: fixed;
  inset: 72px 0 0;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  padding: 22px 20px 96px;
  background: rgba(244, 241, 232, .99);
  border-bottom: 1px solid var(--line);
  overflow-y: auto;
}
.nav .nav-links.open {
  display: flex;
}

.nav .nav-links ul {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav .nav-links li {
  width: 100%;
}

.nav .nav-links > a,
.nav .nav-links .menu-item > a {
  display: block;
  width: 100%;
  padding: 18px 5px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  text-align: right;
  color: var(--secondary);
  transition: .25s;
}
.nav .nav-links > a:hover,
.nav .nav-links .menu-item > a:hover {
  color: var(--primary);
}

.nav .nav-links a.nav-cta,
.nav .nav-links .nav-cta > a {
  display: none;
}

.lang-switch {
  display: inline-flex;
  align-items: stretch;
  align-self: center;
  margin: 20px auto 0;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 6px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
}
.lang-switch .active,
.lang-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 25px;
}
.lang-switch .active {
  background: var(--green);
  color: #fff;
}
.lang-switch a {
  background: #fff;
  color: var(--green);
  transition: .3s;
}
.lang-switch a:hover {
  background: rgba(104, 159, 56, .1);
  color: var(--primary);
}
.lang-switch span:not(.active) {
  display: none;
}

@media (min-width: 381px) {
  .header-logo {
    height: 35px;
  }
}

@media (min-width: 769px) {
  .nav-inner {
    height: 92px;
    padding: 0 30px;
  }
  .hamburger {
    width: 40px;
    height: 40px;
  }
  .nav .nav-links {
    top: 92px;
    gap: 25px;
    padding: 30px;
    background: var(--paper);
  }
  .nav .nav-links li {
    width: auto;
  }
  .nav .nav-links > a,
  .nav .nav-links .menu-item > a {
    width: auto;
    border-bottom: 0;
  }
  .nav .nav-links a.nav-cta,
  .nav .nav-links .nav-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 30px;
    background: var(--green);
    color: #fff;
    max-width: 300px;
  }
  .nav .nav-links a.nav-cta:hover,
  .nav .nav-links .nav-cta > a:hover {
    background: var(--green2);
    color: #fff;
  }
  .lang-switch {
    align-self: auto;
    width: 100%;
    margin: 20px 0 0;
    font-size: 17px;
    max-width: 200px;
  }
  .lang-switch .active,
  .lang-switch a {
    flex: 1;
  }
}

@media (min-width: 1200px) {
  .hamburger {
    display: none;
  }
  .nav .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
  }
  .nav .nav-links ul {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: auto;
  }
  .nav .nav-links > a,
  .nav .nav-links .menu-item > a {
    padding: 0;
    font-size: 15px;
    letter-spacing: .05em;
    text-align: left;
  }
  .nav .nav-links a.nav-cta,
  .nav .nav-links .nav-cta > a {
    width: auto;
    padding: 10px 24px;
  }
  .lang-switch {
    width: auto;
    margin: 0 0 0 20px;
  }
  .lang-switch .active,
  .lang-switch a {
    flex: none;
    padding: 6px 16px;
  }
}
@media (min-width: 1400px) {
  .header-logo {
    height: 45px;
  }
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}

.hero-media,
.hero-shade {
  display: none;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.035);
  filter: saturate(.9) contrast(.96);
}

.hero-inner {
  position: relative;
  z-index: 4;
}

.hero h1 {
  width: 100%;
  margin-bottom: 10px;
  font-size: clamp(20px, 6vw, 24px);
  line-height: 1.45;
  letter-spacing: .045em;
  text-align: center;
  white-space: nowrap;
}
.hero h1 br {
  display: none;
}

.hero-media-mobile {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.hero-media-mobile::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 35px 25px var(--paper);
  pointer-events: none;
}
.hero-media-mobile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.hero-lead {
  position: relative;
  z-index: 2;
  margin: -20px 0 45px;
  padding: 30px 25px;
  background: rgba(255, 255, 255, .65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .03em;
  color: #444;
  text-shadow: 0 0 10px rgba(255, 255, 255, .9), 0 0 20px rgba(255, 255, 255, .8);
}
.hero-lead .m-block {
  display: block;
  margin-bottom: 16px;
}
.hero-lead .m-block:last-child {
  margin-bottom: 0;
}

.en-badge {
  display: inline-block;
  margin-bottom: 15px;
  padding: 4px 12px;
  border-radius: 4px;
  background: #c5a059;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

html:lang(en) .hero h1 {
  white-space: normal;
}
html:lang(en) .hero h1 br {
  display: inline;
}

@media (min-width: 769px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: 900px;
    height: 100vh;
    padding: 0;
  }
  .hero-media {
    position: absolute;
    inset: 0 0 0 40%;
    display: block;
    overflow: hidden;
  }
  .hero-shade {
    position: absolute;
    inset: 0;
    display: block;
    background: linear-gradient(90deg, rgba(244, 241, 232, 1) 0%, rgba(244, 241, 232, .95) 35%, rgba(244, 241, 232, .6) 48%, rgba(244, 241, 232, 0) 70%);
  }
  .hero-copy {
    max-width: 700px;
  }
  .hero h1 {
    width: auto;
    margin-bottom: 28px;
    font-family: 'BIZ UDPGothic', 'BIZ UDPゴシック', sans-serif;
    font-size: clamp(36px, 5.1vw, 70px);
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: .08em;
    text-align: left;
    white-space: normal;
  }
  .hero h1 br {
    display: inline;
  }
  .hero-media-mobile {
    display: none;
  }
  .hero-lead {
    position: static;
    margin: 0 0 45px;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
    font-size: 1.15rem;
    line-height: 1.8;
    letter-spacing: inherit;
    color: #4e4b4b;
  }
  .hero-lead .m-block {
    display: inline;
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .hero-media {
    left: 48%;
  }
}
html:lang(en) .hero h1 {
  font-size: clamp(20px, 6vw, 36px) !important;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.about.section {
  position: relative;
  z-index: 1;
  margin-top: -20px;
  padding: 0 0 30px;
}
.about.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .15);
}
.about .center-heading {
  margin-bottom: 30px;
}

.about-media-mobile {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% + 40px);
  margin: -10px -20px 25px;
  overflow: hidden;
}
.about-media-mobile::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 35px 25px var(--paper);
  pointer-events: none;
}
.about-media-mobile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.about-story {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.story-block {
  margin-bottom: 60px;
  padding: 30px 20px;
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 12px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .05), 0 4px 20px rgba(0, 0, 0, .03);
  color: var(--ink);
  transition: transform .3s ease;
}
.story-block:last-child {
  margin-bottom: 0;
}
.story-title {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
}
.story-block p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink);
}

@media (min-width: 769px) {
  .about.section {
    margin-top: 0;
    padding: 140px 0;
    background: url('img/hero.jpg') center 15% / cover fixed;
  }
  .about .center-heading {
    margin-bottom: 60px;
  }
  .about .center-heading h2 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
  }
  .about-media-mobile {
    display: none;
  }
  .about-story {
    padding-bottom: 40px;
  }
  .story-block {
    position: -webkit-sticky;
    position: sticky;
    padding: 50px;
  }
  .story-block:last-child {
    margin-bottom: 60px;
  }
  .story-block:nth-child(1) { top: 120px; z-index: 10; }
  .story-block:nth-child(2) { top: 140px; z-index: 20; }
  .story-block:nth-child(3) { top: 160px; z-index: 30; }
  .story-title {
    font-size: 1.4rem;
  }
}

.services.section {
  padding: 10px 0 30px;
}

.services-head {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}
.services-head h2 {
  margin: 24px 0 20px;
  font-size: clamp(18px, 5.8vw, 24px);
  letter-spacing: .055em;
  white-space: nowrap;
}
.services-lead {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}
.services-desc {
  margin: 0;
  font-size: 15px;
  text-align: left;
}

.ui-hint-wrapper {
  margin: -5px 0 30px;
  text-align: center;
}
.ui-hint {
  display: inline-block;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid rgba(0, 0, 0, .04);
  border-radius: 40px;
  background: rgba(0, 0, 0, .03);
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--soft);
}

.h-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-top: 30px;
}
.h-accordion-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.h-accordion-item {
  position: relative;
  flex: none;
  width: 100%;
  height: 160px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .02);
  cursor: pointer;
  transition: height .5s cubic-bezier(.25, 1, .5, 1);
  -webkit-tap-highlight-color: transparent;
}
.h-accordion-item:hover,
.h-accordion-item:focus {
  height: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}
.h-accordion-item:focus:not(:focus-visible) {
  outline: none;
}

.spacer-item {
  display: none;
  visibility: hidden;
  pointer-events: none;
  border: 0;
  box-shadow: none;
}

.h-accordion-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s ease;
}
.h-accordion-item:hover .h-accordion-bg,
.h-accordion-item:focus .h-accordion-bg {
  transform: scale(1.05);
}
.h-accordion-bg.support-bg {
  background-color: #fff;
  background-size: 100% auto;
  background-position: center bottom 60px;
  background-repeat: no-repeat;
}
html:lang(en) .h-accordion-bg.support-bg {
  background-size: cover;
  background-position: center center;
}
.h-accordion-item:hover .h-accordion-bg.support-bg,
.h-accordion-item:focus .h-accordion-bg.support-bg {
  background-size: cover;
  background-position: center bottom 60px;
}

.h-accordion-overlay {
  display: none;
}

.h-accordion-content {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, .92);
  border-top: 1px solid rgba(0, 0, 0, .05);
  color: var(--secondary);
}
.h-accordion-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  transition: transform .5s cubic-bezier(.25, 1, .5, 1);
}
.h-accordion-item:hover .h-accordion-header,
.h-accordion-item:focus .h-accordion-header {
  transform: translateY(-5px);
}
.h-accordion-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--secondary);
}

.h-accordion-badge {
  display: inline-block;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
.badge-both {
  background: rgba(104, 159, 56, .15);
  border: 1px solid rgba(104, 159, 56, .3);
  color: var(--green);
}
.badge-spot {
  background: rgba(26, 42, 64, .1);
  border: 1px solid rgba(26, 42, 64, .2);
  color: var(--secondary);
}
.badge-retainer {
  background: rgba(227, 196, 120, .25);
  border: 1px solid rgba(227, 196, 120, .5);
  color: #a67f1b;
}

.h-accordion-text {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  font-size: .9rem;
  line-height: 1.45;
  color: #444;
  transition: opacity .2s ease, transform .2s ease, max-height .3s ease;
}
.h-accordion-text p {
  margin: 0;
}
.h-accordion-item:hover .h-accordion-text,
.h-accordion-item:focus .h-accordion-text {
  max-height: 400px;
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease .35s, transform .7s cubic-bezier(.2, .8, .2, 1) .35s, max-height .6s ease .35s;
}

html:lang(en) .h-accordion-item:hover,
html:lang(en) .h-accordion-item:focus {
  height: 650px;
}
html:lang(en) .h-accordion-text {
  font-size: .82rem;
}
html:lang(en) .h-accordion-item:hover .h-accordion-text,
html:lang(en) .h-accordion-item:focus .h-accordion-text {
  max-height: 600px;
}

@media (min-width: 769px) {
  .services.section {
    padding: 140px 0;
  }
  .services-head h2 {
    margin-bottom: 30px;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: .08em;
    white-space: normal;
  }
  .services-lead {
    text-align: inherit;
  }
  .ui-hint-wrapper {
    margin: -15px 0 50px;
  }
  .ui-hint {
    padding: 10px 28px;
    font-size: .9rem;
  }
  .h-accordion-item:hover,
  .h-accordion-item:focus {
    height: 450px;
  }
  .h-accordion-header {
    height: 75px;
  }
  .h-accordion-text {
    line-height: 1.7;
  }
  .h-accordion-item:hover .h-accordion-text,
  .h-accordion-item:focus .h-accordion-text {
    margin-top: 20px;
  }
  html:lang(en) .h-accordion-item:hover,
  html:lang(en) .h-accordion-item:focus {
    height: 550px;
  }
  html:lang(en) .h-accordion-header {
    height: 85px;
  }
  html:lang(en) .h-accordion-text {
    font-size: .85rem;
    line-height: 1.5;
  }
}

@media (min-width: 992px) {
  .h-accordion-row {
    flex-direction: row;
    height: 280px;
  }
  .h-accordion-item {
    flex: 1;
    width: auto;
    height: auto;
    transition: flex .6s cubic-bezier(.25, 1, .5, 1), box-shadow .4s ease;
  }
  .h-accordion-item:hover,
  .h-accordion-item:focus {
    flex: 2.5;
    height: auto;
  }
  .spacer-item {
    display: block;
  }
  .h-accordion-content {
    padding: 25px 15px 20px;
  }
  html:lang(en) .h-accordion-row {
    height: 460px;
  }
  html:lang(en) .h-accordion-item:hover,
  html:lang(en) .h-accordion-item:focus {
    height: auto;
  }
}

.news {
  background: var(--paper2);
}
.news.section {
  padding: 20px 0 30px;
}

.news-head {
  margin-bottom: 20px;
}
.news-head h2 {
  margin: 0;
  font-size: 27px;
}

.news-more-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 8px;
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--ink);
}
.news-more-link span {
  font-family: 'Times New Roman', serif;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.news-more-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--ink);
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
}
.news-more-link:hover::after {
  width: 100%;
}
.news-more-link:hover span {
  transform: translateX(4px);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}
.news-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover .news-thumb img {
  transform: scale(1.05);
}
.news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
.news-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.news-info time {
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--soft);
}
.news-info .category {
  padding: 4px 12px;
  border: 1px solid rgba(207, 177, 111, .3);
  border-radius: 20px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
}
.news-info .cat-column {
  background: rgba(13, 71, 161, .05);
  border-color: rgba(13, 71, 161, .2);
  color: #2c3e50;
}
.news-body h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (min-width: 769px) {
  .news.section {
    padding-bottom: 140px;
  }
  .news-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
  }
  .news-head h2 {
    font-size: 35px;
  }
  .news-more-link {
    margin-top: 0;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .news-thumb {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 992px) {
  .news.section {
    padding-top: 140px;
  }
  .news-head {
    margin-bottom: 45px;
  }
  .news-head h2 {
    margin-top: 20px;
  }
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.office.section {
  padding-top: 10px;
}
.office-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.office-info-inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 25px;
}
.office-table-area {
  flex: 1;
}
.office-photo-area {
  flex: none;
  padding: 10px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}
.office-photo-area img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.office-photo-area img + img {
  margin-top: 10px;
}

.office-map {
  margin-top: 25px;
}
.office-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
}
.info-table tbody,
.info-table tr {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.info-table tr {
  border-bottom: 1px solid var(--line);
}
.info-table th,
.info-table td {
  display: block;
  width: 100%;
  border-bottom: 0;
  font-size: 15px;
  text-align: left;
}
.info-table th {
  padding: 12px 15px 4px;
  background: rgba(244, 241, 232, .3);
  font-weight: 600;
  color: var(--secondary);
}
.info-table td {
  padding: 4px 15px 12px;
  color: var(--ink);
}

.rep-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
}
.rep-header {
  padding: 30px 20px 15px;
}
.rep-header h3 {
  margin: 0;
  font-size: 1.17em;
}
.rep-title {
  margin: 0;
}
html:lang(en) .rep-title {
  letter-spacing: 0;
}
.rep-bio {
  margin: 0 0 20px;
  padding: 20px;
  border-radius: 8px;
  background: var(--paper2);
  font-size: .95rem;
  line-height: 1.6;
}

.rep-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.rep-body img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  object-position: center 20%;
}
.rep-message {
  width: 100%;
  padding: 25px 20px 40px;
  font-size: 1rem;
  line-height: 1.7;
}
.rep-message p {
  margin: 0;
}
.rep-message p + p {
  margin-top: 15px;
}
.rep-message h4 {
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
}
.rep-message .rep-catch {
  margin-bottom: 30px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--green);
}
.rep-message .rep-sign {
  margin-top: 40px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
}

@media (min-width: 576px) {
  .rep-header {
    padding: 50px 50px 20px;
  }
  .rep-body img {
    max-height: 600px;
  }
}

@media (min-width: 769px) {
  .rep-body {
    flex-direction: row;
  }
  .rep-body img {
    width: 28%;
    max-height: none;
  }
  .rep-message {
    width: 72%;
    padding: 0 50px 50px 40px;
  }
  .office.section {
    padding-top: 140px;
  }
  .office-info-inner {
    flex-direction: row;
    gap: 40px;
  }
  .office-photo-area {
    flex: 0 0 30%;
  }
  .info-table tbody {
    display: table-row-group;
  }
  .info-table tr {
    display: table-row;
    border-bottom: 0;
  }
  .info-table th,
  .info-table td {
    display: table-cell;
    width: auto;
    padding: 24px;
    border-bottom: 1px solid var(--line);
  }
  .info-table th {
    width: 30%;
  }
  .rep-body img {
    object-position: 65% center;
  }
  html:lang(en) .rep-body img {
    object-position: 80% center;
  }
}

.parallax-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  text-align: center;
  background: url('img/fuji_parallax.jpg') center / cover no-repeat;
}
.parallax-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .15);
}
.cta-content {
  max-width: 900px;
  margin: 0 auto;
}
.cta-message {
  margin-bottom: 60px;
}
.cta-message h2 {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: .1em;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, .8);
}

.cta-box {
  padding: 40px 20px;
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
  color: var(--ink);
}
.cta-box h3 {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  font-size: 1.4rem;
  letter-spacing: .15em;
  color: var(--gold);
}
.cta-box p {
  margin-bottom: 25px;
  font-size: 13.5px;
  line-height: 1.6;
  text-align: left;
  color: var(--ink);
}

.cta-box .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--green3);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--green2);
  --bs-btn-active-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 104, 159, 56;
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0 auto;
  padding: 15px;
  border: 1px solid transparent;
  border-radius: 50px;
  background: var(--green);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  line-height: inherit;
  letter-spacing: .12em;
  text-align: center;
  white-space: nowrap;
  transition: all .3s ease;
}
.cta-box .btn-primary span {
  display: none;
}
.cta-box .btn-primary:hover {
  background: var(--green3);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
}

@media (min-width: 769px) {
  .parallax-cta {
    padding: 120px 0;
    background-attachment: fixed;
  }
  .cta-message h2 {
    font-size: clamp(28px, 4vw, 46px);
  }
  .cta-box {
    padding: 60px;
  }
  .cta-box h3 {
    margin-bottom: 25px;
    font-size: 2.2rem;
  }
  .cta-box p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: inherit;
  }
  .cta-box .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    width: auto;
    padding: 20px 50px;
    font-size: 1.15rem;
    white-space: normal;
  }
  .cta-box .btn-primary span {
    display: inline;
  }
}

.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px 0 0;
  background: var(--paper);
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 0 15px;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 13px;
}
.footer-brand .logo {
  width: 280px;
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
}
.footer-brand p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--soft);
}

.footer nav,
.footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer nav a {
  display: block;
  padding: 4px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--soft);
}
.footer nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: .12em;
  color: rgba(34, 36, 31, .5);
}
.footer-bottom > span {
  display: block;
  line-height: 1;
}
.footer-bottom a {
  display: block;
  margin-top: 8px;
}

.footer-badge-ghost,
.footer-ripple {
  display: none;
}

@media (min-width: 576px) {
  .footer-brand .logo {
    width: 330px;
  }
  .footer-brand p {
    font-size: 17px;
    line-height: 1.8;
  }
}

@media (min-width: 769px) {
  .footer {
    padding: 36px 0 28px;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 0;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
  }
  .footer-bottom > span {
    display: inline;
    line-height: inherit;
  }
  .footer-bottom a {
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  .footer {
    padding-top: 50px;
  }
}

.mobile-quick-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 52px;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(85, 139, 47, .1);
}
.mobile-quick-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.mobile-quick-contact__tel {
  flex-direction: column;
  line-height: 1.2;
  color: var(--green);
}
.mobile-quick-contact__tel small {
  font-size: 9px;
  letter-spacing: .12em;
}
.mobile-quick-contact__tel strong {
  font-size: 15px;
  letter-spacing: .05em;
}
.mobile-quick-contact__mail {
  background: var(--green);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .08em;
}

@media (min-width: 769px) {
  .mobile-quick-contact {
    display: none;
  }
}

.simple-hero {
  padding: 68px 0 20px;
  background-color: var(--paper);
  text-align: center;
}
.simple-hero h1 {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
  color: var(--ink);
}
.simple-hero p {
  margin: 0;
  font-size: 15px;
  text-align: left;
  color: var(--ink);
  opacity: .8;
}

.about-section {
  padding: 25px 0 100px;
}

.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px;
  border-radius: 8px;
  background-color: var(--paper);
  box-shadow: 0 10px 30px rgba(20, 52, 41, .05);
}
.contact-form .form-label {
  display: block;
  margin-bottom: .5rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form .form-label .required {
  margin-left: 5px;
  font-size: .8rem;
  color: #d9534f;
}
.contact-form .form-control {
  padding: .75rem;
  border: 1px solid rgba(20, 52, 41, .2);
  border-radius: 4px;
  background-color: rgba(244, 241, 232, .5);
  color: var(--ink);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.contact-form .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 .2rem rgba(20, 52, 41, .1);
  outline: 0;
}
.contact-form label[for="agreePrivacy"] {
  display: inline-block;
  text-align: left;
}
.contact-form .btn-submit {
  width: 100%;
  margin-top: 2rem;
  padding: 1rem 3rem;
  border: none;
  border-radius: 30px;
  background-color: var(--green);
  color: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
  transition: opacity .3s ease;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
}
.privacy-content h2 {
  margin-top: 30px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  font-size: 1.15rem;
  color: var(--ink);
}
.privacy-content p,
.privacy-content li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}
.privacy-content ul {
  padding-left: 20px;
}

.pagination-area {
  margin-top: 50px;
}
.pagination-area .pagination {
  display: block;
}
.pagination-area .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.pagination-area .page-numbers {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  transition: all .3s;
}
.pagination-area .page-numbers.current {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

@media (min-width: 769px) {
  .simple-hero {
    padding: 140px 0 40px;
  }
  .simple-hero h1 {
    margin-bottom: 20px;
    font-size: 32px;
    letter-spacing: .08em;
    white-space: normal;
  }
  .simple-hero p {
    text-align: inherit;
  }
  .contact-form-wrapper {
    padding: 3rem;
  }
  .privacy-content {
    padding: 40px 50px;
  }
  .privacy-content h2 {
    margin-top: 40px;
    font-size: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .site-loader {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cta-box .btn-primary:hover {
    transform: none;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (min-width: 769px) {
    .hero {
      min-height: -webkit-fill-available;
      height: auto;
    }
  }
}

/* Contact Form 7 Checkbox Customization */
.wpcf7-form-control-wrap {
  display: block;
}
.wpcf7-form-control-wrap input:not([type="checkbox"]):not([type="radio"]),
.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap select {
  width: 100%;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  display: inline-block;
}
.wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}
.wpcf7-acceptance .wpcf7-list-item-label {
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 0;
}

/* English Badge */
.en-badge { display: inline-block; background: var(--gold); color: #fff; padding: 6px 16px; border-radius: 4px; font-size: 14px; margin-bottom: 15px; font-weight: bold; letter-spacing: 0.1em; font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif; }

.hero .en-badge {
  background: #c5a059;
}
@media(max-width:767px){
  .hero .en-badge {
    display: block;
    margin:0 auto;
    width: fit-content;
    max-width: 128px;
  }
}

/* ==========================================================================
   Single Post (Article) Styles
   ========================================================================== */
.single-article-section {
  padding: 60px 0;
  background-color: #fcfcfc;
}

.single-article-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.single-entry-header {
  margin-bottom: 30px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 20px;
}

.single-entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.single-entry-meta time {
  font-size: 14px;
  color: var(--soft);
}

.single-category {
  padding: 4px 12px;
  border: 1px solid rgba(207, 177, 111, .3);
  border-radius: 20px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.single-entry-title {
  font-size: 24px;
  line-height: 1.5;
  color: var(--secondary);
  margin: 0;
  font-family: 'Shippori Mincho', serif;
}

.single-entry-thumbnail {
  margin-bottom: 30px;
  text-align: center;
}

.single-entry-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.single-entry-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}

.single-entry-body h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--secondary);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.single-entry-body h3 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--green);
}

.single-entry-body p {
  margin-bottom: 1.5em;
}

.single-entry-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.single-pagination-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.single-pagination-area a {
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.single-pagination-area a:hover {
  opacity: 0.7;
}

.btn-back-list {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--paper);
  border: 1px solid rgba(207, 177, 111, .5);
  border-radius: 30px;
  color: var(--gold) !important;
}

@media (max-width: 768px) {
  .single-article-container {
    padding: 30px 20px;
  }
  
  .single-entry-title {
    font-size: 20px;
  }
  
  .single-pagination-area {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .nav-index {
    order: -1; /* 一覧へ戻るボタンを上に配置 */
  }
}