@charset "UTF-8";
  
* {
  box-sizing: border-box;
}
.accordion {
  margin: 0em auto;
  max-width: 100%;
}

.toggle {
  display: none;
}

.option {
  position: relative;
  margin-bottom: 2em;
}

.title1,.title2,.title3,
.contents {
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.2s;
}

.title1,.title2,.title3 {
  padding: 0.75em 1em;
  display: block;
  color: #fff;
  font-weight: bold;
  font-size: 1.25em;
}

.title1 {
  background: #CBAF01;
}

.title2 {
  background: #0175B0;
}


.title3 {
  background: #72AF2D;
}


.title1:after, .title1:before,.title2:after, .title2:before,.title3:after, .title3:before {
  content: '';
  position: absolute;
  right: 1.5em;
  top: 1.1em;
  width: 4px;
  height: 1em;
  transition: all 0.2s;
  background-color: #fff;
}
.title1:after,.title2:after,.title3:after {
  transform: rotate(90deg);
}

.contents {
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  p {
    margin: 0;
    padding: 0.5em 1em 1em;
    font-size: 0.9em;
    line-height: 1.5;
  }

}
.contents p .cat01 {
    color:#CBAF01;
  }
  .contents p .cat02 {
    color:#72AF2D;
  }
  .contents p .cat03 {
    color:#0175B0;
  }
.toggle:checked {
  & + .title1,& + .title2,& + .title3,
  & + .title1 + .contents,& + .title2 + .contents,& + .title3 + .contents {
    box-shadow: 3px 3px 6px #ddd, -3px 3px 6px #ddd;
  }

  & + .title1 + .contents,& + .title2 + .contents,& + .title3 + .contents {
    max-height: 1240px;
  }
  & + .title1:before,& + .title2:before,& + .title3:before {
    transform: rotate(90deg) !important;
  }
}

/* Basic styles for the grid container and items */
.grid-container {
    display: grid;
    gap: 0px;
    padding: 0px;
}

.grid-item1 {
    background-color: #F5EFD5;
    color: #333;
    text-align: center;
    padding: 20px;
    margin:10px;
    font-size: 18px;
    font-weight: 600;
}

.grid-item2 {
    background-color: #D7E1F0;
    color: #333;
    text-align: center;
    padding: 20px;
    margin:10px;
    font-size: 17px;
    font-weight: 600;
}

.grid-item3 {
    background-color: #E7F0D8;
    color: #333;
    text-align: center;
    padding: 20px;
    margin:10px;
    font-size: 18px;
    font-weight: 600;
}

