@charset "UTF-8";

body {
  font-family: "Zen Maru Gothic", serif, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ W3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  font-size: 16px;
  font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
  color: #333;
}

body.fixed {
  overflow: hidden;
}

img {
  vertical-align: bottom;
}

a:hover,
a:active {
  opacity: 0.6;
  transition: all ease-out 0.3s;
}

main {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.sp {
  display: block;
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
}

.pc {
  display: none;
}

@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }
}

.cf::after {
  content: "";
  display: block;
  clear: both;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.btn_common a {
  display: block;
  margin: auto;
  padding: 15px;
  width: 300px;
  background: #1667b2;
  font-size: 17px;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .btn_common a {
    width: 325px;
    font-size: 31px;
  }
}

.container {
  margin: auto;
  padding: 0 15px;
}

@media screen and (min-width: 768px) {
  .container {
    max-width: 1080px;
  }
}

header {
  display: flex;
  justify-content: space-between;
  border-bottom: 5px solid #1667b2;
}

@media screen and (min-width: 768px) {
  header {
    display: block;
    border-bottom: none;
  }
}

header h1,
header p {
  width: 200px;
  margin: 10px 0 10px 15px;
}

@media screen and (min-width: 768px) {

  header h1,
  header p {
    width: 238px;
    margin: 30px auto 20px;
  }
}

header h1 img,
header p img {
  width: 100%;
}

header .gNav_bg {
  background: #fff398;
  border-top: 2px solid #1667b2;
  border-bottom: 2px solid #1667b2;
}

header ul {
  display: block;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  header ul {
    display: flex;
    margin: auto;
    max-width: 1200px;
    justify-content: space-between;
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  header li {
    width: 170%;
  }
}

header li a {
  position: relative;
  display: block;
  padding: 20px 0;
  color: #1667b2;
  text-align: center;
  border-bottom: 2px solid #1667b2;
}

@media screen and (min-width: 768px) {
  header li a {
    padding: 0;
    font-size: 1.6vw;
    line-height: 50px;
    border-right: 2px solid #1667b2;
    border-bottom: none;
  }
}

@media screen and (min-width: 1080px) {
  header li a {
    font-size: 18px;
  }
}

header li a::after {
  position: absolute;
  content: "";
  top: 40%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 3px solid #1667b2;
  border-top: 3px solid #1667b2;
  display: inline-block;
  transform: rotate(45deg);
}

@media screen and (min-width: 768px) {
  header li a::after {
    display: none;
  }
}

header li:last-child a {
  border-bottom: none;
}

@media screen and (min-width: 768px) {
  header li:last-child a {
    border-right: none;
  }
}

header li a:hover,
header li a:active {
  background: #1966b3;
  color: #fff;
  opacity: 1;
  transition: all ease-out 0.3s;
}

header li a:hover::after,
header li a:active::after {
  border-right: 3px solid #fff;
  border-top: 3px solid #fff;
}

@media screen and (min-width: 768px) {
  header li .current {
    background: #1966b3;
    color: #fff;
    opacity: 1;
  }
}

.mv {
  width: 100%;
}

.mv img {
  width: 100%;
}

/* ハンバーガーメニュー設定 */
/*------------------------------------*/
.openbtn {
  margin-top: 23.46px;
  margin-right: 15px;
  position: relative;
  z-index: 9999;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

@media screen and (min-width: 768px) {
  .openbtn {
    display: none;
  }
}

.openbtn span {
  display: inline-block;
  transition: all 0.3s;
  position: absolute;
  left: 0;
  height: 3px;
  width: 100%;
}

.openbtn span:nth-of-type(1) {
  top: 6px;
  background: #004097;
}

.openbtn span:nth-of-type(2) {
  top: 18px;
  background: #004097;
}

.openbtn span:nth-of-type(3) {
  top: 30px;
  background: #004097;
}

.openbtn.active span:nth-of-type(1) {
  top: 10px;
  left: 0;
  transform: translateY(7px) rotate(-45deg);
  width: 100%;
  background: #004097;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 25px;
  left: 0;
  transform: translateY(-7px) rotate(45deg);
  width: 100%;
}

#gNav {
  position: fixed;
  z-index: -1;
  opacity: 0;
  top: 95.34px;
  width: 100%;
  height: calc(100vh - 95.34px);
}

@media screen and (min-width: 768px) {
  #gNav {
    display: block;
    position: relative;
    z-index: auto;
    opacity: 1;
    top: 0;
    height: fit-content;
  }
}

#gNav.panelactive {
  opacity: 1;
  z-index: 999;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn_stock {
  margin: 30px 0;
}

@media screen and (min-width: 768px) {
  .btn_stock {
    margin: 60px 0;
  }
}

.btn_stock a {
  position: relative;
  display: block;
  margin: auto;
  width: 80%;
  font-size: 20px;
  font-weight: 700;
  color: #004097;
  line-height: 50px;
  text-align: center;
  border: 5px solid #1667b2;
}

@media screen and (min-width: 1080px) {
  .btn_stock a {
    width: 884px;
    font-size: 31px;
    color: #004097;
    line-height: 98px;
  }
}

.btn_stock a::after {
  position: absolute;
  top: 0px;
  bottom: 0;
  right: 20px;
  margin: auto;
  content: "";
  width: 10px;
  height: 10px;
  border-right: 3px solid #004097;
  border-top: 3px solid #004097;
  display: inline-block;
  transform: rotate(45deg);
  border-radius: 3px;
}

@media screen and (min-width: 1080px) {
  .btn_stock a::after {
    top: 5px;
    right: 200px;
    width: 15px;
    height: 15px;
    border-right: 5px solid #004097;
    border-top: 5px solid #004097;
  }
}

.top_info {
  width: 100%;
  display: block;
  margin-bottom: 50px;
}

@media screen and (min-width: 768px) {
  .top_info {
    margin-bottom: 90px;
  }

  .top_info::after,
  .top_info::before {
    content: "";
    display: block;
    clear: both;
  }
}

.top_info .block1 {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .top_info .block1 {
    float: left;
    width: 35%;
    padding-top: 20px;
  }
}

@media screen and (min-width: 768px) {
  .top_info .block2 {
    float: right;
    width: 65%;
  }
}

@media screen and (min-width: 768px) {
  .top_info .block3 {
    float: left;
    width: 35%;
  }
}

.top_info .ttl_common {
  margin-bottom: 20px;
}

.top_info_list {
  width: 100%;
  margin-bottom: 20px;
}

.top_info_list li {
  padding: 5px 0;
  border-bottom: 1px solid #808080;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .top_info_list li {
    padding: 10px 0 15px;
  }
}

