@charset "utf-8";

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;　
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
.container {
  border: 5px solid #3a3a3a;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
#detailhead {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* リンク共通設定 */
a {
	text-decoration: none;
 	color: #333;
 	transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
	color: #d81b60;  /* 濃いピンク */
 	text-decoration: underline;
}

a:active {
	color: #f9a825;  /* 濃い黄色 */
	text-decoration: none;
}

a:focus {
  outline: 2px solid #00aaff; /* 青色 */
  outline-offset: 4px;
  border-radius: 4px;
}

/*共通*/
img{
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

/* ==========================
   ヘッダー・ナビ
========================== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
  max-width: none;
  box-sizing: border-box;
  width: 100%;
  background-color: transparent;  
  top: 0;
  z-index: 1000;
}
.top-bar img.logo {
  margin: 0;
  padding: 0;
  display: block;      /* 画像空白対策 */
  height: 105px;
  max-width: 100px;
}
.phone-btn {
  font-size: 13px;
  background-color: #d81b60;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  color: white;
  text-align: center;
  position: fixed; top: 10px; right: 10px;
}

@media (max-width: 660px) {
  .top-bar {
    flex-direction: row;
  }

  .phone-btn {
    font-size: 12px;
    padding: 4px 8px;
  }
}

header {
  position: relative;
  padding: 20px;
  color: white;
  overflow: hidden;
  /* 背黒、中央光 */
  background: linear-gradient(135deg, 
#222222 0%, 
    #111111 20%, 
    #AAAAAA 50%,   
    #111111 80%, 
    #000000 100%);
}

/* 光アニメ（ロード・ホバー） */
header::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: shine 2s ease-out;
  pointer-events: none;
}

header:hover::after {
  animation: shine 2s ease-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%);
  }
  100% {
    transform: translateX(100%) translateY(100%);
  }
}

/* デフォナビ（PC表示） */
.main-nav .nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}
.main-nav .nav-links li a {
  color:  #4b6bed;
  text-decoration: none;
  font-size: 18px;
}
.main-nav .nav-links li a {
  color: white;
  background: linear-gradient(90deg, #4b6bed, #2c46a5);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.main-nav .nav-links li a:hover {
  background: linear-gradient(90deg, #2c46a5, #4b6bed);
  color: #fff8cc;
}


/* メニュー全体 */
/* モバイル表示時のメニュー */
@media (max-width: 768px) {
  #navLinks {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    flex-direction: column;
    background-color: transparent;
    border-radius: 8px;
    margin: 10px auto;
    padding: 0;
  }
  #navLinks.show {
    max-height: 300px;
    padding: 8px 0;
    background-color: #4b6bedff; 
  }
  #navLinks li {
    margin: 6px 0;
    padding: 4px 0;
  }
  #navLinks li a {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #e6e9f8; 
    background-color: #3f5edb; 
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  #navLinks li a:hover {
    background-color: #2c46a5; 
    color: #ffffff;
  }
}

/* メニュー切り替えボタン（モバイル用） */
/* 共通ボタン */
.menu-toggle {
  display: block;
  cursor: pointer;
  font-size: 14px;
  color: #222;
  background: linear-gradient(to bottom, #7fa0ff 0%, #4b6ded 40%, #2e4bb5 100%);
  padding: 6px 14px;
  border-radius: 16px;
  border: none;
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  width: fit-content;
  margin: 6px auto;
  user-select: none;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

/* 反射疑似要素 */
.menu-toggle::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 60%);
  transform: rotate(25deg) translateY(-100%);
  pointer-events: none;
}

/* 光沢アニメ */
@keyframes shine-move {
  0%   { transform: rotate(25deg) translateY(-100%); }
  25%  { transform: rotate(25deg) translateY(100%); }
  50%  { transform: rotate(25deg) translateY(-100%); }
  75%  { transform: rotate(25deg) translateY(100%); }
  100% { transform: rotate(25deg) translateY(-100%); }
}
.menu-toggle:active::after {
  animation: shine-move 1s ease forwards;
}

/* ホバー時の色変化 */
.menu-toggle:hover {
  background: linear-gradient(to bottom, #9ab5ff 0%, #5a7cff 40%, #3a56c4 100%);
  transform: translateY(-1px);
}
/* 押へこみ */
.menu-toggle:active {
  background: linear-gradient(to bottom, #2e4bb5 0%, #1e36a2 100%);
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.2);
}
/* PC金色文字 */
@media (min-width: 769px) {
  .menu-toggle {
    color: #d8c457;
  }
  .menu-toggle:hover {
    color: #fff8cc;
  }
}
/*h2box*/
#h2box{
  background:#3a3a3a;
  color:#ffffff;
  font-size:18px;
  text-align:center;
  position:relative;
  border:none;
  margin-bottom:30px;
  padding-top:10px !important;
  padding-bottom:10px !important;
}

