*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  padding-top: 70px;
  color: #111;
  background: #fff;
  line-height: 1.9;
  margin: 0;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top:-20px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -60%);
  z-index: 1;
}


.hero p {
  font-size: 1.4rem;
  color: #666;
}

/* コンテンツ */
.content {
  max-width: 760px;
  margin: 0 auto;
  margin-top:    0px;
  margin-right:  auto;
  margin-bottom: 6rem;
  margin-left:   0px;
  padding-top:    0px;
  padding-right:  1.5rem;
  padding-bottom: 6rem;
  padding-left:   1.5rem;
}
.content p {
  margin-bottom: 2rem;
}

.content ul {
  margin: 2rem 0 3rem 1.5rem;
}

.content li {
  margin-bottom: 0.8rem;
}

/* 見出し（■） */
.section-title {
  display: inline-block;   /* 幅を文字分だけにする */
  text-align: left;        /* 文字は左揃え */
  letter-spacing: -0.06em;
}
.section-title2 {
  display: inline-block;   /* 幅を文字分だけにする */
  text-align: left;        /* 文字は左揃え */
  letter-spacing: -0.04em;
}



.section-title-wrap2 {
  text-align: center;      /* h2自体を中央へ */
  margin: 3rem 0 4rem 0;
}

/* 強調ブロック 文章内強調用*/
.emphasis2 {
  font-size: 18px;
  font-weight: 600;
  margin: 3rem 0 6rem 0;
  line-height: 1.4;
}

.emphasis3 {
  font-size: 28px;
  font-weight: 700;         /* 太字 */
  color: #d60000;           /* 赤 */
  margin: 3rem 0 0 0;
  line-height: 1.4;
}

.text-blod{
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
}

.text-blod2{
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;       /* 太字 */
  color: #d60000;    
}



.section-title-wrap {
  text-align: center;      /* h2自体を中央へ */
}

/* 強調ブロック 見出し用*/
.emphasis {
  font-size: 36px;
  font-weight: 600;
  margin: 6rem 0 3rem 0;
  line-height: 1.4;
}

.emphasis-2 {
  font-size: 32px;
  font-weight: 600;
  margin: 5rem 0 5rem 0;
  line-height: 1.4;
}

.emphasis-3 {
  font-size: 20px;
  font-weight: 600;
  margin: 5rem 0 5rem 0;
  line-height: 1.4;
}
.emphasis-4 {
  font-size: 20px;
  font-weight: 600;
  margin: 5rem 0 5rem 0;
  line-height: 1.4;
  color: #dc143c;
}

/* テキストを前面に */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 1.5rem;

  /* ここは中央のまま */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
  font-weight: 500;
  line-height: 1.5;
  text-align: left;   /* ← 左づめ */
  width: 100%;        /* ← 左づめを効かせるために必須 */
  max-width: 720px;   /* ← 行幅を制御（Apple風） */
  
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.35),

    -2px -2px 0 rgba(0, 0, 0, 0.35),
     0   -2px 0 rgba(0, 0, 0, 0.35),
     2px -2px 0 rgba(0, 0, 0, 0.35),

    -2px  0   0 rgba(0, 0, 0, 0.35),
     2px  0   0 rgba(0, 0, 0, 0.35),

    -2px  2px 0 rgba(0, 0, 0, 0.35),
     0    2px 0 rgba(0, 0, 0, 0.35),
     2px  2px 0 rgba(0, 0, 0, 0.35);
}


.hero-content p {
  margin-top: 1rem;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  opacity: 0.9;
  color: #fff;
}
.hero-title {
  text-align: left;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;

}

/* 遅延時間 */
.delay-1 { animation-delay: 1.0s;}
.delay-2 { animation-delay: 2.0s;}
.delay-3 { animation-delay: 3.0s;}

.fw { font-weight: 600;}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 文字の可読性を上げたい場合 動画のグレーのオーバーレイ

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}*/

.center-text {
  max-width: 580px;     /* ← 800 → 680 に変更 */
  margin: 0 auto;
  text-align: left;
}

/* スペーサー */
.spacer {
  margin: 3rem 0;
}

/* フェードアップアニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-up.is-visible {
  opacity: 3;
  transform: translateY(0);
}


.header {
  position: fixed;
  top: 0;
  width: 105%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  margin-left: -8px;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.1rem 1.5rem 0.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding-right:60px;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #111;
  transition: opacity 0.3s ease;
}

.nav-list a:hover {
  opacity: 0.6;
}



/****** ハンバーガーボタン　******/

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;

  /* 追加 */
  z-index: 1100;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #111;
  transition: all 0.3s ease;
}



/****** フッター　******/

.footer {
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center; /* 中央揃え（不要なら消す） */
  gap: 8px;               /* ← ここを小さくする */
  flex-wrap: wrap;        /* スマホで折り返し */
  font-size:12px;
  padding-bottom: 10px;
}

.footer-links a {

  color: #696969;
  text-decoration: none;
}

.footer-links a:hover {
  color: #a9a9a9;
}



