@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;
}
/* ---  join-info.thm css  ----------*/
  body {
    font-family: "メイリオ", Meiryo, "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", sans-serif;
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
    background-color: var(--page-color);
  }
  container {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  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 に画像を使用する場合、下の二つを設定する。------*/
 .logo {
   display: flex;
   align-items: center;
   z-index: 1;
 }
 .logo img {
   width: 120%;
   height: 130%;
   padding-top: 10px;
   margin-left: -20px;
   border-radius: 6px;
 }
 /*logoを文字にする場合、下の二つを設定する。------*/
 /* .logo h4{
 /* display: flex;
   width: 400px;
   font-size: 1rem;
   color: var(--sp-color);
  }
  .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 var(--border-color);
 }
  /*   ---------   header  end   ----------   */
  main {
    grid-area: main;
    display: flex;
    width: 80%;
    margin: 20px auto;
    line-height: 2;
    flex-direction: column;
    font-size: 0.9em;
    gap: 10px;
  }
  h1 {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 30px;
  }
  h2 {
    font-size: 1rem;
    margin: 20px 0 0 20px;
  }
  .pr-logo {
    display: none;
  }
  b {
    font-size: 1rem;
    color: rgb(206, 6, 241);
  }
  p a{
  color:var(--border-color);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  }
  span {
  color:var(--border-color);
  font-size: 1.1em;
  }
  .textcolor {
   font-size: 1.2rem;
  color: var(--border-color);
  }
  .box-item-1 h4 {
    color: rgb(206, 6, 241);
  }
  .box-item-2 h4 {
    color: rgb(206, 6, 241);
  }
  .box-item-1 {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
  }
  .panel-body-1 {
    width: 50%;
    padding: 16px;
    border: 1px solid var(--bc-green);
    border-radius: 5px;
  }
  .panel-body-2 {
    width: 50%;
    padding: 16px;
    border: 1px solid  var(--bc-green);
    border-radius: 5px;
  }
  .dlfile ul li {
   display: flex;
   width: 100%;
   display: inline;
   font-size: 1em;
  }
  .dlfile ul li a {
   margin-right: 30px;
  }
  .box-item-2 {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
  }
  .panel-body-3 {
    width: 50%;
    padding: 16px;
    border: 1px solid  var(--bc-green);
    border-radius: 5px;
  }
  .panel-body-4 {
    width: 50%;
    padding: 16px;
    border: 1px solid  var(--bc-green);
    border-radius: 5px;
  }
  .panel-body-4 a {
    color: var(--sp-color);
  }
  h1 {
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
  }
  section {
    border: 1px solid var(--bc-green);
    padding: 18px;
    margin: 8px;
  }
  section a {
    text-decoration: none;
    border-bottom: 2px solid var(--sp-color);
  }
  .pr {
   width: 60%;
   margin: 20px auto;
   line-height: 1.5;
  }
  /*------ mailform-------*/
  p {
   margin-left: 18px;
  }
  /* ---------- ---▼ table 領域 -------------- */
  /* .formWrap{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    }
    form{
     margin-bottom: 20px;
  }*/
  .tablearea {
   width: 100%;
  }
  #formWrap {
   width:700px;
   margin: 0 auto;
   color:#555;
   line-height:120%;
   font-size:90%;
  }
  .formWrap h4 {
   font-size: 1rem;
   color: rgb(206, 6, 241);
  }
  .formTable {
   width: 80%;
   margin:0 auto;
   border-radius: 10px;
   border-collapse:collapse;
  }
  table.formTable td, table.formTable th {
   border:1px solid #ccc;
   padding:10px;
  }
  table.formTable th {
   width:30%;
   font-weight:normal;
   background:#78bbc7;
   color: var(--bg-white);
   text-align:left;
  }
  table tr {
   background-color: #e6f2f5;
   padding: 0.35em;
   border-bottom: 2px solid var(--bg-white);
  }
   #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;
  }
  /*   --------- footer   ---------   */
  footer {
   grid-area: footer;
   width: 100%;
   height: auto;
   margin-top: 10px;
   text-align: center;
   border-radius: 6px;
   border: 1px solid blue;
 }
 .footer-nav {
   display: inline-flex;
   width: 100%;
   margin: 0 auto;
   line-height: 2.5;
   padding-top: 12px;
 }
  footer li {
   list-style: none;
 }
 .first-nav {
  width:50%;
  margin: 0 auto;
  padding-left: 0;
 }
 .first-nav ul {
  width: 100%;
  margin: 0 auto;
  padding: 0;
 }
 .second-nav{
  width:50%;
  margin: 0 auto;
  padding-left: 0;
 }
 .first {
   color: #333;
 }
 .footer-nav ul li a {
  text-decoration: none;
  display: inline-block;
   font-size: 0.7em;
   color: #666;
   /* gap: 25px; */
 }
 footer p {
   font-size: 0.6em;
   padding: 18px;
   text-align: left;
 }
 ul li a span4 {
  font-size: 0.6em;
 }
 small-color {
   color: var(--sp-color);
 }
 .footer-nav li a:hover {
  font-weight: 800;
  color: var(--sp-color);
  border-bottom: 2px solid var(--sp-color);
 }
 .second-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
    " ...... " 10px
    "  main  " 1fr
    " ......  "
    " footer  "
    " ......  " 16px;
  }
  .logo {
    display: none;
  }
  a.disabled {
    pointer-events: 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-color: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;
 }
  .formWrap h4 {
    display: block;
  }
  h4 {
    font-size: 1rem;
    text-align: left;
    margin: 10px 0 10px;
    color: rgb(206, 6, 241);
  }
  /* -------------- main  ---------------*/
  main {
   grid-area: main;
   width: 100%;
   padding: 0px;
 }
  .pr-logo {
    display: block;
  }
  .pr-logo img {
    margin: 0 auto;
    width: 300px;
  }

  .box-item-1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }
  .panel-body-1 {
    width:100%;
    margin: 10px auto;
  }
  .panel-body-2 {
    width: 100%;
    margin: 0 auto;
  }
  .box-item-2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }
  .panel-body-3 {
    width: 98%;
    margin: 10px auto;
  }
  .panel-body-4 {
    width: 98%;
    margin: 0 auto;
  }
  /*----------- form ------------*/
  .formWrap {
    width: 95%;
    margin: 0 auto;
  }
  .tablearea{
   width: 100%;
  }
  .formTable {
   width: 100%;
   margin:0 auto;
   border-collapse:collapse;
  }
  table.formTable th, table.formTable td {
   width:auto;
   display:block;
  }
  table.formTable th {
   margin-top:5px;
   border-bottom:0;
  }
   .in-scale {
   line-height: 2.5;
  }
  form input[type="text"], form textarea {
   width:90%;
   padding:5px;
   font-size:110%;
   display:block;
  }
  form input[type="submit"], form input[type="reset"], form input[type="button"] {
   display:block;
   width:50%;
   height:40px;
  }

  /*------------------- page_top -----------------*/
  #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;
  }
   .footer-nav ul li a {
   font-size: 0.8em;
  }
  footer li {
    width: 100%;
    margin: 0 auto;
  }
  footer p {
    text-align: center;
    font-size: 0.7em;
  }
  .first {
    font-size: 0.8em;
    color: #333;
    text-align: center;
  }
  .l-nav li:hover {
    border-bottom: 2px solid var(--sp-color);
  }
  .third-nav li.first:hover {
    border: none;
  }
  }
  @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
        " ...... " 30px
        " 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
        " ...... " 30px
        " main   " 1fr
        " ...... "
        " footer "
        " ...... " 16px;
    }
  }
  /* 現状最大モニター　3840pxまで */
  @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
        " ...... " 30px
        " main   " 1fr
        " ...... "
        " footer "
        " ...... " 16px;
  }
}