/* ==========================
   メイン紹介セクション
========================== */

/*背景画像入*/
/* ======================
   共通変数
====================== */
/* --- 共通変数 --- */
:root {
  --glass-bg: rgba(0,0,0,0.6);   /* 透過黒 */
  --accent-blue: #0055cc;        /* 濃い青 */
}
/* --- INTRO セクション --- */
h2{
  text-align: center;
  padding-bottom:10px;
}
.intro {
  position: relative;
  text-align: left;
  background: url("images/img10.jpg") center/cover no-repeat;
  border-radius: 8px;
  margin: 20px;
  padding: 40px 20px;
  overflow: hidden;
  color: #fff; /* 白文字デフォルト */
}
@media (max-width: 768px) {
  .intro {
    overflow: visible !important;
  }
}
#intp{
  padding:10px 0 0 10px;
  font-size:13px;
}
#intra{
  text-align: center;
  padding-top:7px;
  position: relative; /* これが必要 */
  z-index: 10;
}
/* 背景オーバーレイ＋ぼかし */
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--glass-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
  pointer-events: none; 
}
/* 内部子要素は前面 */
.intro > *, 
.example-item {
  position: relative;
  z-index: 1;
}

/* --- example-item --- */
/* PC横並び */
.example-item img {
  width: 150px;       
  height: 150px;      
  object-fit: cover;  
  margin: 5px;
  display: inline-block; 
  border-radius: 5px;    
}

/* スマホ用 */
@media (max-width: 768px) {
  .example-item {
    text-align: center; /* 中央寄 */
  }
  .example-item img {
    display: block;      /* ブロック縦並び */
    margin: 10px auto;   
    width: 80%;          /* スマホ画面幅 */
    max-width: 150px;    /* 元サイズ上限 */
    height: 150px;       /* 高さ揃 */
    object-fit: cover;   /* 中央切り抜き */
  }
}
.example-item {
  background: rgba(0,0,0,0.4); /* 透過黒 */
  color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* hover浮 */
.example-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
/* --- h1, h3, p --- */
.intro h1, .example-item h3 {
  font-size: 22px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* 文字浮 */
}
.intro p.intp, .example-item p.intp,
.example-item p {
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

/* --- 青文字 #intsp --- */
#intsp, .example-item #intsp {
  font-size: 14px;
  color: var(--accent-blue);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6); 
  padding: 2px 4px;
  border-radius: 4px;
  background-color: rgba(0,85,204,0.15); 
  display: inline-block;
  margin: 5px auto 15px auto;
}

/* --- レスポンシブ --- */
@media (max-width: 660px) {
  .intro {
    padding: 20px 10px;
  }
  .intro h1, .example-item h3 {
    font-size: 18px;
  }
  .intro p.intp, .example-item p.intp {
    font-size: 13px;
  }
  #intsp, .example-item #intsp {
    font-size: 13px;
  }
}
/* ==========================
   ボタンスタイル
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;      /* 正円サイズ */
  height: 60px;
  background: linear-gradient(
    to right,
    #a57c00 0%,
    #d8c457 50%,
    #a57c00 100%
  );
  color: white;
  font-size: 12px;    
  border-radius: 50%; /* 正円 */
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(165, 124, 0, 0.7);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  padding: 0 8px;     /* はみ出し防止 */
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}
.btn:hover {
  background: linear-gradient(
    to right,
    rgba(255, 111, 0, 0.7) 0%,    /* 少し透明 */
    rgba(255, 152, 0, 0.7) 50%,   
    rgba(255, 111, 0, 0.7) 100%   
  );
  text-decoration: underline;
  box-shadow: 0 8px 16px rgba(255, 111, 0, 0.6);
}
.btn:active {
  background: linear-gradient(
    to right,
    #d81b60 0%,
    #f06292 50%,
    #d81b60 100%
  );
  text-decoration: none;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 2px 6px rgba(216, 27, 96, 0.8);
  transition: none;
}
/*詳細ボタン*/
.link-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(to right, #00b4db, #0083b0);
  color: #fff;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, #0083b0, #00b4db);
}

