@charset "UTF-8";

body {
    font-family: YakuHanJP_Narrow, "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    -webkit-font-smoothing: antialiased;/*macでサイトのフォントが太くなるのを回避：アンチエイリアス制御*/
    color: #333;
    line-height: 1.4em;
}

:root{
  --sat-color:#1f9ad2;
  --sun-color:#e05e6f;
  --title-blue:#005da0;
  --title-red:#e60119;
}
.title-blue{color: var(--title-blue);}
.title-red{color: var(--title-red);}
.title-sat{color: var(--sat-color);}
.title-sun{color: var(--sun-color);}

.bold{font-weight: bold;}
.mb8{margin-bottom: 8px;}
.mb12{margin-bottom: 12px;}
a {color:var(--sat-color); text-decoration: underline;}

.title-catch{padding: 4px 0; color: #21a155;; border-radius: 8px;display: inline-block;
    font-size: smaller;}

.wrap{width: 100%; height: auto; }
.header {width: 100%; text-align: left; padding:12px; position: relative;}
.header .head-logo { font-size: 18px; }
.header .head-logo {width: 32%;}
.header .head-logo img {width: 100%; max-width: 200px;}
#wrapper{
/*描画されるテキストを中央寄せにする*/
	display:flex;
	justify-content: center;
	align-items: center; width: 100%; padding:12px 40px;
    position: relative; top: 0;
    overflow: hidden;
}
#wrapper h2{font-size: 24px;}


 .main_catch {max-width: 900px;
  width: 100%;
  height: auto;}


 .openbtn{
	position: fixed;
  right: 0; top: 0;
	cursor: pointer;
    width: 70px;
    height:50px; z-index: 999;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    right: 14px;
    height: 2px;
    border-radius: 2px;
	background: #333;
  }


.openbtn span:nth-of-type(1) {
	top:15px;	
  	width: 20%;
}

.openbtn span:nth-of-type(2) {
	top:23px;
  	width: 35%;
}

.openbtn span:nth-of-type(3) {
	top:31px;
  	width: 45%;
}

/*activeクラスが付与されると線が回転して×になる*/

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 30px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 30px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
}

  /*========= ナビゲーションのためのCSS ===============*/

  #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 998;
    /*ナビのスタート位置と形状*/
  top:0;
    right: -120%;
  width:100%;
    height: 100vh;/*ナビの高さ*/
  background:linear-gradient(45deg, rgba(88, 182, 211, .9), rgb(211 126 63 / 90%));
    /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:35%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
    text-align: center;
}

