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

/* =========================
   Contact Form 7 おしゃれ化
   対象: #wpcf7-f56-p22-o1
   ========================= */

/* 1) テーブル罫線を完全に消す */
#wpcf7-f56-p22-o1 table,
#wpcf7-f56-p22-o1 tr,
#wpcf7-f56-p22-o1 th,
#wpcf7-f56-p22-o1 td {
  border: 0 !important;
  background: transparent;
}

/* 見出し */
#wpcf7-f56-p22-o1 .inquiry th {
  text-align: left;
  padding: 10px 0;
}

/* 2) 入力欄を横幅いっぱい＆枠線なし */
#wpcf7-f56-p22-o1 .inquiry td {
  padding: 10px 0 18px;
}

#wpcf7-f56-p22-o1 input:not([type="submit"]),
#wpcf7-f56-p22-o1 textarea,
#wpcf7-f56-p22-o1 select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border: 0 !important;
  outline: 0 !important;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f4f6;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  background-image: none;
}

/* フォーカス時 */
#wpcf7-f56-p22-o1 input:not([type="submit"]):focus,
#wpcf7-f56-p22-o1 textarea:focus,
#wpcf7-f56-p22-o1 select:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(63, 125, 106, .18);
}

/* textarea */
#wpcf7-f56-p22-o1 textarea {
  min-height: 0;
  height: auto;
  resize: none;
  overflow: hidden;
}

/* 3) 「必須」「任意」を消す */
#wpcf7-f56-p22-o1 .haveto,
#wpcf7-f56-p22-o1 .any {
  display: none !important;
}

/* 4) 必須は赤い＊だけ */
#wpcf7-f56-p22-o1 .inquiry th .req::after {
  content: " *";
  color: #e60023;
  font-weight: 700;
}

/* ラジオ/チェック余白 */
#wpcf7-f56-p22-o1 .wpcf7-list-item {
  margin: 0 0 8px 0;
}

/* 送信ボタン */
#wpcf7-f56-p22-o1 #formbtn {
  width: 100%;
  cursor: pointer;
  transition: .2s ease;
}

/* グラスモーフィズム */
#wpcf7-f56-p22-o1 input:not([type="submit"]),
#wpcf7-f56-p22-o1 textarea,
#wpcf7-f56-p22-o1 select {
  background: rgba(255, 255, 255, .28) !important;
  border: 1px solid rgba(255, 255, 255, .35) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* フォーカス時（グラス） */
#wpcf7-f56-p22-o1 input:not([type="submit"]):focus,
#wpcf7-f56-p22-o1 textarea:focus,
#wpcf7-f56-p22-o1 select:focus {
  background: rgba(255, 255, 255, .38) !important;
  border-color: rgba(255, 255, 255, .55) !important;
  box-shadow: 0 0 0 3px rgba(63, 125, 106, .22), 0 12px 34px rgba(0, 0, 0, .10) !important;
}

/* 送信ボタン */
#wpcf7-f56-p22-o1 #formbtn {
  margin-top: 18px;
  padding: 12px;
  border-radius: 16px !important;
  background: #02747c !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

#wpcf7-f56-p22-o1 #formbtn:hover {
  filter: brightness(.92);
  transform: translateY(-1px);
}

/* スマホ：縦積み */
@media (max-width: 500px) {
  #wpcf7-f56-p22-o1 .inquiry th {
    margin-bottom: 0;
  }
  #wpcf7-f56-p22-o1 .inquiry td {
    padding-top: 0;
  }
  #wpcf7-f56-p22-o1 .inquiry th,
  #wpcf7-f56-p22-o1 .inquiry td {
    display: block !important;
    width: 100% !important;
  }
  #wpcf7-f56-p22-o1 .inquiry td {
    margin-top: 1px !important;
  }
}

/* ============================
   Footer Background Image
   ============================ */