/* ==========================
   電話リンク
========================== */
/* 電話用ボタンに特化した調整 */
.phone-link {
  display: flex;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 5px;
  box-sizing: border-box;
  position: relative; /* z-index */
  z-index: 9999;       /* 最前面 */
}
.phone-btn {
  font-size: 12px;
  background: linear-gradient(
    to right,
    #bfa93f 0%,
    #d8c457 50%,
    #bfa93f 100%
  );
  padding: 6px 6px;
  border-radius: 6px;
  color: white;
  text-align: center;
  white-space: nowrap;
  transition: background 0.3s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 8px rgba(189, 161, 48, 0.6); /* 通常影 */
}

/* ホバー時 */
.phone-btn:hover {
  background: linear-gradient(
    to right,
    #d2be50 0%,
    #f0dc64 50%,
    #d2be50 100%
  );
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(222, 194, 57, 0.8);
}

/* アクティブ時*/
.phone-btn:active {
  background: linear-gradient(
    to right,
    #9f7f1f 0%,
    #c49e21 50%,
    #9f7f1f 100%
  );
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.4),  /* 内側影*/
    0 1px 3px rgba(0, 0, 0, 0.6);          /* 外側影 */
  transition: none;
}

/* ==========================
   カテゴリーセクション
========================== */
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding:20px;
  background-color: #ffffff;
}
.category-item {
  background-color: #e7f4e7;
  padding: 10px;
  border-radius: 10px;
  width: 30%;
  min-width: 250px;
  text-align: center;
}
.category-item img {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 10px;
}
.category-item h3 {
  font-size: 24px;
  color: #333;
}
.category-item p {
  font-size: 16px;
  color: #666;
}
.category-item a {
  display: inline-block;
  margin-top: 10px;
  font-size: 16px;
}
#jirei h3{
  padding-bottom:10px;
}

/* ==========================
   会社概要エリア
========================== */
.company-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 40px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(32, 178, 170, 0.2);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: #333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
    .company-box h2 {
      font-size: 20px;
      margin-bottom: 16px;
      color: #20b2aa;
      border-left: 4px solid #20b2aa;
      padding-left: 10px;
    }
    #comleft, #comright {
      margin-bottom: 16px;
    }
    #comright {
      border-top: 1px dashed #ccc;
      padding-top: 16px;
    }
    #comend {
      font-weight: bold;
      text-align: center;
      color: #00796b;
      margin-top: 20px;
    }

    #company-info {
      background-color: rgba(32, 178, 170, 0.05);
      padding: 20px;
      border-radius: 10px;
      border: 1px solid rgba(32, 178, 170, 0.3);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      font-size: 13px;
      line-height: 1.6;
      color: #333;
    }
#company-heading {
  margin:0 auto;
  
 }
.company-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: space-between;
}
#comleft,
#comright {
  flex: 1;
  padding:10px;
  min-width: 240px;
  background-color: #f9f9f9; /* ← カード背景色 */
  border-radius: 8px;        /* ← 角丸*/
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* ← 影 */
}
#h5p2 {
  font-size: 12px;
  color: #888;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: left;
}
#h5p3 {
  font-size: 15px;
  line-height: 1.6;
  padding-bottom:40px;
  color: #333;
}
#comname{
 font-weight:bold;
 font-size:22px;
}
#comname2{
  font-weight:bold;
  font-size:17px;
  padding:0 0 8px 38px;
}
#comend {
  border-top: 1px solid #ccc;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 13px;
  color: #444;
}
#endaa{
  margin:10px auto;   
}

#enda {
  text-align: center; /* 中央揃 */
  margin: 30px 0;
  font-size: 14px;
}

#enda a {
  display: inline-block;
  padding: 6px 14px;
  background-color: #20b2aa;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

#enda a:hover {
  background-color: #008b8b;
}

/* ==========================
   フッター
========================== */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  width: 100vw; /* 幅100% */
  position: relative;
  box-sizing: border-box;
  margin: 0;
  }
/* ==========================
   レスポンシブ対応
========================== */
/* レスポンシブ対応（スマホ） */

@media (max-width: 768px) {
  #navLinks {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    flex-direction: column;
    background-color: transparent;
    border-radius: 8px;
    margin: 10px auto;
    padding: 0;
  }

  #navLinks.show {
    max-height: 300px;
    padding: 8px 0;
    background-color: #4b6bedff;
  }

  #navLinks li {
    margin: 6px 0;
    padding: 4px 0;
  }

  #navLinks li a {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #e6e9f8;
    background-color: #3f5edb;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  #navLinks li a:hover {
    background-color: #2c46a5;
    color: #ffffff;
  }
}

    /* モバイル */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 20px;
  color: white;
}

