@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/*============================
	base
============================*/
:root {
  --black: #000;
  --white: #fff;
  --blue: #007daa;
  --font-serif: "Noto Serif JP", serif;;
  --font-en: "Noto Serif JP", serif;
  --bg-2: url("../img/texture-2.jpg") repeat-y center / 100% auto;
}

html {
  font-size: calc(10 / 1440 * 100vw);
  color: var(--black);
  overflow-x: hidden;
}

@media (max-width: 767px) {
  html {
    font-size: calc(10 / 767 * 100vw);
  }
}

body {
  background: url(../img/bg-access.jpg) repeat top center /100% auto;
  font-family: var(--font-serif);
  font-size: max(12px, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.fade {
  opacity: 0;
}

.fadeUp {
  animation: fadeUp 0.6s ease both;
}

.header img,
section img,
.footer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  vertical-align: bottom;
}

a {
  transition: 0.3s ease-in-out;
}

@media (min-width: 768px) {
  a:hover {
    opacity: 0.6;
  }

  a[href^="tel:"] {
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  a[href^="tel:"] {
    text-decoration: underline;
  }
}

.sp {
  display: none;
}

@media (max-width: 767px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block;
  }
}

.map {
  width: 100%;
  height: 40rem;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  filter: grayscale(1);
}

.line {
  position: relative;
}

.line::before {
  content: "";
  background: url("../img/line.png") no-repeat center / cover;
  width: 100%;
  height: 16px;
  position: absolute;
  transform: translateX(-50%);
  top: -3px;
  left: 50%;
}

/*============================
	fixed_btn
============================*/
.fixed_btn {
  position: fixed;
  transform: translateY(-50%);
  top: 50%;
  right: 0;
  z-index: 1000;
}

@media (max-width: 767px) {
  .fixed_btn {
    width: 100%;
    height: max(65px, 8rem);
    padding: 2px 2px 0;
    transform: none;
    top: auto;
    bottom: 0;
    z-index: 10;
    display: flex;
  }
}

.fixed_btn-item {
  width: 6.2rem;
  height: 26rem;
  overflow: hidden;
}
.fixed_btn-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 767px) {
  .fixed_btn-item {
    width: 50%;
    height: 100%;
  }
}

.fixed_btn-item a {
  width: 100%;
  height: 100%;
  color: #007daa;
  display: flex;
  justify-content: center;
  align-items: center;
}


@media (max-width: 767px) {
  .fixed_btn-item a {
    writing-mode: horizontal-tb;
    text-decoration: none;
    border-top: 3px solid #007daa;
    border-bottom: 3px solid #007daa;
    font-size: 3rem;
    background: #FFF;
  }
  .fixed_btn-item:nth-of-type(1) a {
    border-right: 1px solid #007daa;
    border-left: 2px solid #007daa;
  }
  .fixed_btn-item:nth-of-type(2) a {
    border-left: 1px solid #007daa;
    border-right: 2px solid #007daa;
  }
}

.fixed_btn-item span {
  font-family: var(--font-en);
  font-size: max(25px, 4rem);
  color: var(--blue);
  letter-spacing: 0.05em;
  line-height: 0.7;
  opacity: 0.2;
  position: absolute;
  left: 0;
}

@media (max-width: 767px) {
  .fixed_btn-item span {
    bottom: 0;
  }
}

.fixed_btn-item p {
  font-size: max(14px, 2rem);
  letter-spacing: 0.05em;
}

