@charset "utf-8";

/* -------------------------
   ベース設定
------------------------- */
html {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
}

/* 見出し：段階をそろえる */
h1 { font-size: 2.1rem; font-weight: 900; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }

/* 本文：16pxを基準に */
p,
li,
td,
th {
  font-size: 1rem;
  line-height: 1.8;
}

/* 価格などの補足 */
.price-note {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* 小さめテキスト系 */
.small,
.event-date {
  font-size: 0.95rem;
}

/* -------------------------
   イベント セクション
------------------------- */
.s01 {
  margin: 72px auto 40px;
  padding: 0 16px;
  text-align: center;
  display: block;          /* ★ 横並びをやめて縦並びにする */
}

.s01 h2 {
  position: relative;
  display: inline-block;
  padding: 6px 0 18px;
  color: #020617;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;      /* 「イベント情報」を1行で表示 */
}

/* イベントなしのときの文章 */
.s01 > p {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.s01 h2::before {
  content: "EVENTS";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ca3af;
}

.s01 h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #22c55e;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 24px auto 56px;   /* 見出しとの間を少し狭める */
  max-width: 1100px;
  text-align: left;
}


.event-list li {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s ease;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.event-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(34,197,94,0.5), rgba(59,130,246,0.35)) border-box;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.event-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  border-color: transparent;
}

.event-list li:hover::before {
  opacity: 1;
}

.event-list li img {
  width: 100%;
  height: 15.5rem;
  object-fit: cover;
  background: #020617;
  filter: saturate(1.05);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-list li:hover img {
  transform: scale(1.03);
}

.event-content {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #10b981;
}

.event-date::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.event-content h3 {
  margin: 0;
  color: #0f172a;
  line-height: 1.45;
  font-weight: 700;
  font-size: 1.05rem;
}

.event-content p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .s01 {
    margin: 56px auto 32px;
  }

  .event-list {
    gap: 18px;
    margin: 30px auto 40px;
  }

  .event-list li {
    border-radius: 16px;
  }

  .event-content {
    padding: 16px 16px 18px;
  }
}


/* -------------------------
   cooperation セクション
------------------------- */
.cooperation-wrap {
  background: #f9f9f9;
  padding: 40px 20px;
}

.cooperation-card {
  max-width: 950px;
  margin: 0 auto;
  background: #fff;
  border: 4px solid #2ecc71;
  border-radius: 20px;
  padding: 2.2rem;
}

.cooperation-card h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

.cooperation-card h2 .sp-br {
  display: none;
}

.cooperation-card ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 25px;
}

.cooperation-card ul li {
  margin-bottom: 14px;
  font-weight: bold;
  color: #0073e6;
}

.cooperation-card .strong {
  font-weight: bold;
  text-align: center;
  margin-top: 25px;
}

.cooperation-card .price-note {
  font-weight: bold;
  color: #e60033;
  text-align: center;
  margin-top: 15px;
}

.sp {
  display: none;
}

/* -------------------------
   eco セクション
------------------------- */
.eco-section {
  border: 3px solid #4ee37e;
  border-radius: 12px;
  padding: 20px 30px;
  max-width: 800px;
  margin: 60px auto;
  background: #fff;
  box-sizing: border-box;
}

