@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500&family=Noto+Sans+Mono:wght@500&display=swap");
:root {
  --white: #f0f0f0;
  --black: #0f0f0f;
  --blue: #0033ff;
  --link-color: #f0f0f0;
  --link-color-contact: rgb(256, 240, 0);
  --bg-color-home: rgba(0,0,0,1);
  --bg-color-white: rgba(240, 240, 240, 0.8);
  --nav-button-size: 28px;
  --font-xxs : .6rem;
  --font-xs : .75rem;
  --font-sm : .875rem;
  --font-md : 1rem;
  --font-lg : 1.25rem;
  --font-xl : 1.5rem;
  --font-xxl : 1.75rem;
  --font-xxxl : 2rem;
  --font-superlg : 3.2rem;
}

.mt-15px {margin-top: 15px;}

.padding-sm {padding: 8px;}
.padding-md {padding: 16px;}
.padding-lg {padding: 24px;}

.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.shippori-mincho-medium {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
}

.shippori-mincho-semibold {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
}

.shippori-mincho-bold {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
}

.shippori-mincho-extrabold {
  font-family: "Shippori Mincho", serif;
  font-weight: 800;
  font-style: normal;
}

.font-xxs {font-size: var(--font-xxs);}
.font-xs {font-size: var(--font-xs);}
.font-sm {font-size: var(--font-sm);}
.font-md {font-size: var(--font-md);}
.font-lg {font-size: var(--font-lg);}
.font-xl {font-size: var(--font-xl);}
.font-xxl {font-size: var(--font-xxl);}
.font-xxxl {font-size: var(--font-xxxl);}
.font-superlg {font-size: var(--font-superlg);}

.lh-xs {line-height: 1.0rem;}
.lh-sm {line-height: 1.4rem;}
.lh-md {line-height: 1.6rem;}
.lh-lg {line-height: 2.4rem;}
.lh-xl {line-height: 3.2rem;}

.ls-xs {letter-spacing: -2px;}
.ls-sm {letter-spacing: -1px;}
.ls-md {letter-spacing: .1em;}
.ls-lg {letter-spacing: .2em;}

.letter-vertical {writing-mode: vertical-rl;}

.dropshadow {filter: drop-shadow(2px 4px 6px black);}

.flex {display: flex;}
.column {flex-direction: column;}
.justify--start {justify-content: start;}
.justify--center  {justify-content: center;}
.align--center {align-items: center;}

.flex-item {
  position: relative;
  height: 100%;
}

html {scroll-behavior: smooth;}

body {
  margin: 0;
  padding: 0;
  background-color: var(--black);
  color: var(--white);
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
}

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

a {
  cursor: pointer;
  color: var(--link-color);
  text-decoration: none;
}

h1,
h2 {
  margin: 0; }

#header {
  position: fixed;
  right: 16px;
  display: grid;
  place-items: center start;
  z-index: 9999;
  height: 100vh;
}
#header a {
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }
#header #nav-list {
  background-color: var(--bg-color-white);
  border-radius: var(--nav-button-size);
  padding: 10px 0; }
#header .nav-counter {
  counter-increment: number;
  height: var(--nav-button-size); }
#header .nav-button {
  position: relative;
  padding: 10px;
  height: var(--nav-button-size);
  width: var(--nav-button-size); }
#header .nav-button .nav-button-btn {
  opacity: .5;
  position: absolute;
  z-index: 10;
  height: 8px;
  width: 8px;
  border-radius: 16px;
  border: 3px double var(--blue);
  background-color: var(--blue);
  transition: all 0.3s ease;}
#header .nav-button:hover .nav-button-btn {
  opacity: 1;}
#header .nav-button .nav-button-bg {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  right: 32px;
  z-index: 1;
  margin-right: 4px;
  padding: 16px 4px;
  text-wrap: nowrap;
  background-color: var(--bg-color-white);
  border-radius: var(--nav-button-size);
  color: var(--blue);
  font-weight: 600;
  writing-mode: vertical-rl;
  transition: all 0.35s ease; }
  /*#header .nav-button .nav-button-bg::before {
    content: "0" counter(number);
    position: absolute;
    top: 0px;
    margin-right: 0px;
    color: var(--blue);
    font-size: .5rem;
  */}