#g-nav li a{
  color: #fff;
  text-decoration: none;
  padding:10px 0;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.content-wrap{
    width: 100%;
    margin: 0 auto;
    padding: 0 2%;
    text-align: left;
}
.content-wrap .event-wrap {width: 100%; margin: 0 auto; padding: 0;}
.content-wrap .event-wrap .event-title {width: 100%; margin: 0 auto; padding: 0; text-align: center; background-color: var(--sat-color); color: #fff;
    font-size: 20px; font-weight: 600; padding: 10px 0; border-bottom-right-radius: 16px; border-bottom-left-radius: 16px;}
    .content-wrap .event-wrap .event-text {width: 100%; margin: 0 auto; margin-bottom: 32px; padding-top: 16px; text-align: center; background-color: #fff; color: #333;}
.event-item {width: 100%; margin: 0 auto; margin-bottom: 40px;position: relative; padding: 0 16px 16px 16px; border-radius: 16px; border: 1px solid var(--sat-color); }
.advance{position: absolute;right: 4px;top: -16px;background: var(--sun-color);padding:2px 4px; font-size: smaller; font-weight: bold; border-radius: 4px; color: white;}
.event-item .event-item-header{width: 100%; display: flex; }
.event-item .event-item-header .date {width: 18%; text-align: center; font-size: 18px; font-weight: 600; background: var(--sun-color); color: white; padding: 6px 0;}
.event-item .event-item-header .date.sat{background: var(--sat-color);}
.event-item .event-item-header .date span {display: block; font-size: 14px;}
.event-item .event-item-header .event-name {width: 82%; padding-left: 16px; font-size: 18px; font-weight: 600; color: #5c372d;}
.event-item .event-item-header .event-name span {font-weight: 400; font-size: 14px;}
.event-item .text-wrap {width: 100%; padding: 16px 0; text-align: left; font-size: 16px; line-height: 1.5em;}
.event-item .text-wrap .title-sat{font-weight: 600;}
.event-item .img-wrap{width: 100%; border-radius: 12px; overflow: hidden; }
.event-item .img-wrap img{width: 100%; height: auto; display: block; margin: 0 auto;}
.event-item .img-wrap.pot img{width: 38%; }
.event-item .btn-wrap {width: 100%;     display: flex;
      justify-content: center; margin-top: 16px;}
.map-wrap {width: 100%; margin: 0 auto; padding: 0;}
.map-wrap img {width: 100%; margin: 0 auto; padding: 0; }
.map-wrap .text-wrap{margin-top: 20px;}
.event-item-body{position: relative;}
.event-item-body .img-wrap.abso{position: absolute;top: -88px;right: -24px;width: 80px;}
.head-text.title-sun{margin-bottom:40px;}

@keyframes line{
0%{stroke-dashoffset: 1500px;}
100%{stroke-dashoffset: 0;}
}

.original-button {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5em;
  text-decoration: none;
  color: white;
  border-radius: 5px;
  font-weight: 600;
  width: 200px;
  height: 48px;
  position: relative;
  transition: 0.3s;
  background-color: var(--title-blue);
}
.original-button.disabled {
  pointer-events: none;
  opacity: 0.6;
  background-color: #ccc;
  color: #666;
  cursor: default;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;}

.original-button::before, .original-button::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform-origin: 100% 50%;
  height: 1px;
  width: 11px;
  background-color: white;
  border-radius: 2px;
  will-change: transform;
  transition: .3s;
}

.original-button::before {
  transform: translateY(-50%) rotate(30deg);
}

.original-button::after {
  transform: translateY(-50%) rotate(-30deg);
}

.original-button:hover::before {
  transform: translate(5px, -50%) rotate(30deg);
}

.original-button:hover::after {
  transform: translate(5px, -50%) rotate(-30deg);
}

.original-button.disabled::before, .original-button.disabled::after {display: none;}


.fadeIn{
animation-name:fadeInAnime;
animation-duration:2s;
animation-fill-mode:forwards;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.icon-wrap {width: 100%; margin: 130px auto 0 auto; text-align: center;}
.icon-wrap img {width: 40px;}
.icon-wrap.innavi {position: relative; top: 53%;}
#navi-close { position: relative; top: 60%; text-align: center; cursor: pointer;}

#footer {width: 100%; position: relative; text-align: center; line-height: 1.5em; padding: 30px 16px; margin-top: 60px; /*background-color: #1b2265;*/}
.footer-text {font-weight: 600; font-size: 16px; text-align: left;}
.footer-content-wrap {display: flex; margin: 20px auto; justify-content: space-between; margin-bottom: 50px;}
#footer address { font-size: small; text-align: left; }
.footer-link {text-align: right; font-size: small;}

span.smoothText {
    overflow: hidden;
    display: block; font-size: 11px;
}

.video-wrap {width: 100%;}
.video-wrap iframe {width: 100%; height: auto; aspect-ratio: 16 / 9;}


/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
	display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
	background:#ccc;	
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
	background:#888;
}

.content-wrap{width: 94%; margin: 30px auto; margin-bottom: 0; max-width: 1000px;}
.content-wrap.company-content { width: 100%; }
.content-wrap.how,.content-wrap.where { margin-top: 100px; }

.line {
    display: block;
    position: relative;
}
.line::after {
    background: #333;
    content: '';
    display: block;
    height: 1px;
    width: 100%;
}

.js-text-effect span{
    display: inline-block;
    opacity: 0;
    visibility: visible;
    transform: rotateY(90deg);
}

.button19 {margin-top:100px;}
.button19 a {
    display: flex;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    padding: 1em 2em;
    width: 250px;
    color: #fff;
    font-weight: 600;
    border: 1px solid #fff;
    transition: 0.3s;
  }
  
  .button19 a::before {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    right: -1.5em;
    transform: translateY(calc(-50% - 2px)) rotate(30deg);
    width: 12px;
    height: 1px;
    background-color: #fff;
    transition: 0.3s;
  }
  
  .button19 a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1.5em;
    transform: translateY(-50%);
    width: 50px;
    height: 1px;
    background-color: #fff;
    transition: 0.3s;
  }
  .button19.inactive a::before,
  .button19.inactive a::after {display: none;}
  
  .button19 a:hover::before,
  .button19 a:hover::after {
    right: -2.0em;
  }

  #page-top a{
    display: flex;
    justify-content:center;
    align-items:center;
    background:#e1dccf;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    color: #fff;
    text-align: center;
    text-transform: uppercase; 
    text-decoration: none;
    font-size:0.8rem;
    transition:all 0.3s;
    opacity: 0.8;
  }
  
  
  /*リンクを右下に固定*/
  #page-top {
    position: fixed;
    right: 18px;
    bottom:18px;
    z-index: 2;
      /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
  }
  
  /*　上に上がる動き　*/
  
  #page-top.UpMove{
    animation: UpAnime 0.5s forwards;
  }
  @keyframes UpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  
  /*　下に下がる動き　*/
  
  #page-top.DownMove{
    animation: DownAnime 0.5s forwards;
  }
  @keyframes DownAnime{
    from {
      opacity: 1;
    transform: translateY(0);
    }
    to {
      opacity: 1;
    transform: translateY(100px);
    }
  }
  .scrolldown1{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	left:50%;
	bottom:-17px;
	height:50px;
  opacity: 0.9;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
	position: absolute;
	left:-15px;
	top: -15px;
    /*テキストの形状*/
	color: #333;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 1px;
	height: 30px;
	background: #333;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}

.underlayer.content-wrap h1 { margin-top: 16px; padding-left: 5px;}
.underlayer.content-wrap.contact h1 { color: #333; }
.underlayer.content-wrap.contact h2 { margin-top: 16px; padding-left: 5px;}
.underlayer .companys_wrap {margin-top: 60px;}

.privacy_wrap {max-width: 800px;
  margin: 0 auto;
  padding: 20px 10px;
  margin-top: 30px;
  line-height: 1.5em;
  font-size: 15px;
}
.privacy_wrap h2 {
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 5px;     font-size: large;
    font-weight: 600; margin-top: 30px;
}
.privacy_wrap h3 { margin-top: 30px; font-size: large;}
.privacy_wrap p {
    margin: 10px 0;
}
.privacy_wrap .date {
    text-align: right;
    margin-top: 20px;
}
.privacy_wrap .contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e5e5;
}

.disp-pc { display: none; }

.company_wrap {width: 100%; margin-top: 40px; line-height: 1.5em; font-size: 15px;}
.company_wrap .overview a {text-decoration: underline;}
.company_wrap .image-main {width: 100%; padding: 0 3%; }
.company_wrap .image-main img {width: 100%; }
.company_wrap .intro {width: 94%; margin: 20px auto 0 auto; text-align: center;}
.company_wrap .intro h2 {font-size: large; padding: 0 3%;}
.company_wrap .overview {width: 100%; margin-top: 50px; text-align: left; padding: 0 3%;}
.heading08 {font-size: 26px; line-height: 1.5em; color: #1b2265; position: relative; }
.heading08 span {	display: flex; align-items: center; font-size: 18px; position: relative; left: -3%;}
.heading08 span::before {	content: '';	display: inline-block;	margin-right: 8px;	width: 40px;	height: 1px;	background-image: linear-gradient(90deg, rgba(248, 15, 15, 1), rgba(207, 63, 245, 1));}
.overview-text {margin-top: 30px; padding: 0 10px;}
.overview-img {margin-top: 20px; padding: 0 10px; text-align: center;}
.overview-img img {width: 100%; display: block; margin-bottom: 8px; }
.overview-img span {margin-top: 8px;}
.shonan-el .overview-img {text-align: left;}
.overview .dl-wrap {margin-top: 30px; padding: 0 10px;}
.overview .dl-wrap dl {margin-bottom: 20px;}
.overview .dl-wrap dt {font-size: 16px; margin-bottom: 4px;}
.company_wrap .overview-odo {background-color: #fafafa; padding-top: 20px; padding-bottom: 30px;}
.company-head {width: 94%; margin: 0 auto;}
.company_wrap .btn-wrap .button19 { margin-top: 50px; }
.company_wrap .btn-wrap .button19 a { color: #1b2265;; border: 1px solid #1b2265; }
.company_wrap .btn-wrap .button19 a::before { background-color: #1b2265; }
.company_wrap .btn-wrap .button19 a::after { background-color: #1b2265; }

.wrap.company-item .underlayer.content-wrap.shonan-el h1,
.wrap.company-item .underlayer.content-wrap.shonan-el .heading08 span {color: #00a0d9;}

.wrap.company-item .underlayer.content-wrap.syakaijin h1,
.wrap.company-item .underlayer.content-wrap.syakaijin .heading08 span {color:#2459ac;}

.wrap.company-item .underlayer.content-wrap.eco h1,
.wrap.company-item .underlayer.content-wrap.eco .heading08 span {color:#098137;}

.wrap.company-item .underlayer.content-wrap.cars h1,
.wrap.company-item .underlayer.content-wrap.cars .heading08 span {color:#1b2265;}

.wrap.company-item .underlayer.content-wrap.jiryuu h1,
.wrap.company-item .underlayer.content-wrap.jiryuu .heading08 span {color:#841D21;}

.contact_wrap {margin-top: 60px; max-width: 800px; line-height: 1.5em; margin-right: auto; margin-left: auto;}
.contact-head { padding: 12px;}
.contact_wrap h3 { width: 100%; text-align: center; font-size: 20px; font-weight: 600;}

/*contact*/
.contact_wrap form {
	width: 94%;
	margin: 0 auto;
	text-align: center;
  margin-top: 30px;
}

.contact_wrap label {
	margin-bottom: 3px;
	text-align: left;
	display: block;
  font-weight: 600;
}

.contact_wrap label span {
	padding-left: 5px;
	color: red;
}

.contact_wrap input:not(input[type="submit"]) {
	width: 100%;
	margin-bottom: 25px;
	padding: 7px 7px;
	border: 1px solid #CCC;
	border-radius: 5px;
	text-align: left;
	display: block;
}

.contact_wrap textarea {
	width: 100%;
	margin-bottom: 25px;
	padding: 7px 7px;
	border: 1px solid #CCC;
	border-radius: 5px;
	text-align: left;
	display: block;
}

.contact_wrap input[type="submit"] {
	margin: 20px;
	padding: 10px 15px;
	background-color: #EEE;
	border: 1px solid #BBB;
	border-radius: 5px;
	display: inline-block;
}

.contact_wrap p:not(.complete) {
	width: 100%;
	min-height: calc(1em * 1.15 + 7px * 2 + 2px);
	margin-bottom: 25px;
	padding: 7px 7px;
	border-radius: 5px;
	text-align: left;
	display: block;
}
.contact_wrap .complete {
	text-align: center;
}

.contact_wrap .error {
	width: 60%;
	margin: 30px auto;
}
.contact_wrap .error li {
	color: red;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb p::after {
  content: ">";
  margin-left: 0.6em; /* 記号の左右の余白 */
  color: white; /* 記号の色 */
}

.breadcrumb p { margin-top: 16px; margin-left: 6px; }
.breadcrumb p a { text-decoration: underline; }
.company-content .breadcrumb p::after,
.company-content .breadcrumb p a,
.contact .breadcrumb p::after,
.contact .breadcrumb p a { color: #333; }
.breadcrumb p.breadcrumb-current::after { content: ""; }
.company-content .breadcrumb {width: 94%; margin-left: auto; margin-right: auto;}
.modaal-image .modaal-container { width:80%; }
/* .modaal-gallery-control { display: none; } */

/* for tablet */
@media (min-width: 481px) {
  form.confirm {width: 60%;}
}

/* for pc */
@media (min-width: 960px) {
  .header {padding-left: 3%;}
  .header .head-logo {font-size: 24px;}
    .test-slick {max-width: 1000px; }
    .disp-pc { display: inline-block; }
    .companys_wrap {display: flex; flex-flow: wrap; gap: 20px 30px;}
    .companys_item {width: calc((100% - 60px) / 3);}

    .company_wrap {max-width: 1000px; margin-left: auto; margin-right: auto; line-height: 1.8em;}
    .company_wrap .image-main {padding: 0;}

    .contact-head {text-align: center;}
    form.confirm {width: 60%;}

    .modaal-image .modaal-container { width:30%; }
.disp-sp { display: none; }
    .h3-white,
    .text-white,
    /* .underlayer.content-wrap h1, */
    .underlayer.content-wrap .breadcrumb,
    .underlayer.content-wrap #companys,
    .underlayer.content-wrap.contact h2 
     {max-width: 1000px; margin-right: auto; margin-left: auto;}

     .flex-wrap {display: flex; flex-wrap: wrap; gap: 20px}
    .flex-wrap .pc-event-wrap {width: calc(60% - 20px);}
    .flex-wrap .map-wrap {width: 40%;}
    .stiky-box {position: sticky; top: 0; z-index: 1; }
    .event-item-body .img-wrap.abso{position: absolute;top: -100px;right: 8px;width: 100px;}

     #footer { margin-top: 100px; }
    .footer-text { margin: auto;}
    .footer-text,.footer-content-wrap { max-width: 1200px; }
    .wrap.company-item span.smoothText { color: #1b2265; }
}
