@charset "utf-8";

/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");

/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
  --white: #fff; /*主にテンプレートの背景色*/
  --text: #333; /*上のカラーの「対」として使う色*/

  --primary-color: #184f9c; /*メインまたはアクセントカラー*/
  --secondary-color: #1b3a5e; /*サブカラー*/
  --accent-color: #d65f00; /*アクセントカラー*/
  --light-color: #e8f1fb; /*メインまたはアクセントカラーの淡い版*/
  --light-GY: #f8f8f8;

  --red: #d60000;

  --content-space: clamp(0.8rem, -1.379rem + 9.22vw, 6rem); /*余白の一括管理用*/

  --headerH: 100px; /*headerの高さ他、関連パーツ用*/
}

/*bg背景
------------------------------*/
.bg-light {
  background: var(--light-color);
}

.bg-gy {
  background: var(--light-GY);
}

/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
  0% {
    left: -200px;
  }
  100% {
    left: 0px;
  }
}

/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*全体の設定
---------------------------------------------------------------------------*/
body * {
  box-sizing: border-box;
  margin-block-start: 0;
  margin-block-end: 0;
}
html,
body {
  font-size: 16px;
  scroll-behavior: smooth;
}
section[id] {
  scroll-margin-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  -webkit-text-size-adjust: none;
  background: var(--white);
  color: var(--text);
}
body:not(.home) main {
  margin-top: var(--headerH);
}

/*リセット*/
figure {
  margin: 0;
}
dd {
  margin: 0;
}
nav,
ul,
li,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/*table全般の設定*/
table {
  border-collapse: collapse;
}

/*画像全般の設定*/
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 10px;
}

/*iframeタグ*/
iframe {
  width: 100%;
}

/*btn*/
.btn {
  display: inline-block;
  text-decoration: none;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 10px;
}
.BL {
  background: var(--primary-color);
  color: var(--white);
}
.OR {
  background: var(--accent-color);
  color: var(--white);
}
.LB {
  background: var(--light-color);
  color: var(--primary-color);
  font-weight: 600;
}

/*その他*/
input {
  font-size: 1rem;
}
i.fas,
i.far {
  padding: 0 0.5rem;
}
.mt0 {
  margin-top: 0px !important;
}
.feature .section-item,
.case .section-item {
  padding-top: 5vw;
  padding-bottom: 5vw;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}

/*背景色*/
.feature .section-item.bg-light,
.case .section-item.bg-gy {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

/*pc・sp切り替え
----------------------*/
.smart-only {
  display: block;
}
.pc-only {
  display: none;
}
@media screen and (min-width: 768px) {
  .pc-only {
    display: block !important;
  }
  .smart-only {
    display: none !important;
  }
}

/*改行設定
---------------------------------------------------------------------------*/
/* スマホ用<br> */
@media screen and (max-width: 767px) {
  .br-sp {
    display: block;
  }
  .br-tb {
    display: none;
  }
  .br-pc {
    display: none;
  }
}
/* tablet 縦用<br> */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .br-sp {
    display: none;
  }
  .br-tb {
    display: block;
  }
  .br-pc {
    display: none;
  }
}
/* pc用<br> */
@media screen and (min-width: 1024px) {
  .br-sp {
    display: none;
  }
  .br-tb {
    display: none;
  }
  .br-pc {
    display: block;
  }
}

/*section
---------------------------------------------------------------------------*/
section {
  padding: 0 var(--content-space);
  margin: 5vw 0; /*ここ変更する際は、他にも影響する場合があるので注意*/
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.8;
  font-size: clamp(1rem, 0.948rem + 0.22vw, 1.125rem);
}

/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
  color: inherit;
  transition: 0.3s; /*hoverまでにかける時間。0.3秒。*/
  text-decoration: none;
}

/*マウスオン時*/
a:hover {
  text-decoration: none;
}

/*conatiner（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
  animation: opa1 0.2s 0.4s both; /*0.4秒待機後、0.2秒かけてフェードイン*/
  display: grid;
  grid-template-rows: auto 1fr;
}

