@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400&family=Zen+Maru+Gothic:wght@400&family=Shippori+Mincho+B1:wght@400&display=swap");

:root {
  /* font-family */
  --font-family-01: "Noto Sans JP", sans-serif;
  --font-family-02: "Zen Maru Gothic", sans-serif;
  --font-family-03: "Shippori Mincho B1", serif;

  /* color */
  --body-bg-main: #ffffff;
  --body-bg-sub: #ecf2f5;
  --common-text: #333333;
  --main-color: #4098c9;
  --link-color: #e28282;
}

/* common */

body {
  color: var(--common-text);
  background-color: var(--body-bg-main);
  font-family: var(--font-family-02);
  line-height: 1.8;
  letter-spacing: 0.06em;
}

body .body-bg {
  background-image: url(../images/background-3840×2160.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  font-family: var(--font-family-02);
  font-size: 17px;
  text-align: justify;
  letter-spacing: 0.066em;
  line-height: 1.6;
  margin: 0;
}

a {
  color: var(--common-text);
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  width: 100%;
}

.container {
  width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}

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

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

.text-right {
  text-align: right;
}

.flex {
  display: flex;
  flex-direction: row;
}

#main {
  margin-bottom: 5rem;
}

/* header */

#header {
  position: fixed;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 15px 15px 0;
}

#header .header-ttl {
  color: var(--main-color);
  line-height: 0;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

#header .header-ttl a {
  color: var(--main-color);
}

#header .header-ttl span {
  display: block;
}

#header .header-ttl span:nth-child(1) {
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

#header .header-ttl span:nth-child(2) {
  font-size: 18px;
  letter-spacing: 0.45em;
  margin-bottom: 20px;
}

#header .header-ttl span:nth-child(3) {
  font-size: 15px;
  letter-spacing: 0.08em;
}

/* hamburger menu */

#header .hamburger-wrapper {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

.hamburger-menu {
  margin-right: 28px;
}

.hamburger-icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1001;
  width: 30px;
  height: 25px;
}

.hamburger-menu.active .hamburger-icon span {
  background: #fff;
}

.hamburger-icon span {
  background-color: var(--main-color);
  position: absolute;
  width: 30px;
  height: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-icon span:nth-child(1) {
  top: 0;
}

.hamburger-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-icon span:nth-child(3) {
  bottom: 0;
}

/* menu fullscreen */

.menu {
  background-color: rgba(64, 152, 201, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  font-size: 17px;
}

.menu.active {
  opacity: 1;
  visibility: visible;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.menu a:hover {
  color: var(--link-color);
}

/* ×に変形 */
.hamburger-menu.active .hamburger-icon span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* footer */

#footer {
  color: #fff;
  background-color: var(--main-color);
  padding: 2rem 0 0;
}

#footer .footer-container {
  width: 90%;
  margin: 0 auto;
}

#footer .site-name {
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

#footer .site-name .wrapper {
  display: block;
  text-align: center;
  margin: 0;
}

#footer .site-name > span {
  display: block;
  text-align: center;
  font-size: 80%;
  margin: 0;
}

#footer a {
  color: #fff;
}

#footer a:hover {
  color: var(--link-color);
}

#footer ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  font-size: 14px;
  line-height: 0.8;
  margin: 0 auto 2rem;
}

#footer small {
  display: block;
  text-align: center;
  font-size: 14px;
  padding-bottom: 1rem;
}

/* entry-box */

.entry-box {
  background-color: var(--body-bg-sub);
  text-align: center;
  padding: 2rem 0;
}

.entry-box .entry-wrapper {
  width: 90%;
  margin: 0 auto 1rem;
}

.entry-box .entry-ttl {
  font-family: var(--font-family-03);
  font-size: 23px;
  text-align: center;
  margin-bottom: 0.5rem;
}

.entry-box .entry-text {
  font-family: var(--font-family-02);
  font-size: 16px;
  text-align: justify;
}

/* btn */

.btn-header {
  color: #fff;
  background-color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 0.22em;
  padding: 8px 16px;
}

.btn-main-01 {
  color: var(--main-color);
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 14px;
  text-align: center;
  border: 1px solid var(--common-text);
  border-radius: 3px;
  margin: 0 auto;
  padding: 12px 16px;
}

.btn-main-02 {
  background-color: var(--link-color);
  color: #fff;
  display: inline-block;
  text-align: center;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  padding: 11px 22px;
}

.btn-entry {
  background-color: var(--font-family-02);
  display: inline-block;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  letter-spacing: 0.15em;
  border: #333 solid 1px;
  border-radius: 1px;
  padding: 15px 35px;
}

.btn-header:hover,
.btn-main-01:hover,
.btn-main-02:hover,
.btn-entry:hover {
  opacity: 0.6;
}

/* heading */

.page-ttl {
  position: relative;
  text-align: center;
  font-size: 21px;
  margin-bottom: 1.5rem;
}

.page-ttl span {
  position: relative;
  z-index: 1;
}

.page-ttl::before {
  color: rgba(64, 152, 201, 0.25);
  content: attr(data-en);
  position: absolute;
  z-index: 0;
  top: -85px;
  left: 50%;
  transform: translateX(-50%) rotate(-15deg);
  font-family: var(--font-family-03);
  font-size: 80px;
  font-weight: normal;
}

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

  p {
    font-size: 18px;
    letter-spacing: 0.16em;
  }

  ul {
    font-size: 18px;
  }

  .container {
    width: 70%;
    max-width: 1200px;
  }

  .sp-only {
    display: none;
  }

  /* header */

  #header .header-ttl span:nth-child(1) {
    font-size: 14px;
    margin-bottom: 25px;
  }

  #header .header-ttl span:nth-child(2) {
    font-size: 25px;
    margin-bottom: 25px;
  }

  #header .header-ttl span:nth-child(3) {
    font-size: 18px;
  }

  #header .menu a {
    font-size: 26px;
  }

  /* footer */

  #footer {
    padding: 2.5rem 0 0;
  }

  #footer .site-name {
    font-size: 20px;
    margin-bottom: 1.7rem;
  }

  #footer .site-name > span {
    font-size: 90%;
  }

  #footer ul {
    font-size: 16px;
    margin: 0 auto 2rem;
  }

  #footer small {
    font-size: 16px;
    padding-bottom: 1.2rem;
  }

  /* entry-box */

  .entry-box {
    padding: 4rem 0;
  }

  .entry-box .entry-wrapper {
    max-width: 850px;
    margin: 0 auto 1.2rem;
  }

  .entry-box .entry-ttl {
    font-size: 30px;
  }

  .entry-box .entry-text {
    font-size: 18px;
  }

  /* btn */

  .btn-header {
    font-size: 18px;
    letter-spacing: 0.22em;
    padding: 8px 16px;
  }

  .btn-main {
    font-size: 17px;
  }

  .btn-main-02 {
    font-size: 17px;
  }

  .btn-entry {
    font-size: 20px;
  }

  /* heading */

  .page-ttl {
    margin-bottom: 2rem;
  }
}
