/* カラー変更 */

:root {
  --content-width: 1200px;
  --main-color: #005886;
  --sub-color: #5f9b00;
  --pale-color: #bde381;
}


/* コンテンツレイアウト */

body {
  font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "游ゴシック体", "Yu Gothic", YuGothic, Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", sans-serif;
}
main{
  position: relative;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  word-break: break-all;
  border-spacing: 0;
  border-collapse: collapse;
  text-indent: initial;
  text-decoration: none;
  line-height: 2.0em;
}

section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}


@media (max-width: 767px) {
  section {
    padding: 30px 0;
  }
}

.home section:first-of-type {
  padding-top: 60px;
}

@media (max-width: 767px) {
  .home section:first-of-type {
    padding-top: 30px;
  }
}

.container {
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}

@media (min-width: 767px) {
  .container {
    margin: 0 auto;
    max-width: var(--content-width);
  }
   :first-child {
    margin-top: 0;
  }
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: calc(-1 * 30px / 2);
  margin-left: calc(-1 * 30px / 2);
}

@media (max-width: 767px) {
  .row {
    display: block;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .row.sp-2row {
    display: flex;
  }
}

.row.reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.row .span_1 {
  width: calc(100% / 12 * 1);
}

.row .span_2 {
  width: calc(100% / 12 * 2);
}

.row .span_3 {
  width: calc(100% / 12 * 3);
}

.row .span_4 {
  width: calc(100% / 12 * 4);
}

.row .span_5 {
  width: calc(100% / 12 * 5);
}

.row .span_6 {
  width: calc(100% / 12 * 6);
}

.row .span_7 {
  width: calc(100% / 12 * 7);
}

.row .span_8 {
  width: calc(100% / 12 * 8);
}

.row .span_9 {
  width: calc(100% / 12 * 9);
}

.row .span_10 {
  width: calc(100% / 12 * 10);
}

.row .span_11 {
  width: calc(100% / 12 * 11);
}

.row .span_12 {
  width: 100%;
}

.row>.col {
  margin-top: 30px;
  margin-left: 0;
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}
section.news .row>.col {
  display: flex;
}
@media (max-width: 767px) {
  .row>.col {
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    padding-left: 0;
    width: 100%;
  }
  .row.sp-2row>.col {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .row .span_1 {
    width: auto;
  }
  .row>.col:not(:first-child) {
    margin-top: 20px;
  }
}


/* ぱんくず */

.bread_wrap {
  margin-top: 0;
  margin-bottom: 0;
}

.bread {
  overflow: hidden;
  margin: 0;
  justify-content: flex-end;
}

.bread ul {
  float: none;
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  flex-wrap: wrap;
}

.bread ul li {
  list-style: none;
  position: relative;
  float: left;
  margin-right: 20px;
  padding-right: calc(20px + 9px);
  color: #000;
}

@media (max-width: 767px) {
  .bread ul li {
    margin-right: 15px;
    padding-right: calc(15px + 9px);
  }
}

.bread ul li a {
  padding: 0;
  text-decoration: none;
  color: #000;
}
.bread ul li a:first-child {
  padding: 0;
  text-decoration: none;
  color: var(--main-color);
  font-weight: bold;
}

.bread ul li a:hover {
  text-decoration: underline;
}

.bread ul li:after {
  content: '>';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  color: #000;
}

.bread ul li:last-child {
  padding-right: 0;
  margin-right: 0;
}

.bread ul li:last-child:after {
  content: none;
}


/* 画像のフィックス */

figure {
  margin: 0;
  text-align: center;
}

img {
  vertical-align: middle;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  max-width: 100%;
  width: 100%;
  height: auto;
}

figure img {
  width: inherit;
}


/* 投稿 */

.article_list {
  padding: 30px;
  border: 1px solid var(--main-color);
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .article_list {
    padding: 20px;
  }
}

.article_list:first-child {
  margin-top: 0;
}

.article_list:nth-child(n+2) {
  margin-top: 30px;
}

.article_detail {
  font-size: 1.2rem;
}

.article_detail img {
  width: auto;
}

.article_detail .span_12 {
  margin: 2% 0;
}

.article_button {
  margin-top: 30px;
  text-align: right;
}

@media (max-width: 767px) {
  .article_button {
    margin-top: 20px;
  }
}

.more {
  display: block;
  overflow: hidden;
  margin: auto;
  text-align: right;
}
.more span{
  padding-left: 10px;
  transition: all 0.2s ease-out;
}
.news-item:hover .more{
  color: #fff;
}

.news-item:hover .more span{
  padding-left: 20px;
  color: #fff;
}
.archive{
  position: relative;
  box-shadow: none!important;
  border: 2px solid var(--main-color);
}
.archive:nth-child(n+2) {
    margin-top: 20px;
}
.archive:before{
  content: '';
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  background-image: url(/wp-hcs/wp-content/uploads/arrow-right.png);
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
}
.archive:hover {
    color: #fff;
}
.archive:hover:before {
    background-image: url(/wp-hcs/wp-content/uploads/arrow-right-white.png);
}
.archive article{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
.archive .article-title{
  width: 100%;
}
}

.pager {
  overflow: hidden;
  margin-bottom: 5%;
}

.pager .pager_prev {
  float: left;
}

.pager .pager_prev a {
  display: block;
  position: relative;
  padding-left: 15px;
  text-decoration: none;
}

.pager .pager_prev a:before, .pager .pager_prev a:after {
  content: "";
  display: block;
  position: absolute;
  left: 2px;
  margin: auto;
  width: 8px;
  height: 1px;
  background: var(--main-color);
  -webkit-transition: .2s;
  transition: .2s;
}

.pager .pager_prev a:before {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
  top: calc(50% - 2px);
}

.pager .pager_prev a:after {
  -webkit-transform: translateY(-50%) rotate(-135deg);
  transform: translateY(-50%) rotate(-135deg);
  top: calc(50% + 3px);
}

.pager .pager_prev a:hover {
  text-decoration: underline;
}

.pager .pager_prev a:hover:before {
  left: 0;
}

.pager .pager_prev a:hover:after {
  left: 0;
}

.pager .pager_next {
  float: right;
}

.pager .pager_next a {
  display: block;
  position: relative;
  padding-right: 15px;
  text-decoration: none;
}

.pager .pager_next a:before, .pager .pager_next a:after {
  content: "";
  display: block;
  position: absolute;
  right: 2px;
  margin: auto;
  width: 8px;
  height: 1px;
  background: var(--main-color);
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transition: .2s;
  transition: .2s;
}

.pager .pager_next a:before {
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  top: calc(50% - 2px);
}

.pager .pager_next a:after {
  -webkit-transform: translateY(-50%) rotate(135deg);
  transform: translateY(-50%) rotate(135deg);
  top: calc(50% + 3px);
}

.pager .pager_next a:hover {
  text-decoration: underline;
}

.pager .pager_next a:hover:before {
  right: 0;
}

.pager .pager_next a:hover:after {
  right: 0;
}

.pagination{
   margin:40px 0 0;
   text-align: center;
   font-weight: bold;
}
.nav-links{
   display:flex;
}
.pagination .page-numbers{
   margin:10px;
   padding:5px;
   color:#fff;
   background:var(--main-color);
   border:2px solid var(--main-color);
}

.pagination .current{
   padding:5px;
   color:var(--main-color);
   background: #fff;
}

.pagination .prev,
.pagination .next{
    margin: 10px;
    height: auto;
    padding: 4px 10px;
    text-align: center;
    background: var(--main-color);
    color: #fff;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--main-color);
}

.pagination .prev:hover,
.pagination .next:hover{
  color: var(--main-color);
  background: #fff;
}

.pagination .dots{
   background:transparent;
   box-shadow:none;
}

.news-item {
  padding: 10px 20px;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  background: #fff;
  display: block;
  transition: all 0.2s ease-out;
  flex-grow: 1;
}

.news-item:hover{
  background: var(--main-color);
}

.date-cat {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.news-item:hover .date-cat {
  color:#fff;
}

.news-item figure {
  border: 1px solid #575757;
}

.cat {
  background: var(--main-color);
  padding: 5px;
  color: #fff;
  font-size: 12px;
  width: inherit!important;
}

.news-item:hover .cat {
  background: #fff;
  color: var(--main-color);
}

.news-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0.5em 0;
}

.news-item:hover .news-title {
  color: #fff;
}

@media (max-width: 480px) {
  .news-item figure {
    display: none;
  }
}

section.company {
  background: #EEEEEE;
}
.top-company{
  display: flex;
  align-items: center;
}

.company-head {
  writing-mode: tb-rl;
  text-orientation: upright;
  font-size: 1.6rem;
  font-family: serif;
  color: #B89E14;
  font-weight: bold;
}

.company-head p{
  line-height: 1;
}

.company-head span{
  padding-top: 200px;
}

.company-content {
  max-width: 500px;
}

@media(max-width:1000px){
  .company-content {
    max-width: 300px;
  }
}

@media(max-width:540px){
.top-company{
  flex-wrap: wrap;
  flex-direction: column-reverse;
}
.company-head {
  writing-mode: horizontal-tb;
}
.company-head span{
  padding-top: 0;
  padding-left: 140px;
}
.company-content p {
  line-height: 1.8;
}
}

.safety-head h2{
  align-items: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

.safety-head h2 span{
  font-family: serif;
  font-size: 2.4rem;
  color: #B89E14;
  font-weight: bold;
  padding: 0 10px;
}

.safety-content {
  max-width: 800px;
  display: flex;
  margin: 0 auto;
  gap: 20px;
  background: #f1ecd0;
  padding: 30px;
  align-items: center;
  justify-content: center;
}
@media(max-width:540px){
  .safety-content {
    flex-wrap: wrap;
  }
}

.top-merit {
  display: flex;
  flex-wrap: wrap;
}

.merit-content {
  width: 33.3%;
  padding: 60px 30px;
}

.merit-head {
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
}

.merit-head.white{
  color: #fff;
}

.merit-content img{
  width: 200px;
}

.merit-text {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  margin: 40px 0 0;
}

.merit-content:nth-child(1){
  background-size: cover;
  background-position: center;
  background-image: url(/wp-hcs/wp-content/uploads/merit-bg01.png);
}
.merit-content:nth-child(2){
  background-size: cover;
  background-position: center;
  background-image: url(/wp-hcs/wp-content/uploads/merit-bg02.png);
}
.merit-content:nth-child(3){
  background-size: cover;
  background-position: center;
  background-image: url(/wp-hcs/wp-content/uploads/merit-bg03.png);
}

@media(max-width:540px){
  .merit-content {
    width: 100%;
    padding: 30px 15px;
  }
}
.merit-content img{
  width: 150px;
}
.top-purpose {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 2%;
}

.purpose-content {
  width: 32%;
  position: relative;
}

.purpose-content p{
  background: var(--main-color);
  padding: 5px 5px;
  position: absolute;
  top:10px;
  left:0;
  color: #fff;
  margin: 0;
}
.purpose-content p span{
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  background: var(--main-color);
  width: 20px;
  height: 100%;
  position: absolute;
  display: inline-block;
  top: 0;
  right: -20px;
}


@media(max-width:768px){
  .purpose-content {
    width: 49%
  }
  .purpose-content p{
    font-size: 12px;
    padding: 0px 5px;
    top: 4px;
  }
}

section.news {
  background-size: 100%;
  background-position: bottom center;
  background-image: url(/wp-hcs/wp-content/uploads/news-bg.png);
  padding-bottom: 90px;
  background-repeat: no-repeat;
  margin-bottom: 20px;
}

.loop-wrap {
  display: flex;
  align-items: center;
  height: 90px;
  position: absolute;
  overflow: hidden;
  background: transparent;
  width: 100%;
  left: 0;
  bottom: -10px;
}

.loop-area {
  display: flex;
  animation: loop-slide 20s infinite linear 1s both;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  width: calc(100% + 180px);
  position: absolute;
  right: -180px;
  z-index: 3;
  overflow: hidden;
  bottom: -7px;
}

.loop-area .bus img{
  width: 180px;
}

@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.checkmark001{
	padding-left:30px;
	position:relative;
}
.checkmark001:before,
.checkmark001:after{
	content:"";
	display:block;
	position:absolute;
}
.checkmark001:before{
	width:16px;
	height:16px;
	background:#ffffff;
    	border:1px solid #000000;
	left:0;top:2px;
}
.checkmark001:after{
	border-left:2px solid #2D3194;
	border-bottom:2px solid #2D3194;
	width:18px;
	height:5px;
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg);
	left:5px;
	top:3px;
}
.checkmark002{
	padding-left:24px;
	position:relative;
}

.checkmark002:before,
.checkmark002:after{
	content:"";
	display:block;
	position:absolute;
}
.checkmark002:before{
	width:16px;
	height:16px;
	border-radius:8px;
	background:#ffffff;
	border:1px solid #000000;
	left:0;top:2px;
}
.checkmark002:after{
	border-left:2px solid #ff0000;
	border-bottom:2px solid #ff0000;
	width:6px;
	height:3px;
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg);
	left:5px;
	top:7px;
}
/* コンタクトフォーム */

.inquiry {
  width: 960px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .inquiry {
    width: auto;
  }
}

.inquiry input[type="text"], .inquiry input[type="url"], .inquiry input[type="email"], .inquiry input[type="tel"], .inquiry input[type="date"], .inquiry input[type="number"], .inquiry select, .inquiry textarea {
  width: 100%;
  padding: 5px;
  color: #000;
}

.buttom-flow{
  display: flex;
  justify-content: center;
  gap:20px;
}

.wpcf7-previous{
  display: block;
  width: 180px;
  height: auto;
  padding: 16px 10px;
  text-align: center;
  background: #575757;
  color: #fff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
  border: 2px solid #575757;
}

.wpcf7-submit {
  display: block;
  width: 180px;
  height: auto;
  padding: 16px 10px;
  text-align: center;
  background: var(--main-color);
  color: #fff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--main-color);
}

.wpcf7-previous:hover {
  color: #575757;;
  background: #fff;
  border: 2px solid #575757;
}

.wpcf7-submit:hover {
  color: var(--main-color);
  background: #fff;
}

.buttom-flow p{
  margin: 0;
}

.wpcf7-spinner {
  display: none;
}

.require {
  color: #c00;
}


/* Slider */

.mv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.mv-image {
  z-index: -1;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.mv-image.mv01 {
  background-image: url(/wp-hcs/wp-content/uploads/mv01.png);
}

.mv-image.mv02 {
  background-image: url(/wp-hcs/wp-content/uploads/mv02.png);
}

.mv-image.mv03 {
  background-image: url(/wp-hcs/wp-content/uploads/mv03.png);
}

.mv-image.mv04 {
  background-image: url(/wp-hcs/wp-content/uploads/mv04.png);
}

.mv-image.mv05 {
  background-image: url(/wp-hcs/wp-content/uploads/mv05.png);
}

.mv-image figure img {
  width: 100%;
}

@media (max-width: 1024px) {
  .mv {
    height: 500px;
  }
  .mv-image {
    z-index: -1;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
  }
}
@media (max-width: 480px) {
  .mv {
    height: 300px;
  }
  .mv-image {
    z-index: -1;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
  }
}

/* キャッチフェード */

.catch {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  width: 60%;
}

.bus-anime {
  position: absolute;
  top: 0;
}

.bus-active {
  animation: bus-active 4s linear both;
}

.bus-anime img{
  width: 100%;
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
}

@keyframes bus-active {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(102%);
  }
}
.catch-anime img{
  width: auto;
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
}

.catch-anime{
  position: absolute;
  top: 0;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
  -webkit-transition: all 4s linear;
  transition: all 4s linear;
}

.catch-anime.active{
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
}

.circle-anime {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 35%;
  opacity: 0;
}

.circle-anime img{
  animation: rotate 15s linear infinite;
}

.hokkaido{
  position: absolute;
  bottom: -100%;
  left: -16%;
  width: 65%;
  z-index: -1;
  opacity: 0;
}

.bus-active .hokkaido,
.bus-active .circle-anime{
  opacity: 1;
  transition: 2s 4s ease;
}

@media (max-width: 480px) {
  .catch {
  top: 60%;
  transform: translate(-60%, -60%);
}
}


/* 見出し */

h2.heading-1 {
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  padding-top: 0;
  font-size: 1.8rem;
  color: var(--main-color);
  text-align: center;
}
h2.heading-1 span {
  position: relative;
  padding-left: 1.5em;
}

h2.heading-1 span:before {
  position: absolute;
  content:'';
  width: 15px;
  height: 50px;
  background: #000;
  transform: rotate(45deg);
  left: 8px;
  top: 4px;
  z-index: 1;
}
h2.heading-1 span:after {
  position: absolute;
  content:'';
  width: 15px;
  height: 50px;
  background: var(--main-color);
  transform: rotate(45deg);
  left: 10px;
  top: -12px;
}

h2.heading-2 {
  margin: 0 auto;
  padding: 30px 0 0 0;
  border: 0;
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1em;
  position: relative;
  width: max-content;
}

h2.heading-2:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background: url("/wp-hcs/wp-content/uploads/header-accent.png");
  width: 75px;
  height: 22px;
}

