@import url(destyle.css);

* body {
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#wrap {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.title_bar {
  /* width: 100%; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #004e9d;
  gap: 10px;
  align-items: center;
}
.star {
  margin-top: 4px;
  margin-bottom: 0;
  padding: 0;
}
.star img {
  width: 60px;
}

.title {
  margin: 5px 0 0 0;
  padding: 0 2% 1vh 2%;
  color: #fff;
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 23px;
  line-height: 1;
  text-align: center;
  margin: 0;
}
/* ヘッダー全体 */
.header {
  width: 100%;
}
/* 中央コンテナ */
.header_inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
}
/*ナビ */
.header_nav {
  width: 100%;
  margin-top: 0px;
}

.header_nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: #fff;
  gap: 10px;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0 2%;
}

.header_nav ul li a {
  display: block;
  color: white;
  background-color: rgb(243, 67, 67);
  text-decoration: none;
  font-size: 14px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
  width: 160px;
  border-radius: 4px;
  padding: 4px 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
}

.header_nav ul li a:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}
.greetings {
  padding: 0 2%;
  margin: 0;
}
.greetings img {
  width: 26%;
  max-width: 145px;
}

.pale {
  display: block;
  opacity: 0.4;
  color: white;
  background-color: rgb(243, 67, 67);
  font-size: 14px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
  width: 160px;
  text-align: center;
  border-radius: 4px;
  padding: 4px 8px;
}
.year_title {
  font-size: 25px;
}

.writer {
  display: flex;
  flex-direction: column;
  padding: 15px 3% 0 2%;
}
.combi {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-left: 8px;
}
.writer p {
  margin-left: 8px;
  font-size: 15px;
  font-weight: lighter;
  font-family: serif;
  line-height: 1.6em;
  text-align: justify;
}
.namecombi {
  margin-left: 10px;
}
.name {
  font-size: 22px;
  font-weight: bold;
  font-family: serif;
  line-height: 1;
}
.what {
  font-size: 18px;
  font-weight: 500;
  font-family: serif;
  color: red;
  padding-bottom: 6px;
}
.foto {
  margin-top: 17px;
}
.foto img {
  width: 119px;
}
.engineer {
  padding: 15px 3% 0 2%;
  margin-bottom: 20px;
  border-top: 1px dotted #333;
}
.engineer p {
  margin-left: 8px;
  font-size: 15px;
  font-weight: lighter;
  font-family: serif;
  line-height: 1.6em;
  text-align: justify;
}

.fukkou-copy p {
  font-size: 13px;
  font-weight: lighter;
  font-family: sans-serif;
  color: #57596a;
  line-height: 1.6em;
  text-align: center;
  margin-bottom: 2vh;
  margin-top: 0;
  padding: 0 2%;
}

.reserve p {
  font-size: 13px;
  color: #fff;
  font-weight: lighter;
  font-family: sans-serif;
  background-color: #a79a9a;
  line-height: 1.6em;
  text-align: center;
  padding: 10px 0;
  margin-top: 0;
}

/* ⬇︎先頭に戻るボタン指定。形とかサイズ、色を設定。動きはHTMLにjqueryで記述。 */

#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#pageTop i {
  padding-top: 9px;
}

#pageTop a {
  display: block;
  z-index: 999;
  padding: 1px;
  border-radius: 30px;
  width: 40px;
  height: 40px;
  background-color: hwb(227 18% 3%);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* ⬆︎先頭に戻るボタン指定 */

@media (min-width: 479px) {
  .title_bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    padding-left: 8px;
  }
  .star {
    margin-top: 4px;
    margin-bottom: 0;
  }

  .title {
    padding: 7px 6px 0 6px;
    /* text-align: center; */
  }
}

/* @media (min-width: 488px) {
  .title_bar {
    flex-wrap: nowrap;
    gap: 0;
  }
  .star {
    margin-top: 4px;
    margin-bottom: 0;
  }

  .title {
    padding: 7px 6px 0 6px;
  }
} */

@media (min-width: 1100px) {
  body {
    max-width: 1100px;
  }
}
