@charset "utf-8";

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Tokumin&display=swap');

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

/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
  --primary-color: #b70100; /*テンプレートのメインとなる色*/
  --primary-inverse-color: #fff; /*primary-colorの対として使う色*/

  --accent-color: #ff8808; /*テンプレートのアクセントとなる色*/
  --accent-inverse-color: #fff; /*accent-colorの対として使う色*/

  --content-space: 2rem; /*余白の一括管理用。2rem＝２文字分。*/
}

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

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

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

body {
  margin: 0;
  padding: 0;
  /*font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;*/ /*フォント種類（ゴシック）*/
  font-family: "Zen Old Mincho", serif;
  -webkit-text-size-adjust: none;
  background: #fff; /*背景色*/
  color: #333; /*文字色*/
  line-height: 1.7; /*行間*/
  overflow-x: hidden;
}

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

/*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 {
  font-size: 1rem;
}
section > ol,
section > ul {
  margin-left: 2rem;
}

/*section*/
section:not(:first-child) {
  margin-top: 4rem; /*sectionの上に4文字分のマージンを空ける*/
  margin-bottom: 6rem; /*sectionの下に6文字分のマージンを空ける*/
}
main section:first-child h2 {
  margin-top: 0;
}

/*文字サイズの設定。
もしデフォルトを「大」にしたい場合は、jsフォルダのmain.jsを開き「文字サイズ変更ボタン」のコメントを読んで下さい。
---------------------------------------------------------------------------*/
/*「大」ボタンを押した時の文字サイズ*/
html.f-large {
  font-size: 28px;
}

/*「小」ボタンを押した時の文字サイズ*/
html.f-small {
  font-size: 16px;
}

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

/*マウスオン時*/
a:hover {
  filter: brightness(1.1); /*少しだけ明るくする*/
}

/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
  overflow-x: hidden;
  position: relative;
  animation: opa1 0.2s 0.4s both; /*0.4秒待機後、0.2秒かけてフェードイン*/
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  border-top: 3px solid var(--primary-color); /*上の線の幅、線種、var以降は色のことで冒頭のprimary-colorを読み込みます。*/
}

/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header a {
  color: inherit;
}
header {
  padding: 1rem 250px 1rem var(--content-space); /*上、右、下、左へのヘッダー内の余白。var(--content-space)は、冒頭のcontent-spaceを読み込みます。*/
  display: flex; /*内容を横並びに*/
  align-items: center;
  flex-wrap: wrap; /*自動で改行させる*/
  gap: 0 1rem; /*内容の間に空けるスペース。上下、左右への順番。*/
}

/*main.jsの冒頭にある「ここがブレイクポイント指定箇所です」の行で設定しているサイズ未満の時のヘッダー右側に余白。ハンバーガーアイコンの確保。*/
body.small-screen header {
  padding-right: 80px;
}

/*ロゴ（※画像の場合）*/
#logo img {
  display: block;
  width: 200px; /*ロゴの幅*/
}

/*ロゴ（※テキストの場合）*/
#logo a {
  text-decoration: none;
}
#logo {
  width: auto;
  font-size: 1.4rem; /*文字サイズ。140%*/
}

/*ヘッダーの「問い合わせ」「見学申し込み」ボタンブロック
---------------------------------------------------------------------------*/
/*ボタンを囲むボックス*/
.btn-box {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column; /*小さな端末では縦並び*/
  gap: 0.5rem; /*ボタン同士に空けるマージン的なスペース*/
}

/*ボタン１個あたり*/
.btn-box a {
  display: inline-block;
  text-decoration: none;
  background: var(--accent-color); /*背景色。冒頭のaccent-colorを読み込みます。*/
  color: var(--accent-inverse-color); /*文字色。冒頭のaccent-inverse-colorを読み込みます。*/
  padding: 0.5rem 1rem; /*上下に0.5文字分、左右に1文字分の余白*/
  border-radius: 5px; /*角を少しだけ丸くする*/
}

/*画面500px以上の追加指定*/
@media screen and (min-width: 500px) {
  /*ボタンを囲むボックス*/
  .btn-box {
    flex-direction: row; /*横並びに変更*/
  }
} /*追加指定ここまで*/

