@charset "utf-8";
/* CSS Document */
/* すでにあるCSSに以下を追加・修正してください */
a {
  text-decoration: none;
  color: inherit;
	font-size: 15px;
	letter-spacing: 1px;
}

a:hover {
  text-decoration: none;
}
/* ヘッダー */
header.site-header {
    display: flex;
}

/* スライドメニュー */
body {
	margin: 0;
}

.slide-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 280px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.4s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  box-sizing: border-box;
}
/* 開いた状態 */
.slide-menu.open {
  left: 0;
  opacity: 1;
  pointer-events: auto;
}

/* 閉じるアニメーション */
.slide-menu.fade-out {
  opacity: 0;
  left: -260px;
  transition: all 0.4s ease;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
  opacity: 0.7;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.4s ease;
}
/* ハンバーガーメニュー内の画像 */
.hm-link img{
	height: auto;
	width: 150px;
	margin: 10px 0;
	transition: 0.3s;
}
.hm-link img:hover{
	opacity: 0.6;
	transition: 0.3s;
}
a.solid-link{
	border-bottom: solid 1px #89CEEB;
	padding: 5px 0;
	transition: 0.3s;
}
a.solid-link:hover{
	letter-spacing: 3px;
	transition: 0.3s;
}
/* Xに変化 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* スマホ用 */
@media (max-width: 768px) {
  .header-right {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
/* 共通サブメニュー */
.sub-menu {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin: 20px 0;
}

.sub-menu a{
  font-size: 15px;
	letter-spacing: 1px;
  transition: all 0.3s ease; 
}
.sub-menu a {
  position: relative;
  text-decoration: none;
  color: #222;
}

/* 下線ホバー */
.sub-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background-color: #005083;
  transition: width 0.3s ease;
}

.sub-menu a:hover::after {
  width: 100%;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .sub-menu {
    flex-direction: column;
    align-items: center;
    gap: 15px;
	  display: none;
  }
}
/* 基本ボタン */
.btn-nl {
    background: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    filter: drop-shadow(1px 3px 4px rgba(0, 0, 0, 0.2));
	transition: 0.3s;
}
.btn-nl:hover {
    padding: 12px 60px;
	transition: 0.3s;
	letter-spacing: 2px;
}
.mr-10{
	margin: 10px 0;
}
.mr-20{
	margin: 20px 0;
}
.mr-30{
	margin: 30px 0;
}
.mr-40{
	margin: 40px 0;
}
p, h1, h2, h3, h4 {color: #222;}
p {font-size: 15px;}
h1 {font-size: 25px;}
h2 {font-size: 23px;}
h3 {font-size: 18px;}
h4 {font-size: 17px;}
/* フォント */
body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background-color: #ffffff;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* 見出し */
h1, h2, h3 {
  font-weight: bold;
  letter-spacing: 0.04em;
}

/* セクション余白 */
section {
  padding: 50px 0;
}
/* --- トップページ --- */

/* メインビジュアル */
.main-visual img {
  width: 100%;
  height: auto;
  display: block;
}
section.main-visual {
	padding-top: 15px;
}
/* スライダー */
.article-slider {
  margin: 0 auto;
  width: 90%;
  max-width: 1000px;
  text-align: center;
  position: relative;
	padding: 0 0 50px 0;
}
.slider-container {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  flex: 0 0 25%;
  box-sizing: border-box;
  padding: 10px;
}
.slide:hover{
  opacity: 0.6;
	transition: 0.3s;
}
.slide img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
    height: 150px;
    object-fit: cover !important;
}

.slide p {
  margin-top: 8px;
  font-size: 0.9rem;
}

/* スライダー操作バー */
.slider-bar {
  width: 60%;
  margin-top: 15px;
}

/* 下部ボタン */
.bottom-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
}

.bottom-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background-color: #333;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.bottom-btn:hover {
  background-color: #555;
}

/* スマホ対応 */
@media (max-width: 768px) {

  .slide {
    flex: 0 0 50%; /* 2つ表示 */
  }

  .slider-bar {
    width: 80%;
  }
}

