@charset "UTF-8";
/* CSS Document */
html {
  height: 100%;
  font-size: 62.5%;
}

body {
  font-family: "YakuHanJP", "Noto Sans JP", "游ゴシック Medium", 游ゴシック体, "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  width: 100%;
  height: 100%;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin: 0 auto;
  background: #fff;
}

.cut {
  overflow: hidden;
  zoom: 1;
}

.sentence p + p {
  margin-top: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

.ggmap {
  width: 100%;
  height: 350px;
}

input, select {
  vertical-align: middle;
  margin-bottom: 3px;
  margin-right: 5px;
}

.phone {
  display: none;
}

.pc {
  display: block;
}

.tcen {
  text-align: center;
}

@media screen and (max-width: 800px) {
  .tcen {
    text-align: left;
  }
  body {
    font-size: 13px;
    line-height: 1.5;
  }
  .phone {
    display: block;
  }
  .pc {
    display: none !important;
  }
}
#page-top {
  position: fixed;
  bottom: 65px;
  right: 5px;
  font-size: 12px;
  font-weight: bold;
  z-index: 9999;
}
#page-top a {
  color: #fff;
  font-size: 25px;
  text-decoration: none;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  display: block;
  border-radius: 45px;
  background: #0F4C81;
  box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 2px;
}
#page-top a:hover {
  opacity: 0.6;
  text-decoration: none;
}

.mtext1 {
  font-size: 2rem;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.mtext1.type1 {
  margin-bottom: 25px;
  text-align: center;
}
.mtext1.type1 br {
  display: none;
}

@media all and (max-width: 896px) {
  .mtext1 {
    font-size: 1.8rem;
  }
}
@media all and (max-width: 639px) {
  .mtext1 {
    font-size: 1.6rem;
    line-height: 1.6;
  }
  .mtext1.type1 {
    margin-bottom: 20px;
  }
  .mtext1.type1 br {
    display: block;
  }
}
.mtext2 {
  font-size: 2.4rem;
  line-height: 1.6;
}
.mtext2.type1 {
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
}

@media all and (max-width: 896px) {
  .mtext2 {
    font-size: 2.2rem;
  }
}
@media all and (max-width: 639px) {
  .mtext2 {
    font-size: 2rem;
  }
  .mtext2.type1 {
    margin-bottom: 25px;
  }
}
.mtext3 {
  font-size: 4rem;
  line-height: 1.6;
  text-align: center;
}

@media all and (max-width: 896px) {
  .mtext3 {
    font-size: 3rem;
  }
}
@media all and (max-width: 639px) {
  .mtext3 {
    font-size: 2.4rem;
  }
}
.loader {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-image: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28204/bg-main.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}
.loader.off {
  display: none;
}

@-webkit-keyframes loader {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loader {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/*画面遷移の後現れるコンテンツ設定*/
#page {
  opacity: 0; /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #page {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* ==========================================================================
   CSS VARIABLES & BASE RESET (変数設定と共通リセット)
   ========================================================================== */
:root {
  --primary-color: #0F4C81; /* メイン：青（誠実・信頼） */
  --secondary-color: #27AE60; /* ポイント：緑（安心・再生・優しさ） */
  --secondary-hover: #219653;
  --text-main: #2B2B2B; /* 読みやすいチャコール */
  --text-muted: #666666;
  --bg-light: #FBFBFC; /* 目に優しいソフトホワイト */
  --bg-white: #FFFFFF;
  --accent-light: #EBF3FA; /* 爽やかな水色バック */
  --border-color: #E0E0E0;
  --font-base: 'Noto Sans JP', sans-serif;
  --font-english: 'Montserrat', sans-serif;
  --shadow: 0 4px 20px rgba(15, 76, 129, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ==========================================================================
   LAYOUT COMMON UTILITIES (共通・骨組み設定)
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* セクションタイトル */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 10px;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-color);
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}
.section-title p {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ボタン共通システム */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--transition);
  /* 主要（グリーン）のボタン種別 */
}
.btn-primary {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}
.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}
.btn {
  /* 補助（枠線）のボタン種別 */
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-3px);
}

