@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");

/*==================================================
  reset
==================================================*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

/*==================================================
  root
==================================================*/

:root {
  /* color */
  --color-primary: #c50000;
  --color-secondary: #000;
  --color-tertiary: #b89600;

  --color-black: #222;
  --color-white: #fff;
  --color-gray: #777;
  --color-border: #ddd;
  --color-bg: #fbf7f4;

  /* font */
  --font-serif: "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;

  /* content */
  --content-width: 1200px;
  --content-padding: 32px;

  /* spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 80px;
  --space-xxl: 120px;

  /* radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* transition */
  --transition: 0.3s ease;
}

/*==================================================
  html
==================================================*/

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 80px;
  }
}

/*==================================================
  body
==================================================*/

body {
  line-height: 1.8;
  font-family: var(--font-serif);
  color: var(--color-black);
  background-image: url(../images/bg-loop.webp);
  background-color: var(--color-white);
  background-position: center top;
}

/*==================================================
  br
==================================================*/
.br-pc {
  display: block;
}

.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: block;
  }
}

/*==================================================
  header
==================================================*/

header.header {
  width: 100%;
  height: 100px;
  padding: var(--content-padding);
  display: flex;
  align-items: center;
  background-color: var(--color-secondary);
  border-top: 4px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/*----------------------------------------
  logo
----------------------------------------*/

.header .logo {
  width: 130px;
  height: auto;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .header .logo {
    width: 110px;
    height: auto;
  }
}

.header .logo img {
  width: 100%;
  height: auto;
}

/*----------------------------------------
  PC nav
----------------------------------------*/

.pc-menu {
  align-items: center;
  margin-left: auto;
}

.pc-menu ul {
  display: flex;
  gap: 32px;
}

.pc-menu a {
  color: var(--color-white);
  text-decoration: none;
  line-height: 60px;
  position: relative;
  padding-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}

/*----------------------------------------
  PC nav underline
----------------------------------------*/

.pc-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.pc-menu a:hover::after {
  transform: scaleX(1);
}

/*----------------------------------------
  hamburger menu
----------------------------------------*/

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}

.menu-button span {
  display: block;
  width: 28px;
  height: 1px;
  margin: 6px auto;
  background-color: var(--color-white);
}

/*----------------------------------------
  SP menu
----------------------------------------*/

.sp-menu {
  display: none;
}

/*----------------------------------------
  responsive
----------------------------------------*/