h2.heading-2 span {
  font-size: 0.8rem;
  display: block;
  color: var(--main-color);
  text-align: right;
}

h2.heading-2.white {
  color: #fff;
}

h2.heading-2.white span {
  color: #fff;
}

h3.heading-3 {
  margin: 0.2em 0 0.5em;
  font-weight: bold;
  font-size: 1.6rem;
  position: relative;
  line-height: 1.5em;
  padding-bottom: 0.5em;
}
h3.heading-3 span{
  font-size: 1rem;
  color: var(--main-color);
  display: block;
}

h3.heading-3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, rgba(0,88,134,1) 0%, rgba(0,88,134,1) 10%, rgba(224,224,224,1) 10%);
}

h3.heading-3.white {
  color: #fff;
}

h3.heading-3.white:after {
  background: #fff;
}

h4.heading-4 {
  margin: 0.5em 0;
  padding: 0.2em 0 0.2em 1em;
  font-size: 1.2rem;
  position: relative;
  line-height: 1.5em;
}

h4.heading-4:after {
  content: '';
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  display: block;
  width: 6px;
  height: 100%;
  margin: auto;
  background: var(--main-color);
}

h4.heading-4.white {
  color: #fff;
}

h4.heading-4.white:after {
  background: #fff;
}

h5.heading-5 {
  margin: 0.2em 0 0.5em;
  padding: 0.2em 0 0.2em 1em;
  font-size: 1rem;
  position: relative;
  font-weight: bold;
  line-height: 1.5em;
}

