﻿@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}
/* ==========================================================================
   全体の共通設定（リセットと基本スタイル）
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  text-align:justify;
  font-size:90%;
}

ol {
  list-style: none;
  text-align:justify;
  font-size:90%;
  margin-bottom:30px;
}

/* ==========================================================================
   スライダー
   ========================================================================== */
.snap-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 14px;
  max-width: 450px;
  margin: 0 auto;
  margin-bottom:30px;
}

/* 親の直下にある figure に幅とスナップを指定する */
.snap-slider figure {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  text-align: center;
  scroll-snap-align: start;
}

/* figure の中の img は親の幅いっぱいに広げる */
.snap-slider img {
  width: 100%;
  height: auto;
  display: block; /* 画像下の余白を消す場合 */
}

.snap-slider figcaption {
  font-size: 80%;
  margin-top: 6px; /* 画像との余白 */
  margin-bottom: 10px;
}
 
figure {
  width: fit-content; /* 中身（画像）の幅に合わせる */
}
figcaption {
  caption-side: bottom;
  font-size:80%;
  margin-bottom:10px;
}
figure {
  text-align: center; /* 親要素に指定する */
}
figure {
  margin: 0;
}
   

/* ==========================================================================
   表組
   ========================================================================== */
/* 共通・PCでのスタイル */
.responsive-table {
  width: 90%;            /* 全体の横幅を80%に指定 */
  margin: 0 auto;        /* 画面中央に配置 */
  border-collapse: collapse;
  font-family: sans-serif;
  font-size:85%;
}

.responsive-table th,
.responsive-table td {
  padding: 10px;
  border: 1px solid #ccc;
}

.responsive-table th {
  background-color: #fff0f5;
  width: 100%;            /* PC時の左列（項目）の幅 */
  text-align: center;   
  justify-content: center;
  font-weight:600;
}

  /* 1列目のthの幅 */
th:nth-child(1) {
  width: 20%;
}
/* 2列目のthの幅 */
th:nth-child(2) {
  width: 20%;
}
/* 3列目のthの幅 */
th:nth-child(3) {
  width: 20%;
}
  /* 4列目のthの幅 */
 th:nth-child(4) {
  width: 20%;
}
/* 5列目のthの幅 */
th:nth-child(5) {
  width: 20%;
}
}

.responsive-table td {
  width: 65%;            /* PC時の右列（内容）の幅 */
}
.responsive-table td {
  text-align: center;   
  font-weight:600;
}

/* 偶数行（2, 4, 6行目...）に背景色をつける場合 */
tbody tr:nth-child(even) td {
  background-color: #f0ffff;
}

/* 奇数行（1, 3, 5行目...）に背景色をつける場合 */
tbody tr:nth-child(odd) td {
  background-color: #ffffff;
}

/* スマホ用のスタイル（画面幅767px以下） */@media screen and (max-width: 767px) {
  .responsive-table {
    width: 80%;          /* スマホでも横幅は80%を維持 */
  }

  /* テーブルの構造をブロック要素に変更して縦並びにする */
  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table th,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  /* 項目（th）のスタイル調整 */
  .responsive-table th {
    background-color: #fff0f5;
    box-sizing: border-box;
	margin-bottom:5px;
  }

  /* 内容（td）のスタイル調整 */
  .responsive-table td {
    margin-bottom: 5px; /* 行ごとの隙間を作る */
    box-sizing: border-box;
	text-align: center;   
    justify-content: center;  
  }
}

/* ==========================================================================
   文字スタイル
   ========================================================================== */
 
h2 {
    margin-top:3em;
	margin-bottom:0.5em;
	padding:2px 5px;
	color:#e4007f;
	font-size:105%;
	border-bottom:1px solid #e4007f;
    font-weight:bold;
    letter-spacing:1px;
} 

h3 {
    margin-top:0.5em;
	margin-bottom:0.5em;
	padding:2px 5px;
	color:#e4007f;
	font-size:105%;
	border-bottom:1px solid #e4007f;
        font-weight:bold;
        letter-spacing:1px;
} 

p.s1 {
margin: 5px; 
padding: 10px;
border: thin solid #ffffff;
background-color:#ffffff;
font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
font-size:96%;
font-weight:500;
line-height:160%;
text-align:justify;
color:#696969;
}

p.s2 {
margin: 10px; 
padding: 10px;
border: thin solid #ffffff;
background-color:#ffffff;
font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
font-size:130%;
font-weight:600;
line-height:160%;
text-align:center;
color:#e4007f;
}