/* フッター */
.site-footer {
  background-color: #f7f7f7;
  border-top: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.footer-nav {
  margin-top: 8px;
}

.footer-nav a {
  color: #555;
  text-decoration: none;
  margin: 0 5px;
}

.footer-nav a:hover {
  text-decoration: underline;
}
/* ページトップボタン */
#backToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none; /* 初期非表示 */
  z-index: 999;
  background-image: linear-gradient(45deg, #709dff 0%, #91fdb7 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
}

#backToTop:hover {
  opacity: 0.7;
}

/* --- aboutページ --- */
.about-section {
position: relative;
width: 100%;
padding: 60px 0;
overflow: hidden;
}

.about-bg-image {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.7;
z-index: 1;
}
.cl-bl{
	color: #005083;
}
.cl-bl span {
    display: block;
    font-size: 16px;
    font-weight: 600;
}
.about-inner {
position: relative;
width: 90%;
max-width: 1000px;
margin: 0 auto;
z-index: 2;
text-align: left;
}

.about-title {
font-size: 2.2rem;
font-weight: bold;
margin-bottom: 25px;
text-align: center;
}


.about-text {
line-height: 1.8;
}
/* =========================
   JS有効時のみアニメーション
========================= */

/* JSが有効なときだけ非表示にする */
.js-enabled .about-inner,
.js-enabled .howto-inner,
.js-enabled .step {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* JSで in-view が付いたら表示 */
.js-enabled .about-inner.in-view,
.js-enabled .howto-inner.in-view,
.js-enabled .step.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* STEP4カラム */
.about-steps-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

/* 4カラム横並び */
.steps-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  flex: 1 1 calc(25% - 15px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  box-sizing: border-box;
  transition: all 0.8s ease;
}

.step.in-view {
  opacity: 1;
  transform: translateY(0);
}
.step.in-view h3{
  margin-bottom: 10px;
}

.step-number {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}


/* How to use セクション */
.howto-section {
  display: flex;
  justify-content: center; 
  padding: 60px 20px;
  background: #f9f9f9;
}

.howto-inner {
  width: 90%;    
  max-width: 1200px;
	text-align: center;
}

.howto-inner h2 {
  text-align: center; 
  margin-bottom: 20px;
}

.howto-text {
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: center; 
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  p {
    font-size: 14px;
  }
}

/* 冊子一覧 */
/* -----------------------------
  全体レイアウト
----------------------------- */
.books-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

/* -----------------------------
  左サイドバー（sticky）
----------------------------- */
.books-sidebar {
  width: 60%;
  max-width: 600px;
  background: #ffffff;
  border-right: 1px solid #ddd;
  padding: 30px 20px;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-sizing: border-box;
}

.sidebar-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sidebar-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.sidebar-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sidebar-item img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.sidebar-item p {
  font-size: 13px;
  line-height: 1.4;
  flex: 1;
}

/* -----------------------------
  右カラム（スクロール可能）
----------------------------- */
.books-main {
  background: #eaf5ff;
  padding: 40px 30px;
  height: calc(100vh - 0px);
  overflow-y: scroll;
  box-sizing: border-box;
}

/* シンプルスクロールバー */
.books-main::-webkit-scrollbar {
  width: 8px;
}

.books-main::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 4px;
}

/* 4列 × 10段（40枚） */
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.books-grid img {
  width: 300px;
  height: auto;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hoverアニメーション（拡大 + シャドウ） */
.books-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* -----------------------------
  スマホ（1カラム）
----------------------------- */
@media (max-width: 768px) {
  .books-wrapper {
    display: block;
  }

  .books-sidebar {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    top: 0;
    border-right: none;
    padding: 20px;
    max-height: none;
    overflow-y: visible;
  }

  .books-main {
    margin-left: 0;
    width: 100%;
    padding: 20px;
    height: auto;
  }

  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
/* =========================
   Header Refresh
========================= */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: none;
}

/* 左側（ロゴ＋サイト名） */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 60px;
  width: auto;
}
.site-name{
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #222;
	line-height: 1.5;
}
.site-name span{
  font-size: 13px;
	font-weight: 400;
	display: block;
}

