* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
    font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

li {
  list-style: none;
}

body {
  margin: 0;
  line-height: 1.6;
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  overflow-x: hidden;
}

/* 英語（ナビとかロゴ） */
/* 漢字（見出し・ナビ）をかっこよく */
header a{
    letter-spacing: 2px;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.header ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.header a {
  text-decoration: none;
  color: black;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* 背景にする */
}


/* 英語（下の小さい文字） */
.en {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 3px;
    letter-spacing: 1px;

    font-size: clamp(20px, 3.0vw, 35px);
}

/* 画像を基準にする */
#home {
    position: relative;
    width: 100vw;
    height: 100vh;
}

/* ヘッダーを画像の上に重ねる */
header {
    position: absolute;
    top: 5%;        /* 縦中央 */
    right: 5px;     /* 右に寄せる */

    transform: translateY(-5%);

    display: flex;
    justify-content: space-evenly;
    padding: 20px;
    
    color: white; /* 文字見やすく */
}

/* 背景を少し暗く（任意） */
header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* デフォルト＝スマホ（縦） */
header ul {
    display: flex;
    flex-direction: column; /* 縦 */
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 下線を消す */
header a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;

    font-size: 30px;
    font-weight: 500;
    color: white; /* 今のデザインに合わせるなら白がいい */
}

/* PC（768px以上）で横にする */
@media (min-width: 768px) {
    header ul {
        flex-direction: row; /* 横 */
        justify-content: center;
        gap: 30px;
    }
    
    header {
        position: absolute;
        top: 95%;        /* 縦中央 */
        right: 30px;
        transform: translateY(-95%);
        align-items: center;
    }

    /* 下線を消す */
    header a {
        font-size: 40px;
        font-weight: 600;
    }
}


/* 念のためホバー時も消す */
header a:hover {
    text-decoration: none;
}


.parallax {
  height: 50vw;
  background-image: url("../img/bridge2.webp");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.tt span{
  align-items: center;
  justify-content: center;
  font-size: 10px;
    opacity: 0.5;
    margin-top: 1px;

  font-size: clamp(8px, 2.0vw, 12px);
}

.tt {
  text-align: left;

  margin-bottom: 0px;
  padding-bottom: 0px;
  opacity: 0;

  transform: translateY(20px); /* 少し下から */
  transition: opacity 0.6s ease, transform 0.6s ease;
}


.tt.show {
  opacity: 1;
  transform: translateY(0);
}


.tt h2 {
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

#goal {
  background: none;
  height: 20%;
  margin: 0 0px;
  padding: 2 2px;
  padding-top: 3%;
  display: flex;          /* 横並び */
  overflow-x: scroll;     /* 横スクロール */
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE・Edge */
}

#goal::-webkit-scrollbar {
  display: none; /* Chrome・Safari */
}

.slide {
  min-width: 550px;     /* 画面幅 */
  height: 15%;
  display: block;
  justify-content: center;
  align-items: center;
  font-size: 40px;

  margin: 0 10vw;
  color: #FFF;
  padding: 0px 0px;
  padding-top: 0px;
  /* border-radius: 12px; */
  text-align: center;
  /* box-shadow: 0 10px 20px rgba(0,0,0,0.1); */
  font-weight: bold;

  border-top: 1px solid #FFF;
  border-bottom: 1px solid #FFF;
}

.slide .sp {
  display: block;
  margin-top: 0px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
}


/* ファーストビュー */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: #eee;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero button {
  margin-top: 20px;
  padding: 10px 20px;
}

/* 共通セクション */
.section {
  padding: 60px 20px;
  text-align: center;
}

#concept {
  background: radial-gradient(circle, #222, #111);
  width: 100%;
  color: #FFF;
}

#conceptchild {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: left;
  margin-left: 50px;
  gap: 60px;
}

#concepth3{
  font-size: clamp(48px, 4vw, 60px);
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  background: linear-gradient(80deg, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(20px); /* 少し下から */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 下ライン（これが重要） */
#concepth3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: #666;
}


#concepth3.show {
  opacity: 1;
  transform: translateY(0);
}

.text {
  width: 54%;
  font-size: 2vw
}

.text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.text p {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 15px;
  line-height: 1.8;
}

#conceptimg {
  filter: brightness(1.2);
  width: 30vw;
}

