@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

body {
  color: #191919;
  font-size: 10px;
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
}

/* リンクホバー */
a {
  display: block;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
a:hover {
  opacity: .75;
}

header a.main-image img {
  height: auto;
  width: 250px;
}

header a.main-image:hover {
  opacity: 1;
}

.swiper-slide a{
  opacity: 1;
}


/*インタビュー写真の切り替え*/
.interview_img{
  position: relative;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}


.off_img {
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  display: block;
  -webkit-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}


/*
img.on_img {
    width: 350px;
    height: 400px;
}*/

.off_img:hover {
  opacity: 0 !important;
}

.off_img_top {
  position: absolute;
  top: 37%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  display: block;
  -webkit-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.off_img_top:hover {
  opacity: 0 !important;
}

@media screen and (min-width: 1400px) {
  .off_img_top {
    top: 41%;
  }
}



/*
.on_img_top {
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  display: block;
  -webkit-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}
*/

/* ヘッダー */
header {
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 100px;
  z-index: 9999;
  background-color: #fff;
}
header > h1 {
  margin: 0 20px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
header > nav {
  height: inherit;
}
header > nav > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  font-size: 1.4em;
  font-weight: 500;
}
header > nav > ul > li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 18px 0 0;
}
header > nav > ul > li:last-of-type {
  margin: 0;
}
header > nav > ul > li:last-of-type a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  padding: 0 25px;
  color: #fff;
  background-color: #191919;
}
/* ハンバーガーメニュー */
.hamburger {
  display: none;
}

/* フッター */
footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.footer__left {
  width: 35%;
  background-color: #fff;
  text-align: right;
  background-image: url(../img/line-5c.png);
  background-repeat: no-repeat;
  background-size: 100% 4px;
}
.footer__left--container {
  display: inline-block;
  text-align: left;
  margin: 50px 20px 30px;
}
.footer__left--container h2 {
  margin: 0 0 30px;
}
.footer__left address {
  margin: 0 0 60px;
  font-size: 1.4em;
  font-weight: 500;
  line-height: 1.7;
}
.footer__left small {
  font-size: 1.2em;
}
.footer__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 65%;
  padding: 50px 50px 40px;
  background-color: #191919;
}
.footer__right > ul:first-of-type {
  padding: 0 30px 0 0;
  border-right: 2px solid #fff;
}
.footer__right > ul:nth-of-type(2) {
  padding: 0 30px 0;
  border-right: 2px solid #fff;
}
.footer__right > ul:last-of-type {
  padding: 0 0 0 30px;
}
.footer__right > ul:last-of-type > li {
  line-height: 2.2;
}
.footer__right > ul > li > ul {
  padding: 0 0 0 1.4em;
}
.footer__right > ul:first-of-type > li > ul > li:last-of-type {
  padding: 0 0 0 1.4em;
}
.footer__right a,
.footer__right span {
  color: #fff;
  font-size: 1.4em;
  font-weight: 500;
  line-height: 1.7;
}

.syanaiho-img {
    width: 20%;
    height: auto;
}

.syanaiho-img:hover {
    transform: scale(1.3);
}

span.span-large {
    font-size: 1.7em;
}

.my-5px {
  margin: 5px 0;
}

/*ページネーション*/
.pagination {
  display: flex;
}

.page-item.active .page-link{
  z-index: 3;
  color: #fff;
  background-color: #ff1919;
  border-color: #ff1919;
  padding: 6px 12px;
}
.page-link{
  z-index: 3;
  color: #ff1919;
  background-color: #fff;
  border-color: #ece8e6;
  padding: 6px 12px;
  font-size: 1.5rem;
  margin: 0.5rem;
}
.page-item:first-child .page-link{
}
.page-item:last-child .page-link{
}
.pagination li{
  padding: 3px;
}
.disabled .page-link{
  color: #212529;
  opacity: 0.5;
}

