body {
  margin: 0px;
  padding-right: 0px;
}
.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border: 2px solid #000; /* 通常は黒丸 */
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  text-decoration: none;
  box-sizing: border-box;
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 1.2s ease, visibility 1.2s ease, border-color 0.3s ease;
}
/* スクロール後に表示 */
.pagetop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* 矢印 */
.pagetop-arrow {
  width: 14px;
  height: 14px;
  border-top: 3px solid #000;
  border-left: 3px solid #000;
  transform: rotate(45deg);
  margin-top: 6px;
  transition: border-color 0.3s ease;
}
/* フッター上に来たら白に変更 */
.pagetop.on-footer, .pagetop.on-link {
  border-color: #fff;
}
.pagetop.on-footer .pagetop-arrow, .pagetop.on-link .pagetop-arrow {
  border-color: #fff;
}
#wrap {
  width: 100%;
}
.movie_blk {
  width: 100%;
}
/* 動画エリア本体 */
.movie_blk .is-layer-dot {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
}
/* 背景動画 */
.movie_blk .is-layer-dot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* ドット＋暗幕 */
.movie_blk .is-layer-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 10, 50, 0.3);
  background-image:
    radial-gradient(circle, rgba(0, 10, 50, 0.4) 0.2px, transparent 1px), radial-gradient(circle, rgba(0, 10, 50, 0.4) 0.2px, transparent 1px);
  background-size: 2px 2px;
  background-position: 0 0, 6px 6px;
  pointer-events: none;
}
/* テキスト全体 */
.movie_blk .text_wrap {
  position: absolute;
  top: 350px;
  left: 150px;
  z-index: 2;
  color: #fff;
  width: min(90%, 720px);
}
/* 見出し */
.movie_blk h2 {
  margin: 0 0 18px;
  font-size: 43px;
  line-height: 1.3;
  color: #fff;
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}
/* 見出し内の小さい文字 */
.movie_blk h2 .small {
  display: block;
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.5;
  font-weight: 400;
}
/* 説明文 */
.movie_blk p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
  letter-spacing: 0.04em;
  font-family: brandon-grotesque, sans-serif;
  font-weight: 400;
}
/* メニュー展開時は非表示 */
body.menu-open .movie_blk .text_wrap {
  display: none;
}
/* =========================
   タブレット
========================= */
@media (max-width: 1200px) {
  .movie_blk .is-layer-dot {
    min-height: 520px;
  }
  .movie_blk .text_wrap {
    top: 250px;
    left: 70px;
    width: calc(100% - 80px);
  }
  .movie_blk h2 {
    font-size: clamp(30px, 4.5vw, 43px);
    margin-bottom: 12px;
  }
  .movie_blk h2 .small {
    font-size: clamp(15px, 2vw, 23px);
    line-height: 1.5;
  }
  .movie_blk p {
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.7;
  }
}
/* =========================
   スマホ
========================= */
@media (max-width: 768px) {
  .movie_blk .is-layer-dot {
    min-height: 420px;
  }
  .movie_blk .text_wrap {
    top: 250px;
    left: 30px;
    width: calc(100% - 40px);
  }
  .movie_blk h2 {
    font-size: 23px;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .movie_blk h2 .small {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.6;
  }
  .movie_blk p {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.02em;
  }
  /* スマホではドットを少し薄くする */
  .movie_blk .is-layer-dot::after {
    background-color: rgba(0, 10, 50, 0.18);
    background-image:
      radial-gradient(circle, rgba(0, 10, 50, 0.2) 0.2px, transparent 1px), radial-gradient(circle, rgba(0, 10, 50, 0.2) 0.2px, transparent 1px);
    background-size: 2px 2px;
    background-position: 0 0, 6px 6px;
  }
}
p.cbs {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-top: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 5%;
  color: #FFFFFF;
  margin-bottom: 0px;
  display: none;
}
p.cbs:before {
  position: relative;
  content: "";
  display: none;
  width: 2em;
  height: 1.5em;
  background-repeat: no-repeat;
  background-image: url(../../../cominstru/subaJpn/img/cbslogo.jpg);
  background-size: contain;
  top: 10px;
  left: -10px;
}
#header {
  padding-bottom: 0px;
  width: 100%;
  height: 200px;
  background-image: url(../image/bma_logo.svg);
  background-repeat: no-repeat;
  background-position: -120px 30px;
  background-size: 40% 40%;
  padding-top: 10px;
  position: fixed;
  /* アニメーションの変化時間 */
  transition: 0.5s;
  z-index: 13;
}
/* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
#header.scroll-nav {
  /* 余白を狭くする */
  padding: 10px 15px;
  height: 90px;
  background-position: -330px 10px;
  background-size: 70% 70%;
  background-image: url(../image/bma_logo_w_small.svg);
  background-color: rgba(43, 57, 85, 0.85)
}
#header h2.scroll-nav {
  display: none;
}
/* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
#menu.scroll-nav {
  /* 余白を狭くする */
  height: 50px;
  margin-top: 30px;
  padding-left: 2%;
}
#menu.scroll-nav a {
  font-size: 16px;
  font-family: brandon-grotesque, sans-serif;
  font-weight: 400;
}
.rrdtitle {
  font-family: 'Oswald', sans-serif;
  font-size: 23px;
  letter-spacing: 2px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}