/* ==========================================================================
   HEADER (ヘッダー・ナビゲーション)
   ========================================================================== */
header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 上部バー：連絡先アナウンス */
.header-top {
  background-color: var(--accent-light);
  padding: 8px 0;
  font-size: 0.9rem;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.header-top .tel-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* メインヘッダー */
.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

/* 組織・ブランドロゴ表示枠 */
.logo a {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 1px;
}
.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* ナビゲーションメニュー構造 */
@media (max-width: 768px) {
  nav {
    display: none; /* スマホ時は初期非表示（JS制御） */
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  nav.open {
    display: block;
  }
}
nav ul {
  display: flex;
  gap: 25px;
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
}
nav a {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 10px 5px;
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}
nav a.active {
  color: var(--primary-color);
}
nav a.active::after, nav a:hover::after {
  width: 100%;
}

/* スマホ用ハンバーガーメニューボタン */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* ==========================================================================
   PAGES CONTAINER (JS切り替え・SPAセクション定義)
   ========================================================================== */
.page-content {
  display: none;
}
.page-content.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
   1. TOP PAGE (トップページ専用コンポーネント群)
   ========================================================================== */
/* ヒーローメインビジュアル */
.hero {
  position: relative;
  background: linear-gradient(135deg, #EBF3FA 0%, #FFFFFF 100%);
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--primary-color);
  margin-bottom: 24px;
}
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
}
.hero-text h1 span {
  color: var(--secondary-color);
}
.hero-text p {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 992px) {
  .hero-image {
    order: -1;
  }
}
.hero-image svg {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 10px 25px rgba(15, 76, 129, 0.15));
}

/* クイックCVコンバージョンバナー帯 */
.quick-cv {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 40px 0;
  text-align: center;
}
.quick-cv .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.quick-cv-text {
  text-align: left;
}
.quick-cv-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 5px;
}
.quick-cv-text p {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* お困りごと共感セクション */
.trouble {
  background-color: var(--bg-white);
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 992px) {
  .trouble-grid {
    grid-template-columns: 1fr;
  }
}

.trouble-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 30px 24px;
  background-color: var(--bg-light);
  border: 2px solid transparent;
  border-radius: 16px;
  transition: var(--transition);
}
.trouble-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.trouble-card-icon {
  color: #EB5757;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}
.trouble-card-text {
  font-size: 1.1rem;
  font-weight: 700;
}

/* 啓発メッセージブロック */
.enlighten {
  position: relative;
  background-color: var(--accent-light);
}

.enlighten-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 50px;
  background-color: var(--bg-white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
@media (max-width: 992px) {
  .enlighten-box {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

.enlighten-content h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.enlighten-content p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.enlighten-content strong {
  color: var(--secondary-color);
  font-weight: 700;
}

@media (max-width: 992px) {
  .enlighten-image {
    order: -1;
    text-align: center;
  }
}
.enlighten-image svg {
  width: 100%;
  max-width: 350px;
}

/* サポートステップタイムライン (01 - 05) */
.support {
  background-color: var(--bg-white);
}

.support-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 50px;
}

.support-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 40px;
  background-color: var(--bg-light);
  border-radius: 20px;
  position: relative;
  transition: var(--transition);
}
@media (max-width: 768px) {
  .support-step {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 24px;
  }
}
.support-step:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow);
}

.step-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  height: 110px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: 16px;
}
@media (max-width: 768px) {
  .step-number {
    height: auto;
    padding: 10px;
    flex-direction: row;
    gap: 10px;
  }
}

.step-num-large {
  font-family: var(--font-english);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.step-num-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.step-detail h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
}
.step-detail p {
  font-size: 1.3rem;
  color: var(--text-main);
}

