* {
  box-sizing: border-box;
}

body {
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
  font-weight: 400;
  color: #333;
  background-color: #fff;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-align: center;
}

h3 {
  color: rgba(238, 72, 72, 1.0);
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 20px;
}

p {
  margin-top: 0;
  margin-bottom: 1.5em;
  text-align: justify;
}

address {
  font-style: normal;
}

a {
  color: #666;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #000;
  text-decoration: none;
}

ul {
  margin: 1em 0;
  padding: 0;
  list-style: none;
}

img {
  width: 100%;
  height: auto;
}

section {
  padding: 60px 0;
}


.h2-title {
  position: relative;
  text-transform: uppercase;
  z-index: 100;
}

.h2-title::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background: rgba(238, 72, 72, 0.5);
  position: absolute;
  left: 50%;
  margin-left: -20px;
  transform: rotate(45deg);
  z-index: -100;
}

.txt-center {
  text-align: center;
}

.txt-lead {
  font-weight: 700;
}

.btn {
  display: block;
  padding: 20px 35px;
  border-radius: 8px;
  margin: 0 auto;
  border: none;
}


.inner {
  padding: 0 15px;
  margin: 0 auto;
}

@media screen and (min-width:768px) {
  .inner {
    max-width: 1200px;
  }
}

.sp-only {
  display: block;
}

.pc-only {
  display: none;
}

@media screen and (min-width:821px) {
  .sp-only {
    display: none;
  }

  .pc-only {
    display: block;
  }
}

/*----header---- */
.header {
  position: fixed;
  top: 0px;
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 200;
}

.header-logo-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/*ロゴ*/
.logo-area {
  width: 200px;
  margin: 0;
  text-align: left;
}

@media screen and (max-width:820px) {
  .logo-area {
    width: 250px;
  }
}

/*ハンバーガーメニュー*/
.gnav-toggle {
  position: relative;
  margin-top: 12px;
}

.gnav-hidden {
  display: none;
}

#gnav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
}


#gnav-open span,
#gnav-open span::before,
#gnav-open span::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #555;
  display: block;
  cursor: pointer;
}

#gnav-open span::before {
  bottom: -8px;
}

#gnav-open span::after {
  bottom: -16px;
}

#gnav-close {
  display: none;
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

#gnav-input:checked~#gnav-close {
  display: block;
  opacity: 0.5;
}

#gnav-input:checked~#gnav-content {
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
}

#gnav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 70%;
  max-width: 300px;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  transition: 0.3s ease-in-out;
  transform: translateX(-105%);
}

.gnav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  text-transform: uppercase;
}


.gnav-item {
  border-bottom: 2px dotted #eee;
  margin: 10px;
  padding-bottom: 20px;
}

.gnav-item a {
  color: #fff;
  font-size: 12px;
  display: block;
  width: 200px;
  text-align: center;
}

.gnav-item a::first-line {
  font-size: 16px;
  font-weight: bold;
}

@media screen and (min-width:821px) {
  .gnav-menu {
    flex-direction: row;
    padding-top: 15px;
    margin: 0;
  }

  .gnav-item {
    border-bottom: none;
    margin: 0;
    padding-bottom: 0;
  }

  .gnav-item a {
    color: #333;
    width: 120px;
  }

  .gnav-item a:hover {
    color: rgb(238, 72, 72);
  }
}

/*----/header----*/

/*-------------------------------------------
　メインビジュアル
-------------------------------------------*/

/*slider*/
.slider {
  position: relative;
  z-index: 1;
  height: 100vh;
}

.slider-item01 {
  background: url(../img/slider01.jpg);
}

.slider-item02 {
  background: url(../img/slider02.jpg);
}

.slider-item03 {
  background: url(../img/slider03.jpg);
}

.slider-item {
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.slick-prev,
.slick-next {
  position: absolute;
  z-index: 3;
  top: 42%;
  cursor: pointer;
  outline: none;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  height: 25px;
  width: 25px;
}

.slick-prev {
  left: 2.5%;
  transform: rotate(-135deg);
}

.slick-next {
  right: 2.5%;
  transform: rotate(45deg);
}

.slick-dots {
  position: relative;
  z-index: 3;
  text-align: center;
  margin: -50px 0 0 0;
}

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

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: #ccc;
}

.slick-dots .slick-active button {
  background: #333;
}