/*画面600px以上の追加指定*/
/*@media screen and (min-width: 600px) {
  .btn-box a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
    margin-right: 0.8em;
    display: inline-block;
    transform: scale(1.4);
    opacity: 0.5;
  }
*/

  /*1つ目ボタンで使うアイコン*/
/*  .btn-box li:nth-of-type(1) a::before {
    content: "\f16d";
  }
*/

  /*２つ目ボタンで使うアイコン*/
/*
  .btn-box li:nth-of-type(2) a::before {
    content: "\f1e5";
  }
*/
} /*追加指定ここまで*/

/*文字サイズ変更ボタン
---------------------------------------------------------------------------*/
/*ボタンブロック全体*/
#f-size {
  background: #fff; /*背景色*/
  color: #555; /*文字色*/
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2); /*影の設定。右へ、下へ、ぼかし幅。rgbaは色設定で0,0,0は黒。0.2は20%色がついた状態の事。*/
  border-radius: 0px 0px 5px 5px; /*角丸のサイズ。左上、右上、右下、左下への順。*/
  display: flex; /*flexボックスを使う指定*/
  align-items: center; /*垂直揃えの指定。天地中央に配置されるように。*/
  padding: 10px 15px; /*ブロック内の余白。上下、左右へ。*/
  position: absolute;
  right: var(--content-space); /*右からの配置場所指定。css冒頭のcontent-spaceを読み込みます。*/
  top: 0px; /*上からの配置場所指定。*/
}

/*jsで指定しているブレイクポイント以下では非表示にする*/
body.small-screen #f-size {
  display: none !important;
}

/*「文字サイズ」のテキスト*/
#f-size p {
  margin: 0;
  margin-right: 10px; /*右側に空けるスペース。ボタンとの間にとるスペースです。*/
  font-size: 0.85rem; /*文字サイズ*/
}

/*「小」「大」を囲むブロック*/
#f-size ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; /*flexボックスを使う指定*/
  align-items: center; /*垂直揃えの指定。天地中央に配置されるように。*/
}

/*「小」ボタン設定*/
#f-size ul li#f-small::before {
  display: block;
  content: "小"; /*「小」の文字を出力*/
  font-size: 16px; /*文字サイズ*/
  width: 40px; /*幅*/
  line-height: 40px; /*高さ*/
  text-align: center; /*内容をセンタリング*/
  background: #eee; /*背景色*/
}
#f-size ul li#f-small {
  margin-right: 5px; /*右側に空けるスペース。「大」との間の隙間です。*/
}

/*「大」ボタン設定*/
#f-size ul li#f-large::before {
  display: block;
  content: "大"; /*「大」の文字を出力*/
  font-size: 30px; /*文字サイズ*/
  width: 50px; /*幅*/
  line-height: 50px; /*高さ*/
  text-align: center; /*内容をセンタリング*/
  background: #eee; /*背景色*/
}

/*選択中の設定*/
#f-size li#f-large.current::before,
#f-size li#f-small.current::before {
  background: var(--primary-color); /*背景色。冒頭のprimary-colorを読み込みます。*/
  color: var(--primary-inverse-color); /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/*マウスオン時にリンクテキストと同じような手のマークが出るように*/
#f-size li {
  cursor: pointer;
}

/*大きな端末・小さな端末メニュー共通
---------------------------------------------------------------------------*/
/*英語表記（小さな文字）*/
#menubar span {
  display: block;
  font-size: 0.8rem; /*文字サイズ80%*/
  opacity: 0.5; /*透明度50%*/
}

/*大きな端末で見たメニュー。main.jsの冒頭にある「ここがブレイクポイント指定箇所です」が基準。
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
  display: flex;
  justify-content: space-between;
  line-height: 1.8; /*行間を少し狭く*/
  font-size: 1.2rem; /*文字サイズを少し大きく*/
  border-top: 1px solid #ccc; /*上の線の幅、線種、色*/
  border-bottom: 1px solid #ccc; /*下の線の幅、線種、色*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
  flex: 1;
  position: relative; /*ドロップダウンの幅となる基準を作っておく*/
  text-align: center; /*テキストをセンタリング*/
}
.large-screen #menubar li a {
  display: block;
  text-decoration: none;
  height: 100%; /*ドロップダウンを使う場合の隙間を埋める*/
  padding: 0.5rem; /*メニュー内の余白*/
  background: #fff; /*背景色*/
}