/*トップ以外のcontainer*/
body:not(.home) #container {
  grid-template-rows: 1fr;
}

/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
header {
  position: fixed; /*画面の一定箇所で固定表示*/
  z-index: 1000;
  width: 100%;
  color: var(--text);
  background: var(--white);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: clamp(0rem, -0.629rem + 2.66vw, 1.5rem);
  line-height: 1.5; /*行間を少し狭く*/
  height: var(--headerH); /*ヘッダーの高さ。css冒頭のheaderHを読み込みます。*/
  transition:
    transform 0.5s ease,
    opacity 0.5s ease; /*スクロールでheaderがフェードする際にかける時間。*/
  padding: 10px clamp(1rem, calc(10rem - 12.5vw), 5rem) 10px 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#logo a {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/*隠す際のスタイル*/
.site-header.is-hide {
  opacity: 0;
  transform: translateY(-100%); /*真上に隠す*/
  pointer-events: none; /*消えている間はクリックを無効化*/
}

@media screen and (max-width: 1000px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  /*ドロップダウンメニュー冒頭の矢印アイコン*/
  header nav i {
    padding-right: 0.5rem; /*右に空ける余白*/
  }
}

/*ロゴ画像*/
#logo {
  margin: 0;
  flex-shrink: 0;
  gap: 0.5rem;
  align-items: flex-start;
  flex-direction: column;
}
#logo img {
  display: block;
  height: 60px;
}
#logo .site-title {
  font-size: 70%;
  font-weight: normal;
  margin: 0;
}

/*ボタンエリア*/
.header-btn.flex {
  gap: 1rem;
  align-items: center;
  font-size: clamp(0.813rem, 0.734rem + 0.33vw, 1rem);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .header-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 5rem;
    background: var(--white);
    display: flex;
    justify-content: center;
    z-index: 1000;
    -webkit-box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    padding: 1rem 0.5rem;
    gap: 0.5rem !important;
  }
  .header-btn .btn {
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    text-align: center;
  }
  .header-btn .btn i {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 1279px) {
  .header-btn {
    gap: 0.5rem;
  }
  .header-btn .btn i {
    display: none;
  }
  .header-btn .btn {
    font-size: 80%;
    text-align: center;
    padding: 0.5rem;
  }
}

/*header内のメニュー（※開閉メニューとはブロックが異なります）
---------------------------------------------------------------------------*/
.h-menu {
  align-items: center;
  justify-content: space-around;
  gap: clamp(0rem, -0.629rem + 2.66vw, 1.5rem);
}
.nav-pc {
  flex: 1;
}
.nav-pc__list {
  display: flex;
  gap: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}
.nav-pc__item {
  list-style: none;
}
.nav-pc__link {
  position: relative;
  padding: 0.6rem;
  border-radius: 999px;
  transition: 0.25s;
}
/* ホバー */
.nav-pc__link:hover {
  background: #e5eef6;
  color: var(--primary-color);
}

/* SP */
@media (max-width: 1050px) {
  .nav-pc {
    display: none;
  }
  /* PC */
  .large-screen #menubar {
    display: none;
  }

  /* SP開閉 */
  .small-screen #menubar.display-block {
    display: block;
  }
}

/*メニュー１個あたりの設定*/
header nav ul a {
  display: block;
  text-decoration: none;
  text-align: center;
}

/*ヘッダー内メニュー、開閉メニュー、共通のドロップダウン設定
---------------------------------------------------------------------------*/
header nav ul ul,
.small-screen #menubar ul ul {
  animation: opa1 0.5s 0.1s both; /*0.1秒待機後、0.5秒かけてフェードイン表示*/
}

/*ヘッダー内メニューのドロップダウン
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
header nav ul ul {
  position: absolute;
  z-index: 100;
  margin-left: 1rem;
  border: 1px solid var(--primary-color); /*枠線の幅、線種、varは色の指定で冒頭のprimary-colorを読み込みます。*/
}

