@charset "utf-8";
html{
scroll-behavior:smooth;
}

html{
scroll-behavior:smooth;
}

:root {
      --primary-color: #1c8c87;
      --primary-light: #4fc3bd;
      --primary-bg: #e6f7f6;
      --accent-color: #ff8d22;
      --text-dark: #413229;
      --bg-light: #f7f7f7;
      --glass-white: rgba(255, 255, 255, 0.25);
    }
    
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

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

img {
  max-width: 100%;
  height: auto;
}
body{
margin:0;
font-family:sans-serif;
background:#1c8c87;
color: #413229;
}


/* HEADER */

.header{
position:fixed;
top:0;
left:0;
width:100%;
padding-top: 10px;
z-index:1000;
}

.header-inner{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
}

/* ナビカード ガラスナビ */

.nav-card{

display:flex;
align-items:center;
background:rgba(255,255,255,0.25);
backdrop-filter:blur(14px);
border-radius:24px;
border:1px solid rgba(255,255,255,0.4);
box-shadow:0 8px 30px rgba(0,0,0,0.15);
height:80px;
}

.nav-card:hover{
box-shadow:20px 40px 40px rgba(0,0,0,0.3);
}

/* ロゴ */

.logo{
transform:scale(1.2);
transform-origin:left center;
}

.logo a {
  display: inline-block;
}

.logo img{
width:150px;
height:auto;
animation:floatLogo 4s ease-in-out infinite;
filter:drop-shadow(0 8px 12px rgba(0,0,0,0.2));
}

@keyframes floatLogo{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-8px);
}

100%{
transform:translateY(0px);
}

}
/* メニュー */

.nav-menu{
display:flex;
list-style:none;
z-index:1;
}

.nav-menu a{

display:flex;
flex-direction:column;

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

padding:0 20px;
height:80px;

text-decoration:none;
color:#413229;

transition:.3s;
}


.nav-menu li{
  border-right:1px solid rgba(255,255,255,0.6);
}

.nav-menu li:last-child{
  border-right:none;
}

.nav-menu img{
width:80px;
height:40px;
margin-bottom:6px;
}

/* 文字 */

.nav-menu span{
font-size:14px;
letter-spacing:0.05em;
}

/* ホバー */

.nav-menu li:hover{
background:#ff8d22eb;
border-radius:20px;
}

.nav-menu li:hover span{
color:white;
}

/* ハンバーガー */

.menu-btn{
width:80px;
height:80px;
background:#1c8c87;

display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:6px;

cursor:pointer;

border-radius:18px;          /* 角丸 */
transition:0.3s;             /* アニメーション */
}

.menu-btn:hover{
background:#222;
transform:translateY(-3px);
box-shadow:0 20px 30px rgba(0,0,0,0.6);
}

.menu-btn span{
width:26px;
height:3px;
background:white;
border-radius:2px;
transition:0.3s;
}

/* ハンバーガーアニメーション */

.menu-btn span{
transition:0.3s;
}

/* 1本目 */

.menu-btn.active span:nth-child(1){
transform:translateY(9px) rotate(45deg);
}

/* 2本目 */

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

/* 3本目 */

.menu-btn.active span:nth-child(3){
transform:translateY(-9px) rotate(-45deg);
}

/* 全体（レール） */
.scroll-indicator{
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);

  width: 2px;
  height: 380px;

  background: rgba(255,255,255,0.15);
  border-radius: 10px;

  z-index: 999;
}

.scroll-arrow{
  font-size: 12px;
  color: #00ff55;
  margin-top: 5px;
  position: absolute;
  
  left: 50%;
  transform: translateX(-50%);
}

/* 動くバー */
.scroll-bar{
  position: absolute;
  width: 100%;
  height: 0%;
  background: #00ff55;
  border-radius: 10px;

  transition: height 0.1s linear;
  box-shadow: 0 0 10px #00ff55;
}

/* 丸 */
.scroll-thumb{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);

  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff55;

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

  box-shadow: 0 0 10px #00ff55;
}

