@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");
/*==================================================
  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;
}
/*==================================================
  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;
}

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

.header .top-logo {
  position: absolute;
  top: 0;
  left: 60px;
  z-index: 9999;
  width: 140px;
  height: auto;
  background-color: var(--color-white);
  padding: 15px 15px;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  /* SPサイズ */
  .header .top-logo {
    position: absolute;
    top: 0;
    left: 20px;
    z-index: 9999;
    width: 90px;
    height: auto;
    background-color: var(--color-white);
    padding: 10px 10px;
  }
}

.header .top-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;
  }
}

/*==================================================
  hero
==================================================*/

.hero {
  position: relative;
  width: 100%;
  height: calc(100dvh - 100px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .hero {
    height: calc(100dvh - 80px);
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  transform: translateX(-20vw);
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(42px, 5vw, 72px);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  line-height: 1.4;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .hero-content {
    transform: translateX(-10vw);
  }
}

/*==================================================
  sub-catch
==================================================*/

.sub-catch {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../images/bg-loop-bk.webp);
  background-position: center center;
  background-size: cover;
  padding: 90px 20px;
}

.sub-catch p {
  color: var(--color-white);
  font-family: var(--font-serif);
  text-align: center;
  font-size: clamp(15px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 2;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .sub-catch {
    padding: 30px 20px;
  }
}

/*==================================================
  NEWS
==================================================*/

.news {
  position: relative;
  width: min(90%, 950px);
  margin: 80px auto;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
  padding: 50px 70px;
  border-radius: 10px;
}

.news__heading {
  margin-bottom: 10px;
}

.news__title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.2em;
}

/*----------------------------------------
  NEWS list
----------------------------------------*/

.news__list {
  border-top: 1px solid var(--color-tertiary);
}

/*----------------------------------------
  NEWS item
----------------------------------------*/

.news-item {
  border-bottom: 1px solid #ddd;
}

/*----------------------------------------
  linkあり・linkなし
  共通レイアウト
----------------------------------------*/

.news-item__link,
.news-item__content {
  display: grid;
  grid-template-columns: 120px 1fr 30px;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 74px;
}

/*----------------------------------------
  linkあり
----------------------------------------*/

.news-item__link {
  color: var(--color-black);
  text-decoration: none;
  transition: opacity 0.3s;
}

.news-item__link:hover {
  opacity: 0.5;
}

/*----------------------------------------
  date
----------------------------------------*/

.news-item time {
  font-size: 13px;
  color: var(--color-tertiary);
}

/*----------------------------------------
  title
----------------------------------------*/

.news-item__title {
  font-size: 16px;
}

/*----------------------------------------
  arrow
----------------------------------------*/

.news-item__arrow {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.news-item__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}

.news-item__link:hover .news-item__arrow svg {
  transform: translate(3px, -3px);
}

/*----------------------------------------
  NEWS SP
----------------------------------------*/

@media (max-width: 600px) {
  .news {
    margin: 20px auto;
    padding: 20px;
  }

  .news__title {
    font-size: 22px;
  }

  .news-item__link,
  .news-item__content {
    grid-template-columns: 64px 1fr 20px;
    gap: 10px;
    min-height: 64px;
  }

  .news-item time {
    font-size: 11px;
  }

  .news-item__title {
    font-size: 14px;
    line-height: 1.4;
  }

  .news-item__arrow svg {
    width: 16px;
    height: 16px;
  }
}

/*==================================================
  top section odd
==================================================*/

.odd {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background-image: url(../images/wave-white.svg), url(../images/paper-black.webp);
  background-position:
    left -100px bottom,
    center top;
  background-size:
    clamp(400px, 45vw, 800px) auto,
    cover;
  background-repeat: no-repeat, repeat;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .odd {
    padding: 70px 0;
  }
}

.odd-block__inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  position: relative;
  display: flex;
  justify-content: space-between;
}