/*最後のメニュー以外に、下の線を入れる*/
header nav ul ul li:not(:last-child) {
  border-bottom: 1px solid var(--primary-color); /*枠線の幅、線種、varは色の指定で冒頭のprimary-colorを読み込みます。*/
}

/*メニュー１個あたりの設定*/
header nav ul ul a {
  padding: 0.3em 1em; /*上下、左右へのメニュー内の余白*/
  background: var(--white); /*背景色*/
  color: #333; /*文字色*/
}

/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {
  display: none;
}
#menubar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}
#menubar a {
  display: block;
  text-decoration: none;
}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {
  display: none;
}
.small-screen #menubar.display-block {
  display: block;
}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {
  display: none;
}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {
  display: none;
}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
  font-family: bootstrap-icons; /*Bootstrap Iconsを使う指示*/
  content: "\F229"; /*使いたいアイコン名（Bootstrap Icons）をここで指定*/
  margin-right: 0.4em; /*アイコンとテキストとの間に空けるスペース*/
  display: inline-block;
  transform: scale(0.8) translateY(0.1em); /*アイコンを80%にし、0.1文字分下に移動*/
  opacity: 0.7; /*色を70%だけ出す*/
}

/*開閉メニュー
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
  animation: animation1 0.2s both;
  position: fixed;
  overflow: auto;
  z-index: 100;
  inset: 0;
  padding: 100px var(--content-space) 50px; /*ブロック内の余白*/
  background: var(
    --primary-color
  ); /*背景色。css冒頭のprimary-colorを読み込みます。*/
  color: var(--white); /*文字色。css冒頭のprimary-inverse-colorを読み込み。*/
  line-height: 1.5; /*行間を少し狭く*/
  font-size: 1.2rem; /*文字サイズ120%*/
  display: none;
}

/*メニュー１個あたり*/
.small-screen #menubar a {
  display: block;
  text-decoration: none;
  background: var(
    --white
  ); /*背景色。css冒頭のprimary-inverse-colorを読み込み。*/
  color: #333; /*文字色*/
  margin-bottom: 0.5rem; /*下に１文字分のスペースを空ける。メニュー同士の間隔です。*/
  padding: 1rem 2rem; /*メニュー内の余白。上下に１文字分、左右に２文字分。*/
  text-align: left;
}

/*子メニュー*/
.small-screen #menubar ul ul a {
  background: var(--white); /*背景色。冒頭のbg-colorを読み込みます。*/
  color: var(--text); /*文字色。冒頭のbg-inverse-colorを読み込みます。*/
  border: 1px solid var(--text); /*枠線の幅、線種、varは色の指定で冒頭のbg-inverse-colorを読み込みます。*/
  margin-left: 2rem; /*左に空けるスペース*/
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
  display: none; /* デフォルトは非表示 */
  animation: opa1 0s 0.2s both;
  cursor: pointer;
  width: var(--headerH); /*幅。css冒頭のheaderHを読み込みます。*/
  height: var(--headerH); /*高さ。css冒頭のheaderHを読み込みます。*/
  position: fixed;
  z-index: 101;
  right: 0px;
  top: 15px;
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
  background: var(--red);
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
  display: block;
  position: absolute;
  left: 18px;
  transition: 0.3s;
  width: 35px;
  height: 2px; /*線の高さ*/
  background: var(--white); /*線の色*/
  box-shadow: 1px 1px rgba(0, 0, 0, 0.3); /*背景色によってはアイコンが見えなくなるので薄く影を入れる*/
}

#menubar_hdr span:nth-of-type(1) {
  top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
  top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
  top: 44px;
}

/* ハンバーガーメニュー展開時 */
#menubar_hdr.ham span:nth-of-type(1) {
  transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
  opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
  transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
  display: flex;
}

