@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

::-webkit-scrollbar{
  width: 10px;
}
::-webkit-scrollbar-track{
  background-color: #dddddd;
}
::-webkit-scrollbar-thumb{
  background-color: #bcb070;
  border-radius: 10px;
}

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

.scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.accent_red {
  color: #9d1e1a;
}

.title {
  font-weight: bold;
  font-size: 64px;
}

.sub_title {
  font-weight: bold;
  font-size: 36px;
}

.paragraph {
  font-weight: medium;
  font-size: 24px;
}

.sub_paragraph {
  font-weight: regular;
  font-size: 20px;
}

@keyframes curtain_anime {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    z-index: -11;
    opacity: 0;
    display: none;
  }
}

@keyframes body_property_for_curtain {
  0% {
    overflow: hidden;
  }
  70% {
    overflow: hidden;
  }
  100% {
    overflow: auto;
  }
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #2d2d2d;
  background: #ffffff;
  width: 100%;
  word-break: auto-phrase;
  overflow: hidden;
  animation: body_property_for_curtain 2s forwards;
  scroll-snap-type: y mandatory;
}

/* curtain */
.curtain {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 9999;
  background: #ffffff;
  background-image: url('./imgs/logo/logo_header.svg');
  background-size: 30vw auto;
  background-repeat: no-repeat;
  background-position: center;
  animation: curtain_anime 2s forwards;
}

/* background */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('./imgs/background/background.webp');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: right bottom;
  z-index: -1;
}

/* header */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  width: 100vw;
  background: rgb(255,255,255,0.9);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
}

header .container {
  height: 88px;
  width: 80%;
  max-width: 1000px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}


/* hero */
.hero {
  width: 100%;
  height: 98vh;
  display: block;
  background: url('./imgs/hero/hero1_desktop.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  top: 0;
  right: 0;
}

.hero .txt {
  position: absolute;
  letter-spacing: 10px;
  top: 140px;
  right: 108px;
  width: 146px;
  height: 565px;
  display: flex;
  flex-direction: row-reverse;
  align-items: top;
  justify-content: space-between;
}

.hero .txt p {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 40px;
  font-weight: bold;
  color: #dddddd;
}

.hero .txt p:nth-child(2) {
  padding-top: 38px;
}



/* intro */
.intro {
  margin: 120px 0;
  padding: 10px 0;
}

.intro .container {
  width: 90%;
  max-width: 704px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 40px;
}

/* policy */
.policy {
  margin: 120px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  word-break: normal;
}

.policy h1 {
  color: #bcb070;
}

.policy .smartphone_title {
  display: none;
}

.policy .container {
  width: 100%;
  background: #bcb070;
  overflow: hidden;
}

.policy .container ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 120px;
  width: 100%;
  max-width: 1072px;
  margin: 80px auto;
}

.policy .container ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  width: 90%;
  max-width: 1072px;
  scroll-snap-align: start;
}

.policy .container ul li:nth-child(2n) {
  flex-direction: row-reverse;
}

.policy .container ul li .txt {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 34px;
  width: 90%;
  min-width: 400px;
  max-width: 428px;
  height: 100%;
  color: #ffffff;
}

.policy .container ul li .txt p {
  width: 100%;
}