h5.heading-5:after {
  content: '';
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  display: block;
  width: 6px;
  height: 1px;
  margin: auto;
  background: var(--main-color);
}

h5.heading-5.white {
  color: #fff;
}

h5.heading-5.white:after {
  background: #fff;
}

#pagetitle {
  position: relative;
  color: #fff;
  padding: 10em 0 3.5em;
}
#pagetitle.ordermade {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-ordermade.png") center;
}
#pagetitle.policy {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-policy.png") center;
}
#pagetitle.estimate {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-estimate.png") center;
}
#pagetitle.contact {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-contact.png") center;
}
#pagetitle.infection {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-infection.png") center;
}
#pagetitle.purpose {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-purpose.png") center;
}
#pagetitle.introduction {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-introduction.png") center;
}
#pagetitle.gallery {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-gallery.png") center;
}
#pagetitle.safety {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-safety.png") center;
}
#pagetitle.about {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-about.png") center;
}
#pagetitle.law {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-law.png") center;
}
#pagetitle.news {
  background: url("/wp-hcs/wp-content/uploads/pagetitle-news.png") center;
}


#pagetitle:before {
  content: '';
  position: absolute;
  background: rgb(0 0 0 / 50%);
  width: 100%;
  height: 100%;
  top: 0;
}

#pagetitle span {
  font-size: 2.0rem;
  font-weight: bold;
  display: block;
  box-sizing: border-box;
  line-height: 1;
  text-align: center;
  position: relative;
}
#pagetitle p {
  font-size: 1rem;
  color: #fff;
  margin: 0;
  text-align: center;
  position: relative;
}

