@charset "UTF-8";

/* --------------------------------------------------
  ヘッダ
-------------------------------------------------- */

#header {
  width: calc(100% - 100px);
  height: 0;
  position: fixed;
  top: 0;
  z-index: 90;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: all .3s;
}
body.header-on #header {
  height: 80px;
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 768px) {
  #header {
    width: 100%;
    height: 80px;
    opacity: 1;
    visibility: visible;
  }
}

/* --------------------------------------------------
  ヘッダ（トップページ用）
-------------------------------------------------- */

#home-header {
  width: 100%;
  height: 80px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#home-header .logo {
  margin-left: 20px;
}
#home-header nav {
  width: 80%;
  display: flex;
  justify-content: end;
}
#home-header ul {
  list-style: none;
  display: flex;
}
#home-header .nav02 {
  align-items: center;
}
#home-header .nav02 li {
  font-size: 1.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
#home-header .nav02 li.contact {
  padding: 0 16px 0 0;
  font-size: 2.4rem;
}
#home-header .nav02 li a {
  height: 4rem;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#home-header .nav02 li.contact a {
  aspect-ratio: 1/1;
}
#home-header .nav02 li a:hover {
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  #home-header {
    display: none;
  }
}

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

#mv-wrapper {
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#mv-wrapper #mv {
  width: 100%;
  height: 555px;
  position: relative;
  overflow: hidden;
}
#mv-wrapper #mv .mv-slider {
  width: 72%;
  height: 500px;
  position: absolute;
  left: 0;
  bottom: 0;
}
#mv-wrapper #mv .mv-slider img {
  width: 100%;
  position: absolute;
  bottom: 0;
}
#mv-wrapper #mv .mv-slider-thumbnail {
  width: 34%;
  height: 305px;
  position: absolute;
  right: 0;
  top: 0;
}
#mv-wrapper #mv .mv-slider-thumbnail img {
  width: 100%;
}
#mv-wrapper #mv #welcome {
  width: 680px;
  height: 165px;
  background: rgba(255,255,255,.8);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
}
#mv-wrapper #mv #welcome strong {
  font-family: WindSong;
  font-size: 6.4rem;
  font-weight: 500;
}
#mv-wrapper #mv #welcome p {
  font-family: Cormorant;
  font-size: 2.4rem;
  font-weight: 600;
}
#mv-wrapper nav {
  margin: 0 auto;
  padding-top: 40px;
  width: 100%;
  max-width: 1240px;
}
#mv-wrapper nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
}
#mv-wrapper nav li {
  width: 16.12%;
  background: #fff;
  border-radius: 30px 10px 10px 10px;
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  transition: all .3s;
}
#mv-wrapper nav li.on {
  transform: translateY(-10px);
}
#mv-wrapper nav li a {
  padding: 20px;
  height: 100%;
  color: #111;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#mv-wrapper nav li a:hover {
  text-decoration: none;
}
#mv-wrapper nav li a span {
  width: 20px;
  height: 20px;
  background: #B32425;
  border-radius: 100vw;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 5px;
  bottom: 10px;
}

@media screen and (max-width: 768px) {
  #mv-wrapper #mv {
    height: auto;
  }
  #mv-wrapper #mv .mv-slider {
    width: 100%;
    height: auto;
    position: static;
  }
  #mv-wrapper #mv .mv-slider img {
    position: static;
  }
  #mv-wrapper #mv .mv-slider-thumbnail {
    display: none;
  }
  #mv-wrapper #mv #welcome {
    padding: 20px 0;
    width: 100%;
    height: auto;
    background: transparent;
    position: static;
  }
  #mv-wrapper #mv #welcome strong {
    margin-bottom: 10px;
    font-size: 3.2rem;
    display: block;
  }
  #mv-wrapper #mv #welcome p {
    font-size: 1.8rem;
  }
  #mv-wrapper nav {
    display: none;
  }
}

/* --------------------------------------------------
  Main
-------------------------------------------------- */

