@charset "UTF-8";

* {
  box-sizing: border-box;
}

/*----- default -----*/
html {
  font-family: 'Hiragino Sans', sans-serif;
  color: #222;
}

body {
  margin: 0;
  padding: 0;
  text-align: left;
  letter-spacing: 0;
}

form,
input,
p,
img,
ul,
ol,
li,
dt,
dd,
dl,
input,
h1,
h2,
h3,
h4,
h5,
h6,
q {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  border: 0;
  vertical-align: top;
}

hr {
  display: none;
}

del {
  text-decoration: none;
}

em {
  font-style: normal;
}

i {
  font-size: smaller;
  font-weight: normal;
  font-style: normal;
}

br.line40 {
  line-height: 40px;
}

a {
  color: #0000FF;
}

.red {
  color: #ff0000;
}

.w800 {
  width: 800px;
  margin: 0 auto;
}

.w800 img {
  margin-top: 8px;
  max-width: 100%;
  height: auto;
  box-shadow: 0px 0px 20px 5px #673f0112;
}

@media screen and (max-width: 799.9px) {
  .w800 {
    width: 100%;
    padding: 0 15px;
  }
}

.fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition: all 1000ms;
}

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

.clear {
  clear: left;
}

.under {
  background: linear-gradient(transparent 50%, #FFF000 50%);
}

.banner {
  padding: 30px;
}

.title-text {
  text-shadow: -1px -2px 3px #808080;
  font-weight: 700;
}

.title-text p:last-child {
  margin-bottom: 1em;
}

.title-text p span {
  padding-left: 1em;
}

@media screen and (max-width: 787.9px) {
  .title-text p span {
    padding-left: 0;
  }
}

h2 {
  padding: 0.15em 0.75em;
  /*上下 左右の余白*/
  margin: 1.5em 0em;
  color: #000;
  /*文字色*/
  background: transparent;
  /*背景透明に*/
  border-left: solid 8px #062195;
  /*左線*/
  font-weight: 500;
}

h3 {
  color: #364e96;
  /*文字色*/
  border: solid 3px #364e96;
  /*線色*/
  padding: 0.5em;
  /*文字周りの余白*/
  border-radius: 0.5em;
  /*角丸*/
  margin-bottom: 0.75em;
}

.btn,
a.btn,
button.btn {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.btn--blue,
a.btn--blue {
  color: #fff;
  background-color: #062195;
}

.btn--blue:hover,
a.btn--blue:hover {
  color: #fff;
  background: #062195;
}

.btn2,
a.btn2,
button.btn2 {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.0;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.btn2--blue,
a.btn2--blue {
  color: #fff;
  background-color: #062195;
}

/*----- hd -----*/
.hd {
  height: 60px;
  width: 100%;
}

.header-left {
  float: left;
  margin: 25px 40px;
}

.header-left img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  padding: 0 15px;
  text-align: center;
  margin: auto;
}

/*----- main -----*/
.top-container {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  text-align: center;
}

.top-wrapper {
  margin-top: 40px;
  padding: 120px 0 150px 0;
  background-image: url("http://www.rie.kanagawa-u.ac.jp/techno-festa/tf2025_files/bg-top-main.jpg");
  background-size: cover;
  background-position: center center;
  color: #FFF;
}

.top-wrapper h1 {
  font-size: 55px;
  letter-spacing: 5px;
}

.top-wrapper p {
  font-size: 24px;
}

/*----- guide -----*/
.guide-wrapper {
  margin-top: 20px;
  text-align: left;
}

.guide-container {
  width: 100%;
  padding: 0 15px;
  text-align: left;
  margin: auto;
}

.guide-container p {
  margin: 20px 0;
  line-height: 1.7;
}

/*----- faq -----*/
.qa-list dl {
  position: relative;
  margin: 0;
  padding: 28px 80px 28px 30px;
  cursor: pointer;
  border-bottom: 1px solid #000;
  line-height: 1.7;
}

.qa-list dl:first-child {
  border-top: 1px solid #000;
}

.qa-list dl::before {
  position: absolute;
  top: 35px;
  right: 35px;
  display: block;
  width: 7px;
  height: 7px;
  margin: auto;
  content: '';
  transform: rotate(135deg);
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.qa-list .open::before {
  transform: rotate(-45deg);
}

.qa-list dl dt {
  position: relative;
  margin: 0;
  padding: 0 0 0 50px;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.7;
}

.qa-list dl dt::before {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 3px;
  left: 0;
  display: block;
  content: 'Q.';
  color: #3285bf;
}

.qa-list dl dd::before {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 3px;
  left: 2px;
  display: block;
  content: 'A.';
  font-weight: bold;
  color: #3285bf;
}

.qa-list dl dd {
  position: relative;
  display: none;
  height: auto;
  margin: 20px 0 0;
  padding: 0 0 0 50px;
}

.qa-list dl dd p {
  margin: 30px 0 0;
}

.qa-list dl dd p:first-child {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .qa-list dl {
    position: relative;
    padding: 15px 40px 15px 10px;
  }

  .qa-list dl::before {
    top: 20px;
    right: 20px;
    width: 7px;
    height: 7px;
  }

  .qa-list dl dt {
    padding: 0 0 0 30px;
    font-size: 14px;
  }

  .qa-list dl dt::before {
    font-size: 14px;
    top: 3px;
    left: 5px;
    content: 'Q.';
  }

  .qa-list dl dd::before {
    font-size: 14px;
    top: 5px;
    left: 5px;
    content: 'A.';
  }

  .qa-list dl dd {
    margin: 10px 0 0;
    padding: 0 0 0 30px;
    font-size: 14px;
  }

  .qa-list dl dd p {
    margin: 30px 0 0;
  }

  .qa-list dl dd p:first-child {
    margin-top: 0;
  }
}

/*----- footer -----*/
#ft .bg {
  background: #062195;
  min-width: 1000px;
  padding: 20px 0;
  text-align: center;
}

#ft p {
  color: #fff;
  text-align: center;
}

/* ----- form ----- */

a.btn_form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  text-decoration: none;
  width: 500px;
  margin: auto;
  padding: 1rem 4rem;
  font-weight: bold;
  background: #eee;
  color: #062195;
  border-radius: 100vh;
  position: relative;
  transition: 0.5s;
}