dl {
	margin:10px 0 0 0;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

dt {
	margin-top:20px;
	margin-bottom:15px;
	padding-bottom:5px;
	border-bottom:1px dotted #3cb371;
    letter-spacing:1px;
    color :#3cb371;
    font-weight:600;
    font-size:90%;
	margin-left:5px;
	line-height:100%;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}


dd {
	margin-bottom:5px;
	margin-top:5px;
    letter-spacing:1px;
    font-size:90%;
	margin-left:10px;
	margin-right:10px;
	font-weight:500;
    line-height:150%;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
	color:#696969;
}

   
/* ==========================================================================
   ヘッダーとナビゲーション（PC基準のスタイル）
   ========================================================================== */
.header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-menu ul {
  display: flex;
  gap: 20px;
}

.nav-menu a:hover {
  color: #0076ed;
}
/* PCではハンバーガー用のボタンとチェックボックスを非表示にする */
#menu-btn-check,
.menu-btn {
  display: none;
}
/* ==========================================================================
   レイアウト（PC基準の2カラム設定）
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 10px auto;
  padding: 0 20px;
  display: flex;
  gap: 20px; /* カラム間の余白 */
}
/* メイン部分を広く（75%） */
.main-content {
  flex: 3;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  min-height: 400px;
}
/* サイドバーを狭く（25%） */
.sidebar {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}

.sidebar ul li {
  padding: 5px 0;
  margin-bottom: 30px;
  
}
/* フッター */
.footer {
  background-color: #ffc0cb;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  font-size:15px;
}
/* ==========================================================================
   レスポンシブ表示（画面幅 768px 以下の設定）
   ========================================================================== */@media (max-width: 768px) {
  
  /* 2カラムを1カラム（縦並び）に変更 */
  .container {
    flex-direction: column;
    margin: 15px auto;
  }
  
  /* ハンバーガーボタンの表示設定 */
  .menu-btn {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 110;
    cursor: pointer;
  }
  
  /* 三本線の真ん中の線 */
  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    background-color: #333;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s;
  }
  
  /* 三本線の上の線・下の線の位置調整 */
  .menu-btn span::before { bottom: 8px; }
  .menu-btn span::after { top: 8px; }
  
  /* ボタンが押されたら（チェックが入ったら）三本線を「✕」に変形 */
  #menu-btn-check:checked ~ .menu-btn span {
    background-color: transparent; /* 真ん中の線を透明に */
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  
  /* スマホ用メニューの初期状態（画面外の右側に隠す） */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%; /* メニューの横幅 */
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 105;
    padding-top: 80px;
    transition: all 0.3s;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  
  .nav-menu ul li {
    width: 100%;
    text-align: center;
  }
  
  .nav-menu ul li a {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
  }
  
  /* ボタンが押されたらメニューを画面内にスライドインさせる */
  #menu-btn-check:checked ~ .nav-menu {
    right: 0;
  }
}
p.resizeimage img{
  max-width: 100%; /* 親要素の幅を超えて大きくならず、狭い時は100%に縮小 */
  height: auto;    /* 縦横比（アスペクト比）を維持する */
}

/* ==========================================================================
   トップページに戻る
   ========================================================================== */
css/* 滑らかなスクロール（これは必須） */
html {
  scroll-behavior: smooth;
}
h2, [id] {
  scroll-margin-top: 100px; 
}
/* ボタン全体の配置と基本スタイル */
.btn-pagetop.-modern {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  z-index: 9999;

  /* ★ここからJSなしで非表示・表示を制御する魔法のCSS */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  
  /* ページのスクロール量（scroll()）をアニメーションのタイムラインにする設定 */
  animation: showScrollBtn linear both;
  animation-timeline: scroll();
  /* ボタンを表示させたいスクロール範囲（例：開始0px〜300pxの間で徐々に現れる） */
  animation-range: 0px 300px; 
}

/* 矢印とテキストのスタイル */
.btn-pagetop.-modern .arrow {
  position: relative;
  width: 2px;
  height: 40px;
  background-color: #333;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}
.btn-pagetop.-modern .arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 2px;
  background-color: #333;
  transform: rotate(-45deg);
  transform-origin: top left;
}
.btn-pagetop.-modern .text {
  writing-mode: vertical-rl;
}

/* マウスホバー時のアニメーション */
.btn-pagetop.-modern:hover .arrow {
  transform: translateY(-5px);
}

/* ★スクロール量に応じて実行されるアニメーションの内容 */
@keyframes showScrollBtn {
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.underline-marker {
  background: linear-gradient(transparent 20%, #ffff66 60%);
}