/*slider*/

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glowAnime span {
  opacity: 0;
}

.glowAnime.glow span {
  animation: glow_anime_on 1s ease-out forwards;
}

@keyframes glow_anime_on {
  0% {
    opacity: 0;
    text-shadow: 0 0 0 #fff, 0 0 0 #fff;
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 10px #fff, 0 0 15px #fff;
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 0 #fff, 0 0 0 #fff;
  }
}


.mv-title {
  font-family: 'Parisienne', cursive;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 9vw;
  font-weight: normal;
  letter-spacing: 0.1em;
  color: #fff;
}



@media screen and (max-width:912px) {
  .mv-title {
    font-size: 10vw;
  }
}

@media screen and (max-width:375px) {
  .mv-title {
    top: 55%;
    font-size: 10vw;
  }
}


/*-------------------------------------------
　新着情報
-------------------------------------------*/
#news {
  margin-top: -50px;
  margin-bottom: 50px;
}

.news-list {
  list-style: none outside;
  margin: 0;
  padding: 0;
  height: 200px;
  overflow-y: scroll;
}

.news-list::-webkit-scrollbar {
  width: 12px;
  height: 15px;
}

.news-list::-webkit-scrollbar-track {
  background-color: rgba(250, 175, 82, 0.2);
  border-radius: 100px;
}

.news-list::-webkit-scrollbar-thumb {
  background: #FAAF52;
  border-radius: 100px;
  width: 130px;
}

.news-list .item a {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}

.news-list .item .date {
  margin: 0;
  min-width: 120px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}

.news-list .item .title {
  margin: 0;
  width: 100%;
}

.news-list .item a:hover .title {
  color: #FAAF52;
}

@media screen and (min-width: 768px) {
  .news_area {
    max-width: 1200px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {

  #news {
    margin-top: 0px;
  }

  .news-list {
    margin-top: 50px;
  }

  .news-list .item a {
    flex-wrap: wrap;
  }

  .news-list .item .date {
    min-width: 100px;
  }

  .news-list .item .title {
    margin-top: 10px;
  }
}

/*-------------------------------------------
　#info
-------------------------------------------*/
.info-area {
  background-color: #ee4848;
}

.info-txt {
  color: #fff;
}

.info-txt p {
  display: block;
  text-align: center;
  padding-top: 10px;
}

.info_contactbtn a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0 auto;
  padding: 1em 2em;
  width: 300px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  background-color: #fff;
  transition: 0.3s;
}

.info_contactbtn a::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 2px solid #FAAF52;
  transition: 0.2s;
}

.info_contactbtn a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg);
}

.info_contactbtn a:hover::before {
  top: 0;
  left: 0;
}

.info_contactbtn a:hover {
  text-decoration: none;
  background-color: #FAAF52;
}

.line {
  position: relative;
}


.info-img-detail {
  background-image: url(../img/info01.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 600px;
  height: 400px;
}

.line::before,
.line::after {
  position: absolute;
  content: "";
  width: 0;
  height: 1px;
  background: #333;
}

.line2::before,
.line2::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 0;
  background: #333;
}

.line::before {
  top: 0;
  left: 0;
  animation: lineAnime .5s linear 0s forwards;
}

.line2::before {
  top: 0;
  right: 0;
  animation: lineAnime2 .5s linear .5s forwards;
}

.line::after {
  bottom: 0;
  right: 0;
  animation: lineAnime .5s linear 1s forwards;
}

.line2::after {
  bottom: 0;
  left: 0;
  animation: lineAnime2 .5s linear 1.5s forwards;
}