#header .nav-button:hover .nav-button-btn {
  opacity: 1;
  background-color: var(--blue);
  transform: scale(1.25);
}
#header .nav-button:hover .nav-button-bg {
  opacity: 1;
  visibility: visible;
  top: -10px;
}
#header .nav-button.active .nav-button-btn {
  opacity: 1;
  border: 3px double var(--white);
  background-color: var(--blue);
  transform: scale(2.5);
}

footer {
  margin: 8rem auto 0;
  padding: 16rem 8vw 2rem;
  background: transparent no-repeat url("../images/img_footer_bg.png") center top;
  background-size: cover;
}

.flex-item h2+p,
.flex-item p+p {
  margin-top: 1rem;
}

.btn_container {
  position: fixed;
  right: 16px;
  bottom: 32px;
  z-index: 999;
  border: solid 16px var(--blue);
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transition: all 0.6s;
}

a:hover .btn_container {
  background-color: rgba(255, 255, 255, 1);
}
.btn_block {
  width: 72px;
  height: 72px;
}
.btn_block:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  content: "詳細";
  color: var(--white);
  font-weight: bold;
  font-size: var(--font-xs);
  border-radius: 50%;
  background: var(--blue);
  height: 32px;
  width: 32px;
  text-align: center;
  line-height: 30px;
}
.circleText {
  overflow: visible;
  animation: rotation 16s linear infinite;
}

.circleText__text {
  fill: var(--white);
  letter-spacing: 0.05em;
}
.circleText__circle {
  fill: none;
  stroke: var(--blue);
  stroke-width: 8px;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/*
html, body, section.horizontal {
  overflow-x: hidden;
}
 */
@keyframes scroll-anim {
  100% {
    background-position: -100vw center; } }
section .section_name {
  background-size: 100vw;
  background-repeat: repeat-x;
  background-blend-mode: lighten;
  animation: scroll-anim 20s linear infinite; }

section:nth-of-type(1) .section_name {
  background-color: var(--bg-color-home);
  background-image: url("../images/hero.jpg");
  background-size: cover;
  width: 100vw;
  min-height: 100vh;
  animation: none;
}

/*section:nth-of-type(2) .section_name {
  background-image: url("../images/img_about.png");
  background-size: cover;
}*/

section:nth-of-type(3) .section_name {
  background-image: url("../images/img_project.png");
  background-size: cover;
}

section {
  width: 100%;
  height: 100%;
  position: relative; }
/*
section:nth-of-type(odd) {
  background-color: var(--white); }

section:nth-of-type(even) {
  background-color: #ffffff; }*/

section.blank {
  height: 100vh; }

section.horizontal {
  overflow-x: hidden;
  z-index: 100; }
  section.horizontal .pin-wrap,
  section.horizontal .animation-wrap {
    display: flex;
    position: relative;
    z-index: 1;
    height: 100vh; }
  section.horizontal .item {
    position: relative;
    display: flex;
    flex: 0 0 100vw;
    flex-direction: column;
    background-color: transparent;
    border-right: 1px solid rgba(var(--white), 0.8);
    align-items: flex-start;
    line-height: 1.6;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  section.horizontal .animation-wrap.to-right {
    float: left; }
  section.horizontal .animation-wrap.to-left {
    float: right; }

.headline {
  position: absolute;
  top: 8vh;
  left: 8vw;
  width: calc(100vw - 16vw);
  line-height: 1;
}
  .headline::before {
    position: absolute;
    top: -28px;
    left: 0;
    opacity: 0.72;
    font-size: 1.25rem;
    line-height: 1;
    -webkit-transform: translate(0px, 0px);
    transform: translate(0px, 0px); }

.headline::before {
  content: attr(data-section) ""; }

.add-double-quotation {
  display: flex;
  flex-direction: column;
}
.add-double-quotation h2 {
  position: relative;
  z-index: 10;
  height: 76vh;
  font-size: 3.6rem;
  line-height: 1.2;
  color: var(--white);
}
.add-double-quotation h2::before,
.add-double-quotation h2::after {
  position: absolute;
  opacity: .5;
  width: 16%;
  background-repeat: no-repeat;
}
.add-double-quotation h2::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4.87 3.54'%3E%3Cpath fill='%23f0f0f0' d='M4.69.1s-.02.07-.05.1c-.44.38-.66.77-.66,1.09,0,.18.1.31.25.39.35.16.64.4.64.87,0,.54-.44.99-.97.99s-1-.44-1-1.04C2.9,1.28,3.8.39,4.52.02c.03-.02.05-.02.07-.02.05,0,.1.05.1.1ZM1.78.12s0,.05-.03.08c-.44.4-.66.79-.66,1.09,0,.18.08.31.25.39.35.16.63.4.63.87,0,.54-.43.99-.97.99s-.99-.44-.99-1.04C0,1.28.91.39,1.61.02c.03-.02.05-.02.07-.02.05,0,.1.05.1.12Z'/%3E%3C/svg%3E");
  top: 0;
  left: 0;
}
.add-double-quotation h2::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4.87 3.54'%3E%3Cpath fill='%23f0f0f0' d='M.18,3.44s.02-.07.05-.1c.44-.38.66-.77.66-1.09,0-.18-.1-.31-.25-.39-.35-.16-.64-.4-.64-.87C0,.44.44,0,.97,0s1,.44,1,1.04c0,1.22-.9,2.11-1.63,2.48-.03.02-.05.02-.07.02-.05,0-.1-.05-.1-.1ZM3.09,3.42s0-.05.03-.08c.44-.4.66-.79.66-1.09,0-.18-.08-.31-.25-.39-.35-.16-.63-.4-.63-.87,0-.54.43-.99.97-.99s.99.44.99,1.04c0,1.22-.91,2.11-1.61,2.48-.03.02-.05.02-.07.02-.05,0-.1-.05-.1-.12Z'/%3E%3C/svg%3E");
  bottom: 0;
  right: 0;
}