.scroll-text{
  position: absolute;
  right: 10px; 
  
  writing-mode: vertical-rl;
  text-orientation: mixed;

  font-size: 10px;
  letter-spacing: 3px;
  color: #00ff55;

  margin-bottom: 10px;
  animation: scrollBlink 1.5s infinite;
}
@keyframes scrollBlink{
  0%,100%{opacity:0.3;}
  50%{opacity:1;}
}


.to-top{
  position: fixed;
  bottom: 60px;
  right: 60px;

  width: 100px;
  height: 100px;

  display: grid;
  place-items: center;
  z-index: 999;
}

/* 円テキスト */
.to-top .circle-text{
  position: absolute;

  width: 100px;
  height: 100px;

  /* ←中央配置をシンプルに */
  top: 0;
  left: 0;

  animation: spin 15s linear infinite;
}


/* 文字 */
.to-top .circle-text span{
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform-origin: 0 50%;
  font-size: 10px;
  color: #ff8d22eb;

  margin: 0;
  padding: 0;
}

/* 矢印（完全中央固定） */
.to-top .to-top-arrow{
  position: absolute;
  inset: 0; 
  color: #ff8d22eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  z-index: 10;
}

@keyframes spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* =====================
   COMPANY
===================== */

.company-bg-text{
  position: absolute;
  left: 120px;
  top: 25%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.2; /* ←うっすらがポイント */
}

/* 画像を縦にする */
.company-bg-text img{
  width: 600px;
  transform: rotate(90deg);
  transform-origin: left top;
}

.section {
  padding: 100px 20px;
  background-color: #1c8c87;
  position: relative;
  overflow: hidden;
}

/* 背景ロゴ */
.bg-logo{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-top: 88px;
  z-index: 0;
  opacity: 0.8;
  transition: opacity 0.3s linear;
  pointer-events: none; 
}

.bg-logo img{
  width: 180%;
}

/* コンテンツは上に */


.container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 見出し */
#company h2 {
  font-size: 48px;
  letter-spacing: 0.15em;
  text-align: center;
  margin-top: 15%;
  margin-bottom: 60px;
  position: relative;
  text-shadow: 20px 0 20px rgba(1, 0, 0, 0.426);
}

#company h2::before,
#company h2::after {
  content: "";
  position: absolute;
  top: 40%;
  width: 80px;
  height: 2px;
  background: #f7f7f7;
}

#company h2::before {
  left: 0;
}

#company h2::after {
  right: 0;
}

#company h2 span {
  display: block;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: #f7f7f7;
  text-shadow: 20px 0 20px rgba(1, 0, 0, 0.485);
  margin-top: 10px;
}

/* 小見出し */
#company h3 {
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #413229;
}

#company h3:not(:first-of-type) {
  border-top: 1px solid #eee;
  padding-top: 30px;
}

/* テキスト */
#company p {
  font-size: 18px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 15px;
}


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

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

/* =====================
   COMPANY INFO（おしゃれ版）
===================== */
.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px;
  
}

.container {
  max-width: 1000px; 
  margin: 0 auto;
  padding: 0 20px; 
  
}

.company-bg-text{
  position: absolute;
  
  left: 0;
  top: 70%;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}

/* 画像を縦にする */
.company-bg-text img{
  width: 600px;

  transform: rotate(-90deg) translateX(-100%);
  transform-origin: top left;
}



.company-info {
  position: relative;
  margin-top: 30px;
  padding: 25px;

  /* ガラス感 */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);

  /* 影で浮かせる */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.248);

  list-style: none;
}

@keyframes floatBee {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(2px, -6px); }
  50%  { transform: translate(0, -10px); }
  75%  { transform: translate(-2px, -6px); }
  100% { transform: translate(0, 0); }
}

/* 蜂 */
.company-info::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;

  width: 150px;
  height: 150px;

  background: url(../img/honeybee.png) no-repeat center / contain;

  animation: floatBee 3s ease-in-out infinite;
}

.company-info li {
  display: flex;
  flex-direction: column;
  padding: 15px 0;
  border-bottom: 1px solid #eaeaea;
}



