@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500&display=swap");

.l-header, .l-fixHeader, .l-footer, #footer, .p-breadcrumb, .p-fixBtnWrap, #fix_bottom_menu, #sp_menu { display: none !important; }

body { font-family: "Noto Serif JP", serif; color: #000; }

.nb-wp {
  --c-text: #000;
  --c-line: #c0c0c0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.8;
}

:where(.nb-wp) img { display: block; max-width: 100%; height: auto; }
:where(.nb-wp) ul { list-style: none; margin: 0; padding: 0; }
:where(.nb-wp) li { margin: 0; }
:where(.nb-wp) p, :where(.nb-wp) address { margin: 0; font-style: normal; }
:where(.nb-wp) a:not([class]) { color: inherit; text-decoration: none; }
.nb-wp a { text-decoration: none; }
body:has(.nb-menu-toggle:checked) { overflow: hidden; }

.nb-wp-head { position: relative; --nb-top: 0px; }
body.admin-bar .nb-wp-head { --nb-top: 32px; }
.nb-wp .site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 900;
  height: 0; color: #fff;
}
.nb-wp .brand {
  position: fixed; top: calc(var(--nb-top) + 31px); left: 55px;
  display: flex; align-items: center; gap: 18px;
  color: inherit;
}
.nb-wp .brand__mark { width: 82px; height: 66px; }
.nb-wp .brand__text { display: flex; flex-direction: column; padding-top: 0; } 
.nb-wp .brand__name { font-size: 24px; line-height: 1.4; }
.nb-wp .brand__sub { margin-top: 2px; font-size: 14px; line-height: 1.4; letter-spacing: .02em; }

.nb-wp .header-tools {
  position: absolute; top: 30px; right: 160px;
}
.nb-wp .header-tools__sns img { width: 30px; height: 30px; }
.nb-wp .menu-btn {
  position: fixed; top: calc(var(--nb-top) + 33px); right: 66px;
  display: block; padding: 0; border: 0; background: none; cursor: pointer;
}
.nb-wp .menu-btn img { width: 51px; height: 24px; }

.nb-wp .brand__mark--dark, .nb-wp .menu-btn__dark { display: none; }
.nb-wp .site-header::before {
  content: "";
  position: fixed; top: var(--nb-top); left: 0; right: 0;
  height: 128px;
  background: rgba(255, 255, 255, .94);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nb-wp .site-header .brand, .nb-wp .site-header .brand__mark, .nb-wp .site-header .brand__name,
.nb-wp .site-header .brand__sub, .nb-wp .menu-btn, .nb-wp .menu-btn img {
  transition: top .3s, left .3s, right .3s, gap .3s, width .3s, height .3s, font-size .3s, color .3s;
}
.nb-wp .site-header.is-over-white::before { opacity: 1; height: 70px; }
.nb-wp .site-header.is-over-white .brand { color: #666; top: calc(var(--nb-top) + 14px); left: 24px; gap: 12px; }
.nb-wp .site-header.is-over-white .brand__mark { width: 52px; height: 42px; }
.nb-wp .site-header.is-over-white .brand__text { padding-top: 0; }
.nb-wp .site-header.is-over-white .brand__name { font-size: 18px; }
.nb-wp .site-header.is-over-white .brand__sub { margin-top: 0; font-size: 11px; }
.nb-wp .site-header.is-over-white .menu-btn { top: calc(var(--nb-top) + 26px); right: 24px; }
.nb-wp .site-header.is-over-white .menu-btn img { width: 40px; height: 19px; }
.nb-wp .site-header.is-over-white .brand__mark--light,
.nb-wp .site-header.is-over-white .menu-btn__light { display: none; }
.nb-wp .site-header.is-over-white .brand__mark--dark,
.nb-wp .site-header.is-over-white .menu-btn__dark { display: block; }

.nb-wp .header-nav {
  position: absolute; top: 93px; left: calc(100% - 190px);
  font-size: 14px;
}
.nb-wp .header-nav li { line-height: 30px; }
.nb-wp .header-nav a { color: #fff; }
.nb-wp .header-nav a:hover { opacity: .7; }

.nb-subhero {
  position: relative;
  height: 371px;
  overflow: hidden;
  background: #222;
}
.nb-wp .nb-subhero__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 60.6%;
}
.nb-subhero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .29);
}

