@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;
}
/* ---  withdraw.thm css  ----------*/
body {
  font-family: "メイリオ", Meiryo, "Avenir", "Helvetica Neue", "Helvetica",
    "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic",
    "MS PGothic", sans-serif;
  font-size: 16px;
  background-color: var(--page-color);
}
container {
  display: flex;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template:
    "......" 6px
    "header" 4vh
    "......"
    "main  " 1fr
    "......"
    "footer"
    "......" 16px;
}
/*   -----------   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;
}
/* .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: var(--border-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 {
  display: flex;
  width: 100%;
  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;
  width: 100%;
  padding-top: 50px;
}
.pr-logo {
  display: none;
}
h4 {
  font-size: 0.9em;
  margin: 20px;
}
p {
  margin: 20px 0 20px 0;
  font-size: 0.9em;
}
#formWrap {
 width: 80%;
 margin:0 auto;
 margin-top: 50px;
 color:#555;
 line-height:120%;
 font-size:90%;
}
/* ---------- ---▼ table 領域 -------------- */
table.formTable {
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td, table.formTable th {
	border:1px solid #ccc;
	padding:10px;
 font-size: 0.8em;
}
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);
}
.require{
	color:#F00;
}
/* ページトップ */
#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-top: 10px;
 text-align: center;
 border-radius: 6px;
 /* border: 1px solid blue; */
 border: 1px solid aqua;
}
.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.8em;
 color: #666;
 /* gap: 25px; */
}
ul li a span4 {
 font-size: 0.6em;
}
footer p {
 font-size: 0.6em;
 padding: 18px;
 text-align: left;
}
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: 100%;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template:
      "......" 2px
      "header" 4vh
      "......"
      "main  " 1fr
      "......"
      "footer"
      "......" 16px;
  }
  a.disabled {
    pointer-events: none;
  }
  /*   ----------------------   */
  /* .pr-logo h4 {
   display: block;
   margin-bottom: 20px;
   color: var(--border-color);
 }*/
  .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;
 }
  /*---------------------- main ------------*/
  main {
   grid-area: main;
   width: 98%;
   margin: 0 auto;
   padding-top: 50px;
 }
 .pr-logo {
   display: block;
 }
 .pr-logo img {
   margin: -30px auto;
   width: 300px;
   border-radius: 6px;
 }
 /*----------- form ------------*/
 #formWrap {
  width: 90%;
  margin:0 auto;
 }
 table.formWrap h4 {
   padding-top: 20px;
 }
 table.formTable {
  width: 90%;
  margin: 0 auto;
 }
 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:80%;
  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 {
    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.7em;
  }
  footer li {
    width: 100%;
    margin: 0 auto;
  }
  footer p {
    text-align: center;
    font-size: 0.5em;
  }
  }
@media screen and (min-width: 1025px) 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) {
  container {
    display: flex;
    width: 50%;
    margin: 0 auto;
    display: grid;
    grid-template:
      " ......" 26px
      " header" 4vh
      " ......"
      " main  " 1fr
      " ......"
      " footer"
      " ......" 16px;
  }
}
