@charset "UTF-8";

body {
  margin: 0;
  font-family: sans-serif;

  background-image: url("image/decoration/galaxy.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  background-color: #05010d;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: rgba(0,0,20,0.35);

  pointer-events: none;
}

/* ===== ヘッダー ===== */

/* ===== ハンバーガー初期非表示 ===== */
.hamburger {
  display: none;
}

header {
  color: white;
  padding: 10px 20px;
   background: transparent;
}

.header-inner {
     display: inline-flex; /* ← 横幅を中身だけにする */
  align-items: center;
  gap: 20px;

  position: relative;

  padding:
    14px 80px 14px 24px;

  background:
    linear-gradient(
      180deg,
      rgba(5,5,20,0.95),
      rgba(0,0,0,0.98)
    );
  /* 右端を斜めカット */
  clip-path: polygon(
    0 0,
    100% 0,
    90% 100%,
    0 100%
  );
}

.header-inner::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      rgba(255,215,0,0.0),
      rgba(255,215,0,0.9),
      rgba(255,215,0,0.0)
    );

  box-shadow:
    0 0 8px rgba(255,215,0,0.7);
}

.logo img { 
  
  width: 70px;
  height: 60px;

 }

nav {
  display: flex;
  gap: 20px;
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 10px;
}

nav a {
  color: #e6d8ff; /* 薄いアメジスト */
  text-decoration: none;
  font-weight: bold;

  /* ほんのり発光 */
  text-shadow:
    0 0 4px rgba(200,150,255,0.8),
    0 0 8px rgba(120,80,255,0.6);

  transition: 0.3s;
}

nav a:hover {
  color: #ffd700; /* ゴールド */
  text-shadow:
    0 0 6px rgba(255,215,0,0.9),
    0 0 12px rgba(255,200,100,0.8);
}

/* ===== スライダー ===== */
.slider-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.slider {
  width: 60%;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.slides {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
  margin: 0;
  opacity: 1;
  transform: none;
}


.slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ボタン */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* ドット */
.dots {
  text-align: center;
  margin-top: 10px;
}

.dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ccc;
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
}

.dots .active {
  background: #333;
}

/* =========================
   パンくず + 検索
========================= */

.breadcrumb-wrap {

  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 8px 20px;

  gap: 20px;
}

/* ===== パンくず ===== */
.breadcrumb {
 color: #d8c8ff;

  font-size: 14px;

  text-shadow:
    0 0 6px rgba(180,120,255,0.5);
}



/* ===== 3カラム ===== */
.container { display: flex; }

.spacer { flex: 1; }