/* Responsive grid columns */
@media (min-width: 1200px) {
    /* 6 columns for PC */
    .grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    /* 4 columns for Tablet */
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    /* 2 columns for Smartphone */
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

a.grid-item1:hover {
     opacity: 1!important;
    
  }
  a .grid-content:hover{
    text-decoration: none!important;
  }

  .grid-item1 {
    position: relative;
    background-color: #F5EFD5;
    padding: 20px;
    overflow: hidden;
}
  
  .grid-item1::before {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0;
      height: 0;
      border-left: 20px solid transparent;
      border-bottom: 20px solid #CBAF01;
      transition: transform 0.7s ease, border-top-color 0.5s ease;
      transform-origin: bottom right;

  }
  
  .grid-item1:hover::before {
      transform: scale(30);
      border-top-color: #F5EFD5;
      background-color: #CBAF01;
      opacity: 1!important;
      text-decoration: none!important;
  }

  .grid-item2 {
      position: relative;
      background-color: #D7E1F0;
      padding: 20px;
      overflow: hidden;
  }
  
  .grid-item2::before {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0;
      height: 0;
      border-left: 20px solid transparent;
      border-bottom: 20px solid #0175B0;
      transition: transform 0.7s ease, border-top-color 0.5s ease;
      transform-origin: bottom right;

  }
  
  .grid-item2:hover::before {
      transform: scale(30);
      border-top-color: #D7E1F0;
      background-color: #0175B0;
  }

  .grid-item3 {
      position: relative;
      background-color: #E7F0D8;
      padding: 20px;
      overflow: hidden;
  }
  
  .grid-item3::before {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0;
      height: 0;
      border-left: 20px solid transparent;
      border-bottom: 20px solid #72AF2D;
      transition: transform 0.7s ease, border-top-color 0.5s ease;
      transform-origin: bottom right;

  }
  
  .grid-item3:hover::before {
      transform: scale(30);
      border-top-color: #E7F0D8;
      background-color: #72AF2D;
  }

  .grid-item1:hover,.grid-item2:hover,.grid-item3:hover {
      color:white;
  }
  
  
  .grid-item1 .grid-content,.grid-item2 .grid-content,.grid-item3 .grid-content {
      position: relative;
      z-index: 1;
  }
  
.content section.hero {
  width: 100%;
  height: auto;
  padding: 0;
  text-align: center;
  background-color: #bee8ea;
}

section:not(:first-of-type) {
  border-top: 1px solid #dadada;
}

section.bg_green {
  color: #fff;
}
section.bg_green h2 {
  color: #fff;
}
section.bg_green h2::before {
  background-color: #fff;
}


/* HERO */

::-moz-selection {
  color: #fff;
  background: var(--color-theme);
}

::selection {
  color: #fff;
  background: var(--color-theme);
}
.l-inner {
  position: relative;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10rem;
}

.l-section {
  border-top: 1px solid #eee;
}
.l-section .l-inner {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

[class*=swiper]:focus {
  outline: none;
}

.slide-media,
.thumb-media {
  position: relative;
  overflow: hidden;
}
.slide-media img,
.thumb-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.swiper {
  overflow: visible;
}
/*
.swiper-wrapper {
  overflow: hidden;
}
*/
.swiper-button-prev, .swiper-button-next {
  display: grid;
  place-content: center;
  width: 6.4rem;
  height: 6.4rem;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}
.swiper-button-prev::before, .swiper-button-next::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  border-radius: 50%;
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
}
.swiper-button-prev::after, .swiper-button-next::after {
  width: 1.2rem;
  height: 1.2rem;
  content: "";
  border: solid var(--color-gray);
  border-width: 3px 3px 0 0;
}
.swiper-button-prev::after {
  margin-left: 0.4rem;
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
}
.swiper-button-next::after {
  margin-right: 0.4rem;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.swiper-button-disabled {
  pointer-events: none;
  opacity: 0;
}

.mv02 .l-inner {
  padding-bottom: 0;
}
.mv02 .swiper-pagination {
  position: absolute;
  z-index: 1;
  bottom: 2em;
  left: 0;
  height: -webkit-max-content;
  height: -moz-max-content;
  margin: auto;
  width: 100%;
  height: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  display: none;
}
.mv02 .swiper-pagination-bullet {
  display: block;
  width: 1.6rem;
  height: 5px;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  background-color: #fff;
  opacity: 0.5;
}
.mv02 .swiper-pagination-bullet:not(:first-child) {
  margin-left: 1em;
}
.mv02 .swiper-pagination-bullet-active {
  width: 4rem;
  background-color: var(--color-base);
  opacity: 1;
}
.mv02 .swiper-fade .swiper-slide {
  -webkit-transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, transform !important;
  transition-property: opacity, transform, -webkit-transform !important;
  pointer-events: none;
}
.mv02 .swiper-fade .swiper-slide-active {
  pointer-events: auto;
}
.mv02 .slide {
  display: grid;
  place-content: flex-start;
  height: calc(75vh - 135px);
  padding: 0 11rem;
  text-align: left;
}
.mv02 .slide-media {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.mv02 .slide-media img {
  -webkit-transition: 7s 1s linear;
  transition: 7s 1s linear;
  -webkit-transform: translateX(1.5%) scale(1.1);
          transform: translateX(1.5%) scale(1.1);
}
.mv02 .slide-title, .mv02 .slide-text, .mv02 .slide-link {
  -webkit-animation: 2s var(--easing) both;
          animation: 2s var(--easing) both;
  opacity: 0;
}
.mv02 .slide-title {
  font-size: 3.1vw;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.5;
  color: #000;
  background: #fff;
  margin-top:25%
}
.mv02 .slide-title span {
  position: relative;
  border-bottom: 1px solid var(--color-base);
  word-break: break-word;
}
/*
.mv02 .slide-title span::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
*/
.mv02 .slide-text {
  font-size: 18px;
  line-height: 1.5;
  margin: 4rem 0;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
  color: #fff;
}
.mv02 .slide-link {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
.mv02 .slide-button {
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-block;
  color: var(--color-theme);
}
.mv02 .slide-button::before {
  display: inline-block;
  width: 6rem;
  height: 1px;
  margin: -2px 1.6rem 0 0;
  content: "";
  vertical-align: middle;
  background-color: currentColor;
}
.mv02 .swiper-slide[class*=-active] .slide-media img {
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
  -webkit-transform: translateX(1.5%) scale(1.05);
          transform: translateX(1.5%) scale(1.05);
}
.mv02 .swiper-slide.anm-started .slide-title,
.mv02 .swiper-slide.anm-started .slide-text,
.mv02 .swiper-slide.anm-started .slide-link {
  -webkit-animation-name: mv02-fadeIn;
          animation-name: mv02-fadeIn;
}
.mv02 .swiper-slide.anm-finished .slide-title,
.mv02 .swiper-slide.anm-finished .slide-text,
.mv02 .swiper-slide.anm-finished .slide-link {
  -webkit-animation-name: mv02-fadeOut;
          animation-name: mv02-fadeOut;
}

@-webkit-keyframes mv02-fadeIn {
  0% {
    -webkit-transform: translateY(6rem);
            transform: translateY(6rem);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes mv02-fadeIn {
  0% {
    -webkit-transform: translateY(6rem);
            transform: translateY(6rem);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@-webkit-keyframes mv02-fadeOut {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-6rem);
            transform: translateY(-6rem);
    opacity: 0;
  }
}
@keyframes mv02-fadeOut {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-6rem);
            transform: translateY(-6rem);
    opacity: 0;
  }
}



@media only screen and (max-width: 1024px) {
  html {
    -webkit-text-size-adjust: 100%;
  }
  .l-inner {
    padding: 0 4rem;
  }
  .pc {
    display: none !important;
  }
  .mv02 .slide {
    height: max(70vh, 70vw);
    padding: 0 5rem;
  }
  .mv02 .slide-title {
    font-size: 3.5vw;
  }
  .mv02 .slide-text {
    font-size: 1.6rem;
    margin: 3.2rem 0;
  }
}
@media only screen and (max-width: 599px) {
  html {
    font-size: 50%;
  }
  .pc-tab {
    display: none !important;
  }
}
@media only screen and (min-width: 1025px) {
  .tab-sp {
    display: none !important;
  }
  .swiper-button-prev::before, .swiper-button-next::before {
    -webkit-transition: var(--transition);
    transition: var(--transition);
  }
  .swiper-button-prev:hover::before, .swiper-button-next:hover::before {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  #search-form {
    top: 19px;
  }
}
@media only screen and (min-width: 600px) {
  .sp {
    display: none !important;
  }
}



.md-overlay{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .7;
  z-index: 9999;
}
.md-contents{
  display: none;
  position: fixed;
  top: calc(50% - 290px);
  left: 50%;
  width: 95%;
  height: auto;
  overflow: hidden;
  transform: translateX(-50%);
  z-index: 10000;
  max-height: 580px;
}
.md-inner{
  padding: 24px 40px;
  background: #fff;
  height: auto;
}
.md-xmark{
  position: absolute;
  top: 34px;
  right: 10px;
  width: 25px;
  height: 22px;
  z-index: 9999;
  cursor: pointer;
}
.md-xmark span {
  height: auto;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
}
.md-xmark span:nth-of-type(1) {
  top: 0;
  transform: translateY(-10px) rotate(-45deg);
}
.md-xmark span:nth-of-type(2) {
  bottom: 0;
  transform: translateY(-30px) rotate(45deg);
}



/*-----------------------------------------------

CONTENT

-----------------------------------------------*/

/* #abouot */
#about ul.flexbox {
  margin-top: 2em;
  gap: 2em;
}
#about ul.flexbox li a {
  display: block;
  width: 100%;
}
#about ul.flexbox li a img {
  width: max-content;
  height: auto;
}
#about ul.flexbox li.pc_col_3 {
  width: calc(calc(100% - 4em) / 3);
}
#about .pc_col_2:last-child {
  position: relative;
}
#about .pc_col_2:last-child img {
  position: absolute;
}
#about .pc_col_2:last-child img:nth-child(1) {
  top: 0;
  right: 0;
  height: auto;
  width: auto;
  max-width: 100%;
}
#about .pc_col_2:last-child img:nth-child(2) {
  bottom: 0;
  left: 0;
  height: auto;
  width: auto;
  max-width: 100%;
}