.footer-copy {
  font-size: 0.75rem;
  color: #888;
}




/****** TOPへ戻るボタン（右下フロート）******/

#backToTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

#backToTop.is-visible {
  opacity: 1;
  pointer-events: auto;
}



.full-bleed-image {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  height: 100vh;          /* 画面基準の高さ */
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.full-bleed-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;    /* ★ 全体を必ず表示 */
  display: block;
}
  .full-bleed-image {
    height: auto;        /* ★ 高さ固定を解除 */
    padding: 20px 0;     /* 必要なら少し余白だけ入れる */
  }

  .full-bleed-image img {
    width: 100%;
    height: auto;
  }


.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  appearance: none;          /* ブラウザ差異をなくす */
  -webkit-appearance: none;
}

.faq-title img {
  vertical-align: middle;
}

/******　スマホ表示（768px以下）必ず styles.css の一番下に置いてください*******/

@media (max-width: 768px) {

  /* ハンバーガー表示 */
  .nav-toggle {
    display: flex;
  }
  
  .contact-section {
    width: 100%;
  }
  
  /* メニュー初期状態：非表示 */
  .nav-list {
    position: absolute;
    top: 17px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-list li {
    border-bottom: 1px solid #eee;
  }

  .nav-list a {
    display: block;
    padding: 1rem 1.5rem;
  }

  /* 開いた状態 */
  .nav-list.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top:-40px;
}


  
}



/******トップへ戻るボタン*******/
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

#backToTop.is-visible {
  opacity: 1;
  pointer-events: auto;
}


/* 初期状態：透明・少し下から */
.fade-in-image img {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition:
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
}

.fade-in-image.is-visible img {
  opacity: 1;
  transform: translateY(0) scale(1);
}



/* =========================
   Contact Form
========================= */

.contact-section {
  width: 100%;
  padding: 80px 20px;
  background: #f7f7f7;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.contact-form {
  width: 100%;
}

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

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #333;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

.form-submit button {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.form-submit button:hover {
  opacity: 0.85;
}



.submit-btn {
  display: block;
  width: 80%;
  max-width: 360px;
  margin: 24px auto 0;
  background: #000;
  color: #fff;
  padding: 16px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

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

.submit-btn:active {
  transform: scale(0.98);
}

.form-degign {
  width: 90%;
  padding: 24px;
}
.form-group label {
  white-space: pre-wrap;
  word-break: break-word;
}
.font-w{
  font-weight:400;
}


/* =========================
   Responsive（スマホ）
========================= */
@media screen and (max-width: 768px) {
  .contact-section {
    padding: 60px 16px;
  }

  .contact-title {
    font-size: 22px;
  }
}


/* ======================
   FAQ 全体
====================== */
.faq-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  align-items: start; /* ← 基本は上揃え */
  margin-bottom: 10px;
}

/* ★質問だけ縦中央に */
.faq-row.question {
  display: flex;
  align-items: center; /* 縦中央 */
  padding-bottom:10px;
  line-height:10px;
  font-weight: 700; /* bold */
}


.faq-icon img {
  width: 40px;
  height: 40px;
}

.faq-text {
  line-height: 1.7;
}

/* 答えの段落余白 */
.answer .faq-text p {
  margin: 0 0 6px;
}


/* PC（デフォルト） */
.faq-question {
  display: flex;
  align-items: center;
}

/* スマホだけ修正 */
@media screen and (max-width: 768px) {
  .faq-q-text {
    align-items: flex-start;
  }

  .faq-q-text {
    margin-top: 4px;
  }

  .faq-q-text {
    line-height: 1.6;
  }
}


/* ===== 会社概要（table 不使用） ===== */

.company-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.company-label {
  font-weight: 600;
  color: #333;
}

.company-value {
  color: #555;
  line-height: 1.7;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .company-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .company-label {
    font-size: 13px;
    color: #777;
  }

  .company-value {
    font-size: 14px;
  }
}

p a {
  text-decoration: none;   /* 下線を消す */
    color: #0000cd;
}

p a:visited {
    color: #0000cd;
}

p a:hover,
p a:active {
  text-decoration: underline; /* 任意：ホバー時だけ下線 */
}



/******** テキスト装飾 ********/

.text-b{
	font-size: 16px;
	font-weight:600;
	}
	
.text-red{
	font-size: 16px;
	font-weight:600;
    color: #dc143c;
	}

a[data-color="accent"] {
  color: #dc143c;
}

a[data-color="accent"]:visited {
  color: #dc143c;
}




.concept-text{

  padding: 16px 0px;
}
.line0 {
  font-weight: 700;
  color: #0f172a;      /* 少し重みのある黒 */
  letter-spacing: 0.05em;
}

.line1 {
  font-weight: 500;
  color: #0f172a;      /* 少し重みのある黒 */
  letter-spacing: 0.05em;
}

.line2 {
  font-weight: 500;
  color: #00008b;
}

.line3 {
  font-weight: 500;
  color: #2e8b57;
}