/* 下層導線マルチカードリンク（事例・Q&A） */
.links-section {
  background-color: var(--bg-light);
  padding: 60px 0;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}

.link-card {
  padding: 40px;
  background-color: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.12);
}
.link-card h3 {
  margin-bottom: 15px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
}
.link-card p {
  margin-bottom: 25px;
  font-size: 1.3rem;
  color: var(--text-muted);
}

.link-card-icon {
  margin-bottom: 20px;
}
.link-card-icon svg {
  width: 70px;
  height: 70px;
}

/* トピックス・お知らせボード */
.topics {
  background-color: var(--bg-white);
}

.topics-box {
  padding: 30px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.topic-item {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}
.topic-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.topic-date {
  font-family: var(--font-english);
  font-weight: 700;
  color: var(--text-muted);
  min-width: 110px;
}

.topic-tag {
  height: fit-content;
  padding: 2px 10px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
}

.topic-title {
  font-weight: 700;
}

/* 対応地域情報 */
.area {
  background-color: var(--accent-light);
}

.area-content {
  padding: 40px;
  background-color: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.area-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-color);
}

.area-text {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.area-accent-box {
  padding: 20px;
  background-color: var(--accent-light);
  border-left: 5px solid var(--secondary-color);
  border-radius: 12px;
  font-weight: 700;
  color: var(--primary-color);
}

/* ==========================================================================
   2. CASES PAGE (実績・事例紹介コンポーネント)
   ========================================================================== */
/* 事例ページ固有の導入リードブロック */
.cases-lead {
  max-width: 850px;
  margin: -10px auto 50px;
  padding: 40px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.cases-lead h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-color);
}
.cases-lead p {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.8;
}
.cases-lead {
  /* リード文下部の補足・注意書き注記 */
}
.cases-lead .note {
  display: inline-block;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
}

/* 事例カードを並べる並列グリッド */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
@media (max-width: 992px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* 個別実績・事例カード構造 */
.case-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  /* カード上部：アイキャッチ写真・SVGプレースホルダー領域 */
}
.case-card .case-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  background-color: var(--accent-light);
}
.case-card .case-img-placeholder svg {
  width: 150px;
  height: 150px;
  opacity: 0.7;
}
.case-card {
  /* カード下部：テキストコンテンツ解説モジュール */
}
.case-card .case-body {
  padding: 30px;
}
.case-card .case-body h3 {
  margin-bottom: 15px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-color);
}
.case-card {
  /* タグや地域名のメタ情報並列レイアウト */
}
.case-card .case-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.case-card {
  /* グリーンラベルバッジ */
}
.case-card .case-tag {
  padding: 2px 10px;
  background-color: var(--secondary-color);
  color: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
}
.case-card {
  /* 担当地域テキスト */
}
.case-card .case-region {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}
.case-card {
  /* 課題・状況の説明文 */
}
.case-card .case-desc {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: var(--text-main);
}
.case-card {
  /* 解決結果・成果のハイライトボックス */
}
.case-card .case-result {
  padding: 15px;
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  border-radius: 10px;
}
.case-card .case-result p {
  font-size: 0.95rem;
  font-weight: 700;
}
.case-card .case-result span {
  color: #EB5757;
  font-size: 1.1rem;
  font-weight: 900;
}
.case-card {
  /* 🔄 新規追加：相談・サポートの2層構造深掘りエリア */
}
.case-card .case-detail-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}
.case-card {
  /* 相談内容／サポート内容の各ブロック */
}
.case-card .case-detail-block {
  margin-bottom: 15px;
}
.case-card .case-detail-block:last-child {
  margin-bottom: 0;
}
.case-card {
  /* 水色背景のミニ見出しラベルチップ */
}
.case-card .case-detail-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 10px;
  background-color: var(--accent-light);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--primary-color);
}
.case-card {
  /* 深掘り解説の本文 */
}
.case-card .case-detail-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
}

/* ==========================================================================
   3. Q&A PAGE (よくある質問アコーディオンシステム)
   ========================================================================== */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 40px auto 0;
}

