
/* ---------------------------------------
   テーマ情報（WordPress用）
---------------------------------------- */
/*
Theme Name: KunioPress
Author: 渡邉国生（わたなべ くにお）
Author URI: https://kuniopress.com
Description: KunioPressは、「WordPressは僕の庭」という思想のもと、自由な発想と設計で育てる個人テーマです。しがらみや制約を離れ、設計・デザイン・コーディングをひとりで担う、“僕だけの庭”のための土台。試して遊んで、また次へ。実験と思想を詰め込んだ、自由のためのWordPressテーマ。
Version: 1.0
License: 私的使用／商用配布なし（ご相談は歓迎）
License URI: https://kunio.dev/license
Tags: experimental, personal, free-style, solo-dev, handcrafted, minimal, opinionated
Text Domain: kuniopress
*/



/* ============================= */
/* リンクのリセットスタイル     */
/* ============================= */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

a:focus-visible {
  outline: 2px solid #005fcc; /* アクセシビリティ対応 */
}

/* ============================= */
/* 基本のリセット               */
/* ============================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  /* margin: 0;
  padding: 0; */
}
/* ============================= */
/* テキスト要素                 */
/* ============================= */
/* h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
} */

/* ============================= */
/* HTML5要素の初期化             */
/* ============================= */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background: linear-gradient(to bottom, #101117, #0b0c12);
  color: #ffffff;
  word-break: break-word;
}



/* ============================= */
/* メディア要素                 */
/* ============================= */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}



/* ============================= */
/* フォーム要素                 */
/* ============================= */
input,
button,
textarea,
select {
  font-size: var(--font-size-base);
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ============================= */
/* ボタン                       */
/* ============================= */
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* ============================= */
/* 表                           */
/* ============================= */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ============================= */
/* iframeなど                   */
/* ============================= */
iframe {
  border: 0;
}


:root {
  /* 🌅 夜明けに宿る未来のときめき */
  --color-bg: #121218;                    /* 深いインディゴ（夜と内省） */
  --color-bg-light: #fffafc;             /* ほんのりピンクがかった白 */
  --color-bg-dark: #1b1e25;              /* 静かなミッドナイトネイビー */

  --color-text: #fdf9f6;                 /* ミストローズ（ぬくもりの白） */
  --color-text-light: #ffffff;
  --color-text-dark: #e7e3e0;

  --color-subtle: #c8c2cf;               /* パールグレー（気配と静けさ） */
  --color-muted: #a597aa;                /* ローズグレージュ（柔らかな補足） */
  --color-line: #eee;

  /* 🌈 基本トーン */
  --color-primary: #9ac9dd;              /* 水色寄りミストブルー（希望） */
  --color-secondary: #f9cedf;            /* ピオニーピンク（包容とあたたかさ） */
  --color-accent: #d7b0ff;               /* 夢を内包するラベンダー（感性と芯） */
  --color-accent-light: #f6edff;         /* ミルクオーキッド（静かな光） */
  --color-accent-dark: #7e5fc9;          /* アメジスト（深みと品） */
  --color-highlight: #fff2c6;            /* 淡いゴールド（光の予感） */

  /* 🔥 拡張カラー（思想・構造・熱量） */
  --color-structure: #93e2d5;            /* ピスタチオミント（構造に優しさ） */
  --color-structure-dark: #5db7ab;
  --color-philosophy: #b2b8ff;           /* 月光のようなブルーパープル */
  --color-philosophy-dark: #8692e3;
  --color-energy: #ff6b7b;               /* くすみローズ（意志と共感） */
  --color-energy-dark: #c94055;

  /* 🔠 強調表現カラー */
  --color-strong-default: var(--color-accent);           /* 感性に響く芯の強調 */
  --color-strong-structure: var(--color-highlight);      /* 設計思想に光を */
  --color-strong-philosophy: var(--color-philosophy);    /* 静かな思想の強調 */
  --color-strong-energy: var(--color-energy);            /* 優しいけど熱い意志 */

  /* 🔤 フォントサイズ・ウェイト */
  --font-family-base: 'Noto Sans JP', sans-serif;
  --font-family-heading: 'Bebas Neue', sans-serif;

  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-hero: 2.6rem;
  --font-size-sub: 1.15rem;
  --font-size-cta: 1.05rem;

  --line-height-sm: 1.5;
  --line-height-base: 1.75;
  --line-height-lg: 1.4;
  --line-height-xl: 1.3;

  /* 📏 スペーシング */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1.2rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 4.5rem;

  /* ⌨️ ボーダー・角丸 */
  --border-radius: 10px;
  --border-radius-large: 16px;

  /* ✨ UI演出・光と影 */
  --shadow-glow: 0 0 20px rgba(218, 179, 255, 0.22);      /* やわらかい紫の脈動 */
  --shadow-glow-pink: 0 0 18px rgba(255, 214, 236, 0.2);  /* 心拍のようなピンクの余韻 */

  /* 🎯 ボタン（共通） */
  --btn-padding: 0.75rem 1.5rem;
  --btn-font-size: 1rem;
  --btn-border-radius: 0.25rem;
  --btn-primary-bg: var(--color-accent-dark);
  --btn-secondary-bg: var(--color-sub);
  --btn-text-color: var(--color-text-light);
  --btn-hover-bg: #084a9c;
  --btn-hover-text-color: #ffffff;
  --btn-hover-transform: translateY(-2px);

  --transition-fast: 0.3s ease;

  /* 🚀 CTAボタン */
  --cta-button-padding: 14px 30px;
  --cta-button-font-size: 0.8rem;
  --cta-button-font-weight: 700;
  --cta-button-border-radius: 50px;
  --cta-button-bg-color: var(--color-accent-dark);
  --cta-button-box-shadow: 0 5px 15px rgba(15, 82, 186, 0.4);
  --cta-button-cursor: pointer;
  --cta-button-margin-top: 25px;
  --cta-button-width: auto;
  --cta-button-hover-bg-color: var(--color-accent-light);
  --cta-button-hover-box-shadow: 0 7px 20px rgba(59, 111, 209, 0.6);
  --cta-button-hover-transform: translateY(-4px);
  --cta-button-outline-color: var(--color-accent);
  --cta-button-active-bg-color: var(--color-accent-dark);
}





/* ============================= */
/* ベーススタイル設定           */
/* ============================= */
body {
  font-family: 'Oswald', 'Noto Sans JP', "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro", Meiryo, sans-serif;
  margin: 0;
  overflow-x: hidden;
  line-height: var(--line-height-base);
}

/* ============================= */
/* メインセクション              */
/* ============================= */
main {
  max-width: 960px;
  margin-top: 80px;
  padding: 0 1.25rem 5rem;
}

/* ===================================== */
/* ヘッダー                              */
/* ===================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  padding: 0 40px;
  background-color: var(--color-accent);
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 10000;
}

.site-header__inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-sm);
}

.site-header__left-group {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.site-header__logo img {
  height: 36px;
  user-select: none;
  vertical-align: middle;
  display: inline-block;
}

.site-header__company-name {
  display: inline-block;
  height: 58px;
  line-height: 58px;
  font-weight: 500;
  font-size: var(--font-size-base);
 color: white;
  user-select: none;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  transition: color 0.25s ease;
}

.site-header__company-name:hover,
.site-header__company-name:focus {
  color: var(--color-accent-light);
  outline: none;
}

/* ハンバーガーメニュー */
.site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.site-header__hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--color-text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.site-header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: var(--color-accent-light);
}

