@charset "UTF-8";
/* main.scss */
* {
  box-sizing: border-box;
}

body,
button,
input,
select,
optgroup,
textarea {
  font-family: var(--wp--preset--font-family--system-sans-jp), sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wp--preset--color--base, #333);
  letter-spacing: 2.5%;
}
@media (max-width: 640px) {
  body,
  button,
  input,
  select,
  optgroup,
  textarea {
    font-size: 14px;
  }
}
body,
button,
input,
select,
optgroup,
textarea {
  word-break: break-all;
}

a {
  color: var(--wp--preset--color--primary, #000094);
  text-decoration: none;
  transition: all 0.3s ease;
}
a img {
  transition: all 0.3s ease;
}
a img:hover {
  opacity: 0.7;
}

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

:focus-visible {
  outline: 3px solid var(--wp--preset--color--primary, #000094);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff;
  z-index: 10000;
}

br[class^=br-] {
  display: none;
}

@media (min-width: 640px) {
  br.br-sm {
    display: inline;
  }
}
@media (min-width: 800px) {
  br.br-md {
    display: inline;
  }
}
@media (min-width: 1260px) {
  br.br-lg {
    display: inline;
  }
}
@media (max-width: 640px) {
  br.br-only-sm {
    display: inline;
  }
}
.img-sm-only,
.img-md-only,
.img-lg-only {
  display: none;
}

@media (max-width: 640px) {
  .img-sm-only {
    display: block;
  }
}
@media (min-width: 640px) {
  .img-sm-up {
    display: block;
  }
}
@media (max-width: 800px) {
  .img-md-only {
    display: block;
  }
}
@media (min-width: 800px) {
  .img-md-up {
    display: block;
  }
}
@media (min-width: 1260px) {
  .img-lg-up {
    display: block;
  }
}
p {
  margin: 0.5em auto 1em;
}
p:first-child {
  margin-top: 0;
}

:root {
  --page-padding: 1rem;
}

.entry-content {
  max-width: var(--wp--style--global--content-size);
  margin-inline: auto;
  padding-inline: var(--page-padding);
  position: relative;
  margin: 5em auto;
}

.entry-content > .alignwide {
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.entry-content > .alignfull {
  width: var(--vw);
  max-width: var(--vw);
  margin-left: 50%;
  transform: translateX(-50%);
  padding-right: 0;
}

@media (min-width: 801px) and (max-width: 1359px) {
  .entry-content {
    padding-right: 50px;
  }
  .entry-content > .alignfull {
    margin-left: calc(50% + 17px);
  }
}
.entry-content.lp-entry-content {
  margin: auto;
}

body {
  overflow-x: hidden;
}

/* ----------------------------------------
 * WordPress: alignments
 * 画像・figure・ブロック共通
 * -------------------------------------- */
/* 左寄せ：テキスト回り込み */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

/* 右寄せ：テキスト回り込み */
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

/* 中央寄せ：ブロックとして中央に */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

img.alignleft,
.wp-block-image .alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

img.alignright,
.wp-block-image .alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

img.aligncenter,
.wp-block-image .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

@media (max-width: 800px) {
  .sp-txt-left {
    text-align: left !important;
  }
}

/* figure 共通の余白調整など */
.wp-block-image,
figure {
  max-width: 100%;
}

/* キャプション */
.wp-element-caption,
.wp-block-image figcaption {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5em;
  color: #666;
}

@media (max-width: 768px) {
  .alignleft,
  .alignright,
  img.alignleft,
  img.alignright,
  .wp-block-image .alignleft,
  .wp-block-image .alignright {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
/*
 * ----------------------------------------
 * 装飾ボタン
 * -------------------------------------- */
.link_tri a {
  display: flex;
  border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  padding: 0.6em 0;
  justify-content: space-between;
  align-items: center;
}
.link_tri a:after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 16px;
  /* 色は background-color で制御 */
  background-color: currentColor;
  /* SVGはマスク画像として設定 */
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: background-color 0.2s ease;
}
.link_tri a:hover {
  text-decoration: none !important;
  background-color: color-mix(in srgb, currentColor 10%, transparent);
  padding: 0.6em;
}

a.btn_table01 {
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  display: block;
  padding: 0.5em 3em 0.5em 1em;
  background-color: white;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.3);
  border-radius: 3em;
  position: relative;
  color: var(--wp--preset--color--primary, #000094);
  transition: all 0.3s ease;
}
a.btn_table01::before {
  content: "";
  display: block;
  width: 1.25em;
  height: 1.25em;
  background-color: currentColor; /* 円の色 */
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}
a.btn_table01::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 16px;
  /* 色は background-color で制御 */
  background-color: var(--wp--preset--color--primary, #000094);
  /* SVGはマスク画像として設定 */
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: background-color 0.2s ease;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translate(-50%, -50%);
  width: 0.6em; /* 円より小さく配置 */
  height: 0.6em;
  background-color: #fff; /* アイコン（矢印）の色 */
  transition: all 0.3s ease;
}
a.btn_table01:hover {
  text-decoration: none !important;
  background-color: var(--wp--preset--color--primary, #000094);
  color: #fff;
}
a.btn_table01:hover::before {
  background-color: #fff; /* 円の色を白に変更 */
}
a.btn_table01:hover::after {
  background-color: var(--wp--preset--color--primary, #000094); /* アイコンの色をメインカラーに変更 */
}

.icon-external a::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  /* 色は background-color で制御 */
  background-color: currentColor;
  /* SVGはマスク画像として設定 */
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><g fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="7.5 2 2 2 2 16 16 16 16 10.5"/><polyline points="10.8 2 16 2 16 7.2"/><line x1="15.5" y1="2.5" x2="8.1" y2="9.9"/></g></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><g fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="7.5 2 2 2 2 16 16 16 16 10.5"/><polyline points="10.8 2 16 2 16 7.2"/><line x1="15.5" y1="2.5" x2="8.1" y2="9.9"/></g></svg>');
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: background-color 0.2s ease;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--wp--preset--color--base, #333);
  margin: 1.2em 0 0.4em;
}
.entry-content h2 {
  font-size: clamp(26px, 2.25vw, 30px);
}
.entry-content h3 {
  font-size: clamp(20px, 2.25vw, 26px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-weight: 500;
  padding-bottom: 4px;
}
.entry-content h4 {
  font-size: clamp(18px, 1.5vw, 20px);
  font-weight: 500;
}
.entry-content h5 {
  font-size: 16px;
}
.entry-content h6 {
  font-size: 15px;
}

/***page***/
.page-hl {
  margin: 1em 0;
  letter-spacing: 10%;
}
.page-hl > p {
  font-size: 13px;
  font-weight: 700;
}
.page-hl h2 {
  margin-top: 0;
  line-height: 1.3;
}

.sp-menu {
  display: none;
}

/***fixed area***/
#side-area {
  position: fixed;
  right: 0;
  width: 50px;
  background-color: var(--wp--preset--color--primary, #000094);
  color: white;
  margin: 1em 0;
  padding: 0.5em;
  border-radius: 10px 0 0 10px;
  z-index: 999;
}
#side-area .side-ban {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
}
#side-area .side-ban span,
#side-area .side-ban a {
  display: block;
  width: 34px;
}
#side-area .side-ban span:first-child {
  display: flex;
  align-items: center;
  writing-mode: tb-rl;
  font-size: 15px;
  letter-spacing: 10%;
}
#side-area .side-ban .icon-contact {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #72c3ff;
  border-radius: 7px;
}
#side-area .side-ban .icon-contact:hover {
  background-color: black;
}
@media (max-width: 800px) {
  #side-area {
    top: auto !important;
    bottom: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 0;
  }
  #side-area .side-ban {
    flex-direction: row;
    display: flex;
    gap: 0;
    align-items: normal;
  }
  #side-area .side-ban span,
  #side-area .side-ban a {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  #side-area .side-ban span:first-child {
    display: none;
  }
  #side-area .side-ban .icon-contact {
    height: auto;
    border-radius: 0;
  }
  #side-area .side-ban .icon-line {
    border: 2px solid #06c755;
    background-color: white;
    padding: 4px;
  }
  #side-area .side-ban .icon-line img {
    width: 32px;
  }
}

