@charset "utf-8";

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("slide.css");
@import url("inview.css");
@import url("style_unit.css");

/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
  --primary-color: #333; /*テンプレートのメインまたはアクセントカラー*/
  --primary-inverse-color: #fff; /*上のprimary-colorの対となる色*/

  --space-large: 8vw; /*主に余白の一括管理用。画面幅100%＝100vwです。*/
  --space-small: 2vw; /*主に余白の一括管理用。画面幅100%＝100vwです。*/
}

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

/*全体の設定
---------------------------------------------------------------------------*/
body * {
  box-sizing: border-box;
}

html,
body {
  font-size: 13px; /*基準となるフォントサイズ*/
  height: 100%;
}

/*画面幅1200px以上の追加指定*/
@media screen and (min-width: 1200px) {
  html,
  body {
    font-size: 14px;
  }
} /*追加指定ここまで*/

/*画面幅1600px以上の追加指定*/
@media screen and (min-width: 1600px) {
  html,
  body {
    font-size: 1vw;
  }
} /*追加指定ここまで*/

body {
  margin: 0;
  padding: 0;
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo,
    "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif; /*フォント種類*/
  -webkit-text-size-adjust: none;
  background: #fff; /*背景色*/
  color: var(
    --primary-color
  ); /*文字色。冒頭で指定しているprimary-colorを読み込みます。*/
  line-height: 2; /*行間*/
}

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

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

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

/*videoタグ*/
video {
  max-width: 100%;
}

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

/*input*/
input {
  font-size: 1rem;
}

/*section*/
section {
  padding: var(--space-large);
}

@media screen and (max-width: 767px) {
  section {
    padding-left: 0;
    padding-right: 0;
  }
}

/*ページ共通ヒーロー
---------------------------------------------------------------------------*/
.page-hero {
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.page-hero-title {
  font-size: 2.4rem;
  font-weight: normal;
  color: rgb(236, 236, 236);
  -webkit-text-stroke: 2px rgb(120, 120, 120);
  paint-order: stroke;
}

.page-hero--about {
  background-image: url("../images/site/slide/1.jpeg");
}

.page-hero--activity {
  background-image: url("../images/site/slide/2.jpeg");
}

.page-hero--alliance {
  background-image: url("../images/site/slide/3.jpeg");
}

.page-hero--member-login {
  background-image: url("../images/site/slide/4.jpeg");
}

.page-hero--service {
  background-image: url("../images/site/slide/5.jpeg");
}

.page-hero--faq {
  background-image: url("../images/site/slide/6.jpeg");
}

.page-hero--service-archive {
  background-image: url("../images/site/slide/7.jpeg");
}

.home-slideshow {
  padding-top: 40% !important;
}

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

/*マウスオン時*/
a:hover {
  text-decoration: none; /*下線を消す*/
  opacity: 0.9; /*色を90%だけ出す*/
}

/*container（サイト全体を囲むボックス）
---------------------------------------------------------------------------*/
#container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
  flex-shrink: 0;
  display: flex; /*flexボックスを使う指定*/
  align-items: center; /*垂直揃えの指定。天地中央に配置されるように。*/
  justify-content: space-between;
  height: 60px; /*ヘッダーの高さ*/
}

body:not(.home) header {
  margin-bottom: var(--space-large);
}

/*協議会概要ページ
---------------------------------------------------------------------------*/
.about-greeting {
  width: 50%;
}

.about-greeting-spaced {
  margin: 0 0 20px;
}

.about-greeting-signature {
  margin: 0 0 7px;
}

.about-positioning-image {
  width: 60%;
}

@media screen and (max-width: 767px) {
  .about-greeting {
    width: min(100%, calc(100% - 20vw));
  }
}

/*ロゴ画像*/
#logo img {
  display: block;
}
#logo {
  margin: 0;
  padding: 0;
  width: 12vw; /*ロゴの幅*/
  position: relative;
  z-index: 1;
  left: 4vw; /*左からの配置場所*/
  top: 3vw; /*上からの配置場所*/
}

