@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=M+PLUS+1:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");
/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("slide.css");
@import url("inview.css");
/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/ :root {
  /*テンプレートのメインまたはアクセントとなる色*/
  --primary-color: #4ACBD3;
  /*primary-colorの上で使うテキスト色*/
  --primary-text-color: #fff;
  /*サイト内の左右へとる余白を一括管理しています。画面幅100%＝100vwです。*/
  --global-space: 3vw;
}
/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
  0% {
    left: -200px;
  }
  100% {
    left: 0px;
  }
}
/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*全体の設定
---------------------------------------------------------------------------*/
body * {
  box-sizing: border-box;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}
/*スマホ文字サイズ*/
html, body {
  font-size: 15px;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Zen Kaku Gothic New", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-text-size-adjust: none;
  background: #fff;
  color: #555555;
  line-height: 1.6;
}
p, h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
}
/*リセット*/
figure {
  margin: 0;
}
dd {
  margin: 0;
}
nav, ul, li, ol {
  margin: 0;
  padding: 0;
}
nav ul {
  list-style: none;
}
ol{
	display: block;
    list-style-type: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;}
input {
  font-size: 1rem;
}
table {
  border-collapse: collapse;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
/*iframeタグ*/
iframe {
  width: 100%;
}
/*sectionが続く場合*/
section + section {
  margin-top: var(--global-space); /*sectionの上に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
}
a {
  color: #777;
  transition: 0.3s;
}
a:hover {
	color: #006985;
}
/*見出し
---------------------------------------------------------------------*/
main h2 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 1.5rem;
	font-size: 1.8rem;
	position: relative;
  font-weight: 700;
  font-style: normal;
	border-bottom: 4px solid #ddd;
	color: #006985;
}
main h2 .uline {
	display: inline-block;
	position: relative;
	padding: 0.5rem 0;
	bottom: -4px;
	border-bottom: 4px solid #4ACBD3;
}
/*右側の装飾文字の設定*/
main h2 .small {
  font-size: 0.6em;
  opacity: 0.7;
  border-bottom-width: medium;
}
main h3 {
    color: #006985;
    font-size: 1.5rem;
      font-weight: 500;
  font-style: normal;
    border-top: 2px dotted #4ACBD3;
    border-bottom: 2px dotted #4ACBD3;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    background-color: #F0FCFD;
    padding-left: 1rem;
}
main h4 {
    font-size: 1.2rem;
    font-weight: normal;
    border-left: 4px solid #C9A77C;
    padding-left: 0.5rem;
}
main h5 {
  font-size: 1.1rem;
  font-weight: normal;
}
main h6 {
  font-size: 1.0rem;
  font-weight: 500;
}
main p {
  margin-bottom: 1rem;
}
/*ヘッダー
---------------------------------------------------------------------*/
/*トップページ以外のヘッダー*/
body:not(.home) header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--global-space); /*上下、左右へのヘッダー内の余白。var〜の部分はcss冒頭で指定しているglobal-spaceを読み込みます*/
}
/*ロゴ画像*/
#logo {
  margin: 0;
  padding: 0;
}
#logo img {
  display: block;
  width: 300px; /*PC時ロゴ画像の幅*/
}
/*トップページのヘッダー*/
.home header {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 50%; /*画像の高さ÷画像の幅*/
  overflow: hidden;
}
/*トップページのロゴ　スマホは下部に記載*/
.home #logo img {
  width: 350px; /*PCロゴ画像の幅*/
  position: absolute;
  z-index: 1;
  left: var(--global-space); /*上からの配置場所。css冒頭で指定しているglobal-spaceを読み込みます*/
  top: var(--global-space); /*左からの配置場所。css冒頭で指定しているglobal-spaceを読み込みます*/
}
/*メニューブロック初期設定
---------------------------------------------------------------------*/
#menubar {
  opacity: 0;
  line-height: 1.5;
}
#menubar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.large-screen #menubar {
  opacity: 1;
}
.small-screen #menubar.display-none {
  display: none;
}
.small-screen #menubar.display-block {
  display: block;
  opacity: 1;
}
/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {
  display: none;
}
/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {
  display: none;
}
/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";
	content: "\f078";
	font-weight: bold;
	margin-right: 1em; /*アイコンとテキストとの間に空けるスペース*/
	position: absolute;
	left: 2rem;
}
/*大きな端末、小さな端末共通のメニューブロック設定
---------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar a {
	display: block;
	text-decoration: none;
}
/*小文字の英語部分*/
#menubar span {
  font-size: 0.7em;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------*/
