@charset "UTF-8";
/**
 * コンパクト化（2026-11）
 * 既存デザインはそのままに、余白・高さを詰めてスクロール量を減らす。
 * style.css / common.css の後に読み込む（上書き専用）。
 */

/* ---------- FV（メインビジュアル）：高さを抑え、右側にニュース ---------- */
section.main-visual,
section.main-visual-en,
.main-visual_container,
.main-visual_container-en {
  height: 600px;
}

h1.main-catch,
h1.main-catch-en {
  font-size: 44px;
  margin-bottom: 28px;
}

p.sub-cacth,
p.sub-cacth-en {
  margin-top: 28px;
  font-size: 20px;
}

.mv-btn {
  margin-top: 28px;
}

.mv-news {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: 380px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.mv-news_head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: solid 2px #284C99;
}

p.mv-news_title {
  font-size: 18px;
  font-weight: bold;
  color: #284C99;
}

a.mv-news_more {
  font-size: 13px;
  font-weight: bold;
  color: #284C99;
}

.mv-news li.news-list {
  margin-bottom: 0;
  padding: 12px 0;
  border-bottom: solid 1px #dcdcdc;
}

.mv-news li.news-list:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mv-news .news-title {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mv-news a:hover .news-title {
  color: #284C99;
  text-decoration: underline;
}

/* ---------- About：見出し＋説明文（左）とロゴ（右）の2列 ---------- */
.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
}

.about-row_text {
  flex: 1 1 0;
  text-align: left;
}

.about-row .sec-main_title {
  text-align: left;
}

.about-row p.centrair-message,
.about-row p.centrair-message-en {
  margin-top: 20px;
  line-height: 1.9;
}

.about-row_logo {
  flex: 0 0 340px;
}

.about-row .about-centrair_logo {
  max-width: 300px;
}

.about-row p.centrair-text,
.about-row p.centrair-text-en {
  margin-top: 8px;
  color: #999;
}

/* ---------- セクション間の余白 ---------- */
section.about-sec {
  margin-top: 56px;
}

p.centrair-message,
p.centrair-message-en {
  margin-top: 20px;
}

section.information-sec {
  margin-top: 72px;
}

ul.info-list_area {
  margin-top: 32px;
}

section.service-sec {
  margin-top: 72px;
}

p.sec-top_message,
p.sec-top_message-en {
  margin-top: 20px;
  margin-bottom: 32px;
}

/* ---------- 事業内容：各ブロックを薄く ---------- */
.service-list_area {
  padding: 44px 0;
}

.service-list_container {
  gap: 48px;
}

.service-list_img,
.service-list_img-en,
.service-list_img img,
.service-list_img-en img {
  height: 240px;
}

h3.service-title_head,
h3.service-title_head-en {
  margin-top: 8px;
}

p.service-text,
p.service-text-en {
  margin-top: 18px;
}

.service-btn {
  margin-top: 20px;
}

/* ---------- サービスブランド ---------- */
section.brand-sec {
  margin-top: 72px;
}

ul.brand-list_area {
  margin-top: 0;
}

/* ---------- お問い合わせ・フッター ---------- */
section.contact-sec {
  padding: 48px 56px;
  margin-top: 56px;
}

.contact-form {
  margin-top: 32px;
}

#footer {
  margin-top: 72px;
  padding: 56px 0 24px;
}

/* ---------- タブレット：ニュースを少し細く ---------- */
@media screen and (max-width: 1180px) {
  .mv-news {
    width: 320px;
    padding: 18px 20px;
  }
  h1.main-catch,
  h1.main-catch-en {
    font-size: 38px;
  }
}

