/*
Theme Name: 株式会社金城組
Description: 株式会社金城組のベーステーマです
Version: 1.0
Author: FUNSCREATION
Author URI: https://funscreation.co.jp/
*/



/****************************************
		1. General Setting
*****************************************/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}
@media (min-width: 1080px){
    html {
    scroll-padding-top: 100px;
  }
}
body {
  color: #000;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 100%;
  font-family: "source-han-serif-japanese", "Source Han Serif JP", "Noto Serif JP", serif, "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho;
  width: 100%;
}


a {
  color: #000;
  outline: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:visited {
  color: #000;
}


.clear {
  clear: both;
  line-height: 0
}

/*----- Clearfix -----*/
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: inline-block;
  min-height: 1%;
  /* for IE 7*/
}

/* Hides from IE-mac */
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End hide from IE-mac */

.pc {
  display: block;
}

.sp {
  display: none;
}

.tablet {
  display: none;
}

.br-pc {
  display: inline-block;
}

.br-tablet {
  display: none;
}

.br-sp {
  display: none;
}

@media (max-width: 1024px) {
  body {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
  }

  .tablet {
    display: block;
  }

  .br-tablet {
    display: block;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .br-pc {
    display: none;
  }

  .br-tablet {
    display: none;
  }

  .br-sp {
    display: inline-block;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

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


/* 透明から表示 */
.fadeIn.visible {
  animation: opacityFadeIn 2s ease 0s 1 normal;
}

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

  100% {
    opacity: 1;
  }
}

/* 下から上にフェードイン */
.fadeInUp.visible {
  animation: fadeInBottom 1s ease 0s 1 normal;
}

@keyframes fadeInBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
  }
}

.fixed {
  position: fixed;
}

/* BUTTON*/
.btn {
  background-color: #FFF;
  border: solid 1px #000;
  color: #000 !important;
  display: block;
  line-height: 1;
  font-size: 18px;
  padding: 1em 0.5em;
  max-width: 200px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.btn_view {
  border: unset;
  padding-left: 0;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  background-color: #000;
  padding: 13px;
}

@media (max-width: 767px) {
  .btn {
    font-size: 15px;
  }
}

.btn.btn-white {
  background-color: transparent;
  border-color: #FFF;
  color: #FFF !important;
}

.btn.btn-white2 {
  border: unset;
}

.arrow {
  position: relative;
  color: #fff;
  display: block;
  transition: 0.3s ease;
  padding-right: 10px;
  /* ← 矢印の右スライド分の余白を確保 */
}

.arrow_w {
  color: #fff;
}

.arrow::after {
  background: url(img/common/arrow.png) center center no-repeat;
  background-size: contain;
  content: '';
  display: inline-block;
  position: absolute;
  height: 10px;
  width: 10px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  /* ✅ 追加：アニメーション設定 */
}

.arrow:hover::after {
  transform: translateY(-50%) translateX(5px);
  /* ← 右へ5px移動 */
}

.arrow_w::after {
  background: url(img/common/arrow_w.png) center center no-repeat;
  background-size: contain;
}

.arrow_s::after {
  background: url(img/common/arrow_s.png) center center no-repeat;
  background-size: contain;
  height: 20px;
  left: 16.5em;
  transition: 0.5s;
}

.arrow_s:hover::after {
  /*left: 17em;
  transition: 0.5s;*/
}

.arrow_sw::after {
  background: url(img/common/arrow_sw.png) center center no-repeat;
  background-size: contain;
  height: 20px;
  left: 16.5em;
  transition: 0.5s;
}

.arrow_sw:hover::after {
  /*left: 17em;
  transition: 0.5s;*/
}

.arrow2::after {
  background: url(img/common/arrow2.png) center center no-repeat;
  height: 2.6rem;
  top: 1em;
  left: 17em;
  width: 2.5rem;
}

.arrow-white::after {
  background-image: url(img/common/arrow_w.png);
}

@media (max-width: 767px) {
  .arrow_s::after {
    height: 20px;
    left: 9em;
    width: 50%;
    max-width: 90px;
  }

  .arrow_sw::after {
    height: 20px;
    left: 9em;
    width: 50%;
    max-width: 90px;
  }

}

/* @media (max-width: 480px) {
  .arrow::after {
    max-width: 100px;
    left: 55%;
  }
} */

.btn-white .arrow::after {
  background-image: url(img/common/arrow_w.png);
}

.ico {
  display: inline-block;
  vertical-align: bottom;
}

.ico::before {
  content: '';
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
  vertical-align: middle;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.txt_view_more {
  position: relative;
  max-width: 300px;
}

.txt_view_more:after {
  content: '';
  position: absolute;
  top: 0;
  right: 7%;
  bottom: 0;
  display: block;
  width: 0.6em;
  height: 0.6em;
  margin: auto;
  border-top: solid 1px #072a7e;
  border-right: solid 1px #072a7e;
  transform: rotate(45deg);
  transition: 0.5s;
}

.txt_view_more:hover:after {
  right: 3%;
  transition: 0.5s;
}

/****************************************
  Header, Menu
*****************************************/

#header {
  background-color: #fff;
  position: fixed;
  height: 80px;
  left: 0;
  width: 100%;
  top: 0;
  transition: all 0.3s ease;
  z-index: 99;
  font-family: "source-han-serif-japanese", serif;
}


#header.open {
  background-color: transparent;
}


