@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;

  /* outline: 1px solid red; */
}

img {
  width: 100%;
  vertical-align: bottom;
}

/* 全体設定 */
body {
  color: #333;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

body.fadein {
  opacity: 1;
  transform: translateY(0);
}

.inner {
  padding: 0 16px;
}

section {
  margin-bottom: 80px;
}

section:last-child {
  margin-bottom: 160px;
}

.hero {
  margin-bottom: 140px;
}

a {
  color: #333;
}

.arrow {
  width: 40px;
  height: 40px;
  margin: 0 auto 25px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

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

@media (min-width: 768px) {
  .inner {
    padding: 0 24px;
  }

  section {
    margin-bottom: 100px;
  }
}

@media (min-width: 1024px) {
  .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
  }

  section {
    margin-bottom: 120px;
  }

  .arrow {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* ハンバーガーボタン */
.hamburger {
  position: fixed;
  top: 27px;
  right: 15px;
  width: 40px;
  height: 30px;
  cursor: pointer;
  z-index: 10;
}

.hamburger span {
  display: block;
  height: 1px;
  width: 100%;
  background: #333;
  margin: 7px 0;
}

/* ✕アニメーション */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 戻るときに回転 */
.hamburger span {
  transform-origin: center;
}

/* メニュー背景 */
.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.5);
  clip-path: circle(0% at 100% 0);
  transition: clip-path 0.6s ease;
  z-index: 4;
}

/* 開いた状態 */
.menu.active {
  clip-path: circle(150% at 100% 0);
  display: block;
}

/* メニュー中身 */
.menu ul {
  list-style: none;
  border-left: 1px solid #333;
}

.menu li {
  margin: 20px 0;
  text-align: left;
  padding: 0 15px;
  font-size: 13px;
}

.menu a {
  text-decoration: none;
  transition: 0.3s;
}

.ul-01 {
  position: absolute;
  bottom: 50%;
  left: 50%;
}

.ul-02 {
  position: absolute;
  top: 50%;
  right: 50%;
}

/* スマホ・ヘッダー */
/* スマホ・ヘッダー */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  margin-top: 20px;
}

header a {
  color: #333;
  font-weight: bold;
}

header a:hover{
  opacity: 0.5;
  transform: translateX(3px);
}

header h1 {
  font-weight: bold;
  font-family: "M PLUS 1 Code", monospace;
}

.sp-header {
  display: block;
}

.pc-header {
  display: none;
}

.logo a {
  color: red;
}

.logo a:hover{
  opacity: 0.5;
  transform: translateY(-3px);
}

@media (min-width: 768px) {
  .sp-header {
    display: none;
  }

  .pc-header {
    display: block;
  }

  header .inner {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .pc-header ul {
    display: flex;
    gap: 50px;
  }

  .ul-03 {
    margin-bottom: 30px;
  }

  .ul-04 {
    width: fit-content;
    margin: 0 0 0 auto;
    text-align: right;
  }

  .ul-04 li {
    padding: 5px 10px;
    border: 1px solid #333;
    border-radius: 50px;
  }
}


/* main */

/* hero */
.hero {
  position: relative;
}

.hero-item {
  width: 40%;
  margin: 0 auto;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: serif;
  color: #333;
  padding: 20px;
  background-color: #ffffff2f;
}

.hero-item h1 {
  font-size: 50px;
  font-weight: bold;
  font-family: "M PLUS 1 Code", monospace;
}

.hero-item h2 {
  font-size: 20px;
  margin-bottom: 20px;
  font-family: sans-serif;
}

.hero-item p {
  font-size: 15px;
  margin-bottom: 20px;
  border-left: 1px solid #333;
}

.hero-item a {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 3px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: #333;
}

.hero img {
  height: 100vh;
  object-fit: cover;
}

.hero .arrow {
  background-color: #fff;
  border: none;
  color: #333;
}

.hero .arrow:hover{
  opacity: 0.5;
  transform: translateX(3px);
}

.h-item p {
  color: #333;
}

@media (min-width: 768px) {
  .hero {
    display: flex;
  }

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

  .hero-item {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    top: 60%;
    left: 60%;
    color: #333;
    background-color: unset;
  }

  .hero-item h1 {
    font-size: 60px;
    padding: 5px;
  }

  .hero-item h2 {
    font-weight: 100;
    text-align: left;
    padding: 10px;
    border-left: 1px solid #333;
  }

  .hero-item p {
    font-size: 20px;
    font-family: serif;
    font-weight: 100;
    margin-bottom: 10px;
    padding: 10px;
    border-left: 1px solid #333;
  }

  .hero-item a {
    font-size: 15px;
    padding: 5px;
    color: #333;
  }

  .h-item {
    display: flex;
    justify-content: center;
    align-items: baseline;
  }

  .hero .arrow {
    width: 40px;
    height: 40px;
    margin: 0 auto 25px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* info------------------------------------- */
.info{
  margin-top: 100px;
}

.info-flex{
  display: flex;
  flex-direction: column;
  align-items: center;
 
  font-family: serif;
}

.info-box{
  border-top: 1px solid #333;
}

.info-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 10px;
  border-bottom: 1px solid #333;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}

.info-item span{
  width: 120px;
  font-size: 12px;
  color: #000;
}

.info-item p{
  font-size: 14px;
  color: #000;
}

.info-item:hover{
  padding-left: 20px;
  opacity: 0.7;
}

/* footer----------------------------------- */
.footer-inner {
  align-items: start;
  padding: 100px 0;
  width: 100%;
}

.f-box {
  line-height: 1;
  font-size: 12px;
}

.f-box p {
  text-align: right;
  padding: 10px 10px;
  font-weight: bold;
}

.f-box h1 {
  font-size: 150px;
  text-align: right;
}

.f-box01 {
  font-size: 12px;
  padding: 30px 20px;
  border-left: 1px solid #999;
}

.f-box01 ul {
  line-height: 2;
  padding: 5px;
}

.f-box02 a {
  display: block;
  width: fit-content;
  padding: 2px 10px 2px 5px;
  border: 1px solid #999;
  border-radius: 50px;
}

.f-box01 a:hover,
.f-box02 a:hover{
  opacity: 0.5;
  transform: translateY(-3px);
}

@media (min-width: 768px) {
  .footer-inner {
    display: flex;
    align-items: start;
    padding: 100px 0;
    width: 100%;
  }

  .f-box {
    line-height: 1;
    width: 20%;
    font-size: 12px;
  }

  .f-box p {
    text-align: right;
    padding: 10px 40px 10px 0;
    font-weight: bold;
  }

  .f-box h1 {
    font-size: 150px;
    text-align: left;
  }

  .f-box01 {
    width: 20%;
    font-size: 12px;
    padding: 30px 20px;
    border-left: 1px solid #999;
  }

  .f-box01 ul {
    line-height: 2;
    padding: 5px;
  }

  .f-box02 a {
    display: block;
    width: fit-content;
    padding: 2px 10px 2px 5px;
    border-radius: 50px;
  }
}

@media (min-width: 1024px) {
  .f-box02 a {
    display: block;
    width: fit-content;
    padding: 2px 10px 2px 5px;
    border: 1px solid #999;
    border-radius: 50px;
  }
}

/* topへ戻るボタン */
#toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;

  width: 60px;
  height: 60px;

  border: none;
  border-radius: 50%;

  background: #fff;
  color: #333;

  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  border: 1px solid #333;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s;

  z-index: 999;
}

#toTop.active {
  opacity: 1;
  pointer-events: auto;
}

#toTop:hover {
  opacity: 0.8;
  transform: translateY(-3px);
}
