@charset "UTF-8";

ul {
  padding-left: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: rgb(24, 41, 90);
}

body {
  background-color: rgb(255, 255, 235);
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho Pro", serif;
  padding-bottom: 80px;
}

p,
h1,
h3,
h4 {
  margin: 0;
}

p {
  text-align: center;
}

h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  justify-content: center;
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.menu-nav {
  justify-content: center;
  color: #000;
}

#home,
#profile,
#works,
#contact {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  width: 100%;
  margin: 0 auto;
}

#profile,
#works,
#contact {
  max-width: 1000px;
}

#home {
  max-width: none;
  position: relative;
}

#profile-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

#works {
  text-align: center;
}

.works-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 120px auto;
  flex-wrap: wrap;
}

.works-item img {
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

#tenki-icon,
.works-img {
  max-width: 500px !important;
  width: 100%;
  height: auto;
}

.works-item:last-of-type {
  margin-bottom: 0;
}

#works img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.works-img {
  max-width: 500px !important;
  width: 100%;
  height: auto;
}

#tenki-icon,
.works-img {
  max-width: 500px !important;
  width: 100%;
  height: auto;
}

.works-text h2 {
  font-size: 22px;
  color: rgb(24, 41, 90);
  margin-bottom: 15px;
}

.works-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.works-text p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  text-align: left;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #00124e;
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container p {
  font-size: 9vw;
  color: rgb(24, 41, 90);
  margin: 0;
  white-space: nowrap;
  transform-origin: center center;
  transform: rotate(-30deg);
}

.flex-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.flex-container img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.flex-container h3 {
  font-size: 24px;
  color: rgb(24, 41, 90);
  margin-bottom: 10px;
}

.flex-container h4 {
  font-size: 16px;
  color: #555;
  font-weight: normal;
}

#works {
  text-align: center;
}

#works img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

img[src*="流しそうめん"] {
  max-width: 500px;
  width: 100%;
  height: auto;
}

footer {
  background-color: rgb(24, 41, 90);
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: #ffffff;
  padding: 15px 0;
  z-index: 100;
}

a.pagetop {
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  box-sizing: border-box;
  padding-top: 12px;
  border-radius: 20%;
  /*border-top-left-radius: 10px;
    border-top-right-radius: 10px;*/
  background-color: rgb(24, 41, 90);
  color: #FFF;
  position: fixed;
  bottom: 100px;
  right: 20px;
}

html {
  scroll-behavior: smooth;
}