@keyframes lineAnime {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

@keyframes lineAnime2 {
  0% {
    height: 0%;
  }

  100% {
    height: 100%;
  }
}

.line .lineinappear {
  animation: lineInnerAnime .5s linear 1.5s forwards;
  opacity: 0;
}

@keyframes lineInnerAnime {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (max-width:820px) {
  .info-img-detail {
    width: 400px;
    height: 400px;
  }
}


@media screen and (min-width:768px) {
  .info-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }

  .info-txt {
    flex: 1;
    margin-left: 30px;
  }

  .info-area img {
    flex: 1
  }
}

@media screen and (max-width:768px) {
  .info-content {
    flex-direction: column;
  }

  .info-area {
    background-color: #ee4848;
    margin-bottom: 50px;
  }

  .info-txt {
    margin-bottom: 50px;
  }

}

@media screen and (max-width:767px) {
  .info-img-detail {
    width: 100%;
    height: 300px;
  }
}

@media screen and (max-width:362px) {

  .info-txt p {
    font-size: 12px;
  }

  .info_contactbtn a {
    width: 90%;
    font-size: 14px;
  }
}

/*-------------------------------------------
　#service
-------------------------------------------*/
.service-area {
  background-color: #fff;
}

/*service_info*/

.service_info {
  display: flex;
  align-items: stretch;
}

.service-item {
  flex: 1;
}

.service-item {
  text-align: center;
  padding: 20px 20px 0;
  margin: 5px;
  border-radius: 10px;
}

.service-item {
  margin: 1rem auto;
  width: 100%;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 34px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
  transition: all .5s;
}

.s-itemcard {
  background: #fff;
  box-shadow: 0 2px 5px #ccc;
}

.s-itemcard-img {
  border-radius: 5px 5px 0 0;
  max-width: 100%;
  height: auto;
}

.card-content {
  padding: 8px 20px 20px;
}

.card-title {
  font-size: 1.4em;
  color: #333;
  font-weight: 700;
}

.card-text {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0.2em;
}

.card-link {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 20px;
}

.card-link a {
  text-decoration: none;
  color: #333;
  margin: 0 10px;
}

.card-link a:hover {
  color: #ee4848;
}

.card-content p {
  margin-bottom: 0;
}


.card-link-btn {
  position: relative;
  color: #333;
  padding: 10px 0;
  display: inline-block;
  text-decoration: none;
  outline: none;
}

.card-link-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #FAAF52;
}

.card-link-btn::after {
  content: "";
  position: absolute;
  bottom: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #FAAF52;
  border-right: 1px solid #FAAF52;
  transform: rotate(45deg);
}

.card-link-btn::before {
  animation: arrowlong01 2s ease infinite;
}

.card-link-btn::after {
  animation: arrowlong02 2s ease infinite;
}

@keyframes arrowlong01 {
  0% {
    width: 0;
    opacity: 0
  }

  20% {
    width: 0;
    opacity: 1
  }

  80% {
    width: 105%;
    opacity: 1
  }

  100% {
    width: 105%;
    opacity: 0
  }
}

@keyframes arrowlong02 {
  0% {
    left: 0;
    opacity: 0
  }

  20% {
    left: 0;
    opacity: 1
  }

  80% {
    left: 103%;
    opacity: 1
  }

  100% {
    left: 103%;
    opacity: 0
  }
}


.zoomIn {
  animation-name: zoomInAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes zoomInAnime {
  from {
    transform: scale(0.6);
  }

  to {
    transform: scale(1);
  }
}


@media screen and (min-width: 768px) {
  .service_info {
    max-width: 1200px;
    margin: 0 auto;
  }
}


@media screen and (max-width: 768px) {
  .service_info {
    flex-direction: column;
  }
}

@media screen and (max-width:362px) {

  .txt-center,
  .card-text {
    font-size: 10px;
  }
}

/*-------------------------------------------
　SDGS
-------------------------------------------*/
.SDGS-area {
  background-image: url(../img/SDGSBG.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 400px;
  margin-bottom: 100px;
}

.SDGS_BG {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 50px 0;
  max-width: 900px;
  margin: 0 auto;
}

.sdgs_morebtn {
  padding-top: 20px;
}

.sdgs_morebtn a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0 auto;
  padding: 1em 2em;
  width: 300px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  background-color: #fff;
  transition: 0.3s;
}

.sdgs_morebtn a::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 2px solid #FAAF52;
  transition: 0.2s;
}

.sdgs_morebtn a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg);
}

.sdgs_morebtn a:hover::before {
  top: 0;
  left: 0;
}

.sdgs_morebtn a:hover {
  text-decoration: none;
  background-color: #FAAF52;
}