/* #service */
section#service {
  /*background-color: var(--color-light_blue);*/
}
section#service .swiper {
  padding: 5em 6em;
  margin-top: 5.5em;
  background-color: var(--color-theme-dark);
  position: relative;
}
section#service .swiper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  display: block;
  width: 50px;
  height: 25px;
  transform: translate(-50%, 0);
  background-image: url(arrow_down.svg);
  background-position: 0;
  background-repeat: no-repeat;
  background-size: 50px 25px;
}
section#service h2 {
  font-weight: normal;
  font-size: 16px;
  color: var(--color-theme);
}
section#service .flexbox {
  align-items: stretch;
}
section#service .onestop {
  position: relative;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 5px;
  padding: 0 1em;
  border-top: 1px dotted #333;
}
section#service .onestop::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  border-top: 1px dotted #333;
}
section#service .onestop .copy {
  font-size: clamp(20px, 3vw, 38px);
  min-width: calc(calc(1em + 5px) * 10);;
  height: fit-content;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
section#service .onestop span {
  position: relative;
  color: var(--color-button-theme);
  display: inline;
  width: 6em;
}
/*
section#service .onestop span::before {
  content: "";
  display: inline-block;
  width: 6em;
  height: 1em;
  background-color: var(--color-base);
  position: absolute;
  bottom: 6px;
  left: 0;
  z-index: -1;
}
section#service .onestop span strong {
  position: absolute;
  background-color: #fff;
  width: 6em;
  display: inline-block;
}
*/
section#service .service_list {/*
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3em;
  overflow: hidden;
  margin-top: 3em;
  padding: 0 3em;*/
}
section#service .service_list li {
  background-color: #000;
  min-width: 300px;
}
section#service .service_list li img {
  width: 100%;
  height: auto;
}
section#service .service_list li a {
  display: block;
  position: relative;
  /*border: 1px solid #eee;*/
}
section#service .service_list li a div {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  width: 100%;
  padding: 1em;
  background-color: rgba(255, 255, 255, 1);
  align-items: flex-start;
}
section#service .service_list li a div h2 {
  position: relative;
  display: block;
  width: 100%;
  background-image: url(../../common/img/icon/icon_arrow_01.svg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 7px 10px;
}
section#service .service_list li a div p {
  font-size: 14px;
  color: var(--font-color-theme);
  line-height: 1.5;
  margin-top: .5em;
}