.site-header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.site-header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: var(--color-accent-light);
}

/* ナビゲーション */
.site-nav {
  display: none;
  position: fixed;
  top: 58px;
  right: 16px;
  background-color: var(--color-main);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  padding: var(--spacing-sm) var(--spacing-md);
  width: 210px;
  user-select: none;
  z-index: 1050;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.site-nav.active {
  display: flex;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  font-weight: 400;
  font-size: var(--font-size-base);
  color: white;
  line-height: normal;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  text-decoration: underline;
  outline: none;
  color: var(--color-accent-light);
}

/* レスポンシブ：モバイル（〜768px） */
@media (max-width: 768px) {
  .site-header__hamburger {
    display: flex;
  }

  .site-nav {
    top: 56px;
    right: 12px;
    width: 200px;
    padding: var(--spacing-sm) 1.5rem;
  }
}

/* レスポンシブ：PC（769px〜） */
@media (min-width: 769px) {
  .site-nav {
    display: flex;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    width: auto;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 2rem;
  }

  .site-nav a {
    font-weight: 500;
    font-size: var(--font-size-base);
 color: white;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    color: var(--color-accent-light);
  }
}








/* ===================================== */
/* フッター全体スタイル                  */
/* ===================================== */
.footer {
  color: var(--color-text-light);
  padding: 40px 20px;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  border-top: 1px solid var(--color-line);
   background-color: var(--color-accent);
}

/* コンテナ（2カラム） */
.footer__container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  padding: 0 20px;
  flex-wrap: wrap;
}

/* 左右カラム共通 */
.footer__left,
.footer__right {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-sm);
  padding: 0 30px 0 10px;
}

/* フッター上部ナビ */
.footer__nav-top {
  max-width: 1024px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__nav-top ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}

.footer__nav-top ul li {
  margin-right: 1rem;
}

.footer__nav-top ul li:last-child {
  margin-right: 0;
}

.footer__nav-top ul li a {
  color: var(  --color-bg);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  transition: color 0.25s ease;
}

.footer__nav-top ul li a:hover {
  color: var(--color-accent-light);
}

/* キャッチコピー・コピーライト */
.footer__catchcopy {
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(  --color-bg);
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(  --color-bg);
  margin: 0;
}

