@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap");

/*============================
	base
============================*/
:root {
  --black: #000;
  --white: #fff;
  --brown: #b5911c;
  --font-serif: "Noto Serif JP", serif;
  --bg-1: url("../img/texture-1.jpg") no-repeat center / cover;
  --bg-2: url("../img/texture-2.jpg") no-repeat center / cover;
}

html {
  font-size: calc(10 / 1440 * 100vw);
  color: var(--white);
  overflow-x: hidden;
}

@media (max-width: 767px) {
  html {
    font-size: calc(10 / 767 * 100vw);
  }
}

body {
  background-color: var(--black);
  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%;
}

.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;
  top: 14rem;
  right: 0;
  background: linear-gradient(
    to bottom,
    #a56c23 0%,
    #f7c764 100%
  );
  z-index: 100;
}

.fixed-btn__tel {
  padding: 2rem 1rem 3rem;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}

.fixed-btn__tel-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: max(12px, 1.6rem);
  letter-spacing: 0.2em;
  color: white;
  white-space: nowrap;
  font-weight: 500;
}

.fixed-btn__tel-number {
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-orientation: mixed;
  font-size: max(18px, 2.4rem);
  font-weight: bold;
  letter-spacing: 0.2em;
  color: white;
  white-space: nowrap;
}

.fixed-btn__tel-number img {
  width: 2.6rem;
  height: 2.6rem;
}

@media screen and (max-width: 767px) {
  .fixed-btn {
    top: auto;
    bottom: 0;
    right: 0;
    width: 100%;
    height: auto;
  }

  .fixed-btn__tel {
    flex-direction: column;
    align-items: center;
  }

  .fixed-btn__tel-text {
    writing-mode: horizontal-tb;
  }

  .fixed-btn__tel-number {
    writing-mode: horizontal-tb;
  }

  .fixed-btn__tel-number img {
    width: 3.2rem;
    height: 3.2rem;
  }
}

/*============================
	header
============================*/
.header {
  width: 100%;
  color: var(--white);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header .header__logo {
  width: 19.1rem;
  margin: 1.5rem 0 0 1rem;
}

@media (max-width: 767px) {
  .header .header__logo {
    width: max(120px, 20rem);
  }
}

.header__hamburger-sp {
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

@media (max-width: 767px) {
  .header__hamburger-sp {
    background-color: var(--brown);
    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: 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 0;
}

@media (max-width: 767px) {
  .header__nav-list {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .header__nav-item {
    position: relative;
  }

  .header__nav-item::before {
    content: "";
    background: var(--brown);
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    transform: translate(-50%, -100%);
    top: -1rem;
    left: 50%;
    transition: 0.3s ease-in-out;
  }

  .header__nav-item:hover::before {
    opacity: 0.5;
  }
}

.header__nav-item a {
  padding-inline: 2.4rem;
  font-size: max(10px, 1.4rem);
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.header__nav-item:not(:first-child):not(:last-child) a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--white);
}

@media screen and (max-width: 767px) {
  .header__nav-item:not(:first-child):not(:last-child) a::before {
    display: none;
  }
}

.header__nav-item a span {
  font-size: max(12px, 1.8rem);
  line-height: 1;
}

.header__nav-item a img {
  width: 2rem;
  height: auto;
}

@media screen and (max-width: 767px) {
  .header__nav-item a img {
    width: max(20px, 3rem);
  }
}

.header__tel {
  font-size: max(14px, 2.4rem);
  letter-spacing: 0.1em;
  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-color: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4.5rem 0 2rem;
  position: relative;
}

@media (max-width: 767px) {
  .footer {
    padding: 10rem 0 max(75px, 10rem);
  }
}

.pagetop {
  background-color: var(--brown);
  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 var(--black);
  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;
  gap: max(15px, 3rem) 0;
}

@media (max-width: 767px) {
  .footer__nav-list {
    flex-direction: column;
    align-items: center;
  }
}

.footer__nav-item a {
  padding-inline: max(15px, 2.4rem);
  font-size: max(10px, 1.4rem);
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.footer__nav-item:not(:first-child):not(:last-child) a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--white);
}

@media screen and (max-width: 767px) {
  .footer__nav-item:not(:first-child):not(:last-child) a::before {
    display: none;
  }
}

.footer__nav-item a img {
  width: 2rem;
  height: auto;
}

@media screen and (max-width: 767px) {
  .footer__nav-item a img {
    width: max(20px, 3rem);
  }
}

.footer__logo {
  display: block;
  width: max(150px, 22.2rem);
  height: auto;
  margin: 5rem 0 1.5rem;
  transform: translateX(-1rem);
}

@media screen and (max-width: 767px) {
  .footer__logo {
    width: max(120px, 20rem);
  }
}

.copy {
  font-size: max(12px, 1.3rem);
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 3.5rem;
}