.nb-wp .nb-menu-toggle {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

.nb-wp .drawer {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  overflow-y: auto;
  background: #000 url(/img/photo-09.webp) center / cover no-repeat;
  color: #fff;
}
.nb-wp .drawer::before { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .9); }
.nb-wp .nb-menu-toggle:checked + .drawer { display: flex; }
.nb-wp .menu-btn, .nb-wp .drawer__close { cursor: pointer; }
.nb-wp .drawer__close {
  position: absolute; top: 52px; right: 56px; z-index: 1;
  width: 49px; height: 49px;
}
.nb-wp .drawer__close::before, .nb-wp .drawer__close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 69px; height: 1px; background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.nb-wp .drawer__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.nb-wp .drawer__inner {
  position: relative;
  display: grid; grid-template-columns: 476px auto; align-items: center;
}
.nb-wp .drawer__info { display: flex; flex-direction: column; align-items: flex-start; }
.nb-wp .drawer__brand { display: flex; align-items: center; gap: 18px; color: #fff; }
.nb-wp .drawer__brand img { width: 82px; height: 66px; }
.nb-wp .drawer__brand-text { display: flex; flex-direction: column; padding-top: 0; }
.nb-wp .drawer__brand-name { font-size: 24px; line-height: 1.4; letter-spacing: .05em; }
.nb-wp .drawer__brand-sub { margin-top: 2px; padding-left: 3px; font-size: 14px; line-height: 1.4; letter-spacing: .02em; }
.nb-wp .drawer__sns { margin: 48px 0 0 8px; }
.nb-wp .drawer__sns img { width: 30px; height: 30px; }
.nb-wp .drawer__address { margin-top: 48px; font-size: 14px; font-style: normal; letter-spacing: .05em; }

.nb-wp .drawer__map { width: 302px; height: auto; margin-top: 34px; }
.nb-wp .drawer__list { margin: 0; padding: 0; list-style: none; text-align: left; }
.nb-wp .drawer__list li { margin: 0; font-size: 20px; line-height: 50px; letter-spacing: .02em; }
.nb-wp .drawer__list a { color: #fff; }
.nb-wp .drawer__list a:hover { opacity: .6; }

.nb-wp .nb-menu-toggle:checked + .drawer { animation: nb-drawer-fade .5s ease both; }

.nb-wp .nb-menu-toggle:checked + .drawer .drawer__info > *,
.nb-wp .nb-menu-toggle:checked + .drawer .drawer__list { animation: nb-drawer-rise .7s cubic-bezier(.22, 1, .36, 1) .15s both; }
@keyframes nb-drawer-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nb-drawer-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nb-wp .nb-menu-toggle:checked + .drawer, .nb-wp .nb-menu-toggle:checked + .drawer .drawer__info > *,
  .nb-wp .nb-menu-toggle:checked + .drawer .drawer__list { animation: none; }
}

.nb-wp .site-footer {
  width: calc(100% - 82px); margin: 120px auto 0;
  border-top: 1px solid var(--c-line);
  padding: 73px 0 50px;
  background: none;
}
.nb-wp .site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 756fr) minmax(0, 251fr) minmax(0, 193fr);
  max-width: 1200px; margin-inline: auto;
  font-size: 14px; color: var(--c-text);
}
.nb-wp .brand--dark { position: static; color: var(--c-text); }
.nb-wp .site-footer__sns { display: inline-block; margin-top: 33px; }
.nb-wp .site-footer__sns img { width: 30px; height: 30px; }
.nb-wp .site-footer__nav li { line-height: 30px; }
.nb-wp .site-footer__nav a { color: var(--c-text); }
.nb-wp .site-footer__nav a:hover { opacity: .6; }
.nb-wp .site-footer__label { line-height: 30px; }
.nb-wp .site-footer__access .site-footer__label:not(:first-child) { margin-top: 20px; }
.nb-wp .site-footer__nowrap { white-space: nowrap; }
.nb-wp .site-footer__mail { margin-top: 28px; }
.nb-wp .site-footer__mail a { color: var(--c-text); }
.nb-wp .site-footer__mail a:hover { opacity: .6; }
.nb-wp .site-footer__copy { max-width: 1200px; margin: 48px auto 0; font-size: 10px; color: var(--c-text); }
.nb-wp .site-footer__copy small { font-size: inherit; }

