@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
*/

/* ========================================
   フォント設定
======================================== */
:root {
  --swl-font_family: 'Urbanist', 'M PLUS 2', sans-serif;
  --swl-font_weight: 300;
}

h2, h3 {
  font-weight: 500 !important;
}

h2.wp-block-heading.is-style-section_ttl {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid var(--color_main);
  padding-bottom: 8px;
}

body {
  font-family: 'Urbanist', 'M PLUS 2', sans-serif;
  font-weight: 400;
}

/* ========================================
   ローディングアニメーション
======================================== */

#kita-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#kita-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.kita-loader-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: kl-fadein 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes kl-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.kita-loader-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  animation: kl-spin 14s linear infinite;
}

@keyframes kl-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.kita-loader-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kita-loader-text p {
  margin: 0;
  font-family: 'M PLUS 2', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #1a1a1a;
}

.kita-loader-text p:last-child {
  font-size: 1.44rem;
}

@media (max-width: 959px) {
  .kita-loader-inner {
    gap: 14px;
  }
}

/* ========================================
   Contact Form 7 おしゃれ化
======================================== */

/* ラベル */
.wpcf7-form label {
  display: block;
  margin-bottom: 6px;
  font-family: 'M PLUS 2', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #3a3a3a;
  letter-spacing: 0.04em;
}

/* フィールドグループ */
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 4px;
}

/* テキスト・メール・電話・テキストエリア */
.wpcf7-form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
.wpcf7-form textarea,
.wpcf7-form select {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 6px;
  margin-bottom: 18px;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-family: 'M PLUS 2', sans-serif !important;
  -webkit-appearance: none;
  appearance: none;
  outline: none !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border: none !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* フォーカス時 */
.wpcf7-form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):focus,
.wpcf7-form textarea:focus {
  background: rgba(255, 255, 255, 0.72) !important;
  border: none !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color_main) 22%, transparent),
              0 8px 24px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

/* textarea（1行スタート・自動リサイズ） */
.wpcf7-form textarea {
  min-height: unset !important;
  height: calc(1.5em + 24px) !important; /* 初期: 約1行分 */
  overflow: hidden !important;
  resize: none !important;
}

/* ラジオ・チェックボックス グループ */
.wpcf7-form .wpcf7-radio,
.wpcf7-form .wpcf7-checkbox {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 6px;
  margin-bottom: 18px;
}

.wpcf7-form .wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-form .wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-bottom: 0 !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.45) !important;
  border: none !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: #3a3a3a !important;
}

.wpcf7-form .wpcf7-list-item label:hover {
  background: rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.wpcf7-form .wpcf7-list-item input[type="radio"]:checked ~ .wpcf7-list-item-label,
.wpcf7-form .wpcf7-list-item input[type="radio"]:checked + span {
  color: var(--color_main) !important;
  font-weight: 600 !important;
}

/* ラジオ選択済みのラベル全体 */
.wpcf7-form .wpcf7-list-item:has(input:checked) label {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: var(--color_main) !important;
  color: var(--color_main) !important;
  font-weight: 500 !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color_main) 20%, transparent) !important;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
  display: block !important;
  width: 100% !important;
  margin-top: 8px !important;
  padding: 14px 24px !important;
  border-radius: 9999px !important;
  background: var(--color_main) !important;
  border: none !important;
  color: #fff !important;
  font-family: 'Urbanist', 'M PLUS 2', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  cursor: pointer !important;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.wpcf7-form input[type="submit"]:hover {
  filter: brightness(0.88) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
}

/* バリデーションエラー */
.wpcf7-form .wpcf7-not-valid {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15) !important;
}

.wpcf7-form .wpcf7-not-valid-tip {
  font-size: 0.78rem !important;
  color: #e53e3e !important;
  margin-top: 4px;
  display: block;
}

/* 2列レイアウト（PC のみ） */
@media (min-width: 768px) {
  .wpcf7-form .cf7-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* 2列内の label・p の下マージンをリセット */
  .wpcf7-form .cf7-2col > label,
  .wpcf7-form .cf7-2col > p {
    margin-bottom: 0;
  }

  /* 2列内の input の下マージンも揃える */
  .wpcf7-form .cf7-2col input:not([type="submit"]) {
    margin-bottom: 0 !important;
  }
}

/* 送信完了・エラーメッセージ */
.wpcf7-form .wpcf7-response-output {
  margin-top: 16px !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  border: none !important;
  font-size: 0.9rem !important;
}

/* ラジオ・チェック前後の余白調整 */
.wpcf7-form p {
  margin-bottom: 18px;
  font-family: 'M PLUS 2', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #3a3a3a;
  letter-spacing: 0.04em;
}

/* スマホ：ラベル文字サイズ */
@media (max-width: 767px) {
  .wpcf7-form label,
  .wpcf7-form p {
    font-size: 1rem;
  }
}

/* ========================================
   分割MV (Split Main Visual)
======================================== */
#split-mv {
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 42vw; /* PC の高さ */
}

