@charset "utf-8";

/* CSS  reset */
* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1;
  font-family: sans-serif;
  text-align: center;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  display: block;
}

img {
  vertical-align: bottom;
  max-width: 100%;
}

body{
  position: relative;
}


/* Header */
header {
  color: #fff;
  background: #059;
  padding-block: 20px;
}

h1 {
  font-size: 2em;
  font-family: 'Dancing Script', cursive;
  text-align: center;
  padding-inline: 20px;
  margin-block: 0 10px;
}

/* Hamburger */
.btn {
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 5px;
  color: #fff;
  background: rgba(0, 84, 153, 0.5);
  font-size: 35px;
  position: fixed;
  top: 5px;
  right: 5px;
  overflow: hidden;
}

.btn i {
  display: block;
  line-height: 50px;
}

/* touch時のcss */
.btn:focus i:first-child {
  display: none;
}

/*Sp nav*/
.spnav {
  position: fixed;
  width: 100%;
  top: 57px;
  left: 100%;
  transition: 200ms;
}

/* touch時のcss */
.btn:focus+.spnav {
  left: 0;
}

.spnav li {
  line-height: 70px;
  font-size: 1.5em;
  font-weight: bold;
}

.spnav a {
  color: #00a;
  background: rgba(200, 230, 255, 0.85);
  border-bottom: 1px solid #00a;
}

.pcnav {
  display: none;
}

.top{

  width: 50px;
  height: 50px;
  position: absolute;
  bottom: 3px;
  right: 5px;
  border: 2px solid #00a;
  border-radius: 5px;
  background: rgb(125, 168, 255);
  color: #fff;
}
.top i{
  display: block;
}

.key_mobile{
  background: url(../img/key_mobile.jpg) no-repeat center;
  height: 250px;
}

.key_mobile>p{
  font-size: 2em;
  color: #fff;
  text-shadow: 0px 0px 5px #00a;
  padding-block:50px 40px;
}

.sns{
  font-size: 50px;
  gap:10px;
  color:rgba(200, 230, 255, 0.85);
  display: flex;
  justify-content: center;
}

.sns a:nth-child(3) {
  font-size: 44px;
  padding-top: 3px;
}


/* メインコンテンツ */
div.container {
  padding: 20px 10px;
}

div.container p+p {
  margin-top: 20px;
}

h2{
  color: #059;
  margin-block: 0 10px;
}

main a p:first-of-type{
  margin-block: 10px 0;
  line-height: 1.5;
  text-align: left;
}

.more{
  padding: 20px;
  background:linear-gradient(#fff,#def);
  border: 2px solid #059;
  border-radius: 5px;
  margin-block:0 20px;
  font-size: 1.2em;
  color: #059;
}

.info dl{
  padding: 1em;
  background: #eee;
  border: 1px solid #777;
  text-align: left;
  flex-direction: column;
  line-height: 1.5;
}

.info dd{
  display: flex;
}

.info dt{
  float: left;
  width: 220px;
}

.info dt + dd{
  margin-bottom: 2em;
}

.info dd:last-of-type{
  margin-bottom: 0;
}


/* Footer */
footer {
  background: #ddd;
  padding-block: 20px;
}

/* ====================== Media Query ====================== */
@media (min-width:744px) {

  .container {
    max-width: 960px;
    margin-inline: auto;
    padding-inline: 10px;
    display: flex;
    justify-content:
      space-between;
  }

  /* Header */
  header {
    padding-block: 30px;
  }

  h1 {
    font-size: 3em;
    font-family: 'Dancing Script', cursive;
    text-align: left;
    padding-inline: 30px;
  }

  h1 + p {

  }

  /* Hambergre Menu */
  .btn {
    display: none;
  }

  /* Navigation */
  .pcnav {
    display: block;
    background: #cdf;
  }

  .pcnav li {
    width: 20%;
    line-height: 40px;
  }

  .pcnav a {
    transition: 200ms;
  }

  .pcnav a:hover {
    background: #059;
    color: #fff;
  }

  .key_pc {
    background: url(../img/key_pc.jpg) no-repeat center;
  }

  /* Main contents */
  div.container {
    padding-block: 50px;
  }

  div.container p {
    width: 32%;
  }

  div.container p+p {
    margin: 0;
  }

  /* Footer */
  footer {
    padding-block: 30px;
  }

}