/* 通用 */
/* === Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #FEA6B4;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, textarea, select {
    font: inherit;
    background: none;
    border: none;
    outline: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}


/* ヘッダーのスクロールバー */
.header_bar {
    overflow: hidden;
    background-color: #000;
    white-space: nowrap;
    padding: 12px 0;
	position:fixed;
	top:0;
}

.scroll-wrap {
    display: flex;
    white-space: nowrap;
}

.scroll-content {
    display: inline-flex;
    animation: scroll-loop 10s linear infinite;
}

.scroll-content span {
    font-family: 'EB Garamond', 'Palatino', serif;
    font-weight: bold;
    font-size: 12px;
    color: #fff;
}

@keyframes scroll-loop {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-40%);
    }
}


/* header */
.header_inner {
    display: flex;
    align-items: center; 
    gap: 80px;
    padding: 40px 100px;
  }


/* header */
/* ロゴ */
.logo {
    font-weight: 700;
    font-size: 40px;
}

.logo_left {
    background-color: black;
    color: white;
    padding: 0 16px 4px 16px;
}

.logo_right {
    background-color: white;
    color: black;
    padding: 0 16px 4px 16px;
    border-radius:0 20px 0 0;
    letter-spacing: 0.1em;
}

.logo-link {
    text-decoration: none;
    display: block;
}

.logo-link:hover{
    cursor: pointer;;
}

/* header */
/* グローバルナビゲーション */
.gnav ul {
    font-family: 'EB Garamond', 'Palatino', serif;
    font-size: 20px;
    display: flex;
    list-style: none;
    gap: 3rem; 
    margin: 0;
    padding: 0;
}

.style-nav {
    height: 30px;
    align-items: center;
    color: #000;
    text-decoration: none;
    display: flex;
    /* Hide extra text */
    .mask {
      position: relative;
      padding: 0;
      height: 20px;
      /*  Remove overflow to see how it works　:) */
      overflow: hidden;
      .link-container {
        transition: transform 0.4s ease;
      }
      .title {
        display: block;
        /*  Set same font-size and line height  */
        font-size: 20px;
        line-height: 20px;
        transition: transform 0.4s ease;
      }
  
      .link-title1 {
        transform-origin: right center;
      }
  
      .link-title2 {
        transform-origin: left center;
        transform: rotate(20deg);
      }
    }
    .link-icon {
      position: relative;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-left: 10px;
      overflow: hidden;
      .icon-right{
        display: block;
        position: absolute;
        transition: transform 0.4s ease;
        &:nth-child(2) {
          transform: translate(-40px);
        }
      }
    }
    &:hover {
      .link-container {
        transform: translateY(-20px);
      }
      .link-title1 {
        transform: rotate(20deg);
      }
      .link-title2 {
        transform: rotate(0);
      }
      .icon-right:first-child {
        transform: translate(40px);
      }
      .icon-right:nth-child(2) {
        transform: translate(0px);
      }
    }
  }

.fv {
    background-image: radial-gradient(#000000 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
    overflow: hidden;
    height: 72vh;
}

.fv-inner{
    position: relative;
    z-index: 2; 
    margin-top: 100px;
}

.fv p {
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
}


.fv-a{
    margin-left: 100px;
    color: #fff;
    font-size: 60px;
    padding: 8px 20px;
    width: fit-content;
    font-weight: bolder;
    animation: text-reveal 0.8s ease 1s forwards;
}

.fv-b{
    margin-left: 100px;
    color: #000;
    font-size: 20px;
    padding: 8px 20px;
    width: fit-content;
    font-weight: bolder;
    animation: text-reveal 0.8s ease 2s forwards;
}
  
.fv-a::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0;
    background-color: #000;
    z-index: -1;
    animation: bg-slide 0.6s ease forwards;
}

.fv-b::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0;
    background-color: #fff;
    z-index: -1;
    animation: bg-slide 0.6s ease forwards;
}
  
.fv-a::before {
    animation-delay: 0.4s;
}
.fv-b::before {
    animation-delay: 1.4s;
}
  
  @keyframes bg-slide {
    to {
      width: 100%;
    }
  }
  
  @keyframes text-reveal {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

.dotgroup {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 1; 
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  width:100vw;
  height:72vh;
  justify-items: center;
  align-items: center;
}

.dot {
  width: 100%;
  max-width: 40px;
  height: auto;
  transition: transform 0.2s ease;
}

/* タブレット横 */
@media (max-width: 1200px) {
  .dotgroup {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* タブレット縦 */
@media (max-width: 900px) {
  .dotgroup {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* スマホ */
@media (max-width: 600px) {
  .dotgroup {
    grid-template-columns: repeat(3, 1fr);
  }
}

  