.spmv__panel {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* PC：左右50%ずつ */
@media (min-width: 960px) {
  .spmv__panel {
    width: 50%;
    height: 100%;
  }
}

/* SP：上下に並べる */
@media (max-width: 959px) {
  #split-mv {
    flex-direction: column;
    height: 170vw; /* SP の高さ（各パネル50vw） */
  }
  .spmv__panel {
    width: 100%;
    height: 50%;
  }
}

.spmv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.spmv__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.spmv__slide.is-active {
  opacity: 1;
}

/* テキストオーバーレイ */
.spmv__text {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.spmv__text .p-mainVisual__textLayer {
  pointer-events: auto;
}

/* テキストマーカー背景 */
.spmv__text .p-blogParts {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
}

.spmv__text .p-blogParts h2 {
  display: inline !important;
  background-color: var(--color_main) !important;
  background-image: none !important;
  color: #fff !important;
  padding: 0.2em 0.6em !important;
  line-height: 1.4;
  font-weight: 300 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* PC：MV下端から少し上に配置 */
@media (min-width: 960px) {
  .spmv__text .p-mainVisual__textLayer {
    justify-content: flex-end;
    padding-bottom: 48px;
	font-size: 1.8vw !important;
  }
}

/* SP：フォントサイズ・行間調整 */
@media (max-width: 959px) {
  .spmv__text .p-blogParts h2 {
    font-size: 3.8vw !important;
    line-height: 1.1 !important;
  }
}

/* ========================================
   右下固定 サークルCTA
======================================== */
#circular-contact {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 180px;
  height: 180px;
  z-index: 9999;
}

@media (max-width: 959px) {
  #circular-contact {
    width: 130px;
    height: 130px;
    right: 12px;
  }

  .circular-contact__icon {
    width: 60px !important;
    height: 60px !important;
  }
}

#circular-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.circular-contact__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: circular-rotate 10s linear infinite;
}

.circular-contact__svg text {
  font-size: 20px;
  fill: var(--color_main);
  stroke: #ffffff;
  stroke-width: 5px;
  paint-order: stroke fill;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  letter-spacing: 1.5px;
}

/* アイコンのみ揺れる */
.circular-contact__icon-wrap {
  position: relative;
  z-index: 1;
  animation: wobble-idle 5s ease-in-out infinite;
}

#circular-contact a:hover .circular-contact__icon-wrap {
  animation: wobble-hover 0.6s ease-in-out infinite;
}

.circular-contact__icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
}

@keyframes circular-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes wobble-idle {
  0%, 12%, 100% { transform: rotate(0deg); }
  2%  { transform: rotate(-4deg); }
  4%  { transform: rotate(4deg); }
  6%  { transform: rotate(-3deg); }
  8%  { transform: rotate(3deg); }
  10% { transform: rotate(-1deg); }
}

@keyframes wobble-hover {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(-7deg); }
  40%  { transform: rotate(7deg); }
  60%  { transform: rotate(-5deg); }
  80%  { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

/* ========================================
   フッター前ウィジェット
======================================== */
.before_footer_widget,
.w-beforeFooter,
.l-content {
  margin-bottom: 0 !important;
}

.w-beforeFooter .wp-block-group__inner-container > :last-child,
.w-beforeFooter iframe {
  margin-bottom: 0 !important;
  display: block;
}

.w-beforeFooter .c-widget + .c-widget {
  margin-top: 0 !important;
}

/* ========================================
   フッター 背景画像＋オーバーレイ
======================================== */
.l-footer {
  position: relative;
  background-image: url('/wp-content/uploads/2026/04/nishinomiya-1.webp');
  background-size: cover;
  background-position: center;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.l-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 0;
}

.l-footer > * {
  position: relative;
  z-index: 1;
}

/* ========================================
   ヘッダー電話番号ブロック（PC のみ）
======================================== */
.header-phone {
  display: none;
}

@media (min-width: 960px) {
  .header-phone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    align-self: center;
    margin-top: 12px;
    padding-left: 20px;
    line-height: 1.3;
  }
  .header-phone__number,
  .header-phone__hours {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    background: none !important;
    color: color-mix(in srgb, var(--color_main) 85%, transparent);
  }
  .header-phone__number {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.04em;
  }
  .header-phone__hours {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    align-self: center;
    margin-left: 1.5em;
  }
}

/* ========================================
   PC グローバルメニュー グラスモーフィズム
======================================== */
.-body-solid .l-fixHeader {
  box-shadow: none !important;
}

/* fixヘッダーを通常ヘッダーと同じサイズに固定 */
.l-fixHeader {
  --logo_size_pcfix: var(--logo_size_pc);
}
.l-fixHeader__inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.l-fixHeader__logo {
  padding: 0 2vw !important;
  margin-right: 0 !important;
}

@media (min-width: 960px) {
  .l-header__inner {
    padding-bottom: 20px;
  }

  .l-header__logo {
    margin-top: 20px;
  }

  .l-header__gnav,
  .l-fixHeader__gnav {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 9999px;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 24px 32px;
    align-self: center;
    margin-top: 12px;
  }

  .l-header__gnav .c-gnav > .menu-item > a .ttl,
  .l-fixHeader__gnav .c-gnav > .menu-item > a .ttl {
    font-size: 1.3rem;
  }
}

