@charset "UTF-8";

/*----------------------------------------------------------
更新日：2025年11月06日
-------------------------------------------------------------*/

/*==============================
  操作パネル非表示
==============================*/
#wpadminbar {
  display: none !important;
}
/* 管理バー分の余白を消す */
html {
  margin-top: 0 !important;
}
/*==============================
  カラーテーマ
==============================*/
:root {
  --color-bg: rgba(12, 12, 30, 1);
  --color-accent: #2563eb;
  --color-accent-dark: #066b43;
  --color-border: #f2f2f2;
  --color-red-accent: #c61619;
  --color-solid-yellow: rgba(239, 237, 38, 0.2);
  --gradient-green: linear-gradient(
    145deg,
    rgba(103, 217, 54, 1) 0%,
    rgba(85, 205, 11, 1) 50%,
    rgba(203, 233, 210, 1) 100%
  );
  --gradient-orange: linear-gradient(
    145deg,
    rgba(252, 0, 0, 1) 0%,
    rgba(247, 93, 37, 1) 50%,
    rgba(252, 176, 69, 1) 100%
  );
}

/*==============================
  基本設定
==============================*/
html {
  scroll-behavior: smooth;
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.breadcrumbs {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  left: 0;
  right: 0;
  padding: 0.5em 0 0;
}
section {
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.5;
}

/*==============================
  汎用コンポーネント
==============================*/
#pageTitle {
	padding-top: 0px;
}
/* カード */
.card {
  background-color: #fff;
  border-radius: 2px;
  padding: 2em;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -2px rgba(0, 0, 0, 0.04);
}

/* グリッド */
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5em;
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
}
/* 見出し */
.title {
  font-size: 1.5em;
  font-weight: bold;
}

/* 吹き出し */
.callout {
  position: relative;
  display: inline-block;
  padding: 0.5em 1.5em;
  border-radius: 5em;
  border: 2px solid var(--color-accent-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 3em;
}

.callout::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 15px 12px;
  border-color: transparent transparent var(--color-accent-dark) transparent;
}

/*==============================
  ヘッダー
==============================*/
.header {
  background-color: var(--color-bg);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  width: 100%;
  height: 70px;
  z-index: 999;
  transition: background-color 0.3s ease;
}

.header .logo-image {
  width: 1.6em;
  margin-right: 10px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

.header-title a {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5em;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.header-title a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.btn-icon {
  width: 1.8em;
}

.btn-primary {
  background: var(--gradient-green);
  display: inline-flex;
  align-items: start;
  gap: 0.2em;
  padding: 0.4em 1.5em;
  transition: all 0.3s ease;
  border-radius: 9999px;
}

/*==============================
  デスクトップメニュー
==============================*/

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 2em;
}

.desktop-menu a {
  color: #fff;
  font-weight: bold;
}

.desktop-menu a:hover {
  transition: all 0.3s ease;
  opacity: 0.5;
}

/*==============================
  heroセクション
==============================*/
.hero-bg {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* ★ここにoverflow:hiddenを移動 */
  z-index: -1; /* テキストやボタンより後ろに配置 */
}

.hero-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-bg .container {
  z-index: 2;
  color: #fff;
}

.hero-bg h1 {
  font-size: 2.6em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5em;
  display: inline-block;
  padding: 0.1em 0.6em 0.2em;
  background-color: var(--color-solid-yellow);
  background-image: var(--gradient-orange);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: reveal-bg 0.3s ease-out 0.5s forwards;
  transform: skewX(-15deg);
}

.hero-bg p {
  font-size: 1.25em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  animation: slideUp 1s ease-out 0.6s forwards;
  max-width: 800px;
  margin: 1em auto 0;
}

.cta-banner {
  line-height: 1.5;
  font-size: 1.25em;
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-green);
  color: #fff;
  padding: 1em 3em;
  border-radius: 6px;
  max-width: 1080px;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: herobtn 1s ease-out 0.8s forwards;
}

.cta-text {
  font-weight: 500;
}

.cta-button,
.btn-secondary {
  display: inline-block;
  background-color: #fff;
  padding: 0.5em 2em;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-button span,
.btn-secondary span {
  white-space: nowrap;
  font-weight: bold;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta-button:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}


/*==============================
  レスポンシブ設定 (PC)
==============================*/
@media only screen and (min-width: 769px) {
  .sponly {
    display: none;
  }
  #hamburger-button,
  #mobile-menu {
    display: none;
  }

  .card li {
    flex-direction: row;
    align-items: center;
    gap: 2em;
  }
}

@media (min-width: 769px) and (max-width: 1079px) {
  .breadcrumbs {
    top: 70px;
  }

  .container,
  .breadcrumbs {
    padding: 0 2.5%;
  }
  .cta-banner,
  .header .container {
    width: 95%;
  }
}

/*==============================
  レスポンシブ設定 (SP)
==============================*/

@media only screen and (max-width: 768px) {
  /* 汎用コンポーネント */
  .pconly {
    display: none;
  }
  .breadcrumbs {
    top: 70px;
  }
  .container {
    margin: 0 auto;
    padding: 0 2.5%;
  }
  .header .container,
  .breadcrumbs {
    width: 95%;
  }
  .desktop-menu {
    display: none;
  }
  /* 吹き出し */
  .callout {
    padding: 0.5em 2em;
    font-size: 0.875em;
    line-height: 1.5;
  }
  .callout::before {
    top: -13px;
    border-width: 0 9px 12px 9px;
  }

  .header-title a {
    font-size: 1.2em;
  }

  .hero-bg {
    height: 80vh;
  }

  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  .grid-4-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }

  .card {
    padding: 1em;
  }
  /*  headerセクション */
  .header .logo-image {
    width: 1.2em;
  }
  /* モバイルメニューセクション */
  #hamburger-button {
    display: grid; /* Flexbox から Grid に変更 */
    grid-template-rows: 1fr 1fr 1fr; /* 3つの均等な行を作成 */
    align-items: center; /* 各行のバーを垂直方向中央に */
    width: 50px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
  }

  #hamburger-button .bar {
    grid-column: 1; /* すべて1列目に配置 */
    width: 100%;
    height: 4px;
    background-color: var(--color-border);
    border-radius: 2px;
    transition: all 0.4s ease;
    transform-origin: center;
  }
  #hamburger-button .bar:nth-child(1) {
    grid-row: 1;
  }
  #hamburger-button .bar:nth-child(2) {
    grid-row: 2;
  }
  #hamburger-button .bar:nth-child(3) {
    grid-row: 3;
  }

  #hamburger-button.active .bar {
    /* ★重要：すべてを中央の行(2行目)に集める */
    grid-row: 2;
  }

  #hamburger-button.active .bar:nth-child(1) {
    transform: rotate(45deg);
  }
  #hamburger-button.active .bar:nth-child(2) {
    opacity: 0;
  }
  #hamburger-button.active .bar:nth-child(3) {
    transform: rotate(-45deg);
  }

  #mobile-menu {
    font-weight: bold;
    background: #fff;
    border-top: 1px solid var(--color-border);
    text-align: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  #mobile-menu a {
    display: block;
    padding: 1em;
    border-bottom: 1px solid var(--color-border);
  }

  #mobile-menu .btn-primary {
    color: var(--color-border);
  }

  #mobile-menu a:hover {
    background: var(--color-bg);
  }

  #mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