/*current（現在表示中メニュー）*/
.large-screen #menubar li.current a {
  background: var(--primary-color); /*背景色。冒頭のprimary-colorを読み込みます。*/
  color: var(--primary-inverse-color); /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
.large-screen #menubar ul ul {
  position: absolute;
  z-index: 100;
  width: 100%;
  animation: opa1 0.5s 0.1s both; /*0.1秒待機後、0.5秒かけてフェードイン表示*/
  border: 1px solid #ccc; /*枠線の幅、線種、色*/
  border-top: none; /*上の線だけ非表示に*/
}
.large-screen #menubar ul ul li a {
  border-top: 1px solid #ccc; /*上の線の幅、線種、色。*/
}

/*小さな端末で見たメニュー。main.jsの冒頭にある「ここがブレイクポイント指定箇所です」が基準。
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
  display: none;
  animation: animation1 0.2s both;
  position: fixed;
  overflow: auto;
  z-index: 100;
  right: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  padding: 100px var(--content-space) 50px; /*ブロック内の余白。上に100px、左右についてはcss冒頭のcontent-spaceを読み込む、下に50px。*/
  background: var(--primary-color); /*背景色。冒頭のprimary-colorを読み込みます。*/
  color: var(--primary-inverse-color); /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/*メニュー１個あたり*/
.small-screen #menubar a {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #fff; /*枠線の幅、線種、色*/
  margin-bottom: 1rem; /*下に１文字分のスペースを空ける。メニュー同士の間隔です。*/
  padding: 1rem 2rem; /*メニュー内の余白。上下に１文字分、左右に２文字分。*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
  border: none;
  padding: 0;
  margin-left: 3.8rem; /*左に空けるスペース*/
}

/*ドロップダウンのアイコン*/
a.ddmenu::before {
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  content: "\f078"; /*このアイコンを使う*/
  margin-right: 0.5em; /*アイコンとメニューテキストとの間に空けるスペース。0.5文字分。*/
  display: inline-block;
  transform: scale(0.7); /*サイズを70%に*/
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
  display: none; /* デフォルトは非表示 */
  animation: opa1 0s 0.2s both;
  position: fixed;
  z-index: 101;
  cursor: pointer;
  right: 0px; /*右からの配置場所*/
  top: 0px; /*上からの配置場所*/
  width: 70px; /*ボタンの幅*/
  height: 70px; /*ボタンの高さ*/
  background: var(--primary-color); /*背景色。冒頭のprimary-colorを読み込みます。*/
  border-radius: 0px 0px 0px 20px; /*角を丸くする指定。左上、右上、右下、左下の順番。この場合は左下だけ角を丸くする。*/
  transform-origin: right top;
  transform: scale(1); /*大きさを調整したい場合はここの「1」を変更します。1.2や0.7など。*/
}

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

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
  display: block;
  position: absolute;
  left: 18px;
  width: 35px;
  height: 2px; /*線の高さ*/
  background: var(--primary-inverse-color); /*線の色。冒頭のprimary-inverse-colorを読み込みます。*/
  transition: 0.3s;
}

#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;
}

/*コンテンツ
---------------------------------------------------------------------------*/
/*コンテンツブロック*/
#contents {
  flex: 1;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
/*メインコンテンツ*/
main {
  padding: var(--content-space); /*section内にとる余白。冒頭のcontent-spaceを読み込みます。*/
}

/*h2見出し*/
main h2 {
  box-shadow: 0px 0px 0.5rem rgba(0, 0, 0, 0.2); /*見出しの影。右へ、下へ、ぼかす量、0,0,0は黒の事で0.2は色が20%出た状態。*/
  padding: 0.3rem 1rem; /*見出し内の余白。上下に0.3文字分、左右に1文字分。*/
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.03)); /*背景グラデーション。透明から黒(0,0,0)を3%だけ出した状態へのグラデ。*/
}
/*h2見出しの左側のアクセントライン*/
main h2::before {
  content: "";
  border-left: 3px solid var(--primary-color); /*線の幅、線種、色*/
  padding-right: 1rem; /*アクセントラインと文字との間の余白*/
}

