/*
Theme Name: Senku
Description: Senku and Flight shared theme styles (recovered from the supplied built stylesheet).
Version: 1.0.0
*/

:root {
  --ink: #163858;
  --sky: #11b7e8;
  --sun: #f5bb25;
  --coral: #ee4e3b;
  --paper: #fffdf5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background-color: var(--paper);
  width: 100%;
  max-width: 100vw;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family:
    Noto Sans JP,
    sans-serif;
  overflow-x: hidden;
}
.site-shell {
  width: 100%;
  overflow: hidden;
}
.site-header {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #fffffff2;
  border-bottom: 1px solid #16385814;
}
.brand-wordmark {
  letter-spacing: -0.04em;
  font-family:
    Work Sans,
    sans-serif;
  font-weight: 700;
  line-height: 1;
}

.nav-wordmark {
  letter-spacing: -0.04em;
  font-family:
    Work Sans,
    sans-serif;
  font-weight: 700;
  line-height: 1;
}
.hero-pacific {
  font-family: Pacifico, cursive;
}
.nav-link {
  color: #244b68;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  transition:
    color 0.2s,
    transform 0.2s;
}
.nav-link:hover {
  color: var(--coral);
  transform: translateY(-2px);
}
.pressed-flight-link:hover {
  color: #fff;
  transform: translateY(2px);
  box-shadow: 0 2px #16385840;
}
.pressed-flight-link:active {
  transform: translateY(4px);
  box-shadow: 0 0 #16385840;
}
.nav-link:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #f5bb25;
}
.hero {
  min-height: calc(78 * min(var(--vh, 1vh), 1vh));
  isolation: isolate;
  background: linear-gradient(145deg, #087db7 0%, #11b7e8 52%, #8be4ee 100%);
  overflow: hidden;
  position: relative;
}
.hero:before {
  content: "";
  z-index: -2;
  opacity: 0.9;
  background:
    radial-gradient(at 78% 78%, #f5bb25 0 2%, #0000 2.2%),
    radial-gradient(at 82% 80%, #ffffffb3 0 1%, #0000 1.2%),
    linear-gradient(165deg, #0000 0 58%, #ffffff2e 58.2% 59%, #0000 59.2%);
  position: absolute;
  inset: 0;
}
.hero-overlay {
  z-index: -1;
  background: linear-gradient(
    90deg,
    #047eb7eb 0%,
    #09b1e2ba 48%,
    #0390c633 100%
  );
  position: absolute;
  inset: 0;
}
.hero-sun {
  filter: blur(2px);
  background: #ffda573b;
  border-radius: 999px;
  width: 28rem;
  height: 28rem;
  position: absolute;
  top: -12rem;
  right: -5rem;
}
.hero-copy {
  animation: 0.75s both rise;
}
.hero-tag {
  color: #fff;
  letter-spacing: 0.08em;
  background: #ffffff2e;
  border: 1px solid #fff6;
  border-radius: 999px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
}
.hero-title {
  letter-spacing: -0.055em;
  text-shadow: 0 5px 20px #00486d38;
  font-family: Fraunces, serif;
  line-height: 0.96;
}
.wave-edge {
  width: 100%;
  height: 70px;
  fill: var(--paper);
  position: absolute;
  bottom: -1px;
  left: 0;
}

.hero {
  position: relative;
  background-image: url("images/square_mt.png"); /* またはテーマのパスに応じた記述 */
  background-size: cover;
  background-position: center;
  min-height: 80vh; /* 高さが潰れないように確保する場合 */
}

.section-kicker {
  color: #0b659c;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 900;
}
.section-heading {
  letter-spacing: -0.04em;
  font-family:
    Work Sans,
    sans-serif;
  line-height: 1.08;
}

.icon-disc {
  border-radius: 1rem;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
}
.flight-block {
  background: #123d5d;
  position: relative;
  overflow: hidden;
}
.flight-block:after {
  content: "";
  border: 44px solid #ffffff14;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  position: absolute;
  inset: auto -40px -110px auto;
}
.flight-mark {
  color: #f5bb25;
  opacity: 0.9;
  font-family: Fraunces, serif;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.7;
}
.company-card {
  border-left: 7px solid #094d78;
}
.contact-panel {
  box-shadow: 0 20px 50px #104e7024;
}
.field {
  color: #163858;
  background: #fff;
  border: 1px solid #c9dae2;
  border-radius: 0.85rem;
  width: 100%;
  padding: 0.82rem 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field:focus {
  border-color: #11b7e8;
  outline: none;
  box-shadow: 0 0 0 4px #11b7e826;
}
.status-message {
  min-height: 1.5rem;
}
.mobile-nav {
  display: none;
}
.mobile-nav.open {
  display: flex;
}

/* 前後の記事リンクのホバーエフェクトを強制的に効かせる */
.mb-6 a {
  display: inline-block !important;
  transition:
    transform 0.3s ease,
    color 0.3s ease !important;
}

/* 「前の記事」ホバー時（左へ移動 ＋ カラー変更） */
.mb-6 div:first-child a:hover {
  color: #e54b3a !important;
  transform: translateX(-4px) !important;
}

/* 「次の記事」ホバー時（右へ移動 ＋ カラー変更） */
.mb-6 div:last-child a:hover {
  color: #e54b3a !important;
  transform: translateX(4px) !important;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float-y {
  0%,
  to {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes rocket-launch-diagonal {
  0% {
    opacity: 1;
    transform: translate(0) scale(1) rotate(var(--rocket-angle));
  }

  10% {
    opacity: 1;
    transform: translate(15px, -20px) scale(1.05) rotate(var(--rocket-angle));
  }

  80% {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translate(95vw, -110vh) scale(0.6) rotate(var(--rocket-angle));
  }
}

@keyframes exhaust-puff-diagonal {
  0% {
    opacity: 0.85;
    transform: scaleY(1) scaleX(1);
  }

  to {
    opacity: 0;
    transform: scaleY(3.5) scaleX(2.2);
  }
}

@keyframes cloud-drift {
  0% {
    transform: translate(0);
  }

  to {
    transform: translate(-60px);
  }
}

@keyframes enoden-run {
  0% {
    transform: translate(110%);
  }

  to {
    transform: translate(-120%);
  }
}

.animate-float {
  animation: 6s ease-in-out infinite float-y;
}

.animate-rocket-launch {
  --rocket-angle: -15deg;
  pointer-events: none;
  z-index: 20;
  filter: drop-shadow(4px 4px 12px #ff781e99);
  font-size: 2.8rem;
  animation: 5s cubic-bezier(0.3, 0, 0.6, 1) forwards rocket-launch-diagonal;
  position: absolute;
  top: 105%;
  left: -40px;
  transform: translate(0);
}

@media (min-width: 768px) {
  .animate-rocket-launch {
    --rocket-angle: 0deg;
  }
}

.animate-exhaust {
  pointer-events: none;
  z-index: 19;
  background: radial-gradient(#ffa03ce6 0%, #ff501480 60%, #0000 100%);
  border-radius: 50%/60% 60% 40% 40%;
  width: 22px;
  height: 22px;
  animation: 0.6s ease-out forwards exhaust-puff-diagonal;
  position: absolute;
  top: calc(105% + 35px);
  left: -28px;
}
.animate-cloud {
  animation: 18s linear infinite cloud-drift;
}
.animate-enoden {
  animation: 12s linear infinite enoden-run;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: 0 0;
}
::-webkit-scrollbar-thumb {
  background: #d8dad5;
  border-radius: 2px;
}
@media (max-width: 1024px) {
  html {
    font-size: 80%;
  }
  .desktop-nav {
    display: none !important;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
  .hero {
    min-height: calc(72 * min(var(--vh, 1vh), 1vh));
  }
  .hero-overlay {
    background: linear-gradient(90deg, #047eb7ed, #09b1e28c);
  }
}
@media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-pan-x {
  syntax: "*";
  inherits: false;
}
@property --tw-pan-y {
  syntax: "*";
  inherits: false;
}
@property --tw-pinch-zoom {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-space-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-divide-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-divide-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-gradient-position {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
/* ==========================================================
    雲のblobシェイプ・空色セクション用カスタムスタイル
    ================================================         */

/* 1. 空色セクション（Activityセクション等用） */
.sky-bg-section {
  background: linear-gradient(to bottom, #e0f2fe, #f0f9ff) !important;
}

/* 2. 雲のラッパー（縦並び・間隔調整） */
.cloud-blob-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  /* ★ gapをゼロから広げて、雲同士が重ならないように離す（例: 24px〜32px程度） */
  gap: 28px;
  padding: 20px 10px;
  width: 100%;
}

/* 3. いびつな丸（雲本体：白ベース） */
.cloud-blob {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* 4. 雲の中身のコンテンツエリア */
.cloud-blob-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  /* ★ 上下のパディングを少しスッキリさせて、文字が丸からはみ出ないように調整する */
  padding: 12% 12% 14%;
}
/* 5. 手書きフォント適用のクラス */
.handwriting-font {
  font-family: "Kaisei Decol", cursive, sans-serif !important;
}

.cloud-blob-inner h3 {
  margin: 0 0 8px;
  font-weight: bold;
  font-size: clamp(16px, 1.8vw, 20px);
  color: #2a2a2a;
  font-family: "Kaisei Decol", cursive, sans-serif;
}

.yomogi-font {
  font-family: "Yomogi", cursive, sans-serif !important;
}

.magic-font {
  font-family: "Yusei Magic", cursive, sans-serif !important;
  color: #9ca3af !important; /* お好みのグレーコードに変更してください */
}

.cloud-blob-inner p {
  margin: 0;
  line-height: 1.7;
  color: #4a4a4a;
  font-size: clamp(15px, 1.5vw, 17px) !important;
  font-family: "Yomogi", cursive, sans-serif;
}

/* 6. 各雲のサイズ・不規則な形状（blob）と重なり（マイナスマージン） */
.blob-shape-1 {
  width: 44%;
  aspect-ratio: 1.25 / 1;
  border-radius: 63% 37% 54% 42% / 55% 45% 61% 39%;
  margin-left: 4%;
  margin-right: auto;
  margin-top: 0;
  z-index: 1;
}

.blob-shape-2 {
  width: 40%;
  aspect-ratio: 1.15 / 1;
  border-radius: 41% 59% 68% 32% / 47% 60% 40% 53%;
  margin-left: auto;
  margin-right: 6%;
  margin-top: -140px; /* 上の雲とグッと近づける重なり */
  z-index: 2;
}

.blob-shape-3 {
  width: 46%;
  aspect-ratio: 1.3 / 1;
  border-radius: 55% 45% 33% 67% / 62% 38% 61% 39%;
  margin-left: 8%;
  margin-right: auto;
  margin-top: -140px; /* 上の雲とグッと近づける重なり */
  z-index: 3;
}

/* 7. ふわふわ浮くアニメーション（float） */
.float-a {
  animation: floatA 7s ease-in-out infinite;
}

.float-b {
  animation: floatB 8s ease-in-out infinite;
}

.float-c {
  animation: floatC 6.5s ease-in-out infinite;
}

.cloud-blob {
  position: relative;
}

/* 二重のふちを表現する擬似要素 */
.cloud-blob::before {
  content: "";
  position: absolute;
  inset: -8px; /* 本体の外側に少し広げる */
  background: transparent;
  border: 4px solid rgba(40, 102, 135, 0.4); /* 点線や実線、色はお好みで */
  border-radius: inherit; /* 本体と同じいびつな角丸を引き継ぐ */
  z-index: -1;
  transform: rotate(3deg); /* わずかに角度をずらすと可愛い手描き感が出る */
  pointer-events: none;
}

/* アンカー専用 */
.scroll-anchor {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
}

/* 【歪んだ箱＋後ろのグレー影をbox-shadowで表現】 */
.organic-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  padding: 1.5rem 2rem;
  margin-top: 0.8rem;
  margin-bottom: 3rem;
  /* 右下に6pxずらしたグレーの影（変形した角丸の形に自動で追従します） */
  box-shadow: 6px 6px 0px #d1d5db;
}

/* 各カラーバリエーション */
.organic-wrapper.is-welfare {
  background-color: #e0f4fc;
}
.organic-wrapper.is-welfare .organic-title::before {
  color: #089fcf;
}

.organic-wrapper.is-fba {
  background-color: #fff8e8;
}
.organic-wrapper.is-fba .organic-title::before {
  color: #d59800;
}

.organic-wrapper.is-web {
  background-color: #fdf2f2;
}
.organic-wrapper.is-web .organic-title::before {
  color: #e54b3a;
}

/* aboutタイトル */
.organic-title-about {
  color: #333333 !important; /* 濃いグレー */
}

/* 共通の見出し・文字スタイル */
.organic-title {
  color: #333333 !important; /* 濃いグレー */
}
/* ========================================
   Contact Form 7 - Senku お問い合わせ
======================================== */

.senku-contact-form .senku-cf7-field {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #163858;
  outline: none;
  box-sizing: border-box;
}

.senku-contact-form .senku-cf7-field:focus {
  border-color: #ee4e3b;
}

.senku-contact-form .senku-cf7-textarea {
  width: 100%;
  min-height: 8rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #163858;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

.senku-contact-form .senku-cf7-textarea:focus {
  border-color: #ee4e3b;
}

.senku-contact-form .senku-cf7-submit {
  width: 100%;
  border: 0;
  border-radius: 0.5rem;
  background: #0b659c;
  padding: 1rem 1.5rem;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.senku-contact-form .senku-cf7-submit:hover {
  background: #095482;
}

.senku-contact-form .wpcf7-not-valid-tip {
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

.senku-contact-form .wpcf7-response-output {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ========================================
   Contact Form 7 - フライトお問い合わせ
======================================== */

.flight-contact-form .flight-cf7-field {
  width: 100%;
  border: 1px solid #e8ded5;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: #2a2a2a;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.flight-contact-form .flight-cf7-field:focus {
  border-color: #d8281c;
}

.flight-contact-form .flight-cf7-textarea {
  width: 100%;
  min-height: 10rem;
  border: 1px solid #e8ded5;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: #2a2a2a;
  background: #fff;
  resize: none;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.flight-contact-form .flight-cf7-textarea:focus {
  border-color: #d8281c;
}

.flight-contact-form .flight-cf7-submit {
  width: 100%;
  border: 0;
  border-radius: 9999px;
  padding: 1rem;
  margin-top: 0.5rem;
  background: #d8281c;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease;
}

.flight-contact-form .flight-cf7-submit:hover {
  background: #b8200f;
}

.flight-contact-form .wpcf7-not-valid-tip {
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

.flight-contact-form .wpcf7-response-output {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.flight-contact-form p {
  margin: 0;
}

.flight-contact-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
}

.flight-contact-form br {
  display: none;
}

.pay-simple {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 24px 18px;
  background: #f3ffb0;
  border: 1px solid #e8ded5;
  border-radius: 40px;
  font-family: "Noto Sans JP", sans-serif;
  color: #2a2a2a;
  text-align: center;
}

.pay-simple-box {
  max-width: 360px;
  margin: 0 auto;
  padding: 12px 14px;
  background: #ffffff;
  border: 4px dashed #d1d5db;
  border-radius: 24px;
}

.pay-simple-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #2a2a2a;
}

.pay-simple-price {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 800;
  color: #d8281c;
}

/* ＋ */
.pay-simple-plus {
  margin: 8px 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: #2a2a2a;
}

/* 利用日数による加算 */
.pay-simple-bonus {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: #2a2a2a;
  margin: 0 auto;
  padding: 12px 10px;
  background: #ffffff;
  border: 4px dashed #d1d5db;
  border-radius: 24px;
}

.pay-simple-bonus p {
  margin: 0;
}

.pay-simple-bonus strong {
  font-size: 16px;
  font-weight: 800;
  color: #d8281c;
}

/* 注意書き */
.pay-simple-note {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #6b6b6b;
}

/* 工賃計算例・外側 */
.pay-simple-example {
  margin-top: 18px;
  padding: 8px 10px;
  background: #ffffff;
  border: 10px solid #e0f2fe;
  border-radius: 24px;
  font-size: 12px;
  line-height: 1.8;
  color: #2a2a2a;
}
/* 工賃計算例・文章全体 */
.pay-simple-example-inner {
  display: table;
  margin: 0 auto;
}

/* 計算例のPタグは左寄せ */
.pay-simple-example-inner p {
  margin: 3px 0;
  text-align: left;
}

/* 「例）」の行 */
.pay-simple-example-title {
  margin-bottom: 8px !important;
  font-weight: 700;
  color: #2a2a2a;
}

/* 計算例の強調金額 */
.pay-simple-example-inner strong {
  font-size: 13px;
  font-weight: 800;
  color: #d8281c;
}

.title-responsive {
  text-align: left;
}

/* 初期状態：見えていない＆少し下に下がっている */
.fade-up-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* 画面内に入ったとき（JavaScriptで付与されるクラス） */
.fade-up-item.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* PC */
@media (min-width: 768px) {
  .title-responsive {
    text-align: center;
  }

  .pay-simple-title {
    font-size: 18px;
  }

  .pay-simple-price {
    font-size: 21px;
  }

  .pay-simple-plus {
    font-size: 28px;
  }

  .pay-simple-bonus {
    font-size: 18px;
  }

  .pay-simple-bonus strong {
    font-size: 20px;
  }

  .pay-simple-note {
    font-size: 13px;
  }

  .pay-simple-example {
    font-size: 13px;
    padding: 14px 16px;
    border: 14px solid #e0f2fe;
  }

  .pay-simple-example-inner strong {
    font-size: 14px;
  }
}

@keyframes fadeUpAnime {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatA {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.6deg);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-0.6deg);
  }
}

@keyframes floatC {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.4deg);
  }
}

.responsive-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-panel {
  position: relative;
  overflow: hidden;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.48),
    rgba(255, 255, 255, 0.16)
  );

  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);

  border: 1px solid rgba(255, 255, 255, 0.58);

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px rgba(255, 255, 255, 0.18),
    0 12px 30px rgba(0, 0, 0, 0.12);
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -35%;
  left: -15%;
  width: 75%;
  height: 65%;

  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.14) 45%,
    rgba(255, 255, 255, 0) 72%
  );

  transform: rotate(-10deg);
  pointer-events: none;
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .responsive-bg {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  /* PC（640px以上）のときだけ改行タグを非表示にする */
  .hide-pc {
    display: none !important;
  }
}
/* スマホ表示時の調整 */
@media (max-width: 768px) {
  .blob-shape-1,
  .blob-shape-2,
  .blob-shape-3 {
    width: 88%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -45px;
  }
  .blob-shape-1 {
    margin-top: 0;
  }
  .sp-br {
    display: none;
  }
}

#senku-cf7-form input[type="text"],
#senku-cf7-form input[type="email"],
#senku-cf7-form input[type="tel"],
#senku-cf7-form input[type="url"],
#senku-cf7-form input[type="number"],
#senku-cf7-form textarea,
#senku-cf7-form select {
  border: 1.5px solid rgba(20, 40, 60, 0.7);
}
#company > .responsive-bg {
  background-position: center center;
}

@media (max-width: 767px) {
  #company > .responsive-bg {
    background-position: 68% center;
  }

  #about p {
    color: #111111 !important;
    text-shadow:
      1px 1px 1px rgba(255, 255, 255, 1),
      -1px 1px 1px rgba(255, 255, 255, 1),
      1px -1px 1px rgba(255, 255, 255, 1),
      -1px -1px 1px rgba(255, 255, 255, 1),
      0 2px 6px rgba(255, 255, 255, 0.95) !important;
  }
  .rolling-text {
    font-size: clamp(13px, 3.5vw, 16px) !important;
    line-height: 1.35;
    letter-spacing: 0.05em !important;
  }
  @media (max-width: 767px) {
    .rolling-text::after {
      height: clamp(1.5px, 0.4vw, 3px) !important;
    }
  }
}

/* タッチ・選択動作の最適化 */
.cta-forest-btn {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

/* テキストとアイコンの初期遷移設定 */
.cta-forest-btn .cta-text,
.cta-forest-btn .cta-icon {
  transition: color 0.15s ease-in-out;
}

/* PCホバー時 ＆ スマホタップ時のカラー変化 */
.cta-forest-btn:hover .cta-text,
.cta-forest-btn:hover .cta-icon,
.cta-forest-btn:active .cta-text,
.cta-forest-btn:active .cta-icon {
  color: #eaa220 !important;
}