@media screen and (max-width: 768px) {
  .SDGS-area {
    background-image: url(../img/SDGSBG_sp.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 400px;
    margin-bottom: 100px;
  }
}

@media screen and (max-width:362px) {
  .sdgs_morebtn a {
    width: 90%;
    font-size: 14px;
  }
}

/*-------------------------------------------
　ページトップ
-------------------------------------------*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}

.page-top {
  position: fixed;
  right: 10px;
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 11px;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 22px;
  border-radius: 30px;
  padding-top: 30px;
  box-sizing: border-box;
}

.page-top:before {
  content: '\25B2';
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 10px;
}

.page-top:hover {
  opacity: 0.7;
}

#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);
  }
}

/*-------------------------------------------
　フッター
-------------------------------------------*/
#footer {
  position: relative;
}

#footer .f_main .left {
  background: url(../img/footerBG.jpg) no-repeat center / cover;
  padding: 50px 40px;
}

#footer .f_main .logo {
  margin-bottom: 16px;
  text-align: center;
}

#footer .f_main .logo>a {
  display: inline-block;
}

#footer .f_main .address {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 17px;
  text-align: center;
}

#footer .f_main .right {
  background: #f0f0f0;
}

#footer .f_main .nav a {
  color: #ccc;
}

#footer .f_main .c-btn {
  margin-top: 10px;
}

.c-btn {
  display: flex;
}

.c-btn a {
  box-shadow: 7px 11px 10px rgb(0 92 129 / 15%);
  background: #ee4848;
  transition: 0.3s all ease 0s;
  padding: 8px 14px;
  display: block;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  width: 250px;
  margin: 0 auto;
  text-align: center;
}

.copyright {
  text-align: center;
  color: #fff;
  background-color: #333;
}

@media only screen and (max-width: 768px) {
  .c-btn {
    flex-direction: column;
  }

  .c-btn a {
    margin-bottom: 10px;
  }
}

@media only screen and (min-width: 641px) {
  #footer .f_main {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  #footer .f_main .left {
    width: 50%;
  }

  #footer .f_main .left>.inner {
    margin-left: auto;
    text-align: center;
    width: 500px;
  }

  #footer .f_main .head {
    display: inline-block;
    font-size: 0;
  }

  #footer .f_main .f_logo {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }

  #footer .f_main .f_logo>a {
    width: 100px;
  }

  #footer .f_main .address {
    display: inline-block;
    margin-bottom: 0;
    margin-left: 20px;
    padding-left: 20px;
    position: relative;
    text-align: left;
    vertical-align: middle;
  }

  #footer .f_main .address::before {
    background-color: #fff;
    bottom: 0;
    content: '';
    height: 30px;
    left: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 1px;
  }

  #footer .f_main .btn-wrap {
    margin: 0 auto;
    margin-top: 20px;
    width: 280px;
  }

  #footer .f_main .btn-wrap>.btn-contact {
    border-radius: 5px;
  }

  #footer .f_main .btn-wrap>.btn-contact>span {
    height: 48px;
    line-height: 50px;
  }

  .ie #footer .f_main .btn-wrap>.btn-contact>span {
    line-height: 52px;
  }

  #footer .f_main .right {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    width: 50%;
  }

  #footer .f_main .right>.f_inner {
    padding-left: 40px;
    width: 600px;
  }

  #footer .f_main .f_nav {
    font-size: 0;
    margin-bottom: -20px;
  }

  #footer .f_main .f_nav>li {
    display: inline-block;
    font-size: 13px;
    margin-bottom: 20px;
    margin-right: 15px;
  }

  #footer .f_main .f_nav a {
    padding-right: 10px;
    position: relative;
  }

  #footer .f_main .f_nav a:not(:last-child)::before {
    content: '>';
    position: absolute;
    height: 3px;
    right: 0;
    top: 0;
    width: 5px;
    font-size: 12px;
  }

  #footer .f_main .f_nav a:hover {
    color: #c4341a;
    opacity: 1;
  }

  #footer .f_main .f_nav a:hover::before {
    color: #c4341a;
  }
}

@media only screen and (max-width: 640px) {
  #footer .f_main .f_nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
  }

  #footer .f_main .f_nav>li {
    width: 50%;
    border-bottom: 1px solid #ccc;
    display: inline-block;
  }

  #footer .f_main .f_nav>li:nth-child(odd) {
    border-right: 1px solid #ccc;
  }

  #footer .f_main .f_nav a {
    font-size: 11px;
    padding: 20px 10px;
    padding-right: 15px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 60px;
  }
}

@media screen and (max-width:362px) {
  .c-btn a {
    width: 90%;
  }
}

@media screen and (min-width:768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