/* =====================
   MAP（カード風）
===================== */
.map {
  margin-top: 30px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgb(0, 0, 0);
}

.contact-cta{
  text-align: center;
  margin-top: 60px;
}

.cta-btn{
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #ff8d22eb;
  color: #ff8d22eb;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover{
  background: #ff8d22eb;
  color: #000;
  border-radius: 10px;
}


/* footer */

.footer{
background:#1c8c87;
color:#f7f7f7;
padding:60px 20px;
}

.footer-inner{
max-width:1100px;
margin:auto;
text-align:center;
}

.footer-logo{
font-size:20px;
font-weight:bold;
margin-bottom:30px;
}

.footer-logo img{
  width: 100px;
}
.footer-nav{
display:flex;
justify-content:center;
gap:30px;
margin-bottom:30px;
}

.footer-nav a{
color:#f7f7f7;
text-decoration:none;
opacity:0.8;
}

.footer-nav a:hover{
opacity:1;
}

.copyright{
font-size:13px;
opacity:0.6;
}


/* ===== overlay ===== */

.overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100vh;

background:rgba(0,0,0,.4);

opacity:0;
visibility:hidden;

transition:.3s;
}

#menu-btn:checked ~ .overlay{
opacity:1;
visibility:visible;
}

#menu-btn:checked + .btn span{
background:transparent;
}

#menu-btn:checked + .btn span::before{
transform:rotate(45deg);
}

#menu-btn:checked + .btn span::after{
transform:rotate(-45deg);
}


/* ===== hamburger ===== */

#menu-btn{
display:none;
}

.btn{
display:flex;
align-items:center;
justify-content:center;

width:60px;
height:60px;
background:#1c8c87;
backdrop-filter:blur(10px);
cursor:pointer;
border-radius:50%;
box-shadow:0 8px 20px rgba(0,0,0,.15);
cursor:pointer;
z-index:2000;
}

.btn span{
display:block;
width:34px;
height:3px;
background:#fff;
position:relative;
}

.btn span::before,
.btn span::after{
content:"";
position:absolute;
left:0;
width:32px;
height:3px;
background:#333;
transition:.3s;
}

.btn span::before{
top:-10px;
}

.btn span::after{
top:10px;
}

#menu-btn:checked + .btn span{
background:transparent;
}

#menu-btn:checked + .btn span::before{
transform:rotate(45deg);
top:0;
}

#menu-btn:checked + .btn span::after{
transform:rotate(-45deg);
top:0;
}



/* レスポンシブ */
@media (max-width:900px){

  .logo img{
    width: 100px;
  }


/* ハンバーガー */

.btn{
display:flex;
}

.nav-menu{
flex-direction:column;   /* ←縦並び */
align-items:flex-start;  /* ←左揃え */
gap:30px;

width:100%;

}

.nav-menu li{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,0.3);
    width:100%;
  }

  .nav-menu li:last-child{
    border-bottom:none;
  }


/* ナビカード */

.nav-card{
position:fixed;

top:0;
left:-100%;

width:50%;
height:60vh;

background:rgba(255,255,255,0.3);
backdrop-filter:blur(10px);

flex-direction:column;
justify-content:center;

transition:.3s ease;
}

#menu-btn:checked ~ .nav-card{
left:0;
}

.hero-logo{
width:260px;
}

.project-inner h2{
font-size:28px;
}
#company h2{
    font-size: 32px;
    margin-top: 80px;
    margin-bottom: 40px;
  }

  #company h2::before,
  #company h2::after{
    width: 40px;
    height: 1px;
  }

}


@media (min-width:901px){

.btn{
display:none;
}
}

@media (min-width: 768px) {

  .bg-logo img{
    width: 250px;
  }
  .company-info li {
    justify-content: flex-start;
  }

  .company-info span {
    width: 200px;
  }
  
  .section {
    padding: 120px 40px;
  }

@media (max-width: 600px){

  #company h2::before,
  #company h2::after{
    content: none;
  }

  #company h2{
    font-size: 26px;
    margin-top: 60px;
  }
#company h2::before,
  #company h2::after{
    content: none;
}
 
}
}