/* =========================================================
   Global Navigation
   PC : CSS hover
   SP : JS toggle
   ========================================================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 20px 20px 0 20px;
  pointer-events: none;
  transition: padding 0.3s ease;
}
#header .header-container {
  display: flex;
  align-items: center;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 32px;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  transition: width 0.3s ease, max-width 0.3s ease, min-height 0.3s ease, border-radius 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#header .site-branding {
  line-height: 0;
  max-width: 296px;
}
#header .nav-area {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.global-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.global-menu__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.global-menu__item {
  position: static;
  margin: 0;
  padding: 0 8px;
}
@media (min-width: 800px) {
  .global-menu__item--has-dropdown:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .global-menu__item--has-dropdown:hover .global-menu__arrow {
    transform: rotate(225deg);
  }
  .global-menu__item--has-dropdown:hover .global-menu__label::after {
    transform: scaleX(1);
  }
}
.global-menu__link {
  display: flex;
  align-items: center;
  padding: 0;
  color: var(--wp--preset--color--base, #333);
  min-height: 56px;
}
@media (min-width: 800px) {
  .global-menu__link {
    min-height: 70px;
    position: relative;
  }
  .global-menu__link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
  }
  .global-menu__link:hover::before {
    transform: scaleX(1);
  }
}
.global-menu__toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 70px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
@media (max-width: 800px) {
  .global-menu__toggle {
    min-height: 56px;
  }
}
.global-menu__label {
  position: relative;
}
.global-menu__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.global-menu__arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin-top 0.25s ease;
  flex-shrink: 0;
  margin-right: 8px;
  transition: transform 0.25s ease, margin-top 0.25s ease;
}
.global-menu__sns {
  display: flex;
  align-items: center;
  gap: 12px;
}
.global-menu__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.global-menu__sns-link img {
  display: block;
  width: 32px;
  height: 32px;
}
.global-menu .mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 40px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  visibility: hidden;
  opacity: 0;
  z-index: -1;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.global-menu .mega-menu__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}
.global-menu .mega-menu .widget:not(:last-child) {
  margin-bottom: 30px;
}
.global-menu .mega-menu .widget h3 {
  margin: 0 0 8px;
  border-left: 3px solid currentColor;
  padding-left: 8px;
  line-height: 1.2;
}
.global-menu .mega-menu .widget h3 + figure {
  margin-top: 8px;
}
.global-menu .mega-menu .widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.global-menu .mega-menu .widget li {
  margin: 0;
}
.global-menu .mega-menu .widget a {
  color: inherit;
}

#header.is-scrolled {
  padding: 0;
}
#header.is-scrolled .header-container {
  width: 100%;
  max-width: none;
  border-radius: 0;
  padding-left: 32px;
  padding-right: 32px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

html.global-menu-open {
  overflow: hidden;
}

body.global-menu-open {
  position: fixed;
  top: var(--menu-scroll-top);
  width: 100%;
  overflow: hidden;
}

@media (max-width: 800px) {
  #header {
    padding: 12px;
  }
  #header .header-container {
    width: 100%;
    padding: 0 20px;
    border-radius: 32px;
  }
  #header .sp-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  #header .sp-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--wp--preset--color--base, #333);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  #header .sp-menu.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #header .sp-menu.is-open span:nth-child(2) {
    opacity: 0;
  }
  #header .sp-menu.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  #header .nav-area {
    position: absolute;
    top: calc(100% + 12px);
    left: 12px;
    right: 12px;
    display: block;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  #header.menu-open .nav-area {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .global-menu {
    display: block;
    max-height: calc(100vh - var(--global-menu-top, 100px) - 12px);
    max-height: calc(100dvh - var(--global-menu-top, 100px) - 12px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding: 24px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  .global-menu__list {
    display: block;
  }
  .global-menu__item:not(:last-child) {
    border-bottom: 1px solid #ddd;
  }
  .global-menu__link {
    flex: 1;
    padding: 0;
  }
  .global-menu__item--has-dropdown.is-open .global-menu__arrow {
    transform: rotate(225deg);
    margin-top: 5px;
  }
  .global-menu .mega-menu {
    position: static;
    width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
  }
  .global-menu .mega-menu__inner {
    min-height: 0;
    overflow: hidden;
    width: 100%;
    padding: 0;
  }
  .global-menu .global-menu__item--has-dropdown.is-open .mega-menu {
    grid-template-rows: 1fr;
  }
  .global-menu .global-menu__item--has-dropdown.is-open .mega-menu__inner {
    padding-bottom: 20px;
  }
  .global-menu__sns {
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
  }
  #header.is-scrolled {
    padding: 0;
  }
  #header.is-scrolled .header-container {
    border-radius: 0;
  }
}
/* =========================================================
   Global Navigation Inner
   ========================================================= */