/*画面幅500px以下の追加指定*/
@media screen and (max-width: 500px) {
  #logo {
    top: 0; /*上からの配置場所*/
    width: 150px; /*ロゴの幅*/
  }
} /*追加設定ここまで*/

/*ヘッダー内メニュー
---------------------------------------------------------------------------*/
/*900px未満では非表示*/
header nav ul {
  display: none;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*メニューブロック全体の設定*/
  header > nav > ul {
    margin-right: 10vw; /*ハンバーガーアイコンに重ならないように余白*/
    display: flex; /*横並びにする*/
  }

  /*メニュー１個あたりの設定*/
  header nav li a {
    display: block;
    text-decoration: none;
    font-size: 0.9rem; /*文字サイズ90%*/
    padding: 0.5rem 1rem; /*メニュー内の余白。上下、左右へ。*/
  }

  /*ドロップダウンメニュー冒頭の矢印アイコン*/
  header nav i {
    padding-right: 0.5rem; /*右に空ける余白*/
  }
} /*追加設定ここまで*/

/*ヘッダー内メニュー、開閉メニュー、共通のドロップダウン設定
---------------------------------------------------------------------------*/
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;
}

/*メニュー１個あたりの設定*/
header nav ul ul a {
  background: rgba(
    255,
    255,
    255,
    0.8
  ); /*背景色。255,255,255は白のことで0.8は色が80%出た状態。*/
  padding: 0.3em 1em; /*上下、左右へのメニュー内の余白*/
  margin-top: 4px; /*上に空けるスペース。ドロップダウン同士の隙間。*/
  border: 1px solid var(--primary-color); /*枠線の幅、線種、varは色の指定で冒頭のparimary-colorを読み込みます。*/
}

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

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {
  display: block;
}
.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: "Font Awesome 6 Free"; /*Font Awesomeを使う指示*/
  content: "\f078"; /*使いたいアイコン名（Font Awesome）をここで指定*/
  font-weight: bold; /*この手の設定がないとアイコンが出ない場合があります*/
  margin-right: 0.5em; /*アイコンとテキストとの間に空けるスペース*/
}

/*開閉メニュー
---------------------------------------------------------------------------*/
/*animation1のキーフレーム設定*/
@keyframes animation1 {
  0% {
    right: -100vw;
  }
  100% {
    right: 0px;
  }
}

/*メニューブロック設定*/
.small-screen #menubar.display-block {
  position: fixed;
  overflow: auto;
  z-index: 100;
  right: 0px;
  top: 0px;
  max-width: 800px;
  height: 100%;
  padding: 90px 10vw 50px; /*ブロック内の余白。上、左右、下への順番。*/
  background: var(--primary-color); /*背景色*/
  color: var(--primary-inverse-color); /*文字色*/
  animation: animation1 0.2s both; /*animation1を実行する。0.2sは0.2秒の事。*/
}

/*子メニューの設定*/
.small-screen #menubar ul ul {
  margin: 2rem; /*外側に空けるスペース。２文字分。*/
}

/*メニュー１個あたりの設定*/
.small-screen #menubar nav ul li {
  border: 1px solid #fff; /*枠線の幅、線種、色。*/
  margin: 1rem 0; /*メニューの外側に空けるスペース。上下、左右への順番。*/
  border-radius: 5px; /*角を丸くする指定*/
}
.small-screen #menubar a {
  color: inherit;
  padding: 1rem 2rem; /*メニュー内の余白。上下、左右へ。*/
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
  animation: opa1 0.3s 0.5s both;
  position: fixed;
  z-index: 101;
  cursor: pointer;
  top: 0; /*上からの配置場所*/
  right: calc(var(--space-small) + 5px); /*右からの配置場所*/
  width: 60px; /*幅*/
  height: 60px; /*高さ。基本的にheaderの高さに合わせておけばOKです。*/
  padding: 20px 0; /*ここの20pxの数字を変更すると2本のバーの上下間のバランス調整ができます*/
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s;
  mix-blend-mode: exclusion;
}

