@charset "utf-8";

/*html, body {
  scroll-padding-top: 100px;
  scroll-behavior: smooth;
}*/

h1, h2, h3 {
  font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}

h1,h2,h3,h4,h5,h6 {
    padding-bottom: 1rem;
}

a {
    /*color: #002255 !important;*/
	color: inherit !important;
    text-decoration: underline;
}

.nolink {
    pointer-events: none;
    text-decoration-line: none;
    color: inherit !important;
	text-decoration: none;
}

.no-deco, .tel a {
    text-decoration-line: none;
    /*font-size: 1.5rem;*/
    /*font-weight: 700;*/
}

.tel {
    /*width: 100%;*/
    max-width: 700px;
    margin: auto;
}

.cursor-pointer {
	cursor: pointer;
}

.president {
    width: 70%;
    height: auto;
    margin-left: auto;
}
@media (min-width: 768px) {
    .president {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-right: auto;
        padding-left: 1em;
    }    
}
.sign {
    text-align: start;
}
@media (min-width: 768px) {
    .sign {
        text-align: end;
    }
}

.katagaki {
	font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, serif;
	font-weight: 500;
	/*font-size: 1.2em;*/
	letter-spacing: 0.1em;
	padding-right: 0.7em;
	position: relative;
	top: 5px;
}
#recruit table {
	width: 95%;
	max-width: 700px;
	margin: 0 auto;
}

#recruit ul {
	list-style-position: inside;
}

#recruit li {
	font-weight: bold;
}

/*
 * Custom translucent site header
 */
.site-header {
  /*background-color: rgba(255, 255, 255, .85);*/
  background-color: rgba(0, 0, 0, .50);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-header a {
  color: #8e8e8e;
  transition: color .15s ease-in-out;
}
.site-header a:hover {
  color: #fff;
  text-decoration: none;
}
/*
 * Dummy devices (replace them with your own or something else entirely!)
 */
.product-device {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 300px;
  height: 540px;
  background-color: #333;
  border-radius: 21px;
  transform: rotate(30deg);
}
.product-device::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: rgba(255, 255, 255, .1);
  border-radius: 5px;
}
.product-device-2 {
  top: -25%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: #e5e5e5;
}
/*
 * Extra utilities
 */
.flex-equal > * {
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    flex: 1;
  }
}
/*
 * Google Map
 */
.GoogleMap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
}
@media (min-width: 768px) {
  .GoogleMap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 30%;
  }
}
.GoogleMap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.GoogleMap-bw iframe {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}
/*
 * お問い合わせフォーム用 (MailForm01)
 */
#formWrap {
  /*width: 95%;*/
  max-width: 700px;
  margin: 0 auto;
  /* color: #555;
  line-height: 150%;*/
}
table.formTable {
  width: 95%;
  margin: 0 auto;
  border-collapse: inherit;
}
table.formTable td, table.formTable th {
  /*border: 1px solid #ccc;
  padding: 10px;
  padding: 5px 0;*/
}

table.formTable th {
  width: 30%;
  font-weight: normal;
  /*background: #efefef;*/
  text-align: left;
}
.error_messe{
	margin:5px 0;
	color:red;
}

.bg-error_messe, .bg-success_messe {
    width: 300px;
}

.bg-error_messe {
    background-color: rgba(248,215,218,0.3);
}

.bg-success_messe {
    background-color: rgba(210,244,234,0.3);
}

#formWrap small {
	font-size: 70%;
}

.w-btn {
    width: 170px;
    max-width: 170px;
}


/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:572px) {
  #formWrap {
    /*width: 95%;*/
    margin: 0 auto;
  }
  table.formTable th, table.formTable td {
    width: auto;
    display: block;
  }
  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }
  input[type="text"], textarea {
    /*width: 80%;
    padding: 5px;
    font-size: 110%;*/
    display: block;
  }
  input[type="submit"], input[type="reset"], input[type="button"] {
    display: block;
    width: 100%;
    height: 40px;
    margin: auto;
  }
}


/*
 * 動画用
 */
.p-header-video {
  position: relative;
  width: 100%;
  padding-bottom: 350px;
  overflow: hidden;
  background-color: #000;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../img/poster.png');
}
.p-header-content::before {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";

}
.p-header-video video {
  position: absolute;
  top: 0;
  right: 50%;
  bottom: 0;
  left: 50%;
  width: auto;
  height: 350px;
  margin: auto;
  transform: translateX(-50%);
  z-index: 2;
}

@media (min-width: 576px){
.p-header-video {
  position: relative;
  width: 100%;
  padding-bottom: 41.67%;
  overflow: hidden;
  background-color: #000;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../img/poster.png');
}
.p-header-content::before {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
}
.p-header-video video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  margin: auto;
  transform: none;
  z-index: 2;
}
.video-btn {
    content: "";
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom: 70px; /*コントローラー分下部に余白をつける場合*/
    cursor: pointer;
	z-index: 3;
}
}

/*slick*/

/*==================================================
スライダーのためのcss
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
   width:94%;
    margin:0 auto;
}

.slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin:0 10px;
}

ol.slider, ul.slider, ol.slick-slide, ul.slick-slide {
    padding: 0;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;/*矢印の色*/
    border-right: 2px solid #666;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
	margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}
/*ロード時に一瞬縦並びなるのを防止*/
.slider {
  opacity: 0;
  transition: opacity .3s linear;
}
.slider.slick-initialized{
  opacity: 1;
}

/*
 * モーダルウィンドウ Tingle用
 */
.modal-dialog {
    max-width: inherit;
	margin: inherit;
}
@media (min-width: 576px) {
.modal-dialog {
	width: 90% !important;
    max-width: 800px !important;
    margin: 1.75rem auto;
	}
}
.inner-x {
    padding: 40px;
}
.inner {
    padding: 40px;
}
/**
 * tingle modal modified
**/
.tingle-modal {
    padding-top: 40px;
    padding-bottom: 40px;
}
.tingle-modal-box {
    width: 850px;
    max-width: 90%;
    border-radius: 0;
}
.tingle-modal-box__content {
    padding: 0;
}
.tingle-modal__close {
    height: 45px;
    width: 48px;
    outline: none !important;
    background-color: rgba(0,0,0,.8);
}
.modal-title {
    font-size: 1.5rem;
}

.modal-body h2, .modal-body h3, .modal-body h4 {
    font-size: 1.2rem;
    padding: 0;
}
.modal-body h4 {
    font-size: 1rem;
    padding: 0;
}

@media(max-width: 540px) {
.tingle-modal {
    padding: 20px 15px;
}
.tingle-modal-box {
    max-width: 100%;
}
.tingle-modal__close {
    font-size: 1.6rem;
    left: auto;
    right: 0px;
    line-height: 1.6rem;
}
.tingle-modal__closeIcon {
    font-size: 1.2rem;
    margin-right: 0;
}
.tingle-modal__closeLabel {
    display: none;
}
}

@media(min-width: 541px) {
.tingle-modal__close {
    font-size: 1.2rem;
    top: 20px;
    right: 20px;
}
.tingle-modal__closeIcon {
    font-size: 1.2rem;
    margin-right: 0;
}
}


/*
 * YouTubeフレーム関連
 */
.youtube {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#gallery img, #message img, video {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%); /*グレースケール*/
  /*filter: sepia(100%); /*セピア*/
}