@media (max-width: 480px) {
  #pagetitle {
    padding: 7em 0 2.5em;
  }
  #pagetitle span {
    font-size: 1.5rem;
  }
  h2.heading-2 {
    font-size: 1.2rem;
  }
  h3.heading-3 {
    font-size: 1.1rem;
  }
  h4.heading-4  {
    font-size: 1rem;
  }
}


/* ボタン */

.btn-1 {
  display: block;
  width: 220px;
  margin: 0 auto;
  height: auto;
  padding: 16px 10px;
  text-align: center;
  background: var(--main-color);
  color: #fff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  border: 2px solid var(--main-color);
}


.btn-1:hover {
  color: var(--main-color);
  background: #fff;
}

.btn-1.black {
  color: #fff;
  background: #575757;
  border: 2px solid #575757;
}

.btn-1.black:hover {
  color: #575757;
  background: #fff;
}



/* テーブル */

.table-schedule {
  width: 100%;
}

.table-schedule td, .table-schedule th {
  border: 1px solid #fff;
  padding: 0.7em;
  text-align: center;
  background: #dedede;
}

@media (max-width: 480px) {
  .table-schedule td, .table-schedule th {
    padding: 0.7em .3em;
    height: 60px;
  }
}

.table-schedule thead th {
  background: var(--main-color);
  color: #fff;
  font-size: 12px;
}