@media (max-width: 1100px) {
  .nb-wp .header-nav { display: none; }
  .nb-wp .site-footer__inner, .nb-wp .site-footer__copy { padding-inline: 20px; }
}

@media (max-width: 768px) {
  .nb-wp .brand { top: 16px; left: 16px; gap: 10px; }
  .nb-wp .brand__mark { width: 50px; height: 40px; }
  .nb-wp .brand__name { font-size: 18px; }
  .nb-wp .brand__sub { font-size: 11px; }
  .nb-wp .header-tools { top: 20px; right: 76px; }
  .nb-wp .header-tools__sns img { width: 26px; height: 26px; }
  .nb-wp .menu-btn { top: calc(var(--nb-top) + 24px); right: 16px; }
  .nb-wp .menu-btn img { width: 40px; height: 19px; }
  .nb-wp .site-header::before { height: 80px; }
  .nb-wp .site-header.is-over-white::before { height: 52px; }
  .nb-wp .site-header.is-over-white .brand { top: calc(var(--nb-top) + 10px); left: 12px; gap: 8px; }
  .nb-wp .site-header.is-over-white .brand__mark { width: 38px; height: 30px; }
  .nb-wp .site-header.is-over-white .brand__text { padding-top: 0; }
  .nb-wp .site-header.is-over-white .brand__name { font-size: 15px; }
  .nb-wp .site-header.is-over-white .brand__sub { font-size: 9.5px; }
  .nb-wp .site-header.is-over-white .menu-btn { top: calc(var(--nb-top) + 19px); right: 12px; }
  .nb-wp .site-header.is-over-white .menu-btn img { width: 32px; height: 15px; }
  .nb-subhero { height: 240px; }
  .nb-wp .drawer { align-items: flex-start; }
  .nb-wp .drawer__close { top: 20px; right: 16px; width: 36px; height: 36px; }
  .nb-wp .drawer__close::before, .nb-wp .drawer__close::after { width: 51px; }
  
  .nb-wp .drawer__inner { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 88px 32px 64px; }
  .nb-wp .drawer__info { display: contents; }
  .nb-wp .drawer__brand { order: -2; }
  .nb-wp .drawer__list { order: -1; margin: 40px 0 0; }
  .nb-wp .drawer__sns { margin-top: 40px; }
  .nb-wp .drawer__list li { font-size: 18px; line-height: 44px; }
  .nb-wp .drawer__map { width: 100%; }
  
  body.admin-bar .nb-wp-head { --nb-top: 46px; }

  .nb-wp .site-footer { width: calc(100% - 32px); margin-top: 80px; padding: 48px 0 32px; }
  .nb-wp .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-inline: 4px; }
  .nb-wp .site-footer__sns { margin-top: 20px; }
  .nb-wp .site-footer__copy { margin-top: 32px; padding-inline: 4px; }
}

#content:has(> * .c-pageTitle) { position: relative; }
.l-mainContent__inner > .c-pageTitle {
  position: absolute; left: 0; right: 0; bottom: 100%;
  margin: 0 0 41px; padding: 0; border: 0;
  text-align: center; color: #fff;
  font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: .05em;
  z-index: 5;
}
.l-mainContent__inner > .c-pageTitle::after { display: none; }
.l-mainContent__inner > .c-pageTitle .c-pageTitle__inner {
  display: block; width: auto; float: none; margin: 0 auto; padding: 0; border: 0; background: none; color: inherit;
}
.l-mainContent__inner > .c-pageTitle .c-pageTitle__inner::before,
.l-mainContent__inner > .c-pageTitle .c-pageTitle__inner::after { display: none; }
.l-mainContent__inner > .c-pageTitle::before {
  display: block; margin-bottom: 2px;
  font-size: 32px; line-height: 46px; letter-spacing: .02em;
}

.l-mainContent__inner:has(.smf-form) > .c-pageTitle::before { content: "Contact"; }

#body_wrap:has(.smf-form) #sidebar { display: none; }
#body_wrap:has(.smf-form) .l-content { padding-top: 142px; padding-bottom: 80px; }
#body_wrap:has(.smf-form) .l-mainContent { width: 100%; max-width: 1000px; margin-inline: auto; }
.l-mainContent__inner:has(.smf-form) .post_content { margin: 0; padding: 0; }