/* コンテンツ */
.odd-block__content {
  width: 50vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .odd-block__inner {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .odd-block__content {
    width: 100%;
    position: relative;
    display: contents;
    align-items: center;
    justify-content: center;
  }
}

/* テキスト */
.odd-block__text {
  display: flex;
  flex-direction: row-reverse;
  align-items: start;
  justify-content: center;
  gap: 2vw;
}

.odd-block__box {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.odd-block__num {
  text-align: right;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(18px, 6vw, 64px);
  line-height: 0.8;
  padding-bottom: clamp(18px, 3.2vw, 32px);
}

.odd-block__title {
  display: flex;
  flex-direction: row-reverse;
  align-items: start;
}

.odd-block__label {
  position: relative;
  padding-left: 5px;
  color: var(--color-tertiary);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(11px, 1.4vw, 16px);
  line-height: 1;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
}

.odd-block__label img {
  width: auto;
  height: 40px;
  margin-top: 8px;
  padding-right: 5px;
}
@media (max-width: 768px) {
  /* SPサイズ */
  .odd-block__label img {
    width: auto;
    height: 30px;
    padding-right: 3px;
  }
}

/* タイトル */
.odd-block__text h2 {
  position: relative;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.4;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

/* 説明 */
.odd-block__text p {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: clamp(12px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 2.2;
  writing-mode: vertical-rl;
  letter-spacing: 0.36em;
  padding-top: clamp(32px, 8.5vw, 90px);
}

/* VIEW MORE */

.odd-block__btn {
  padding-top: 4vw;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .odd-block__btn {
    order: 1;
  }
}

.odd-block__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 220px;
  height: 56px;

  border: 1px solid rgba(255, 255, 255, 0.7);

  color: var(--color-white);
  text-decoration: none;

  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 1);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.odd-block__button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.odd-block__arrow {
  width: 18px;
  height: auto;
  transition: var(--transition);
}

.odd-block__arrow img {
  width: 100%;
  height: auto;
}

.odd-block__button:hover .odd-block__arrow {
  position: relative;
  transform: translateX(4px);
}

/* 画像 */
.odd-block__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.odd-block__image img {
  display: block;
  width: clamp(400px, 50vw, 720px);
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .odd-block__image {
    margin-top: 3vw;
    padding: 20px;
  }

  .odd-block__image img {
    width: 100%;
  }
}

/*==================================================
  top section even
==================================================*/

.even {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background-image: url(../images/wave-black.svg), url(../images/paper-white.webp);
  background-position:
    left 30vw center,
    center top;
  background-size:
    clamp(300px, 45vw, 600px) auto,
    cover;
  background-repeat: no-repeat, repeat;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .even {
    padding: 70px 0;
  }
}

.even-block__inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

/* コンテンツ */
.even-block__content {
  width: 50vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .even-block__inner {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .even-block__content {
    width: 100%;
    position: relative;
    display: contents;
    align-items: center;
    justify-content: center;
  }
}

/* テキスト */
.even-block__text {
  display: flex;
  flex-direction: row-reverse;
  align-items: start;
  justify-content: center;
  gap: 2vw;
}

.odd-block__box {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.even-block__num {
  text-align: right;
  color: var(--color-secondary);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(18px, 6vw, 64px);
  line-height: 0.8;
  padding-bottom: clamp(18px, 3.2vw, 32px);
}

.even-block__title {
  display: flex;
  flex-direction: row-reverse;
  align-items: start;
}

.even-block__label {
  position: relative;
  padding-left: 5px;
  color: var(--color-tertiary);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(11px, 1.4vw, 16px);
  line-height: 1;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
}

.even-block__label img {
  width: auto;
  height: 40px;
  margin-top: 8px;
  padding-right: 5px;
}
@media (max-width: 768px) {
  /* SPサイズ */
  .even-block__label img {
    width: auto;
    height: 30px;
    padding-right: 3px;
  }
}

/* タイトル */
.even-block__text h2 {
  position: relative;
  color: var(--color-secondary);
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.4;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

/* 説明 */
.even-block__text p {
  margin: 0;
  color: var(--color-secondary);
  font-family: var(--font-serif);
  font-size: clamp(12px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 2.2;
  writing-mode: vertical-rl;
  letter-spacing: 0.36em;
  padding-top: clamp(32px, 8.5vw, 90px);
}

/* VIEW MORE */

.even-block__btn {
  padding-top: 4vw;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .even-block__btn {
    order: 1;
  }
}

.even-block__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 220px;
  height: 56px;

  border: 1px solid rgba(255, 255, 255, 0.7);

  color: var(--color-white);
  text-decoration: none;

  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 1);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.even-block__button:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--color-white);
}

.even-block__arrow {
  width: 18px;
  height: auto;
  transition: var(--transition);
}

.even-block__arrow img {
  width: 100%;
  height: auto;
}

.even-block__button:hover .even-block__arrow {
  position: relative;
  transform: translateX(4px);
}

/* 画像 */
.even-block__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.even-block__image img {
  display: block;
  width: clamp(400px, 50vw, 720px);
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .even-block__image {
    margin-top: 3vw;
    padding: 20px;
  }

  .even-block__image img {
    width: 100%;
  }
}