/*h3見出し*/
main h3 {
  padding: 0 1rem; /*見出し内の余白。上下はなし、左右にのみ1文字分。*/
}

/*p（段落タグ）*/
p {
  margin-left: 1rem; /*左に１文字分のスペース*/
  margin-right: 1rem; /*右に１文字分のスペース*/
}

/*各ページの大きな背景入りの見出し（共通）
---------------------------------------------------------------------------*/
.page-header {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 25vw; /*ボックスの最低の高さ。100vwが画面幅100%と同じなので、画面幅によってここの高さも変動します。*/
  padding: 2rem; /*ボックス内の余白*/
  color: #fff; /*文字色*/
  font-size: 2rem; /*文字サイズを2倍に*/
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8); /*テキストの影*/
  text-align: center; /*複数行になった時のためにセンタリング*/
}

/*「施設のご案内」の見出し*/
.page-header.info {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/common/3-scaled.webp") center center / cover;
}

/*「サービスのご案内」の見出し*/
.page-header.service {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/img_service.jpg") center center / cover;
}

/*「ご利用料金」の見出し*/
.page-header.charge {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/img_charge.jpg") center center / cover;
}

/*「よく頂く質問」の見出し*/
.page-header.faq {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/img_faq.jpg") center center / cover;
}

/*「会社概要」の見出し*/
.page-header.company {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/3.jpg") center center / cover;
}

/*トップページの「私たちのこだわり」ブロック
---------------------------------------------------------------------------*/
#kodawari {
  padding: var(--content-space); /*余白。冒頭のcontent-spaceを読み込みます*/
  background: url(../images/common/bg_01.png) / cover; /*背景画像の読み込み。リピートなし、左右天地中央を表示させる。*/
}

/*トップページの「背景」ブロック
---------------------------------------------------------------------------*/
#bg_01 {
  padding: var(--content-space); /*余白。冒頭のcontent-spaceを読み込みます*/
  background: url(../images/common/bg_01.png) / cover; /*背景画像の読み込み。リピートなし、左右天地中央を表示させる。*/
}

/*bg1背景色がついたブロック
---------------------------------------------------------------------------*/
.bg1 {
  position: relative;
  background: var(--primary-color); /*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
  color: var(--primary-inverse-color); /*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
  padding-top: 5vw; /*ボックス内の上に空ける余白。お好みで調整して下さい。*/
  padding-bottom: 5vw; /*ボックス内の下に空ける余白。お好みで調整して下さい。*/
  margin-top: 10vw; /*ボックス外の上に空ける余白。お好みで調整して下さい。*/
  margin-bottom: 10vw; /*ボックス外の下に空ける余白。お好みで調整して下さい。*/

  /*以下は変更不要*/
  margin-left: calc(-1 * var(--global-space));
  margin-right: calc(-1 * var(--global-space));
  padding-left: var(--global-space);
  padding-right: var(--global-space);
}
.bg1 a {
  color: inherit;
}

/*以下のheightの行が傾斜の角度です。vwという単位は画面幅に対してで、画面幅100%＝100vwになります。
つまり、画面幅に対して常に同じ傾斜具合になります。1pxの数字は時々隙間が発生するのでそれを防ぐ為の措置です。
傾斜（height）を変更したい場合は、下にある「.bg1::before」のtopと「.bg1::after」のbottomの数字も変更。*/
.bg1::before,
.bg1::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(5vw + 1px);
  background: var(--primary-color); /*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
}

.bg1::before {
  top: -5vw; /*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
  clip-path: polygon(0 100%, 100% 0, 100% 100%); /*三角形の形を作っています*/
}

.bg1::after {
  bottom: -5vw; /*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
  clip-path: polygon(0 0, 100% 0, 0 100%); /*三角形の形を作っています*/
}

---------------------------------------------------------------------------*/ #index_map {
  padding: var(--content-space); /*余白。冒頭のcontent-spaceを読み込みます*/
  background: url(../images/index/index_map.png) no-repeat center center / cover; /*背景画像の読み込み。リピートなし、左右天地中央を表示させる。*/
}

/*フッター
---------------------------------------------------------------------------*/
footer * {
  margin: 0;
  padding: 0;
}
footer ul {
  list-style: none;
}