.caption {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.7;
}

.arc-container {
  position: relative;
  width: 380px;
  height: 380px;
  margin: auto;
}

/* 中央 */
.arc-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: large;
}

/* 回転する軌道 */
.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 60s linear infinite;
}

.orbit {
  border: 1px dashed #334155;
  border-radius: 50%;
}


/* 円の位置 */
.arc-item {
  position: absolute;
}

/* 中身（文字） */
.inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  /* ←これが重要 */
  animation: counterRotate 60s linear infinite;
}

.arc-item .inner {
  background: rgba(255, 255, 255, 0.10); /* ←透明 */
  box-shadow:
    0 10px 30px rgba(0,0,0,0.4),
    0 0 10px rgba(56,189,248,0.6);
}

.arc-center {
  background: rgba(255, 255, 255, 0.20); /* ←透明 */
  box-shadow:
    0 0 40px rgba(56,189,248,0.6),
    0 20px 60px rgba(0,0,0,0.6);
}

/* 上 */
.item1 {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 右 */
.item2 {
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
}

/* 下 */
.item3 {
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 左 */
.item4 {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

/* 回転 */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 逆回転（文字固定） */
@keyframes counterRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}



#about {
  background: radial-gradient(circle, #FFF, #DDD);
  color: #000;
}

.sports-os {
  text-align: center;
  padding: 10px 0px;
  opacity: 0;
  transform: translateY(170px); /* 少し下から */
  transition: opacity 3s ease, transform 3s ease;
}

.sports-os.show {
  opacity: 1;
  transform: translateY(0);
}

/* キャッチ */
.catch {
  font-size: 42px;
  margin-bottom: 80px;
  letter-spacing: 3px;
}

/* 横並び */
.os-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 100%;
  margin: 0 5%;
}

/* 左右テキスト */
.side {
  width: 400px;
  font-size: 30px;
  line-height: 1.8;
  opacity: 0.8;
}

.left {
  text-align: right;
}

.right {
  text-align: left;
}

/* 円 */
.circle {
  position: relative;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 50%;
}

/* 中央 */
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  font-weight: bold;
}

/* 下テキスト */
.bottom-text {
  margin-top: 60px;
  font-size: 25px;
  opacity: 0.6;
}

/* 要素 */
.item {
  position: absolute;
  font-size: 28px;
}

.top { top: -20px; left: 50%; transform: translateX(-50%); }
.right { right: -20px; top: 50%; transform: translateY(-50%); }
.bottom { bottom: -20px; left: 50%; transform: translateX(-50%); }
.left { left: -20px; top: 50%; transform: translateY(-50%); }

/* 説明 */
.desc {
  opacity: 0.7;
  margin-bottom: 20px;
}

.result {
  font-size: 22px;
  font-weight: bold;
}


#service .tt{
  color: #FFF;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* PC：6列 */
  gap: 20px;
  padding: 10px;
}

/* タブレット */
@media (max-width: 1700px) {
  .grid {
    grid-template-columns: repeat(3, 1fr); /* 3列 */
  }
}

/* 小さめタブレット */
@media (max-width: 1400px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 2列 */
  }
  #headright a{
    font-size: 20px;
  }
  .en {
    font-size: 14px;
  }
}

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

.card {
  display: inline-block;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(145deg, #111, #333);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
  color: #FFF;
  border-radius: 10px;
  justify-content: center; /* 中央に寄せる */
  align-items: center;
  padding: 5% 10%;
  border-top: 3px solid #0d47a1;
  transition: 0.3s;
  
}


#brandingicon {
  width: 30%;
}


.num {
  font-size: 20px;
  opacity: 0.9;
}


.card:hover {
  background: linear-gradient(145deg, #333, #555);
  transform: translateY(-14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card_top {
  display: flex;
  text-align: left;
  width: 100%;
  gap: 30px;
  border-bottom: 1px solid #FFF;
}

.card_top h3{
  font-size: 20px;
  opacity: 0.9;
}

.card li{
  text-align: left;
  opacity: 0.8;
  width: 100%;
}

/* ボタン */
#leader {
  cursor: pointer;
  border: none;
  background: #3a3a3b;
  color: #D9D9D9;
  border: #D9D9D9;
  padding: 10px;
  margin: 5px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 30px;
  padding: 13px 20px;
  font-size: 20px; 
  text-decoration: none;
}

#leader:hover {
    background: #555;
}

#achievements{
  color: #FFF;
}

