
:root{
  --brown-dark:#000;
  --brown-mid:#fff;
  --accent:#000;
  --bg:#fff;
  --text:#222;
  --max-width:1200px;
}

*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:"Noto Sans JP",sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
}

/* ========== PC用ヘッダー ========== */
header {
  color:#000;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
}
.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
}
.brand img {
  width: 200px;
  padding: 10px 10px;
  margin-top: 5px;
}
@media screen and (max-width:600px){
  .brand img {
    padding: 30px 10px;
    margin-left: 10px;
  }
}
.picture {
  box-sizing: content-box;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color:#000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
header nav a:hover {
  opacity:.8;
}
.contact-btn {
  background: var(--accent);
  color:#fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
}

/* 600px以下ではPC用ナビ非表示 */
@media screen and (max-width: 600px) {
  header nav {
    display: none;
  }
  #siteHeader {
    display: none;
  }
}

/* ========== ハンバーガー（スマホ用） ========== */
.hamburger-fade {
  display: none; /* デフォルトは非表示（PC用） */
}

@media screen and (max-width: 600px) {
  .hamburger-fade {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  /* スマホ用ヘッダーを有効化 */
  .siteHeader-s {
    display: block;
  }
}

/* 600px以上ではスマホ用は非表示 */
@media screen and (min-width: 600px) {
  .siteHeader-s {
    display: none;
  }
}

.hamburger-fade__wrapper {
  position: relative;
  width: 30px;
  height: 20px;
  margin: 20px auto;
}
.hamburger-fade__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.hamburger-fade__line:nth-child(1) { top: 0; }
.hamburger-fade__line:nth-child(2) { top: 9px; }
.hamburger-fade__line:nth-child(3) { top: 18px; }
.hamburger-fade.active .hamburger-fade__line {
  background-color: #fff;
}
.hamburger-fade.active .hamburger-fade__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger-fade.active .hamburger-fade__line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}
.hamburger-fade.active .hamburger-fade__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ========== フェードメニュー ========== */
.nav-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  visibility: hidden;
  z-index: 900;
}
.nav-fade__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-fade.active {
  visibility: visible;
}
.nav-fade.active .nav-fade__bg {
  opacity: 1;
}
.nav-fade__wrapper {
  position: relative;
  display: block;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 5vh 10vw;
}
.nav-fade__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-fade__item {
  position: relative;
  margin-bottom: 2vh;
  padding-left: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}


.nav-fade.active .nav-fade__item {
  opacity: 1;
  transform: translateY(0);
}
.nav-fade.active .nav-fade__item:nth-child(1) { transition-delay: 0.2s; }
.nav-fade.active .nav-fade__item:nth-child(2) { transition-delay: 0.3s; }
.nav-fade.active .nav-fade__item:nth-child(3) { transition-delay: 0.4s; }
.nav-fade.active .nav-fade__item:nth-child(4) { transition-delay: 0.5s; }
.nav-fade.active .nav-fade__item:nth-child(5) { transition-delay: 0.6s; }
.nav-fade.active .nav-fade__item:nth-child(6) { transition-delay: 0.7s; }