.eco-header {
  text-align: center;
  background: #4ee37e;
  color: #fff;
  font-weight: bold;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.eco-header span {
  display: block;
  font-size: 1.2rem;
  margin-top: 5px;
}

.eco-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.eco-point {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* ★ アイコンを大きく */
.eco-icon {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 画像も少し大きめにフィット */
.eco-icon img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  display: block;
}

.eco-text h3 {
  margin: 0 0 5px;
  color: #222;
}

.eco-text p {
  color: #333;
}

/* スマホでも大きめ維持 */
@media (max-width: 600px) {
  .eco-icon {
    width: 68px;
    height: 68px;
  }
}


/* -------------------------
   会社概要
------------------------- */
.company-box {
  display: flex;
  justify-content: center;
  margin: 50px auto;
  padding-bottom: 10px;
}

.company-box table {
  border-collapse: collapse;
  width: 90%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 600px;
}

.company-box tr {
  border: 2px solid #000;
}

.company-box th {
  width: 30%;
  text-align: center;
  background-color: #59f961;
  color: black;
  padding: 10px 0;
}

.company-box td {
  width: 70%;
  text-align: left;
  background-color: #fff;
  padding: 10px 20px;
}

/* -------------------------
   スマホカード型表示
------------------------- */
@media (max-width: 800px) {
  .company-box {
    padding: 0 15px;
  }

  .company-box table {
    width: 100%;
    max-width: 500px;
    min-width: auto;
    margin: 0 auto;
  }

  .company-box tr,
  .company-box td,
  .company-box th {
    display: block;
    width: 100%;
  }

  .company-box thead {
    display: none;
  }

  .company-box tr {
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    background: #fff;
    border: none;
  }

  .company-box td {
    text-align: left;
    padding: 12px 15px 12px 12px;
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    min-height: 50px;
  }
}

/* -------------------------
   商品・提案内容 s03
------------------------- */
.title_name_s00_all {
  text-align: center;
  font-size: 1.7rem;
}

@media only screen and (max-width: 740px) {
  .title_name_s00_all {
    font-size: 1.3rem;
  }

  .sp_small {
    width: 50%;
    margin: auto;
  }
}

/* -------------------------
   相談窓口 s02
------------------------- */
.s02 {
  margin: 100px 0;
}

.sekou_img {
  margin: 30px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 740px) {
  .s02 {
    margin: 50px 0;
  }
}

/* -------------------------
   バナー（banner）
------------------------- */
.banner {
  position: relative;
  background: linear-gradient(135deg, #7be27d, #c6f7c8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.5), transparent 70%);
  transform: rotate(-10deg);
}

.banner-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* 画像パネル */
.image-panel {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  position: relative;
}

.image-panel img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  object-fit: cover;
}

/* 文字パネル */
.text-panel {
  flex: 0 0 auto;
  position: relative;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 28px 32px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  margin-left: -120px;
  transform: rotate(-2deg);
  transition: transform 0.3s ease, margin-left 0.3s ease;
}

.text-panel:hover {
  transform: rotate(0deg);
}

/* バナー内テキスト */
.kicker {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #333;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 14px;
  color: #444;
}

.cta {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f8a34;
  text-decoration: none;
  margin-top: 6px;
}

.cta::after {
  content: "→";
  margin-left: 6px;
}

/* タブレット表示 (601px〜1000px) */
@media (max-width: 1000px) and (min-width: 601px) {
  .banner {
    padding: 36px 20px;
  }

  .banner-inner {
    gap: 16px;
  }

  .text-panel {
    margin-left: -80px;
    max-width: 320px;
    padding: 22px 26px;
    transform: rotate(-1deg);
  }

  .kicker {
    font-size: 1.15rem;
  }

  .lead {
    font-size: 1rem;
  }

  .cta {
    font-size: 0.9rem;
  }

  .image-panel img {
    max-width: 360px;
  }
}

/* スマホ表示 (<600px) */
@media (max-width: 600px) {
  .banner {
    padding: 24px 16px;
  }

  .banner-inner {
    flex-direction: column;
    align-items: center;
  }

  .image-panel img {
    max-width: 80%;
    max-height: 180px;
  }

  .text-panel {
    position: relative;
    margin-left: 0;
    margin-top: -20px;
    max-width: 90%;
    padding: 18px 22px;
    transform: none;
  }

  .kicker {
    font-size: 1.05rem;
  }

  .lead {
    font-size: 0.95rem;
  }

  .cta {
    font-size: 0.9rem;
  }
}

/* -------------------------
   バナー（banner1）
------------------------- */
.banner1 {
  background: linear-gradient(135deg, #e6f7e9, #f9fff7);
  height: 450px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.banner1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../../images/home/soudan.png") no-repeat center / cover;
  opacity: 0.35;
  pointer-events: none;
  filter: blur(2px);
}

.text-box {
  background: rgba(255, 255, 255, 0.85);
  padding: 25px 40px;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.banner1 h1 {
  margin: 0 0 12px;
  color: #2a2a1f;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.banner1 p {
  font-weight: 600;
  color: #4b4b3e;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.4;
}

.items {
  display: flex;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.item {
  text-align: center;
}

.item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  margin-bottom: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.item span {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: #555;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.item.red span {
  color: #d9534f;
}

.item.green span {
  color: #5cb85c;
}

.item.orange span {
  color: #f0ad4e;
}

@media (max-width: 768px) {
  .banner1 {
    height: auto;
    padding: 30px 20px;
  }

  .text-box {
    padding: 20px 25px;
  }

  .banner1 h1 {
    font-size: 1.6rem;
  }

  .banner1 p {
    font-size: 1rem;
  }

  .item img {
    width: 120px;
    height: 120px;
  }

  .item span {
    font-size: 0.95rem;
  }

  .items {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .banner1 h1 {
    font-size: 1.4rem;
  }

  .banner1 p {
    font-size: 0.95rem;
  }

  .item img {
    width: 100px;
    height: 100px;
  }

  .item span {
    font-size: 0.9rem;
  }

  .items {
    gap: 20px;
  }
}

/* =========================================================
   HERO base（PC）
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  height: clamp(380px, 48vw, 520px);
  overflow: hidden;
  background: #0f172a; /* 予備背景 */
  isolation: isolate;
}

/* 背景動画 */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05); /* ほんの少し鮮やかに */
}

/* 動画の上にうっすら重ねるグラデ（暗くしすぎない） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      110deg,
      rgba(7, 11, 31, 0.38) 0%,   /* 0.58 → 0.38：暗さを弱める */
      rgba(7, 11, 31, 0.16) 46%,  /* 0.18 → 0.16 */
      rgba(7, 11, 31, 0.00) 100%
    ),
    radial-gradient(circle at top, rgba(67,210,114,0.18), transparent 55%);
  z-index: 1;
  backdrop-filter: blur(3px); /* 背景を少しだけぼかす → 動画感は残す */
}

/* デコ */
.hero__decor {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(2px); /* ほんのりぼかし */
}

.hero__decor--1 {
  width: 150px;
  height: 150px;
  top: 18%;
  right: 7%;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), rgba(255,255,255,0));
}

