@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fefefe;
  color: #333;
  line-height: 1.6;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
li {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
  border: 1px solid #ccc;
  padding: 0.5em;
}

input:focus,
textarea:focus {
  border-color: #666;
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

p {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 2px;
  line-height: 2;
}

.btn {
  width: 250px;
  padding: 15px 30px;
  border-radius: 5px;
  text-align: center;
  border: #333 solid 1px;
  opacity: 0;
  transition: all 1.5s;
  transform: translateY(30px);
}

.btn:hover {
  opacity: 0.4;
}

.section-subtitle {
  font-size: 81%;
  font-weight: 600;
  padding-bottom: 32px;
  letter-spacing: 2px;
  opacity: 0;
  transition: all 1.2s;
  transform: translateY(30px);
}

.section-text {
  font-size: 90%;
  padding-bottom: 72px;
  opacity: 0;
  transition: all 1.65s;
  transform: translateY(30px);
}

.wappear {
  max-width: 1500px;
  padding: 0 1em;
  margin: 0 auto;
}

.section-title {
  opacity: 0;
  transition: all 0.8s;
  transform: translateY(30px);
}

.section-title.appear,
.section-subtitle.appear,
.section-text.appear,
.btn.appear {
  opacity: 1;
  transform: translateY(0px);
}


/* ヘッダー */
/* パソコンサイズ対応 */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
}

header img {
  width: 120px;
  height: auto;
}

.header-inner {
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav ul {
  display: flex;
  gap: 2em;
}

header nav ul li {
  font-size: 1em;
  font-weight: 600;
}



/* footer */
footer {
  background-color: #003b6b;
  font-weight: 550;
  color: #fff;
  padding: 3% 17%;
  margin-top: 60px;
  font-size: 15px;
}

footer img {
  width: 150px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 1);
  cursor: pointer;
}

footer img:hover {
  opacity: 0.8;
}

footer ul {
  width: 100%;
  display: flex;
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f2f2f2;
}

footer ul li {
  width: 30%;
}

footer a {
  transition: 0.3s;
  color: #fff;
}

footer a:hover {
  opacity: 0.7;
}

footer p {
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f2f2f2;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
}

.footer-content {
  margin: 0 0 0 auto;
}

@media (max-width: 768px) {

  /* 共通の余白・文字 */
  .section-subtitle {
    padding-bottom: 16px;
    font-size: 75%;
  }

  .section-text {
    font-size: 75%;
    padding-bottom: 40px;
  }

  /* ヘッダー */
  .header-inner {
    height: auto;
    flex-direction: column;
    gap: 10px;
    padding: 10px 1em;
  }

  header img {
    width: 90px;
  }

  header nav ul {
    flex-direction: row;
    gap: 1.2em;
    flex-wrap: wrap;
    justify-content: center;
  }

  header nav ul li {
    font-size: 0.85em;
  }


  /* footer */
  footer {
    padding: 10% 5%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  footer ul {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  footer ul li {
    width: 100%;
  }

  footer img {
    width: 130px;
  }
}