.nav-fade__number {
  position: absolute;
  left: 0;
  color: #666;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}
.nav-fade__link {
  display: inline-block;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-fade__link:hover {
  color: #4a90e2;
}
.nav-fade__info {
  margin-top: auto;
  padding-left: 60px;
  color: #666;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
}
.nav-fade.active .nav-fade__info {
  opacity: 1;
  transform: translateY(0);
}
.nav-fade__address,
.nav-fade__tel {
  margin: 5px 0;
}

/* PC用にフォントサイズを少し小さく */
@media (min-width: 768px) {
  .nav-fade__link {
    font-size: 24px;
  }
  .nav-fade__item {
    padding-left: 40px;
    margin-bottom: 1.5vh;
  }
  .nav-fade__info {
    padding-left: 40px;
  }
}

/* hero */
.hero{
  background:
    linear-gradient(180deg,rgba(0,0,0,0.5),rgba(0,0,0,0.5)),
    url(../images/sample.jpg) center/cover no-repeat;
  color:#fff;
  text-align:center;
  padding:180px 20px;
  margin-top: 0px;
}
.hero h1{
  font-size:70px;
  font-weight:700;
  margin-right: 0px;
  margin-left: auto;
  margin-top: 0px;
  letter-spacing: 0.06em;
  line-height: 1.2em;
  position: relative;
  z-index: 10;
}
.hero p{
  margin-top:16px;
  font-size:14px;
  max-width:700px;
  margin-left:auto;
  margin-right:auto;
  opacity: 70%;
}

@media(max-width:600px){
  .hero{
    margin-top: -10px;
    padding: 250px 20px;
  }

  .hero h1{
    font-size: 50px;
    letter-spacing: 0.12em;
    margin-top: -120px;
  }
}

/* about */
#about {
  background-repeat: no-repeat;
  background-position: left center;  /* 左側に配置 */
  background-size: 300px auto;       /* 幅を指定（高さは自動調整） */
  background-attachment: scroll;     /* 背景固定したいなら fixed */
  position: relative;
  overflow: hidden;
}

/* 擬似要素でロゴを配置 */
#about::before {
  content: "";
  position: absolute;
  top: 45%;
  left: 180px;
  transform: translateY(-50%); /* 縦方向中央に配置 */
  background: url(../images/logo2.png) no-repeat left center;
  background-size: 350px auto;   /* サイズ調整 */
  width: 350px;   /* 背景サイズと合わせる */
  height: 350px;
  opacity: 0.1;   /* ←ここで透過具合を調整（0.05〜0.2くらいがおすすめ） */
  pointer-events: none; /* クリック操作に干渉しない */
  z-index: 0;     /* 背景に置く */
}

@media screen and (max-width:600px) {
  #about::before{
    left:10px;
  }
}

/* コンテンツを前面に */
#about .about-box,
#about .section-head,
#about .service-btn {
  position: relative;
  z-index: 1;
}

/* 既存のコード */
.about-box {
  display: flex;
  width: 85%;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 50px;
}

.aboutus {
  font-weight: 800;
  color: #777;
}

.column-1 {
  width: 47%;
  font-size: 20px;
}

.column-2 {
  width: 47%;
}

.column-2 p{
  color: #555;
  font-size: 15px;
}

@media(max-width:600px) {
  #about {
    background-position: center top;  /* スマホでは上に移動する */
    background-size: 200px auto;      /* スマホ用に少し小さく */
  }
  .about-box {
    display: block;
  }
  .column-1 {
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
  }
  .column-2 {
    width: 100%;
  }
}




/* section common */
section{
  max-width: 1200px;
  margin:60px auto;
  padding:20px 20px;
}
.section-head{margin-bottom:24px;text-align:center}
.section-head h2{font-size:26px;margin-bottom:6px;color:var(--brown-dark)}
.section-head .lead{color:#666;font-size:14px}

/* two-column */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
@media(max-width:900px){.two-col{grid-template-columns:1fr}}

/* services */

.services{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px
}

@media(max-width:900px){.services{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.services{grid-template-columns:1fr}}
.card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 4px 10px rgba(0,0,0,0.1)}
.card img{width:100%;display:block;height:180px;object-fit:cover}
.card .body{padding:16px}
.card h3{margin-bottom:8px;font-size:18px}
.card p{font-size:14px;color:#555}

.service-btn{
  width: 200px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 30px;
  border-radius: 30px;
  background-color: #000;
  text-align: center;
}

.service-btn a{
  color: #fff;
  font-size: 13px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.09em;
  padding: 10px;
  text-decoration: none;
}

/* environment */
.env-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
@media(max-width:800px){.env-grid{grid-template-columns:1fr}}

/* recruit */
.recruit-box{
  background:#f4f4f4;
  padding-top:40px;
  padding-bottom: 20px;
  margin:0 auto;
  max-width: 850px;
  border-radius:8px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08)
}
.recruit-grid{
  display:grid;
  width: 70%;
  margin: 0 auto;
  grid-template-columns:repeat(2,1fr);
  gap:20px
}

@media(max-width:700px){
  .recruit-grid{
    grid-template-columns:1fr}
  }
  
.recruit-box h4{
  margin-bottom:6px;
  color:#777}

.recruit-box ul{
  padding-left:20px
}
.recruit-box li{
  margin:4px 0
}

/* casestudy */
.casestudy-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px
}

@media(max-width:700px){
  .casestudy-list{
    grid-template-columns:1fr
  }
}
.casestudy-item{
  background:#fff;
  padding:16px;
  border-radius:8px;
  box-shadow:0 4px 10px rgba(0,0,0,0.06)
}
.casestudy-item .meta{
  font-size:12px;
  color:#888;
  margin-bottom:8px;
}

.casestudy-item h3{
  color: #000;
}

.casestudy-item p{
  color: #555;
  font-size: 14px;
}
.casestudy-item a{
  text-decoration: none;
}
.check{
  width: 200px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 30px;
  background-color: #555;
  text-align: center;
}

/* contact */
.contact-cover{
  background-image: url(../images/sample.jpg);
  filter: grayscale(100%);
  padding: 150px;
  background-position: center;
  background-size: cover;
}

.contact-box{
  text-align: center;
  margin: 0 auto;
}

.contact-box p{
  color: #fff;
}

@media(max-width:600px){
.contact-cover{
  padding: 70px;
}
}


/* instagram */
#instagram{
  background-color: #f4f4f4; 
  padding-top: 80px; 
  padding-bottom: 100px;
  margin-bottom: 0px;
}
@media(max-width:600px){
  #instagram{
    padding-bottom: 0px;
  }
  }