main {
  padding: 50px 0;
}
main h2 {
  padding-left: 40px;
  font-family: Cormorant;
  font-size: 4.8rem;
  font-weight: 600;
  position: relative;
}
main h2::before {
  content: '';
  width: 85px;
  height: 2px;
  background: #111;
  position: absolute;
  left: -55px;
  top: 3.6rem;
}

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

@media screen and (max-width: 768px) {
  main {
    padding: 0;
  }
  main h2 {
    font-size: 3.2rem;
  }
  main h2::before {
    top: 2.4rem;
  }
}

/* --------------------------------------------------
  Information
-------------------------------------------------- */

#information {
  margin: 0 auto;
  padding: 60px 20px;
  max-width: 1280px;
}
#information h2 {
  margin-bottom: 30px;
}
#information ul {
  margin: 0 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#information strong {
  margin-bottom: 5px;
  font-size: 2rem;
  display: block;
}

@media screen and (max-width: 768px) {
  #information {
    padding: 40px 15px;
  }
  #information h2 {
    margin-bottom: 20px;
  }
  #information strong {
    font-size: 1.8rem;
  }
}

/* --------------------------------------------------
  Nishitetsu Tours
-------------------------------------------------- */

#tours {
  margin: 0 auto;
  padding: 60px 20px;
  max-width: 1280px;
}
#tours h2 {
  margin-bottom: 30px;
}
#tours ul {
  margin-bottom: 40px;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
#tours li {
  width: 24%;
}
#tours li a {
  height: 100%;
  color: #111;
  border-radius: 10px;
  box-shadow: 3px 3px 3px rgba(0,0,0,.2);
  display: block;
  overflow: hidden;
}
#tours li .tour-img {
  overflow: hidden;
}
#tours li .tour-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 296/195;
}
#tours li .tour-txt {
  padding: 15px 20px;
}
#tours li .tour-txt strong {
  margin-bottom: 10px;
  font-size: 1.8rem;
  display: block;
}
#tours li .tour-txt p {
  margin-bottom: 10px;
}
#tours li .tour-txt span {
  font-size: 2rem;
  font-weight: 600;
  display: inline-block;
}
#tours .button {
  display: flex;
  justify-content: center;
}
#tours .button a {
  width: 250px;
  height: 50px;
  background: var(--secondary);
  border-radius: 10px;
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#tours .button a span {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 100vw;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 15px;
  transition: all .3s;
}
#tours .button a span i {
  color: var(--secondary);
}
#tours .button a:hover {
  text-decoration: none;
}
#tours .button a:hover span {
  transform: translateX(3px);
}
#tours li a:hover {
  text-decoration: none;
}
#tours li a:hover .tour-img img {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  #tours {
    padding: 40px 15px;
  }
  #tours h2 {
    margin-bottom: 20px;
  }
  #tours ul {
    flex-direction: column;
    gap: 20px;
  }
  #tours li {
    width: 100%;
  }
  #tours li .tour-txt {
    padding: 10px 15px;
  }
  #tours li .tour-txt strong {
    font-size: 1.6rem;
  }
  #tours li .tour-txt span {
    font-size: 1.8rem;
  }
}

/* --------------------------------------------------
  Gallery
-------------------------------------------------- */

#gallery {
  padding: 60px 0;
}
#gallery .swiper-wrapper {
  transition-timing-function: linear; 
}
#gallery img {
  margin-bottom: 5px;
}

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

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

/* --------------------------------------------------
  Discover Kyushu
-------------------------------------------------- */

#discover {
  margin: 0 auto;
  padding: 60px 20px;
  max-width: 1280px;
}
#discover h2 {
  margin-bottom: 20px;
}
#discover .navi {
  display:none;
}
#discover .d-flex {
  flex-direction: row-reverse;
  justify-content: space-between;
}
#discover .map {
  width: 50%;
}
#discover .map img {
  display: none;
}
#discover .map img.active {
  display: block;
}
#discover .txt {
  width: 48%;
}
#discover .txt p {
  margin-bottom: 40px;
}
#discover #detail {
  margin-top: -100px;
  padding-top: 100px;
}
#discover #detail section {
  display: none;
}
#discover #detail section.active {
  padding: 20px 25px;
  border: solid 1px var(--primary);
  display: block;
}
#discover #detail h3 {
  margin-bottom: 10px;
  font-family: Cormorant;
  font-size: 4rem;
  font-weight: 600;
}
#discover #detail ul {
  margin-bottom: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