@media (max-width: 1140px) {}

@media (max-width: 1024px) {
  #header {
    height: 80px;
  }
}

@media (max-width: 767px) {
  #header {
    height: 50px;
  }
}

/* @media (max-width: 414px) {
  #header {
    height: 60px;
  }
} */

#header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin: 0 auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 100%;
  width: 90%;
  max-width: 1900px;
}

@media (min-width: 1025px) {
  #header .header-inner {
    width: 90%;
    max-width: 1800px;
  }
}

.header-logo {
  height: auto;
  max-width: 280px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  width: 50%;
  z-index: 999;
}

@media (min-width: 1501px) {
  .header-logo {
    max-width: 350px;
  }
}

@media (max-width: 767px) {
  #header .header-inner {
    width: 94%;
  }
}


#header:not(.open) .logo_w {
  display: none;
}

#header.open .logo {
  display: none;
}

#header.open .logo_w {
  display: block;
}

#header .header-nav {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  z-index: 9999;
}

#header .header-info_box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 280px;
}

#header .h_tel_number {
  padding-right: 20px;
}

@media (width > 600px){
  #header .is_phonenumber {
    width: 204px;
  } /* #header .is_phonenumber */
  #header .is_access {width: 52px;}
}

#header .h_contact {
  padding-right: 10px;
}

#header .h_access {
  padding-left: 10px;
}

#header .h_contact,
#header .h_access {
  width: 100%;
  transition: 0.5s;
}

#header .h_contact:hover,
#header .h_access:hover {
  opacity: 0.8;
  transition: 0.5s;
}

@media (min-width: 1501px) {
  #header .header-info_box {
    max-width: 350px;
  }
}

@media (max-width: 1140px) {
  .header-logo {
    max-width: 220px;
  }

  #header .header-info_box {
    max-width: 250px;
  }
}

@media (max-width: 1024px) {
  .header-logo {
    max-width: 280px;
  }

  .gnav-container {
    display: none;
  }

  #header .header-info_box {
    display: none;
  }
}

@media (max-width: 767px) {
  .header-logo {
    margin-left: 3%;
    max-width: 127px;
  }
}

#header .header-nav #gnav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 auto;
  height: 100%;
}

#header nav .menu-item {
  font-weight: bold;
  line-height: 1.4;
  padding: 0 1em 0 1em;
  text-align: center;


}

#header nav .menu-item:hover {
  opacity: 0.7;
  transition: 0.5s;
}

#header nav .menu-item a {
  color: #000;
  position: relative;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#header nav .menu-item a>* {
  display: block;
}

#header nav .menu-item .en {
  font-size: 12px;
  margin-top: 0;
  color: #ce452b;
  text-align: center;
}

@media (max-width: 1280px) {
  #header nav .menu-item {
    font-size: 14px;
  }
}

@media (max-width: 1140px) {
  #header nav .menu-item {
    padding: 0 0.6em 0 0.6em;
  }

}

/*--- HEADER MENU BUTTON ---*/
#header-menu-box {
  display: flex;
  display: flex;
  align-items: center;
  height: 100%;
}

.header-menu-btn {
  align-items: center;
  background-color: transparent;
  color: #FFF;
  display: flex;
  font-size: 1.8em;
  height: 100px;
  justify-content: center;
  text-align: center;
  width: 100px;
  transition: all 0.3s ease;
}

#nav-toggle {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
  padding: 0;
  z-index: 9999;
}

