
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Anton', sans-serif;
  background-color: #0d0d0d;
  color: white;
  overflow-x: hidden; /* 横スクロール禁止（余白防止） */
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0d0d0d;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 2px solid #1e1e1e;
}

.logo {
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: #00aaff;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #00aaff;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

nav ul li a:hover {
  color: #00aaff;
}

nav ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  padding-top: 100px;
  text-align: center;
}

main h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00aaff;
}

main p {
  font-size: 1.2rem;
  color: #ccc;
}
-------------------------------------------------------------

.slider-container {
    width: 100%;
    overflow: hidden;
    background-color: #f8f8f8;
  }

  .slider-track {
    display: flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
  }

  .slider-track img {
    width: 400px;
    height: 500px;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
-----------------------------------------------------------


.spacer {
  height: 30vh; /* 少し低くして発火しやすく */
}

.image-text-container {
  display: flex;
  flex-direction: column;
  gap: 160px;
  padding: 100px 5vw;
}

.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  transition: all 1s ease-out;
  flex-wrap: nowrap;
}

.item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.item.left {
  flex-direction: row-reverse;
}

.image-circle {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-box {
  max-width: 600px;
  font-size: 1.8rem;
  line-height: 1.7;
  color: #fff;
  word-break: break-word;
  padding: 10px;
}

@media (max-width: 768px) {
  .item {
    flex-direction: column !important;
    gap: 40px;
    text-align: center;
  }

  .text-box {
    max-width: 90%;
    font-size: 1.4rem;
  }

  .image-circle {
    width: 260px;
    height: 260px;
  }
}
-----------------------------------------------------------
/* 下の白泉 */
section {
  padding-top: 100px;
  text-align: center;
}

section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00aaff;
  text-align: center;
}

section p {
  font-size: 1.2rem;
  color: #ccc;
  text-align: center;
}

.main-divider {
  margin: 40px auto;
  border: none;
  height: 2px;
  width: 60%;
  background: linear-gradient(to right, #00aaff, #ffffff20, #00aaff);
  opacity: 0.6;
}

-----------------------------------------------------------------------------------



.firstview{
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 15px;
    background-image: url(hero_bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.title{
    width: 100%;
    height: auto;
    color: white;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    margin: 0px;
    padding-top: 150px;
    padding-bottom: 150px;
    position: relative;
    z-index: 2;
}


.others{
  display: flex;
  flex-direction: column;
  align-items: center;         /* 中央寄せ */
  justify-content: center;     /* 中央寄せ */
  width: 100%;
  margin: 100px auto;
  position: relative;
}

.others_viewport{
  display: flex;
  justify-content: center;     /* 水平方向中央揃え */
  align-items: center;
  flex-wrap: wrap;             /* 折り返しOK（または nowrap） */
  gap: 20px;
  max-width: 1000px;
}

.others_buttom{
  width: 200px;
  height: 200px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.others_image{
    display: block;
    width: 100%;
    height: 100%;
}

.others_text{
    color: #FFFFFF;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.others_black_layer{
    width: 100%;
    height: 100%;
    background-color: #00000080;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 0;
}

.others_dot_layer{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 2;
    background-image: url(hero_bg_dot.png);
    opacity: 0.2;
    z-index: 1;
}

.others_buttom:hover .others_black_layer{
    opacity: 0;
}

.others_buttom:hover .others_dot_layer{
    opacity: 0;
}

.others_buttom:hover .others_image{
    transform: scale(1.2);
    transition: transform 1s ease;
}

.links_prev,
.links_next {
  width: 40px;
  height: 40px;
  background-color: black;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.links_prev {
  left: -60px;
}

.links_next {
  right: -60px;
}

-----------------------------------------------------------------------------------------------------------------------------