nav.inner-menu {
  margin-top: 8px;
  width: 100%;
}

.inner-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.inner-menu-list li a {
  display: flex;
  padding: 16px 4px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.inner-menu-list li a::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 16px;
  /* 色は background-color で制御 */
  background-color: currentColor;
  /* SVGはマスク画像として設定 */
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: background-color 0.2s ease;
}
.inner-menu-list li a:hover {
  background-color: var(--wp--preset--color--primary, #000094);
  color: white !important;
}
.inner-menu-list li.icon-external a::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  /* 色は background-color で制御 */
  background-color: currentColor;
  /* SVGはマスク画像として設定 */
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><g fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="7.5 2 2 2 2 16 16 16 16 10.5"/><polyline points="10.8 2 16 2 16 7.2"/><line x1="15.5" y1="2.5" x2="8.1" y2="9.9"/></g></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><g fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="7.5 2 2 2 2 16 16 16 16 10.5"/><polyline points="10.8 2 16 2 16 7.2"/><line x1="15.5" y1="2.5" x2="8.1" y2="9.9"/></g></svg>');
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: background-color 0.2s ease;
}

ul#inner-menu-ul-menu-company {
  -moz-column-count: 2;
       column-count: 2;
  -moz-column-gap: 2em;
       column-gap: 2em;
}
@media (max-width: 800px) {
  ul#inner-menu-ul-menu-company {
    -moz-column-count: 1;
         column-count: 1;
  }
}