@media (min-width: 1025px) {
  #nav-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  #nav-toggle {
    height: 80px;
    width: 80px;
  }
}

@media (max-width: 414px) {
  #nav-toggle {
    height: 60px;
    width: 60px;
  }
}

#nav-toggle .menu-line {
  background-color: #000;
  display: block;
  height: 1px;
  position: absolute;
  left: 0;
  margin: auto;
  right: 0;
  top: 45%;
  transition: transform .3s;
  width: 35px;
}

/**
#nav-toggle .menu-line.menu-line--center {
  top: 50%;
}**/

#nav-toggle .menu-line.menu-line--bottom {
  top: 55%;
}

/*active時*/
#nav-toggle.active .menu-line {
  top: 45%;
}

#nav-toggle.active .menu-line.menu-line--top {
  transform: rotate(-20deg);
}

#nav-toggle.active .menu-line.menu-line--center {
  transform: scaleX(0);
}

#nav-toggle.active .menu-line.menu-line--bottom {
  transform: rotate(20deg);
}

/*--- SLIDENAV ---*/
#slidenav {
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  display: none;
  height: 100%;
  overflow: scroll;
  padding-top: 10px;
  position: fixed;
  padding-top: 2%;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 99;
}

#slide-nav-ul {
  list-style-type: none;
  margin: 0 auto;
  width: 90%;
}

#slide-nav-ul .menu-item {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0.8em;
  text-align: left;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  border-bottom: solid 1px #ccc;
}

#slide-nav-ul .menu-item.last {
  margin-bottom: 1.8em;
}

@media (min-width: 768px) {
  #slide-nav-ul .menu-item {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0.8em;
    text-align: left;
    width: 75%;
    margin-right: auto;
    margin-left: auto;
  }
}

#slide-nav-ul .arrow_01 {
  padding-bottom: 15px;
}

#slide-nav-ul .arrow_01:after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 50%;
  display: block;
  width: 0.5em;
  height: 0.5em;
  margin: auto;

  aspect-ratio: 1 / 1;
  width: 16px;
  background: url(img/common/header_redarrow.svg) center center no-repeat;
  background-size: cover;

}

#slide-nav-ul #sub_ul {
  width: 62%;
}

#slide-nav-ul #sub_ul .sub_item_middle {
  width: 120%;
}

#slide-nav-ul #sub_ul .sub_item {
  position: relative;
  /* border-bottom: solid 2px #072a7e; */
  font-size: 15px;
  color: #999;
  padding-bottom: 0.6em;
  margin-bottom: 0.8em;


  a {
    padding-left: 1.5em;
    color: #999;
  }
}

#slide-nav-ul #sub_ul .sub_item.sub_item_middle {
  font-size: 18px;
  padding-top: 0.2em;
}

@media (min-width: 768px) {
  #slide-nav-ul #sub_ul .sub_item {
    font-size: 20px;
    padding-bottom: 0.5em;
    margin-bottom: 0.8em;

  }

  #slide-nav-ul #sub_ul .sub_item.sub_item_middle {
    font-size: 22px;
  }
}

#slide-nav-ul #sub_ul .sub_item:after {
  content: '';
  position: absolute;
  top: 0;
  left: 2%;
  bottom: 25%;
  display: block;
  width: 0.6em;
  height: 0.6em;
  margin: auto;

  width: 10px;
  height: 2px;
  background-color: #CE452B;
}

#slide-nav-ul #sub_ul .sub_item.sub_item_middle:after {
  bottom: 20%;
  width: 0.5em;
  height: 0.5em;
}

#slide-nav-ul #sub_ul .sub_item.last {
  margin-bottom: 1.9em;
}

#slide-nav-ul .menu-item a {
  color: #000;
  display: block;
  position: relative;

}
#slide-nav-ul .menu-item {
  &.access-item,
  &.contact-item {
    padding: 0;
    position: relative;

    a {
      color: #fff;
      font-size: 20px;
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;

      position: static;
    }
    .header_arrow {
      aspect-ratio: 32 / 32;
      width: 16px;
      position: absolute;
      top: 0;
      bottom: 0;
      right: 18px;
      margin: auto;
    } /* header_arrow */
  }

  &.contact-item {background-color: #CE452B;}
  &.access-item {background-color: #00A73C;}
} /* #slide-nav-ul .menu-item */

#slide-nav-ul .menu-item a>* {
  display: block;
}