.swiper-container {
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  /* ヘッダーロゴ */
  header {
    height: 70px;
    padding: 0;
  }
  header > h1 > a,
  header > h1 > a > img {
    height: auto;
    width: 200px;
  }

  /* スライドメニュー */
  header > nav {
    position: absolute;
    width: 70%;
    height: calc(100vh - 67px);
    top: 67px;
    right: -70%;
    z-index: 10;
    background-color: #ffffff;
    -webkit-transition: .7s;
    transition: .7s;
  }
  header > nav > ul {
    display: block;
  }
  header > nav > ul > li {
    display: block;
    margin: 20px 20px;
  }
  header > nav > ul > li:last-of-type > a {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 20px;
  }

  /* ハンバーガーメニュー */
  .hamburger {
    display: block;
    position: absolute;
    top: 21px;
    right: 16px;
    width: 100%;
    cursor: pointer;
    -webkit-transition: .7s;
    transition: .7s;
  }
  .hamburger input {
    display: none;
  }
  .hamburger label {
    position: absolute;
    right: 0;
    height: 30px;
    width: auto;
  }
  .hamburger label:hover {
    cursor: pointer;
  }
  .hamburger_line1,
  .hamburger_line2,
  .hamburger_line3 {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #191919;
    -webkit-transition: .7s;
    transition: .7s;
  }
  .hamburger_line1 {
    
  }
  .hamburger_line2 {
    transform: translateY(12px);
  }
  .hamburger_line3 {
    transform: translateY(24px);
  }
  .hamburger .menu {
    padding-top: 20px;
    box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
    height: 100vh;
    width: 100%;
    transform: translate(150%);
    display: flex;
    flex-direction: column;
    margin-left: 16px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
    background: #ffffff;
    position: fixed;
    z-index: 100;
    top: 70px;
    overflow-y: scroll;
    padding-bottom: 70px;
  }

  .hamburger .menu a:not(.apply-btn),
  .hamburger .menu span {
    color: #000000;
    display: inline-block;
    height: 50px;
    padding: 0 10px;
    font-size: 14px;
  }

  .hamburger .menu li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
  }

  .hamburger .menu li ul {
    display: block;
  }

  .hamburger input:checked ~ .menu {
    transform: translateX(0);
  }
  .hamburger input:checked ~ label .hamburger_line1 {
    -webkit-transform: translate(0, 10px) rotate(-45deg);
            transform: translate(0, 10px) rotate(-45deg);
  }
  .hamburger input:checked ~ label .hamburger_line2 {
    opacity: 0;
  }
  .hamburger input:checked ~ label .hamburger_line3 {
    -webkit-transform: translate(0, 5px) rotate(45deg);
            transform: translate(0, 5px) rotate(45deg);
  }

  /* フッター */
  footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
  .footer__right {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 0;
    width: 100%;
    background-color: #323232;
  }
  .footer__right > ul:first-of-type {
    margin: 10px 10px 0;
    text-align: center;
    /*background-color: #191919;*/
    border-right: 0;
    border-bottom: 1px solid #969696;
    padding: 0;
  }
  .footer__right > ul:nth-of-type(2) {
    margin: 0 10px 0;
    text-align: center;
    border-right: 0;
    border-bottom: 1px solid #969696;  
  }
  .footer__right > ul:last-of-type {
    margin: 0 10px 10px;
    padding: 0;
    border: 0;
  }
  .footer__right > ul:last-of-type > li:first-of-type,
  .footer__right > ul:last-of-type > li:nth-of-type(2),
  .footer__right > ul:last-of-type > li:nth-of-type(3) {
    border-bottom: 1px solid #969696;  
  }
  .footer__right > ul:last-of-type > li:last-of-type {
    display: none;
  }
  .footer__right > ul > li {
    text-align: center;
  }
  .footer__right > ul > li > ul {
    padding: 0;
  }
  .footer__right > ul > li > ul:not(.collapse) {
    display: none;
  }
  .footer__right > ul > li > ul.collapsing {
    display: block;
  }
  .footer__right a {
    padding: 13px 0;
    font-size: 1.6em;
  }
  .footer__right a:hover {
    cursor: pointer;
  }
  .footer__left {
    margin: 0;
    width: 100%;
  }
  .footer__left--container {
    display: block;
    margin: 40px 0 25px;
    text-align: center;
  }
  .footer__left--container h2 {
    margin: 0 0 20px;
  }
  .footer__left--container a {
    display: inline-block;
    height: 37px;
  }
  .footer__left--container img {
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .footer__left address {
    margin: 0 0 40px;
    font-size: 1.3em;
  }
  .footer__left small {
    font-size: 1.1em;
  }

  /* 改行 */
  .pc-br {
    display: none;
  }

  .syanaiho-img {
    width: 90%;
    height: auto;
  }
  .syanaiho-img:hover {
    transform: unset;
    opacity: 1;
  }
}