/* ---------- スマホ：ニュースはキャッチの下に流す ---------- */
@media screen and (max-width: 780px) {
  section.main-visual,
  section.main-visual-en,
  .main-visual_container,
  .main-visual_container-en {
    height: auto;
  }
  .main-visual_container,
  .main-visual_container-en {
    padding: 90px 0 28px;
  }
  .main-catch_area,
  .main-catch_area-en {
    position: static;
    transform: none;
  }
  h1.main-catch,
  h1.main-catch-en {
    font-size: 32px;
  }
  p.sub-cacth,
  p.sub-cacth-en {
    font-size: 16px;
    width: auto;
  }
  .mv-news {
    position: static;
    transform: none;
    width: auto;
    margin-top: 28px;
    padding: 16px 18px;
  }
  .scroll-area {
    display: none;
  }
  .about-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .about-row_logo {
    flex-basis: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
  }
  .about-row .about-centrair_logo {
    flex: 0 0 140px;
    margin: 0;
  }
  .about-row p.centrair-text,
  .about-row p.centrair-text-en {
    margin-top: 0;
  }
  p.service-text,
  p.service-text-en {
    text-align: left;
  }
  section.about-sec {
    margin-top: 40px;
  }
  section.information-sec,
  section.service-sec,
  section.brand-sec {
    margin-top: 48px;
  }
  .service-list_area {
    padding: 32px 0;
  }
  .service-list_container {
    gap: 20px;
  }
  .service-list_img,
  .service-list_img-en,
  .service-list_img img,
  .service-list_img-en img {
    height: 200px;
  }
  section.contact-sec {
    padding: 32px 20px;
  }
  #footer {
    margin-top: 48px;
  }
}

/* =====================================================================
 * 見出しの左揃え統一・ブランド一覧・文字サイズ（2026-11 追加）
 * ===================================================================== */

/* About も他のセクションと同じ左端（contents-wrap）にそろえる */
.about-row {
  max-width: none;
}

/* セクション見出し：左にタイトル、右に説明文 */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 28px;
  text-align: left;
}

.sec-head .sec-main_title {
  text-align: left;
  margin-bottom: 0;
}

.sec-head p.sec-top_message,
.sec-head p.sec-top_message-en {
  max-width: 560px;
  margin: 0;
  text-align: left;
  line-height: 1.8;
}

.information-sec .sec-head {
  margin-bottom: 0;
}

/* サービスブランド：3列のグリッド、左揃え */
ul.brand-list_area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}

li.brand-list,
li.brand-list-en {
  width: auto;
  height: auto;
  margin: 0;
  text-align: left;
}

.brand-img,
.brand-img-en {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 320 / 170;
  overflow: hidden;
  border-radius: 8px;
}