a.btn_form {
  margin: 4em auto 2em;
}

a.btn_form:last-child {
  margin: 0 auto 4em;
}

a.btn_form::before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: 1em;
  transform: translateY(calc(-50% - 2px)) rotate(45deg);
  width: 10px;
  height: 1px;
  background: #062195;
}

a.btn_form::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 35px;
  height: 1px;
  background-color: #062195;
}

a.btn_form:hover {
  background: #d4eef7;
}

.view-sp,
.btn_form-sp-br,
.top-wrapper-br-sp {
  display: none;
}

/* ----- mediaquery ----- */

@media screen and (max-width: 1020.9px) {
  #ft .bg {
    max-width: 100%;
    min-width: 0;
  }
}

@media screen and (max-width: 787.9px) {
  .view-sp {
    display: block;
  }

  .btn,
  a.btn,
  button.btn {
    font-size: 20px;
    padding: 1rem 2rem;
  }
}

@media screen and (max-width: 615px) {
  .top-wrapper-br-sp {
    display: block;
  }

  .btn,
  a.btn,
  button.btn {
    max-width: 315px;
  }
}

@media screen and (max-width: 550px) {
  .btn--blue {
    font-size: 16px !important;
  }

  a.btn_form {
    width: 100%;
    justify-content: center;
  }

  a.btn_form::after {
    width: 25px;
  }

  .btn_form-sp-br {
    display: block;
  }

  #ft p {
    font-size: 14px;
  }
}

@media screen and (max-width: 445.9px) {
  a.btn_form {
    font-size: 14px;
    padding: 1rem 3rem;
  }
}

@media screen and (max-width: 382.9px) {
  a.btn_form {
    padding: 1rem 2rem;
  }

  a.btn_form::before {
    display: none;
  }

  a.btn_form::after {
    display: none;
  }
}