.hero__decor--2 {
  width: 220px;
  height: 110px;
  bottom: 6%;
  right: 15%;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

/* オーバーレイ：PCでは下寄せ＋横幅広め */
.hero__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: min(1380px, 100%);                 /* 1180 → 1380 で横幅ゆったり */
  margin: 0 auto;
  display: flex;
  align-items: flex-end;                         /* 下寄せ */
  justify-content: flex-start;
  padding: 0 clamp(1.3rem, 3vw, 3.5rem) 2.6rem; /* 下を少し浮かせる */
}

/* ==========================
   HERO card
   ========================== */
.hero-card {
  background:
    radial-gradient(circle at top, rgba(15,118,110,0.08), rgba(15,23,42,0.22));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 1.4rem;
  padding: 1.5rem 1.8rem 1.6rem;
  max-width: 600px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 12%;
  width: 3px;
  height: 76%;
  background: linear-gradient(180deg, #a2ff78 0%, #3cd83c 100%);
  border-radius: 999px;
  animation: pulsebar 2.4s ease-in-out infinite;
  box-shadow: 0 0 14px rgba(162,255,120,0.6);
}

@keyframes pulsebar {
  0%, 100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.6);
    opacity: 0.6;
  }
}

.hero-badge {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  padding: .35rem .8rem .35rem .65rem;
  background: rgba(15,23,42,0.45);    /* ちょっと濃いめのタグにして動画を透かす */
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #7aff40, #0f0);
  box-shadow: 0 0 10px rgba(122,255,64,0.8);
}

.main-title {
  margin: 0 0 1rem 0;
}

.main-title__brand {
  display: block;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: .04em;
}

.main-title__desc {
  display: block;
  margin-top: .6rem;
  font-size: clamp(.9rem, 2vw, 1.05rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.8);
}

.hero-lead {
  margin: 0 0 1.2rem;
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

/* ==========================
   HERO 高さ調整（PC→タブレット）
   ========================== */
@media (max-width: 992px) {
  .hero {
    height: clamp(340px, 54vw, 480px);
  }
}

/* ==========================
   HERO モバイル
   ========================== */
@media (max-width: 768px) {
  .hero {
    position: relative;
    background: #fff !important;
    height: auto !important;
    min-height: 340px;
    overflow: hidden;
  }

  .hero::before {
    display: none !important;  /* SPではグラデOFF → 動画をそのまま見せる */
  }

  .hero__decor,
  .hero__decor--1,
  .hero__decor--2 {
    display: none !important;
  }

  .hero__video {
    position: static !important;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #fff !important;
  }

  /* 下にかぶせるレイアウト */
  .hero__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    padding: 0 12px 12px;
    height: auto;
    display: block;
    z-index: 3;
  }

  .hero-card {
    width: 100%;
    max-width: none;
    padding: .85rem 1rem .9rem;
    border-radius: 1rem;
    background: rgba(3,7,18,0.40); /* 0.46 → 0.40 にして動画を少し感じやすく */
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }

  .hero-lead {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-card {
    padding: .7rem .85rem .8rem;
  }

  .main-title__brand {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
  }

  .main-title__desc {
    font-size: clamp(.85rem, 3.7vw, .95rem);
  }

  .hero-card::before {
    top: 16%;
    height: 68%;
  }
}