.brand-img img,
.brand-img img.img-brand,
.img-brand-en {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.brand-list a:hover .brand-img img {
  transform: scale(1.04);
}

h3.brand-title,
h3.brand-title-en {
  margin-top: 12px;
}

p.brand-text,
p.brand-text-en {
  margin-top: 4px;
}

/* ---------- 文字サイズを一段小さく ---------- */
p.sec-title_en {
  font-size: 14px;
}

h2.sec-title_jp,
h2.sec-title_jp-en {
  font-size: 22px;
  margin-top: 6px;
}

p.sec-top_message,
p.sec-top_message-en,
p.centrair-message,
p.centrair-message-en {
  font-size: 14px;
}

h1.main-catch,
h1.main-catch-en {
  font-size: 40px;
}

p.sub-cacth,
p.sub-cacth-en {
  font-size: 18px;
}

span.service-number,
span.service-number-en {
  font-size: 20px;
}

h3.service-title_head,
h3.service-title_head-en {
  font-size: 20px;
}

p.service-text,
p.service-text-en {
  font-size: 14px;
  line-height: 1.8;
}

h3.brand-title,
h3.brand-title-en {
  font-size: 16px;
}

p.brand-text,
p.brand-text-en {
  font-size: 13px;
  line-height: 1.7;
}

.info-title,
.info-title-en {
  font-size: 15px;
}

.readmore-btn a,
.readmore-btn-en a {
  font-size: 14px;
}

.contact-head,
input[type=submit] {
  font-size: 14px;
}

li.footer-link_head {
  font-size: 16px;
}

li.footer-link_text {
  font-size: 13px;
}

@media screen and (max-width: 1180px) {
  h1.main-catch,
  h1.main-catch-en {
    font-size: 36px;
  }
}

@media screen and (max-width: 780px) {
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  ul.brand-list_area {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }
  h3.brand-title,
  h3.brand-title-en {
    font-size: 14px;
  }
  p.brand-text,
  p.brand-text-en {
    font-size: 12px;
  }
  h1.main-catch,
  h1.main-catch-en {
    font-size: 30px;
  }
  h2.sec-title_jp,
  h2.sec-title_jp-en {
    font-size: 20px;
  }
}

/* 新着記事：スライダーをやめて3件のカード並び */
ul.info-list_area.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.info-grid li.info-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: solid 1px #e2e2e2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.info-grid .info-img,
.info-grid .info-img img {
  width: 100%;
  height: 180px;
}

.info-grid .info-img img {
  object-fit: cover;
  transition: transform 0.3s;
}

.info-grid li.info-list:hover .info-img img {
  transform: scale(1.04);
}

.info-grid .info-img {
  overflow: hidden;
}

.info-grid .info-text_area {
  width: auto;
  height: auto;
  padding: 16px 18px 20px;
  border: none;
}

.info-grid .info-title,
.info-grid .info-title-en {
  margin-top: 6px;
  line-height: 1.6;
}

.info-grid .info-text {
  margin-top: 8px;
  color: #666;
  line-height: 1.7;
}

@media screen and (max-width: 780px) {
  ul.info-list_area.info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .info-grid li.info-list {
    flex-direction: row;
  }
  .info-grid li.info-list > a:first-child {
    flex: 0 0 120px;
  }
  .info-grid .info-img,
  .info-grid .info-img img {
    height: 100%;
    min-height: 110px;
  }
  .info-grid .info-text_area {
    padding: 12px 14px;
  }
  .info-grid .info-text {
    display: none;
  }
}

/* ---------- 読みやすさ：本文は標準の太さ・字間を詰める ----------
 * 以前は Noto Sans JP を 600/700 しか読み込んでおらず、本文まで太字に見えていた。
 * 400/500/700 を読み込み、本文は 400、見出しだけ太字にする。 */
body {
  color: #333;
}

p,
li,
div,
span {
  letter-spacing: 0.04em;
}

p.centrair-message,
p.centrair-message-en,
p.sec-top_message,
p.sec-top_message-en,
p.service-text,
p.service-text-en,
p.brand-text,
p.brand-text-en,
.info-text,
.news-title,
.info-title,
.info-title-en,
li.footer-link_text {
  font-weight: 400;
  line-height: 1.9;
}

.news-date,
.info-date,
p.centrair-text,
p.centrair-text-en {
  font-weight: 400;
}

.news-title,
.info-title,
.info-title-en,
h3.brand-title,
h3.brand-title-en {
  font-weight: 500;
}

h1.main-catch,
h1.main-catch-en,
h2.sec-title_jp,
h2.sec-title_jp-en,
h3.service-title_head,
h3.service-title_head-en {
  letter-spacing: 0.06em;
}

.bg-blue p.service-text,
.bg-red p.service-text,
.bg-blue p.service-text-en,
.bg-red p.service-text-en {
  color: #fff;
}

/* =====================================================================
 * さらにコンパクト化（ヘッダー・追従ボタン・FV・余白）
 * ===================================================================== */

/* ヘッダー：ロゴ・ボタンを小さく、上下を詰める */
.header-container {
  padding: 8px 0 6px;
}

.main-logo {
  max-width: 128px;
}

ul.nav-menu_list {
  gap: 24px;
}

ul.nav-menu_list li.nav-menu a {
  font-size: 13px;
}

ul.nav-menu_list li.nav-menu_contact {
  width: 132px;
  height: 40px;
  line-height: 40px;
}

ul.nav-menu_list li.nav-menu_contact a {
  font-size: 13px;
}

/* 追従ボタン（TOP / CONTACT）を小さく */
.floating-btn {
  width: 56px;
  right: 12px;
  bottom: 20px;
}

.floating-btn img {
  margin-bottom: 6px;
}

/* FV：さらに低く。キャッチの下に白いグラデーションを敷いて読みやすく */
section.main-visual,
section.main-visual-en,
.main-visual_container,
.main-visual_container-en {
  height: 520px;
}

section.main-visual::before,
section.main-visual-en::before {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.55) 38%, rgba(255, 255, 255, 0) 62%),
    url(../images/mv.jpg);
}