.top_info_list .date {
  color: #004097;
}

@media screen and (min-width: 768px) {
  .top_info_list .date {
    font-size: 24px;
  }
}

.top_info_list .category {
  background-color: #4dacf4;
  color: #fff;
  border-radius: 15px;
  padding: 2px 8px;
  font-size: 13px;
}

@media screen and (min-width: 768px) {
  .top_info_list .category {
    padding: 10px 30px;
    font-size: 15px;
  }
}

.top_info .block2 .date,
.top_info .block2 .category {
  margin-right: 5px;
}

@media screen and (min-width: 768px) {

  .top_info .block2 .date,
  .top_info .block2 .category {
    margin-right: 10px;
  }
}

.top_info .block3 a {
  width: 80%;
  max-width: 250px;
  height: 50px;
  line-height: 50px;
  margin: 0 auto;
  display: block;
  position: relative;
  background: #fff398;
  border-radius: 23px;
  font-size: 20px;
  text-align: center;
}

.top_info .block3 a::after {
  position: absolute;
  top: 0px;
  bottom: 0;
  right: 20px;
  margin: auto;
  content: "";
  width: 10px;
  height: 10px;
  border-right: 3px solid #000;
  border-top: 3px solid #000;
  display: inline-block;
  transform: rotate(45deg);
  border-radius: 3px;
}