/*============================
	header
============================*/
.header {
  width: 100%;
  color: var(--white);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header .header__logo {
  width: 29.8rem;
  margin: 1.8rem 0 0 0.5rem;
}

@media (max-width: 950px) {
  .header .header__logo {
    margin: 1rem 0 0;
  }
}

@media (max-width: 767px) {
  .header .header__logo {
    width: max(160px, 24rem);
    margin: 0 0 0 -1rem;
  }
}

.header__hamburger-sp {
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

@media (max-width: 767px) {
  .header__hamburger-sp {
    background-color: #007daa;
    width: 8rem;
    height: 8rem;
    min-width: 60px;
    min-height: 60px;
    visibility: visible;
  }

  .header__hamburger-sp::before,
  .header__hamburger-sp::after,
  .header__line-sp {
    content: "";
    background-color: var(--white);
    width: 5rem;
    min-width: 35px;
    height: 2px;
    border-radius: 5px;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    transition: 0.3s;
  }

  .header__hamburger-sp::before {
    top: 30%;
    transform-origin: bottom left;
  }

  .header__hamburger-sp::after {
    top: 70%;
    transform-origin: top left;
  }

  .header__hamburger-sp.js-transform::before,
  .header__hamburger-sp.js-transform::after {
    transform: scale(1.414);
    top: 50%;
  }

  .header__hamburger-sp.js-transform::before {
    transform: rotate(45deg) translateX(-50%);
  }

  .header__hamburger-sp.js-transform::after {
    transform: rotate(-45deg) translateX(-50%);
  }

  .js-transform .header__line-sp {
    transform: scale(0);
  }
}

.header__contents {
  display: flex;
  align-items: center;
  gap: 5rem 2.5rem;
  position: absolute;
  top: 3.5rem;
  right: 9.8rem;
}

@media (max-width: 950px) {
  .header__contents {
    right: 4rem;
  }
}

@media (max-width: 767px) {
  .header__contents {
    background-color: var(--black);
    width: 100%;
    height: 100%;
    min-height: max-content;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow-y: scroll;
    z-index: 100;
    transition: 0.3s ease-out;
  }

  .header__contents.js-show {
    opacity: 1;
    visibility: visible;
  }
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4rem 5.1rem;
}

@media (max-width: 950px) {
  .header__nav-list {
    gap: 4rem;
  }
}
.header__nav-list .header__nav-item:last-child {
  width: 2rem;
}
@media (max-width: 767px) {
  .header__nav-list {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .header__nav-list .header__nav-item:last-child {
    width: 3rem;
  }
}

@media (min-width: 768px) {
  .header__nav-item {
    position: relative;
  }
  .header__nav-list .header__nav-item:nth-child(-n+6):after {
    content: "";
    width: 0.5px;
    height: 1.7rem;
    background: #FFF;
    position: absolute;
    top: -0.1rem;
    right: -2.4rem;
  }

}

.header__nav-item a {
  font-size: max(10px, 1.4rem);
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header__nav-item a span {
  font-family: var(--font-en);
  font-size: max(12px, 1.6rem);
  line-height: 1;
}

.header__tel {
  font-size: max(14px, 2.4rem);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.header__tel::before {
  content: "";
  display: block;
  background: url("../img/tel_icon.png") no-repeat center / contain;
  width: max(12px, 2.2rem);
  height: max(12px, 2.2rem);
}

/*============================
	footer
============================*/
.footer {
  background: url(../img/bg-footer.jpg) no-repeat center / cover;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem 0 2.5rem;
  position: relative;
}

@media (max-width: 767px) {
  .footer {
    padding: 10rem 0 max(75px, 10rem);
  }
}

.pagetop {
  background-color: #007daa;
  width: max(35px, 5.7rem);
  height: max(35px, 5.7rem);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 100;
}

@media (max-width: 767px) {
  .pagetop {
    bottom: max(70px, 8.5rem);
  }
}

.pagetop.js-top {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .pagetop.js-top:hover {
    opacity: 0.6;
  }
}

.pagetop::before {
  content: "";
  display: inline-block;
  width: max(8px, 1.2rem);
  height: max(8px, 1.2rem);
  border: 3px solid #FFF;
  border-left: 0;
  border-bottom: 0;
  border-radius: 1.5px;
  position: absolute;
  transform: translate(-55%, -45%) rotate(-45deg);
  top: 50%;
  left: 50%;
}

.footer__nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: max(15px, 3rem) 5rem;
}
.footer__nav-item {
    position: relative;
}
.footer__nav-list .footer__nav-item:nth-child(-n+6):after {
  content: "";
  width: 0.5px;
  height: 1.7rem;
  background: #FFF;
  position: absolute;
  top: 0.1rem;
  right: -2.4rem;
}
.footer__nav-list .footer__nav-item:last-child {
    width: 1.7rem;
}

@media (max-width: 767px) {
  .footer__nav-list {
    flex-direction: column;
    align-items: center;
  }
  .footer__nav-list .footer__nav-item:nth-child(-n+6):after {
    display: none;
  }
  .footer__nav-list .footer__nav-item:last-child {
    width: 3rem;
  }
}

.footer__nav-item a {
  font-size: max(10px, 1.4rem);
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__nav-item a span {
  font-family: var(--font-en);
  font-size: max(12px, 1.8rem);
  line-height: 1;
}

.footer__logo {
  display: block;
  width: max(200px, 29.8rem);
  height: auto;
  margin: 7.5rem 0 3.5rem;
}

.footer p {
  letter-spacing: 0.1em;
}

.footer__tel {
  font-size: max(18px, 3rem);
  color: var(--blue);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.footer__tel::before {
  content: "";
  display: block;
  background: url("../img/tel_icon-ft.png") no-repeat center / contain;
  width: max(15px, 2.2rem);
  height: max(15px, 2.2rem);
}

.footer__sns li {
  width: max(24px, 3.3rem);
  height: max(24px, 3.3rem);
  margin-top: 2rem;
}

.copy {
  font-size: max(12px, 1.3rem);
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 3.5rem;
}
