@charset "UTF-8";
html {
    scroll-behavior: smooth;
 }
:root {
   /* タイトル画像のサイズ */
   --img-size:50px;

   /* ヘッダーの間隔 */
   --header-distance:10px;

   /* ナビゲーションの記号 */
   --nav-symbol:">";

   /* テーマカラー */
   --main-color:black;
   --back-color:white;
   --theme-color1:darkblue;
   --theme-color2:green;
}

/* タイトル画像 */
header img {
   height:var(--img-size);
}
header > a {
   display:flex;
   margin:0 var(--header-distance);
}

/* 画像とヘッダーをflex */
header {
   display:flex;
   z-index:1;
   place-items:center;
}

/* ハイパーリンクの処理 */
a[href]:not(.white) {
   text-decoration:none;
   color:var(--theme-color1);
}
a[href]:hover {
   text-decoration:underline;
}

/* headerの隙間を削除 */
body {
   margin:0px;
}
body > header ~ * {
   margin:8px;
}

/* メニューの動作処理 */
.main:hover + .sub {
   display:block;
}
.sub:hover {
   display:block;
}
.sub {
   display:none;
   backface-visibility:hidden;
   height:auto;
   background-color:var(--back-color);
   border:solid var(--theme-color2);
   border-radius:10px;
   width:100%;
}
.sub > li {
   margin:5px 0;
}

/* メニューの形式処理 */
header ul {
   padding:0;
   margin:0;
   height:var(--img-size);
   list-style:none;
}
#normal {
   display:flex;
   flex:auto;
}
#normal > li {
   flex:auto;
}

/* リスト中央処理 */
#normal {
   place-items:center;
}
#normal > li {
   position:relative;
}
.sub {
   position:absolute;
}

/* リストのテキスト位置 */
header li {
   text-align:center;
}

/* ナビゲーションの操作 */
nav ul {
   list-style:none;
}
nav li {
   display:inline;
}
nav li:has(a):after {
   content:var(--nav-symbol);
   font-weight:bold;
}

/* タイトルの設定 */
h1 {
   text-align:center;
   color:var(--theme-color1);
}

/* メニューの非表示設定 */
@media (width <= 800px) {
   #normal > li {
      display:none;
   }
}

/* 位置の固定 */
header {
   position:fixed;
   top:0;
   margin:0;
   padding-top:10px;
   width:100%;
   background-color:var(--back-color);
   padding-bottom:10px;
   border-bottom:solid var(--theme-color1);
}
header + nav {
   /* headerのpadding + 80px */
   margin-top:90px;
}

/* 目次の設定 */
.contents {
   color:var(--theme-color1);
}
.contents:hover {
   text-decoration:underline;
}

/* 中央配置 */
.center-element {
   display:flex;
   place-content:center;
}


/* ここからハンバーガーの処理 */


/* サブ設定 */
.content + ul {
   display:none;
}
.content:checked + ul {
   display:block;
}

/* 表示時設定 */
#show:checked + #side {
   width:200px;
   transition:ease 3s;
}

/* メニュー(ハンバーガー)の設定 */
#side {
   text-align:center;
   position:fixed;
   top:0;
   right:0;
   height:100%;
   z-index:2;
   background-color:white;
   margin:0;
   width:0;
   transition:ease 3s;
   overflow-y:auto;
}

/* 重なり対策 */
#side > li > ul {
   height:auto;
}

/* リストの設定 */
#side,#side ul {
   padding:0;
   list-style:none;
   color:var(--main-color);
}

/* 薄い背景の設定 */
:has(#show:checked) > #back {
   position:fixed;
   top:0;
   left:0;
   z-index:1;
   background-color:var(--back-color);
   height:100%;
   width:100%;
   opacity:.5;
}

/* ハンバーガーマーク */
.content + ul {
   display:none;
}
.content:checked + ul {
   display:block;
}

/* 表示時設定 */
#show:checked + #side {
   width: 210px;
   transition: ease .3s;
}

/* メニュー(ハンバーガー)の設定 */
#side {
   display: flex;
   flex-direction: column;
   position:fixed;
   top: 0;
   right: 0;
   height: 100%;
   z-index: 2;
   background-color: white;
   margin: 0;
   width: 0;
   transition: ease .3s;
   overflow-y: auto;
}

#side > li {
   border: solid;
   margin: 10px;
   border-radius: 8px;
}

#side ul {
   border-top: solid;
   padding-top: 10px;
}

/* 重なり対策 */
#side > li > ul {
   height:auto;
}

/* リストの設定 */
#side,#side ul {
   padding-top: 1px;
   list-style:none;
   color:var(--main-color);
}

/* 薄い背景の設定 */
:has(#show:checked) > #back {
   position:fixed;
   top:0;
   left:0;
   z-index:1;
   background-color: rgb(150 150 150);
   height: 100%;
   width: 100%;
   opacity: .5;
}