@media screen and (min-width: 768px) {
  .top_info .block3 a::after {
    right: 30px;
    width: 12px;
    height: 12px;
    border-right: 5px solid #000;
    border-top: 5px solid #000;
  }
}

.top_about {
  width: 100%;
  max-width: 1080px;
  position: relative;
  text-align: center;
  font-size: clamp(18px, 10px + 1.45vw, 26px);
  line-height: 1.8;
  padding: 15px 15px 0;
  margin-bottom: 50px;
}

@media screen and (min-width: 768px) {
  .top_about {
    padding: 0 15px;
    margin-bottom: 100px;
  }
}

.top_about::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: -10px;
  z-index: -1;
  display: block;
  background: url(../img/img_uniform.svg) no-repeat;
  background-size: 20% auto;
  background-position: 0 0;
}

@media screen and (min-width: 768px) {
  .top_about::before {
    left: 0;
    background-position: 0 center;
  }
}

@media screen and (min-width: 1080px) {
  .top_about::before {
    left: -60px;
    background-size: 205px 134px;
  }
}

.top_about::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  right: -15px;
  z-index: -1;
  display: block;
  background: url(../img/img_ship.svg) no-repeat;
  background-size: 25% auto;
  background-position: 100% 0;
}

@media screen and (min-width: 768px) {
  .top_about::after {
    right: 0;
    background-position: 100% center;
  }
}

@media screen and (min-width: 1080px) {
  .top_about::after {
    right: -60px;
    background-size: 275px 197px;
  }
}

.top_about p {
  text-align: left;
}

@media screen and (min-width: 768px) {
  .top_about p {
    text-align: center;
  }
}

.top_menu_wrap {
  background-color: #f3f7d8;
  width: 100%;
  padding: 95px 15px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .top_menu_wrap {
    padding: 150px 15px;
  }
}