.qa-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.qa-item.open .qa-question::after {
  content: "ー";
  transform: rotate(180deg);
}

.qa-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-color);
  cursor: pointer;
  user-select: none;
}
.qa-question::after {
  content: "＋";
  font-size: 1.3rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  background-color: var(--bg-light);
  transition: max-height 0.3s ease-out;
}
.qa-answer-inner {
  padding: 24px 30px;
  font-size: 1.3rem;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   4. COMPANY PAGE (会社情報・コーポレートセクション群)
   ========================================================================== */
/* 会社情報ブロック共通カード外箱 */
.company-section {
  padding: 50px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .company-section {
    padding: 24px;
  }
}
.company-section:last-child {
  margin-bottom: 0;
}
.company-section {
  /* セクション内ブロックタイトル（左側にポイントの緑細線） */
}
.company-section h3 {
  padding-left: 15px;
  margin-bottom: 24px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-color);
  border-left: 6px solid var(--secondary-color);
  line-height: 1.3;
}

/* 理念・代表メッセージの特別2カラムレイアウト */
.philosophy-box {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 992px) {
  .philosophy-box {
    grid-template-columns: 1fr;
  }
}

.philosophy-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.philosophy-visual svg {
  display: block;
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
}

/* 代表挨拶メッセージのテキスト制御 */
.greeting-box {
  font-size: 1.05rem;
  line-height: 1.9;
}
.greeting-box p {
  margin-bottom: 18px;
}
.greeting-box p:last-of-type {
  margin-bottom: 30px;
}

/* 右寄せのサイン・署名エリア */
.signature {
  text-align: right;
  border-top: 1px dashed var(--border-color);
  padding-top: 20px;
}
.signature span {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.signature strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-color);
}

/* 会社概要データテーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--border-color);
}
.company-table tr:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .company-table tr {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
  }
}
.company-table th, .company-table td {
  padding: 20px 10px;
  font-size: 1.05rem;
}
@media (max-width: 768px) {
  .company-table th, .company-table td {
    width: 100% !important;
    padding: 5px 0;
  }
}
.company-table {
  /* 左側：項目タイトル見出し */
}
.company-table th {
  width: 25%;
  font-weight: 900;
  color: var(--primary-color);
  text-align: left;
  vertical-align: top;
}
@media (max-width: 768px) {
  .company-table th {
    border-bottom: none;
  }
}

/* Google Map 埋め込みコンテナ外枠 */
.map-container {
  margin-top: 30px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Google Map 用のSVG代替プレースホルダー（読み込み前・モック用） */
.map-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.map-placeholder svg {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  opacity: 0.8;
}
.map-placeholder span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}
.map-placeholder p {
  margin-top: 5px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5. CONTACT PAGE & TIMELINE (お問い合わせページ・ご相談の流れ)
   ========================================================================== */
/* ご相談の流れ：外箱タイムラインボード */
.consult-flow {
  padding: 60px 40px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .consult-flow {
    padding: 40px 20px;
  }
}
.consult-flow h3 {
  margin-bottom: 40px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-color);
  text-align: center;
}

/* タイムラインを包む垂直スタック */
.flow-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* タイムラインの個別ステップ行 */
.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  padding-bottom: 40px;
}
@media (max-width: 768px) {
  .flow-item {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 50px;
    text-align: center;
  }
}
.flow-item {
  /* 縦を結合する上品なセンターライン (PC用) */
}
.flow-item::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 70px;
  width: 2px;
  height: calc(100% - 10px);
  background-color: var(--accent-light);
  z-index: 1;
}
@media (max-width: 768px) {
  .flow-item::before {
    display: none;
  }
}
.flow-item:last-child {
  padding-bottom: 0;
}
.flow-item:last-child::before {
  display: none;
}

/* ステップ番号用の高質感ラウンドバッジ */
.flow-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background-color: var(--accent-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .flow-badge {
    max-width: 140px;
    margin: 0 auto;
  }
}