.smf-form { border: 0; font-size: 15px; }
.smf-form .smf-item { display: block; margin: 0 0 47px; padding: 0; border: 0; }
.smf-form .smf-item__col { width: auto; max-width: none; flex: none; padding: 0; }
.smf-form .smf-item__col--label { margin: 0 0 17px; }
.smf-form .smf-item__label { margin: 0; padding: 0; font-size: 15px; font-weight: 400; line-height: 22px; }

.smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
  content: "[必須]"; margin-left: 10px; font-size: 12px;
}

.smf-form .smf-text-control__control,
.smf-form .smf-textarea-control__control {
  display: block; width: 100%; max-width: none;
  border: 1px solid #dadada; border-radius: 30px;
  background: #fff; box-shadow: none;
  font: inherit; font-size: 15px; color: #000;
}
.smf-form .smf-text-control__control { height: 57px; padding: 0 28px; }
.smf-form .smf-textarea-control__control { height: 250px; padding: 20px 28px; resize: vertical; }
.smf-form .smf-text-control__control:focus,
.smf-form .smf-textarea-control__control:focus {
  outline: none; border-color: #9d9d9d;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
}

.smf-form .wp-block-columns {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px 24px; margin: 52px 0 0;
}
.smf-form .wp-block-column { margin: 0; }
.smf-form .wp-block-columns > .wp-block-column:last-child { text-align: right; }
.smf-form .wp-block-columns p { margin: 0; font-size: 15px; }

