@charset "UTF-8";

/* ==========================================================================
   下層ページ メインビジュアル（ヘッダー下バナー）
   ========================================================================== */
.sub-mv {
  margin-top: 80px;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.sub-mv-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 768px) {
  .sub-mv {
    margin-top: 60px;
    height: 180px;
  }
}

/* ==========================================================================
   下層ページ ヘッダータイトル ＆ 区切り線
   ========================================================================== */
.sub-page-header {
  margin-bottom: 6rem;
}

.sub-page-header .header-line {
  width: 80px;
  height: 3px;
  background-color: #555555;
  margin: 2rem auto 0;
}

@media screen and (max-width: 768px) {
  .sub-page-header {
    margin-bottom: 4rem;
  }
}

/* ==========================================================================
   ★お問い合わせ扉ページ専用スタイル
   ========================================================================== */
/* 案内リード文 */
.portal-lead {
  font-size: 1.5rem;
  line-height: 2.0;
  color: #444444;
  max-width: 800px;
  margin: 0 auto 5rem;
  font-weight: 500;
}

/* 3連ボタン グリッド／フレックス配置 */
.portal-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 8rem;
}

/* ボタン個別のスタイリング */
.btn-portal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 320px;
  max-width: 100%;
  padding: 1.8rem 2.5rem;
  background-color: #222222;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.btn-portal:hover {
  background-color: #00B7CE; /* サイトアクセントのブルーへ変化 */
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 183, 206, 0.25);
  opacity: 1;
}

.btn-portal .arrow {
  font-family: monospace, sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
}

/* デザイン画像に合わせた中央の黒い区切り線（コンテナ幅よりやや狭く配置） */
.portal-divider {
  width: 650px;
  max-width: 90%;
  margin: 0 auto;
  border: none;
  border-top: 2px solid #222222;
}

/* スマホ閲覧時のレスポンシブ最適化 */
@media screen and (max-width: 768px) {
  .portal-lead {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    text-align: left;
  }
  .portal-buttons {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 5rem;
  }
  .btn-portal {
    width: 100%;
    max-width: 340px;
    padding: 1.6rem 2rem;
  }
  .portal-divider {
    width: 100%;
  }
}

/* ==========================================================================
   下層ページ共通：導線アイコン一覧（6連ナビゲーション）
   ========================================================================== */
.sub-nav-icons {
  padding: 8rem 0 6rem;
  background-color: #ffffff;
}

.nav-icons-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  text-align: center;
}

.nav-icons-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border-radius: 6px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.nav-icons-list li a:hover {
  transform: translateY(-4px);
  background-color: #f9f9f9;
  opacity: 1;
}

.nav-icons-list .icon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-bottom: 1.2rem;
}
.nav-icons-list .icon-img img {
  max-height: 40px;
  width: auto;
}

.nav-icons-list .icon-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222222;
  line-height: 1.3;
}

@media screen and (max-width: 1024px) {
  .nav-icons-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .sub-nav-icons {
    padding: 5rem 0 5rem;
  }
  .nav-icons-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .nav-icons-list li a {
    padding: 1.2rem 0.5rem;
    border: 1px solid #eeeeee;
    background-color: #fafafa;
  }
  .nav-icons-list .icon-img {
    height: 40px;
    margin-bottom: 0.8rem;
  }
  .nav-icons-list .icon-img img {
    max-height: 32px;
  }
  .nav-icons-list .icon-text {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   CONTACT（お問い合わせエリア）
   ========================================================================== */
.contact {
  background-color: #00B7CE;
  color: #ffffff;
}

.contact-title {
  font-size: 5.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.contact-sub {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact-text {
  font-size: 1.5rem;
  margin-bottom: 4rem;
  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 260px;
  padding: 1.6rem 2rem;
  background-color: #222222;
  color: #ffffff;
  font-size: 1.5rem;
  border-radius: 4px;
}
.btn-contact:hover {
  background-color: #444444;
}

@media screen and (max-width: 768px) {
  .contact-title { font-size: 3.6rem; }
  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .btn-contact {
    width: 100%;
    max-width: 320px;
  }
}

/* ==========================================================================
   LINEでお問い合わせページ専用スタイル
   ========================================================================== */
.line-content-wrap {
  max-width: 800px;
  margin: 0 auto 6rem;
  padding: 5rem 3rem;
  background-color: #fcfcfc;
  border: 1px solid #eeeeee;
  border-radius: 8px;
}

.line-lead {
  font-size: 1.6rem;
  line-height: 2.0;
  color: #333333;
  margin-bottom: 4rem;
  font-weight: 500;
}

/* ★黒いボタンのデザインに変更 */
.btn-line-add {
  display: inline-flex;
  justify-content: space-between; /* テキストと矢印を両端に配置 */
  align-items: center;
  width: 320px;
  max-width: 100%;
  padding: 1.6rem 2.4rem;
  background-color: #222222;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.btn-line-add:hover {
  background-color: #444444;
  color: #ffffff;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .line-content-wrap {
    padding: 4rem 2rem;
    margin-bottom: 4rem;
  }
  .line-lead {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    text-align: left;
  }
  .btn-line-add {
    width: 100%;
    max-width: 340px;
  }
}