h1.main-catch,
h1.main-catch-en {
  font-size: 36px;
  margin-bottom: 20px;
}

p.sub-cacth,
p.sub-cacth-en {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.8;
}

.mv-btn {
  margin-top: 24px;
}

.mv-news {
  width: 360px;
  padding: 18px 22px;
}

/* セクション間・事業内容をもう一段詰める */
section.about-sec {
  margin-top: 44px;
}

section.information-sec,
section.service-sec,
section.brand-sec {
  margin-top: 56px;
}

.service-list_area {
  padding: 32px 0;
}

.service-list_img,
.service-list_img-en,
.service-list_img img,
.service-list_img-en img {
  height: 200px;
}

.service-list_img,
.service-list_img-en {
  max-width: 440px;
}

p.service-text,
p.service-text-en {
  margin-top: 12px;
}

.service-btn {
  margin-top: 16px;
}

.readmore-btn,
.readmore-btn-en {
  width: 220px;
  height: 46px;
}

.readmore-btn a,
.readmore-btn-en a {
  line-height: 46px;
  padding-left: 24px;
}

section.contact-sec {
  margin-top: 48px;
}

#footer {
  margin-top: 56px;
}

@media screen and (max-width: 1180px) {
  h1.main-catch,
  h1.main-catch-en {
    font-size: 32px;
  }
}

@media screen and (max-width: 780px) {
  .floating-btn {
    width: 46px;
    right: 8px;
  }
  section.main-visual,
  section.main-visual-en,
  .main-visual_container,
  .main-visual_container-en {
    height: auto;
  }
  section.main-visual::before,
  section.main-visual-en::before {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.45) 55%, rgba(255, 255, 255, 0.2) 100%),
      url(../images/mv.jpg);
  }
  h1.main-catch,
  h1.main-catch-en {
    font-size: 28px;
  }
  .mv-news {
    width: auto;
  }
  .service-list_img,
  .service-list_img-en {
    max-width: none;
  }
  .service-list_img,
  .service-list_img-en,
  .service-list_img img,
  .service-list_img-en img {
    height: 180px;
  }
  section.information-sec,
  section.service-sec,
  section.brand-sec {
    margin-top: 44px;
  }
}

/* 事業内容：画像と文章をセクション見出しと同じ左右端にそろえる */
@media screen and (min-width: 781px) {
  .service-list_container {
    justify-content: space-between;
  }
  .service-list_img,
  .service-list_img-en {
    flex: 0 0 440px;
  }
  .service-text_area {
    flex: 1 1 auto;
    max-width: none;
  }
}

/* ---------- サブメニュー：「事業内容」の真下にドロップダウン ----------
 * 以前はページ右上の固定位置（top:90px; right:40px）に透明のまま置かれていて、
 * ヘッダーの高さが変わるとずれる＆見えないまま下の要素のクリックを邪魔していた。 */
#subMenuList {
  position: relative;
}

#subMenuList::before {
  height: 18px;
  bottom: -18px;
}

#subMenuList ul.sub-menu_list {
  display: block;
  width: 300px;
  position: absolute;
  top: calc(100% + 14px);
  right: auto;
  left: 50%;
  transform: translate(-50%, 6px);
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  opacity: 0 !important;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

#subMenuList ul.sub-menu_list::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #284C99;
  transform: translateX(-50%) rotate(45deg);
}

#subMenuList:hover ul.sub-menu_list,
#subMenuList:focus-within ul.sub-menu_list {
  opacity: 1 !important;
  visibility: visible;
  transform: translate(-50%, 0);
}

#subMenuList ul.sub-menu_list li.sub-menu {
  font-size: 13px;
  text-decoration: none;
}

#subMenuList ul.sub-menu_list li.sub-menu a {
  display: block;
  padding: 9px 20px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
}

#subMenuList ul.sub-menu_list li.sub-menu a:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ヘッダーと FV の間の白い帯を詰める */
section.main-visual,
section.main-visual-en {
  margin-top: 0;
}