.table-schedule tbody th {
  background: transparent;
}

.table-default {
  width: 100%;
}

.table-default td, .table-default th {
  padding: 0.7em 1em;
  border: 1px solid #fff;
  vertical-align: middle;
}

.table-default th {
  background: var(--main-color);
  color: #fff;
}


/* 流れ */

.bg {
  background: #e8f6fb;
  padding: 10px 15px;
  display: block;
  border: 1px solid #fff;
  box-shadow: 0 3px 3px #ebeae8;
  border-radius: 13px 0;
  margin-right: 10px;
}

span.bg {
  background: var(--main-color);
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  display: block;
}

.indent {
  margin-left: 2em;
  text-indent: -2em;
}

.indent span.bg {
  display: inline;
}

.frame {
  border: 1px solid var(--main-color);
  border-radius: 6px;
  padding: 1em 0;
  position: relative;
  display: flex;
}

.frame>.col {
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}

.span_6 .frame, .span_4 .frame {
  margin-top: 30px;
}

@media (max-width: 767px) {
  .span_6 .frame, .span_4 .frame {
    margin-top: 20px;
  }
  .frame {
    display: block;
  }
  .frame .span_2, .frame .span_3, .frame .span_4, .frame .span_5, .frame .span_6, .frame .span_7, .frame .span_8, .frame .span_9, .frame .span_10 {
    width: 100%!important;
  }
}

.frame.arrow:after {
  border-color: transparent transparent transparent var(--main-color);
  border-style: solid;
  border-width: 26px 0 26px 18px;
  content: '';
  margin-top: -11px;
  position: absolute;
  right: 50%;
  bottom: -36px;
  transform: rotate(90deg);
}

.frame.arrow.end:after {
  display: none;
}


/* リスト */

dl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

dl dt {
  font-weight: bold;
  width: 230px;
  border-bottom: 1px solid var(--main-color);
  padding: 10px;
  margin: 0;
}

dl dd {
  width: calc(100% - 240px);
  border-bottom: 1px solid #9c9c9c;
  padding: 10px;
  margin: 0;
}

@media (max-width: 767px) {
  dl dt {
    width: 100%;
  }
  dl dd {
    width: 100%;
  }
}


/* ページトップ */

.pagetop {
  position: absolute;
  top: 50px;
  right: 5%;
  z-index: 100;
  margin: 0;
}

@media (max-width: 767px) {
  .pagetop {
    bottom: 74px;
  }
}

.pagetop a {
  text-indent: 100%;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  width: 100px;
  height: 100px;
  padding: 0;
}

.keyvisual__scroll--circle{
  height: auto;
  width: 100%;
  animation: rotate 15s linear infinite;
  position: absolute;
  left: 0;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pagetop a:before {
  position: absolute;
  content: 'TOP';
  bottom: 20px;
  left: 13px;
  color: #fff;
  font-size: 12px;
}

.pagetop a:after {
  content: "";
  display: block;
  position: absolute;
  top: 40%;
  left: 50%;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  -webkit-transform: translate(-50%, -20%) rotate(45deg);
  transform: translate(-50%, -20%) rotate(45deg);
  -webkit-transition: .2s;
  transition: .2s;
}
.pagetop a:hover:after {
  top: 30%;
}


/* バナーエリア */
.bnr-area{
  background: linear-gradient(180deg, #6E71AD 15.85%, #2D3194 57.96%);
  padding: 30px 0;
}
.bnr {
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap:20px;
}
.bnr li {
  width: 48%;
}
@media (max-width: 767px) {
  .bnr {
    display: block;
  }
    .bnr li {
      width: 100%;
    }
}



@media (max-width: 767px) {
  .bnr li {
    padding: 10px;
  }
}

.bnr li a img {
  margin: 0 auto;
}


/* ヘッダー */

header {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.5);
  width: 100%;
  z-index: 200;
}

.header-wrap {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  width: auto;
  min-height: 75px;
  padding: 0;
  text-align: center;
}


@media (max-width: 480px) {
  .header-wrap:after {
    border: none;
  }
  .header-wrap:before {
    border: none;
  }
}

@media (max-width: 767px) {
  .header-wrap {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 0;
    z-index: 999;
    padding: 0 60px 0 0;
  }
}

.header-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.header-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 767px) {
  .header-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    width: 100%;
  }
}

.header-head:not(.title) {
  font-size: 1rem;
  line-height: 1;
  margin: 0;
  flex: 1;
  display: flex;
  gap: 10px;
  margin: 0 20px;
}