@media (max-width: 768px) {
  .category-links {
    flex-direction: column;
    align-items: center;
  }
 .menu-toggle {
    display: block;
  }
  .category-item {
    width: 80%;
    margin: 10px 0;
  }

  .intro h1 {
    font-size: 28px;
  }

  .intro p {
    font-size: 16px;
  }

  button {
    padding: 8px 16px;
  }

  header nav ul {
    flex-direction: column;
    padding: 20px 0;
  }

  header nav ul li {
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  button {
    padding: 8px 16px;
  }

  .category-item {
    width: 90%;
  }
}

/* 共通アニメーション */

/* 共通フェードイン */
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out; /* ふわっと */
}
.fadein.show {
  opacity: 1;
  transform: translateY(0);
}

#intro,
.category-item,
.example-item,
#company-info {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#intro:hover,
.category-item:hover,
.example-item:hover,
#company-info:hover {
  transform: translateY(-5px);  /* 上5px持上 */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* 影 */
}
#intro:hover,
#intro:active,
.category-item:hover,
.category-item:active,
.example-item:hover,
.example-item:hover,
#company-info:active,
#company-info:active {
  transform: translateY(-5px);  
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/*detailページ*/

body.detail-page #containerdetail {
    background-color: rgba(30, 30, 30, 0.5) !important;
}

/* コンテナグリッド */
.box-container {
  display: grid;
  gap: 20px; /* box間すきま */
  grid-template-columns: 1fr; /* モバイル1列 */
  margin: 20px auto;
  max-width: 1200px;
  padding: 10px;
}

/* PC4列 */
@media (min-width: 768px) {
  .box-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* box デザイン */
.box {
  background: rgba(0, 0, 0, 0.7); /* 半透明の黒背景 */
  color: #fff; /* 白文字 */
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  line-height: 1.6;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー動き */
.box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

:root {
  --accent: #4b6bed;          /* 見出しアクセント */
  --glass-bg: rgba(0,0,0,0.65);/* 半透明黒 */
  --glass-bd: rgba(255,255,255,0.08);
  --price: #ffd86b;           /* 価格強調（薄ゴールド） */
}

/* セクション見出し */
.detail-page .price-list h2 {
  color: #fff;
  text-align: center;
  margin: 10px 0 18px;
  font-size: 20px;
  letter-spacing: .03em;
}

/* グリッド（スマホ1列 → PC4列） */
.detail-page .price-grid {
  display: grid;
  grid-template-columns: 1fr;       /* モバイル：1列 */
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 12px;
}

@media (min-width: 768px) {
  .detail-page .price-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* PC：4列 */
  }
}

/* カード（透明黒+角丸+白文字） */
.detail-page .price-card {
  background: var(--glass-bg);
  color: #fff;
  border-radius: 16px;
  border: 1px solid var(--glass-bd);
  padding: 16px 16px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(4px);               /* 透明感UP（対応ブラウザのみ） */
  -webkit-backdrop-filter: blur(4px);
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

/* ホバー浮 */
@media (hover:hover) {
  .detail-page .price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,.35);
    background: rgba(0,0,0,0.72);
  }
}

/* タイトル&補足 */
.detail-page .price-card h3 {
  font-size: 18px;
  margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: .02em;
}

.detail-page .price-card .lead {
  margin: 0 0 10px;
  font-size: 13px;
  opacity: .9;
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}

/* 価格テーブル（左：項目 / 右：価格） */
.detail-page .price-table {
  margin: 0;
}

.detail-page .price-table .row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,.18);
}
.detail-page .price-table .row:last-child { border-bottom: none; }

.detail-page .price-table dt,
.detail-page .price-table dd {
  margin: 0;
}

.detail-page .price-table dt {
  font-size: 14px;
}


.detail-page .price-table dd {
  font-weight: 700;
  font-size: 15px;
  color: var(--price);
}

@media (max-width: 768px) {
  .responsive-img {
  display: block;       /* ブロック表示幅 */
  margin: 0 auto;       /* 中央配置 */
  max-width: 100%;      /* 親幅に応じて縮小 */
  height: auto;
}

.examples, .intro, #jirei {
  display: block !important;  /* モバイル */
  overflow: visible !important; /* はみ出し */
}


