@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;
}
/* ---  profile.thm css & m-profile.htm css ----------*/
body {
  font-family: "メイリオ", Meiryo, "Avenir", "Helvetica Neue", "Helvetica",
    "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic",
    "sans-serif";
  line-height: 1.25;
  font-size: 16px;
  background-color: var(--page-color);
}
container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template:
    " ...... " 12px
    " header " 4vh
    " ...... "
    " main   " 1fr
    " ...... "
    " footer "
    " ...... " 16px;
}
a.disabled {
  pointer-events: none;
}
/*   -----------   header   ----------   */
header {
  grid-area: header;
  display: flex;
  width: 100%;
  margin-top: 2px;
  background: #10b981;
  border-radius: 6px;
  box-shadow: 1px 1px 20px #666;
  z-index: 1;
}
#navArea {
  display: flex;
  width: 100%;
  margin: 0 auto;
  align-items: center;
}
/*-- logo に画像を使用する場合、この二つを設定する。------*/
.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;
 }
/* .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;
}
.logo span {
  display: flex;
  font-size: 0.7em;
  align-self: flex-end;
}
.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: 90%;
  margin: 38px auto;
  padding: 50px;
  border: 1px solid aqua;
  border-radius: 10px;
}
.pr-logo {
  display: none;
}
h1 {
  font-size: 1.5rem;
  color: var(--bg-cherry-blossom);
  font-weight: 400;
  text-align: center;
  margin-bottom: 8px;
}
section {
  margin: 0 auto;
  width: 90%;
  display: flex;
  justify-content: space-between;
}
section:nth-child(even) {
  flex-direction: row-reverse;
}
section p {
  display: flex;
  width: 100%;
  font-size: 0.9em;
  line-height: 2;
  padding: 8px;
  border: 1px solid #61c5bb;
  border-radius: 16px;
  flex-direction: column;
}
span {
  font-size: 0.7em;
}

.pic {
  margin: 0 auto;
  width: 40%;
  order: 1;
  text-align: center;
  pointer-events: none;
  line-height: 1;
  padding-bottom: 16px;
}
.pic img {
  width: 80%;
  margin-bottom: 0;
  padding-bottom: 0;
}
#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: '\f106';*/
  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 領域 -------------- */
table {
  width: 80%;
  border-spacing: 2px;
  margin: 20px;
  font-size: 0.9em;
}
th,
td {
  border: 1px solid #4f4d47;
  border-radius: 8px;
  padding: 8px;
}
th {
  width: 16%;
  background-color: #61c5bb;
  color: var(--bg-white);
  text-align: justify;
}
table a {
  text-decoration: none;
  border-bottom: 2px solid var(--sp-color);
}
#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   ---------   */
footer {
  grid-area: footer;
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  border: 1px solid aqua;
  border-radius: 5px;
}
.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;
}
.first img {
  height: 25px;
  margin: 6px 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;
  }
  a.disabled {
    pointer-events: none;
  }
  /*   ----------------------   */
  .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 {
  display: block;
  margin: 0;
  margin-right: 80px;
  color: #333;
  font-size: 0.8em;
  padding: 1rem;
  text-decoration: none;
  transition-duration: 0.3s;
  border-bottom: 1px solid #333;
 }
 .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;
 }
  .logo h4 {
    display: none;
  }
  h1 {
    font-size: 1.2rem;
    text-align: center;
    margin: 0px 0 20px;
  }
  /*   -------- main -------------   */
  main {
    display: flex;
    grid-area: main;
    width: 98%;
    flex-direction: column;
    border: 1px solid aqua;
    border-radius: 10px;
    padding: 10px;
  }
  .pr-logo {
    display: block;
  }
  .pr-logo img {
    margin: 10px auto;
    width: 300px;
  }
  .pic {
    order: 1;
    width: 100%;
    margin-bottom: 28px;
  }
  .pic img {
    margin: 0 auto;
    width: 45%;
    height: auto;
    padding-bottom: 0;
  }
  .pic2 img {
    width: 40%;
  }
  section {
    margin: 0 auto;
    width: 98%;
    display: flex;
    margin-bottom: 10px;
    flex-direction: column;
    justify-content: space-between;
  }
  section:first-child {
    width: 100%;
    text-align: left;
    font-size: 1em;
    margin-top: 0;
  }
  section:nth-child(even) {
    flex-direction: column;
  }
  table {
    margin: 0 auto;
    width: 100%;
    order: 2;
    border-radius: 10px;
    border-spacing: 2px;
    margin-right: 0px;
    margin-bottom: 10px;
  }
  th,
  td {
    padding: 6px;
  }
  td a {
    text-decoration: none;
    color: fuchsia;
  }
  th {
    color: var(--bg-white);
    background-color: #61c5bb;
    white-space: nowrap;
    text-align: justify;
    text-align-last: justify;
    justify-content: space-between;
  }
  #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-----------------*/
  footer {
   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
      / 100%;
  }
  .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
      / 100%;
  }
}
@media screen and (min-width: 2561px) {
  container {
    display: flex;
    width: 50%;
    margin: 0 auto;
    display: grid;
    grid-template:
      " ...... " 26px
      " header " 4vh
      " ...... "
      " main   " 1fr
      " ...... "
      " footer "
      " ...... " 16px
      / 100%;
  }
}