.header-container {
  padding-bottom: 8px;
}

/* ---------- 下層ページの見出し帯を低く ---------- */
.page-top_header {
  height: 240px;
}

h1.page-top_title {
  font-size: 30px;
  line-height: 1.4;
}

h1.page-top_title span {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
}

/* ---------- ニュース一覧 ---------- */
section.news-page {
  margin-top: 40px;
}

ul.news-page_list {
  border-top: solid 1px #e2e2e2;
}

ul.news-page_list li {
  border-bottom: solid 1px #e2e2e2;
}

ul.news-page_list li a {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 18px 40px 18px 8px;
  position: relative;
  transition: background 0.2s;
}

ul.news-page_list li a::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: solid 2px #284C99;
  border-right: solid 2px #284C99;
  transform: translateY(-50%) rotate(45deg);
  transition: right 0.2s;
}

ul.news-page_list li a:hover {
  background: #f5f7fb;
}

ul.news-page_list li a:hover::after {
  right: 10px;
}

ul.news-page_list time {
  flex: 0 0 90px;
  font-size: 13px;
  color: #888;
}

.news-page_title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

ul.news-page_list li a:hover .news-page_title {
  color: #284C99;
}

p.news-page_empty {
  padding: 40px 0;
  text-align: center;
  color: #888;
}

/* ページ送り */
nav.pagination {
  margin-top: 32px;
}

nav.pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

nav.pagination a.page-numbers,
nav.pagination span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: solid 1px #284C99;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #284C99;
  transition: background 0.2s, color 0.2s;
}

nav.pagination a.page-numbers:hover,
nav.pagination span.page-numbers.current {
  background: #284C99;
  color: #fff;
}

nav.pagination span.page-numbers.dots {
  border: none;
}

@media screen and (max-width: 780px) {
  .page-top_header {
    height: 180px;
  }
  h1.page-top_title {
    font-size: 24px;
  }
  section.news-page {
    margin-top: 24px;
  }
  ul.news-page_list li a {
    flex-direction: column;
    gap: 4px;
    padding: 14px 32px 14px 4px;
  }
  ul.news-page_list time {
    flex: none;
  }
  nav.pagination a.page-numbers,
  nav.pagination span.page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
  }
}

/* 下層ページの見出し帯：トップと同じく左側に白いグラデーションを敷いて文字を読みやすく */
.page-top_header::before {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 35%, rgba(255, 255, 255, 0) 60%),
    url(../images/mv.jpg);
}

@media screen and (max-width: 780px) {
  .page-top_header::before {
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 70%, rgba(255, 255, 255, 0.3) 100%),
      url(../images/mv.jpg);
  }
}

/* =====================================================================
 * セクション見出し：英語の小見出しは出さず、日本語見出し＋赤いアクセント線
 * ===================================================================== */
.sec-main_title {
  position: relative;
}

p.sec-title_en {
  display: none;
}

h2.sec-title_jp,
h2.sec-title_jp-en {
  display: inline-block;
  position: relative;
  margin-top: 0;
  padding-left: 34px;
}

/* 見出しの頭に青と赤の丸（記事本文の h2 と同じアイコン） */
h2.sec-title_jp::before,
h2.sec-title_jp-en::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 23px;
  height: 24px;
  background: url(../images/h2-title_head.png) no-repeat center / contain;
  transform: translateY(-50%);
}


/* 下層ページもヘッダーと見出し帯の間の白い帯を詰める */
.page-top_header {
  margin-top: 0;
}

/* =====================================================================
 * お問い合わせ：左に案内文、右に白いカードのフォーム
 * ===================================================================== */
section.contact-sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 48px;
  align-items: start;
  padding: 48px 56px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.10) 0, rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, #2b52a3 0%, #1f3f86 100%);
}

.contact-top_wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 18px;
  position: sticky;
  top: 90px;
}

p.contact-top_message,
p.contact-top_message-en {
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.92;
}

/* 青背景の上では見出しアイコンを白い丸の上に置いて見えるように */
.contact-sec h2.sec-title_jp::before,
.contact-sec h2.sec-title_jp-en::before {
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff;
}