/* ハンバーガーマーク */
#hamburger > div {
   background-color:black;
   margin:5px 0;
   height:5px;
   width:30px;
   border-radius:5px;
}
#hamburger {
   margin-right:var(--header-distance);
}


/* 幅に応じて消滅 */
@media (width > 800px) {
   #hamburger {
      display:none;
   }
   #back {
      display:none;
   }
   #side {
      display:none;
   }
}
h2{
   padding: 0.25em 0.5em;
   color: #494949;
   background: ghostwhite;
   border-left: solid 5px #7db4e6;
   font-size: 30px;
}
.safe-problem{
   padding: 10px;
   font-size:20px;
}






/*ここから次のページ用のアニメーション*/
.nextpage-animation{
   /*線の基点とするためrelativeを指定*/
  position:relative;
   /*ボタンの形状*/  
  color:#333;
   padding: 10px 30px;
  display:inline-block;
   text-decoration: none;
   outline: none;
}

/*線の設定*/
.nextpage-animation::before,
.nextpage-animation::after {
  content:'';
   /*絶対配置で線の位置を決める*/
  position:absolute;
   /*事前に出現させる線の形状*/
  border:solid #333;
  width:10px;
  height:10px;
   /*アニメーションの指定*/
  transition:all 0.3s ease-in-out;
}

.nextpage-animation::before{
   /*事前に出現させる線の位置*/
  top:0;
  left:0;
   /*事前に出現させる線の形状*/
  border-width:2px 0 0 2px;
}

.nextpage-animation::after{
   /*事前に出現させる線の位置*/
  bottom:0;
  right:0;
   /*事前に出現させる線の形状*/
  border-width:0 2px 2px 0;
}

/*hoverした際の線の形状*/
.nextpage-animation:hover::before,
.nextpage-animation:hover::after{
  width:calc(100% - 2px);
  height:calc(100% - 2px);
  border-color:#666
}

.nextpage-animation{
   font-weight:bold;
}

.footer{
   width: auto;
   background-color: #5a5a5a;
   color: #fff;
  text-align: center;
   padding: 40px 0;
   margin-bottom: 0px;
   
 }
 .footer_ul{
   list-style: none;
   display: flex;
   justify-content: center;
   color: white;
   
 }
 .white{
   width: 100%;
   margin-bottom: 10px;
   margin-top: -20px;
   font-size: 20px;
   color: white;
   display: inline-block ;
   padding-bottom: 10px;

 }
 .footer-li{
   padding: 0 10%;
 }

.about{
   font-size:20px;
   text-align: center;

}
.middle{
   text-align: center;
}
.technology-problem{
   font-size: 20px;
   text-align: center;
}
.nextpage{
   color: var(--theme-color1);
   font-size: 25px;

}
.right{
   text-align: right;
}
.nextpage:hover{
   color: #a9ceec;
}
.padding{
   padding-left: 25px;
   padding-right: 25px;
}
.title{
   font-size: 30px;
   color:var(--theme-color1);
   position: relative;
   line-height: 1.4;
   padding:0.25em 1em;
   display: inline-block;
   margin-top: 20px;
}
.title:before, .title:after { 
   content:'';
   width: 20px;
   height: 30px;
   position: absolute;
   display: inline-block;
 }
 
 .title:before {
   border-left: solid 1px var(--theme-color2);
   border-top: solid 1px var(--theme-color2);
   top:0;
   left: 0;
 }
 
 .title:after {
   border-right: solid 1px var(--theme-color2);
   border-bottom: solid 1px var(--theme-color2);
   bottom:0;
   right: 0;
 }
 main{
   padding: 0px 15%;
 }

.size{
    font-size: 20px;

}
.table_of_content{
    list-style: none;
      text-align: left;
      padding-left: 30%;
 }
 .content_table{
    font-size: 20px;
    border: 2px black solid;
    margin: 20px 10%;
    padding: 40px 30px;
 }
 .content-name{
    list-style: none;
 
 }
 .paragraph{
    font-size: 25px;
    padding: 0.4em 0.5em;
    color: #494949;
    background: ghostwhite;
    border-left: solid 5px #7db4e6;
 }
 .little-paragraph{
    border-bottom: solid 3px var(--theme-color1);
    
    font-size: 25px;
  }
  .bottom-solid{
    border-bottom: 1px var(--theme-color1) solid;
  }
  .references-name{
    font-size: 20px;
    
 }
  .references-URL{
    list-style: none;
    font-size: 17px;
 }
 .law-ul{
    font-size: 20px;
    border: 2px black solid;
    margin: 20px 10%;
    padding: 40px 30px;
 }
 .law-li{
    list-style: none;
 }