/*メニューブロックを囲むボックス*/
.large-screen #menubar {
  position: sticky;
  top: 0;
  z-index: 2;
  transition: opacity 0.3s;
}
/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
  display: flex; /*横並びにする*/
  justify-content: space-between;
  align-items: center;
}
/*メニュー１個あたりの設定*/
.large-screen #menubar li {
  flex: 1; /*個々のメニューを均等にし、幅いっぱいまで使う設定*/
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /*ドロップダウンの幅となる基準を作っておく*/
  text-align: center;
}
/*リンク（a要素）の設定*/
.large-screen #menubar li a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--primary-color);
  color: var(--primary-text-color);
  padding: 1.2rem 1rem;
}
/*マウスオン時*/
.large-screen #menubar li a:hover {
  filter: brightness(1.1);
  color: #FFED04;
}
/*大きな端末用のメニューブロックが画面上部に到達した場合（fixed）
---------------------------------------------------------------------*/
/*メニューブロックを囲むボックス*/
.large-screen #menubar.fixed a {
  opacity: 0.8;
}
/*マウスオン時*/
.large-screen #menubar.fixed a:hover {
  opacity: 1;
}
/*メニューの上下の余白を狭くする*/
.large-screen #menubar.fixed2 li a {
  padding: 0.4rem 1rem;
}
/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.large-screen #menubar ul ul, .small-screen #menubar ul ul {
  animation: opa1 0.5s 0.1s both;
}
/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.large-screen #menubar ul ul {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0px;
}
/*ドロップダウンメニュー1個あたりの高さ*/
.large-screen #menubar ul ul a {
  padding: 0.6rem 1rem !important;
}
/*小さな端末用の開閉ブロック
---------------------------------------------------------------------*/
.small-screen #menubar {
  height: 0px;
}
/*メニューブロック設定*/
.small-screen #menubar.display-block {
  position: fixed;
  overflow: auto;
  z-index: 100;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  padding-top: 90px; /*上に空ける余白。ハンバーガーアイコンと重ならない為の指定ですのでお好みで変更OK。*/
  background: var(--primary-color); /*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
  animation: animation1 0.2s both;
  opacity: 0.95;
}
/*メニュー１個あたりの設定*/
.small-screen #menubar li {
  border: 1px solid #fff;
  margin: 1rem;
  border-radius: 5px;
}
.small-screen #menubar > nav > ul > li > a {
  padding: 1rem 3rem; /*メニュー内の余白。上下、左右へ。*/
  display: flex;
  flex-direction: column;
}
.small-screen #menubar li a {
  padding: 1rem 3rem; /*子メニュー（ドロップダウン）内の余白。上下、左右へ。*/
}
/*文字色*/
.small-screen #menubar, .small-screen #menubar a {
  color: #fff;
}
/*900px以下でのみ表示させるブロック*/
#menubar .sh {
  padding: 1rem 2rem 2rem; /*上、左右、下へのブロック内の余白*/
}
/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
  animation: opa1 0s 0.2s both;
  position: fixed;
  z-index: 101;
  cursor: pointer;
  right: 3vw; /*右からの配置場所指定*/
  top: 2vw; /*上からの配置場所指定*/
  padding: 16px 14px; /*上下、左右への余白*/
  width: 42px; /*幅（３本バーが出ている場合の幅になります）*/
  height: 42px; /*高さ*/
  display: flex; /*flexボックスを使う指定*/
  flex-direction: column; /*子要素（３本バー）部分。flexはデフォルトで横並びになるので、それを縦並びに変更。*/
  justify-content: space-between; /*並びかたの種類の指定*/
  background: var(--primary-color); /*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
}
/*バー１本あたりの設定*/
#menubar_hdr span {
  display: block;
  transition: 0.3s;
  border-top: 1.5px solid #fff;
}
/*×印が出ている状態の3本バーの背景色*/
#menubar_hdr.ham {
  background: #759FD7;
}
/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1), #menubar_hdr.ham span:nth-of-type(3) {
  transform-origin: center center; /*変形の起点。センターに。*/
  width: 20px; /*バーの幅*/
}
/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1) {
  transform: rotate(45deg) translate(3.8px, 5px); /*回転45°と、X軸Y軸への移動距離の指定*/
}
/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3) {
  transform: rotate(-45deg) translate(3.8px, -5px); /*回転-45°と、X軸Y軸への移動距離の指定*/
}
/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2) {
  display: none; /*２本目は使わないので非表示にする*/
}
/*mainブロック
---------------------------------------------------------------------*/
/*mainブロック（横スライドslick対策）*/
main * {
  min-width: 0;
  width: auto;
}
main {
  margin: var(--global-space); /*mainの外側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
}

/*フッター設定
---------------------------------------------------------------------*/
footer {
    text-align: center;
    padding: 20px;
    background-color: #F6F6F6;
}
#footermenu {
  margin: 0 !important;
  padding-top: 10px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 0.9rem;
}
#footermenu li {
  display: inline-block;
  padding-top: 10px;
  padding-right: 10px;
  padding-left: 10px;
  /* [disabled]padding-bottom: 10px; */
}
#footermenu li a:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f138";
  color: #96DCE0;
  margin-right: 3px;
  text-decoration: none;
}
#footermenu li a {
  text-decoration: none;
}
#copyright {
  text-align: center;
  padding-top: 0.5rem;
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 0.5rem;
  background: var(--primary-color); /*背景色。css冒頭で指定しているprimary-color*/
  color: #FFFFFF;
  font-size: 0.8rem;
}
#copyright a {
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
}
/*お知らせブロック
---------------------------------------------------------------------*/
.new {
	background-color: #EEFEFF;
	border-radius: 0px;
	overflow: hidden;
	margin-bottom: 3rem;
}
/*奇数行目を背景色を少し濃くする。全体同じ色がよければここの数行は削除。*/
.new dt:nth-of-type(odd), .new dd:nth-of-type(odd) {
	background-color: rgba(0, 0, 0, 0.04);
}
/*日付(dt)設定*/
.new dt {
  padding: 1rem 1rem 0;
}
/*記事(dd)設定*/
.new dd {
  padding-top: 1rem;
  padding-right: 1rem;
  padding-left: 1rem;
  padding-bottom: 1rem;
  margin-left: 0px;
}
/*2・3カラム（main-contents、sub-contents設定）
---------------------------------------------------------------------*/
/*main-contentsブロック*/
.main-contents {
  margin-bottom: var(--global-space); /*ボックスの下に空けるスペース。subとの間の余白で、css冒頭で指定しているglobal-spaceを読み込みます*/
}
/*サブコンテンツ内のh3要素(見出し)*/
.sub-contents h3 {
	display: block;
	margin: 0;
	text-align: center;
	border-radius: 5px;
	background-color: #FCB262;
	padding-top: 0.25rem;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 0.25rem;
	font-size: 0.9rem;
	color: #FFFFFF;
	border-style: none;
}
.sub-contents p {
  margin-top: -0.rem;
  margin-top: 0.1rem;
}
/*トップページ右側の縦書きボタン
---------------------------------------------------------------------*/
#message-parts a {
	text-decoration: none;
	display: block;
	writing-mode: vertical-rl;
	text-orientation: upright;
	background-color: #004097; /*背景色*/
	color: #fff; /*文字色*/
	position: fixed; /*スクロールしてもボタンが移動しないようにする指定。移動させたいならfixedをabsoluteにして下さい。*/
	z-index: 2;
	right: 0px; /*ボタンの右からの配置場所指定*/
	top: 170px; /*ボタンの上からの配置場所指定*/
	padding: 20px 15px; /*ボタン内の余白。上下、左右。*/
	border-radius: 10px 0px 0px 10px; /*角を丸くする指定。左上、右上、右下、左下の順番。*/
	letter-spacing: 0.1rem; /*文字間隔を少しだけ広く*/
}
/*ふきだしアイコン*/
#message-parts i {
  transform: scale(1.3); /*1.3倍に*/
  margin-bottom: 10px; /*下に空ける余白*/
}
/*マウスオン時に少し明るくする*/
#message-parts a:hover {
  filter: brightness(1.2);
}
/*PAGE TOP設定
---------------------------------------------------------------------*/
.pagetop-show {
  display: block;
}
.pagetop a {
  display: block;
  text-decoration: none;
  text-align: center;
  z-index: 99;
  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: #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;
}
.look {
  display: inline-block;
  padding: 0px 10px;
  background: #eee;
  color: #333;
  border: 1px solid #ccc;
  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;
}
.block {
  display: block !important;
}
/*画面幅900px以上の追加指定
---------------------------------------------------------------------*/
@media screen and (min-width:900px) {
  html, body {
    font-size: 18px;
  }
  /*ドロップダウンメニューの▼*/
  a.ddmenu::before {
    left: 0.5rem; /*左から0.5文字分のところに配置する。テキストにより調整する*/
  }
  /*電話番号*/
  header .tel-h {
    font-size: 1.6rem;
    display: block;
  }
  .tel {
    font-size: 1.4rem;
  }
  /*カラムで使う為の指定*/
  main.column {
    display: flex; /*横並びにする*/
    justify-content: space-between; /*並びかたの種類の指定*/
    gap: 3vw; /*main-contentsとsub-contentsの間のマージン的な隙間*/
  }
  /*main-contentsブロック*/
  .main-contents {
    margin-bottom: 0;
    order: 1; /*並び順。数字の小さい順番に表示されます。*/
    flex: 1;
  }
  /*sub-contentsブロック共通*/
  .sub-contents {
    width: 300px;
    /* [disabled]margin-top: 15px; */
  }
  /*1つ目のsub-contents*/
  .sub-contents:nth-child(2) {
    order: 2; /*並び順。数字の小さい順番に表示されます。*/
  }
  /*2つ目のsub-contents（※３カラムで使いたい場合用）*/
  .sub-contents:nth-child(3) {
    order: 3; /*並び順。数字の小さい順番に表示されます。３番目という意味なので一番右側に表示されます。*/
  }
  .ws {
    width: 48%;
    display: inline;
  }
  .sh {
    display: none;
  }
  .pc {
    display: block;
  }
}
/*画面幅900px以下の追加指定
---------------------------------------------------------------------*/
@media screen and (max-width:900px) {
  /*トップページのロゴ*/
  .home #logo img, #logo img {
    width: 250px; /*ロゴ画像の幅*/
  }
 /*電話番号*/
  header .tel-h {
    display: none !important;
  }
  .tel {
    font-size: 1.8rem;
  }
/*トップページ右側の縦書きボタン*/
#message-parts a {
  top: 80px;
}
}
/*画面幅700px以上の追加指定
---------------------------------------------------------------------*/
@media screen and (min-width:700px) {
  /*お知らせブロック*/
  .new {
    display: grid; /*gridを使う指定*/
    grid-template-columns: auto 1fr; /*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
  }
  /*日付(dt)設定*/
  .new dt {
    padding-top: 1rem;
    padding-right: 2rem;
    padding-left: 2rem;
    padding-bottom: 1rem; /*dt内の余白。上、右、下、左への順番。*/
  }
  /*記事(dd)設定*/
  .new dd {
    padding-top: 1rem;
    padding-right: 2rem;
    padding-left: 0;
    padding-bottom: 1rem; /*dd内の余白。上、右、下、左への順番。*/
  }
  .new dd img {
    float: right;
    width: 150px;
    height: auto;
  }
}