@media (max-width: 767px) {
  .header-head:not(.title) {
    padding: 0;
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header-head:not(.title) {
    width: 85%;
  }
}

@media (max-width: 767px) {
  .header-head:not(.title) img {
    height: auto;
    width: auto;
  }
}

.header-head {
  text-align: left;
}

.header-head img{
  width: 350px;
}

.header-head a {
  display: inline-block;
}

.header-head p {
  color: #231815;
  font-size: 1.5rem;
  font-weight: bold;
}

.header-copy:not(.title) {
  color: #1b1b1b;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.2;
  margin: 0 0 20px 0;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
}

@media (max-width: 767px) {
  .header-copy:not(.title) {
    display: none;
  }
}



.nav {
  position: fixed;
  min-height: 100%;
  width: 100%;
  top: 0;
  right: -100%;
  z-index: 30000;
}

.nav__bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  cursor: pointer;
}

@media (max-width: 767px) {
  .nav__bg {
    display: none;
  }
}

.nav__wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 460px;
  height: 100vh;
  padding-bottom: 30px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.8);
  ;
}

@media (max-width: 767px) {
  .nav__wrap {
    width: 100%;
    height: 100vh;
    padding-bottom: 70px;
    overflow-y: scroll;
  }
}

.nav-btn {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  width: 60px;
  height: 100%;
  z-index: 99999999;
  background: var(--main-color);
}

.nav-btn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 17px;
  height: 3px;
  border-radius: 2px;
  background: #FFF;
  width: 50%;
}
.nav-btn span:nth-of-type(1) {
  top: 20px;
}
.nav-btn span:nth-of-type(2) {
  top: 32px;
}
.nav-btn span:nth-of-type(3) {
  top: 45px;
}

.nav-btn.is-active span:nth-of-type(1) {
    top: 27px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.nav-btn.is-active span:nth-of-type(2) {
  opacity: 0;/*真ん中の線は透過*/
}

.nav-btn.is-active span:nth-of-type(3){
    top: 40px;
    left: 17px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}


@media (max-width: 767px) {
  .nav__items {
    margin-top: 0;
    padding-top: 60px;
    width: 290px;
    margin: 0 auto;
  }
}

.nav__items ul {
  list-style: none;
  padding: 15px 0 0 0;
}

.nav__items ul li a {
  display: block;
  padding: 10px;
  font-size: 1rem;
  color: #ebeddf;
  border-bottom: 1px solid #fff;
}

@media (max-width: 767px) {
  .nav__items ul li a {
    background-size: 100% auto;
  }
}

@media (min-width: 769px) {
  .nav__items ul li a:hover {
    -webkit-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=percentage(70))";
    zoom: 1;
  }
}

.nav__items ul li a.has_under ul.sub-menu {
  padding-top: 0;
  margin-right: 10px;
  margin-left: 30px;
}

.nav__items ul li a.has_under ul.sub-menu li a {
  background: #fff;
  color: #fff;
  font-size: 2rem;
}

.nav__items ul ul {
  margin-top: 0;
  padding-top: 0;
}

.nav__items ul ul li a {
  border-bottom: 1px dotted #fff;
  text-indent: 1em;
}


/* グローバルメニュー　別パターン */
.header-nav {
  display: flex;
  }

.header-nav-inner {
  display: inline-block;
  position: relative;
  }

#about,
#travel {
  display: none;
  }

.menu {
  visibility: hidden;
  opacity: 0;
  list-style: none;
  }

.dropLabel{
  display: block;
  padding: 10px;
  position: relative;
  font-size: 12px;
  cursor: pointer;
}
.dropLabel:hover {
  background: rgba(255, 255, 255, 0.8);
}
.dropLabel:hover:before{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  content:'';
  border-bottom: 3px solid rgba(45, 49, 148, 0.8);
}

.header-nav-inner:last-child .dropLabel {
  background: rgba(45, 49, 148, 0.8);
  }

.header-nav-inner:last-child .dropLabel {
  color: #fff;
  }

.header-nav-inner:last-child .dropLabel:hover {
  background: rgba(255, 168, 0, 0.8);
  }

.dropLabel img{
  width: 60px;
}

.dropInput:checked ~ .menu {
  visibility: visible;
  opacity: 1;
  }

.dropInput:checked ~ .dropLabel {
  background: rgba(255, 255, 255, 0.8);
  position: relative;
  }

.dropInput:checked ~ .dropLabel:before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  content:'';
  border-bottom: 3px solid rgba(45, 49, 148, 0.8);
  }

.animation {
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  transition: all .3s;
  }

.header-nav ul {
  margin: 0;
  list-style: none;
  padding: 0;
  position: absolute;
}

.header-nav ul li {
  font-weight: bold;
  width: 230px;
  text-align: left;
  border-bottom: 1px solid #575757;
}

.header-nav ul li a{
  display: block;
  padding: 10px;
  background:#fff;
}


.header-nav ul li a:hover {
  background: var(--main-color);
  color: #fff;
  border-left: 2px solid #fff;
}

@media (max-width: 480px) {
  .dropLabel{
    font-size: 10px;
    min-height: 75px;
  }
  .dropLabel img{
    width: 30px;
  }
}

/* フッター */
footer{
  position: relative;
}
.footer-info_wrapper {
  padding: 60px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 767px) {
  .footer-info_wrapper {
    padding: 30px 0;
  }
}

.footer-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .footer-info {
    display: block;
  }
}

.footer-info__name {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: right;
  padding: 0 calc(30px / 2);
}

@media (max-width: 767px) {
  .footer-info__name {
    padding: 0 calc(20px / 2);
    text-align: center;
  }
}