/* フォームのカード */
.contact-sec .wpcf7 {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px 32px;
  box-shadow: 0 12px 32px rgba(10, 30, 80, 0.25);
}

.contact-sec .contact-form {
  margin-top: 0;
}

.contact-sec .contact-form_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.contact-sec .contact-input_area,
.contact-sec .contact-message_area {
  max-width: none;
  width: auto;
}

.contact-sec .contact-message_area {
  display: flex;
  flex-direction: column;
}

.contact-sec .contact-input {
  margin-bottom: 16px;
}

.contact-sec .contact-input:last-child {
  margin-bottom: 0;
}

.contact-sec .contact-head,
.contact-sec .contact-head.c-white {
  color: #333 !important;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-sec .contact-head p {
  display: flex;
  align-items: center;
}

.contact-sec .contact-head span {
  width: auto;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-sec .contact-head span.required {
  background: #D81A31;
  color: #fff;
}

.contact-sec .contact-head span.option {
  background: #eef1f6 !important;
  color: #666 !important;
}

.contact-sec input[type=text],
.contact-sec input[type=tel],
.contact-sec input[type=email],
.contact-sec textarea {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  font-size: 14px;
  border: solid 1px #d6dbe6;
  border-radius: 8px;
  background: #f7f9fc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.contact-sec textarea {
  height: auto;
  min-height: 228px;
  flex: 1;
  line-height: 1.7;
}

.contact-sec .contact-message_area p:last-child,
.contact-sec .contact-message_area .wpcf7-form-control-wrap {
  display: flex;
  flex: 1;
}

.contact-sec input[type=text]:focus,
.contact-sec input[type=tel]:focus,
.contact-sec input[type=email]:focus,
.contact-sec textarea:focus {
  outline: none;
  border-color: #284C99;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(40, 76, 153, 0.15);
}

.contact-sec .contact-submit_area {
  margin: 24px 0 0;
  text-align: center;
}

.contact-sec input[type=submit] {
  width: 260px;
  height: 52px;
  line-height: 52px;
  border: none;
  border-radius: 999px;
  background: #D81A31;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 6px 16px rgba(216, 26, 49, 0.3);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-sec input[type=submit]:hover {
  background: #bf1328;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(216, 26, 49, 0.38);
}

.contact-sec .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 4px;
}

.contact-sec .wpcf7-response-output {
  margin: 16px 0 0 !important;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
}

@media screen and (max-width: 980px) {
  section.contact-sec {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-top_wrap {
    position: static;
  }
}

@media screen and (max-width: 780px) {
  section.contact-sec {
    padding: 28px 16px;
  }
  .contact-sec .wpcf7 {
    padding: 20px 16px 24px;
  }
  .contact-sec .contact-form_wrap {
    grid-template-columns: 1fr;
  }
  .contact-sec textarea {
    min-height: 160px;
  }
  .contact-sec input[type=submit] {
    width: 100%;
  }
}

/* お問い合わせ：はみ出し防止・入力欄のフォントをそろえる */
.contact-sec input,
.contact-sec textarea {
  font-family: inherit;
}

p.contact-top_message,
p.contact-top_message-en {
  width: auto;
  max-width: 100%;
  white-space: normal;
}

@media screen and (max-width: 980px) {
  section.contact-sec {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 送信ボタンの影はなし */
.contact-sec input[type=submit],
.contact-sec input[type=submit]:hover {
  box-shadow: none;
}

/* お問い合わせの見出しはアイコンなし */
.contact-sec h2.sec-title_jp,
.contact-sec h2.sec-title_jp-en {
  padding-left: 0;
}

.contact-sec h2.sec-title_jp::before,
.contact-sec h2.sec-title_jp-en::before {
  display: none;
}

/* =====================================================================
 * 字間を詰める
 * ===================================================================== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
div,
span,
a,
time,
input,
textarea {
  letter-spacing: 0.02em !important;
}

/* お問い合わせの案内文はスクロールに追従させない */
.contact-top_wrap {
  position: static;
}