/* セクション全体 */
.flow {
  text-align: center;
  padding: 80px 20px;
  background: #f5f5f5;
}

.flow-sub {
  font-size: 14px;
  opacity: 0.6;
}

.flow-title {
  font-size: 36px;
  margin: 10px 0;
}

.flow-desc {
  margin-bottom: 50px;
  opacity: 0.7;
}

/* 横並び */
.flow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* カード */
.flow-item {
  width: 220px;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icon {
  font-size: 30px;
  margin-bottom: 15px;
}

.flow-item h3 {
  margin-bottom: 10px;
}

.flow-item p {
  font-size: 14px;
  opacity: 0.7;
}

/* 矢印 */
.arrow {
  font-size: 24px;
  opacity: 0.5;
}


.line-link {
  color: #06C755;
  font-weight: bold;
  text-decoration: underline;
}



.achitems {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 32px;
  justify-content: space-evenly;
}

.timeline {
  position: relative;
  max-width: 99%;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  height: 2px;
  width: 100%;
  opacity: 0.7;
  background: #334155;
}

.number {
  width: 60px;
  font-size: 24px;
  font-weight: bold;
  color: #38bdf8;
}

.achcontent {
  padding-left: 20px;
}

.achcontent h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.lead {
  color: #94a3b8;
  margin-bottom: 12px;
}

.metrics div {
  margin-bottom: 6px;
  font-size: 14px;
}

.metrics span {
  font-size: 18px;
  font-weight: bold;
  color: #38bdf8;
}



#contact {
    width: 100%;
    min-height: 60vh;
    padding: 0;
    background-color: #f1f1f1;
}

/* フォーム */
.formtab {
    display: flex;
    gap: 7px;
    flex-direction: row;
}

.formtab > label {
    text-align: left;
    flex: 2;
}

.formtab > input {
    flex: 1;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 480px;
    margin: 0 auto;
    margin-top: 70px;
}

input, textarea {
    text-align: left;
    margin-bottom: 10px;
    padding: 5px;
    font-size: 16px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

  /* モーダル本体 */
.modal-content {
    background: #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 80vh;
}

.modal h2 {
    text-align: center;
    margin-bottom: 20px;
}

.close-btn {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background: #111;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#openpolicy {
  background: #111;
  color: #FFF;
  padding: 10px 10px;
  margin: 5px 5px;
  border-radius: 12px;
}

#submit {
  background: #111;
  color: #FFF;
  padding: 10px 10px;
  margin: 5px 5px;
  border-radius: 12px;
}


.policy-section {
    margin-bottom: 20px;
}

.policy-section h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.policy-section p {
    font-size: 14px;
    line-height: 1.6;
}