/*ブロック全体*/
footer {
  background: #444; /*背景色*/
  color: #ccc; /*文字色*/
  padding: var(--content-space); /*フッター内の余白。css冒頭のcontent-spaceを読み込みます。*/
}

/*ロゴやSNSアイコンが入ったブロック*/
footer div.footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem; /*このブロック内のボックス同士の間に空ける余白。1文字分。*/
}

/*メニューブロック*/
footer div.footer-right {
  flex: 1;
}

/*フッターのロゴ*/
footer .logo {
  max-width: 400px; /*画像の場合の幅*/
  font-size: 1.4rem; /*テキストの場合の文字サイズ。1.4倍。*/
  font-weight: bold; /*テキストの場合は、太字に*/
}

/*「問い合わせ」「見学申し込み」ボタンブロック。他の設定は、上のヘッダー側の.btn-boxにあります。*/
footer .btn-box {
  flex-direction: column;
}

/*画面700px以上の追加指定*/
@media screen and (min-width: 700px) {
  footer {
    display: flex;
    gap: 2rem; /*ロゴのブロックとメニューのブロックとの間の余白。2文字分。*/
  }

  /*ロゴやSNSアイコンが入ったブロック*/
  footer div.footer-left {
    text-align: left;
    width: 40%; /*幅。40%。*/
  }
} /*追加指定ここまで*/

/*Copyright部分*/
footer small {
  display: block;
  margin-top: 2rem;
}

/*SNSアイコン
---------------------------------------------------------------------------*/
.sns1 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /*アイコン同士のマージン的な要素。１文字分。*/
}

.sns1 i {
  font-size: 30px; /*アイコンサイズ*/
}