#submenu {
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 25px;
  padding-top: 5px;
  float: right;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 5%;
  margin-top: 0px;
  height: 30px;
  background-image: url(../image/english.png);
  background-size: 20px;
  background-position: 0 5px;
  background-repeat: no-repeat;
  display: none;
}
#submenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  margin: 0px;
  overflow: hidden;
  font-family: brandon-grotesque, sans-serif;
  font-weight: 500;
}
#submenu li {
  float: left;
  margin-top: 0px;
  margin-right: 15px;
}
#header #submenu a {
  font-size: 14px;
  color: #FFF;
  padding-top: 0px;
  padding-bottom: 0px;
  font-family: brandon-grotesque, sans-serif;
  font-weight: 500;
}
#submenu a, #submenu a:link, #submenu a:visited {
  text-align: center;
  padding: 2px 0;
  display: block;
  color: #FFFFFF;
  text-decoration: none;
}
#wrap #header h1 {
  clear: right;
  font-family: 'Oswald', sans-serif;
  font-size: 27px;
  color: #FFFFFF;
  padding-left: 5%;
  margin-bottom: 0px;
  margin-top: 0px;
  clear: both;
  letter-spacing: 0.5px;
  -webkit-text-stroke: 1px #FFFFFF;
  font-weight: 900;
  padding-top: 0px;
  display: none;
}
#header h2 {
  font-family: "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  font-size: 27px;
  color: #FFFFFF;
  font-weight: normal;
  padding-top: 0px;
  padding-left: 350px;
  margin-top: 10px;
  margin-bottom: 0px;
  letter-spacing: 1px;
}
#wrap #header h5 {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 7px;
  padding-top: 0px;
  padding-bottom: 0px;
  font-family: "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  padding-left: 5%;
  letter-spacing: 1px;
  margin-top: 0px;
  display: none;
}
#menu {
  height: 20px;
  font-family: brandon-grotesque, sans-serif;
  width: 60%;
  padding-right: 0%;
  padding-top: 0px;
  clear: right;
  margin-top: 30px;
  position: fixed;
  right: 1px;
}
#menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
#menu a {
  color: #ffffff;
  font-family: brandon-grotesque, sans-serif;
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding-top: 0;
  padding-bottom: 0;
  position: relative; /* アンダーバーの位置を決めるための基準 */
  width: auto;
  font-size: 17px;
  padding-left: 20px;
  padding-right: 20px;
  white-space: nowrap;
}
/*▽▽ヘッダーリストのアンダーバー▽▽*/
#menu li ::after {
  position: absolute; /*親要素であるaタグを基準に位置を指定*/
  bottom: 0px; /*アンダーバーが位置する、各リストの下端からの高さ*/
  left: 10px; /*アンダーバーを各リストの左端に指定*/
  content: ''; /*本来は、擬似要素に入るテキストなどを’’内に指定。今回はアンダーバーなので何も記載しない*/
  width: 85%; /*アンダーバーの幅は各リストの幅*/
  height: 2px; /*アンダーバーの高さ（太さ）*/
  background: #ffffff; /*アンダーバーの色*/
  transform: scale(0, 1); /*アンダーバーの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーバーの伸長）の原点を、liの真ん中指定*/
  transition: transform 0.75s; /*変形の時間*/
}
#menu li :hover::after {
  transform: scale(1, 1);
}
/* ===== タブレット対応 ===== */
@media (max-width: 1200px) and (orientation: portrait) {
  #header {
    background-position: -20px 30px;
    background-size: 30% 30%;
  }
  #menu {
    width: 100%; /* ← はみ出し防止 */
    right: 0;
    left: 0;
    padding-right: 20px;
  }
  #menu ul {
    justify-content: flex-end; /* ← 右寄せ */
    flex-wrap: wrap; /* ← 折り返し（最重要） */
  }
  #menu a {
    padding: 8px 12px; /* ← 少し詰める */
    font-size: 15px;
  }
}
@media (max-width: 1200px) and (orientation: landscape) {
  #header {
    background-position: -40px 30px;
  }
  /* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
  #header.scroll-nav {
    /* 余白を狭くする */
    background-position: -250px 20px;
    background-size: 70% 70%;
  }
  #menu {
    width: 100%; /* ← はみ出し防止 */
    right: 0;
    left: 0;
    padding-right: 20px;
  }
  #menu ul {
    justify-content: flex-end; /* ← 右寄せ */
    flex-wrap: wrap; /* ← 折り返し（最重要） */
  }
  #menu a {
    padding: 8px 12px; /* ← 少し詰める */
    font-size: 15px;
  }
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
/* ハンバーガー */
.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  right: 20px;
  border: none;
  background: none;
  cursor: pointer;
  display: none;
  z-index: 9999;
  margin-left: auto;
}
.hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  left: 0;
  transition: 0.3s;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 9px;
}
.hamburger span:nth-child(3) {
  top: 18px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}