/* ===================================== */
/* SNSリンク                             */
/* ===================================== */
.footer__sns {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 20px;
  border-radius: 50%;
  color: #000;
  text-decoration: none;

  font-size: 1.1rem;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.footer__sns a svg {
  width: 24px;
  height: 24px;
  fill: white;
  transition: all 0.3s ease;
}

/* SNS個別色 */
.footer__sns a.sns-x         { background-color: #080909; }
.footer__sns a.sns-facebook  { background-color: #1877f2; }
.footer__sns a.sns-line      { background-color: #00c300; }
.footer__sns a.sns-instagram { background-color: #e1306c; }
.footer__sns a.sns-youtube   { background-color: #ff0000; }
.footer__sns a.sns-github    { background-color: #333; }
.footer__sns a.sns-note      { background-color: #4f4f4f; }

/* ===================================== */
/* スクロールボタン                      */
/* ===================================== */
.scroll-buttons-wrapper {
  position: fixed;
  right: 1rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.scroll-buttons-wrapper button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 0.3rem 0.7rem;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.scroll-buttons-wrapper button:hover {
  background-color: #555;
  transform: scale(1.05);
}

/* ===================================== */
/* レスポンシブ対応                      */
/* ===================================== */
@media screen and (max-width: 1024px) {
  .footer__container {
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
    padding: 0 20px 40px;
  }

  .footer__left,
  .footer__right {
    width: 100%;
    max-width: 400px;
    padding: 0;
    text-align: center;
    align-items: center;
  }

  .footer__nav-top ul li {
    margin-right: var(--spacing-sm);
  }

  .footer__sns {
    gap: 0.875rem;
  }
}

@media screen and (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: 0 10px;
  }

  .footer__left,
  .footer__right {
    min-width: auto;
    width: 100%;
  }

  .footer__nav-top ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .footer__nav-top ul li {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }

  .footer__nav-top ul li:last-child {
    margin-bottom: 0;
  }

  .footer__nav-top {
    margin-bottom: 1.5rem;
  }

  .scroll-buttons-wrapper {
    bottom: 4rem;
    right: 1rem;
  }

  .scroll-buttons-wrapper button {
    font-size: 0.6rem;
  }
}


/* ============================================ */
/* 404ページセクション                          */
/* ============================================ */
.not-found {
  background-color: var(--color-bg);
  padding: var(--spacing-lg) var(--spacing-sm);
  text-align: center;
  margin-top:80px;
}

.not-found .breadcrumbs_container {
  margin-bottom: var(--spacing-md);
}

.not-found .image_header {
  background-color: #f7fafc;
  padding: var(--spacing-md) 0;
  border-radius: 0.75rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.not-found .header_info h1 {
  font-size: var(--font-size-xl);
  color: var(--color-main);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.not-found .header_info p {
  font-size: var(--font-size-base);
  color: var(--color-sub);
  line-height: var(--line-height-base);
  margin: 0;
}

/* ============================================ */
/* 追加の説明とリンク                          */
/* ============================================ */
.not-found-details {
margin-top:80px;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-line);
}

.not-found-details .container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.not-found-details p {
  font-size: var(--font-size-base);
  color: var(--color-main);
  line-height: var(--line-height-base);
  margin-bottom: var(--spacing-md);
}

.not-found-details .btn {
  display: inline-block;
  padding: var(--cta-button-padding);
  font-size: var(--cta-button-font-size);
  font-weight: var(--cta-button-font-weight);
  background-color: var(--cta-button-bg-color);
  border-radius: var(--cta-button-border-radius);
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: var(--cta-button-box-shadow);
  cursor: var(--cta-button-cursor);
  margin-top: var(--cta-button-margin-top);
  width: var(--cta-button-width);
}

.not-found-details .btn:hover {
  background-color: var(--cta-button-hover-bg-color);
  box-shadow: var(--cta-button-hover-box-shadow);
  transform: var(--cta-button-hover-transform);
  outline-offset: 2px;
  outline: 2px solid var(--cta-button-outline-color);
}

.not-found-details .btn:focus-visible {
  outline: 2px solid var(--cta-button-outline-color);
  text-decoration: none;
}

.not-found-details .btn:active {
  background-color: var(--cta-button-active-bg-color);
  transform: translateY(0);
  text-decoration: none;
}

/* ============================================ */
/* レスポンシブ対応                             */
/* ============================================ */
@media (max-width: 768px) {
  .not-found {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .not-found .image_header {
    padding: var(--spacing-sm) 0;
  }

  .not-found .header_info h1 {
    font-size: var(--font-size-lg);
  }

  .not-found .header_info p {
    font-size: var(--font-size-sm);
  }

  .not-found-details {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .not-found-details p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
  }

  .not-found-details .btn {
    padding: var(--spacing-sm) 2rem;
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 480px) {
  .not-found .header_info h1 {
    font-size: 1.75rem;
  }

  .not-found .header_info p,
  .not-found-details p,
  .not-found-details .btn {
    font-size: 0.875rem;
  }

  .not-found-details .btn {
    padding: 0.75rem 1.5rem;
  }
}