/*Google Map用
---------------------------------------------------------------------------*/
.iframe-box1 {
  width: 100%;
  height: 0;
  padding-top: 56.25% !important; /*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
  position: relative;
  overflow: hidden;
}
.iframe-box1 iframe {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

/*よく頂く質問
---------------------------------------------------------------------------*/
/*質問*/
.faq dt {
  display: flex;
  align-items: flex-start;
  border-radius: 3px; /*角を少しだけ丸く*/
  margin-bottom: 1rem; /*下に空けるスペース。質問ブロック同士の余白です。*/
  background: #fff; /*背景色*/
  color: #555; /*文字色*/
  border: 1px solid #ccc; /*枠線の幅、線種、色*/
  padding: 0.5rem 1rem; /*ブロック内の余白。上下に0.5文字分、左右い1文字分。*/
}
.faq dt.openclose1 {
  cursor: pointer; /*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}

/*アイコン*/
.faq dt::before {
  font-family: "Font Awesome 6 Free";
  content: "\f059"; /*アイコン画像の指定*/
  margin-right: 1rem; /*右側に空けるスペース*/
  flex-shrink: 0;
  color: var(--primary-color); /*アイコンの色*/
}

/*回答*/
.faq dt + * {
  padding: 0 1rem 1rem 3rem; /*ボックス内の余白。上、右、下、左への順番。*/
}

/*テーブル
---------------------------------------------------------------------------*/
.week2 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ccc; /*テーブル外側の線の幅、線種、色*/
  table-layout: fixed; /*幅を均等に*/
  background: #fff; /*テーブル全体の背景色*/
  color: #555; /*テーブル全体の文字色*/
}

/*受付時間の幅*/
.week2 th:first-child,
.week2 td:first-child {
  width: 25%;
}

/*各曜日の幅*/
.week2 th:not(:first-child),
.week2 td:not(:first-child) {
  width: calc(75% / 7); /*受付時間で25%とっているので残りの75%を7で割る*/
}

/*th(曜日)とtd(時間)*/
.week2 th,
.week2 td {
  text-align: center; /*テキストをセンタリング*/
  border-bottom: 1px solid #ccc; /*下の線の幅、線種、色*/
  border-right: 1px solid #ccc; /*右の線の幅、線種、色*/
}

/*th(曜日)とtd(時間)のそれぞれ最後の右側の線を消す*/
.week2 th:last-child,
.week2 td:last-child {
  border-right: none;
}

/*最後の行の下線を消す*/
.week2 tr:last-child td {
  border-bottom: none;
}

/*th(曜日)の追加指定*/
.week2 th {
  background: #fafafa; /*背景色*/
}
.week2 td {
  border-bottom: 1px solid #ccc; /*下の線の幅、線種、色*/
}

/*お知らせブロック
---------------------------------------------------------------------------*/
.new {
  margin-left: 1rem; /*左に１文字分のスペース*/
  margin-right: 1rem; /*右に１文字分のスペース*/
}

/*記事の下に空ける余白*/
.new dd {
  padding-bottom: 1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
  display: inline-block;
  text-align: center;
  line-height: 1.8; /*行間（アイコンの高さ）*/
  border-radius: 3px; /*角を丸くする指定*/
  padding: 0 1rem; /*上下、左右へのブロック内の余白*/
  width: 10rem; /*幅。６文字分。*/
  transform: scale(0.8); /*80%のサイズに縮小*/
  background: #999; /*背景色*/
  color: #fff; /*文字色*/
}

/*icon-bg1*/
/*icon-bg1*/
.new .icon-bg1 {
  background: #ff0000; /*背景色*/
  color: #fff; /*文字色*/
}

/*icon-bg2*/
.new .icon-bg2 {
  background: var(--primary-color); /*背景色。冒頭のprimary-colorを読み込みます。*/
  color: var(--primary-inverse-color); /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/*画面幅700px以上の追加指定*/
@media screen and (min-width: 700px) {
  /*ブロック全体*/
  .new {
    display: grid;
    column-gap: 1em;
    grid-template-columns: auto 1fr; /* 日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。 */
  }
} /*追加指定ここまで*/

/*横長タイプのボックス（list-normal1）
---------------------------------------------------------------------------*/
.list-normal1 .list * {
  margin: 0;
  padding: 0;
}

/*ブロック全体を囲むボックス*/
.list-normal1 {
  display: flex;
  flex-direction: column;
  gap: 1rem; /*各ボックス同士に空けるスペース。１文字分。*/
}

/*ボックス１個あたり*/
.list-normal1 .list {
  display: flex;
  padding: 1rem; /*ボックス内の余白*/
  position: relative;
  border: 1px solid #ccc; /*枠線の幅、線種、色*/
  background: #fff; /*背景色*/
  border-radius: 5px; /*角を少しだけ丸くする指定*/
}

/*ボックス内のdiv*/
.list-normal1 .list div {
  flex: 1;
}

/*ボックス内のfigure画像*/
.list-normal1 .list figure {
  width: 30%; /*画像の幅*/
  margin-right: 1rem; /*画像の右側に空けるスペース*/
}

/*横並びブロック（list-grid2）
---------------------------------------------------------------------------*/
.list-grid1 .list * {
  margin: 0;
  padding: 0;
}

/*ボックス１個あたり*/
.list-grid1 .list {
  display: grid;
  position: relative;
  overflow: hidden;
  padding: 1.5rem; /*ボックス内の余白。１文字分。*/
  grid-template-rows: auto 1fr; /*１つ目（この場合はfigureのサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
  border: 1px solid #ccc; /*枠線の幅、線種、色*/
  background: #fff; /*背景色*/
  border-radius: 5px; /*角を少しだけ丸く*/
  margin-bottom: 1rem;
  color: #333;
}

/*画面幅700px以上の追加指定*/
@media screen and (min-width: 700px) {
  /*ブロック全体を囲むブロック*/
  .list-grid1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /*2列*/
    gap: 1rem;
  }
} /*追加指定ここまで*/

/*ボックス内のfigure画像*/
.list-grid1 .list figure img {
  margin-bottom: 0.5rem; /*画像の下に空けるスペース。0.5文字分。*/
}

/*ボックス内のp要素*/
.list-grid1 .list p {
  line-height: 1.5; /*行間を少し狭く*/
}
/*横並びブロック（list-grid2）
---------------------------------------------------------------------------*/
.list-grid2 .list * {
  margin: 0;
  padding: 0;
}

/*ボックス１個あたり*/
.list-grid2 .list {
  display: grid;
  position: relative;
  overflow: hidden;
  padding: 1.5rem; /*ボックス内の余白。１文字分。*/
  grid-template-rows: auto 1fr; /*１つ目（この場合はfigureのサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
  border: 1px solid #ccc; /*枠線の幅、線種、色*/
  background: #fff; /*背景色*/
  border-radius: 5px; /*角を少しだけ丸く*/
  margin-bottom: 1rem;
  color: #333;
}

/*画面幅700px以上の追加指定*/
@media screen and (min-width: 700px) {
  /*ブロック全体を囲むブロック*/
  .list-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /*2列*/
    gap: 1rem;
  }
} /*追加指定ここまで*/