/* 各ステップの具体的な内容カード */
.flow-detail {
  padding: 24px 30px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}
@media (max-width: 768px) {
  .flow-detail {
    padding: 20px;
    text-align: left;
  }
}
.flow-detail h4 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-color);
}
.flow-detail p {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-main);
}
.flow-detail p:last-child {
  margin-bottom: 0;
}
.flow-detail {
  /* カード内部：チェックポイント・持ち物などのサブ箇条書き */
}
.flow-detail .flow-sub-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.flow-detail .flow-sub-list li {
  position: relative;
  padding-left: 15px;
}
.flow-detail .flow-sub-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  font-weight: 900;
  color: var(--secondary-color);
}

/* タイムラインを繋ぐ下向き矢印マーク (モバイル環境時にだけ自動で出現) */
.flow-arrow-down {
  display: none;
}
@media (max-width: 768px) {
  .flow-arrow-down {
    display: block;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 2;
  }
}

/* 独立コンポーネント：個人情報保護方針（規約枠） */
.privacy-policy {
  margin-top: 40px;
  margin-bottom: 30px;
}
.privacy-policy h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary-color);
}

/* 規約表示用のインライン縦スクロールボックス */
.privacy-box {
  height: 180px;
  padding: 20px;
  overflow-y: scroll;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.privacy-box p {
  margin-bottom: 12px;
}
.privacy-box p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   CONTACT FORM SKIN (お問い合わせ入力フォームスキン)
   ========================================================================== */
.contact-container {
  margin: 40px auto 0;
  padding: 50px;
  background-color: var(--bg-white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .contact-container {
    padding: 24px;
  }
}

.contact-intro {
  text-align: center;
  margin-bottom: 40px;
}
.contact-intro h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-color);
}
.contact-intro p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  /* 「必須」項目用の赤色バッジ */
}
.form-label span {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  background-color: #EB5757;
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: normal;
  border-radius: 4px;
  vertical-align: middle;
}
.form-label {
  /* 「任意」項目の場合のバッジカラー上書き */
}
.form-label .optional {
  background-color: var(--text-muted);
}

/* 統合入力コントロールスキン (input / select / textarea 共通仕様) */
.form-control {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-base);
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--bg-white);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* 同意チェックボックス中央寄せ */
.form-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  font-weight: 700;
}
.form-check input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.form-submit {
  text-align: center;
}
.form-submit button {
  width: 100%;
  max-width: 320px;
}

/* デモ送信完了時のポップアップメッセージ表示域 */
.success-message {
  display: none;
  margin-top: 20px;
  padding: 40px;
  background-color: var(--accent-light);
  border: 2px dashed var(--secondary-color);
  border-radius: 16px;
  text-align: center;
}
.success-message h4 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--secondary-color);
}

/* ==========================================================================
   COMMON FOOTER CTA (下部共通：お問い合わせ・電話誘致エリア)
   ========================================================================== */
.footer-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #072F52 100%);
  color: var(--bg-white);
  padding: 80px 0;
  text-align: center;
}
.footer-cta h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 900;
}
.footer-cta p {
  margin-bottom: 40px;
  font-size: 1.15rem;
  opacity: 0.9;
}

/* 電話番号タップボックス */
.cta-tel-box {
  display: inline-block;
  margin-bottom: 40px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}
.cta-tel-box span {
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-weight: 700;
}
.cta-tel-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-english);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bg-white);
}
@media (max-width: 768px) {
  .cta-tel-box a {
    font-size: 1.8rem;
  }
}

.cta-info {
  margin-top: 15px;
  font-size: 1rem;
  opacity: 0.8;
}

/* ==========================================================================
   COMMON FOOTER CTA (下部共通：お問い合わせ誘致エリア)
   ========================================================================== */