.left {
    position: relative;

  display: flex;
  flex-direction: column;
  gap: 8px;

  width: 15%;

  padding: 14px;

  background:
    linear-gradient(
      180deg,
      rgba(8, 5, 25, 0.88),
      rgba(3, 2, 12, 0.95)
    );

  backdrop-filter: blur(8px);

  border: 1px solid rgba(167, 139, 250, 0.7);

  border-radius: 14px;

  overflow: hidden;

  box-shadow:
    0 0 20px rgba(167, 139, 250, 0.35),
    inset 0 0 18px rgba(167, 139, 250, 0.12);
}
/* 四隅装飾 */
.left::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: 14px;

  pointer-events: none;

  background:
    linear-gradient(#d7b8ff,#d7b8ff) top left / 22px 2px no-repeat,
    linear-gradient(#d7b8ff,#d7b8ff) top left / 2px 22px no-repeat,

    linear-gradient(#d7b8ff,#d7b8ff) top right / 22px 2px no-repeat,
    linear-gradient(#d7b8ff,#d7b8ff) top right / 2px 22px no-repeat,

    linear-gradient(#d7b8ff,#d7b8ff) bottom left / 22px 2px no-repeat,
    linear-gradient(#d7b8ff,#d7b8ff) bottom left / 2px 22px no-repeat,

    linear-gradient(#d7b8ff,#d7b8ff) bottom right / 22px 2px no-repeat,
    linear-gradient(#d7b8ff,#d7b8ff) bottom right / 2px 22px no-repeat;
}

.left h2 {
    position: relative;

  margin: 10px 0 6px;

  padding: 8px 0;

  text-align: center;

  font-size: 18px;

  color: #ffffff;

  letter-spacing: 1px;

  background: transparent;

  border: none;

  text-shadow:
    0 0 8px rgba(220,190,255,0.9);
}

/* タイトル左右の星 */

.left h2::before,
.left h2::after {

  content: "✦";

  position: absolute;

  top: 0%;

  transform: translateY(-0%);

  color: rgba(255,215,0,0.7);

  font-size: 28px;
}

.left h2::before {
  left: 0px;
}

.left h2::after {
  right: 0px;
}

/* 金ライン */

.left h2 {
  border-top: 1px solid rgba(255,215,0,0.7);
  border-bottom:
    1px solid rgba(255,215,0,0.7);
}

/* ライン両端の光 */

.left h2::selection {
  background: transparent;
}

.left a {
    

  position: relative;

  display: block;

  padding: 4px 6px 4px 18px;

  color: #d3c4ff;

  font-size: 15px;

  text-decoration: none;

  transition: all 0.2s ease;

}

.left a:hover {
  color: #ffd700; /* 金に変化 */

  text-shadow:
    0 0 6px rgba(200,150,255,0.6),
    0 0 12px rgba(150,50,255,0.4);

  border-left: 2px solid #ffd700;
}

.center {
    position: relative;

  width: 42.5%;

  padding: 16px;

  margin: 0 6px;

  border-radius: 12px;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(12, 6, 35, 0.92),
      rgba(3, 2, 15, 0.96)
    );

  backdrop-filter: blur(10px);

  border:
    1px solid rgba(255,215,0,0.55);

  box-shadow:
    0 0 20px rgba(255,215,0,0.18),
    0 0 40px rgba(120,0,255,0.2),
    inset 0 0 20px rgba(255,255,255,0.04);

  
}


.center::before {
  content: "";
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid #ffd700; /* 黄色 */
  pointer-events: none;      /* 枠線がクリックの邪魔にならないようにする */
}

.center h2 {
    position: relative;

  margin-bottom: 20px;

  padding: 10px 0;

  text-align: center;

  font-size: 32px;

  letter-spacing: 2px;

  color: #ffe89a;

  background: transparent;

  border: none;

  text-shadow:
    0 0 10px rgba(255,215,0,0.7),
    0 0 20px rgba(255,255,180,0.3);
}

.center h2::before,
.center h2::after {

  content: "★";

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  color: #ffd700;

  font-size: 40px;

  text-shadow:
    0 0 8px rgba(255,215,0,0.8);
}

.center h2 {

  border-top:
    1px solid rgba(255,215,0,0.4);

  border-bottom:
    1px solid rgba(255,215,0,0.4);
}

.center h2::before {
  left: 4vw;
}

.center h2::after {
  right: 4vw;
}

.left, .center, .right {
  position: relative;
}

.left::after,
.center::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 2px;
  height: 80%;

  background: linear-gradient(
    to bottom,
    transparent,
    rgba(180, 120, 255, 0.8),
    transparent
  );

  box-shadow:
    0 0 6px rgba(180,120,255,0.8),
    0 0 12px rgba(120,0,200,0.6);
}

/*センターのアイコンについて*/
.menu-grid {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 10px;

  margin: 16px 16px;

}

.menu-card {
  display: flex;

  flex-direction: column;

  align-items: center;

  text-decoration: none;

  padding: 14px;

  border-radius: 14px;

  background:
    linear-gradient(
      180deg,
      rgba(6, 3, 10, 0.945),
      rgb(0, 0, 2)
    );

  border:
    1px solid rgba(255,215,0,0.15);

  transition: 0.25s;

  overflow: hidden;

}


.menu-card span {
  color: #e6d8ff;

  padding-top: 5px;
  
  font-size: 14px;

  text-shadow: 0 0 5px rgba(200,150,255,0.7);
}


.menu-card:hover {

  transform:
    translateY(-6px)
    scale(1.03);

  box-shadow:
    0 0 20px rgba(140,0,255,0.45),
    0 0 50px rgba(180,120,255,0.28);


}

.menu-card img {

  width: 100%;

  height: 100%;

  border-radius: 14px;

  object-fit: contain;

  display: block;
}

.menu-image{

  position:relative;

  width:100%;

}

.menu-image img{

  width:100%;

  display:block;

  transition:opacity .25s;
}

.icon-hover{

  position:absolute;

  top:0;
  left:0;

  opacity:0;
}

.menu-card:hover .icon-normal{

  opacity:0;
}

.menu-card:hover .icon-hover{

  opacity:1;
}


.menu-card span {

  color: #f3e8ff;

  font-size: 20px;

  font-weight: bold;

  letter-spacing: 1px;

  text-shadow:
    0 0 8px rgba(180,120,255,0.4);
}



.right {
  position: relative;

  width: 17.5%;

  padding: 14px;

  border-radius: 14px;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(5,15,35,0.92),
      rgba(2,8,20,0.96)
    );

  backdrop-filter: blur(8px);

  border:
    1px solid rgba(120,220,255,0.45);

  box-shadow:
    0 0 15px rgba(0,180,255,0.18),
    inset 0 0 15px rgba(120,220,255,0.08);

    background-image:
        linear-gradient(
        rgba(120,220,255,0.05) 1px,
        transparent 1px
        );

}

.right::before {

  content: "";

  position: absolute;

  inset: 8px;

  border-radius: 10px;

  border:
    1px solid rgba(120,220,255,0.18);

  pointer-events: none;
}

.right::after {

  content: "";

  position: absolute;

  inset: 0;

  border-radius: 14px;

  pointer-events: none;

  background:

    /* 左上 */
    linear-gradient(#7ee7ff,#7ee7ff)
      top left / 24px 2px no-repeat,

    linear-gradient(#7ee7ff,#7ee7ff)
      top left / 2px 24px no-repeat,

    /* 右上 */
    linear-gradient(#7ee7ff,#7ee7ff)
      top right / 24px 2px no-repeat,

    linear-gradient(#7ee7ff,#7ee7ff)
      top right / 2px 24px no-repeat,

    /* 左下 */
    linear-gradient(#7ee7ff,#7ee7ff)
      bottom left / 24px 2px no-repeat,

    linear-gradient(#7ee7ff,#7ee7ff)
      bottom left / 2px 24px no-repeat,

    /* 右下 */
    linear-gradient(#7ee7ff,#7ee7ff)
      bottom right / 24px 2px no-repeat,

    linear-gradient(#7ee7ff,#7ee7ff)
      bottom right / 2px 24px no-repeat;
}

.right h2 {
 position: relative;

  text-align: center;

  padding: 10px 0;

  margin-bottom: 16px;

  font-size: 20px;

  color: #b8f0ff;

  background: transparent;

  border: none;

  letter-spacing: 1px;

  text-shadow:
    0 0 8px rgba(120,220,255,0.8),
    0 0 18px rgba(7, 66, 92, 0.548);

  border-top:
    1px solid rgba(120,220,255,0.35);

  border-bottom:
    1px solid rgba(120,220,255,0.35);
}

.right ul {

  list-style: none;

  padding: 0;

  margin: 0;
}

.right li {

  padding: 10px 8px;

  margin-bottom: 10px;

  border-left:
    2px solid rgba(120,220,255,0.5);

  background:
    rgba(14, 96, 190, 0.315);

  color: #ccf3fc;

  font-size: 14px;

  transition: 0.2s;
}

.right li:hover {

  background:
    rgba(120,220,255,0.08);

  transform: translateX(4px);
}



/*フッター*/
footer {
    margin: 0 auto;
    background: #000;
    text-align: center;
    padding: 4px 0;
}
footer p {
    color: #fffeee;
    font-size: 0.9rem;
}

.wrapper {
    margin: 0 auto;
    margin-top: 8px;
}


/* ===== ノートPC最適化（1024px前後） ===== */
@media (max-width: 1280px)and (min-width: 901px)  {

  /* ===== 全体余白 ===== */
  .container {
    gap: 8px;
  }

  /* ===== 左メニュー ===== */
  .left {
    width: 16%;
    padding: 10px;
  }

  .left h2 {
    font-size: 14px;
    padding: 6px 0;
  }

  .left h2::before,
  .left h2::after {
    font-size: 22px;
  }

  .left a {
    font-size: 13px;
    padding: 3px 4px 3px 12px;
  }

  /* ===== センター ===== */
  .center {
    width: 44%;
    padding: 12px;
  }

  .center h2 {
    font-size: 24px;
  }

  .center h2::before,
  .center h2::after {
    font-size: 28px;
  }

  /* ===== グリッド ===== */
  .menu-grid {

    grid-template-columns: repeat(4, 90px);

    justify-content: center;

    gap: 12px;

    padding: 14px;
  }

  /* ===== カード ===== */
  .menu-card {
    width: 110px;
    height: 110px;

    padding: 16px;
  }

  /* ===== アイコン ===== */
  .icon-core {
    width: 54px;
    height: 54px;

    margin-top: 4px;
    margin-bottom: 8px;
  }

  .icon-core::after {
    width: 66px;
    height: 66px;
  }

  .icon-svg {
    width: 32px;
    height: 32px;
  }

  .menu-card span {
    font-size: 12px;
  }

  /* ===== 右メニュー ===== */
  .right {
    width: 18%;
    padding: 10px;
  }

  .right h2 {
    font-size: 16px;
  }

  .right li {
    font-size: 12px;
    padding: 8px 6px;
  }

  /* ===== スライダー ===== */
  .slider {
    width: 72%;
  }

  .slide img {
    height: 190px;
  }

  /* ===== ナビ ===== */
  nav a {
    font-size: 14px;
  }

.menu-grid {

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
  }

  .icon-core {

    max-width: 160px;
  }

}

/*タブレット*/

@media(max-width:900px) {
      /* ===== ヘッダー ===== */
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 2px;
  }

  nav {
    width: 96%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2px;
  }

  nav a {
    padding: 2px;
    font-size: 14px;
  }

  /* ===== スライダー ===== */
  .slider {
    width: 100%;
  }

  .slide {
    min-width: 100%;
    margin: 0;
  }

  .slides {
    gap: 0;
  }

  .slide img {
    height: 160px;
  }

  /* ===== ボタン小さく ===== */
  .prev, .next {
    font-size: 16px;
    padding: 6px;
  }

  /* ===== ドット ===== */
  .dots span {
    width: 6px;
    height: 6px;
  }

  /* ===== パンくず ===== */
  .breadcrumb {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* ===== 3カラム → 縦 ===== */
  .container {
    flex-direction: column;
    gap: 10px;
  }

  .spacer {
    display: none;
  }

  .left,
  .center,
  .right {
    width: 95%;
    margin: auto;
    padding: 0;
  }

  /* 区切り線消す（スマホでは邪魔） */
  .left::after,
  .center::after {
    display: none;
  }

  /* ===== 左メニュー ===== */
  .left {
    padding: 10px;
  }

  .left a {
    font-size: 14px;
  }

  /*メインメニュー*/

  .center h2 {
    font-size:22px;
  }

  /* ===== アイコングリッド ===== */


 .icon-core {

    max-width: 150px;
  }

  .menu-card span {

    font-size: 18px;
  }



  

  .icon-svg {
    width: 30px;
    height: 30px;
  }

  /* ===== 見出し ===== */
  h2 {
    font-size: 16px;
    padding: 8px 10px;
  }

  /* ===== フッター余白 ===== */
  footer {
    margin-top: 20px;
  }

  .menu-grid {

     grid-template-columns: repeat(2, 1fr);

    gap: 18px;
  }
}

/*スマホ*/

@media (max-width: 600px) {

  /* ===== ヘッダー ===== */

    header {
    position: relative;
    padding: 10px;
  }

  .header-inner {
  width: 100%;

    padding:
      14px 18px;

    clip-path: none;

    display: flex;
    justify-content: space-between;
    align-items: center;
  }


  nav {
    position: absolute;

    top: 78px;
    left: 10px;
    right: 10px;

    display: flex;
    flex-direction: column;

    gap: 0;

    padding: 10px;

    background:
      rgba(5,5,20,0.96);

    border:
      1px solid rgba(180,120,255,0.4);

    border-radius: 12px;

    backdrop-filter: blur(10px);

    box-shadow:
      0 0 20px rgba(120,0,255,0.3);

         /* 初期非表示 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: 0.3s;

    z-index: 998;
  }

   /* 開いた時 */
  nav.active {

    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
      padding: 14px 10px;

    border-bottom:
      1px solid rgba(255,255,255,0.08);

    font-size: 16px;
  }

    nav a:last-child {
    border-bottom: none;
  }

   .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform:
      translateY(-8px)
      rotate(-45deg);
  }


  /* ===== スライダー ===== */
  .slider {
    width: 100%;
  }

  .slide {
    min-width: 100%;
    margin: 0;
  }

  .slides {
    gap: 0;
  }

  .slide img {
    height: 160px;
  }

  /* ===== ボタン小さく ===== */
  .prev, .next {
    font-size: 16px;
    padding: 6px;
  }

  /* ===== ドット ===== */
  .dots span {
    width: 6px;
    height: 6px;
  }

  /* ===== パンくず ===== */
  .breadcrumb {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* ===== 3カラム → 縦 ===== */
  .container {
    flex-direction: column;
    gap: 10px;
  }

  .spacer {
    display: none;
  }

  .left,
  .center,
  .right {
    width: 95%;
    margin: auto;
    padding: 0;
  }

  /* 区切り線消す（スマホでは邪魔） */
  .left::after,
  .center::after {
    display: none;
  }

  .left::before {
    display: none;
  }

  /* ===== 左メニュー ===== */
  .left {
 position: fixed;

    top: 0;
    left: -320px;

    width: 260px;
    height: 100vh;

    z-index: 9999;

    overflow-y: auto;

    transition: 0.35s ease;

    border-radius: 0 18px 18px 0;

    padding:
      80px 14px 30px;
  }

        /* 開いた時 */
  .left.active {
    left: 0;
  }

    .menu-overlay {

    position: fixed;

    inset: 0;

    background:
      rgba(0,0,0,0.55);

    backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 9990;
  }

    .menu-overlay.active {

    opacity: 1;
    visibility: visible;
  }

    /* ハンバーガー */
  .hamburger {

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 6px;

    position: fixed;

    top: 14px;
    left: 14px;

    width: 44px;
    height: 44px;

    z-index: 10000;

    border:
      1px solid rgba(255,215,0,0.5);

    border-radius: 10px;

    background:
      rgba(5,5,20,0.9);

    backdrop-filter: blur(6px);

    cursor: pointer;
  }

   .hamburger span {

    width: 24px;
    height: 2px;

    margin: 0 auto;

    background: #ffd700;

    box-shadow:
      0 0 8px rgba(255,215,0,0.8);

    transition: 0.3s;
  }

   /* ×変形 */
  .hamburger.active span:nth-child(1) {
    transform:
      translateY(8px)
      rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform:
      translateY(-8px)
      rotate(-45deg);
  }


  .left a {
    font-size: 14px;
  }

  /*メインメニュー*/

  .center h2 {
    font-size:22px;
  }

  /* ===== アイコングリッド ===== */
  .menu-grid {
    grid-template-columns: repeat(2, 140px);
     justify-content: center;
    gap: 2%;
  }


  .icon-core {
    width: 55px;
    height: 55px;
  }

  .icon-svg {
    width: 30px;
    height: 30px;
  }

  /* ===== 見出し ===== */
  h2 {
    font-size: 16px;
    padding: 8px 10px;
  }

  /* ===== フッター余白 ===== */
  footer {
    margin-top: 20px;
  }
}