/*ボックス内のfigure画像*/
.list-grid2 .list figure img {
  margin-bottom: 0.5rem; /*画像の下に空けるスペース。0.5文字分。*/
}

/*ボックス内のp要素*/
.list-grid2 .list p {
  line-height: 1.5; /*行間を少し狭く*/
}

/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view {
  max-width: 1000px; /*最大幅。もし画面幅に合わせて100%にしたいなら、width: 100%に変更してください。*/
  margin: 0 auto 1rem;
  aspect-ratio: 5/3;
  text-align: center;
}

/*サムネイル全体を囲むブロック*/
.thumbnail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

/*サムネイル画像・動画*/
.thumbnail img,
.thumbnail video {
  width: 100px; /*サムネイルの幅*/
  margin: 2px;
  aspect-ratio: 5/3;
  object-fit: cover;
  cursor: pointer;
  transition: 0.3s;
  background: #000;
}

/*マウスオン時に色を80%にする*/
.thumbnail img:hover,
.thumbnail video:hover {
  opacity: 0.8;
}

/* 大きな表示の中身（画像・動画） */
.thumbnail-view img,
.thumbnail-view video {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;

  display: block;
  margin: 0 auto;
}

/* 動画サムネ用ラッパ＆アイコン */
.thumbnail .thumb-wrap {
  position: relative;
  display: inline-block;
  width: 100px; /* 既存サムネ幅と合わせる */
  margin: 2px; /* 既存サムネ間隔と合わせる */
}
.thumbnail .thumb-wrap > video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0; /* 二重余白を防止 */
}
.thumbnail .thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none; /* クリックは下のvideoに通す */
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
/*動画サムネの上のアイコン*/
.thumbnail .thumb-play i {
  background: #ff0000; /*背景色*/
  color: #fff; /*文字色*/
  border-radius: 9999px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1;
}

/*2カラム（main-contents、sub-contents設定）
---------------------------------------------------------------------------*/
/*main-contentsブロック*/
.main-contents {
  margin-bottom: var(--content-space); /*ボックスの下に空けるスペース。冒頭のcontent-spaceを読み込みます。*/
}

/*sub-contentsブロック*/
.sub-contents {
  order: -1; /*サブブロックを左に配置*/
}

/*サブコンテンツ内のh3要素(見出し)*/
.sub-contents h3 {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/*h3見出しの左のアクセントライン*/
.sub-contents h3::first-letter {
  border-left: 3px solid var(--primary-color); /*左側のアクセント用ラインの幅、線種、色*/
  padding-left: 10px; /*アクセントラインとテキストとの間の余白*/
}

/*段落タグ*/
.sub-contents p {
  margin-left: 0;
  margin-right: 0;
  font-size: 0.9rem; /*文字サイズを90%*/
  line-height: 1.6; /*行間を少し狭く*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*カラムで使う為の指定*/
  main.column {
    display: flex; /*横並びにする*/
    justify-content: space-between;
    gap: var(--content-space); /*ボックスの下に空けるスペース。冒頭のcontent-spaceを読み込みます。*/
  }

  /*main-contentsブロック*/
  .main-contents {
    margin-bottom: 0;
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
  }

  /*sub-contentsブロック共通*/
  .sub-contents {
    width: 210px; /*幅。お好みで変更して下さい。*/
  }
} /*追加指定ここまで*/

/*サブメニュー設定
---------------------------------------------------------------------------*/
.submenu * {
  margin: 0;
  padding: 0;
}

/*サブメニューブロック全体*/
.submenu {
  padding: 0;
  margin: 0 0 1rem; /*上、左右、下へのマージン*/
  border-top: 1px solid #ccc; /*上の枠線の幅、線種、色*/
}

/*メニュー１個あたり*/
.submenu > li {
  border-bottom: 1px solid #ccc; /*下の枠線の幅、線種、色*/
}
.submenu a {
  display: block;
  text-decoration: none;
  padding: 0.2rem 1rem; /*上下、左右へのメニュー内の余白*/
  background: #fff; /*背景色*/
}

/*子メニュー*/
.submenu li li a {
  padding-left: 2rem; /*左に余白を空ける*/
}

/*サブコンテンツ内のbox1
---------------------------------------------------------------------------*/
.sub-contents .box1 {
  padding: 1rem; /*ボックス内の余白*/
  margin-bottom: 1rem; /*ボックスの下に空けるスペース*/
  background: rgba(0, 0, 0, 0.03); /*背景色。rgbaは色設定で0,0,0は黒。0.03は透明度3%の事。*/
  border: solid 1px #dcdcdc; /*線の線種、幅、色*/
  box-shadow: 0px 0px 1px 1px #fff inset; /*ボックスの影。内側に白のラインを入れる。*/
}

/*box1内のメニューの設定*/
.sub-contents .box1 ul.submenu {
  margin-bottom: 0px;
}

/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
  text-decoration: none;
  display: block;
  background: #555;
  color: #ccc;
  text-align: right;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}
