@charset "utf-8";

:root{
 --page-color: #edf5e0fb;
 --sel-color: #167f92;
 --ul_color:#f5489e;
 --bg-white: #fff;
 --bc-green: #10b981;
 --sp-color: #ff0000;
 --bg-cherry-blossom: #f774eaed;
 --border-color: #ec1409;
 --bg-btn: #ee1111;
}
/* ---   rules.css.thm css  ----------*/
body {
  font-family: "メイリオ", "Meiryo", "Avenir", "Helvetica Neue", "Helvetica",
    "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic",
    sans-serif;
  font-size: 16px;
  background-color: var(--page-color);
}
container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template:
    " ...... " 26px
    " header " 4vh
    " ...... "
    " main   " 1fr
    " ...... "
    " footer "
    " ...... " 16px;
}
a.disabled {
  pointer-events: none;
}
/*   -----------   header   ----------   */
header {
 grid-area: header;
 display: flex;
 top: 0px;
 left: 0px;
 width: 100%;
 background: var(--bc-green);
 border-radius: 6px;
 box-shadow: 1px 1px 20px #666;
 z-index: 1;
}
#navArea {
  display: flex;
  width: 100%;
  margin: 0 auto;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
}
/* .logo img {
 width: 550px;
 height: 120px;
 padding-top: 10px;
 margin-left: -20px;
 border-radius: 6px;
} */
.logo img {
 /* width: 550px;
 height: 120px; */
 width: 120%;
 height: 130%;
 padding-top: 10px;
 margin-left: -20px;
 border-radius: 6px;
}
nav {
  display: flex;
  width: 80%;
  margin: 0 auto;
  justify-content: center;
  flex-direction: row;
  white-space: nowrap;
}
/*-- logo に画像を使用する場合、この二つを設定する。------*/
.logo {
  display: flex;
  align-items: center;
}