/* ナビ */
.nav {
  right: -100%;
  transition: 0.3s;
  display: none;
  z-index: 999;
  position: fixed;
  background: rgba(43, 57, 85, 0.9);
}
.nav.active {
  right: 0;
}
.nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  font-size: 15px;
  margin-top: 50px;
}
.nav a {
  text-decoration: none;
  color: #FFFFFF;
}
/* SP対応 */
@media (max-width: 768px) {
  #header {
    background-repeat: no-repeat;
    background-position: -30px 20px;
    background-size: 60% 60%;
    padding-top: 20px;
    position: fixed;
    /* アニメーションの変化時間 */
    transition: 0.5s;
    z-index: 1000;
    background-color: rgba(43, 57, 85, 0.0);
    background-image: url(../image/bma_logo_w_small.svg);
    height: 100px;
  }
  /* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
  #header.scroll-nav {
    /* 余白を狭くする */
    background-position: -30px 20px;
    background-size: 60% 60%;
  }
  #menu {
    display: none;
    padding-right: 50px;
  }
  .header-inner h1 {
    display: flex;
  }
  .hamburger {
    display: block;
    z-index: 9999;
    top: 10px;
    right: 10px;
  }
  .nav {
    right: -100%;
    width: 100%; /* ← 全面 */
    height: 100%;
    background-color: rgba(43, 57, 85, 1);
    padding-top: 80px;
    display: inherit;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(100%); /* ← 右に隠す */
    transition: 0.3s;
  }
  .nav::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-image: url(../image/bma_logo_w_small.svg);
    background-size: 150px auto; /* ←ここに書く（重要） */
    background-position: 20px 20px;
    opacity: 0; /* 初期は非表示 */
    z-index: 0;
    pointer-events: none;
  }
  .nav.active::before {
    opacity: 1;
  }
  .nav ul {
    flex-direction: column;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    margin-top: 50px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .nav.active {
    transform: translateX(0); /* ← 表示 */
  }
}
/*△△ヘッダーリストのアンダーバー△△*/
.link {
  background-color: #2B2B2B;
  width: 100%;
  background-repeat: no-repeat;
  background-position: 70% 50%;
  line-height: 27px;
  padding-bottom: 100px;
  padding-top: 100px;
  z-index: 10;
}
.link_inner {
  width: 90%;
  padding-left: 10%;
  padding-right: 0%;
  padding-top: 0px;
  margin-left: auto;
  margin-right: auto;
}
.link_inner li {
  list-style: none; /*デフォルトの指定を解除*/
  float: left; /*余白を指定*/
  width: 30%;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
/* ===== スマホ（1列） ===== */
@media (max-width: 768px) {
  .link {
    padding: 50px 0;
  }
  .link_inner {
    padding-left: 0;
    width: 100%;
  }
  .link_inner li {
    float: none; /* ← 横並び解除 */
    width: 100%; /* ← 1列 */
    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }
  .link_inner img {
    width: 50%;
    max-width: 250px; /* ← 大きくなりすぎ防止 */
    display: block;
    margin: 0 auto;
  }
}
#tpsstop {
  background-position: center top;
  width: 100%;
  font-family: "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 25px;
  text-align: left;
  margin-left: 0px;
  background-repeat: no-repeat;
  top: 0px;
  background-color: #FCFCFC;
  margin-top: 0px;
  padding-bottom: 20px;
  padding-top: 50px;
  padding-left: 10%;
  padding-right: 10%;
  border-top: 1px solid #F5F5F5;
  clear: both;
  background-image: url(tpsshead2024.png);
  color: #FFFFFF;
  float: left;
}
#tpsstop h1 {
  font-family: "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 5px;
  margin-bottom: 50px;
  text-align: center;
  color: #FFFFFF;
}
#wrap #tpsstop h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #FFFFFF;
}
#tpsstop .head {
  font-family: "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  font-size: 17px;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}
