@charset "utf-8";

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Shippori Mincho', serif;
  background-color: #fff;
  letter-spacing: 0.2em;
}

header {
  z-index: 9999;
  padding: 3vh 2vh;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background-color: transparent;
  display: flex;
  align-items: center;
  transition: all 0.2s ease-out;
}

header.min-header {
  padding: 10px 4%;
  background-color: #293f4d;
}

h1 {
  margin: 0;
  padding: 0;
  font-size: 20px;
}

h2 {
  text-align: center;
}

h3 {
  font-size: 1rem;
  text-align: center;
}

.coment {
  text-align: center;
  line-height: 1.5;
  margin: 20px;
  font-size: 13px;
}

.date-area {
  margin-bottom: 5px;
}

.news-content {
  margin: 5% 0%;
}

.news-title {
  font-size: 1.3rem;
  padding-bottom: 1.5rem;
  line-height: 1.5rem;
  border-bottom: 1px solid #395b70;
}

.news-text {
  text-align: left;
  line-height: 1.3rem;
  letter-spacing: 0.12rem;
  font-size: 1rem;
  margin: 3% 3%;
}

.news-text a {
  color: #000;
}

.news-text a:hover {
  color: #395b70;
}

.text {
  margin: 1rem;
}

a {
  text-decoration: none;
}

p {
  line-height: 2;
}

nav {
  margin: 0 0 0 auto;
}

ul {
  list-style: none;
  margin: 0;
  display: flex;
}

li {
  margin: 0 0 0 15px;
  font-size: 14px;
}

.theme {
  margin: 15% 10% 10% 10%;
}

.nav_sp {
  display: none;
}

#header {
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

#header .nav_pc {
  margin: 0 0 0 auto;
  padding-top: 2rem;
}

#header .nav_pc ul {
  display: flex;
  justify-content: space-between;
}

#header .nav_pc ul li:not(:last-of-type) {
  margin-right: 10px;
}

#header .nav_pc a.button {
  display: block;
  width: 250px;
  margin: 0 auto;
  padding: 15px 30px;
  text-align: center;
  border: 1px solid #fff;
  transition: all 0.3s ease-out;
}

#header a {
  color: #000;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

#header .nav_pc a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #f88826;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
}

#header .nav_pc a:hover::after {
  transform: scale(1, 1);
}

#header a.button:hover {
  color: #505050;
  background-color: #fff;
}

#header.scroll-nav {
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

#header.scroll-nav h1 a,
#header.scroll-nav ul li a {
  color: #000;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.header-logo {
  width: auto;
  height: 4rem;
  padding-left: 1rem;
}

.logo-before {
  display: none;
}

.logo-after {
  margin-left: 30px;
  margin-top: 4px;
  z-index: 990;
  top: 4px;
  left: 30px;
  opacity: 1;
}

/*=========  フッター ========= */
#footer {
  justify-content: space-between;
  border-top: solid 1px #000000;
  font-size: 0.75rem;
  padding: 50px 30px 0 30px;
  text-align: left;
}

#footer a {
  color: #000;
  position: relative;
}

#footer a:hover {
  color: #395b70;
}

#footer p {
  line-height: 1.6;
}

#footer .copyright {
  text-align: center;
  font-size: 0.625rem;
  margin: 2rem auto 2rem auto;
}

.googleform {
  position: relative;
  width: 100%;
  height: 1200px;
  margin-top: 2rem;
  align-items: center;
}

.iframe {
  position: absolute;
  margin: 0 auto;
  min-width: 400px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*=========  SP ========= */
@media screen and (max-width: 600px) {
  .news-text {
    text-align: left;
    line-height: 1.3rem;
    letter-spacing: 0.12rem;
    font-size: 0.8rem;
    margin: 3% 3%;
  }

  #main-visual h2 {
    font-size: small;
    padding-top: 60px;
  }

  .nav_pc {
    display: none;
  }

  #header {
    background-color: #fff;
    position: relative;
    height: 50px;
    margin: auto;
    max-width: 100%;
    display: flex;
    box-shadow: none;
  }

  #header h1 a {
    color: #000;
  }

  #header .wrapper {
    position: absolute;
    right: 0;
  }

  .header-logo {
    height: 35px;
    padding: auto;
    z-index: 990;
  }

  .logo-before {
    display: none;
  }

  .logo-after {
    opacity: 1;
    margin: 3% auto auto 5%;
    position: relative;
    left: 0;
    bottom: 5%;
  }

  .nav_sp {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    margin: 0;
    padding: 0 20px 40% 20px;
    visibility: hidden;
    transition:
      opacity 0.5s,
      visibility 0.5s;
    background-color: #fff;
    z-index: 997;
  }

  .nav_sp ul {
    display: list-item;
    margin-top: 0;
  }

  .nav_sp li {
    margin-bottom: 30px;
  }

  .nav_sp li a {
    color: #f88826;
  }

  .nav_sp.show {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
    transition: 0.3s ease-out;
    z-index: 997;
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    box-sizing: border-box;
    position: fixed;
    z-index: 9999;
    top: 0.3%;
    right: 0.8%;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn.show span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
  }

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

  .openbtn.show span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
  }

  .news-text {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 850px) and (orientation: landscape) {
  .openbtn {
    top: 0.3%;
    right: 8%;
  }
}