/* .logo h4{/*logoを文字にする場合、この二つを設定する。------*/
/* display: flex;
  width: 400px;
  font-size: 1rem;
  color: #ec1409;
}
.logo span{
  display: flex;
  font-size: 0.7em;
  align-self: flex-end;
}*/
nav {
 display: flex;
 width: 80%;
 margin: 0 auto;
 justify-content: center;
 flex-direction: row;
 white-space: nowrap;
}
.inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.inner li {
  display: flex;
  width: 100%;
  display: inline;
  margin-left: 60px;
}
.inner li a {
  font-size: 0.9rem;
  display: inline-block;
  color: var(--bg-white);
  text-decoration: none;
}
nav .inner ul li a:hover {
  font-weight: bold;
  border-bottom: 2px solid #ec1409;
}
/*   ---------   header  end   ----------   */
main {
  grid-area: main;
  width: 100%;
  margin: 10px auto;
}
.pr-logo {
  display: none;
}
section {
 width: 80%;
 margin: 0 auto;
 margin-top: 50px;
 margin-bottom: 0;
 padding: 16px;
 font-size: 0.9em;
 line-height: 1.75;
 border: 1px solid green;
}
section h4 {
  font-size: 1.2rem;
  padding: 10px;
  text-align: left;
  font-weight: normal;
}
dt {
  color: blue;
}
dd {
  padding-left: 1rem;
}
#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #ef3f98;
  opacity: 0.6;
  border-radius: 50%;
}
#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "Top";
  font-size: 16px;
  color: var(--bg-white);
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/* ---------- ---▼ table 領域 -------------- */
/*   --------- footer   ---------   */
footer {
  grid-area: footer;
  width: 98%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  border: 1px solid aqua;
}
.footer-nav {
  display: inline-flex;
  width: 100%;
  line-height: 1.5rem;
  padding-top: 12px;
}
footer .switching-nav {
  display: none;
}
footer ul {
  margin: 0 auto;
}
footer li {
  list-style: none;
}
.first {
  font-size: 0.8em;
  color: #333;
}
.third-nav img {
  height: 25px;
  margin: 0 auto;
}
.footer-nav ul li a {
  font-size: 0.7em;
  text-decoration: none;
  color: #666;
}
ul li a span4 {
 font-size: 0.6em;
}
footer p {
  font-size: 0.7em;
  padding: 16px;
  text-align: left;
}
small-color {
  color: var(--sp-color);
}
.footer-nav li a:hover {
 font-weight: 800;
color: #e80d7a;
border-bottom: 2px solid var(--sp-color);
}
.third-nav li.first:hover {
  border: none;
}
/**----------------メディアクエリー-------------**/
@media screen and (max-width: 1023px) {
  container {
    display: flex;
    width: 95%;
    margin: 0 auto;
    height: 100%;
    display: grid;
    grid-template:
      " ...... " 6px
      " header " 4vh
      " ...... "
      " main   " 1fr
      " ...... "
      " footer "
      " ...... " 16px;
  }
  /*   ----------------------   */
  .logo {
    display: none;
  }
  /* --------- ハンバーガーメニュー設定 ----------*/
  nav {
    display: block;
    position: fixed;
    background-color: var(--bg-white);
    width: 220px;
    top: 0;
    left: -300px;
    bottom: 0;
    transition: all 0.5s;
    z-index: 3;
    opacity: 0;
  }
  .open nav {
    left: 0;
    opacity: 1;
  }
  nav .inner {
    padding: 25px;
    margin-right: 300px;
  }
  nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    margin-right: 0px;
  }
  nav .inner ul li a {
    margin: 0;
    margin-right: 180px;
    border-bottom: 1px solid #333;
  }
  nav .inner ul li a {
    display: block;
    color: #333;
    font-size: 0.8em;
    padding: 1rem;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  .toggle-btn {
    display: block;
    position: fixed;
    width: 50%;
    height: 50%;
    right: 30px;
    width: 30px;
    height: 30px;
    z-index: 3;
    cursor: pointer;
  }
  .toggle-btn span {
    position: absolute;
    display: block;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--bg-btn);
    transition: all 0.4s;
    border-radius: 4px;
  }
  .toggle-btn span:nth-child(1) {
    top: 4px;
  }
  .toggle-btn span:nth-child(2) {
    top: 14px;
  }
  .toggle-btn span:nth-child(3) {
    bottom: 4px;
  }
  .open .toggle-btn span {
    background-color: var(--bg-white);
  }
  .open .toggle-btn span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
  }
  .open .toggle-btn span:nth-child(2) {
    opacity: 0;
  }
  .open .toggle-btn span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
  }
  #mask {
    display: none;
    transition: all 0.5s;
  }
  .open #mask {
    display: block;
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    opacity: 0.8;
    z-index: 2;
    cursor: pointer;
  }
  /*   ---------------------   */
  main {
    width: 100%;
    margin: 10px auto;
  }
  .pr-logo {
    display: block;
  }
  .pr-logo img {
    width: 300px;
    margin: 20px auto;
    border-radius: 6px;
  }
  section {
    width: 98%;
    margin: 0 auto;
    line-height: 1.5;
  }
  section h4 {
    padding-bottom: 10px;
    text-align: center;
  }
  #page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #ef3f98;
    opacity: 0.6;
    border-radius: 50%;
  }
  #page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
  }
  #page_top a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "Top";
    font-size: 16px;
    color: var(--bg-white);
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
  /*------------footer-----------------*/
  ooter {
   display: flex;
   width: 98%;
   margin: 0 auto;
   flex-direction: column;
   border: none;
  }
  
  /*グリッドレイアウトを使用*/
  /*.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2つの列を均等に配置*/
  /*grid-gap: 10px; /* リストの間にギャップを追加*/ /*
  }*/
  /*フレックスボックスを使用*/
  .footer-nav {
    display: flex;
    display: inline-flex;
    width: 100%;
    line-height: 3;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .footer-nav ul {
   width: 100%;
   margin: 0 auto;
   flex-basis: calc(50% - 8px); /* 各リストを横幅の50%に設定*/
    padding-bottom: 30px;
    padding: 0;
  }
   .footer-nav ul li a {
   font-size: 0.7em;
  }
  footer li {
    width: 100%;
    margin: 0 auto;
  }
  footer p {
    text-align: center;
    font-size: 0.5em;
  }
  }
@media screen and (min-width: 1024px) and (max-width: 1920px) {
  container {
    display: flex;
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template:
      " ...... " 26px
      " header " 4vh
      " ...... "
      " main   " 1fr
      " ...... "
      " footer "
      " ...... " 16px;
  }
  .logo img {
   width: 150%;
   height: 130%;
   padding-top: 10px;
   margin-left: -20px;
   border-radius: 6px;
 }
}
@media screen and (min-width: 1921px) and (max-width: 2560px) {
  container {
    display: flex;
    width: 70%;
    margin: 0 auto;
    display: grid;
    grid-template:
      " ...... " 26px
      " header " 4vh
      " ...... "
      " main   " 1fr
      " ...... "
      " footer "
      " ...... " 16px;
  }
}
@media screen and (min-width: 2561px) and (max-width: 3840px) {
  container {
    display: flex;
    width: 50%;
    margin: 0 auto;
    display: grid;
    grid-template:
      " ...... " 26px
      " header " 4vh
      " ...... "
      " main   " 1fr
      " ...... "
      " footer "
      " ...... " 16px;
  }
}