#tpsstop .more {
  margin-top: 50px;
  margin-bottom: 50px;
  color: #FFFFFF;
}
#tpsstop .more a {
  font-size: 15px;
  font-family: "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  font-weight: normal;
  margin-bottom: 50px;
  border: 1px solid #FFFFFF;
  padding-left: 50px;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 50px;
  text-align: center;
  margin-top: 50px;
  border-radius: 30px;
  color: #FFFFFF;
  text-decoration: none;
}
#tpsstop .more a:hover {
  background-color: #FFFFFF;
  color: #000000;
}
.inner {
  clear: both;
  float: left;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 50px;
  margin-left: 5%;
  width: 90%;
  margin-right: 5%;
}
#about {
  height: 400px;
  width: 100%;
  background-color: #ffffff;
  padding-top: 130px;
  padding-bottom: 500px;
}
#about dl {
  display: inherit;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
}
#about h2 {
  color: #2b3955;
  font-family: brandon-grotesque, sans-serif;
  font-size: 43px;
  letter-spacing: 5px;
  margin-bottom: 50px;
  font-weight: 700;
}
#about dl dd {
  color: #333333;
  padding-top: 10px;
  font-family: "Noto Sans JP Medium", "Noto Sans JP Bold", "Noto Sans JP Black", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  margin-bottom: 50px;
  line-height: 40px;
  text-align: left;
}
#about a:link {
  color: #333333;
  text-decoration: none;
  font-size: 15px;
}
#about a:visited {
  color: #6C6C6C;
  font-size: 15px;
}
#about .hover-line {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #333;
}

#about .hover-line::before,
#about .hover-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 1px;
  background: #333;
}

#about .hover-line::before {
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.3s ease;
}

#about .hover-line::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease 0.3s;
}

#about .hover-line:hover::before {
  transform: scaleX(0);
}

