body {
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  color: #333;
  font-family: "Zen Kurenaido", sans-serif;
}

nav {
  position: fixed;
  bottom: 0%;
  padding: 0 8px;
  width: 100%;
  z-index: 1000;
}
nav ul {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  gap: 24px;
}
nav ul li {
  width: 120px;
  text-align: center;
  background: linear-gradient(to bottom, #BFEFFF 0%, #BFEFFF 10%, #f1fbff 10%, #f1fbff 100%);
  border: 1px solid #6fcaff;
}
nav ul li a {
  display: block;
  padding: 16px 12px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.2rem;
}
nav ul li.active a {
  padding-bottom: 7vh;
}

.hero {
  height: 100vh;
  padding: 20px;
}
.hero .main-box {
  background-color: #f1fbff;
  border: 1px solid #6fcaff;
  max-width: 320px;
  border-radius: 24px;
  width: 100%;
  height: 50%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero .main-box h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 3rem;
}

main {
  padding-bottom: 120px;
}
main h1,
main budoux-ja {
  padding-bottom: 4px;
}
main.home {
  min-height: 100vh;
  padding: 20px 20px 120px;
  max-width: 320px;
  margin: 0 auto;
}
main.home section {
  min-height: 50vh;
  margin: 10vh 0;
}
main.home section .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: center;
  border-bottom: 1px solid #6fcaff;
}
main.home section.about .card img {
  max-width: 100%;
  display: inline-block;
  padding: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 8px 18px rgba(0, 0, 0, 0.1);
  transform: rotate(-1.2deg);
  transform-origin: center;
}
main.home section.about .card h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 12px;
  border-bottom: 1px solid #757575;
}
main.home section.about .card .description {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 12px;
}
main.home section.about .card .links {
  display: flex;
  margin-top: 12px;
}
main.home section.about .card .links .link {
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 4px;
}
main.home section.about .card .links .link i {
  font-size: 0.7rem;
}
main.home section.works .workcards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
main.home section.works .workcards .workcard img {
  width: 100%;
  display: inline-block;
  padding: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 8px 18px rgba(0, 0, 0, 0.1);
  transform: rotate(-1.2deg);
  transform-origin: center;
}
main.home section.works .workcards .workcard span {
  background: linear-gradient(transparent 60%, #ff6 60%);
}
main.home section.works .workcards .workcard h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
main.home section.works .workcards .workcard h1 span {
  font-size: 1.5rem;
}
main.home section.works .workcards .workcard h1 i {
  font-size: 1.5rem;
  cursor: pointer;
}
main.home section.works .workcards .workcard h1 i.verified {
  color: #55a7e3;
}
main.home section.works .workcards .workcard h1 i.unverified {
  color: #ccc;
}
main.home section.works .workcards .workcard p {
  font-size: 1rem;
}
main.home section.works .workcards .workcard .description-title {
  font-size: 0.9rem;
  font-weight: bold;
  background-color: #fff;
  padding: 4px 8px;
  border: 1px solid #333;
  width: fit-content;
  position: absolute;
  top: 0;
  left: 12px;
  transform: translateY(-50%);
  line-height: 1;
}
main.home section.works .workcards .workcard .description {
  border: 1px #333 solid;
  padding: 16px 12px 12px;
  width: 100%;
  min-height: 10vh;
  position: relative;
  margin-top: 18px;
}
main.works.detail {
  margin: 0 auto;
  min-height: 100vh;
  padding: 20px 20px 120px;
  max-width: 320px;
}
main.experience {
  min-height: 100vh;
  padding: 20px 20px 120px;
  max-width: 360px;
  margin: 0 auto;
}
main.experience .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: center;
  border-bottom: 1px solid #6fcaff;
}
main.experience .timeline {
  position: relative;
}
main.experience .timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 14px;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
main.experience .timeline-list {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 34px;
}
main.experience .timeline-item {
  position: relative;
  margin-bottom: 28px;
}
main.experience .timeline-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -32px;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #55a7e3;
  border-radius: 50% 60% 55% 45%/60% 50% 55% 45%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
main.experience .timeline-item .timeline-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: bold;
  color: #55a7e3;
  margin-bottom: 4px;
}
main.experience .timeline-item .timeline-content {
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 6px 14px rgba(0, 0, 0, 0.08);
  transform: rotate(-0.6deg);
  transform-origin: left center;
}
main.experience .timeline-item .timeline-content:nth-child(even) {
  transform: rotate(0.7deg);
}
main.experience .timeline-item .timeline-content h2 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 6px;
  border-bottom: 1px dashed #b9dffb;
  padding-bottom: 4px;
}
main.experience .timeline-item .timeline-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}
main.contact form {
  margin: 0 auto;
  max-width: 800px;
}
main.contact form label {
  margin-bottom: 8px;
}
main.contact form input, main.contact form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
main.contact form button {
  padding: 8px 16px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 800px;
  background: #fff;
  z-index: 2000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px 24px 0 0;
  padding: 36px 24px 40px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  left: 50%;
  transform: translate(-50%, 100%);
  touch-action: none;
}
.bottom-sheet.active {
  transform: translate(-50%, 0);
}
.bottom-sheet.dragging {
  transition: none;
}
.bottom-sheet .sheet-handle {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 48px;
  height: 6px;
  background: #cfcfcf;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transform: translateX(-50%);
}
.bottom-sheet .sheet-handle:focus-visible {
  outline: 2px solid #333;
  outline-offset: 6px;
}
.bottom-sheet .bottom-sheet-inner h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.sheet-overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