@media (max-width: 767px) {
  /*----------------------------------------
    header
  ----------------------------------------*/

  header.header {
    height: 80px;
  }

  /*----------------------------------------
    PC menu
  ----------------------------------------*/

  .pc-menu {
    display: none;
  }

  /*----------------------------------------
    hamburger
  ----------------------------------------*/

  .menu-button {
    display: block;
  }

  .menu-button span {
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  /*----------------------------------------
    SP menu
  ----------------------------------------*/

  .sp-menu {
    display: block;
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    height: calc(100dvh - 80px);
    padding: 40px var(--content-padding);
    background-color: var(--color-secondary);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    transform: translateX(100%);
    transition: transform 0.3s ease;

    z-index: 1001;
  }

  .sp-menu ul {
    margin: 0;
    padding: 0;
  }

  .sp-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .sp-menu a {
    display: block;
    padding: 18px 0;
    color: var(--color-white);
    text-decoration: none;
    font-size: 15px;
  }

  /*----------------------------------------
    menu open
  ----------------------------------------*/

  .header.is-open .sp-menu {
    transform: translateX(0);
  }

  /*----------------------------------------
    hamburger → ×
  ----------------------------------------*/

  .header.is-open .menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header.is-open .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .header.is-open .menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /*----------------------------------------
    menu open
  ----------------------------------------*/

  body.menu-open {
    overflow: hidden;
  }
}

/* ========================================
  contact link
======================================== */
.contact-link {
  display: block;
  width: 100%;
  background: #202020;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-link__inner {
  width: min(100% - 40px, 1200px);
  min-height: 160px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-link__title {
  padding: 30px 40px;
}

.contact-link__title span {
  display: block;
  margin-bottom: 4px;
  color: var(--color-tertiary);
  font-family: serif;
  font-size: 13px;
}

.contact-link__title h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.contact-link__text {
  margin: 0;
  padding: 30px 50px;

  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.contact-link__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
}

.contact-link__arrow span {
  display: block;
  width: 22px;
  height: 22px;

  border-top: 1px solid #fff;
  border-right: 1px solid #fff;

  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.contact-link:hover .contact-link__arrow span {
  transform: translateX(6px) rotate(45deg);
}

@media (max-width: 767px) {
  .contact-link__inner {
    width: 100%;
    min-height: 0;
    padding: 30px 20px;

    display: grid;
    grid-template-columns: 1fr 40px;
    column-gap: 20px;
    align-items: center;
  }

  .contact-link__title {
    padding: 0;
  }

  .contact-link__title span {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .contact-link__title h2 {
    font-size: 22px;
    letter-spacing: 0.08em;
  }

  .contact-link__text {
    grid-column: 1;
    margin: 12px 0 0;
    padding: 0;

    font-size: 11px;
    line-height: 1.9;
    letter-spacing: 0.06em;
  }

  .contact-link__arrow {
    grid-column: 2;
    grid-row: 1 / 3;

    margin-left: 0;
  }

  .contact-link__arrow span {
    width: 18px;
    height: 18px;
  }
}

/*==================================================
  footer
==================================================*/

.footer {
  background-color: #000;
  color: var(--color-white);
  padding: 56px var(--content-padding) 30px;
}

.footer-inner {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(180px, 0.8fr)
    minmax(150px, 0.7fr);
}

/*----------------------------------------
  company
----------------------------------------*/

.footer-company {
  padding-right: clamp(20px, 4vw, 60px);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-title {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.3vw, 18px);
}

.footer-title span {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: 0.15em;
}

.footer-title small {
  font-family: serif;
  font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 0.05em;
}

.footer-catch {
  margin: 12px 0 26px;
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.08em;
}

.footer-company address {
  font-style: normal;
  font-family: var(--font-serif);
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 2;
  letter-spacing: 0.04em;
}

/*----------------------------------------
  contact
----------------------------------------*/

.footer-contact {
  display: flex;
  align-items: center;
  margin-top: 38px;
}

.footer-tel {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: clamp(8px, 1vw, 12px);
  color: var(--color-white);
  text-decoration: none;
  font-family: serif;
  font-size: clamp(16px, 2.4vw, 26px);
  letter-spacing: 0.03em;
}

.tel-icon {
  width: clamp(18px, 2vw, 24px);
  height: clamp(18px, 2vw, 24px);
  flex-shrink: 0;
}

.tel-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-sns {
  margin-top: 16px;
  display: flex;
  gap: 16px;
}

.footer-social {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-social img {
  display: block;
  width: 100%;
  height: auto;
}

/*----------------------------------------
  navigation
----------------------------------------*/

.footer-nav {
  padding: 10px clamp(15px, 3vw, 40px);
}

.footer-nav li {
  margin-bottom: 14px;
}

.footer-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.04em;
}

.footer-nav a span {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 200;
  line-height: 1;
  flex-shrink: 0;
}

/*----------------------------------------
  logo
----------------------------------------*/

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-logo img {
  width: clamp(120px, 13vw, 180px);
  height: auto;
}

/*----------------------------------------
  copyright
----------------------------------------*/

.footer-bottom {
  width: 100%;
  max-width: 1250px;
  margin: 30px auto 0;
}

.footer-bottom small {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0;
}

/*----------------------------------------
  footer SP
----------------------------------------*/

@media (max-width: 767px) {
  .footer {
    padding: 50px var(--content-padding) 25px;
  }

  .footer-inner {
    display: block;
  }

  /* company */

  .footer-company {
    padding-right: 0;
    border-right: none;
  }

  .footer-title {
    justify-content: center;
  }

  .footer-title span {
    font-size: 24px;
  }

  .footer-title small {
    font-size: 13px;
  }

  .footer-catch {
    text-align: center;
    font-size: 14px;
    margin: 12px 0 25px;
  }

  .footer-company address {
    text-align: center;
    font-size: 12px;
    line-height: 2;
  }

  /* contact */

  .footer-contact {
    justify-content: center;
    margin-top: 30px;
  }

  .footer-tel {
    font-size: 20px;
  }

  .footer-sns {
    margin-top: 16px;
    justify-content: center;
    gap: 16px;
  }

  /* navigation */

  .footer-nav {
    display: none;
  }

  /* logo */

  .footer-logo {
    justify-content: center;
    margin-top: 45px;
  }

  .footer-logo img {
    width: 180px;
  }

  /* copyright */

  .footer-bottom {
    margin-top: 40px;
    text-align: center;
  }

  .footer-bottom small {
    font-size: 9px;
  }
}

/*==================================================
  各ページタイトル
==================================================*/

.page-title {
  height: clamp(20px, 18vw, 240px);
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  padding: 20px clamp(20px, 8vw, 80px);
  background: url(../images/uroko.svg), linear-gradient(to bottom, rgba(245, 244, 239, 1) 0%, rgba(245, 244, 239, 0) 100%);
  background-repeat: no-repeat;
  background-position:
    top right 5vw,
    center top;
  background-size:
    auto clamp(80px, 18vw, 240px),
    auto;
}

.page-title__en {
  font-family: var(--font-serif);
  color: var(--color-tertiary);
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.page-title h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
}

/*==================================================
fade
==================================================*/

.js-fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.js-fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}