.top_menu_content {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

.top_menu {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 50px;
}

@media screen and (min-width: 768px) {
  .top_menu {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-top: 90px;
  }
}

.btn1 {
  width: 80%;
  margin: 0 auto 20px;
}

@media screen and (min-width: 768px) {
  .btn1 {
    width: 32%;
    margin: 0;
  }
}

.btn1 a {
  position: relative;
  background-color: #1667b2;
  color: #fff;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: bold;
  text-align: center;
  border-radius: 40px;
  display: block;
  width: 100%;
  padding: 15px min(3.7vw, 35px) 15px min(1.8vw, 20px);
}

.btn1 a::after {
  content: url(../img/icon_down_arrow.svg);
  position: absolute;
  right: 20px;
  top: 25%;
  width: 14px;
  height: 9px;
}

@media screen and (min-width: 1080px) {
  .btn1 a::after {
    top: 20%;
    right: 35px;
  }
}

.top_box_wrap {
  background-color: #f1f7fc;
  width: 100%;
  padding: 0 15px 50px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .top_box_wrap {
    padding: 0 15px 95px;
  }
}

.top_box_wrap.first {
  padding: 50px 15px;
}

@media screen and (min-width: 768px) {
  .top_box_wrap.first {
    padding: 95px 15px;
  }
}

.top_box {
  width: 100%;
  max-width: 1080px;
  display: block;
  margin: 0 auto;
  padding: 25px 15px;
  border: 6px solid #1667b2;
  border-radius: 25px;
  background-color: #fff;
  text-align: center;
  font-size: min(4vw, 20px);
}

@media screen and (min-width: 768px) {
  .top_box {
    padding: 50px 70px;
  }
}

.ttl_common {
  display: inline-block;
  margin: 0 auto 30px;
  padding: 0 25px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  color: #000;
  border-bottom: 5px solid #fff398;
}

@media screen and (min-width: 768px) {
  .ttl_common {
    margin: 0 auto 80px;
    line-height: 1.7;
  }
}

.ttl_common span {
  font-size: clamp(24px, 2.7vw, 30px);
  display: block;
  color: #1667b2;
  font-weight: 700;
}

.ttl_common span.blue4 {
  color: #004097;
}

.ttl_common2 {
  display: inline-block;
  background-color: #1667b2;
  color: #fff;
  padding: 5px 30px 8px;
  font-size: 18px;
  line-height: 1.2;
}

@media screen and (min-width: 768px) {
  .ttl_common2 {
    font-size: 22px;
  }
}

.ttl_common2.radius {
  border-radius: 20px;
}

.top_box_gray {
  background-color: #f2f2f2;
  text-align: left;
  padding: 30px 20px;
}

@media screen and (min-width: 768px) {
  .top_box_gray {
    padding: 30px 40px;
  }
}

.box1 {
  color: #1667b2;
}

.box1 p {
  padding-bottom: 20px;
  text-align: left;
}

.top_document {
  text-align: left;
  border-left: 4px solid #1667b2;
  margin-bottom: 30px;
  padding: 0 20px;
  color: #1667b2;
}

.top_document li {
  padding-bottom: 20px;
  font-weight: 700;
}

.top_document li span {
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .top_document {
    margin-bottom: 70px;
  }
}

.top_note {
  position: relative;
  text-align: left;
  margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
  .top_note {
    margin-bottom: 70px;
  }
}

.top_note li {
  position: relative;
  text-indent: -18px;
  padding-left: 18px;
}

.top_note li::before {
  position: relative;
  content: "・";
}

.top_price {
  width: 100%;
  color: #000;
}

.top_price tr {
  border-top: 1px solid #1667b2;
}

.top_price th,
.top_price td {
  vertical-align: middle;
  padding: 10px 15px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {

  .top_price th,
  .top_price td {
    padding: 20px 30px;
  }
}

.top_price td {
  white-space: nowrap;
}

.top_donation_wrap {
  padding: 50px 0;
}

@media screen and (min-width: 768px) {
  .top_donation_wrap {
    display: flex;
    padding: 50px 0 70px;
  }
}

.top_wayto_wrap {
  position: relative;
  background-color: #f1f7fc;
  margin-bottom: 50px;
  padding: 40px 15px 30px;
}

@media screen and (min-width: 768px) {
  .top_wayto_wrap {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 0;
    padding: 80px 15px 60px;
  }
}

@media screen and (min-width: 1080px) {
  .top_wayto_wrap {
    padding: 80px 30px 60px;
  }
}

.top_wayto_wrap h4 {
  position: absolute;
  top: -20px;
  width: 175px;
  left: calc(50% - 87px);
}

.top_wayto {
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .top_wayto {
    justify-content: space-between;
  }
}

.top_wayto_item {
  width: 48%;
  max-width: 200px;
  font-size: 16px;
  letter-spacing: -1px;
}

.top_wayto_item:first-child {
  margin-right: 4%;
}

.top_wayto_item p {
  text-align: left;
}

.top_wayto_item img {
  width: 93px;
  height: auto;
  padding-bottom: 25px;
}

.top_rule_wrap {
  position: relative;
  background-color: #f1f7fc;
  padding: 50px 15px 0;
}

@media screen and (min-width: 768px) {
  .top_rule_wrap {
    width: 48%;
    padding: 50px 30px 0;
  }
}

.top_rule_wrap h4 {
  position: absolute;
  top: -20px;
  width: 175px;
  left: calc(50% - 87px);
}

.top_rule {
  display: flex;
  padding-bottom: 20px;
  font-size: 16px;
  letter-spacing: -1px;
  align-items: center;
}

.top_rule img {
  width: 84px;
  height: auto;
}

.top_rule p {
  text-align: left;
  padding-left: 40px;
}

.top_donation_subject {
  background-color: #f2f2f2;
  padding: 25px 35px;
  margin-bottom: 35px;
  text-align: left;
}

.top_donation_subject p {
  padding-bottom: 10px;
}

.top_donation_subject ul {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .top_donation_subject ul {
    width: 100%;
  }
}

@media screen and (min-width: 1080px) {
  .top_donation_subject ul {
    width: 80%;
  }
}

.top_donation_subject ul div {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top_donation_subject ul div {
    width: 33.3333333333%;
  }
}

.top_donation_subject li {
  font-size: 16px;
  width: 100%;
  position: relative;
  text-indent: -5px;
  padding-left: 5px;
}

.top_donation_subject li::before {
  position: relative;
  content: "・";
}

.top_target {
  background-color: #f2f2f2;
  text-align: left;
  padding: 25px 35px;
}

@media screen and (min-width: 768px) {
  .top_target {
    padding: 35px 35px 50px;
  }
}

.top_target .school_list {
  border-top: 1px solid #1667b2;
  padding: 15px 10px;
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .top_target .school_list {
    width: calc(100% - 20px);
    margin: 0 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 20px;
  }
}

.top_target .school_list:last-of-type {
  border-bottom: 1px solid #1667b2;
}

.top_target .school_list .school_category {
  width: 100px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: #fff;
  color: #004097;
  border: 1px solid #1667b2;
  margin: 0 0 20px;
}

@media screen and (min-width: 768px) {
  .top_target .school_list .school_category {
    margin: 0 40px 0 0;
  }
}

@media screen and (min-width: 768px) {
  .top_target .school_list ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
}

.top_target .school_list li {
  position: relative;
  text-indent: -5px;
  padding-left: 5px;
}

@media screen and (min-width: 768px) {
  .top_target .school_list li {
    width: 50%;
  }
}

@media screen and (min-width: 1080px) {
  .top_target .school_list li {
    width: 33%;
  }
}

.top_target .school_list li::before {
  position: relative;
  content: "・";
}

.top_flow .detail {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: left;
}

@media screen and (min-width: 768px) {
  .top_flow .detail {
    text-align: center;
    margin-bottom: 50px;
  }
}

.top_flow .schedule {
  text-align: left;
}

.top_flow .schedule h4.ttl_common2 {
  display: block;
  width: 250px;
  text-align: center;
  padding: 5px 0 8px;
  margin: 0 auto 20px;
}

@media screen and (min-width: 768px) {
  .top_flow .schedule h4.ttl_common2 {
    margin: 0 0 20px;
  }
}

.top_flow .schedule ul {
  border-top: 1px solid #1667b2;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .top_flow .schedule ul {
    margin-bottom: 10px;
  }
}

.top_flow .schedule ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #1667b2;
  font-size: clamp(16px, 12px + 1vw, 23px);
  padding: 15px 0 15px 20px;
}