#slide-nav-ul .menu-item .en {
  font-size: 24px;
  font-weight: normal;
}

#slide-nav-ul .logo-item {
  width: 100%;
  margin-bottom: 10%;
  border-bottom: unset;
  max-width: 400px;
}

#slide-nav-ul .info-item {
  margin: 0 auto;
  padding-top: 3%;
  padding-bottom: 2%;
  padding-right: 10%;
  padding-left: 10%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px #072a7e;
  margin-bottom: 22px;
}

#slide-nav-ul .contact-item {
  margin: 0 auto;
  width: 100%;
  background-color: #072a7e;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 3%;
  padding-bottom: 3%;
  padding-right: 20%;
  padding-left: 20%;
  margin-bottom: 22px;
}

#slide-nav-ul .access-item {
  margin: 0 auto;
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 3%;
  padding-bottom: 3%;
  padding-right: 23%;
  padding-left: 23%;
  margin-bottom: 22px;
}


@media (max-width: 1080px) {
  #slide-nav-ul .logo-item {
    width: 70%;
    margin-top: 5px;
    margin-left: 0;
    max-width: 125px;
  }

  #slidenav .info-box {
    font-size: 12px;
  }

  #slidenav {
    padding-bottom: 100px;

    #slide-nav-ul .menu-item {
      width: 100%;
    }

    & .info-item {
      border: none;
      background-color: #000;
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;

      a {color: #fff;text-align: center;}

      & .title {font-size: 15px;}
      & .flex {display: flex;align-items: flex-end;margin-top: 10px;}
      & .tel {font-size: 15px;}
      & .number {font-size: 25px;}
      & .time {font-size: 15px;margin-top: 10px;}
    } /* info-item */
  }
}

@media (max-width: 580px) {

  #slide-nav-ul .logo-item {
    width: 70%;
    margin-top: 5px;
  }
}

@media (max-width: 414px) {

  #slide-nav-ul .logo-item {
    width: 70%;
    margin-top: 5px;
  }

  #slide-nav-ul .menu-item {
    font-size: 18px;
  }

  #slide-nav-ul .menu-item .en {
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  #nav-toggle {
    display: block;
  }
}

@media (max-width: 767px) {
  #nav-toggle {
    height: 75px;
    width: 75px;
  }
}

@media (max-width: 414px) {
  #nav-toggle {
    height: 65px;
    width: 65px;
  }
}

/****************************************
  Main
*****************************************/
#container {
  width: 100%;
  margin: 0 auto;
  background-color: #FFF;
  font-family: "source-han-serif-japanese", serif;
}

@media (max-width: 767px) {
  #container {
    padding-top: 0;
  }
}


/****************************************
  Footer
*****************************************/

#footer {
  background: #fff;
  position: relative;
  width: 100%;
  font-family: "source-han-serif-japanese", serif;
}

@media (max-width: 767px) {
  #footer {
    background: #fff;
  }
}

#footer a {
  color: black;
  display: block;
}

#footer .footer-inner {
  max-width: 1200px;
  width: 70%;
  margin: 0 auto;
  padding: 50px 0 10px;
  text-align: center;
}

#footer .footer-content {
  display: flex;
  padding-bottom: 3em;
}

@media (min-width: 1025px) {
  #footer .footer-content {
    justify-content: space-between;

  }
}

@media (max-width: 1024px) {
  #footer .footer-content {
    align-items: center;
    flex-direction: column;
  }
}

#footer .footer-info-block {
  align-items: center;
  display: flex;
  flex-direction: column;
  color: black;
  padding-right: 40px;
  text-align: left;
}

#footer .footer-logo {
  max-width: 254px;
  width: 100%;
  margin-bottom: 1em;
  margin-right: auto;
}

@media (max-width: 1024px) {
  #footer .footer-info-block {
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 5%;
    width: 100%;
  }

  #footer .footer-logo {
    margin-bottom: 20px;
    width: 100%;
  }

}

@media (max-width: 767px) {

  #footer .footer-content {
    padding-bottom: 1.5em;
  }

  #footer .footer-logo {
    width: 100%;
    margin: 0 auto 20px;
  }

  #footer .footer-info-block {
    flex-direction: column;
    margin-bottom: .5em;
  }

  #footer .footer-info-box {
    display: block;
    font-size: 15px;
    margin-bottom: 50px;
    width: 90%;
  }

  #footer .footer-info-box .tel>* {
    display: block;
  }

  #footer .tel {
    line-height: .8em;
    margin-top: 0.6em;
  }
}