section#service .swiper-controller {
  position: relative;
}
section#service .swiper-horizontal>.swiper-pagination-bullets,
section#service .swiper-pagination-bullets.swiper-pagination-horizontal,
section#service .swiper-pagination-custom,
section#service .swiper-pagination-fraction {
  bottom: -80px !important;
}
section#service .swiper-button-next:after,
section#service .swiper-button-prev:after {
  font-size: 14px;
  color: #009fa8;
  width: 10px;
  height: 10px;
  content: "";
  border: solid var(--color-base);
  border-width: 2px 2px 0 0;
}
section#service .swiper-button-next:after {
  margin-right: 2px;
}
section#service .swiper-button-prev:after {
  margin-left: 2px;
}

section#service .swiper-button-next,
section#service .swiper-button-prev {
  padding: 1em;
  width: 2.8em;
  height: 2.8em;
  background-color: var(--color-button-theme);
  border-radius: 50%;
}
section#service .swiper-button-prev::before,
section#service .swiper-button-next::before {
  box-shadow: none;
}
section#service .swiper-button-next,
section#service .swiper-rtl .swiper-button-prev {
  right: 6em;
  left: auto;
  top: 70px;
}
section#service .swiper-button-prev,
section#service .swiper-rtl .swiper-button-next {
  right: auto;
  left: 6em;
  top: 40px;
}
/*
section#service .swiper-pagination {
  margin-left: 3em;
}
*/
section#service .swiper-pagination-bullet-active {
  background-color: var(--color-button-theme);
}
@media screen and (max-width:1296px) {
  section#service .swiper {
    padding: 3em;
  }
  section#service .swiper-button-next,
  section#service .swiper-rtl .swiper-button-prev {
    right: 3em;
  }
  section#service .swiper-button-prev,
  section#service .swiper-rtl .swiper-button-next {
    left: 3em;
  }
}


