@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;500&family=Kosugi&display=swap");
@import url("https://fonts.googleapis.com/css?family=Cherry+Swash:700");
input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

/*
  terrible.css
  Andrew Tunecliffe, 2015
  http://atunnecliffe.com
*/
/* uncomment to see outlines of stuff when you hover *-/
:hover {
  background:rgba(0, 0, 0, 0.1);
}/**/

html {
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
}

body {
  background: linear-gradient(#01325B, #2F79AA);;
  overflow-x: hidden;
  color: #ffffff;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: YuGothic,'Yu Gothic','ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
}

.section {
  width: 100%;
}

.container {
  position: relative;
  width: 1170px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 300;
  overflow: hidden;
}

.section .container {
  padding: 0 0 50px 0;
}

a {
  color: #F4B8B8;
  text-decoration: none;
  -webkit-transition: color .3s;
  transition: color .3s;
}

small {
  font-size: 80%;
}

/*
  Header
*/

.hold {
  height: 80px;
}

.header {
  line-height: 70px;
  width: 100%;
  transition: line-height 0.2s linear, box-shadow 0.2s linear;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(245, 245, 245, 0.8);
}

.header.small {
  line-height: 50px;
  background: rgba(245, 245, 245, 0.8);
  box-shadow: 0px 1px 3px 0px rgba(255, 255, 255, 0.8);
}

.header.small > .container > h1 {
  height: 40px;
}

h1 {
  font-family: "Montserrat Subrayada", cursive;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  float: left;
  height: 40px;
  width: auto;
  margin-left: 5px;
  display: block;
  padding: 18px 0px;
  font-size: 36px;
  margin: 0;
  padding: 0;
  line-height: 1.0em;
}

h1::first-letter {
  font-size: 2.8rem;
}

ul.nav {
  float: right;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.nav li {
  float: left;
  position: relative;
}

ul.nav li a {
  transition: color 0.2s linear;
  font-size: 18px;
}

ul.nav li:hover a {
  color: #2F79AA;
}

ul.nav li a {
  padding: 21px;
  color: initial;
  text-decoration: initial;
}

.footer {
  background: #01325B;
  color: #F9F4D7;
  padding: 10px;
}

main.subpage {
  margin-top: 0px;
}

h2:before {
  content:"";
  display: block;
  padding-top: 50px;
  margin-top: -50px;
}

/*
  Text
*/

.container > h1:not(.hero) {
  margin-bottom: 30px;
  text-align: center;
}

.container > h1:after {
  content: "";
  width: 30px;
  position: relative;
  display: block;
  text-align: center;
  margin: auto;
  margin-top: 0px;
}

h2 {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1.4em;
  font-family: "Cherry Swash", cursive;
  text-align: left;
  border-top: 2px dotted #bbb;
  align-items: flex-end;
  scroll-margin-top: 70px;
}

h2::first-letter {
  color: #fff785;
}

h3 {
  margin: 0;
  padding: 0;
  line-height: 1.4em;
  font-family: "Josefin Sans", "Kosugi", cursive;
  border-left: 3px solid #F4B8B8;
  padding: 0px 15px;
  margin: 2em 0 1em;
  font-size: 17px;
}


/*
  Responsive
*/

.group:after {
  content: "";
  display: table;
  clear: both;
}
a#totop {
  display: block;
  position: fixed;
  z-index: 9;
  bottom: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  background: #f1eded;
  border-radius: 50%;
}

a#totop:before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid black;
  border-right: 2px solid black;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  margin: auto;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  -webkit-transition: .3s;
  transition: .3s;
}

a#totop:hover:before {
  -webkit-transform: translateY(-3px) rotate(-45deg);
          transform: translateY(-3px) rotate(-45deg);
}

.category {
  padding: 0;
  list-style: none;
}

.category a {
  padding: 8px 10px;
	background-color: #77ABC1;
  color: #ffffff !important;;
	border-radius: 35px;
  line-height: 40px;
}

.category a:hover {
	background-color: #2F79AA;
}

@media all and (max-width: 768px) {
  .container {
    height: auto;
    width: 95%;
  }
  .section .container {
  padding: 70px 0 50px 0;
  }
  .header {
    height: auto;
    background: rgba(245, 245, 245, 0.8);
  }
  h1 {
    position: initial;
    float: none;
    display: block;
    transform: none;
    margin: 0px auto 0 auto;
    line-height: 2.0em;
  }
  ul.nav {
    float: none;
    display: block;
    text-align: center;
    margin: 0 auto;
  }
  ul.nav li {
    float: initial;
    display: inline-block;
  }
  .responsivegroup {
    display: block;
  }
  .responsivegroup:after {
    content: "";
    display: table;
    clear: both;
  }
  h2 {
    font-size: 20px;
    scroll-margin-top: 130px;
  }
  h3 {
    font-size: 16px;
  }
}

@media all and (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media all and (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media all and (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
