@charset "UTF-8";
/*各ページ独自のcss設定*/


/*以下に指定を記述する*/

/*↓これは書き方の例だから消してね*/
body{
   background-color:#fffbf8;
}

.page-title{
  display: flex;
  flex-direction: column;
  justify-content:center;
  align-items: center;
}

a{
   text-decoration: none;
}

h1{
   color:#333333;
   font-size:28px;
   text-align: center;
   margin-top:40px;
   font-weight: bold;
}

.warning {
  font-size: 10px;
  font-weight: 500;
  color: #3E3A39;
  text-align: center;
  width: 270px;
  margin: 40px auto;
}


.linebox {
  position: relative;
  width: 265px;
  height: 4px;
  margin: 0 auto;

}

.line {
  position: absolute;
  height: 4px;
}

.line1 {
  width: 120px;
  background: #edaa0b;
  border-radius: 10px;
  z-index: 3;
  left: 0;
}

.line2 {
  width: 100px;
  background: #f3c759;
  border-radius: 0 10px 10px 0;
  z-index: 2;
  left: 105px;
}

.line3 {
  width: 80px;
  background: #f9e3aa;
  border-radius: 0 10px 10px 0;
  z-index: 1;
  right: 0;
}

.capbox {
    position: relative;
    width: 345px;
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top:30px;
    padding: 15px 20px;
    border-top: 1px solid #f3c759;
    border-bottom: 1px solid #f3c759;
}

.capbox::before,
.capbox::after {
    position: absolute;
    width: 1px;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% + 10px);
    background-color: #f3c759;
    content: '';
}

.capbox::before {
    left: 5px;
}

.capbox::after {
    right: 5px;
}

.cap{
   font-weight:500;
   color:#3E3A39;
   text-align: center;
   margin: 0;  
   font-size:14px;
}

/*戻る*/
.back{
    font-size: 17px;
    font-weight: 500;
    color: #3e3a39;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    width: 180px;
    height: 45px;
    margin: 0 auto;
    margin-bottom: 90px;
    box-shadow: 1px 1px 1px #00000080;
    position: relative;
    margin-top:90px;
}

p{
   font-weight:500;
   color:#3E3A39;
   text-align: center;
   margin: 0;  
   font-size:17px;
   z-index: 1; /* ← 追加：矢印より前に出す */
}


.back::before{
   content:"";
   position:absolute;
   top:0;
   right:0;
   border-right: 15px solid #b3b3b3;
   border-bottom: 15px solid transparent;
}

.back::after{
   content:"";
   position:absolute;
   bottom:0;
   left:0;
   border-right: 15px solid transparent;
   border-bottom: 15px solid #f3c759;

}  

.yajirushi1 {
    display: inline-block;
    width: 30px;
    height: 0.75px;
    background: #4d4d4d;
    position: absolute;
    top: 55%;
    transform: translateY(-55%);
    left: 33px;
}

.yajirushi2 {
    display: inline-block;
    width: 10px;
    height: 0.75px;
    background: #4d4d4d;
    transform: rotate(-45deg) translateY(-55%);
    transform-origin: left bottom;
    position: absolute;
    top: 55%;
    left: 33px;
}


.yajirushi-wrap {
    width: 48px;
    height: 24px;
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 5px;
    z-index: 0;
}

.box{
   margin: 0 auto;
   width:335px;
   border:1px #f3c759 solid;
   background-color: #fff;
   position:relative;
   margin-top:20px;
   padding:10px;
   text-align: center;
   justify-content:center;
   padding:15px;
   line-height:1.5;
   font-size:14px;
   text-align:justify;
   text-align-last:left;
}

.tab{
	display: flex;
   font-weight: 500;
   font-size:12px;   
   justify-content: center; /* 横方向中央 */
   align-items: center;     /* 縦方向中央 */
   text-align: center;
   width: 100%;        /* 画面幅いっぱいに広げる */
   max-width: 100%;    /* 最大幅制限 */
   padding: 0;         /* 余白があるならリセット */
   margin: 30px 0 0 0; /* 上だけ余白 */
   box-sizing: border-box; /* paddingを含めて幅を計算 */
}