/* #other_contents */
section#other_contents .title_wrap {
  display: none;
}
section#other_contents h2 {
  font-weight: normal;
  font-size: 16px;
  padding: 1em;
  min-width: 200px;
  background-color: #025b5b;
  background-image: url(../../common/img/icon/icon_arrow_02.svg);
  background-position: right 1em center;
  background-repeat: no-repeat;
  background-size: 7px 10px;
}
section#other_contents .other_contents_list {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3em;
  overflow: hidden;
  padding: 0 6em;
}
section#other_contents .other_contents_list li {
  width: calc(calc(100% - 3em) / 2);
  background-color: #000;
}
section#other_contents .other_contents_list li img{
  width: 100%;
  height: auto;
}
section#other_contents .other_contents_list li a {
  display: block;
  position: relative;
  color: var(--color-base);
}
section#other_contents .other_contents_list li a div {
  position: absolute;
  bottom: 0;
  display: flex;
  width: 100%;
  background-color: rgba(0, 132, 134, .9);
  align-items: center;
}
section#other_contents .other_contents_list li a div p {
  font-size: 14px;
  line-height: 1.5;
  padding: 0 1em;
}
@media screen and (max-width:1296px) {
  section#other_contents .other_contents_list {
    padding: 0 3em;
  }
}


/* お問い合わせ */
#news {
  border-top: 0px solid #ccc;
}
#inquiry {
  border-top: 1px solid #ccc;
}


/*-----------------------------------------------
tablet
-----------------------------------------------*/

@media screen and (max-width: 1230px) {

  section#other_contents .other_contents_list li {
    width: 100%;
  }
  .mv02 .slide-title {
    font-size: ;
  }
  .mv02 .slide .sp {
    display: block !important;
  }

}


@media screen and (max-width: 1023px) {

  section.hero {
    border-top: none;
  }

  section h1 {
    font-size: 24px;
    font-weight: 600 !important;
  }
  section h1 span.engsub {
    margin-bottom: 1em;
    font-size: 14px;
  }
  #about .pc_col_2:last-child,
  #about .pc_col_2:last-child img {
    position: static;
  }
  #about .pc_col_2:last-child {
    margin-top: 3em;
  }
  #about .pc_col_2:last-child img:not(:first-child) {
    margin-top: 1em;
  }




}



/*-----------------------------------------------
smartPhone
-----------------------------------------------*/

@media screen and (max-width: 960px) {

}