#about .hover-line:hover::after {
  transform: scaleX(1);
}
@media (max-width: 1200px) {
  #about {
    height: auto;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #about dl {
    width: 80%;
  }
  #about dl dt {
    margin-bottom: 20px;
    font-size: 43px;
  }
  #about dl dd {
    line-height: 30px;
    margin-bottom: 30px;
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  #about {
    height: auto;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  #about dl {
    width: 80%;
  }
  #about h2 {
    font-size: 33px;
  }
  #about dl dd {
    line-height: 30px;
    margin-bottom: 30px;
    font-size: 14px;
  }
}
#service {
  padding-top: 100px;
  padding-bottom: 50px;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
}
#service dl {
  display: inherit;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  padding-bottom: 100px;
}
/* dt（そのまま40%デザイン維持） */
#service dl dt {
  color: #333;
  font-family: brandon-grotesque, sans-serif;
  font-size: 33px;
  letter-spacing: 5px;
  padding-right: 100px;
  text-align: left;
  margin-bottom: 30px;
}
/* dd（float削除だけ） */
#service dl dd {
  color: #333;
  font-family: "Noto Sans JP Medium", sans-serif;
  float: none; /* ←ここだけ修正 */
}
#service h2 {
  color: #2b3955;
  font-family: brandon-grotesque, sans-serif;
  font-size: 43px;
  letter-spacing: 5px;
  margin-bottom: 50px;
  font-weight: 700;
}
#service ul {
  display: -webkit-flex;
  display: none;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  flex-wrap: wrap;
  margin-left: 0px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}
#service li {
  list-style: none;
  width: 30%;
  margin-bottom: 30px;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-left: 15px;
  margin-right: 15px;
}
#service li p {
  margin-top: 30px;
  font-size: 13px;
  text-align: left;
  margin-left: 50px;
  margin-right: 50px;
}
#service p.post {
  font-size: 15px;
  text-align: center;
}
#service .servicecontents {
  font-size: 21px;
  text-align: center;
  height: 350px;
}
#service .content {
  display: none;
}
#service a img {
  transition: 0.3s;
}
#service a img:hover {
  opacity: 0.6;
}
@media (max-width: 768px) {
  #service {
    height: auto;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  #service h2 {
    padding-left: 50px;
    margin-bottom: 30px;
    font-size: 33px;
  }
  #service dl {
    margin-bottom: 50px;
    width: 100%;
  }
  #service dl dt {
    font-size: 23px;
    letter-spacing: 3px;
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 30px;
  }
  #service dl dd {
    float: left;
    padding-left: 50px;
    padding-right: 50px;
    text-align: left;
    font-size: 14px;
  }
}
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px; /* ← 全体の横幅制限 */
  margin: 0 auto; /* ← 中央寄せ */
  padding: 0 20px; /* ← 両サイド余白 */
}
.service-item img {
  width: 100%;
  height: auto;
  display: block;
}
.service-item p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
}
@media (max-width: 1024px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .service-list {
    grid-template-columns: 1fr;
    padding: 0 15px; /* ← スマホは少し狭めると◎ */
  }
  .service-item {
    padding: 0 16px; /* ← 外側に余白 */
    text-align: center;
  }
  .service-item img {
    width: 100%;
    max-width: 320px; /* ← ここが重要（小さく見える核心） */
    height: auto;
    margin: 0 auto 12px;
    display: block;
    border-radius: 6px; /* ← ちょいプロ感 */
  }
}
#people {
  padding-left: 15%;
  padding-right: 15%;
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: #FFFFFF;
}
/* そのまま（PC） */
#people dl {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
}
#people dl dt {
  color: #171717;
  font-family: brandon-grotesque, sans-serif;
  font-size: 15px;
  letter-spacing: 5px;
  padding: 30px;
}
#people dl dd {
  color: #171717;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 30px;
}
#people h2 {
  color: #2b3955;
  font-family: brandon-grotesque, sans-serif;
  font-size: 43px;
  letter-spacing: 5px;
  margin-bottom: 50px;
  font-weight: 700;
}
#people ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* ← margin廃止 */
  justify-content: flex-start; /* ← centerやめる */
}
#people li {
  width: calc((100% - 60px) / 4); /* ← gap考慮（20px × 3） */
  margin: 0; /* ← 全margin削除 */
  box-sizing: border-box;
  padding: 30px;
  text-align: center;
}
#people .post {
  font-size: 12px;
}
#people .mail {
  display: none;
}
#people .exLink {
  position: relative;
}
#people .exLink::before {
  content: "";
  position: absolute;
  top: 5px;
  right: -15px;
  display: block;
  width: 10px;
  height: 8px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