.footer-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #072F52 100%);
  color: var(--bg-white);
  padding: 80px 0;
  text-align: center;
}
.footer-cta h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 900;
}
.footer-cta p {
  margin-bottom: 40px;
  font-size: 1.15rem;
  opacity: 0.9;
}

/* 特大電話番号タッチボックス */
.cta-tel-box {
  display: inline-block;
  margin-bottom: 40px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}
.cta-tel-box span {
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-weight: 700;
}
.cta-tel-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-english);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bg-white);
}
@media (max-width: 768px) {
  .cta-tel-box a {
    font-size: 1.8rem;
  }
}

.cta-info {
  margin-top: 15px;
  font-size: 1rem;
  opacity: 0.8;
}

/* ==========================================================================
   FOOTER (最下部共通フッター・コピーライト)
   ========================================================================== */
footer {
  background-color: #1A1A1A;
  color: var(--bg-white);
  padding: 60px 0 30px;
}
footer .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  footer .container {
    grid-template-columns: 1fr;
  }
}

.footer-brand h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 900;
}
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.7;
}

/* 縦並びのフッターナビメニュー */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-weight: 700;
  opacity: 0.8;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #333333;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ==========================================================================
   FLOATING CTA (画面最前列・追従モバイルコンバージョンボタン)
   ========================================================================== */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (max-width: 768px) {
  .floating-cta {
    bottom: 0;
    right: 0;
    width: 100%;
    flex-direction: row;
    gap: 0;
  }
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  color: var(--bg-white);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .float-btn {
    flex: 1;
    border-radius: 0;
    justify-content: center;
    padding: 15px 10px;
    font-size: 0.9rem;
  }
}
.float-btn:hover {
  transform: translateY(-5px);
}

.float-tel {
  background-color: var(--primary-color);
}

.float-web {
  background-color: var(--secondary-color);
}

/*新メールフォーム*/
.form {
  margin: 10px 0 10px;
}
.form dt span {
  color: #fff;
  background: #FF4F4F;
  padding: 0 5px 0;
  margin-right: 5px;
  font-size: 11px;
  border-radius: 2px;
  position: relative;
  top: -2px;
}
.form dt strong {
  color: #fff;
  background: #999;
  padding: 0 5px 0;
  margin-right: 5px;
  font-size: 11px;
  border-radius: 2px;
  position: relative;
  top: -2px;
}
.form dt .optional::before {
  content: "任意";
  color: #fff;
  background: #999;
}
.form dl {
  margin: 10px 0;
  font-size: 16px;
}
.form dt {
  float: left;
  width: 280px;
  padding-top: 20px;
}
.form dd {
  padding-left: 280px;
  padding-bottom: 20px;
  padding-top: 23px;
  line-height: 1.5;
  border-bottom: 1px solid #eee;
}
.form dd p {
  font-size: 14px;
  padding-top: 5px;
  color: #888;
}
.form dd:last-child {
  border-bottom: 0px;
  margin-bottom: 0px;
}

.dropdown {
  border-radius: 2px;
  border: 1px solid #ddd;
}

.textarea, .textarea2 {
  width: 95%;
  border-radius: 2px;
  border: 1px solid #ddd;
  padding: 5px;
}

.form-button {
  padding: 5px;
  border-radius: 5px;
  text-align: center;
  margin: 10px 0;
}