.top_flow .schedule ul li p {
  width: 55%;
  text-align: left;
}

@media screen and (min-width: 768px) {
  .top_flow .schedule ul li p {
    width: 50%;
    padding-left: 45px;
  }
}

@media screen and (min-width: 1080px) {
  .top_flow .schedule ul li p {
    width: 50%;
    padding-left: 80px;
  }
}

.top_flow .schedule ul li span {
  display: inline-block;
  width: 45%;
  padding-left: 30px;
}

@media screen and (min-width: 768px) {
  .top_flow .schedule ul li span {
    padding-left: 35px;
    width: 50%;
    text-align: left;
  }
}

@media screen and (min-width: 1080px) {
  .top_flow .schedule ul li span {
    padding-left: 45px;
  }
}

.top_flow .schedule p.kakutei {
  font-size: 0.8em;
  margin-bottom: 30px;
}

.top_flow .address {
  margin-bottom: 30px;
  text-align: left;
}

@media screen and (min-width: 768px) {
  .top_flow .address {
    display: flex;
    margin-bottom: 45px;
  }
}

.top_flow .address h4.ttl_common2 {
  display: block;
  width: 250px;
  text-align: center;
  padding: 5px 0 8px;
  margin: 0 auto 20px;
}

@media screen and (min-width: 768px) {
  .top_flow .address h4.ttl_common2 {
    margin: 0 0 20px;
  }
}

.top_flow .address p {
  margin-bottom: 10px;
  font-size: clamp(16px, 12px + 1vw, 23px);
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .top_flow .address p {
    margin-bottom: 20px;
  }
}

@media screen and (min-width: 768px) {
  .top_flow .address .block1 {
    width: 55%;
  }
}

@media screen and (min-width: 768px) {
  .top_flow .address .block2 {
    width: 45%;
  }
}