.border-bottom {
  border-bottom: 2px solid var(--white); }

.inline-block {
  display: inline-block; }

.block {
  display: block; }

.align-center {
  text-align: center; }

.wrap {
  flex-wrap: wrap; }

.container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-right: 8vw;
  margin-left: 8vw;
  min-height: 100vh;
  width: calc(100% - 16vw);
}

.container-hero {
  align-items: center;
  justify-content: space-around;
  margin: 0;
  width: 100%;
}

.container-message {
  height: 100%;
}

.content-wrapper {
  margin-top: 16vh;
}

.content--inner {
  height: 100%;
  min-height: calc(100vh - 24vh);
}

.content-about {
  margin-top: 20vh;
}
.content-about--inner {
  margin-bottom: 8vw;
  height: 100%;
  min-height: calc(100vh - 20vh - 8vw);
}

.bg--about {
  background: no-repeat url("../images/img_about.png") center;
  background-size: cover;
}

.content--inner p+p {
  margin-top: 2rem;
}

.align-items--center {
  align-items: center; }

.img-cover {
  display: block;
  object-fit: cover; }

.img-full {
  margin-bottom: 1.6rem;
  max-width: 100%;
}

.animation-fade {
  overflow: hidden;
  position: relative;
  transform: translate(0, 0);
}

.animation-fade.active::before {
  animation: contents-wrap 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: var(--black);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

@keyframes contents-wrap {
  100% {
    transform: translateX(100%);
  }
}


/*Large devices (tablet, 610px and up)*/
@media (min-width: 610px) {
  .content-about {
    margin-top: 16vh;
  }

  .content-about--inner {
    min-height: calc(100vh - 24vh);
  }
}
/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  .container {
    margin-right: 16vw;
    margin-left: 16vw;
    width: calc(100% - 32vw);
    transition: all .6s;
  }
  .container-hero {
    margin: 0;
    width: 100vw;
  }
  .container h1,
  .headline-1  {left: 16vw;}
  footer {padding: 16rem 16vw 2rem;}

  .container,
  .container h1,
  .headline-1,
  .padding-md,
  footer {
    transition: all .6s;
  }

  .padding-md {
    padding: 3rem;
  }

  .add-double-quotation h2::before {
    top: 4vh;
  }
  .add-double-quotation h2::after {
    bottom: 4vh;
  }
}