/*マウスオン時だけmix-blend-modeを無効に*/
#menubar_hdr.ham {
  mix-blend-mode: normal;
}

/*バーの設定*/
#menubar_hdr div span {
  display: block;
  width: 100%;
  height: 1.5px; /*線の太さ*/
  background-color: #fff; /*本来は線の色なのですが、mix-blend-modeを使っているので背後の色に合わせて変動します。変動したくないなら#menubar_hdrのmix-blend-modeの行を削除して下さい。*/
  transition: all 0.5s ease-in-out;
  position: absolute;
}

/*以下変更不要*/
#menubar_hdr div {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#menubar_hdr div span:nth-child(1) {
  top: 0;
}
#menubar_hdr div span:nth-child(2) {
  bottom: 0;
}
#menubar_hdr.ham div span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
#menubar_hdr.ham div span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/*アイコンの下の余白*/
#btn-special i {
  padding-bottom: 1rem;
}

/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
main {
  flex: 1 0 auto;
  padding: 6vw 0 0; /*上、左右、下への余白。画面幅100%＝100vwです。*/
}

/*h2見出し（共通）*/
main h2 {
  margin: 0;
  padding: 0;
  font-size: 2.4rem; /*文字サイズ。240%。*/
  font-weight: normal; /*h要素のデフォルトの太字を標準に*/
  margin-bottom: 5vw; /*下にスペースを空ける*/
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}
main h2.c {
  align-items: center; /*見出しをセンタリングする場合*/
}

/*h2見出しのサブテキスト（sub-text）*/
main h2 span.sub-text {
  display: inline-block;
  border-top: 1px solid var(--primary-color); /*上の線の幅、線種、varは色のことで冒頭のprimary-colorを読み込みます。*/
  font-size: 0.9rem; /*文字サイズ80%*/
  opacity: 0.6; /*透明度。色が60%出た状態。*/
  letter-spacing: 0.1rem; /*文字間隔を少しだけ広く*/
  padding-top: 2rem; /*上に空ける余白。ラインとの間の余白調整です。お好みで。*/
}

/*見出し上のラインを消すスタイル*/
main h2.no-line span.sub-text {
  border: none;
  padding-top: 0;
}

/*h3見出し（共通）*/
main h3 {
  font-weight: 600;
  font-size: 1.4rem; /*文字サイズ140%*/
}

/*ページ上部へ戻るボタン
---------------------------------------------------------------------------*/
.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 56px;
  height: 56px;
  padding: 0 1rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(51, 51, 51, 0.92);
  color: #fff;
  text-decoration: none;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  touch-action: manipulation;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
}

.pagetop:hover {
  background: rgba(51, 51, 51, 0.82);
}

.pagetop.pagetop-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.pagetop:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.pagetop-icon {
  font-size: 1rem;
}

.pagetop-text {
  font-size: 0.8rem;
}

@media screen and (max-width: 767px) {
  .pagetop {
    right: 12px;
    bottom: 12px;
    width: 52px;
    min-width: 52px;
    height: 52px;
    padding: 0;
  }

  .pagetop {
    right: calc(12px + env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .pagetop-text {
    display: none;
  }
}

/*フッター設定
---------------------------------------------------------------------------*/

footer {
  background: var(
    --primary-inverse-color
  ); /*背景色。冒頭のprimary-colorを読み込みます。*/
  color: var(
    --primary-color
  ); /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
  font-size: 0.85rem; /*文字サイズ85%*/
  padding: 2vw; /*余白*/
  container-type: inline-size;
}

#footer-logo {
  width: 20rem;
}

@container (width < 768px) {
  #footer-logo {
    width: 14rem;
  }
}

.pr {
  text-decoration: none;
  display: block;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  padding: 0.3rem;
  color: #ccc;
  font-size: 0.6rem;
}