.top_flow .address .map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%;
  max-height: 280px;
}

.top_flow .address iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.top_flow .temporary {
  background: #f2f2f2;
  padding: 30px 15px 20px;
}

@media screen and (min-width: 768px) {
  .top_flow .temporary {
    padding: 40px;
  }
}

.top_flow .temporary p {
  text-align: left;
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  .top_flow .temporary p {
    margin-bottom: 30px;
  }

  .top_flow .temporary p:last-of-type {
    margin-bottom: 0;
  }
}

.lower h1,
.lower h2 {
  line-height: 1;
}

.lower h1 {
  margin: 35px auto 25px;
  padding-bottom: 10px;
  width: 263px;
  font-size: 16px;
  font-weight: 700;
  color: #004097;
  border-bottom: 5px solid #fff398;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .lower h1 {
    margin: 70px auto 50px;
    font-size: 31px;
  }
}

.lower h2 {
  font-size: 20px;
  font-weight: 500;
  color: #1667b2;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .lower h2 {
    font-size: 36px;
  }
}

.search_list {
  margin: 0 auto 40px;
  padding: 30px 15px;
  background: #f2f2f2;
}

@media screen and (min-width: 768px) {
  .search_list {
    margin: 0 auto 80px;
    padding: 30px 70px;
    max-width: 1080px;
  }
}

.search_list h2 {
  margin-bottom: 25px;
}

.search_list p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .search_list p {
    margin-bottom: 25px;
    font-size: 17px;
  }
}

.search_list table {
  width: 100%;
  border-bottom: 1px solid #1667b2;
}

.search_list table th,
.search_list table td {
  border-top: 1px solid #1667b2;
  display: block;
}

@media screen and (min-width: 768px) {

  .search_list table th,
  .search_list table td {
    display: table-cell;
  }
}

.search_list table th {
  color: #004097;
  text-align: center;
  padding: 10px 0;
}

@media screen and (min-width: 768px) {
  .search_list table th {
    width: 18.69%;
    vertical-align: middle;
  }
}

.search_list table td {
  padding: 20px 0 10px 0;
}

@media screen and (min-width: 768px) {
  .search_list table td {
    width: 81.31%;
    padding: 20px 19.28% 15px 0;
  }
}

.search_list table ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.search_list table ul::after {
  content: "";
  display: block;
  width: 48%;
  height: 0;
}

@media screen and (min-width: 768px) {
  .search_list table ul::after {
    width: 30%;
  }
}

.search_list table li {
  width: 48%;
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  .search_list table li {
    width: 30%;
    margin-bottom: 10px;
  }
}

.search_list table li a {
  display: block;
  padding: 15px 0;
  text-align: center;
  color: #333;
  border: 1px solid #333;
  background: #fff;
  border-radius: 10px;
}

@media screen and (min-width: 1080px) {
  .search_list table li a {
    padding: 7px 0;
    font-size: 17px;
  }
}

@media screen and (min-width: 768px) {
  .search_list table li a:hover {
    color: #fff;
    background: #1667b2;
    border: 1px solid #1667b2;
    opacity: 1;
  }
}

.search_school {
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .search_school {
    margin-bottom: 80px;
  }
}

.search_school h2 {
  width: 100%;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #b3b3b3;
}

@media screen and (min-width: 768px) {
  .search_school h2 {
    width: 480px;
    margin-bottom: 50px;
    padding-left: 25px;
    text-align: left;
  }
}

.search_school h2 span {
  margin-right: 15px;
  font-size: 14px;
  color: #333;
}

@media screen and (min-width: 768px) {
  .search_school h2 span {
    margin-right: 25px;
    font-size: 17px;
  }
}

.search_school h3 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1667b2;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .search_school h3 {
    margin-bottom: 20px;
    font-size: 17px;
  }
}

.search_type_size {
  margin-bottom: 35px;
  padding: 20px 15px 30px;
  background: #f2f2f2;
}

@media screen and (min-width: 768px) {
  .search_type_size {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
    padding: 40px 0 60px;
  }
}