.instagram-box {
  text-align: center;   /* 子要素を中央寄せ */
  margin: 0 auto;
  padding: 20px;
}

.instagram-box p{
  padding-bottom: 30px;
  color: #777;
}

.instagram-iframe {
  border: none;
  overflow: hidden;
  width: 90%;
  max-width: 60%;   /* PCサイズの時は画面の6割まで */
  height: 450px;
  display: block;
  margin: 0 auto;   /* 中央に配置 */
}

/* ipad（768px以下 600以上）のとき */
@media screen and (max-width: 768px ) {
  .instagram-iframe {
    height: 300px;     /* 高さは自動で調整（固定が必要ならpxで指定可） */
  }
}

/* スマホ（600px以下）のとき */
@media screen and (max-width: 600px) {
  .instagram-iframe {
    max-width: 100%;  /* 画面幅いっぱい */
    height: 270px;     /* 高さは自動で調整（固定が必要ならpxで指定可） */
    aspect-ratio: 1 / 1; /* 正方形にしたい場合。不要なら削除 */
  }
}

.instagram-icon {
  display: inline-block;
  margin-top: 25px;
  font-size: 32px;       /* アイコンサイズ */
  color: #777;        /* Instagramカラー */
  text-decoration: none;
  transition: 0.3s ease;
}

@media screen and (max-width: 600px) {
  .instagram-icon {
    margin-top: 0px;
    margin-bottom: 20px;
}
}

.instagram-icon:hover {
  color: #555;        /* ホバー時に濃いめカラー */
  transform: scale(1.2); /* ふわっと拡大 */
}

/* footer */
footer{
  text-align:center;
  padding:40px 20px;
  color:#fff;
  background-color: #000;
  font-size:14px;
  max-width: 1200px;
  margin: auto;
}


/* service-page */

/* heading */
.heading{
  background:
    linear-gradient(180deg,rgba(0,0,0,0.5),rgba(0,0,0,0.5)),
    url(../images/sample.jpg) center/cover no-repeat;
  color:#fff;
  text-align:center;
  font-size: 30px;
  padding:130px 20px;
  margin-top: 0px;
}
@media(max-width:600px){
  .heading{
    margin-top: -10px;
    padding:50px 20px;
  }
  .page-title{
    font-size: 30px;
  }
}

.heading a{
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}
.sep {
  font-size: 15px;
}

.content{
  display: flex;
  margin: 0 auto;
  padding: 20px 30px;
}

.content-text{
  width: 47%;
}

.c-body{
  font-size: 14px;
  color: #333;
}

.content-img{
  width: 47%;
  padding-left: 50px;
}

.content-img img{
  max-width: 90%;
}

.small-title{
  font-size: 22px;
  padding: 0px 15px;
  letter-spacing: 0.12em;
  border-left: 7px solid #555;
}

@media(max-width:600px){
  .content{
    display:block;
}
.content-text{
  width: 100%;
}
.content-img{
  width: 100%;
  padding: 0 0;
}
}