/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
.icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-self: center;
  gap: 1rem; /*アイコン同士のマージン的な要素。１文字分。*/
}
.icons i {
  font-size: 30px; /*アイコンサイズ*/
}

/*お知らせブロック
---------------------------------------------------------------------------*/
/*ブロック全体*/
.new {
  display: grid; /*gridを使う指定*/
  grid-template-columns: auto 1fr; /*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
  max-width: 700px; /*最大幅*/
  margin: 0 auto;
}

@container (width < 768px) {
  .new {
    padding-left: var(--space-small);
    padding-right: var(--space-small);
  }
}
/*日付、記事（共通）*/
.new dt,
.new dd {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /*下線の幅、線種、0,0,0は黒のことで0.1は色が10%出た状態。*/
  padding-top: 2rem; /*上の余白*/
  padding-bottom: 2rem; /*下の余白*/
}

/*日付*/
.new dt {
  padding-right: 4rem; /*右の余白*/
}

@container (width < 768px) {
  .new dt {
    padding-right: 2rem; /*右の余白*/
  }
}

@container (width < 576px) {
  .new dt {
    padding-right: 1rem; /*右の余白*/
  }
}

/*よく頂く質問ブロック
---------------------------------------------------------------------------*/
/*faqブロック全体*/
.faq {
  background: #5e5c5a; /*背景色*/
  color: #fff; /*文字色*/
  position: relative;
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  .faq {
    display: flex;
    flex-direction: row-reverse; /*左右の並びをデフォルトと逆に*/
    justify-content: space-between;
  }
} /*追加指定ここまで*/

/*faq内のh2見出し*/
.faq h2 {
  margin: 0;
  padding: 0;
  font-size: 2rem; /*文字サイズを2倍*/
  font-weight: 200; /*文字を細く*/
  letter-spacing: 0.4em; /*文字間隔を広くする*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  /*faq内のh2見出し*/
  .faq h2 {
    writing-mode: vertical-lr; /*日本語は縦書き。英語は90度回転。*/
    margin-right: 18vw; /*右側に画面18%程度のスペースを空ける。そこに英語の飾り文字を入れる為。*/
  }
} /*追加指定ここまで*/

/*右側の英語の飾り文字*/
.faq h2 .kazari {
  line-height: 1;
  font-size: 0.9rem; /*文字サイズ90%*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  /*右側の英語の飾り文字*/
  .faq h2 .kazari {
    font-size: 20vw; /*文字サイズ*/
    position: absolute;
    right: 0px;
    top: var(--space-large);
    color: rgba(
      255,
      255,
      255,
      0.05
    ); /*文字色。255,255,255は白のことで、0.05は色が5%出た状態。*/
  }
} /*追加指定ここまで*/

/*質問*/
.faq dt {
  font-size: 1.3rem; /*文字サイズ130%*/
  border-top: 1px solid rgba(255, 255, 255, 0.2); /*上の線の幅、線種、色。255,255,255は白のことで、0.2は色が20%出た状態。*/
  padding: 2rem 0 1rem 0; /*上、右、下、左への余白*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  .faq dt {
    padding: 2rem 2rem 1rem 2rem; /*上、右、下、左への余白*/
  }
} /*追加指定ここまで*/

/*回答*/
.faq dd {
  padding: 0 0 2rem 0; /*上、右、下、左への余白*/
  font-size: 0.9rem; /*文字サイズ90%*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  .faq dd {
    padding: 0 2rem 2rem 2rem; /*上、右、下、左への余白*/
  }
} /*追加指定ここまで*/

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  /*左側のテキストブロック*/
  .faq .text {
    width: 50%; /*幅*/
  }
} /*追加指定ここまで*/

/*list-yoko-scroll（お客様の声）
---------------------------------------------------------------------------*/
.list-yoko-scroll * {
  margin: 0;
  padding: 0;
}