#people .exLink::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -21px;
  display: block;
  width: 12px;
  height: 10px;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-top: 2px solid #000;
}
/* タブレット（2列 or 3列どちらでもOK） */
@media (max-width: 1024px) {
  #people li {
    width: calc((100% - 20px) / 2); /* ← 2列用 */
  }
  #people dl {
    margin-bottom: 60px;
  }
  #people dl dt {
    padding: 20px;
  }
  #people dl dd {
    margin-left: 20px;
  }
}
/* スマホ（1列） */
@media (max-width: 768px) {
  #people li {
    width: 100%;
  }
  #people dl {
    flex-direction: column; /* ← 縦にする */
    align-items: flex-start;
  }
  #people dl dt {
    padding: 10px 0;
  }
  #people dl dd {
    margin-left: 0; /* ← 横ズレ解除 */
    margin-top: 10px;
  }
  #people h2 {
    font-size: 33px;
  }
}
#back-top a {
  position: fixed;
  right: 100px;
  bottom: 100px;
  transition: 1s;
}
#back-top a:hover {
  opacity: 0.75;
}
.map iframe {
  width: 100%;
  height: 500px;
}
.map-container {
  position: relative;
  width: 100%;
  height: 500px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 1.00);
  color: #1B1B1B;
  padding-top: 30px;
  padding-right: 30px;
  padding-left: 30px;
  padding-bottom: 30px;
  width: 310px;
  height: auto;
  font-size: 13px;
  line-height: 20px;
}
@media (max-width: 768px) {
  .map-overlay {
    transform: scale(0.8); /* ← 好きな倍率 */
    transform-origin: top left; /* ← 位置ズレ防止 */
  }
}
#contact {
  height: 300px;
  width: 100%;
  background-color: #2b3955;
  padding-top: 90px;
  padding-bottom: 70px;
}
#contact dl {
  display: inherit;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#contact dl dt {
  color: #FFFFFF;
  font-family: brandon-grotesque, sans-serif;
  font-weight: bold;
  font-size: 43px;
  letter-spacing: 5px;
}
#contact dl dd {
  color: #FFFFFF;
  font-family: "Noto Sans JP Medium", "Noto Sans JP Bold", "Noto Sans JP Black", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
}
#contact a:link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 15px;
}
#contact a:visited {
  color: #FFFFFF;
  font-size: 15px;
}
.hover-line {
  position: relative;
  text-decoration: none;
  color: #fff; /* 文字色も白の場合 */
}
/* 最初から表示されている線 */
.hover-line::before, .hover-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px; /* お好みで2pxなどに変更 */
  background: #fff;
}
/* 初期線 */
.hover-line::before {
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.3s ease;
}
/* ホバー後の線 */
.hover-line::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease 0.3s;
}
/* ホバー */
.hover-line:hover::before {
  transform: scaleX(0);
}
.hover-line:hover::after {
  transform: scaleX(1);
}
/* ===== タブレット ===== */
@media (max-width: 1024px) {
  #contact {
    padding: 70px 20px 60px;
  }
  #contact dl {
    display: flex;
    flex-direction: column; /* ← 縦並び */
    align-items: center; /* 中央揃え（任意） */
  }
  #contact dl dt {
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 10px; /* dtとddの間隔 */
  }
  #contact dl dd {
    font-size: 15px;
  }
}
/* ===== タブレット ===== */
@media (max-width: 1100px) {
  #back-top a {
    right: 30px;
    bottom: 30px;
  }
}
/* ===== スマホ ===== */
@media (max-width: 768px) {
  #back-top a {
    right: 20px;
    bottom: 20px;
  }
  #contact {
    padding-top: 30px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 30px;
    height: 150px;
  }
  #contact dl dt {
    font-size: 27px;
    letter-spacing: 2px;
    white-space: nowrap; /* ← 改行させない */
  }
  #contact dl dd {
    font-size: 14px;
    line-height: 1.7;
  }
  #contact a {
    font-size: 14px;
  }
}
/* フッター全体 */
.footer {
  background: #000;
  color: #fff;
  width: 100%;
  float: none; /* ←これ重要 */
  padding-top: 50px;
  padding-bottom: 50px;
}
/* 全体 */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 100px;
}
/* 左側 */
.footer-left {
  flex: 1;
  padding-left: 50px;
  color: #FFFFFF;
  font-size: 13px;
  margin-top: 5px;
  margin-bottom: 5px;
  font-family: brandon-grotesque, sans-serif;
  line-height: 20px;
}
/* 右側（メニュー＋リンク） */
.footer-right {
  display: flex;
  gap: 40px;
  justify-content: flex-end; /* ←右寄せ */
  flex: 1;
}
/* カラム */
.footer-col {
  min-width: 180px;
}
/* 見出し */
.footer-title {
  font-size: 16px;
  margin-bottom: 10px;
}
/* テキスト */
.footer-text {
  line-height: 1.6;
  margin: 5px 0;
}
/* リスト */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.footer-list li {
  margin-bottom: 6px;
}
/* リンク */
.footer a {
  font-size: 14px;
  color: #FFFFFF;
  font-family: brandon-grotesque, sans-serif, "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  line-height: 35px;
  text-decoration: none;
  padding-left: 5px;
  font-weight: 500;
  letter-spacing: 2px;
  transition: opacity 0.2s;
}
.footer a:hover {
  opacity: 0.7;
}
/* コピー */
.footer .copy {
  font-size: 11px;
  font-family: "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  letter-spacing: 1px;
  font-weight: lighter;
}
@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 30px;
  }
  .footer-inner {
    flex-direction: column; /* ← 横並びをやめる */
    gap: 30px;
    padding-right: 0;
  }
  .footer-left {
    flex: none;
    width: 100%;
    padding-left: 0;
    min-width: 0;
  }
  .footer-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    flex: none;
    width: 100%;
  }
  .footer-col {
    min-width: 0;
    width: 100%;
  }
  .footer-left h2 {
    margin: 10px 0 12px;
    font-size: 21px; /* 必要なら調整 */
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: normal;
  }
}
@media (max-width: 480px) {
  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
  .footer {
    padding: 40px 15px 20px;
  }
}
li.newat:after {
  font-family: "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  font-size: 12px;
  color: #FFF;
  width: 50px;
  content: "NEW!!";
  padding: 2px;
  margin-left: 5px;
  background-color: #F00;
}
li.important:after {
  font-family: "Helvetica", "verdana", "arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  font-size: 12px;
  color: #FFF;
  width: 70px;
  content: "important";
  padding: 2px;
  margin-left: 5px;
  background-color: #8E0000;
  letter-spacing: 1px;
}
.bc {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}
.bc th, .bc td {
  border-bottom: 1px solid #666666;
  padding-top: 0.4em;
  padding-bottom: 0.4em;
  padding-right: 1em;
  padding-left: 1em;
  border-top: 1px solid #666;
}
#news a.openhouse {
  color: #C83942;
  font-size: small;
  text-decoration: underline;
  font-weight: bold;
}
.impact {
  background-color: #FEFF00;
}
.notice {
  color: #DB434B;
}
.dna {
  background-image: url(../img/icon_dna.png);
  background-repeat: no-repeat;
  padding-left: 60px;
  background-position: 5px;
}
.cue {
  background-image: url(../img/icon_cue.png);
  background-repeat: no-repeat;
  padding-left: 60px;
  background-position: 5px;
}
.detail {
  margin-top: 2em;
  background-image: url(../img/arrow_w.png);
  background-repeat: no-repeat;
  background-position: right center;
  width: 150px;
}