.pr a::before {
  font-family: "Font Awesome 6 Free";
  content: "\e2ca";
  font-weight: bold;
  margin-right: 0.5em;
}

/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*スライドショーブロック全てを囲むブロック*/
.slide-thumbnail-box {
  overflow-x: hidden;
  padding-left: 0;
  padding-right: 0;
}

/*各スライドショーブロックを囲むブロック*/
.slide-thumbnail1 {
  margin-bottom: 6vw; /*下に空けるスペース。スライドショーを２個以上置く場合に上下の画像が重ならないようにする為。*/
}

/*画像たちを囲むブロック*/
.slide-thumbnail1 .img {
  display: flex;
}

/*画像*/
.slide-thumbnail1 .img img {
  padding: 0 1rem; /*上下、左右への画像の余白*/
}

/*偶数番目の画像の垂直位置を少しずらす。垂直位置を並べたいならこのブロックを削除。*/
.slide-thumbnail1 .img div:nth-of-type(even) {
  transform: translateY(3vw);
}

/*右から左へ、左から右へ、のアニメーション*/
.slide-thumbnail1 .rtl,
.slide-thumbnail1 .ltr {
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.slide-thumbnail1 .rtl {
  animation-name: slide-rtl;
}
.slide-thumbnail1 .ltr {
  animation-name: slide-ltr;
}

@keyframes slide-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slide-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

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

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

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

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

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

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

/*画面幅600px以下の追加指定*/
@media screen and (max-width: 600px) {
  .scroll .ta1 {
    width: 700px;
  }
  .scroll {
    overflow-x: auto;
  }
} /*追加指定ここまで*/

/*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: 20px; /*下からの配置場所指定*/
  color: #fff; /*文字色*/
  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%; /*円形にする*/
}

/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.color-check,
.color-check a {
  color: var(--primary-color) !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;
}
@media screen and (min-width: 800px) {
  .ws {
    width: 48%;
    display: inline;
  }
}
.mb0 {
  margin-bottom: 0px !important;
}
.mb3rem {
  margin-bottom: 3rem !important;
}
.mt30 {
  margin-top: 30px !important;
}
.mb30 {
  margin-bottom: 30px !important;
}
.look {
  display: inline-block;
  padding: 0px 10px;
  background: #eee;
  border: 1px solid #ccc;
  color: #888;
  border-radius: 3px;
  margin: 5px 0;
  word-break: break-all;
}
.small {
  font-size: 0.75em;
}
.large {
  font-size: 2em;
  letter-spacing: 0.1em;
}
.block {
  display: block !important;
}

/*その他
---------------------------------------------------------------------------*/
.red_btn {
  display: inline-block;
  width: 320px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  color: var(--primary-color);
  background-color: #fff;
  position: relative;
  border: 1px solid var(--primary-color);
  transition: color 0.5s ease;
}
.red_btn:hover {
  color: #ffffff !important;
}
.red_btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.red_btn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}
.btn_text {
  position: relative;
}