/*横スクロールブロック全体*/
.list-yoko-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox用 */
  scroll-snap-type: x mandatory; /* スナップスクロールを有効にする */
  margin-right: calc(
    -1 * var(--space-large)
  ); /*右マージンをなくす為にネガティブマージンで相殺*/
  padding-bottom: 3vw; /*下に空ける余白*/
}
.list-yoko-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge用 */
}

/*ブロック内の１個あたり*/
.list-yoko-scroll .list {
  width: 60%; /*ブロック１個の幅。お好みで変更して下さい。*/
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 1rem; /*ブロック内の余白。1文字分。*/
  position: relative;
  display: flex;
  flex-direction: column;
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  /*ブロック内の１個あたり*/
  .list-yoko-scroll .list {
    width: 28%; /*ブロック１個の幅。お好みで変更して下さい。*/
    padding: 2rem; /*ブロック内の余白。２文字分。*/
  }
} /*追加指定ここまで*/

/*テキストブロックが高さを目一杯とる指定*/
.list-yoko-scroll .list .text {
  flex: 1;
}

/*ブロックのカギカッコ（共通）*/
.list-yoko-scroll .list::before,
.list-yoko-scroll .list::after {
  content: "";
  position: absolute;
  width: 30px; /*カギカッコの幅。お好みで。*/
  height: 10px; /*カギカッコの高さ。お好みで。*/
  border: 0.5px solid var(--primary-color); /*線の幅、線種、varは色のことで冒頭のprimary-colorを読み込みます。*/
}

/*左上のカギカッコへの追加指示*/
.list-yoko-scroll .list::before {
  left: 0px; /*左からの配置場所*/
  top: 0px; /*上からの配置場所*/
  border-right: none; /*右の線を消す*/
  border-bottom: none; /*下の線を消す*/
}

/*右上のカギカッコへの追加指示*/
.list-yoko-scroll .list::after {
  right: 0px; /*右からの配置場所*/
  bottom: 0px; /*下からの配置場所*/
  border-top: none; /*上の線を消す*/
  border-left: none; /*左の線を消す*/
}

/*faq内のh4見出し（「とても満足です。」のところ）*/
.list-yoko-scroll h4 {
  margin-bottom: 1rem; /*下に１文字分のスペースを空ける*/
}

/*faq内のp段落（「とても満足です。」の下のテキスト）*/
.list-yoko-scroll p {
  font-size: 0.9rem; /*文字サイズを90%に*/
}

/*お客様の名前*/
.list-yoko-scroll .name {
  text-align: right; /*右に寄せる*/
}

/*お客様の写真*/
.list-yoko-scroll .name img {
  width: 50px; /*幅*/
  height: 50px; /*高さ*/
  object-fit: cover;
  object-position: center;
  border-radius: 50%; /*円形にする。この１行を削除すれば正方形になります。*/
  margin-left: 20px; /*写真の左に空けるスペース*/
}

/*トップページのメッセージセクション
---------------------------------------------------------------------------*/
.home-statement__content {
  width: 50%;
  position: relative;
  color: #222;
}

.home-statement__content--clipped {
  overflow: hidden;
}