@media (max-width: 480px) {
  #footer .footer-inner {
    width: 90%;
  }
}

#footer .footer-info-box {
  /* line-height: 2; */
  margin-right: auto;
}

#footer .footer-info-box .footer-tel-wrap {
  margin-top: 10px;
}

@media (min-width: 768px) {
  #footer .footer-info-box .tel>*:not(:last-child) {
    margin-right: 2em;
  }
}

.footer-nav-area {
  max-width: 700px;
}

@media (min-width: 1025px) {
  .footer-nav-area {
    /* width: 55%; */
    max-width: 760px;
    width: 100%;
  }
}

/* #footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
} */

#footer-nav .menu-item {
  /* margin-top: 2.5em; */
  /* margin-right: 2.5em; */
  width: calc(22% - 15em / 5);
  /* width: 20%; */
  width: 18%;
  white-space: nowrap;
  font-weight: 600;
}

#footer-nav .menu-item:hover {
  opacity: 0.7;
  transition: 0.5s;
}

#footer-nav .menu-item:nth-child(1) {
  /* width: 7%; */
}

#footer-nav .menu-item:nth-child(2),
#footer-nav .menu-item:nth-child(3),
#footer-nav .menu-item:nth-child(4) {
  /* width: 12%; */
}


#footer-nav .menu-item:nth-child(5) {
  /* margin-right: 0;
  width: 17%; */
}

#footer-nav .menu-item:nth-child(6),
#footer-nav .menu-item:nth-child(7) {
  /* width: 12%;
  margin-right: 3em; */
}

#footer-nav .menu-item:nth-child(8) {
  /* width: 17%;
  margin-right: 3em; */
}

#footer-nav .menu-item:last-child {
  /* width: 27%;
  margin-right: 0; */
}

#footer-nav .menu-item::before {
  content: '';
  display: inline-block;
  height: 1px;
  width: 0.5em;
  margin-right: 0.3em;
  vertical-align: middle;
  background-color: #FFF;
}

#footer-nav .menu-item a {
  color: black;
}

@media (max-width: 1500px) {

  #footer-nav .menu-item,
  .footer-info-box {
    font-size: 14px;
  }
}

@media (max-width: 1275px) {
  #footer-nav .menu-item {
    margin-right: 2em;
  }

  #footer-nav .menu-item:nth-child(6),
  #footer-nav .menu-item:nth-child(7),
  #footer-nav .menu-item:nth-child(8) {
    margin-right: 2.5em;
  }
}

@media (max-width: 767px) {

  #footer-nav {
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
  }

  #footer-nav .menu-item {
    margin-bottom: 1em;
  }

  #footer-nav .menu-item,
  .footer-info-box {
    font-size: 16px;
  }

  #footer-nav .menu-item:nth-child(1),
  #footer-nav .menu-item:nth-child(2),
  #footer-nav .menu-item:nth-child(3),
  #footer-nav .menu-item:nth-child(4),
  #footer-nav .menu-item:nth-child(5),
  #footer-nav .menu-item:nth-child(6),
  #footer-nav .menu-item:nth-child(7),
  #footer-nav .menu-item:nth-child(8),
  #footer-nav .menu-item:last-child {
    width: calc((100% - 20px) / 2);
    margin-top: 0;
    margin-bottom: 20px;
    margin-right: 20px;
  }

  #footer-nav .menu-item:nth-child(2n) {
    margin-right: 0;
  }
}
#footer-nav #menu-item-688 {display: none;}

@media (min-width: 768px) {
  #footer-nav {justify-content: flex-start!important;grid-column-gap: 1em;}
}


.copyright {
  color: black;
  font-size: 13px;
  padding: 25px 0 5px;
  border-top: solid 0.5px #000;
  text-align: center;
}

@media (max-width: 767px) {
  .copyright {
    font-size: 10px;
    text-align: center;
  }
}

/*ページトップへ*/
button#scroll-to-top {
  display: none;
  background: none;
  height: 90px;
  position: fixed;
  bottom: 20px;
  right: 5%;
  width: 70px;
  z-index: 98;
}

#scroll-to-top:hover {
  opacity: 0.8;
  transition: 0.5s;
}

@media (max-width:1500px) {
  button#scroll-to-top {
    height: 60px;
    width: 60px;
  }
}