.smf-form .wp-block-columns a { color: #1f5fbf; text-decoration: none; }
.smf-form .wp-block-columns a:hover { text-decoration: underline; text-underline-offset: 3px; }
.smf-form .smf-checkbox-control { display: inline-flex; align-items: center; gap: 19px; font-size: 15px; }
.smf-form .smf-checkbox-control__control {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 19px; height: 19px; margin: 0;
  border: 1px solid #dadada; border-radius: 0; background: #fff;
  cursor: pointer;
}
.smf-form .smf-checkbox-control__control:checked {
  border-color: #333; background: #333; box-shadow: inset 0 0 0 3px #fff;
}

.snow-monkey-form[data-screen="confirm"] .smf-item__controls { padding: 0 28px; }

.snow-monkey-form .smf-action { margin-top: 108px; }
.snow-monkey-form .smf-button-control { display: block; }
.snow-monkey-form .smf-button-control + .smf-button-control { margin-top: 16px; }
.snow-monkey-form .smf-button-control__control {
  display: block; width: 100%; height: 57px; padding: 0 28px;
  border: 1px solid #dadada; border-radius: 30px;
  background: #fff; color: #000; box-shadow: none;
  font: inherit; font-size: 15px; letter-spacing: .05em;
  transition: background-color .2s, border-color .2s;
}
.snow-monkey-form .smf-button-control__control:hover { background: #f5f5f5; border-color: #9d9d9d; }
.snow-monkey-form .smf-button-control__control[data-action="back"] { color: #666; }

@media (max-width: 768px) {
  .l-mainContent__inner > .c-pageTitle { margin-bottom: 28px; }
  .l-mainContent__inner > .c-pageTitle::before { font-size: 28px; line-height: 40px; }
  #body_wrap:has(.smf-form) .l-content { padding-top: 64px; padding-bottom: 40px; }
  .smf-form .smf-item { margin-bottom: 32px; }
  .smf-form .smf-item__col--label { margin-bottom: 10px; }
  .smf-form .smf-text-control__control { height: 52px; padding: 0 22px; }
  .smf-form .smf-textarea-control__control { height: 220px; padding: 16px 22px; }
  .smf-form .wp-block-columns { margin-top: 32px; flex-direction: column; align-items: center; }
  
  .smf-form .wp-block-columns > .wp-block-column,
  .smf-form .wp-block-columns > .wp-block-column:last-child { text-align: center; } 
  .snow-monkey-form .smf-action { margin-top: 56px; }
}

body:has(#body_wrap.archive) .nb-subhero {
  background: #222 url(/img/photo-16.webp) center 66.9% / cover no-repeat;
}
body:has(#body_wrap.archive) .nb-subhero__img { visibility: hidden; }
.l-mainContent__inner:has(.p-termContent) > .c-pageTitle::before { content: "NEWS"; }
.l-mainContent__inner > .c-pageTitle .c-pageTitle__subTitle { display: none; }

#body_wrap.archive .l-content { padding-top: 45px; padding-bottom: 80px; gap: 104px; }
#body_wrap.archive .l-mainContent { width: 720px; max-width: 100%; flex: none; padding-top: 34px; }
#body_wrap.archive #sidebar { width: 360px; flex: none; margin: 0 16px 0 0; }
#body_wrap.archive .p-termContent { margin-top: 0; }

#body_wrap.archive .p-postList.-type-card {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 15px; margin: 0;
}
#body_wrap.archive .p-postList.-type-card .p-postList__item { width: auto; margin: 0; padding: 0; }
#body_wrap.archive .p-postList__link { color: #000; }
#body_wrap.archive .p-postList__thumb { margin: 0; border-radius: 0; box-shadow: none; }
#body_wrap.archive .p-postList__thumb .c-postThumb__figure { padding-top: 0; aspect-ratio: 230 / 150; border-radius: 0; }
#body_wrap.archive .p-postList__thumb .c-postThumb__cat { display: none; }
#body_wrap.archive .p-postList__body { padding: 16px 0 0; }
#body_wrap.archive .p-postList__title {
  margin: 0 0 6px 2px; font-size: 13px; font-weight: 700; line-height: 19px;
}
#body_wrap.archive .p-postList__excerpt {
  margin: 0; font-size: 12px; line-height: 17px; color: #000;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
#body_wrap.archive .p-postList__meta { margin-top: 6px; }
#body_wrap.archive .p-postList__times { font-size: 10px; opacity: 1; color: #000; }
#body_wrap.archive .c-postTimes__posted::before { display: none; }
#body_wrap.archive .p-postList__link:hover .p-postList__title { text-decoration: underline; text-underline-offset: 3px; }
#body_wrap.archive .c-pagination { margin-top: 64px; }
#body_wrap.archive .c-pagination .page-numbers { border-radius: 0; font-size: 12px; }
#body_wrap.archive .c-pagination .page-numbers.current { background: #333; color: #fff; }

#sidebar .c-widget { margin: 0; }
#sidebar .c-widget:not(.widget_search):not(:has(.wp-block-latest-posts)) { display: none; }
#sidebar .wp-block-search__label { display: none; }
#sidebar .wp-block-search__inside-wrapper { display: flex; gap: 12px; border: 0; padding: 0; }
#sidebar .wp-block-search__input {
  flex: 0 1 286px; height: 34px; padding: 0 10px;
  border: 1px solid #dedede; border-radius: 0; background: #fff; font-size: 12px;
}
#sidebar .wp-block-search__button {
  flex: none; width: 61px; height: 34px; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: #f0f0f0; color: #000; font-size: 10px;
}
#sidebar .widget_search { margin-bottom: 37px; }
#sidebar .wp-block-heading {
  margin: 0; padding: 0 0 15px; border: 0; border-bottom: 1px solid #dedede; background: none;
  font-size: 10px; font-weight: 400; line-height: 14px; color: #000;
}
#sidebar .wp-block-heading::before, #sidebar .wp-block-heading::after { display: none; }
#sidebar .wp-block-latest-posts { margin: 0; padding: 0; list-style: none; }
#sidebar .wp-block-latest-posts li { margin: 0; padding: 15px 0 19px; border: 0; font-size: 10px; line-height: 14px; }
#sidebar .wp-block-latest-posts li:not(:last-child) { border-bottom: 1px solid #dedede; }
#sidebar .wp-block-latest-posts a { color: #000; text-decoration: none; }
#sidebar .wp-block-latest-posts a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  #body_wrap.archive .l-content { gap: 48px; }
  #body_wrap.archive .l-mainContent { width: auto; flex: 1 1 0; }
  #body_wrap.archive #sidebar { width: 280px; }
}
@media (max-width: 959px) {
  #body_wrap.archive .l-content { display: block; }
  #body_wrap.archive #sidebar { width: auto; margin-top: 64px; }
}
@media (max-width: 768px) {
  #body_wrap.archive .l-mainContent { padding-top: 16px; }
  #body_wrap.archive .p-postList.-type-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
}

@media (max-width: 600px) {
  body.admin-bar .nb-wp-head { --nb-top: 0px; }
}

li:has(> a[href="/#news"]) { display: none; }
