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


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

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

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

a{
   text-decoration: none;
}

.gaiyo{
    background-color: var(--white);
    border: 1px solid var(--emeraldgreen);
    margin: auto 20px;
    margin-top: 50px;
    position: relative;
    color: #3e3a39;
    font-size: 14px;
    padding: 15px;
}


.gaiyo::before{
    position: absolute;
    content: "";
    background-color: var(--skyblue);
    height: 20px;
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
}


.orime1{
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 0;
    border-color: var(--skyblue) transparent transparent transparent;
}

.orime2{
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 15px 15px;
    border-color: transparent transparent var(--beige) transparent;
}

.gaiyo a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  color: var(--emeraldgreen);

}

.gaiyo a:hover {
  opacity: 0.75;
}

.cap{
   font-weight:500;
   color:var(--black);
   text-align: center;
   margin: 0;  
   font-size:14px;
}






.box{
   margin: 0 auto;
   width:90%;
   border:1px solid var(--emeraldgreen);
   background-color: var(--white);
   position:relative;
   margin-top:20px;
   justify-content:center;
   padding:15px;
   line-height:1.5;
   font-size:14px;
   text-align:justify;
   text-align-last:left;
}



.tabwrap{
    display:flex;
}

.nyushigaiyou_tab{
    width: auto;
    height: 54px;
    border:2px solid var(--navy);
    margin-top:20px;
}

.tab-button {
    cursor: pointer;
    flex:1;
    height: 50px;
    background-color: #e6e6e6;
    border: none;
    color: var(--brack);
    border-right: 2px solid var(--navy);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 14px;
}

.tab-button.active {
    background-color: var(--emeraldgreen);
    color: var(--white);
}

.tab-button:last-child{
    border-right: none;
}


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

/*areaにis-activeというクラスがついた時の形状*/
.tab-content.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: 90%;
  margin: 0 auto;
  margin-bottom:10px;
  
}



th {
  text-align: center;     /* 横方向：中央揃え */
  vertical-align: middle; /* 縦方向：中央揃え */
  border:var(--emeraldgreen)
   1px solid;
  white-space: nowrap;
  padding:5px;
  height: 40px;
  background-color:var(--skyblue);
  font-size: 14px;

}

td {
  text-align: center;     /* 横方向：中央揃え */
  vertical-align: middle; /* 縦方向：中央揃え */
  border:var(--emeraldgreen)
   1px solid;
  white-space: nowrap;
  padding:10px;
  background-color:var(--white);
  font-size: 14px;
}

.komejirushi{
   font-size: 11px;
    width: 90%;
    text-align: left;
    margin-left: 5%;
    margin-top: 5px;
    margin-bottom: 50px;
}

.back-to-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: var(--emeraldgreen)
  99;
  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: var(--white);
    border-top: 1.5px solid var(--emeraldgreen)
    ;
    border-bottom: 1.5px solid var(--emeraldgreen)
    ;
    font-size: 16px;
    color:var(--black) ;
    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 var(--emeraldgreen)
  ;
  border-bottom: 20px solid transparent;
}

.column-s::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-left: 20px solid transparent;
  border-bottom: 20px solid var(--emeraldgreen)
  ;
}

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

.table-wrapper {
  overflow-x: auto;         /* 横スクロールを可能にする */
  -webkit-overflow-scrolling: touch; /* iOS対応（任意） */
  margin: 0 auto;           /* 中央寄せ */
  margin-bottom: 30px;
  width: 90%;  
  scrollbar-width: auto; 
  scrollbar-color:var(--skyblue) var(--white) ;

              /* 表示サイズを制限（必要に応じて調整） */
}

/* ここにスクロールバーの色指定を追加 */
.table-wrapper::-webkit-scrollbar {
  height: 10px
}

.table-wrapper::-webkit-scrollbar-track {
  background-color: var(--white);
  border: solid 2px var(--skyblue);
  border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--skyblue);
  border-radius: 10px;
}

.scroll-guide {
  display: none;
}

@media screen and (max-width: 768px) {
  .scroll-guide {
        display: block;
        width: 90%;
        margin-bottom: 10px;
        left: 26%;
        color: var(--black);
        font-size: 12px;
        position: relative;
  }
}



/*
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) {
    /*レスポンシブ用*/


}
    