.footer-info__data {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0 calc(30px / 2);
  text-align: left;
}

@media (max-width: 767px) {
  .footer-info__data {
    margin-top: 20px;
    text-align: center;
  }
}

.footer-info__name img {
  margin: auto;
  width: auto!important;
}

.footer-info__adress {
  margin-top: 5px;
  line-height: 1.5em;
}

.footer-info__tel {
  line-height: 1.5em;
  margin-top: 5px;
}

.footer-info__tel a{
  color: var(--main-color)
}

.footer__links {
  padding: 0;
  border-top:1px solid #575757;
  margin-top: 30px;
}

.footer__links>ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: var(--content-width);
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0;
}

.footer__links>ul>li {
  display: block;
  position: relative;
  margin-top: 25px;
  padding: 0 calc(30px / 2);
  text-align: center;
  width: 25%;
}

@media (max-width: 767px) {
  .footer__links>ul {
    padding-bottom: 15px;
  }
}
@media (max-width: 480px) {
  .footer-info__name img {
    width: 320px!important;
  }

}

.footer__links>ul>li>a {
  display: block;
  white-space: nowrap;
}
.footer__links>ul>li>a:hover{
color: var(--main-color);
text-decoration: underline;
}

.sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.footer__copy {
  padding: 20px 0;
  line-height: 1.42857;
  text-align: center;
  color: #fff;
  background: #000;
  margin: 0;
}


.js-fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 1.5s,visibility 1.5s, transform 1.5s;
}

.scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/* トグル */
details{
  background-color: #c5c6e1;
}
summary {
  display: block;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.toggle-wrap {
  margin-bottom: 20px;
}

.toggle-wrap:last-child {
  margin-bottom: 0;
}

.toggle-head.qa {
  position: relative;
}

.toggle-head.qa:before {
  position: absolute;
  content: "Q.";
  top: 13px;
  left: 20px;
  font-weight: bold;
  color: var(--main-color);
  font-family: serif;
  font-size: 24px;
}

.toggle_inner {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px 15px 50px;
  font-weight: bold;
  color: var(--main-color);
}

.toggle_inner-icon {
  display: block;
  position: relative;
  width: 24px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}

.toggle_inner-icon:before {
  left: 0;
  transform: rotate(45deg);
}

.toggle_inner-icon:after {
  right: 0;
  transform: rotate(-45deg);
}

.toggle_inner-icon:before, .toggle_inner-icon:after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: var(--main-color);
}

.toggle-content p {
  padding: 20px 20px 20px 60px;
  background: #fff;
  margin: 0;
  border: 5px solid #c5c6e1;
  position: relative;
}

.toggle-content p a{
  color: var(--main-color);
  text-decoration: underline;
}

.answer:before {
  position: absolute;
  content: "A.";
  top: 18px;
  left: 30px;
  font-weight: bold;
  color: var(--main-color);
  font-family: serif;
  font-size: 24px;
}

details[open] .toggle_inner-icon {
  transform: rotate(180deg);
}


/* 汎用クラス */

.bg-red {
  background-color: #fe266d!important;
}

.bg-blue {
  background-color: #1646b1!important;
}

.bg-green {
  background-color: #5fcf32!important;
}

.bg-orange {
  background-color: #ffa204!important;
}

.text-red {
  color: #db2d2d!important;
}

.text-blue {
  color: #2420db!important;
}

.text-green {
  color: #6ddb20!important;
}

.text-orange {
  color: #db9620!important;
}

.text-pink {
  color: #db20b2!important;
}

.text-black {
  color: #000000!important;
}

.text-white {
  color: #FFFFFF!important;
}

.mt0 {
  margin-top: 0px!important;
}

.mb0 {
  margin-bottom: 0px!important;
}

.mt10 {
  margin-top: 10px!important;
}

.mt20 {
  margin-top: 20px!important;
}

.mt30 {
  margin-top: 30px!important;
}

.mt40 {
  margin-top: 40px!important;
}

.mt50 {
  margin-top: 50px!important;
}

.mt60 {
  margin-top: 60px!important;
}

.mr10 {
  margin-right: 10px!important;
}

.mr20 {
  margin-right: 20px!important;
}

.mr30 {
  margin-right: 30px!important;
}

.mr40 {
  margin-right: 40px!important;
}

.mr50 {
  margin-right: 50px!important;
}

.mr60 {
  margin-right: 60px!important;
}

.mb10 {
  margin-bottom: 10px!important;
}

.mb20 {
  margin-bottom: 20px!important;
}

.mb30 {
  margin-bottom: 30px!important;
}

.mb40 {
  margin-bottom: 40px!important;
}

.mb50 {
  margin-bottom: 50px!important;
}

.mb60 {
  margin-bottom: 60px!important;
}

.ml10 {
  margin-left: 10px!important;
}

.ml20 {
  margin-left: 20px!important;
}

.ml30 {
  margin-left: 30px!important;
}

.ml40 {
  margin-left: 40px!important;
}

.ml50 {
  margin-left: 50px!important;
}

.ml60 {
  margin-left: 60px!important;
}

.pt0 {
  padding-top: 0px!important;
}

.pt10 {
  padding-top: 10px!important;
}

.pt20 {
  padding-top: 20px!important;
}

.pt30 {
  padding-top: 30px!important;
}