@media screen and (max-width: 768px) {

  .btn a {
    width: 100%;
  }

  .mv02 .slide-title {
    font-size: 6.5vw;
    text-align: left;
  }

  #about ul.flexbox {
    gap: 1em;
  }
  #about ul.flexbox li.pc_col_3 {
    width: calc(calc(100% - 2em) / 3);
  }
  #about ul.flexbox li.pc_col_3 img {
    width: 100%;
    height: auto;
  }
  #about .inner.flexbox {
    flex-direction: column;
  }

  section#service .onestop {
    margin-top: 2em;
    padding: 2em 1em;
    font-size: 23px;
    position: static;
  }
  section#service .onestop .copy {
    font-size: clamp(22px, 5.5vw, 30px);
    position: static;
    transform: translate(0, 0);
    max-width: fit-content;
    margin: 0 auto;
  }
  section#service .onestop::after {
    width: 90%;
    left: 5%;
  }
  section#service .onestop span::before {
    width: 6.3em;
    bottom: 4px;
  }
  /* #service */
  section#service .swiper {
    padding: 3em 5%;
    margin-top: 3em;
  }
  section#service .service_list {
    flex-direction: column;
  }
  section#service .service_list li:not(:first-of-type) {
    margin-top: 1em;
  }
  section#service .swiper-controller {
    display: none;
  }


  section#other_contents .other_contents_list {
    flex-direction: column;
    padding: 0 5%;
    gap: 1em;
  }
  section#other_contents .other_contents_list li {
    width: 100%;
  }
  section#other_contents .other_contents_list li a div {
    position: static;
    display: block;
  }
  section#other_contents h2 {
    background-color: transparent;
    padding: 1em 16px .5em;
  }
  section#other_contents .other_contents_list li a div p {
    padding: 0 16px 1em;
  }

  #news .title_wrap .btn {
    margin-top: 0;
    min-width: 120px;
  }
  section#news h1 {
    margin: 0;
  }
  #news ul.list li a {
    padding: 1em 0;
    background-position: right center;
  }



}



@media screen and (max-width: 660px) {



}


@media screen and (max-width: 480px) {
  h2 {
    font-size: 25px;
  }
  h2::before {
    top: 7px;
  }
  section#service .onestop {
  }
  .mv02 .slide {
    padding: 0 6rem;
  }

}