/* info page */
.title-box{
  padding-left: 30px;
  padding-top: 85px;
  padding-right: 30px;
  padding-bottom: 60px;
}

.title-table{
  display: inherit;
  height: 60px;
  margin-bottom: 35px;
}

.c-title{
  font-size: 45px;
  display: block;
  width: 100%;
  white-space: nowrap;
}

.c-lead{
  line-height: 0.4;
  padding-top: 14px;
  padding-left: 30px;
}
@media(max-width:600px){
  .title-box{
    padding-bottom: 20px;
  }
  .c-title{
    font-size: 30px;
  }

  .c-lead{
    padding-left:8px;
    padding-top: 10px;
    font-size: 13px;
}
}

.column-box{
  padding-left: 30px;
  padding-right: 30px;
}

@media(max-width:600px){
  .column-box{
    padding-left: 10px;
    padding-right: 10px;
  }
}

.c-list{
  border-top: none 1px rgba(35,35,35,0.15);
  margin: auto;
}
.c-list th{
  border-bottom: solid 1px rgba(35,35,35,0.15);
  vertical-align: top;
  width: 8%;
  text-align: left;
  padding-top: 15px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 0px;
  font-weight: 500;
  font-size: 14px;
}
.c-list td{
  border-bottom: solid 1px rgba(35,35,35,0.15);
  vertical-align: top;
  width: 20%;
  text-align: left;
  padding-top: 15px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 0px;
  font-size: 12px;
}

.mission-p{
  color:#666;
  line-height: 35px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 14px;
}

/* MISSION〜VISION〜VALUE の全体ラッパー */
#mvv-section {
  position: relative;
  overflow: hidden; /* 画像がはみ出したときに隠す */
  z-index: 0;
}

/* 擬似要素で背景画像を右側に配置 */
#mvv-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100px; /* 少しはみ出させる */
  width: 680px;  /* ピラミッド画像の幅 */
  height: 100%;
  background: url("../images/pyramid.png") no-repeat right center;
  background-size: contain;
  opacity: 40%;
  pointer-events: none;
  z-index: 0;
}

/* 本文は前面に */
#mvv-section > * {
  position: relative;
  z-index: 1;
}

@media(max-width:600px) {
  #mvv-section::before {
    right: -330px;
    width: 700px;
    opacity: 20%;
}
}


/* recruit-page */
.recruit-table{
  margin: 0 auto;
  border-top: solid 1px rgba(35,35,35,0.1);
  border-right: none 1px rgba(35,35,35,0.1);
  border-bottom: solid 1px rgba(35,35,35,0.1);
  border-left: none solid 1px rgba(35,35,35,0.1);
  width: 90%;
}

.recruit-table th{
  vertical-align: top;
  padding: 10px;
  text-align: left;
  font-weight: bold;
  font-size: 13px;
  color: #777;
  background-color: #f4f4f4;
  border-left: none 1px rgba(35,35,35,0.1);
  border-right: none 1px rgba(35,35,35,0.1);
  border-bottom: solid 1px rgba(35,35,35,0.1);
  width: 20%;
}
.recruit-table tr:first-child td{
  border-top: 0 none;
  border-bottom: solid 1px rgba(35,35,35,0.1);
}
.recruit-table td{
  vertical-align: top;
  padding: 10px;
  text-align: left;
  border-left: none 1px rgba(35,35,35,0.1);
  border-right: none 1px rgba(35,35,35,0.1);
  border-bottom: solid 1px  rgba(35,35,35,0.1);
  font-size: 12px;
}

@media(max-width:600px){
  .recruit-table th{
    width: 28%;
  }

}

/* form page */
.contact {
  max-width: 700px;
  margin: 50px auto;
  padding: 70px;
  background: #fff;
  border: 1px solid #ddd;
  text-align: center;
}
.contact h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}
.contact p{
  margin: 20px 0 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
}
.form-btn {
  text-align: center;
  margin-top: 30px;
}
button, .btn {
  background: #333;
  color: #fff;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
}
button:hover, .btn:hover {
  opacity: 0.8;
}
.required {
  color: red;
  font-size: 12px;
  margin-left: 5px;
}
.confirm-item {
  margin: 15px 0;
  padding: 10px;
  border-bottom: 1px dashed #ccc;
}