@charset "UTF-8";

/* ===================================================
   基本変数・カラーパレット定義
=================================================== */
:root {
  --primary: #81dee5;
  --secondary: #81dee5;
  --text-color: #727375;
  --text-dark: #4c4c4c;
  --bg-color: #ffffff;
  --bg-light: #f4f5f7;
  --accent-yellow: #f9df70;
  --accent-pink: #fac5bf;
  --font-main: "Noto Sans JP", sans-serif;
  --font-heading: "M PLUS Rounded 1c", sans-serif;
}

/* ===================================================
   Cocoon・WordPressのスタイルリセット
=================================================== */
html, body.solala-new-preview {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  font-family: var(--font-main) !important;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

body.solala-new-preview * {
  box-sizing: border-box;
}

body.solala-new-preview img {
  max-width: 100%;
  height: auto;
  display: block;
}

body.solala-new-preview a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

body.solala-new-preview h1, 
body.solala-new-preview h2, 
body.solala-new-preview h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ===================================================
   ヘッダー
=================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

/* ===================================================
   ロゴのサイズ制限（強制適用）
=================================================== */
.site-header .site-logo {
  display: flex !important;
  align-items: center !important;
  max-width: 400px !important; /* PC表示時のロゴエリアの最大横幅 */
}

.site-header .site-logo a {
  display: inline-block !important;
  line-height: 0 !important;
}

.site-header .site-logo img {
  width: auto !important;
  max-width: 100% !important;
  height: 100px !important; /* 表示するロゴの高さ（ここでお好みの大きさに微調整できます） */
  max-height: 100px !important;
  object-fit: contain !important;
  display: block !important;
}

/* スマホ表示時のロゴサイズ（少し小さめにする場合） */
@media screen and (max-width: 768px) {
  .site-header .site-logo {
    max-width: 200px !important;
  }
  .site-header .site-logo img {
    height: 60px !important;
    max-height: 60px !important;
  }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 700;
  padding: 8px 0;
  position: relative;
  color: var(--text-dark);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.header-sns {
  display: flex;
  gap: 12px;
}

.header-sns img {
  width: 24px;
  height: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-outline {
  border-color: var(--text-color);
  background: #ffffff;
  color: var(--text-color);
  min-width: 200px;
}

.btn-outline:hover {
  background: var(--text-color);
  color: #ffffff;
}

/* スマホ用ハンバーガーメニュー */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 30px 20px;
}

.mobile-sidebar.is-active {
  right: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  float: right;
  line-height: 1;
}

.mobile-nav-list {
  list-style: none;
  margin-top: 40px;
  padding: 0;
}

.mobile-nav-list li {
  margin-bottom: 16px;
}

.mobile-nav-list a {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.mobile-sns {
  display: flex;
  gap: 16px;
  margin: 25px 0;
}

.mobile-sns img {
  width: 30px;
  height: 30px;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
}

.sidebar-overlay.is-active {
  display: block;
}

/* ===================================================
   波型カーブセパレータ (SVG)
=================================================== */
.curve-sep {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.curve-sep svg {
  display: block;
  width: 100%;
  height: 50px;
}

.top-sep {
  top: 0;
}

.bottom-sep {
  bottom: 0;
}

/* ===================================================
   メインヒーロー
=================================================== */
.top-ornament {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 0;
}

.hero-section {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content h1 {
  font-size: 44px;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-content p {
  font-size: 20px;
  font-weight: bold;
}

.highlight {
  font-size: 26px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ===================================================
   パララックスセクション共通
=================================================== */
.section-parallax {
  position: relative;
  padding: 100px 0;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pink-gradient {
  background: linear-gradient(180deg, rgba(250, 197, 191, 0.9) 0%, rgba(250, 197, 191, 0.5) 100%);
}

.yellow-overlay {
  background: rgba(249, 223, 112, 0.55);
}

.dark-overlay {
  background: rgba(76, 76, 76, 0.6);
}

.section-care {
  background-image: url('https://wisteria-solala.com/wp-content/uploads/pixta_121907197.jpg');
}

.section-recruit {
  background-image: url('https://wisteria-solala.com/wp-content/uploads/pixta_91603737.jpg');
}

.section-contact {
  background-image: url('https://wisteria-solala.com/wp-content/uploads/pixta_48283953.jpg');
  color: #ffffff;
}

/* 2カラムレイアウト */
.grid-2col {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.text-col h2 {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.btn-wrap {
  margin-top: 30px;
}

/* 丸型画像装飾 */
.circle-images {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-img-wrap {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.circle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-1 {
  top: 10px;
  left: 20px;
}

.circle-2 {
  bottom: 10px;
  right: 20px;
}

/* ===================================================
   セクション2: サービス紹介（事業案内）
=================================================== */
.section-pace {
  padding: 60px 0;
}

.banner-box {
  width: 100%;
  height: 350px;
  border-radius: 40px;
  background: url('https://wisteria-solala.com/wp-content/uploads/pixta_93030932.jpg') no-repeat center 20% / cover;
  margin: 30px 0;
}

.ornament-img {
  width: 280px;
  margin: 0 auto;
}

.text-right {
  display: flex;
  justify-content: flex-end;
}

.pace-content h2 {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.pace-content .description {
  max-width: 800px;
  margin: 0 auto 30px;
}

.text-center {
  text-align: center;
}

/* ===================================================
   セクション4: 新着情報
=================================================== */
.section-news {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

.news-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 20px;
}

.news-title h2 {
  font-size: 26px;
  color: var(--text-dark);
}

.news-item {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.news-item a {
  text-decoration: underline;
  color: var(--text-color);
}

.news-item a:hover {
  text-decoration: none;
}

/* ===================================================
   セクション5: 会社概要
=================================================== */
.section-company {
  padding: 80px 0;
}

.section-heading {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.company-table table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th, 
.company-table td {
  padding: 12px 14px;
  border: 1px solid #dddddd;
  font-size: 14px;
  text-align: left;
}

.company-table th {
  background: var(--bg-light);
  width: 32%;
  font-weight: 500;
  color: var(--text-dark);
}

/* ===================================================
   セクション6: お問い合わせCTA
=================================================== */
.contact-content {
  position: relative;
  z-index: 3;
}

.contact-content h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: #ffffff;
}

.contact-content .address {
  font-size: 16px;
  margin-bottom: 10px;
}

.btn-contact {
  border: 2px solid #ffffff;
  color: #ffffff !important;
  background: transparent;
  min-width: 240px;
}

.btn-contact:hover {
  background: #ffffff;
  color: var(--primary) !important;
}

/* ===================================================
   フッター
=================================================== */
.site-footer {
  background: var(--text-dark);
  color: #ffffff;
  padding: 40px 0 20px;
  width: 100%;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 25px;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 20px;
  font-size: 14px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #ffffff;
}

.footer-sns {
  display: flex;
  gap: 15px;
}

.footer-sns img {
  width: 28px;
  height: 28px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  opacity: 0.8;
}

/* ===================================================
   スクロールアニメーション (FadeInUp)
=================================================== */
.anim-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.anim-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   レスポンシブ (スマホ・タブレット)
=================================================== */
@media screen and (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .grid-2col,
  .company-grid,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .reverse-on-mobile .image-col {
    order: 2;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .highlight {
    font-size: 18px;
  }

  .footer-main {
    flex-direction: column;
    gap: 20px;
  }

  .section-parallax {
    background-attachment: scroll !important; /* モバイルでの描画安定化 */
  }

  .curve-sep svg {
    height: 30px;
  }
}

/* ===================================================
   ドロップダウンメニューの強制制御
=================================================== */
.nav-menu li.has-dropdown {
  position: relative !important;
}

/* 通常時は非表示 */
.nav-menu li.has-dropdown .sub-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background-color: #ffffff !important;
  min-width: 200px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
  border-radius: 4px !important;
  padding: 10px 0 !important;
  margin: 0 !important;
  list-style: none !important;
  z-index: 99999 !important;
}

/* ホバー時、またはクリック時に表示 */
.nav-menu li.has-dropdown:hover .sub-menu,
.nav-menu li.has-dropdown.is-open .sub-menu {
  display: block !important;
}

.nav-menu li.has-dropdown .sub-menu li {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  list-style: none !important;
}

.nav-menu li.has-dropdown .sub-menu li a {
  display: block !important;
  padding: 8px 16px !important;
  color: #4c4c4c !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1.5 !important;
}

.nav-menu li.has-dropdown .sub-menu li a:hover {
  background-color: #f4f5f7 !important;
  color: #81dee5 !important;
}
/* ===================================================
   お問い合わせカードセクション
=================================================== */
.section-contact-cards {
  padding: 80px 0 100px;
  background-color: #ffffff;
}

.contact-header {
  margin-bottom: 50px;
}

.contact-header .sub-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #5bbcc4; /* アクセントのミントブルー */
  margin-bottom: 15px;
}

.contact-title {
  font-size: 34px !important;
  font-weight: 700;
  color: #2b3a3a;
  line-height: 1.4 !important;
  margin-bottom: 20px !important;
  letter-spacing: 0.05em;
}

.contact-lead {
  font-size: 15px;
  color: #666666;
  margin: 0;
}

/* 2カラムカード配置 */
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background-color: #f2f7f6; /* やわらかなミントグレーのカード背景 */
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.card-caption {
  font-size: 14px;
  color: #555555;
  margin-bottom: 15px;
  font-weight: 500;
}

.card-main {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

/* 電話番号の文字デザイン */
.tel-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #2b5550;
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 1.1;
  transition: opacity 0.3s ease;
}

.tel-number:hover {
  opacity: 0.75;
}

.card-sub-info {
  font-size: 14px;
  color: #666666;
  margin: 0 0 5px 0;
}

.card-time {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

/* メール送信ボタンのデザイン */
.btn-mail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 35px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #2b5550;
  background-color: #ffffff;
  border-radius: 50px;
  border: 2px solid #2b5550;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.btn-mail-action svg {
  transition: transform 0.3s ease;
}

.btn-mail-action:hover {
  background-color: #2b5550;
  color: #ffffff !important;
}

.btn-mail-action:hover svg {
  transform: translateX(3px);
}

.card-note {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

/* ===================================================
   スマホ対応（1カラム化）
=================================================== */
@media screen and (max-width: 768px) {
  .section-contact-cards {
    padding: 50px 0 60px;
  }

  .contact-title {
    font-size: 24px !important;
  }

  .contact-lead {
    font-size: 13px;
    padding: 0 10px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .contact-card {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .tel-number {
    font-size: 30px;
  }

  .btn-mail-action {
    font-size: 20px;
    padding: 10px 28px;
  }
}

/* ===================================================
   お問い合わせフォーム専用スタイル
=================================================== */
.section-contact-form-page {
  padding: 60px 0 100px;
  background-color: #f7faf9;
  min-height: 80vh;
}

.form-header {
  margin-bottom: 40px;
}

.form-header .sub-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #5bbcc4;
  margin-bottom: 10px;
}

.form-header .page-title {
  font-size: 36px;
  color: #2b3a3a;
  margin-bottom: 15px;
}

.form-header .lead-text {
  font-size: 15px;
  color: #666666;
  line-height: 1.8;
}

.form-card-container {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 45px;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

/* エラー表示ボックス */
.error-summary-box {
  background-color: #fde8e8;
  border-left: 4px solid #e02424;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  color: #9b1c1c;
  font-size: 14px;
}

.error-summary-box p {
  margin: 0 0 8px 0;
}

.error-summary-box ul {
  margin: 0;
  padding-left: 20px;
}

/* フォーム入力行 */
.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  color: #333333;
  margin-bottom: 10px;
}

/* バッジ（必須 / いずれか必須） */
.badge-req {
  background-color: #ff6b6b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
}

.badge-any-req {
  background-color: #f0a04b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
}

/* 連絡先（メール / 電話）排他グループ枠 */
.contact-or-group {
  background-color: #f8fbfa;
  border: 1px solid #e2ece9;
  border-radius: 12px;
  padding: 24px 24px 10px;
  margin-bottom: 28px;
}

.or-guide-label {
  font-weight: 700;
  font-size: 15px;
  color: #2b5550;
  margin-bottom: 15px;
}

.or-sub-text {
  font-size: 12px;
  color: #688581;
  font-weight: normal;
  margin: 4px 0 0 0;
}

/* 入力フィールド共通 */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.select-wrap select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1.5px solid #d8e2df;
  border-radius: 8px;
  background-color: #ffffff;
  color: #333333;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group textarea:focus,
.select-wrap select:focus {
  outline: none;
  border-color: #5bbcc4;
  box-shadow: 0 0 0 3px rgba(91, 188, 196, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* セレクトボックス（矢印アイコン付き） */
.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.select-wrap::after {
  content: "▼";
  font-size: 10px;
  color: #888888;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 送信ボタン */
.form-submit-wrap {
  margin-top: 40px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 280px;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background-color: #2b5550;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(43, 85, 80, 0.2);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #3a6d67;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 85, 80, 0.3);
}

/* 送信完了ボックス */
.complete-message-box {
  max-width: 680px;
  margin: 40px auto;
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.complete-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  background-color: #e3f7f2;
  color: #2b5550;
  font-size: 32px;
  border-radius: 50%;
  margin: 0 auto 20px;
  font-weight: bold;
}

.complete-message-box h2 {
  font-size: 26px;
  color: #2b3a3a;
  margin-bottom: 20px;
}

.complete-message-box p {
  font-size: 15px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 30px;
}

.complete-message-box .note {
  display: block;
  font-size: 13px;
  color: #888888;
  margin-top: 10px;
}

/* スマホ表示（768px以下） */
@media screen and (max-width: 768px) {
  .section-contact-form-page {
    padding: 40px 0 60px;
  }
  .form-header .page-title {
    font-size: 28px;
  }
  .form-card-container {
    padding: 30px 20px;
  }
  .contact-or-group {
    padding: 20px 15px 5px;
  }
  .btn-submit {
    width: 100%;
  }
}