li{
   list-style-type: none;
   width:calc(100%/4);
}

.tab li a{
  display: flex; /* ← inline-block → flex にする */
  justify-content: center;
  align-items: center;
  height: 45px; /* ← 高さも固定 */
  background: #f2f2f280;
  margin: 0px;
  padding: 0 10px;
  text-decoration: none;
  color: #999999;
  white-space: normal;
  box-sizing: border-box; /* ← paddingとborder含めて幅を計算 */
  transition: 0.3s all;
  white-space: nowrap;     /* 🟩 折り返さず1行に */
  line-height: 1;  
  border-top: 1px solid #99999950;
  border-left: none;
  border-right: 1px solid #99999950;
  border-bottom: 2px solid #f3c759;
  font-weight:500;
}


.tab li.active a{
  background:#fffbf8;
  color:#333333;
  border-top: 2px solid #f3c759;    
  border-left: 2px solid #f3c759;   
  border-right: 2px solid #f3c759;  
  border-bottom: none; 
  position: relative;
  z-index: 10;
}

.tab li.active + li a {           
   border-left: none;              
}

/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fffbf8;
   position:relative;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;    
}


@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

table {
  border-collapse: collapse;
  width: 80%;
  height: 200px; /* 縦方向に中央揃えを見せるための高さ */
  margin: 0 auto;
  margin-bottom:10px;
  
}

table:last-of-type {
  margin-bottom: 40px;
}

th {
  text-align: center;     /* 横方向：中央揃え */
  vertical-align: middle; /* 縦方向：中央揃え */
  border:#f3c759 1px solid;
  white-space: nowrap;
  padding:5px;
  background-color:#f9e3aa;

}

td {
  text-align: center;     /* 横方向：中央揃え */
  vertical-align: middle; /* 縦方向：中央揃え */
  border:#f3c759 1px solid;
  white-space: nowrap;
  padding:5px;
  background:#ffffff;
}

.komejirushi{
   font-size:10px;
   width:80%;
   text-align:justify;
   margin: 0 auto;
}

.back-to-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: #f3c75999;
  color: white;
  padding: 10px 14px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: #e07e0099;
}

.column-s {
    height: 33px;
    width: 240px;
    background-color: #fffbf8;
    border-top: 1.5px solid #f3c759;
    border-bottom: 1.5px solid #f3c759;
    font-size: 16px;
    color: #333333;
    font-weight: 500;
    margin: 40px auto 20px auto; /* 上40px、左右中央、下20px */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.column-s::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-left: 20px solid #f3c759;
  border-bottom: 20px solid transparent;
}

.column-s::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-left: 20px solid transparent;
  border-bottom: 20px solid #f3c759;
}

.table-wrapper {
  overflow-x: auto;         /* 横スクロールを可能にする */
  -webkit-overflow-scrolling: touch; /* iOS対応（任意） */
  margin: 0 auto;           /* 中央寄せ */
  width: 90%;               /* 表示サイズを制限（必要に応じて調整） */
}






/*
css概説（復習用　要らなければ消してください）

vol.1 用語の解説

セレクタ…装飾をつけたい対象の要素のこと
属性…セレクタに施したい装飾の種類
値…セレクタに施したい装飾の具体的内容

例：h1{color:red;}
h1がセレクタ　colorが属性　redが値

vol.2 セレクタの指定
①要素名で指定
h1{color:red;}

②class名で指定
.class{color:red;}

③id名で指定
#id{color:red;}

④要素名プラスclass名で指定
div.class{color:red;}

⑤要素名プラスid名で指定
div#id{color:red;}

⑥要素の位置から指定
header div{color:red;}   
↑スペースを入れる（ここではheader内のdiv要素を指定）

vol.3 属性・値の指定

①{属性:値;}の形で記述
{color:red;}

②１つのセレクタに対する指定はまとめて記述できる
h1{
   color:red;
   width:90%;
}

③指定が重複したら後の行にあるものが優先
h1{
   color:red;
   width:90%;
   color:blue;
}
↑ここではh1はblueになる

④指定が重複したらより特定が強いものが優先
h1{
   color:red;
   width:90%;
}
header h1{
   color:blue;
}
↑ここではheader内のh1はcolorがblue、widthが90%になる
*/