#footer {
  background-image: url('/wp-content/uploads/2026/03/camera-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================
   Google Maps Full Width
   ============================ */

/* 外側のグループブロック：コンテナを突き破って画面幅いっぱいに */
.map-fullwidth {
  display: block;
  line-height: 0;
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* WP Gutenberg の is-layout-constrained / l-container の制約を解除 */
.map-fullwidth > .wp-block-group__inner-container,
.map-fullwidth .wp-block-group__inner-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* インラインで生成される is-layout-constrained の子要素制約を解除 */
.map-fullwidth .wp-block-group__inner-container > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* .l-container の padding を解除 */
.map-fullwidth .l-container,
.map-fullwidth.l-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}

/* w-beforeFooter の下margin と l-container の幅制限を解除 */
.w-beforeFooter {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.w-beforeFooter .l-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.map-fullwidth iframe {
  width: 100% !important;
  display: block;
}

/* ============================
   Photo Grid Full Width
   ============================ */

.pgrid-fullwidth {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pgrid-fullwidth > .wp-block-group__inner-container,
.pgrid-fullwidth .wp-block-group__inner-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.pgrid-fullwidth .wp-block-group__inner-container > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ============================
   Broken Design — ロゴ大・はみ出し
   PC のみ適用
   ============================ */
@media screen and (min-width: 960px) {

  /* ① ヘッダー関連のoverflowを解除してロゴが下にはみ出せるようにする */
  #header,
  .l-header__inner,
  .l-header__logo,
  .c-headLogo,
  .c-headLogo__link {
    overflow: visible !important;
  }

  /* ② ヘッダーをMVより前面に */
  #header {
    position: relative;
    z-index: 200;
  }

  /* ③ ロゴコンテナの高さをナビに合わせて固定し、ロゴ画像だけが下にはみ出る */
  .l-header__logo {
    height: 72px !important;           /* ナビの高さ相当に固定 */
    min-height: 0 !important;
    align-items: flex-start !important; /* ロゴを上端から開始 */
    padding-top: 35px !important;
    overflow: visible !important;
    position: relative;
    z-index: 201;
  }

  /* ④ SWELLが設定するロゴコンテナの max-width:400px を解除 */
  .l-header__logo .c-headLogo {
    max-width: none !important;
    overflow: visible !important;
  }

  /* ⑤ ロゴ画像をでっかく・高さ制限を解除 */
  .l-header__logo .c-headLogo__img {
    width: 26vw !important;
    max-width: none !important;
    height: auto !important;
    /* ロゴの縦横比 2000:540 ≒ 3.7:1
       38vw / 3.7 ≈ 10.3vw の高さになる（例: 1400px で約 144px）
       コンテナ 72px を超えた分がヘッダー下にはみ出す */
  }

  /* ⑥ トップページのコンテンツ上余白をなくしてMVをヘッダー直下に引き上げる */
  .top #content {
    padding-top: 0 !important;
  }
}

/* ============================
   Global Navigation Font
   ============================ */

.c-gnav > .menu-item > a,
.c-gnav > .menu-item > a .ttl {
  font-family: 'Urbanist', 'M PLUS 2', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* ============================
   Loading Animation
   ============================ */

#mojoca-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.85s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* テキストとブロブをまとめるコンテナ */
.loader-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 100px;
}

.loader-text {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: #1a1a1a;
  position: relative;
  z-index: 2;
  text-transform: lowercase;
  animation: loader-text-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes loader-text-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Blobs — .loader-inner 基準で配置 */
.loader-blob {
  position: absolute;
  pointer-events: none;
}

/* Blob 1 — 左上 */
.blob-1 {
  width: 70px;
  top: -50px;
  left: -40px;
  opacity: 0.7;
  animation: blob-float-1 7s ease-in-out infinite;
}
.blob-1 path { fill: #02747c; }

/* Blob 2 — 右上 */
.blob-2 {
  width: 55px;
  top: -40px;
  right: -35px;
  opacity: 0.6;
  animation: blob-float-2 9s ease-in-out infinite;
}
.blob-2 path { fill: #d7e5e5; }

/* Blob 3 — 右下 */
.blob-3 {
  width: 60px;
  bottom: -45px;
  right: -30px;
  opacity: 0.65;
  animation: blob-float-3 8s ease-in-out infinite;
}
.blob-3 path { fill: #02747c; }

/* Blob 4 — 左下 */
.blob-4 {
  width: 50px;
  bottom: -40px;
  left: -30px;
  opacity: 0.8;
  animation: blob-float-4 10s ease-in-out infinite;
}
.blob-4 path { fill: #d7e5e5; }

/* Blob 5 — 右中央外 */
.blob-5 {
  width: 42px;
  top: 50%;
  right: -55px;
  transform: translateY(-50%);
  opacity: 0.45;
  animation: blob-float-5 6s ease-in-out infinite;
}
.blob-5 path { fill: #02747c; }

@keyframes blob-float-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%       { transform: translate(6px, 8px) rotate(8deg) scale(1.05); }
  66%       { transform: translate(-4px, 4px) rotate(-5deg) scale(0.97); }
}

@keyframes blob-float-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  40%       { transform: translate(-7px, 6px) rotate(-10deg) scale(1.07); }
  70%       { transform: translate(4px, -4px) rotate(6deg) scale(0.95); }
}

@keyframes blob-float-3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  30%       { transform: translate(-5px, -7px) rotate(12deg) scale(1.06); }
  65%       { transform: translate(6px, 4px) rotate(-7deg) scale(0.96); }
}

@keyframes blob-float-4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  45%       { transform: translate(8px, -5px) rotate(-9deg) scale(1.08); }
  75%       { transform: translate(-3px, 7px) rotate(5deg) scale(0.94); }
}

@keyframes blob-float-5 {
  0%, 100% { transform: translateY(-50%) translateX(0) scale(1); }
  50%       { transform: translateY(-50%) translateX(5px) scale(1.1); }
}

/* ============================
   ナビゲーションメニュー（カード）
   ============================ */

/* 背景バックドロップ */
#mj-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#mj-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* メニューカード — スマホ */
#mj-nav-menu {
  position: fixed;
  top: 80px;
  right: 40px;
  bottom: 40px;
  left: 40px;
  z-index: 9998;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* メニューカード — PC */
@media (min-width: 768px) {
  #mj-nav-menu {
    top: 80px;
    right: 80px;
    bottom: 80px;
    left: auto;
    width: 20%;
    min-width: 220px;
    border-radius: 20px;
  }
}

#mj-nav-menu.is-open {
  opacity: 1;
  visibility: visible;
}

#mj-nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

#mj-nav-menu li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#mj-nav-menu.is-open li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
#mj-nav-menu.is-open li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.10s; }
#mj-nav-menu.is-open li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.15s; }
#mj-nav-menu.is-open li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.20s; }
#mj-nav-menu.is-open li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.25s; }
#mj-nav-menu.is-open li:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.30s; }

#mj-nav-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
#mj-nav-menu a:hover { opacity: 0.65; }

.mj-nav-ja {
  font-family: 'M PLUS 2', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: 0.05em;
}

.mj-nav-en {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #02747c;
  text-transform: lowercase;
}

/* ============================
   固定メニューボタン（右下）
   ============================ */

#mj-fixed-menu {
  position: fixed;
  bottom: 44px;
  right: 28px;
  z-index: 9999;
  cursor: pointer;
  text-decoration: none;
}

#mj-fixed-menu img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  transform-origin: top center;
  animation: camera-sway 5s ease-in-out infinite;
}

#mj-fixed-label {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 52px;
  text-align: center;
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-transform: lowercase;
  line-height: 1;
  pointer-events: none;
  mix-blend-mode: difference;
}

@media (min-width: 768px) {
  #mj-fixed-menu {
    bottom: 68px;
    right: 48px;
  }
  #mj-fixed-menu img {
    width: 72px;
    height: 72px;
  }
  #mj-fixed-label {
    bottom: 48px;
    right: 48px;
    width: 72px;
    font-size: 1.3rem;
  }
}

@keyframes camera-sway {
  0%,  70%, 100% { transform: rotate(0deg); }
  75%             { transform: rotate(-5deg); }
  80%             { transform: rotate(4deg); }
  85%             { transform: rotate(-3deg); }
  90%             { transform: rotate(2deg); }
  95%             { transform: rotate(-1deg); }
}