#mailform button {
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  display: block;
  margin: 0 auto 5px;
  padding: 10px 0 10px;
  color: #fff;
  text-align: center;
  width: 250px;
  border-radius: 5px;
  background: #0F4C81;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #0F4C81;
}
#mailform button:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0e0";
  margin-right: 6px;
}
#mailform button:hover {
  background: #fff;
  color: #0F4C81;
}
#mailform button * {
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.form-button * {
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

/*RadioとText*/
label {
  display: block;
}
label.radio_text {
  cursor: pointer;
  position: relative;
  margin-right: 20px;
  overflow: hidden;
  padding-left: 20px;
  display: inline-block;
}
label.radio_text:before {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #ccc;
  border-radius: 50%;
  left: 0px;
  top: 2px;
  content: "";
  z-index: 3;
}
label.radio_text:after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 100%;
  left: 2px;
  top: 4px;
  background-color: #0F4C81;
  z-index: 1;
}
label.radio_text input[type=radio] {
  -moz-appearance: none;
  -webkit-appearance: none;
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  left: -15px;
  top: 2px;
  margin: 0px;
  box-shadow: 15px -1px #fff;
  border-radius: 50%;
}
label.radio_text input[type=radio]:checked {
  box-shadow: none;
}
label.radio_text input[type=radio]:focus {
  opacity: 0.2;
  box-shadow: 15px -1px #FFF;
}
label.checkbox_text {
  cursor: pointer;
  position: relative;
  padding-left: 25px;
  margin-right: 20px;
  overflow: hidden;
  display: inline-block;
  box-sizing: border-box;
}
label.checkbox_text:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 0px;
  top: 0;
  border: 1px solid #ccc;
  z-index: 3;
}
label.checkbox_text:after {
  content: "";
  position: absolute;
  top: 40%;
  left: 5px;
  display: block;
  margin-top: -9px;
  width: 8px;
  height: 12px;
  border-right: 3px solid #0F4C81;
  border-bottom: 3px solid #0F4C81;
  transform: rotate(45deg);
  z-index: 1;
}
label.checkbox_text input[type=checkbox] {
  -moz-appearance: none;
  -webkit-appearance: none;
  position: absolute;
  left: -40px;
  width: 20px;
  height: 20px;
  display: block;
  box-shadow: 41px 0px #FFF;
  z-index: 2;
  margin: 0px;
  padding: 0px;
}
label.checkbox_text input[type=checkbox]:checked {
  box-shadow: none;
}
label.checkbox_text input[type=checkbox]:checked:focus {
  box-shadow: 40px 0px #666;
  opacity: 0.1;
}
label.checkbox_text input[type=checkbox]:focus {
  box-shadow: 41px 0px #EEE;
}

/*CheckBoxとText */
.fm-text {
  padding: 10px;
  font-size: 11px;
  margin: 10px 0;
}

@media all and (max-width: 890px) {
  .form dl {
    margin: 10px 0;
  }
  .form dt {
    float: none;
    width: 100%;
    line-height: 20px;
    padding-top: 10px;
  }
  .form dd {
    width: 100%;
    padding-left: 0;
    padding-bottom: 10px;
    padding-top: 10px;
    line-height: 20px;
    border-bottom: 1px solid #eee;
  }
  .form dd:last-child {
    border-bottom: 0px;
    margin-bottom: 0px;
  }
}
@media (max-width: 1024px) {
  .form-contents :not(.pattern-exclusion) button {
    width: 100% !important;
  }
}
/* /新メールフォーム */
.blog-box {
  margin-bottom: 50px;
}
.blog-box img {
  max-width: 100%;
  height: auto;
}

.page_next {
  float: right;
}

.page_prev {
  float: left;
}

.mtitle_box {
  background: rgba(23, 125, 23, 0.1);
  border-radius: 10px;
  color: #343338;
  font-size: 2rem;
  position: relative;
  padding: 10px 10px;
  margin-bottom: 20px;
  font-weight: 700;
}
.mtitle_box span {
  font-weight: normal;
  font-size: 14px;
  padding-left: 10px;
}

@media all and (max-width: 639px) {
  .mtitle_box {
    font-size: 1.8rem;
  }
}
.newsl2 dt {
  font-size: 120%;
  padding-top: 10px;
  line-height: 1.3;
  color: #0F4C81;
  font-weight: bold;
}
.newsl2 dd {
  padding-bottom: 5px;
  padding-top: 10px;
  margin-bottom: 15px;
  line-height: 1.6;
  border-bottom: dotted 1px #b6ae83;
}
.newsl2 dd b {
  color: #594C39;
}/*# sourceMappingURL=basis.css.map */