@media screen and (min-width:1024px) {
  body{
   background-color:#fffbf8;
}

.flex-wrapper {
  display: flex;
  gap: 20px;            /* 2つの間隔 */
  align-items: flex-start; /* 上揃え */
  margin-right:10%;
  margin-left:10%;
}

.flex-wrapper .flex {
  flex: 1;              /* 均等に幅を分ける */
  min-width: 0;         /* 内容が長くてもはみ出さないように */
}
.tab li a:hover {
  opacity: 0.6;
  background-color: #fffbf8;
}


.page-title{
  display: flex;
  flex-direction: column;
  justify-content:center;
  align-items: center;
}

.back:hover{
  transform: transslateY(4px);
  box-shadow: none;
}

a{
   text-decoration: none;
}

h1{
   color:#333333;
   font-size:32px;
   text-align: center;
   margin-top:40px;
   font-weight: bold;
}

.warning {
  font-size: 14px;
  font-weight: 500;
  color: #3E3A39;
  text-align: center;
  width: 270px;
  margin: 40px auto;
}


.linebox {
  position: relative;
  width: 265px;
  height: 4px;
  margin: 0 auto;

}

.line {
  position: absolute;
  height: 4px;
}

.line1 {
  width: 120px;
  background: #edaa0b;
  border-radius: 10px;
  z-index: 3;
  left: 0;
}

.line2 {
  width: 100px;
  background: #f3c759;
  border-radius: 0 10px 10px 0;
  z-index: 2;
  left: 105px;
}

.line3 {
  width: 80px;
  background: #f9e3aa;
  border-radius: 0 10px 10px 0;
  z-index: 1;
  right: 0;
}

.capbox {
    position: relative;
    width: 70%;
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top:30px;
    padding: 15px 20px;
    border-top: 1px solid #f3c759;
    border-bottom: 1px solid #f3c759;
    font-size:18px;
}

.capbox::before,
.capbox::after {
    position: absolute;
    width: 1px;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% + 10px);
    background-color: #f3c759;
    content: '';
}

.capbox::before {
    left: 5px;
}

.capbox::after {
    right: 5px;
}

.cap{
   font-weight:500;
   color:#3E3A39;
   text-align: justify;
   margin: 0;  
   font-size:18px;
}

/*戻る*/
.back{
    font-size: 17px;
    font-weight: 500;
    color: #3e3a39;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    width: 188px;
    height: 53px;
    margin: 0 auto;
    margin-bottom: 90px;
    box-shadow: 1px 1px 1px #00000080;
    position: relative;
    margin-top:90px;
}

p{
   font-weight:500;
   color:#3E3A39;
   text-align: center;
   margin: 0;  
   font-size:18px;
   z-index: 1; /* ← 追加：矢印より前に出す */
}


.back::before{
   content:"";
   position:absolute;
   top:0;
   right:0;
   border-right: 20px solid #b3b3b3;
   border-bottom: 20px solid transparent;
}

.back::after{
   content:"";
   position:absolute;
   bottom:0;
   left:0;
   border-right: 20px solid transparent;
   border-bottom: 20px solid #f3c759;

}  

.yajirushi1 {
    display: inline-block;
    width: 30px;
    height: 0.75px;
    background: #4d4d4d;
    position: absolute;
    top: 55%;
    transform: translateY(-55%);
    left: 33px;
}

.yajirushi2 {
    display: inline-block;
    width: 10px;
    height: 0.75px;
    background: #4d4d4d;
    transform: rotate(-45deg) translateY(-55%);
    transform-origin: left bottom;
    position: absolute;
    top: 55%;
    left: 33px;
}