@media (max-width: 800px) {
  .inner-menu-grid {
    grid-template-columns: 1fr !important;
  }
}
.title-area {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(/soyo_wp/wp-content/themes/soyo/assets/image/title_bg.webp);
  background-size: cover;
  background-position: top;
  position: relative;
  z-index: 0;
  color: white;
}
.title-area:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.title-area h1 {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* =========================================================
   404
========================================================= */
.error-404 h1 {
  font-size: 1.5rem;
  text-align: center;
}
.error-404 .error-404-image img {
  display: block;
  margin: 2em auto;
  max-width: 100%;
}
.error-404 p.error-404-message {
  text-align: center;
}
.error-404 .wp-block-buttons.error-404-button {
  margin: 2em auto;
  text-align: center;
}
.error-404 .wp-block-buttons.error-404-button a {
  border-radius: 3em;
  display: inline-block;
}

footer {
  width: min(100% - 1rem * 2, var(--wp--style--global--content-size));
  margin-inline: auto;
  margin: 2em auto;
}
footer .site-info {
  text-align: center;
  font-size: 13px;
}
@media (max-width: 800px) {
  footer {
    margin-bottom: 7em;
  }
}

.contact-area .inner {
  padding: 2em;
  margin: 2em auto;
}

.footer-widgets-column {
  min-height: 224px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.footer-widgets-column a {
  display: block;
  min-height: 224px;
  color: white;
  font-size: 1.25em;
}
.footer-widgets-column a span {
  position: absolute;
  width: 90%;
  height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}
.footer-widgets-column a:hover span {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 148, 0.9);
  font-size: 1.3em;
}

/***固定エリア***/
.footer-fixed-area {
  position: fixed;
  bottom: 46px;
  right: 5px;
  max-width: 320px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.footer-fixed-area.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.footer-fixed-area > .widget {
  position: relative;
}
.footer-fixed-area > .widget.is-closed {
  display: none;
}
.footer-fixed-area__close {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--wp--preset--color--secondary, #E6F2FF);
  color: var(--wp--preset--color--primary, #000094);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.footer-fixed-area__close:hover {
  background: var(--wp--preset--color--primary, #000094);
  color: white;
}

/***トップに戻る***/
div#page_top {
  position: fixed;
  bottom: 4px;
  right: 8px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--wp--preset--color--muted, #666);
  background-color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  font-weight: 600;
  cursor: pointer;
}
div#page_top:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin-top 0.25s ease;
  transform: rotate(-135deg);
  margin-right: 0.4em;
}
div#page_top:hover {
  background-color: var(--wp--preset--color--muted, #666);
  color: white;
}
@media (max-width: 640px) {
  div#page_top {
    bottom: 50px;
  }
}

/* =========================================================
   Archive Post Card
   ========================================================= */
.post-card {
  display: flex;
  gap: 1em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  margin: 0;
}
@media (max-width: 800px) {
  .post-card {
    flex-direction: column;
    gap: 0em;
  }
}
.post-card__date {
  min-width: 100px;
  padding: 16px 8px;
}
@media (max-width: 800px) {
  .post-card__date {
    padding: 0 8px;
  }
}
.post-card h2,
.post-card h3 {
  margin: 0;
  font-size: 1rem !important;
  font-weight: 500;
  width: 100%;
  border: none !important;
  padding: 0 !important;
}
.post-card h2 a,
.post-card h3 a {
  display: grid;
  padding: 16px 8px;
  grid-template-columns: 1fr 20px;
  gap: 1em;
  color: var(--wp--preset--color--base, #333);
}
.post-card h2 a::after,
.post-card h3 a::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 16px;
  /* 色は background-color で制御 */
  background-color: currentColor;
  /* SVGはマスク画像として設定 */
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: background-color 0.2s ease;
}
.post-card h2 a:hover,
.post-card h3 a:hover {
  background-color: var(--wp--preset--color--primary, #000094);
  color: white !important;
}

.archive-thumb-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}
@media (max-width: 800px) {
  .archive-thumb-inner {
    grid-template-columns: 1fr;
  }
}

.thumb-card a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.thumb-card a:hover {
  background-color: var(--wp--preset--color--secondary, #E6F2FF);
}
.thumb-card a:hover .thumb-card__thumb {
  opacity: 0.5;
}
.thumb-card__thumb {
  width: 100%;
  aspect-ratio: 398/300;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}
.thumb-card__title {
  margin: 0 !important;
  padding: 8px;
  font-size: 1.25em !important;
  font-weight: 600;
  border: none !important;
}
.thumb-card__more {
  display: grid;
  grid-template-columns: 1fr 20px;
  gap: 1em;
  padding: 8px;
  color: var(--wp--preset--color--base, #333);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.thumb-card__more::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 16px;
  /* 色は background-color で制御 */
  background-color: currentColor;
  /* SVGはマスク画像として設定 */
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: background-color 0.2s ease;
}

/* ナビゲーション */
nav.navigation.pagination {
  margin: 5em auto;
  text-align: center;
}
nav.navigation.pagination .nav-links {
  display: inline-flex;
  gap: 0.5em;
}
nav.navigation.pagination .nav-links a,
nav.navigation.pagination .nav-links span {
  display: block;
  padding: 4px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--wp--preset--color--base, #333);
}
nav.navigation.pagination .nav-links a:hover {
  background-color: var(--wp--preset--color--secondary, #E6F2FF);
}
nav.navigation.pagination .nav-links .current {
  color: white;
  background-color: var(--wp--preset--color--muted, #666);
}

article.end a {
  position: relative;
}
article.end a::before {
  content: "受付終了しました";
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  width: 100%;
  height: 100%;
  inset: 0 0 auto 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
}

.cat-area ul {
  margin: 3em auto;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.cat-area ul li a {
  display: inline-block;
  padding: 0.25em 1em;
  border-radius: 2em;
  box-shadow: 0 0 3px #CCC;
  border: 1px solid #CCC;
}
.cat-area ul li a:hover {
  background-color: black;
  color: white;
}
.cat-area ul li.is-active a {
  background-color: var(--wp--preset--color--primary, #000094);
  color: white;
}

.single-date {
  text-align: right;
}

.single-title {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0.25em 0 0.5em;
  margin-bottom: 1.5em;
}
@media (max-width: 640px) {
  .single-title {
    font-size: 1.4rem;
  }
}

/* ナビゲーション */
nav.navigation.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 10%;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  gap: 2em;
}
nav.navigation.post-navigation .nav-links > div {
  width: 50%;
}
nav.navigation.post-navigation .nav-links > div a {
  display: flex;
  align-items: center;
  gap: 0.75em;
  height: 100%;
  padding: 1em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
nav.navigation.post-navigation .nav-links > div a:hover {
  background-color: var(--wp--preset--color--primary, #000094);
  color: #fff;
}
nav.navigation.post-navigation .nav-links .nav-previous {
  margin-right: auto;
}
nav.navigation.post-navigation .nav-links .nav-previous a::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin-top 0.25s ease;
  transform: rotate(135deg);
}
nav.navigation.post-navigation .nav-links .nav-next {
  margin-left: auto;
  text-align: right;
}
nav.navigation.post-navigation .nav-links .nav-next a {
  justify-content: flex-end;
}
nav.navigation.post-navigation .nav-links .nav-next a::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin-top 0.25s ease;
  transform: rotate(-45deg);
}
@media (max-width: 640px) {
  nav.navigation.post-navigation .nav-links {
    flex-direction: column;
    gap: 1em;
  }
  nav.navigation.post-navigation .nav-links > div {
    width: 100%;
  }
}

.entry-content.end {
  position: relative;
}
.entry-content.end::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  inset: 0 0 auto 0;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  z-index: 1;
}
.entry-content.end h1::before {
  content: "【終了】";
}

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

legend {
  padding: 0;
}

.wpcf7-form p {
  margin: 0;
}
.wpcf7-form button,
.wpcf7-form input:not([type=checkbox]),
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  margin: 0.5em 0;
  font-weight: 400;
}
.wpcf7-form input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--wp--preset--color--primary, #000094);
  cursor: pointer;
}
.wpcf7-form .wpcf7-list-item {
  display: inline-block;
  margin: 0 1em 0 0;
  padding: 0.25em 0;
}
.wpcf7-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 0.25em;
}
.wpcf7-form .send {
  text-align: center;
}
.wpcf7-form .send input[type=submit] {
  max-width: 200px;
  background-color: var(--wp--preset--color--primary, #000094);
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.wpcf7-form .send input[type=submit]:hover {
  background-color: black;
}
.wpcf7-form .mail-container {
  margin: 1.5em 0;
}
.wpcf7-form .mail-container .title {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.wpcf7-form span.required_icon {
  font-size: 12px;
  background-color: #e21412;
  color: white;
  padding: 0 0.5em;
  border-radius: 5px;
  display: inline-block;
  margin: 0.25em 0.5em 0.25em;
}
.wpcf7-form span.wpcf7-spinner {
  display: none;
}

/***confirm***/
div#wpcf7cpcnf table tr th {
  background-color: var(--wp--preset--color--secondary, #E6F2FF);
}

.wpcf7cp-btns {
  align-items: center;
  justify-content: center;
}
.wpcf7cp-btns button {
  width: 100%;
  max-width: 200px;
  margin: 0 1em;
  padding: 0.5em 1em;
  border-radius: 5px;
  border: none;
  background-color: var(--wp--preset--color--primary, #000094);
  color: white;
  cursor: pointer;
}
.wpcf7cp-btns button.wpcf7cp-cfm-edit-btn {
  background-color: var(--wp--preset--color--muted, #666);
}
.wpcf7cp-btns button:hover {
  background-color: black;
}
@media (max-width: 640px) {
  .wpcf7cp-btns {
    flex-direction: column;
  }
  .wpcf7cp-btns button {
    margin: 0.5em 0;
  }
}

.mail-container.reservation-day {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--wp--preset--color--secondary, #E6F2FF);
  padding: 1em;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.mail-container.reservation-day input,
.mail-container.reservation-day select {
  height: 46px;
}

.contact-form.event-form {
  max-width: 600px;
  margin: 3em auto;
}

.breadcrumbs {
  background: var(--blue02, linear-gradient(90deg, #ebf3ff 0%, #e9f9ff 100%));
  padding: 0.5em;
  font-size: 13px;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  flex-flow: wrap;
}
.breadcrumbs li + li::before {
  content: ">";
  margin-right: 0.5rem;
  color: var(--wp--preset--color--muted, #999);
}

/* 右側に回り込まないようにする */
.is-layout-constrained > * {
  clear: both;
}

.alignright {
  clear: none;
}

.is-layout-constrained::after {
  content: "";
  display: table;
  clear: both;
}

.wp-block-button .wp-block-button__link {
  background-color: white;
  color: currentColor;
  border: 1px solid rgba(0, 0, 0, 0.2);
  position: relative;
  isolation: isolate;
  padding: 0.75em 1.5em;
  padding-right: 4em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.wp-block-button .wp-block-button__link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.5em;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background-color: currentColor;
  transform: translateY(-50%);
}
.wp-block-button .wp-block-button__link::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 16px;
  /* 色は background-color で制御 */
  background-color: white;
  /* SVGはマスク画像として設定 */
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path fill="none" stroke="black" stroke-linejoin="round" d="M.4,11.3h15.3l-5.3-5.8"/></svg>');
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: background-color 0.2s ease;
  position: absolute;
  top: 48%;
  right: calc(1.5em - 8.5px);
  transform: translateY(-50%);
}
.wp-block-button .wp-block-button__link:hover {
  background-color: black !important;
  color: white !important;
  border-color: black;
}

@supports (background-color: contrast-color(red)) {
  .wp-block-button .wp-block-button__link::after {
    background-color: contrast-color(currentColor);
  }
}
.is-provider-youtube .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.is-provider-youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

figure.wp-block-embed.aligncenter.is-type-video.is-provider-youtube.wp-block-embed-youtube {
  text-align: center;
}

/* パララックスが含まれる場合のみ、transformを解除して計算式に差し替える */
.entry-content > .alignfull:has(.has-parallax) {
  transform: none;
  margin-left: calc(50% - var(--vw) / 2);
}

@media (min-width: 801px) and (max-width: 1359px) {
  .entry-content > .alignfull:has(.has-parallax) {
    margin-left: calc(50% - var(--vw) / 2 + 17px);
  }
}
.has-background {
  padding: 1em;
}
.has-background.alignfull {
  padding: 0;
}

/* =========================================================
   Text Editor
   ========================================================= */
/* ---------------------------------------------------------
   POPOVER
   --------------------------------------------------------- */
.soyo-texteditor-button-group {
  display: flex;
  gap: 1em;
  padding: 1em;
}

.soyo-texteditor-popover {
  width: 200px;
}
.soyo-texteditor-popover * {
  width: 100%;
}

/* ---------------------------------------------------------
   Highlight
   --------------------------------------------------------- */
.text-highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
}
.text-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0.5em;
  width: 100%;
  display: inline;
  background-color: #ffee8e;
  color: inherit;
  padding: 0 0.15em;
  margin: 0 0.1em;
  z-index: -1;
}

/* ---------------------------------------------------------
   Responsive Break
   --------------------------------------------------------- */
.text-break {
  display: inline;
}

/*
 * Breakpoint values are controlled by the theme's existing
 * sm / md / lg mixins.
 */
.text-break-sm,
.text-break-md,
.text-break-lg {
  display: inline;
}

/*
 * Smartphone
 */
@media (max-width: 640px) {
  .text-break-sm {
    display: block;
    line-height: 0;
  }
}
/*
 * Tablet
 */
@media (max-width: 800px) {
  .text-break-md {
    display: block;
    line-height: 0;
  }
}
/*
 * PC
 */
@media (min-width: 1260px) {
  .text-break-lg {
    display: block;
    line-height: 0;
  }
}
.front-entry h3 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-size: clamp(20px, 2.25vw, 32px);
  padding-bottom: 0.25em;
}

/***FV***/
.fv .visual,
.fv .txt span.img,
.fv .txt span.headline,
.fv .txt span.text {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fv.is-loaded .visual {
  opacity: 1;
}
.fv.is-loaded .txt span.img.is-visible {
  opacity: 1;
}
.fv.is-loaded .txt .headline01 {
  opacity: 1;
  transition-delay: 3s;
}
.fv.is-loaded .txt .headline02 {
  opacity: 1;
  transition-delay: 3.7s;
}
.fv.is-loaded .txt span.text {
  opacity: 1;
  transition-delay: 4.4s;
}
.fv .inner {
  position: relative;
  height: max(600px, 100vh - var(--header-height, 0px));
  width: min(100% - 1rem * 2, 1360px);
  margin-inline: auto;
}
.fv .inner > div {
  top: 50%;
  transform: translateY(-50%);
}
.fv .inner .txt {
  position: absolute;
  z-index: 1;
}
.fv .inner .txt span.img img {
  max-width: 100%;
  width: 600px;
}
.fv .inner .txt span.headline {
  display: block;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.4;
  padding: 0 16px;
}
.fv .inner .txt span.text {
  display: block;
  font-size: 18px;
  margin: 1em 0;
  padding: 0 16px;
}
.fv .inner .visual {
  position: absolute;
  right: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fv .visual,
  .fv .txt span.img,
  .fv .txt span.headline,
  .fv .txt span.text {
    transition: none;
  }
}
.visual {
  width: min(900px, 100%);
  aspect-ratio: 900/400;
}
.visual__frame {
  width: 100%;
  height: 100%;
  mask: url("/soyo_wp/wp-content/themes/soyo/assets/image/top/frame.svg") center/contain no-repeat;
  -webkit-mask: url("/soyo_wp/wp-content/themes/soyo/assets/image/top/frame.svg") center/contain no-repeat;
  overflow: hidden;
  position: relative;
}
.visual__bg {
  width: 100%;
  height: 100%;
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/top/fv_bg.webp") center/cover no-repeat;
  animation: zoom 10s ease-in-out infinite alternate;
}
.visual__bg::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 10%, rgba(255, 255, 255, 0) 50%);
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
}

@keyframes zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
@media (max-width: 800px) {
  .fv .inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 1em;
  }
  .fv .inner > div {
    top: auto;
    transform: inherit;
  }
  .fv .inner .txt,
  .fv .inner .visual {
    position: relative;
  }
  .fv .inner .txt span.headline {
    font-size: 1.5em;
  }
  .fv .inner .txt span.text {
    font-size: 15px;
  }
}
.rinen {
  background-image: url(/soyo_wp/wp-content/themes/soyo/assets/image/top/topbg01.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 860px;
  position: relative;
  z-index: 0;
  padding: 6em 0 0;
}
.rinen::before {
  content: "";
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  inset: 0 0 100% 0;
}
.rinen::after {
  content: "";
  display: block;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  background-color: var(--wp--preset--color--secondary, #E6F2FF);
  position: absolute;
  z-index: 10;
  height: 240px;
  width: 100%;
  bottom: 0;
}
@media (max-width: 640px) {
  .rinen::after {
    height: 160px;
  }
}
.rinen .rinen-inner {
  max-width: 1200px;
  padding: 1em;
}
.rinen .rinen-inner .headline-text {
  font-size: clamp(20px, 4vw, 48px);
  font-weight: 700;
  color: var(--wp--preset--color--primary, #000094);
  position: relative;
}
.rinen .rinen-inner .headline-text::after {
  content: "";
  width: 1.5em;
  height: 3px;
  background-color: var(--wp--preset--color--primary, #000094);
  position: absolute;
  bottom: 0;
  left: 0;
}
.rinen .rinen-inner .maintxt {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 2;
}
@media (max-width: 1260px) {
  .rinen .rinen-inner .maintxt {
    text-align: left;
  }
}
@media (max-width: 800px) {
  .rinen {
    min-height: 680px;
    padding: 2em 0 0;
  }
}

.alignfull .top-header {
  margin: 0 1em !important;
}

.top-header p {
  margin-bottom: 8px;
  display: flex;
  font-size: 14px;
  line-height: 1;
}
@media (max-width: 640px) {
  .top-header p {
    font-size: 10px;
  }
}
.top-header p span {
  background-color: var(--wp--preset--color--primary, #000094);
  color: white;
  padding: 6px 12px;
}
@media (max-width: 640px) {
  .top-header p span {
    padding: 4px 6px;
  }
}
.top-header p::before {
  content: "";
  display: block;
  background-color: var(--wp--preset--color--primary, #000094);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  align-self: stretch;
  aspect-ratio: 1;
  width: 14px;
}
@media (max-width: 640px) {
  .top-header p::before {
    width: 8px;
  }
}
.top-header p::after {
  content: "";
  display: block;
  background-color: var(--wp--preset--color--primary, #000094);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  width: 32px;
}
@media (max-width: 640px) {
  .top-header p::after {
    width: 20px;
  }
}
.top-header h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
}

.top-menu-list {
  width: 100%;
}
.top-menu-list li {
  display: block !important;
  width: 100%;
}
.top-menu-list li a {
  display: flex !important;
}

@media (max-width: 800px) {
  .reverse .wp-block-column:nth-child(1) {
    order: 2;
  }
  .reverse .wp-block-column:nth-child(2) {
    order: 1;
  }
  #works .wp-block-cover {
    min-height: 240px;
  }
}
/***company***/
.company-overview p {
  margin: 0;
  line-height: 1.4;
}
.company-overview p.title {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 0 8px;
  margin: 1em 0 0.5em;
}
.company-overview p.title:first-child {
  margin-top: 0;
}
.company-overview ul.wp-block-list {
  list-style-type: none;
  margin: 0.5em;
  padding-left: 1.4em;
}
.company-overview ul.wp-block-list li {
  position: relative;
}
.company-overview ul.wp-block-list li::before {
  content: "";
  display: block;
  width: 0.85em;
  height: 0.85em;
  background-color: var(--wp--preset--color--base, #333);
  position: absolute;
  top: 0.325em;
  left: -1.25em;
}
.company-overview ul.wp-block-list.non-sq {
  list-style-type: inherit;
}
.company-overview ul.wp-block-list.non-sq li::before {
  display: none;
}
.company-overview .smb-information__item__label {
  --_item-width: 18%;
  font-weight: 700;
}

.history-content table tbody tr td {
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}
.history-content table tbody tr td:first-child::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: var(--wp--preset--color--primary, #000094);
  border-radius: 100%;
  margin-right: 1em;
}
@media (max-width: 800px) {
  .history-content table tbody tr td:first-child::before {
    margin-right: 0.5em;
  }
}
@media (max-width: 640px) {
  .history-content table tbody tr td:first-child {
    border: none !important;
    padding-bottom: 0 !important;
  }
}

/***philosophy***/
div#top-message {
  position: relative;
}
div#top-message .message {
  position: relative;
  max-width: 664px;
  left: 0;
  top: 0;
  z-index: 10;
  margin: 0 !important;
}
@media screen and (max-width: 1100px) {
  div#top-message .message {
    max-width: 100%;
  }
}
div#top-message .message .text-area {
  padding: 3em 2.5em;
}
@media screen and (max-width: 1100px) {
  div#top-message .message .text-area {
    padding: 0;
  }
}
div#top-message .photo {
  position: absolute;
  max-width: 664px;
  right: 0;
  top: 0;
  z-index: 5;
}
@media screen and (max-width: 1100px) {
  div#top-message .photo {
    position: relative;
    max-width: 600px;
  }
}
@media screen and (max-width: 1100px) {
  div#top-message .photo .link-area {
    display: flex;
  }
  div#top-message .photo .link-area.is-layout-constrained > .alignright {
    float: inherit;
    margin: auto;
  }
  div#top-message .photo .link-area.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    margin: auto !important;
  }
}
@media (max-width: 800px) {
  div#top-message .photo .link-area {
    flex-direction: column;
    gap: 1em;
  }
}

