@charset "UTF-8";

/* ============================= */
/* 共通設定 */
/* ============================= */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background-color: #f7fdf9;
  padding-top: 80px; /* ヘッダーの高さ分余白を確保 */
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ヘッダー*/
.header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  height: 70px;          /* ヘッダーの高さを固定 */
  box-sizing: border-box;
}

.logo img {
  display: block;
  height: 35px;
  margin-left: 20px;
}

.insta-icon img {
  height: 40px;
  margin-right: 20px;
}

.Itsumo_logo img{
  height: 30px;
  margin-right: 5px;
}

/* ============================= */
/* ▼ ナビゲーション（PC） */
/* ============================= */
.nav {
  position: static;
  background-color: transparent;
  box-shadow: none;
  transition: none;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li a {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  height: 70px;          /* ヘッダーの高さと揃える */
  line-height: 70px;     /* 青いライン中央で揃える */
  box-sizing: border-box;
}


/* ============================= */
/* ▼ ハンバーガーメニュー（共通） */
/* ============================= */
.menu-btn {
  width: 30px;
  height: 18px;
  display: none;  /* PCでは非表示、スマホで表示 */
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* 開閉アニメーション */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================= */
/* ▼ スマホ用レイアウト */
/* ============================= */
@media screen and (max-width: 768px) {

  /* ハンバーガーメニューを表示 */
  .menu-btn {
    display: flex;
  }

  /* ナビゲーションを非表示にして右から出す */
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: 0.3s;
    padding-top: 0;
  }

  /* 開いたとき */
  .nav.open {
    right: 0;
  }

  /* ナビを縦並びに */
  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li {
    padding: 12px 24px;
    border-bottom: 1px solid #eee;
  }

  .nav li a {
    height: auto;
    line-height: 1.6;
  }
}


main {
  margin: 0 auto;
  padding: 20px;
  max-width: 1200px;
  box-sizing: border-box;
}


/* ============================= */
/* 共通セクションデザイン */
/* ============================= */

/* メイン */
.itsumo-container {
  max-width: 1000px;
  margin: 60px auto 60px;
  padding: 0 20px;
}

/* 紹介カード */
.intro-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 60px;
}
.intro-card h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}
.intro-card .itsumo-logo img {
  width: 150px;
  margin-bottom: 20px;
}
.intro-card h3 {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.intro-card p {
  font-size: 1rem;
  line-height: 1.8;
}



/* 試作品カードエリア */
.samples h2 {
  font-size: 1.8rem;
  color: #333;
  text-align: left;
  margin-bottom: 30px;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.sample-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sample-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.sample-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body {
  padding: 20px;
  text-align: left;
}
.card-body h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}
.card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* 問い合わせセクション */
.contact-links {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 40px 30px;
  text-align: center;
  margin-top: 60px;
}
.contact-links h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 10px;
}
.contact-links p {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sns-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s ease;
}

.line-btn {
  background-color: #60ef9a;
}
.insta-btn {
  background-color: #f58c9f;
}
.sns-links a img {
  width: 28px;
  height: 28px;
}
.sns-links a:hover {
  opacity: 0.8;
}


/* フッター */
footer {
  background-color: #ffffff;
  color: #000000;
  padding: 20px 0;
  text-align: center;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0 0 10px;
  align-items: center;
}

.footer-nav li {
  margin: 0 12px;
}


/* ============================= */
/* ▼ レスポンシブ対応 */
/* ============================= */
@media screen and (max-width: 768px) {
  main {
    padding: 10px;
  }

  section {
    padding: 20px;
  }
}
/* ===== Lightboxモーダル ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow: hidden;
}

/* 拡大画像 */
.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 60vh;
  border-radius: 0px;
  padding-top: 80px;
  transition: transform 0.3s ease;
}

/* キャプション */
#caption {
  color: #ccc;
  text-align: center;
  margin-top: 10px;
  font-size: 16px;
}

/* 閉じるボタン */
.close {
  position: absolute;
  top: 1%;
  right: 35px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #bbb;
}

/* 前・次ボタン */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: #fff;
  font-weight: bold;
  font-size: 40px;
  transition: 0.3s;
  user-select: none;
}
.prev:hover, .next:hover {
  color: #bbb;
}
.prev { left: 0; }
.next { right: 0; }

/* スマホ対応（タップしやすいように） */
@media (max-width: 768px) {
  .prev, .next { font-size: 60px; }
}