.policy  .container ul li .img {
  display: flex;
  align-items: start;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.policy  .container ul li .img img {
  width: 100%;
  max-width: 520px;
  border-radius: 50px;
  margin: 0 auto 0 auto;
  transition: 0.1s;
}


/* about */
.about {
  width: 90%;
  max-width: 888px;
  margin: 120px auto;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.about .container {
  display: flex;
  flex-direction: row;
  gap: 123px;
  align-items: end;
  justify-content: space-between;
  width: 100%;
}

.about .container > div {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: start;
  justify-content: space-between;
  width: 428px;
}

.about .container > div div {
  display: flex;
  flex-direction: row;
  gap: 104px;
  align-items: center;
  justify-content: start;
}

.about .container > div div p {
  white-space: nowrap;
}

.about .container > div img {
  width: 100%;
}

.about .container > img {
  width: 320px;
}

.about img {
  border-radius: 20px;
}

.about .smartphone_img {
  display: none;
}


/* relationship */
.relationship {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  justify-content: start;
  width: 90%;
  max-width: 1072px;
  margin: 120px auto;
  padding: 10px 0;
}

.relationship .container {
  width: 100%;
}

.relationship .container ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 20px 0;
}

.relationship .container li {
  width: 100%;
}

.relationship .container li a {
  display: flex;
  flex-direction: column;
  gap: 26px;
  background: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  color: #2d2d2d;
  transition: 0.2s;
}

.relationship .container li a:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.relationship .container li a img {
  width: 100%;
  border-radius: 10px;
}


/* note */
.note {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  background: #bcb070;
  margin: 120px auto;
  padding: 50px 0;
  margin-bottom: 0;
}

.note h1 {
  color: #ffffff;
}

.note .container {
  position: relative;
  width: 90%;
  max-width: 888px;
  display: flex;
  flex-direction: row;
  gap:  124px;
  align-items: start;
  justify-content: space-between;
}

.note .container a {
  max-width: fit-content;
  transition: 0.2s;
  width: 100%;
}

.note .container a:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.note .container a img {
  width: 40vw;
  border-radius: 10px;
}

.note .container p {
  color: #ffffff;
}

/* footer */
footer {
  margin: 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* レスポンシブ対応 */
@media screen and (min-width: 601px) and (max-width: 1025px) {
  .title {
    font-weight: bold;
    font-size: 32px;
  }
  
  .sub_title {
    font-weight: bold;
    font-size: 28px;
  }
  
  .paragraph {
    font-weight: medium;
    font-size: 20px;
  }

  .sub_paragraph {
    font-weight: regular;
    font-size: 16px;
  }

  /* hero */
  .hero {
    max-height: 700px;
  }

  /* about */
  .about {
    gap: 30px;
    margin: 50px auto;
  }

  .about .container {
    align-items: center;
    gap: 22px;
    max-width: 800px;
  }

  .about .container > div > div {
    width: 100%;
    max-width: 428px;
  }

  .about .container > div img {
    width: 100%;
    max-width: 361px;
    height: 60vw;
    max-height: 228px;
    object-fit: cover;
    object-position: top;
  }
}

@media screen and (max-width: 600px) {
	/* 600px以下に適用されるCSS（タブレット・スマホ用） */
  .title {
    font-weight: bold;
    font-size: 24px;
  }
  
  .sub_title {
    font-weight: bold;
    font-size: 24px;
  }
  
  .paragraph {
    font-weight: medium;
    font-size: 18px;
  }

  .sub_paragraph {
    font-weight: regular;
    font-size: 16px;
  }

  .background {
    background-size: 150%;
  }

  /* header */
  header .container {
    max-width: none;
  }

  /* hero */
  .hero {
    height: 90vh;
    min-height: 600px;
  }

  .hero .txt {
    font-size: 18px;
    top: 138px;
    right: 25px;
  }
  
  /* intro */
  .intro {
    margin: 50px auto;
  }

  .intro .container {
    max-width: 361px;
    gap: 30px;
  }

  /* policy */
  .policy {
    gap: 21px;
    margin: 50px auto;
  }

  .policy .pc_title {
    display: none;
  }

  .policy .smartphone_title {
    display: block;
  }

  .policy .container ul {
    gap: 70px;
    margin: 30px 0;
  }

  .policy .container ul li, .policy .container ul li:nth-child(2n) {
    flex-direction: column;
    max-width: 361px;
    gap: 20px;
  }

  .policy .container ul li .txt {
    gap: 20px;
    min-width: auto;
  }

  .policy .container ul li .img img {
    max-width: 520px;
  }

  /* about */
  .about {
    gap: 30px;
    margin: 50px auto;
  }

  .about .container {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .about .container > div {
    display: contents;
  }

  .about .container > div > div {
    width: 100%;
    max-width: 361px;
    gap: 10px;
  }

  .about .container > div img {
    width: 100%;
    max-width: 361px;
    height: 60vw;
    max-height: 228px;
    object-fit: cover;
    object-position: top;
  }

  .about .smartphone_img {
    display: block;
  }

  .about .pc_img {
    display: none;
  }

  /* relationship */
  .relationship {
    gap: 21px;
    margin: 50px auto;
  }

  .relationship .container ul {
    flex-direction: column;
  }

  .relationship .container ul li {
    max-width: 361px;
  }

  .relationship .container ul li a {
    text-decoration: underline;
    box-shadow: 0 0 6px #dfdfdf;
    border: solid #ffffff 10px;
  }

  .note {
    gap: 28px;
    margin-top: 50px;
  }

  .note .container {
    flex-direction: column;
    gap: 30px;
    max-width: 361px;
  }

  .note .container a img {
    width: 100%;
    box-shadow: 0 0 6px #2d2d2d;
  }

  footer {
    top: 6475px;
  }
}