@media (max-width:767px) {
  button#scroll-to-top {
    display: none !important;
  }
}

#main-visual__top .main-visual-inner .slider .slick-dots {
  bottom: 50px;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  width: 15px !important;
  height: 15px !important;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 15px !important;
  height: 15px !important;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: 0;
  background: 0 0;
}

.slick-dots li button:before {
  font-family: slick;
  font-size: 6px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px !important;
  height: 15px !important;
  content: '•';
  text-align: center;
  opacity: 1 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #fff !important;
  background-color: #fff !important;
}

.slick-dots li.slick-active button:before {
  opacity: 1 !important;
  color: #ce452b !important;
  background-color: #ce452b !important;
}


/*----------------------------------------------------
  SDGS PAGE
----------------------------------------------------*/

#quality.sdgs {
  .sub_section-ttl.declaration {
    font-size: 36px!important;
    &:first-letter {color: #CE452B;}
    & .is_small {
      font-size: 14px;
    } /* is_small */
  } /* sub_section-ttl */



  .flex-md {
    & .images {
      margin-top: 1em;
      text-align: center;

      p {margin-top: 5px;}
    } /* images */

    & .txt-right {
      font-size: 14px;
      line-height: 1.57;
      margin-top: 1em;
    } /* txt-right */

    &.mt2550 {margin-top: 25px;}
  } /* flex-md */

  .section-inner.w100 {padding-bottom: 0!important;width: 100%;}

  #sdgs_declaration02 .box_1,
  #sdgs_declaration02 .box_2,
  #sdgs_declaration02 .box_3 {
    background-color: #f2f2f2;
    margin-bottom: 2em;
    padding: 1.5em 0 2em;

    .section-sub_ttl {
      color: #ce452b;
    } /* section-sub_ttl */
  }

  #sdgs_declaration02 .section-sub_ttl {
    font-size: 25px;
    color: #072a7e;
    font-weight: bold;
    line-height: 1.4;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 1em;
  }

  #sdgs_declaration02 .wrap_box {
    background-color: #fff;
    width: 95%;
    margin: 0 auto;
    padding: 25px 3%;
  }


  @media (min-width:768px) {
    #sdgs_declaration02 .wrap_box {
      display: flex;
      background-color: #fff;
      justify-content: space-between;
      align-items: center;
      width: 95%;
      margin: 0 auto;
      padding: 25px 3%;
    }
  }




  #sdgs_declaration02 .wrap_box .img-area img {
    width: 100%;
  }

  #sdgs_declaration02 .wrap_box .txt_area .txt {
    font-size: 16px;
    line-height: 1.6;
  }
  #sdgs_declaration02 .wrap_box .img-area {margin-bottom: 1em;}
  @media (min-width:768px) {
    #sdgs_declaration02 .wrap_box .txt_area {
      width: 71.5%;
      min-width: 71.5%;
    }
    #sdgs_declaration02 .wrap_box .img-area {margin-bottom: 0;}
    #sdgs_declaration02 .wrap_box .img-area {
      width: 42%;
    }
    #sdgs_declaration02 .wrap_box .txt_area .txt {
      font-size: 20px;
      line-height: 1.6;
    }
  }

  #sdgs_declaration02 .box_4 {
    line-height: 1.9;
  }

  #sdgs_declaration02 .box_4 .sub_ttl {
    font-size: 25px;
    font-weight: bold;
  }

  #sdgs_declaration02 .box_4 .txt {
    padding-left: 1em;
    font-size: 20px;
  }

  #sdgs_declaration02 .box_4 li {
    list-style: disc;
  }

  #sdgs_declaration02 .box_4 li::marker {
    font-size: 10px;
  }

  #sdgs_declaration02 .box_4 li span {
    vertical-align: -0.2em;
  }

  #sdgs_declaration03 .border_box {
    border: solid 3px #CE452B;
    padding: 20px 0 35px;

    position: relative;

    & img.left {
      position: absolute;
      width: 50px;
      bottom: -20px;
      left: -15px;
    } /* img.right */
    & img.right {
      position: absolute;
      width: 90px;
      top: -10px;
      right: -10px;
    } /* img.right */
  }

  #sdgs_declaration03 .list_box {
    width: 90%;
    margin: 0 auto;
    max-width: 975px;
    margin-top: 2.5em;
  }

  #sdgs_declaration03 .txt_area {
    width: 90%;
    margin: 0 auto;
    max-width: 975px;
    line-height: 2;
  }

  #sdgs_declaration03 .sub_ttl {
    font-size: 25px;
    font-weight: bold;
  }

  #sdgs_declaration03 .txt {
    font-size: 16px;
    margin-top: 1em;
  }

  #about_sdgs {}

  .txt-center {} /* txt-center */

  .is_lists {
    margin-top: 25px;
    & li {
      list-style: none!important;
      width: 100%;
      height: 50px;
      background-color: #f2f2f2;
      display: flex;
      align-items: center;
      justify-content: center;

      font-size: 18px;
      font-weight: bold;

      margin-top: .5em;
    } /* li */
  } /* is_lists */


  .course-item a:hover {
    opacity: 0.8;
  }

  .course-item a img {
    width: 50%;
  }
}  /* #quality.sdgs */