.counter-company {
  counter-reset: company-counter;
}
.counter-company > div {
  counter-increment: company-counter;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  padding: 1em 2em 2em;
}
.counter-company > div::before {
  content: counter(company-counter, decimal-leading-zero);
  display: block;
  text-align: center;
  color: #ccc;
  font-size: 14px;
  padding: 0.5em 0;
}
.counter-company h4 {
  color: var(--wp--preset--color--primary, #000094);
  position: relative;
  padding-bottom: 0.5em;
}
.counter-company h4::after {
  content: "";
  display: block;
  width: 1.5em;
  height: 2px;
  background-color: var(--wp--preset--color--primary, #000094);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 800px) {
  .counter-company {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .counter-company {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}

.promise-list {
  padding: 1em 2.5em 1em 3em;
}
.promise-list li {
  margin: 0.5em 0;
}
@media (max-width: 640px) {
  .promise-list {
    padding: 0 1em 1em 2em;
  }
}

.lp-entry-content h2 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.lp-fv h1 {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.4;
}
.lp-fv h1 + p {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.4;
}

.list-column2 {
  -moz-column-count: 2;
       column-count: 2;
  -moz-column-gap: 3em;
       column-gap: 3em;
}
@media (max-width: 640px) {
  .list-column2 {
    -moz-column-count: 1;
         column-count: 1;
  }
}

.bg-fukidashi > div {
  height: 230px;
  max-width: 200px;
  width: 100%;
  position: relative;
}
.bg-fukidashi > div > p {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 100%;
}
.bg-fukidashi > div:nth-child(1) {
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/hukidashi1.webp") no-repeat center;
  background-size: contain;
  margin: 1em auto;
  position: relative;
  top: 30px;
}
.bg-fukidashi > div:nth-child(1) > p {
  left: 48.5%;
}
.bg-fukidashi > div:nth-child(2) {
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/hukidashi2.webp") no-repeat center;
  background-size: contain;
}
.bg-fukidashi > div:nth-child(2) > p {
  top: 42%;
}
.bg-fukidashi > div:nth-child(3) {
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/hukidashi3.webp") no-repeat center;
  background-size: contain;
}
.bg-fukidashi > div:nth-child(3) > p {
  top: 42%;
}
.bg-fukidashi > div:nth-child(4) {
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/hukidashi4.webp") no-repeat center;
  background-size: contain;
  position: relative;
  top: 30px;
}
.bg-fukidashi > div:nth-child(4) > p {
  left: 52.5%;
}
@media (max-width: 800px) {
  .bg-fukidashi > div {
    height: 200px;
    background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/hukidashi-circle.webp") no-repeat center !important;
    background-size: contain !important;
  }
  .bg-fukidashi > div > p {
    top: 50% !important;
  }
  .bg-fukidashi > div:nth-child(1), .bg-fukidashi > div:nth-child(2), .bg-fukidashi > div:nth-child(3), .bg-fukidashi > div:nth-child(4) {
    margin: 0 auto;
    top: 0;
  }
  .bg-fukidashi > div:nth-child(1) > p, .bg-fukidashi > div:nth-child(2) > p, .bg-fukidashi > div:nth-child(3) > p, .bg-fukidashi > div:nth-child(4) > p {
    left: 50%;
  }
}
@media (max-width: 800px) {
  .bg-fukidashi {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }
}

.repair-sec02 {
  background-color: #f7fdfd;
  background-image: linear-gradient(to right, #e0f7fa 1px, transparent 1px), linear-gradient(to bottom, #e0f7fa 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative;
  padding: 60px 0;
}
.repair-sec02::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  transform: translateX(-50%);
  width: 200px;
  height: 380px;
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/soyo-guide.webp") no-repeat center !important;
  background-size: contain !important;
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 800px) {
  .repair-sec02::after {
    left: 50%;
    position: relative;
    width: 160px;
    height: 280px;
  }
}
.repair-sec02 .layout-img01 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.repair-sec02 .text-area {
  padding: 1em;
  text-align: center;
  margin: 0;
}
@media (max-width: 800px) {
  .repair-sec02 .text-area {
    text-align: left;
  }
}
.repair-sec02 .text-area p {
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0.25em 0;
  display: inline;
  padding: 0.1em 0.5em;
}
@media (max-width: 800px) {
  .repair-sec02 .text-area p {
    font-size: 18px !important;
    line-height: 1.5 !important;
    padding: 0;
  }
}

@media (max-width: 800px) {
  .repair-sec03 .sp-txt-left {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }
}

.repair-sec04 {
  position: relative;
  padding: 60px 1.5em !important;
}
.repair-sec04 .layout-img02 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: calc(100% - 2em);
}
.repair-sec04 .repair-counter > .wp-block-columns {
  box-shadow: 10px 10px #bbe5ed;
  padding: 2em;
  font-size: 1.25em;
  font-weight: 600;
  position: relative;
  margin-bottom: 60px;
}
@media (max-width: 800px) {
  .repair-sec04 .repair-counter > .wp-block-columns {
    padding: 1em;
  }
}
.repair-sec04 .repair-counter > .wp-block-columns::before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 1em;
  transform: translateY(-50%);
}
.repair-sec04 .repair-counter > .wp-block-columns:nth-child(1)::before {
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/no-1.webp") no-repeat center !important;
  background-size: contain !important;
}
.repair-sec04 .repair-counter > .wp-block-columns:nth-child(2)::before {
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/no-2.webp") no-repeat center !important;
  background-size: contain !important;
}
.repair-sec04 .repair-counter > .wp-block-columns:nth-child(3)::before {
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/no-3.webp") no-repeat center !important;
  background-size: contain !important;
}
.repair-sec04 .repair-counter > .wp-block-columns:nth-child(4)::before {
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/no-4.webp") no-repeat center !important;
  background-size: contain !important;
}
.repair-sec04 .repair-counter > .wp-block-columns:nth-child(5)::before {
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/no-5.webp") no-repeat center !important;
  background-size: contain !important;
}
.repair-sec04 .repair-counter > .wp-block-columns .wp-block-image {
  max-width: 100px;
  width: 100%;
}
@media (max-width: 800px) {
  .repair-sec04 .repair-counter > .wp-block-columns p {
    text-align: center !important;
  }
}
@media (max-width: 640px) {
  .repair-sec04 .img-area {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.karte-area {
  position: relative;
  margin: 120px auto 60px;
}
.karte-area .layout-img03 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: calc(100% - 2em);
}
@media (max-width: 800px) {
  .karte-area .sp-txt-left {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }
}
.karte-area .karte {
  position: relative;
}
.karte-area .karte .fukidashi {
  position: absolute;
  z-index: 1;
  top: 50px;
  left: 12%;
  transform: translate(-50%, -50%);
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/repair/hukidashi-og.svg") no-repeat center !important;
  background-size: contain !important;
  width: 200px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: 700;
  color: white;
}
.karte-area .karte .fukidashi span {
  display: block;
}
@media (max-width: 800px) {
  .karte-area .karte .fukidashi {
    width: auto;
    height: auto;
    background: none !important;
    position: relative;
    color: #f39702;
    top: auto;
    left: auto;
    flex-direction: row;
    transform: translate(0, 0);
  }
}
@media (max-width: 640px) {
  .karte-area .karte-under {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

article#post-72,
article#post-74 {
  background-color: #fff7f3;
}

ul.checklist {
  list-style: none;
}
ul.checklist li {
  position: relative;
  padding-left: 2.5em;
  margin-bottom: 0.5em;
}
ul.checklist li::before {
  content: "";
  display: block;
  width: 2em;
  height: 2em;
  background: url("/soyo_wp/wp-content/themes/soyo/assets/image/ouen/icon-check.svg") no-repeat center center;
  background-size: contain;
  position: absolute;
  top: -0.15em;
  left: 0;
}

.price-area p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-area p span.waku {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 0.2em 0.5em;
  font-size: 0.85em;
  margin-right: 0.5em;
}
.price-area p span.price {
  font-size: 1.5em;
  font-weight: 500;
  margin: 0.1em;
}

.voice-area > div {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  margin: 2em 0;
}
.voice-area > div::before {
  content: "";
  display: block;
  width: 120px;
  height: 120px;
}
.voice-area > div::after {
  content: "";
  position: absolute;
  top: 0;
  display: block;
  width: calc(100% - 60px);
  height: 100%;
  background-color: white;
  z-index: -1;
}
@media (max-width: 640px) {
  .voice-area > div::after {
    width: 100%;
    height: calc(100% - 60px);
    top: auto;
    bottom: 0;
  }
}
.voice-area > div:nth-child(1)::before, .voice-area > div:nth-child(2)::before, .voice-area > div:nth-child(3)::before, .voice-area > div:nth-child(4)::before, .voice-area > div:nth-child(5)::before {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.voice-area > div:nth-child(1)::before {
  background-image: url("/soyo_wp/wp-content/themes/soyo/assets/image/ouen/top-imgvoice01.svg");
}
.voice-area > div:nth-child(2)::before {
  background-image: url("/soyo_wp/wp-content/themes/soyo/assets/image/ouen/top-imgvoice02.svg");
}
.voice-area > div:nth-child(3)::before {
  background-image: url("/soyo_wp/wp-content/themes/soyo/assets/image/ouen/top-imgvoice03.svg");
}
.voice-area > div:nth-child(4)::before {
  background-image: url("/soyo_wp/wp-content/themes/soyo/assets/image/ouen/top-imgvoice04.svg");
}
.voice-area > div:nth-child(5)::before {
  background-image: url("/soyo_wp/wp-content/themes/soyo/assets/image/ouen/top-imgvoice05.svg");
}
.voice-area > div > .wp-block-group {
  width: calc(100% - 120px);
  padding: 1em 1.5em;
}
.voice-area > div > .wp-block-group p {
  margin: 0;
}
@media (max-width: 640px) {
  .voice-area > div {
    flex-direction: column;
  }
  .voice-area > div::before {
    width: 100%;
    height: 120px;
  }
  .voice-area > div > .wp-block-group {
    width: 100%;
  }
}
.voice-area .left-voicebox::after {
  right: 0;
}
.voice-area .right-voicebox {
  flex-direction: row-reverse;
}
.voice-area .right-voicebox::after {
  left: 0;
}
@media (max-width: 640px) {
  .voice-area .right-voicebox {
    flex-direction: column;
  }
}

.line-box a::before,
.application-area a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: background-color 0.3s ease;
}
.line-box a:hover::before,
.application-area a:hover::before {
  background-color: rgba(255, 255, 255, 0.3);
}

/***サポートサービス***/
.support-list {
  font-size: 1.25em;
  font-weight: 600;
  -moz-column-count: 2;
       column-count: 2;
  -moz-column-gap: 2em;
       column-gap: 2em;
  padding: 0;
}
.support-list li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0.2em;
}
.support-list li::before {
  content: "";
  display: block;
  width: 0.8em;
  height: 0.8em;
  background-color: var(--wp--preset--color--primary, #000094);
  margin-right: 0.5em;
  border-radius: 100%;
  flex-shrink: 0;
  flex-grow: 0;
}
.support-list li img {
  margin-left: 0.5em;
}
@media (max-width: 800px) {
  .support-list {
    -moz-column-count: 1;
         column-count: 1;
  }
  .support-list li {
    font-size: 16px !important;
  }
}

@media (max-width: 800px) {
  .application-area {
    flex-direction: column;
    gap: 0.5em;
  }
}
.application-area p.circle {
  background: #ffee00;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  font-weight: bold;
  line-height: 1.2;
}

.wishes-area a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: background-color 0.3s ease;
}
.wishes-area:hover a::before {
  background-color: rgba(255, 184, 84, 0.3);
}

.qanda {
  margin: 2em auto;
  padding: 1em 1.5em;
}
.qanda h3 {
  border: none;
}
.qanda h3::before,
.qanda .has-white-background-color::before {
  width: 36px;
  height: 36px;
  border-radius: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin-right: 0.5em;
}
.qanda h3::before {
  content: "Q";
  background-color: #ffb754;
}
.qanda .has-white-background-color::before {
  content: "A";
  background-color: #ff9fa3;
  position: absolute;
  top: -0.75em;
  left: 0;
  font-size: 1.5em;
  font-weight: bold;
}

@media (max-width: 640px) {
  .wishes5-ban {
    flex-direction: column;
    gap: 0;
  }
}
.recruit_table {
  max-width: 640px;
  margin: 1em auto 3em;
}
.recruit_table table tbody tr td {
  vertical-align: top;
  padding: 0.5em 1em;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.recruit_table table tbody tr td:first-child {
  width: 25%;
  font-weight: 600;
}
@media (max-width: 800px) {
  .recruit_table table tbody tr {
    display: block;
  }
  .recruit_table table tbody tr td {
    display: block;
    width: 100%;
  }
  .recruit_table table tbody tr td:first-child {
    width: 100%;
    font-weight: 600;
    border: none;
  }
  .recruit_table table tbody tr td:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }
}

.add-area {
  max-width: 720px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  padding: 1.5em 2em;
  border-radius: 5px;
  margin: 3em auto;
}