@media screen and (min-width: 768px) {

  .search_type_size .type,
  .search_type_size .size {
    width: 39.44%;
    margin: auto;
  }
}

.search_type_size .size {
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .search_type_size .size {
    margin-top: 0;
  }
}

.search_type_size .form_select {
  position: relative;
  display: inline-block;
  width: 100%;
  font-size: 14px;
  font-size: clamp(13px, 3.6vw, 17px);
  color: #333;
  background: #fff;
  border-radius: 10px;
}

@media screen and (min-width: 768px) {
  .search_type_size .form_select {
    font-size: clamp(12px, 1.57vw, 17px);
  }
}

.search_type_size .form_select::before {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 17px solid #333;
  content: "";
  position: absolute;
  top: 30%;
  right: 10px;
  width: 0;
}

@media screen and (min-width: 768px) {
  .search_type_size .form_select::before {
    top: 35%;
    right: 17px;
  }
}

.search_type_size .form_select select {
  position: relative;
  width: 100%;
  padding: 10px 40px 10px 10px;
  box-shadow: 0 0 0 1px #333 inset;
  border-radius: 10px;
  appearance: none;
  cursor: pointer;
}

.search_type_size .form_select select:focus {
  outline: 0;
  box-shadow: 0 0 0 2px #333 inset;
}

.search_type_size .form_select select::-ms-expand {
  display: none;
}

.search_result {
  margin: 0 auto 40px;
  padding: 30px 15px;
  background: #f2f2f2;
}

@media screen and (min-width: 768px) {
  .search_result {
    margin: 0 auto 80px;
    padding: 30px 70px;
    max-width: 1080px;
  }
}

.search_result h2 {
  margin-bottom: 25px;
}

.search_result p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .search_result p {
    margin-bottom: 25px;
    font-size: 17px;
  }
}

.search_result table {
  width: 100%;
  margin-bottom: 30px;
}

.search_result th,
.search_result td {
  width: 25%;
  padding: 5px;
  font-size: 15px;
  text-align: center;
  vertical-align: middle;
  background: #fff;
  border: 1px solid #f2f2f2;
}

@media screen and (min-width: 768px) {

  .search_result th,
  .search_result td {
    padding: 10px;
    font-size: 20px;
  }
}

.search_result tr.label th {
  font-size: 13px;
}

@media screen and (min-width: 768px) {
  .search_result tr.label th {
    font-size: 16px;
  }
}

.topComent {
  text-align: center;
  margin-bottom: 1em;
}

.topSubComent {
  margin-bottom: 3em;
}

.topSubComent p.test {
  text-align: center;
}

@media only screen and (min-width: 580px) {
  .topSubComent {
    width: 650px;
    margin: 0 auto 3em;
  }
}

footer {
  background: #f3f7d8;
  padding: 20px 0;
}

@media screen and (min-width: 768px) {
  footer {
    padding: 95px 0 85px;
  }
}

footer a {
  display: block;
  margin: auto;
  width: 150px;
}

@media screen and (min-width: 768px) {
  footer a {
    width: 260px;
  }
}

footer a img {
  width: 100%;
}

footer .contact {
  margin-top: 30px;
  text-align: center;
}

footer .contact a {
  display: inline;
}

footer .contact span {
  font-size: 0.8em;
}

footer .contactWrap {
  width: 95%;
  margin: 0 auto;
}

footer .contact {
  text-align: left;
}

@media only screen and (min-width: 580px) {
  footer .contactWrap {
    width: 500px;
  }

  footer .contact {
    text-align: left;
  }
}

/*----ポップアップ----*/
.txtRed{
  color: red;
}
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.popup-content h3 {
  margin-bottom: .5em;
  color: red;
  font-size: 1.1em;
}

.popup-content a {
  text-decoration: underline;
  display: block;
  color: blue;
}

#closePopup {
  color: #808080;
  padding: .5em 0;
}

@media only screen and (min-width: 580px) {
  .popup-content {
    font-size: 1.2em;
  }
  .popup-content a {
  display: inline-block;
}
}