@media screen and (max-width: 1050px) {
  #menubar_hdr {
    width: 70px;
    height: 70px;
    top: 0;
    right: 0;
  }
  #menubar_hdr.ham {
    background: var(--red);
  }
  #menubar_hdr span {
    left: 18px;
    width: 35px;
  }
  #menubar_hdr span:nth-of-type(1) {
    top: 25px;
  }
  #menubar_hdr span:nth-of-type(2) {
    top: 35px;
  }
  #menubar_hdr span:nth-of-type(3) {
    top: 45px;
  }
}

/*main
---------------------------------------------------------------------------*/
main {
  overflow-x: clip; /*stickyを使っているセクションがあるので、hiddenじゃなくclipを使用。古いブラウザは未対応。*/
  min-width: 0; /*slide-thumbnail使用時にブラウザの横スクロールが出ないようにするため*/
}

/*トップページ以外のmain*/
body:not(.home) main {
  margin-top: var(--headerH); /*上にヘッダーの高さ分のスペースを空ける。*/
}

/*h2*/
main h2 {
  font-size: clamp(2rem, 1.79rem + 0.89vw, 2.5rem);
  font-weight: 600;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 0.3rem 0;
  margin-block-start: 0;
  margin-block-end: 0;
  color: var(--secondary-color);
  letter-spacing: 0;
}
main .about h2 {
  color: var(--primary-color);
  text-align: center;
  font-size: clamp(2rem, 1.581rem + 1.77vw, 3rem);
  display: block;
  margin: 2rem auto;
  letter-spacing: 0;
}
main .about h2 span {
  color: var(--accent-color);
  font-size: clamp(2rem, 1.371rem + 2.66vw, 3.5rem);
  letter-spacing: 3px;
}
main .case h2 {
  text-align: center;
  font-size: clamp(1.5rem, 1.081rem + 1.77vw, 2.5rem);
  display: block;
  margin: 0 auto;
  color: var(--primary-color);
  letter-spacing: 0;
}
main .index-contact h2 {
  text-align: center;
  display: block;
  margin: 0 auto 2rem;
  letter-spacing: 0;
}

/*h3*/
main h3 {
  font-size: clamp(1.2rem, 0.949rem + 1.06vw, 1.8rem);
  font-weight: 700;
  margin: 0.5rem 0;
  margin-block-start: 0;
}

/*ページ記事 page_block.php
---------------------------------------------------------------------------*/
.page_block {
  width: 100%;
}
.page_block img {
  width: 100%;
  height: auto;
}
.img_box,
.img_box2 {
  width: 100%;
}
.img_all_box {
  display: block;
  width: 100%;
  margin: auto;
}
.text_contencts {
  flex: 1;
  margin-top: 1rem;
}
.page_text.wrap,
.page_text2.wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 30px;
  flex-direction: column-reverse;
  gap: 3vw;
}
.page_all_text {
  display: block;
  width: 100%;
  text-align: left;
}

@media screen and (min-width: 1000px) {
  .text_contencts {
    margin-top: 0;
  }
  .page_text.wrap {
    flex-direction: column;
  }
  .page_text2.wrap {
    flex-direction: row-reverse;
  }
  .img_box,
  .img_box2 {
    width: 50%;
  }
  .ttl-com_wrap {
    flex: 1;
  }
}

/*ページ内リンク*/
.page-anchor {
  display: block;
  position: relative;
  top: -50px; /* ヘッダ固定分などのオフセット */
  height: 0; /* アンカーそのものは見えない */
  /*  overflow: hidden;*/
}
input.btn-detail,
button.btn-detail {
  padding: 10px !important;
  background: #ededed !important;
  border: 1px solid #747474 !important;
  border-radius: 5px !important;
  margin-top: 1rem;
  cursor: pointer;
}