.is_border-bottom {border-bottom: 1px solid #ccc;}


@media (min-width:768px) {
  #quality.sdgs {
    .sub_section-ttl.declaration {
      font-size: 60px!important;
      & .is_small {
        font-size: 20px;
      } /* is_small */
    } /* sub_section-ttl */

    .flex-md {
      display: flex;
      align-items: flex-start;
      grid-column-gap: 50px;

      & .first_txt_box {
        margin-top: 0;
        max-width: 900px;
        width: calc(900% / 12.00);
        margin-bottom: calc(1em - 5px);

        & .sub_section-ttl {
          font-size: 30px!important;
          text-align: left!important;
          margin-bottom: 35px!important;
        } /* sub_section-ttl */

        & .txt-right {
          font-size: 14px;
          line-height: 1.57;
          margin-top: 35px;
        } /* txt-right */
      } /* first_txt_box */

      & .images {
        margin-top: 0;
        max-width: 248px;
        img + p {font-size: 16px;text-align: center;margin-top: 5px;}
      } /* images */

      &.mt2550 {margin-top: 45px;}
    } /* flex-md */

    #sdgs_declaration02,
    #sdgs_declaration03 {
      .section-inner.w100 {width: 100%;padding-bottom: 0;}
      .box_3 {
        margin-bottom: 40px;
      } /* box_3 */
    }
    #sdgs_declaration02 .box_1,
    #sdgs_declaration02 .box_2,
    #sdgs_declaration02 .box_3 {
      .section-sub_ttl {
        width: 95%;
      } /* section-sub_ttl */

      .wrap_box {
        align-items: flex-start;
      } /* wrap_box */
    }

    #sdgs_declaration03 .txt {
      font-size: 20px;
      margin-top: 0;
    }
    #sdgs_declaration03 .list_box {margin-top: 0;}


    .is_lists {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      grid-column-gap: 20px;
      grid-row-gap: 20px;
      margin-top: 40px;

      & li {
        width: calc(480% / 12.00);
        height: 60px;
        font-size: 20px;
      } /* li */
    } /* is_lists */

    #sdgs_declaration03 .border_box {
      padding: 40px 38px 70px;

      & img.left {
      position: absolute;
      width: 100px;
      bottom: -40px;
      left: -25px;
    } /* img.right */

      & img.right {
        position: absolute;
        top: -20px;
        right: -20px;
        width: 197px;
        height: auto;
      } /* img.right */
    }
  }  /* #quality.sdgs */

  .pb45md {padding-bottom: 45px!important;}

  .is_page_button {
    padding-top: 0!important;
  } /* is_page_button */
} /* media min 768px */

@media (min-width:1080px) {
  #quality.sdgs {
    .is_lists {
      & li {
        width: calc(380% / 12.00);
      }
    }
  }
}


@media (max-width:767px) {
  /* #quality-first_txt .section-inner.pb0s {padding-bottom: 0!important;} */
  .section-inner.pb45md {padding-bottom: 15px!important;}
  #quality-first_txt {
    width: 100%;
    overflow: hidden;
  } /*. quality-first_txt */



  .box_1,
  .box_2,
  .box_3
   {
    position: relative;
    z-index: 1;

    &:before {
      content: "";
      width: 120%;
      height: 100%;
      background: #efefef;
      display: block;
      position: absolute;
      z-index: -1;
      top: 0;
      left: -10%;
    }

    .section-sub_ttl,
    .wrap_box {width: 100%!important;}
  } /* box 1 */
}



/* CONTACT */
#initiatives.contact {
  .sub_section-txt {text-align: center!important;}
} /* #initiatives.contact */