@media screen and (max-width: 768px) {
    body, html {
        font-size: 13px;
    }
    
    header {
        font-size: 5px;
    }

    #home{
      height: 80vh;
    }

    #home > h1 {
        color: #D9D9D9;
        margin: 0 5px;
        text-align: left;
        font-size: 20px;
    }    

    #headleft {
        margin-right: auto;
        margin-left: 10px;
    }

    nav ul li {
        margin: 0 5px;
    }
    
    nav ul li a {
        color: #D9D9D9;
        text-decoration: none;
        font-size: 10px;
        /* padding: 10px; */
    }

    .tt h2 {
      font-size: 15px;
    }

    #goal {
      height: 15%;
      margin: 0 0px;
      padding: 15px 2px;
    }

    .slide {
      min-width: 300px;     /* 画面幅 */
      height: 13%;
      font-size: 20px;
    }

   .slide .sp {
      font-size: 10px;
    }

    #concept h3{
      text-align: left;
      font-size: 21px;
    }

    .text {
      margin-left: 10px;
      width: 80vw;
      font-size: 12px;
    }


    .en {
        margin-top: 1px;
        font-size: 9px;
    }


    #conceptchild {
      flex-direction: column;
      width: 80vw;
      gap: 20px;
      margin-left: 4px;
      margin-bottom: 50px;
    }

    /* ボタン */
    #leader {
      padding: 5px 2px;
      margin: 5px;
      cursor: pointer;
      border-radius: 5px;
      font-size: 15px; 
    }

    .arc-container {
      width: 200px;
      height: 200px;
    }

    /* 中央 */
    .arc-center {
      width: 60px;
      height: 60px;
      font-size: 12px;
    }

    /* 中身（文字） */
    .inner {
      width: 60px;
      height: 60px;
      font-size: 10px;
    }


    .sports-os {
      text-align: center;
      padding: 10px 0px;
      opacity: 0;
      transform: translateY(170px); /* 少し下から */
      transition: opacity 3s ease, transform 3s ease;
    }

    /* キャッチ */
    .catch {
      font-size: 22px;
      margin-bottom: 40px;
      letter-spacing: 3px;
    }

    /* 横並び */
    .os-wrapper {
      flex-direction: column;
      gap: 10px;
    }

    /* 左右テキスト */
    .side {
      width: 300px;
      font-size: 20px;
    }

    .left {
      font-size: 18px;
      text-align: right;
    }

    .right {
      font-size: 18px;
      margin-top: 80px;
      margin-bottom: 10px;
      text-align: left;
    }

    /* 円 */
    .circle {
      position: relative;
      width: 180px;
      height: 180px;
      border: 1px solid rgba(0,0,0,0.2);
      border-radius: 50%;
    }

    /* 中央 */
    .center {
      font-size: 15px;
    }

    /* 下テキスト */
    .bottom-text {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 20px;
    }

    /* 要素 */
    .item {
      position: absolute;
      font-size: 15px;
    }

    .top { top: -12px; left: 50%; transform: translateX(-50%); }
    .right { right: -12px; top: 0%; transform: translateY(0%); }
    .bottom { bottom: -12px; left: 50%; transform: translateX(-50%); }
    .left { left: -12px; top: 50%; transform: translateY(-50%); }

    .result {
      font-size: 18px;
    }

    .card_top{
      flex-direction: column;
      gap: 1px;
    }

    .card_top h3{
      font-size: 18px;
    }

    .card li{
      font-size: 11px;
    }
    
    .num {
      font-size: 15px;
      margin-bottom: 1px;
    }

    .timeline::before {
      left: 15px;
    }

    .number {
      width: 40px;
      font-size: 18px;
    }


    .achitems {
      flex-direction: column;
    }

    .timeline::before {
      left: 20px;
      top: 0px;
      height: 100%;
      width: 2px;
      opacity: 0.7;
      background: #334155;
    }

    .achcontent h3 {
      font-size: 18px;
    }

    .achcontent p {
      font-size: 14px;
    }

    .achcontent span {
      font-size: 12px;
    }

    .flow-sub{
      font-size: 10px;
    }

    .flow-title{
      font-size: 24px;
    }

    .flow-desc{
      font-size: 12px;
    }

    .flow-wrapper {
      flex-direction: column; /* 縦並び */
    }

    .flow-item{
       gap: 1px;
    }

    .arrow {
      transform: rotate(90deg); /* ↓に変更 */
    }

    
    /* カード */
    .flow-item {
      padding: 10px 10px;
    }

    .icon {
      font-size: 25px;
      margin-bottom: 5px;
    }

    .flow-item h3 {
      margin-bottom: 5px;
    }

    .flow-item p {
      font-size: 13px;
    }


    #contact {
        min-height: 50vh;
    }
    
    form {
        display: flex;
        flex-direction: column;
        max-width: 340px;
        margin: 7px auto;
        margin-top: 30px;
    }
    
    input, textarea {
        text-align: left;
        margin-bottom: 2px;
        padding: 5px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {

  header {
    position: fixed;
    top: 5%;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    transition: 0.4s;
    z-index: 100;
  }

  header.open {
    right: 0;
  }

  /* ハンバーガー */
  body::before {
    content: "";
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 20px;
    z-index: 200;
    cursor: pointer;

    background:
      linear-gradient(#c1c1c1, #c1c1c1) 0 0 / 100% 1px no-repeat,
      linear-gradient(#c1c1c1, #c5c5c5) 0 50% / 100% 1px no-repeat,
      linear-gradient(#ccc, #ccc) 0 100% / 100% 1px no-repeat;
  }
}


/* フッター */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}