/*個別設定
---------------------------------------------------------------------------*/
/*****about*****/
.about {
  text-align: center;
}
.about .strong-text {
  font-weight: 600;
  font-size: clamp(1.5rem, 1.374rem + 0.53vw, 1.8rem);
  color: var(--primary-color);
  background: linear-gradient(
    transparent 65%,
    color-mix(in srgb, #ffdf5e 85%, white) 65%
  );
}
.about .bold {
  font-size: clamp(1.3rem, 1.216rem + 0.35vw, 1.5rem);
  font-weight: 500;
  line-height: 3;
}

/*****feature*****/
@media (max-width: 1050px) {
  .feature .page_text2.wrap {
    flex-direction: column;
  }
}
@media screen and (min-width: 769px) and (max-width: 1050px) {
  .feature .img_box2 {
    width: 80%;
    margin: 0 auto;
  }
}

/*Feature番号*/
.feature .section-item .feature-no {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #a0bce3;
  font-size: clamp(2rem, 1.581rem + 1.77vw, 3rem);
}
.feature .section-item .feature-no span {
  font-size: clamp(1rem, 0.79rem + 0.89vw, 1.5rem);
}
/*アナウンスBOX*/
.feature .box {
  border: 1.5px solid var(--primary-color);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 10px;
}
.feature .box-text {
  color: var(--red);
  font-size: clamp(1rem, 0.874rem + 0.53vw, 1.3rem);
  font-weight: 600;
}

/* cta-area
---------------------------------------------------------------------------*/
.cta-area,
.cta-area * {
  box-sizing: border-box;
}
section.ctaArea {
  margin: 0;
}
.cta-area {
  background-color: var(--white);
  margin: auto;
  border-radius: 10px;
  box-shadow: 5px 5px 15px 10px #2b2a2a80;
  width: min(1000px, 100%);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.cta-area .img-area {
  padding: 2rem;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-area .img-area a {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.cta-area .img-area figure {
  width: 60%;
  margin: 0;
}
.cta-area .img-area img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.cta-area .box {
  flex: 1;
  padding: 2rem;
  min-width: 0;
  background: #f2fbfc;
  height: auto;
  clip-path: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  background: #f2fbfc;
}
.cta-area .box .copy-text {
  font-size: clamp(1rem, 0.874rem + 0.53vw, 1.3rem);
  font-weight: 700;
  color: var(--secondary-color);
  margin: 1rem 0;
}
.cta-area .box .contact-button {
  width: clamp(14rem, 9.39rem + 19.51vw, 25rem);
  border-radius: 100px;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--accent-color);
  color: var(--white);
  font-size: clamp(1.2rem, 0.949rem + 1.06vw, 1.8rem);
  font-weight: 700;
}
.cta-area .box .call-number {
  margin: 1rem 0 0;
  text-align: center;
  max-width: 100%;
}
.cta-area .box .call-number .text-md {
  color: var(--secondary-color);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem);
  letter-spacing: 0.05em;
  line-height: 1.25;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  justify-content: flex-start;
}
.cta-area .box .call-number .text-sm {
  font-size: clamp(0.75rem, 0.645rem + 0.44vw, 1rem);
  font-weight: 400;
  display: block;
}
@media (max-width: 767px) {
  .cta-area {
    width: calc(100% - 1rem);
    flex-direction: column;
    margin: 2rem auto;
  }
  .cta-area .box {
    padding: 1rem;
  }
  .cta-area .box .call-number .text-md {
    justify-content: center;
  }
}

/*デモ機var*/
.img-area.demo .btn.LB {
  position: relative;
  margin: 2rem auto 0;
  display: flex;
  justify-content: center;
}
.img-area.demo .btn.LB .limited {
  position: absolute;
  top: -25px;
  right: auto;
  background: #ff5a5a;
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  white-space: nowrap;
  -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}
.img-area.demo .btn.LB .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/*お問合わせ contact3_block.php
---------------------------------------------------------------------------*/
.contact-form-anchor {
  scroll-margin-top: 80px;
}
/*リンク設定*/
a .tel {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}
/* フォーム全体*/
.contact_form .inquiry_form {
  width: 90%;
  margin: 0 auto;
}
.contact_telArea {
  margin-top: 1em;
}
.contact_form .contact_tel_fax {
  margin-bottom: 1em;
}
.contact_form .contact_tel_fax p.txt {
  margin-bottom: 1em;
}
.contact_form .contact_tel_fax .tel {
  font-size: 130%;
  font-weight: bold;
}
.contact_form .text_area {
  text-align: center;
  margin: 1rem 0;
}
.contact_form .contact_mailform {
  margin: 0 auto;
  background: var(--white);
}
.contact_form .big_text_bold {
  text-align: left;
  color: var(--red);
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .contact_form {
    margin: 0 auto;
    max-width: 900px;
  }
  .contact_form .inquiry_form {
    width: 100%;
    font-size: 1rem;
  }
}

/*入力項目ブロック*/
.contact_form .contact_item {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
.contact_form .contact_article {
  font-weight: bold;
  text-align: left;
  padding: 5px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.contact_form .contact_input_area {
  width: 100%;
  text-align: left;
}
.contact_form .contact_input_area .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact_form .contact_input_area .wrap label {
  width: auto;
  margin-right: 1rem;
}
.contact_form .contact_input_area span {
  font-size: 90%;
  font-weight: normal;
}

@media screen and (min-width: 768px) {
  .contact_form .contact_item {
    justify-content: space-around;
    border-bottom: 1px solid #cecece;
  }
  .contact_form .contact_article {
    width: 40%;
  }
  .contact_form .contact_input_area {
    width: 55%;
  }
  .contact_form .contact_input_area .input_space_03 {
    width: 70%;
  }
}

/*入力欄（テキスト・セレクト）*/
.contact_form select {
  margin-right: 1rem;
  line-height: 30px;
  outline: none;
  background: var(--white);
  padding: 0.5rem;
  border: solid 1px #cecece;
  border-radius: 3px;
}
::placeholder {
  color: #acacac;
}
label {
  white-space: nowrap;
  width: 50%;
}
.contact_form .contact_input_area input,
.contact_form .contact_input_area textarea,
.contact_form .contact_input_area button {
  background-color: var(--white);
  border: solid 1px #cecece;
  border-radius: 3px;
  box-sizing: border-box;
}
.contact_form .contact_input_area .input_space_01,
.contact_form .contact_input_area .input_space_02,
.contact_form .contact_input_area .input_space_03 {
  width: 100%;
  padding: 10px;
}
.contact_form .contact_input_area .input_space_03 {
  height: 2em;
}

/* 必須表示 */
.contact_form .need {
  padding: 0.5em;
  font-size: 0.7em;
  color: var(--white);
  background-color: var(--red);
  margin: 0 1em 0 0;
  border-radius: 4px;
  line-height: 1.5;
}

/*ボタン*/
.contact_form input.btn.OR,
.contact_form input.btn.btnGY {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
  padding: 1rem 2rem;
  font-weight: 500;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  min-width: clamp(5rem, 3.743rem + 5.32vw, 8rem);
  font-size: clamp(1.1rem, 1.016rem + 0.35vw, 1.3rem);
  letter-spacing: 1em;
  text-indent: 1em;
}
.contact_form input.btn.btnGY {
  background: #585858;
  border: 1px solid #585858;
  color: var(--white);
}
.contact_form .btnArea_submit {
  margin: 2rem auto;
  text-align: center;
}

.contact_form .btnArea_submit2 {
  clear: both;
  padding-top: 2em;
  flex-wrap: nowrap;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 30px;
  display: flex;
}
/*入力確認ページ*/
dl.contact_confirm {
  display: flex;
  flex-flow: column;
  width: 100%;
  text-align: left;
  padding: 2em 0 0;
}
.contact_confirm dt {
  flex-basis: 35%;
  padding: 10px 20px 0;
  border-bottom: none;
  font-weight: bold;
}
.contact_confirm dd {
  flex-basis: 50%;
  padding: 10px 20px;
  border-bottom: 1px solid #cecece;
}

/*contact2_block.php：旧HTML属性・インラインCSSの置き換え*/
.contact_form .contact-full {
  display: block;
  width: 100%;
}
.contact_form .contact-center {
  text-align: center;
}
.contact_form .contact-action-form {
  margin: 0;
}
.contact_form .contact-error-text {
  color: var(--red);
}
.contact_form .contact-error-message {
  padding-bottom: 40px;
}
.contact_form .contact-captcha-image {
  border: 0;
}
.contact_form .contact-captcha-refresh {
  padding: 10px;
}
.contact_form .contact-captcha-memo {
  width: 100%;
  padding: 10px;
  font-size: 12px;
  text-align: left;
}

@media screen and (min-width: 768px) {
  dl.contact_confirm {
    flex-flow: row wrap;
    justify-content: center;
  }
  .contact_confirm dt {
    border-bottom: 1px solid #cecece;
    padding: 20px;
  }
  .contact_confirm dd {
    padding: 20px;
  }
}

/*フッター
---------------------------------------------------------------------------*/
footer {
  background: #f2fbfc;
  padding: 3rem clamp(1rem, 0.162rem + 3.55vw, 3rem);
}
.footer_inner {
  max-width: 1000px;
  margin: 0 auto 1rem;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 767px) {
  footer {
    padding-bottom: 6rem;
  }
  .footer_inner {
    flex-direction: column;
  }
}

/*-----------------------
 左
-----------------------*/
.footer_brand {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.footer_brand .ttl-area {
  flex-direction: column;
  gap: 1rem;
}
.footer_brand .site-title {
  font-weight: 600;
  padding-bottom: 1rem;
  color: var(--primary-color);
}
.footer_brand .btn.BL {
  margin: 1rem auto;
  margin-left: 0;
  padding: 1rem;
}
.footer_brand .link-wrap {
  margin-top: auto;
}
.footer_brand .cube-img {
  width: 40%;
}
@media (min-width: 768px) and (max-width: 1050px) {
  .footer_brand {
    width: 50%;
  }
}

/*-----------------------
 右
-----------------------*/
.footer_company {
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 0.581rem + 1.77vw, 2rem);
  flex-direction: column;
  font-size: clamp(0.85rem, 0.787rem + 0.27vw, 1rem);
  width: 100%;
}
.footer_company .company-name {
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  line-height: 1.8;
  width: 100%;
}
.footer_company-name {
  display: inline-flex;
  flex-direction: column;
}
.footer_company-name img {
  width: 80%;
}
.footer_company address {
  font-style: normal;
}
.footer_company address span {
  font-weight: 600;
  font-size: 1.3rem;
}
.footer_links {
  justify-content: center;
  gap: 0.5rem;
  flex-direction: column;
}
.footer_links li {
  margin-bottom: 0.5rem;
}
@media (min-width: 1024px) {
  .footer_links {
    flex-direction: row;
  }
}
@media (min-width: 768px) and (max-width: 1050px) {
  .footer_company {
    width: 50%;
  }
}

/*コピーライト*/
.copyright {
  text-align: center;
  margin: 0 auto;
  width: 100%;
  display: block;
  line-height: 2;
  color: #6d6d6d;
  font-size: clamp(0.55rem, 0.445rem + 0.44vw, 0.8rem);
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
  display: block;
}

/*ボタンの設定*/
.pagetop a {
  display: block;
  text-decoration: none;
  text-align: center;
  z-index: 99;
  animation: opa1 1s 0.4s both;
  position: fixed; /*スクロールに追従しない(固定で表示)為の設定*/
  right: 20px; /*右からの配置場所指定*/
  bottom: 100px; /*下からの配置場所指定*/
  color: var(--white); /*文字色*/
  font-size: 1.5rem; /*文字サイズ*/
  background: rgba(
    0,
    0,
    0,
    0.2
  ); /*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
  width: 60px; /*幅*/
  line-height: 60px; /*高さ*/
  border-radius: 50%; /*円形にする*/
}