#discover #detail img {
  width: 256px;
  height: 192px;
}
#discover #detail p {
  margin-bottom: 20px;
}
#discover #detail .button {
  display: flex;
  justify-content: space-between;
}
#discover #detail .button a {
  width: 250px;
  height: 50px;
  border-radius: 10px;
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#discover #detail .button a span {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 100vw;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 15px;
  transition: all .3s;
}
#discover #detail .button .bus {
  background: var(--secondary);
}
#discover #detail .button .bus span {
  color: var(--secondary);
}
#discover #detail .button .tailormade {
  background: var(--primary);
}
#discover #detail .button .tailormade span {
  color: var(--primary);
}
#discover #detail .button a:hover {
  text-decoration: none;
}
#discover #detail .button a:hover span {
  transform: translateX(3px);
}

@media screen and (max-width: 768px) {
  #discover {
    padding: 40px 15px;
  }
  #discover .navi {
    margin-bottom: 30px;
    display: block;
  }
  #discover .navi ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: calc(4% /3);
  }
  #discover .navi ul::after {
    content: '';
    width: 24%;
  }
  #discover .navi li {
    margin-bottom: calc(4% /3);
    width: 24%;
  }
  #discover .navi a {
    padding: 4px 0;
    border: solid 1px var(--secondary);
    border-radius: 5px;
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #discover .navi a.active, #discover .navi a:hover {
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
  }
  #discover .d-flex {
    flex-direction: column;
  }
  #discover .map {
    width: 100%;
  }
  #discover .txt {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
  }
  #discover .txt p {
    margin-bottom: 0;
  }
  #discover #detail {
    margin-top: -80px;
    padding-top: 80px;
  }
  #discover #detail section {
    padding: 10px 15px;
  }
  #discover #detail h3 {
    font-size: 2.8rem;
  }
  #discover #detail ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  #discover #detail li img {
    width: 100%;
  }
  #discover #detail .button {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }
}

/* --------------------------------------------------
  About Nishitetsu
-------------------------------------------------- */

#about {
  margin: 0 auto;
  padding: 60px 20px;
  max-width: 1280px;
}
#about h2 {
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
}
#about h2 img {
  width: 100px;
}
#about .inner {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 30px;
}
#about .about-img {
  width: 54%;
  flex-shrink: 0;
}
#about .about-txt {
  width: 44%;
}

@media screen and (max-width: 768px) {
  #about {
    padding: 40px 15px;
  }
  #about h2 img {
    width: 80px;
  }
  #about .inner {
    flex-direction: column;
  }
  #about .about-img {
    width: 100%;
  }
  #about .about-txt {
    width: 100%;
  }
}

/* --------------------------------------------------
  Archives
-------------------------------------------------- */

#archives {
  margin: 0 auto;
  padding: 60px 20px;
  max-width: 1280px;
}
#archives h2 {
  margin-bottom: 30px;
}
#archives ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
}
#archives li {
  width: 24%;
}
#archives li a {
  height: 100%;
  color: #111;
  display: block;
  overflow: hidden;
}
#archives li .archives-img {
  border-radius: 10px;
  overflow: hidden;
}
#archives li .archives-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 296/195;
}
#archives li .archives-txt {
  padding: 15px 0;
}
#archives li .archives-txt strong {
  margin-bottom: 10px;
  font-size: 1.8rem;
  display: block;
}
#archives li a:hover {
  text-decoration: none;
}
#archives li a:hover .archives-img img {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  #archives {
    padding: 40px 15px;
  }
  #archives h2 {
    margin-bottom: 20px;
  }
  #archives ul {
    flex-direction: column;
  }
  #archives li {
    width: 100%;
  }
  #archives li .archives-txt strong {
    font-size: 1.6rem;
  }
}