.pt40 {
  padding-top: 40px!important;
}

.pt50 {
  padding-top: 50px!important;
}

.pt60 {
  padding-top: 60px!important;
}

.pr10 {
  padding-right: 10px!important;
}

.pr20 {
  padding-right: 20px!important;
}

.pr30 {
  padding-right: 30px!important;
}

.pr40 {
  padding-right: 40px!important;
}

.pr50 {
  padding-right: 50px!important;
}

.pr60 {
  padding-right: 60px!important;
}

.pb0 {
  padding-bottom: 0px!important;
}

.pb10 {
  padding-bottom: 10px!important;
}

.pb20 {
  padding-bottom: 20px!important;
}

.pb30 {
  padding-bottom: 30px!important;
}

.pb40 {
  padding-bottom: 40px!important;
}

.pb50 {
  padding-bottom: 50px!important;
}

.pb60 {
  padding-bottom: 60px!important;
}

.pl10 {
  padding-left: 10px!important;
}

.pl20 {
  padding-left: 20px!important;
}

.pl30 {
  padding-left: 30px!important;
}

.pl40 {
  padding-left: 40px!important;
}

.pl50 {
  padding-left: 50px!important;
}

.pl60 {
  padding-left: 60px!important;
}

.text-bold {
  font-weight: bold!important;
}

.text-center {
  text-align: center!important;
}

.text-right {
  text-align: right!important;
}

.text-left {
  text-align: left!important;
}

.text-xlarge {
  font-size: 1.6rem!important;
}

.text-large {
  font-size: 1.4rem!important;
}
.text-small {
  font-size: 0.8rem!important;
}

@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}

@media (min-width: 767px) {
  .text-xlarge {
    font-size: 2.0rem;
  }
  .text-large {
    font-size: 1.6rem;
  }
  .sp-only {
    display: none !important;
  }
}

@media (min-width: 767px) and (max-width: 1023px) {
  .tablet-hide {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .tablet-only {
    display: none !important;
  }
}

a.link-opacity:hover {
  opacity: 0.7;
}

.heading-2 a {
  color: var(--main-color);
}

.main-text {
  font-size: 1.8rem;
  margin: 0;
}

@media (max-width: 480px) {
  .main-text {
    font-size: 1.6rem;
    margin: 0;
  }
}

.gallery-wrap{
  display: flex;
  gap: 20px 2%;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

.gallery-item{
  list-style: none;
  padding: 0;
  width: 32%;
}

.gallery-caption,
.gallery-icon{
  padding: 0;
  margin: 0;
  text-align: center;
}

.gallery .gallery-item img {
  max-height: 250px;
}

@media (max-width: 768px) {
  .gallery-item{
    width: 49%;
  }
}
@media (max-width: 480px) {
  .gallery-item{
    width: 100%;
  }
}

.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}

.lineup-area__nav {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  gap: 20px 2%;
  margin: 30px auto 0;
  padding: 0;
}

.btn-arrow-circle {
    display: flex;
    align-items: center;
    border: solid 1px var(--main-color);
    border-radius: .5rem;
    font-weight: bold;
    background: #fff;
    width: 32%;
}

.btn-arrow-circle a {
    padding: 1.5em 3rem 1.5rem 1rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.btn-arrow-circle a span {
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--main-color);
}
.btn-arrow-circle a span > span{
  font-size: 1rem;
  color: #000;
}

.btn-arrow-circle a::after {
    content: "";
    background-image: url(/wp-hcs/wp-content/uploads/ico-arrow-circle.svg);
    background-size: contain;
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    right: .8em;
    transition: .3s;
}

.btn-arrow-circle a:hover::after {
    right: .5em;
}

@media (max-width: 768px) {
  .btn-arrow-circle {
    width: 49%;
  }
}
@media (max-width: 480px) {
  .btn-arrow-circle a span {
    font-size: 1.0rem;
  }
  .btn-arrow-circle {
    width: 100%;
  }
  .btn-arrow-circle a {
      padding: 1em 1rem;
  }
}

.sliderArea {
  max-width: 100%;
  margin: 0 auto;
}
.sliderArea.w300 {
  max-width: 300px;
}
.thumb .slick-slide {
  margin: 0 5px;
}
.slick-slide img {
  width: 100%;
  height: auto;
}
.slick-prev, .slick-next {
  z-index: 1;
}
.slick-prev:before, .slick-next:before {
  color: #000;
}
.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
}
.slick-active {
  opacity: 1;
}
.slick-current {
  opacity: 1;
}
.thumb {
  margin: 10px 0 0;
}
.thumb .slick-slide {
  cursor: pointer;
}
.thumb .slick-slide:hover {
  opacity: .7;
}

.safety-frame {
  border-radius: 6px;
  border: 2px solid var(--main-color);
  padding: 20px 0;
}
.safety-frame p{
  margin: 0;
  font-weight: bold;
}

.link{
  color: var(--main-color);
  text-decoration: underline;
}

#anc01,#anc02,#anc03,#anc04,#anc05,#anc06,#anc07 {
  padding-top: 100px;
  margin-top: -100px;
  z-index: -1;
}

.box5 {
  padding: 0.5em 1em;
  margin: 0 auto;
  width: 960px;
  border: double 5px #005886;
}
.box5 p {
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .box5 {
    width: auto;
    margin: 0 1em;
  }
}