/* 右ナビ */
.header-right {
  display: flex;
  gap: 28px;
}

.header-right a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #666;
  position: relative;
}
.header-right img {
	height: 40px;
	width: auto;
}
/* 下線ホバー */
.header-right a:hover {
	opacity: 0.7;
	transition: 0.3s;
}

/* ハンバーガーも主張させない */
.hamburger span {
  background-color: #111;
  height: 2px;
}

/* スマホ */
@media (max-width: 768px) {
  .site-header {
    padding: 14px 20px;
  }

  .site-name {
    font-size: 0.8rem;
  }
	.logo {
    height: 40px;
}
}

/* カード系（スライド・STEP） */
.slide img,
.step,
.books-grid img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* STEP */
.step-number {
  font-size: 1.2rem;
  color: #666;
}
p.step-text {
    text-align: left;
}



/* 表示状態 */
.about-inner.in-view,
.howto-inner.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ヘッダー */
.site-header {
  padding: 20px 40px;
  align-items: center;
}

/* フッター */
.site-footer {
  background-color: #fafafa;
  color: #777;
}

.steps-wrapper .step:nth-child(1) {
  transition-delay: 0.1s;
}

.steps-wrapper .step:nth-child(2) {
  transition-delay: 0.25s;
}

.steps-wrapper .step:nth-child(3) {
  transition-delay: 0.4s;
}

.steps-wrapper .step:nth-child(4) {
  transition-delay: 0.55s;
}

/* スクロールバーを主張させない */
.books-main::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.1);
}

/* =================================================
   Top 2column section (top-w) 修正版
================================================= */

.top-w {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  gap: 80px;
}

.top-w > div {
  flex: 0 0 calc(50% - 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
/* 左カラム（About） */

.top-w h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
	margin: 0;
}

.top-w p {
  font-size: 14px;
  line-height: 1.5;
	margin-top: 0;
}
a.btn-s {
    letter-spacing: 1px;
    color: #fff;
    background: #89CEEB;
    padding: 4px 30px;
    border-radius: 50px;
    transition: 0.3s;
}
a.btn-s:hover {
    opacity: 0.7;
	transition: 0.3s;
}
/* =========================
   Progress Visible Slider
========================= */

.slider-bar {
  -webkit-appearance: none;
  appearance: none;
  width: 60%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #89CEEB 0%,
    #89CEEB 0%,
    #89CEEB 0%,
    #89CEEB 100%
  );
  outline: none;
  margin: 24px auto 0;
  display: block;
  cursor: pointer;
}

/* hover */
.slider-bar:hover {
  opacity: 0.9;
}

/* ===== Chrome / Safari ===== */
.slider-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #89CEEB;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.slider-bar::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* ===== Firefox ===== */
.slider-bar::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #89CEEB;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* スマホ */
@media (max-width: 768px) {
  .slider-bar {
    width: 80%;
  }
}

/* =================================================
   Responsive
================================================= */
@media (max-width: 900px) {
	 .steps-wrapper div {
    width: 100%;
    min-width: 300px;
}
	.steps-wrapper {
    gap: 30px;
}
}
@media (max-width: 768px) {
	.header-right{
		display: none;
	}
	.top-w {
		display: none;
}
	section.main-visual {
    padding: 0 0 30px 0;
}
	.site-name span{
		font-size: 11px;
	}
	.site-header {
    padding: 20px 17px;
    align-items: center;
}
}


/* -----------------------------
   チェックボックス
----------------------------- */
input[type="checkbox"] {
  -webkit-appearance: checkbox; /* Chrome, Safari */
  -moz-appearance: checkbox;    /* Firefox */
  appearance: checkbox;
  width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background-color: #007bff; /* チェック時の色 */
  border: 1px solid #007bff;
}

/* ラベルと横並び */
label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}