.yajirushi-wrap {
    width: 48px;
    height: 24px;
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 5px;
    z-index: 0;
}

.box{
   margin: 0 auto;
   width:80%;
   border:1px #f3c759 solid;
   background-color: #fff;
   position:relative;
   margin-top:20px;
   padding:10px;
   text-align: center;
   justify-content:center;
   padding:15px;
   line-height:1.5;
   font-size:18px;
   text-align:justify;
   text-align-last:left;
}

.tab{
	display: flex;
   font-weight: 500;
   font-size:18px;   
   justify-content: center; /* 横方向中央 */
   align-items: center;     /* 縦方向中央 */
   text-align: center;
   width: 100%;        /* 画面幅いっぱいに広げる */
   max-width: 100%;    /* 最大幅制限 */
   padding: 0;         /* 余白があるならリセット */
   margin: 30px 0 0 0; /* 上だけ余白 */
   box-sizing: border-box; /* paddingを含めて幅を計算 */
}

li{
   list-style-type: none;
   width:calc(100%/4);
}

.tab li a{
  display: flex; /* ← inline-block → flex にする */
  justify-content: center;
  align-items: center;
  height: 45px; /* ← 高さも固定 */
  background: #f2f2f280;
  margin: 0px;
  padding: 0 10px;
  text-decoration: none;
  color: #999999;
  white-space: normal;
  box-sizing: border-box; /* ← paddingとborder含めて幅を計算 */
  transition: 0.3s all;
  white-space: nowrap;     /* 🟩 折り返さず1行に */
  line-height: 1;  
  border-top: 1px solid #99999950;
  border-left: none;
  border-right: 1px solid #99999950;
  border-bottom: 2px solid #f3c759;
  font-weight:500;
}


.tab li.active a{
  background:#fffbf8;
  color:#333333;
  border-top: 2px solid #f3c759;    
  border-left: 2px solid #f3c759;   
  border-right: 2px solid #f3c759;  
  border-bottom: none; 
  position: relative;
  z-index: 10;
}

.tab li.active + li a {           
   border-left: none;              
}

/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fffbf8;
   position:relative;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;    
}


@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

table {
  border-collapse: collapse;
  width: 80%;
  height: 200px; /* 縦方向に中央揃えを見せるための高さ */
  margin: 0 auto;
  margin-bottom:10px;
  
}

table:last-of-type {
  margin-bottom: 40px;
}

th {
  text-align: center;     /* 横方向：中央揃え */
  vertical-align: middle; /* 縦方向：中央揃え */
  border:#f3c759 1px solid;
  white-space: nowrap;
  padding:5px;
  background-color:#f9e3aa;

}

td {
  text-align: center;     /* 横方向：中央揃え */
  vertical-align: middle; /* 縦方向：中央揃え */
  border:#f3c759 1px solid;
  white-space: nowrap;
  padding:5px;
  background:#ffffff;
}

.komejirushi{
   font-size:14px;
   width:80%;
   text-align:justify;
   margin: 0 auto;
}

.back-to-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: #f3c75999;
  color: white;
  padding: 10px 14px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: #e07e0099;
}

.column-s {
    height: 41px;
    width: 248px;
    background-color: #fffbf8;
    border-top: 1.5px solid #f3c759;
    border-bottom: 1.5px solid #f3c759;
    font-size:17px;
    color: #333333;
    font-weight: 500;
    margin: 40px auto 20px auto; /* 上40px、左右中央、下20px */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.column-s::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-left: 20px solid #f3c759;
  border-bottom: 20px solid transparent;
}

.column-s::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-left: 20px solid transparent;
  border-bottom: 20px solid #f3c759;
}

.table-wrapper {
  overflow-x: auto;         /* 横スクロールを可能にする */
  -webkit-overflow-scrolling: touch; /* iOS対応（任意） */
  margin: 0 auto;           /* 中央寄せ */
  width: 90%;               /* 表示サイズを制限（必要に応じて調整） */
}


}
    