.home-statement__title {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.home-statement__body {
  margin-top: 3rem;
}

.home-statement__text {
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.home-statement__text--compact,
.home-statement__founders-label,
.home-statement__founders {
  font-size: 1rem;
}

.home-statement__text--lead {
  font-size: 1.2rem;
}

.home-statement__text p {
  margin: 0 0 14px;
}

.home-statement__text p:last-child {
  margin-bottom: 0;
}

.home-statement__date {
  margin: 0;
}

.home-statement__founders {
  display: grid;
  grid-template-columns: 15% minmax(0, 1fr) 25% 20%;
  grid-template-areas:
    "role group group group"
    "role company1 title1 name1"
    "role company2 title2 name2";
  row-gap: 0.35rem;
}

.home-statement__founder-role {
  grid-area: role;
  display: flex;
  align-items: center;
}

.home-statement__founder-group {
  grid-area: group;
}

.home-statement__founder-company--first {
  grid-area: company1;
}

.home-statement__founder-company--second {
  grid-area: company2;
}

.home-statement__founder-title {
  text-align: right;
  padding-right: 0.5rem;
}

.home-statement__founder-title--first {
  grid-area: title1;
}

.home-statement__founder-title--second {
  grid-area: title2;
}

.home-statement__founder-name--first {
  grid-area: name1;
}

.home-statement__founder-name--second {
  grid-area: name2;
}

.home-statement__signature {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: end;
}

.home-statement__signature-name {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 1.2rem;
  line-height: 1.2;
}

@media screen and (max-width: 1200px) {
  .home-statement__content {
    width: 62%;
  }
}

@media screen and (max-width: 900px) {
  .home-statement__content {
    width: 76%;
  }

  .home-statement__founders {
    grid-template-columns: 18% minmax(0, 1fr) 24% 18%;
    column-gap: 0.5rem;
  }
}

@media screen and (max-width: 767px) {
  .home-statement__content {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .home-statement__title {
    font-size: 1.25rem;
    text-underline-offset: 6px;
  }

  .home-statement__body {
    margin-top: 2rem;
  }

  .home-statement__text--compact,
  .home-statement__founders-label,
  .home-statement__founders {
    font-size: 0.9rem;
  }

  .home-statement__text--lead {
    font-size: 1rem;
  }

  .home-statement__founders {
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    grid-template-areas:
      "role role role"
      "group group group"
      "company1 title1 name1"
      "company2 title2 name2";
    column-gap: 0.5rem;
    row-gap: 0.35rem;
  }

  .home-statement__founder-role {
    margin-bottom: 0.5rem;
  }

  .home-statement__founder-title {
    text-align: right;
    padding-right: 0;
  }

  .home-statement__signature {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .home-statement__signature-name {
    align-items: center;
    text-align: center;
    font-size: 1.1rem;
  }

  .home-statement__signature-logo {
    max-width: 220px;
    margin: 0 auto;
  }
}

/*list1（企業理念コーナー）
---------------------------------------------------------------------------*/

/*１枚目の写真*/
.list1.image1 {
  background: url("../images/site/slide/1.jpeg") no-repeat center center / cover;
}

/*２枚目の写真*/
.list1.image2 {
  background: url("../images/site/slide/2.jpeg") no-repeat center center / cover;
}

/*３枚目の写真*/
.list1.image3 {
  background: url("../images/site/slide/3.jpeg") no-repeat center center / cover;
}

/*４枚目の写真*/
.list1.image4 {
  background: url("../images/site/slide/4.jpeg") no-repeat center center / cover;
}

/*５枚目の写真*/
.list1.image5 {
  background: url("../images/site/slide/5.jpeg") no-repeat center center / cover;
}

/*６枚目の写真*/
.list1.image6 {
  background: url("../images/site/slide/6.jpeg") no-repeat center center / cover;
}

/*ボックス１個あたり*/
.list1 {
  padding: var(
    --space-large
  ); /*ボックス内の余白。冒頭のspace-largeを読み込みます。*/
  position: relative;
  overflow-x: hidden;
  margin-bottom: 1vw; /*下に空けるスペース。ボックス同士の隙間です。*/
}

/*マウスオン用のアニメーション*/
.list1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.6
  ); /*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
  transition: transform 0.5s 0.1s; /*アニメーションの速度（0.5秒）と待機時間（0.1秒）。*/
}
.list1:hover::before {
  transform: translateX(
    100%
  ); /*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}

/*テキストブロック*/
.list1 .text {
  position: relative;
  z-index: 1;
  width: 80%; /*幅*/
  height: 100%;
  color: #fff; /*文字色*/
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /*テキストの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.3は色が30%出た状態。*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  /*テキストブロック*/
  .list1 .text {
    width: 40%; /*幅*/
  }
} /*追加指定ここまで*/

/*テキストの配置場所を入れ替えたい場合のスタイル。*/
.list1 .text.reverse {
  margin-left: auto;
}

/*list1内のh3見出し*/
.list1 h3 {
  margin: 0;
  padding: 0;
  font-weight: normal; /*h要素のデフォルトの太字を標準に*/
  position: relative;
  font-size: 2rem; /*文字サイズを200%*/
  letter-spacing: 0.1rem; /*文字間隔を少しだけ広く*/
  line-height: 1.2; /*行間を狭くする*/
}

/*list1内のh3見出し内の１文字目の大きな文字*/
.list1 h3 .large {
  font-size: 7rem; /*文字サイズを7倍*/
}

/*見出しの右上にある英語の小さな文字*/
.list1 h3 span:not(.large) {
  font-size: 1rem; /*文字サイズを標準に戻す*/
  opacity: 0.5; /*透明度50%*/
  position: absolute;
  right: 0px; /*右からの配置場所*/
  top: 0px; /*上からの配置場所*/
}

/*list-grid1（３カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {
  margin: 0;
  padding: 0;
}

/*ボックス１個あたり*/
.list-grid1 .list {
  display: grid;
  margin-bottom: 2rem; /*ボックスの下に空けるスペース*/
}

/*ボックス内のp要素*/
.list-grid1 .list p {
  font-size: 0.85rem; /*文字サイズを85%に*/
  line-height: 1.5; /*行間を狭くする*/
}

/*ボックス１個あたり*/
.list-grid1 .list {
  padding: 1rem; /*ボックス内の余白。１文字分。*/
  background: #fff; /*背景色*/
  color: #111; /*文字色*/
  grid-template-rows: auto 1fr auto; /*１つ目（この場合はfigure要素のサイズ）と「詳しくみる」ボタンの高さは自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1); /*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure {
  margin: -1rem; /*画像を枠いっぱいに表示させる為に上の「.list-grid1 .list」のpadding分をネガティブマーインで指定*/
  margin-bottom: 0.5rem; /*画像の下に空けるスペース*/
}

/*画面幅800px以上の追加指定*/
@media screen and (min-width: 800px) {
  /*listブロック全体を囲むブロック*/
  .list-grid1 {
    display: grid;
    grid-template-columns: repeat(
      3,
      1fr
    ); /*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
    gap: 3vw; /*ブロックの間に空けるマージン的な指定*/
  }

  /*ボックス１個あたり*/
  .list-grid1 .list {
    margin-bottom: 0; /*下に空けるスペースをなくす*/
  }
} /*追加指定ここまで*/

/*縦書き用の設定
---------------------------------------------------------------------------*/
/*ボックス全体*/
.title-bg {
  display: flex; /*flexボックスを使う指定*/
  justify-content: center; /*並びかたの種類の指定*/
}

/*ボックス内のh2*/
.title-bg h2 {
  font-weight: normal; /*h要素のデフォルトの太字を標準に*/
  display: flex; /*flexボックスを使う指定*/
  flex-direction: column; /*縦並びにする指定*/
  align-items: center; /*垂直揃えの指定。天地中央に配置されるように。*/
  padding-bottom: 3vw;
}

/*縦書きにする指定*/
.title-bg h2 .tate {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 2rem;
}

/*横書きで使う際の指定。※縦書きを横書きにする為の指定ではないのでご注意下さい。*/
.title-bg h2 .yoko {
  font-size: 0.9rem; /*文字サイズ90%*/
  margin-bottom: 3vw; /*下に空けるスペース*/
  letter-spacing: 0.1rem; /*文字間隔を少しだけ広く*/
  opacity: 0.5; /*透明度50%*/
}

/*ボタン
---------------------------------------------------------------------------*/
/*btn1、btn2共通*/
.btn1 a,
.btn2 a {
  display: block;
  text-decoration: none;
  padding: 0.8rem 2rem; /*上下、左右へのボタン内の余白*/
  margin-top: 2rem; /*ボタンの上に2文字分のスペースを空ける*/
  text-align: center; /*テキストをセンタリング*/
  letter-spacing: 0.1em; /*文字間隔を少しだけ広く*/
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1); /*ボタンの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.1は色が10%出た状態*/
}
/*マウスオン時（btn1、btn2共通）*/
.btn1 a:hover,
.btn2 a:hover {
  letter-spacing: 0.2rem; /*文字間隔を少し広げる*/
  box-shadow: none; /*ボタンの影を消す*/
}

/*btn1への追加設定*/
.btn1 a {
  color: var(--primary-color); /*文字色。冒頭のprimary-colorを読み込みます。*/
  background: var(
    --primary-inverse-color
  ); /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/*btn2への追加設定*/
.btn2 a {
  color: #fff; /*文字色*/
  border: 1px solid #fff; /*枠線の幅、線種、色*/
}
/*list1内のbtn2の設定。マウスオン時にボタンの背景色を追加。*/
.list1:hover .btn2 a {
  background: rgba(
    0,
    0,
    0,
    0.8
  ); /*背景色。0,0,0は黒のことで0.8は色が80%出た状態。*/
}

/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
  font-weight: bold; /*太字に*/
  padding: 0.5rem 1rem; /*ボックス内の余白*/
  background: var(--primary-color); /*背景色*/
  color: var(--primary-inverse-color); /*文字色*/
  margin-bottom: 1rem; /*下に空けるスペース*/
  border-radius: 5px; /*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
  table-layout: fixed;
  border-top: 1px solid var(--primary-color); /*テーブルの一番上の線。幅、線種、色*/
  width: 100%; /*幅*/
  margin-bottom: 5rem; /*テーブルの下に空けるスペース。5文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
  border-bottom: 1px solid var(--primary-color); /*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th,
.ta1 td {
  padding: 0.5rem; /*ボックス内の余白*/
  word-break: break-all; /*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
  width: 30%; /*幅*/
  text-align: left; /*左よせにする*/
  background: #eee; /*背景色*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*th（左側）のみの設定*/
  .ta1 th {
    width: 20%; /*幅*/
  }
} /*追加指定ここまで*/

/*調整用スタイル
---------------------------------------------------------------------------*/
/*並べ替え*/
.order1 {
  order: 1; /*orderは数字の小さな順番に並びます。デフォルトは0なので、それより後ろに表示させたいブロックに使います。（※flex内で使用）*/
}

.padding0 {
  padding: 0 !important;
}
.padding-bottom0 {
  padding-bottom: 0 !important;
}
.padding-lr0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/*左右の余白*/
.space-small {
  padding-left: var(--space-small);
  padding-right: var(--space-small);
}

/*追加*/
.btn1 {
  appearance: none;
  border: 1px solid var(--primary-color);
  background: #fff;
  color: var(--primary-color);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: 0.3s;
}

.btn1:hover,
.btn1:focus-visible {
  background: #e3e3e3;
  outline: none;
}

.btn1.is-active {
  background: var(--primary-color);
  color: var(--primary-inverse-color);
}

/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.color-check,
.color-check a {
  color: #ff0000 !important;
}
.l {
  text-align: left !important;
}
.c {
  text-align: center !important;
}
.r {
  text-align: right !important;
}
.ws {
  width: 95%;
  display: block;
}
.wl {
  width: 95%;
  display: block;
}
.mb0 {
  margin-bottom: 0px !important;
}
.mb30 {
  margin-bottom: 30px !important;
}
.look {
  line-height: 1.5 !important;
  display: inline-block;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  margin: 5px 0;
  word-break: break-all;
}
.small {
  font-size: 0.75em;
}
.large {
  font-size: 2em;
  letter-spacing: 0.1em;
}
.pc {
  display: none;
}
.dn {
  display: none !important;
}
.block {
  display: block !important;
}
.bg1 {
  background: #565c66;
  color: #fff;
}
.bg1 a {
  color: inherit;
}
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  .ws {
    width: 48%;
    display: inline;
  }
  .sh {
    display: none;
  }
  .pc {
    display: block;
  }
} /*追加指定ここまで*/