/* Basic styles for the grid container and items */
.grid-container-flow {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.grid-item-flow {
position: relative;
          display: inline-block;
  background-color: #00A8A9;
  color: white;
  text-align: left;
  padding: 10px 20px;
  font-size: 1.25em;
  width: calc(100% - 20px);
}

.grid-container-flow img{
width:auto;
margin-top: 10px;
}
.grid-container-flow p{
padding: 10px 20px;
font-size: 1.05;
}

.grid-container-flow h3{
  padding: 10px 20px;
  }
.grid-item-flow:not(:last-child):after {
          content: '';
          position: absolute;
          top: 0;
          right: -20px;
          width: 0;
          height: 0;
          border-top: 29px solid transparent;
  border-bottom: 29px solid transparent;
  border-left: 20px solid #00A8A9;
      }

/* Basic styles for the grid container and items last */
.grid-container-flow-last {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.grid-item-flow-last {
position: relative;
          display: inline-block;
  background-color: #00A8A9;
  color: white;
  text-align: left;
  padding: 10px 20px;
  font-size: 1.25em;
  width: calc(100% - 20px);
}

.grid-container-flow-last img{
width:auto;
margin-top: 10px;
}
.grid-container-flow-last p{
padding: 10px 20px;
font-size: 1.05;
}
.grid-item-flow-last:not(:last-child):after {
          content: '';
          position: absolute;
          top: 0;
          right: -20px;
          width: 0;
          height: 0;
          border-top: 29px solid transparent;
  border-bottom: 29px solid transparent;
  border-left: 0px solid #00A8A9;
      }

/* Responsive grid columns */
@media (min-width: 1200px) {
  /* 5 columns for PC */
  .grid-container-flow,.grid-container-flow-last {
      grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  /* 3 columns for Tablet */
  .grid-container-flow,.grid-container-flow-last {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  /* 2 columns for Smartphone */
  .grid-container-flow,.grid-container-flow-last {
      grid-template-columns: repeat(2, 1fr);
  }
}


.banner {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 40px;
      }

      .banner-item {
          background-color: #00A8A9;
          color: white;
          min-height:90px;
          padding: 16px 20px;
          text-align: center;
          display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border: 1px solid #ddd;
  line-height: 1.5;
      }
      .banner-item-white {
          background-color: #fff;
          color: #222;
          min-height:90px;
          text-align: center;
          display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border: 1px solid #ddd;
  padding: 14px 20px;
      }

      .banner-item:hover {
        opacity: 0.8;
    }
    .banner-item-white:hover {
      opacity: 0.8;
    }

      @media (max-width: 1024px) {
          .banner {
              grid-template-columns: repeat(3, 1fr);
          }
      }

      @media (max-width: 768px) {
          .banner {
              grid-template-columns: repeat(2, 1fr);
          }
      }

      @media (max-width: 480px) {
          .banner {
              grid-template-columns: 1fr;
          }
          .small_slide {
            min-width: 100%!important;
            padding: 10px!important;
          }
          .small_prev, .small_next {
            top: 50%!important;
            width: 30px!important;
            height: 30px!important;
            padding: 8px!important;
            margin-top: -17px!important;
            font-size: 14px!important;
        }
        section h1::before {
          left: 19px!important;
      }
      .grid-item1,.grid-item2,.grid-item3 {
        font-size: 13px!important;
    }
    #news ul.list li p.cont {
      margin-left: 0em!important;
      margin-top: 5px;
  }

  #news ul.list li a {
    background-image:none;
    padding: 1em;
}
.btn a {
  font-size: 14px!important;
}


section#news h1 {
  margin: 10px 0!important;
}
.grid-container-flow, .grid-container-flow-last {
  grid-template-columns: 1fr!important;
}

.grid-item-flow:not(:last-child):after {
  top: 39px;
  right: 30px;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 30px solid #008486;
  rotate: 90deg;
}

.grid-item-flow {
  width: 100%;
}

.search-box-index {
  padding: 16px 20px!important;
  border-top-left-radius: 5px!important;
  border-bottom-left-radius: 0px!important;
  border-top-right-radius: 5px!important;
  border-bottom-right-radius: 0px!important;
  margin-bottom: 0px!important;
}


.search-button01 {
  border-top-left-radius: 0px!important;
  border-bottom-left-radius: 5px!important;
  border-top-right-radius: 0px!important;
  border-bottom-right-radius: 5px!important;
  width: 100%;
  margin-right: 0!important;
  margin-bottom: 10px!important;
  padding:17px 20px!important;
}

.search-button02 {
  width: 100%;
}

.container-search-index {
  padding: 20px 5%!important;
}

.title-index{
  margin-left: 30px!important;
  text-align: left;
}

.title-index::before {
  left: -30px!important;
}

.mv02 .slide-title {
  text-align: center;
  padding: 5px 10px;
  margin-top: 10%!important;
  font-size: 5vw;
}

.mv02 .slide {
 display:block;
}


      }

.banners{
background: #f5f5f5;
}


.small_slider {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.small_slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.small_slide {
  min-width:  calc(100% / 3);
  box-sizing: border-box;
  padding: 20px;
}

.small_slide img {
  width: 100%;
  display: block;
}

.small_prev, .small_next {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 10px;
  border: 0px solid #000;
  transition: 0.6s ease;
  border-radius: 200px;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.small_next {
  right: 0;
  border-radius: 200px;
}

.small_prev:hover, .small_next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.banner img{
  width:auto!important;
}

.container-search-index {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px 15%;
  position:fixed;
  z-index: 10000;
  bottom: 0px;
  width:100%;
}

.title-index {
  color: white;
  font-size: 1.5em;
  margin-right: 20px;
  position: relative;
}

.title-index::before {
content: "";
position: absolute;
left: -30px;
top: 50%;
transform: translateY(-50%);
width: 24px;
height: 4px;
  background-color: #009FA8;
}

.search-box-index {
  padding: 20px;
  border: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  flex: 1;
}

.search-button01 {
background-color: #00a8a9;
  color: white;
  border: none;
  padding: 20px 30px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  cursor: pointer;
  letter-spacing:0.1em;
  margin-right:30px;
}

.search-button02 {
background-color: #00a8a9;
  color: white;
  border: none;
  padding: 17px 30px;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing:0.1em;
}

.search-button i {
  font-size: 16px;
}

@media (max-width: 768px) {
  .container-search-index {
      flex-direction: column;
      align-items: stretch;
  }

  .title-index {
      margin-bottom: 10px;
  }

  .search-box-index {
      margin-bottom: 10px;
  }
}