@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:#4fc3bd;
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:#4fc3bd;

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);
}

/* メイン */

.contact-section{
  padding: 100px 20px;
  background: #4fc3bd;
  color: #413229;
}

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

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

.contact-inner{
  max-width: 700px;
  margin: 0 auto;
}

/* タイトル */
.contact-section h2{
  font-size: 36px;
  margin-bottom: 10px;
  text-shadow: 20px 0 20px rgba(1, 0, 0, 0.426);
}

.contact-section span{
  display: block;
  font-size: 16px;
}

/* リード */
.contact-lead{
  font-size: 16px;
  margin-bottom: 40px;
  opacity: 0.8;
}

/* フォーム */
.form-group{
  margin-bottom: 25px;
  background: rgba(59, 42, 1, 0.07);
  border-radius: 10px;
}

.form-group label{
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.required{
  font-size: 10px;
  color: #00ff55;
  margin-left: 5px;
}

/* 入力 */
input, select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(254, 132, 2, 0.878);
  background: transparent;
  color: #413229;
  border-radius: 6px;
  outline: none;
  transition: 0.3s;
}

/* フォーカス */
input:focus, textarea:focus, select:focus{
  border-color: #00ff55;
  box-shadow: 0 0 10px rgba(0,255,85,0.3);
}

/* ボタン */
.submit-btn{
  width: 100%;
  padding: 14px;
  border: none;
  background: #ff8d22eb;
  color: #413229;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
  position: relative;
  perspective: 600px;
}

.btn-text{
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* ホバー */
.submit-btn:hover .btn-text{
  transform: rotateX(360deg);
}


/* 補足 */
.contact-note{
  font-size: 12px;
  margin-top: 20px;
  opacity: 0.6;
}

/* 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;
}

}


@media (min-width:901px){

.btn{
display:none;
}
}