/* A Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
ul[class],
ol[class] {
  padding: 0;
}
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
figure,
blockquote,
dl,
dd {
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
ul[class],
ol[class] {
  list-style: none;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
img {
  max-width: 100%;
  display: block;
}
article > * + * {
  margin-top: 1em;
}
input,
button,
textarea,
select {
  font: inherit;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --main-white: #fff;
  --main-beige: #f0efea;
  --main-red: #a10115;
  --main-black: #333;
  --main-dark-gray: #707070;
  --main-gray: #c0b2b5;
  --main-cv1: #b35a4e;
  --main-cv2: #b27b48;
  --main-cv3: #c2a660;
  --main-cv4: #7e9e8a;
  --main-cv5: #75a5c1;
  --main-cv6: #597b9e;
  --main-cv7: #826c9f;
}

html {
  font-size: 100%;
  background: var(--main-beige);
  height: 100%;
}

body {
  font-family:
    "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3",
    "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--main-black);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

p {
  margin-bottom: 1.15rem;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 2.75rem 0 1.05rem;
  font-family:
    "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3",
    "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  margin-top: 30px;
  font-size: 2.488em;
  color: var(--main-red);
  text-align: center;
}

h2 {
  font-size: 2.074em;
  color: var(--main-red);
  text-align: center;
}

h3 {
  font-size: 1.728em;
}

h4 {
  font-size: 1.44em;
}

h5 {
  font-size: 1.2em;
}

small,
.text_small {
  font-size: 0.833em;
}

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

section {
  padding: 90px 30px 0px 30px;
}

hr {
  border: dashed 1px var(--main-gray);
  margin: 0px 0px 60px;
  padding: 0px;
}

a {
  text-decoration: none;
  color: var(--main-red);
}
/*---------------------------------

	Footer

---------------------------------*/

footer {
  margin-top: 20px;
  height: 110px;
  background-color: var(--main-red);
}

footer ul {
  margin: 20px 0px 8px 0px;
}

footer p {
  margin-bottom: 0px;
  color: var(--main-beige);
}

footer div {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer img {
  margin: 0px 9px;
}

.social-icon {
  display: inline-block;
}

.social-icon img {
  width: 36px;
  height: 36px;
}
/*---------------------------------

	CV - detail

---------------------------------*/

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.timeline-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 10px;
}

.filter-btn {
  padding: 5px 15px;
  background-color: #f1f1f1;
  border: none;
  border-radius: 20px;
  background-color: var(--main-gray);
  color: var(--main-black);
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active {
  color: white;
  background-color: var(--main-red);
}

.timeline {
  position: relative;
  max-width: 1200px;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #ddd;
  top: 0;
  bottom: 0;
  left: 120px;
  margin-left: -2px;
}

.year-marker {
  position: relative;
  width: 100%;
  padding-left: 150px;
  margin-bottom: 30px;
}

.year-label {
  position: absolute;
  left: 20px;
  font-size: 24px;
  font-weight: bold;
  color: var(--main-black);
  padding: 5px 10px;
  z-index: 2;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item {
  position: relative;
  padding: 15px 20px;
  background-color: var(--main-white);
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  transition: all 0.3s;
  border-left: 5px solid #ccc;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: white;
  border: 3px solid #ccc;
  left: -62px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* ジャンル別カラー */
.timeline-item[data-genre="group-exhibition"] {
  border-left-color: var(--main-cv1);
}

.timeline-item[data-genre="group-exhibition"]::before {
  border-color: var(--main-cv1);
}

.timeline-item[data-genre="solo-exhibition"] {
  border-left-color: var(--main-cv2);
}

.timeline-item[data-genre="solo-exhibition"]::before {
  border-color: var(--main-cv2);
}

.timeline-item[data-genre="books"] {
  border-left-color: var(--main-cv3);
}

.timeline-item[data-genre="books"]::before {
  border-color: var(--main-cv3);
}

.timeline-item[data-genre="media"] {
  border-left-color: var(--main-cv4);
}

.timeline-item[data-genre="media"]::before {
  border-color: var(--main-cv4);
}

.timeline-item[data-genre="apps-etc"] {
  border-left-color: var(--main-cv5);
}

.timeline-item[data-genre="apps-etc"]::before {
  border-color: var(--main-cv5);
}

.timeline-item[data-genre="award-etc"] {
  border-left-color: var(--main-cv6);
}

.timeline-item[data-genre="award-etc"]::before {
  border-color: var(--main-cv6);
}

.timeline-item[data-genre="talks"] {
  border-left-color: var(--main-cv7);
}

.timeline-item[data-genre="talks"]::before {
  border-color: var(--main-cv7);
}

.item-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.item-info {
  display: flex;
}

.item-genre {
  font-size: 12px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 10px;
  color: white;
}

.item-genre[data-genre="group-exhibition"] {
  background-color: var(--main-cv1);
}

.item-genre[data-genre="solo-exhibition"] {
  background-color: var(--main-cv2);
}

.item-genre[data-genre="books"] {
  background-color: var(--main-cv3);
}

.item-genre[data-genre="media"] {
  background-color: var(--main-cv4);
}

.item-genre[data-genre="apps-etc"] {
  background-color: var(--main-cv5);
}

.item-genre[data-genre="award-etc"] {
  background-color: var(--main-cv6);
}

.item-genre[data-genre="talks"] {
  background-color: var(--main-cv7);
}

.item-date {
  font-size: 14px;
  color: var(--main-dark-gray);
}

.item-title {
  font-size: 18px;
  margin: 5px 0;
}

.item-title a {
  color: var(--main-black);
  text-decoration: none;
}

.item-title a:hover {
  text-decoration: underline;
}

.item-place {
  font-size: 14px;
  color: var(--main-dark-gray);
  margin-left: 15px;
}

@media (max-width: 768px) {
  .timeline::after {
    left: 30px;
  }

  .year-marker {
    padding-left: 60px;
  }

  .year-label {
    left: 0;
    font-size: 20px;
  }

  .timeline-item::before {
    left: -42px;
  }
}

/*---------------------------------

	Work - detail

---------------------------------*/

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.work-header {
  margin-bottom: 40px;
}

.breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #000;
}

.work-title {
  font-size: 32px;
  margin-top: 30px;
}

.work-year {
  font-size: 16px;
  color: #666;
  margin: 8px 0 0;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.work-content {
  margin-bottom: 40px;
}

/* 順番を入れ替え */
.work-info {
  order: 2;
}

.work-media {
  order: 1;
}

.work-info {
  display: flex;
  flex-direction: column;
}

.work-description {
  font-size: 16px;
  line-height: 1.7;
}

.work-tech h3 {
  margin-top: 20px;
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background-color: #f0f0f0;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.tech-tag:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.work-actions {
  margin-top: 16px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: var(--main-gray);
  color: var(--main-black);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.work-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-main {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.media-main img {
  width: 100%;
  height: auto;
  display: block;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 アスペクト比 */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* カルーセルスタイル */
.carousel-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.carousel {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 アスペクト比 */
  overflow: hidden;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f5f5f5;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  padding: 0 16px;
  z-index: 5;
}

.carousel-prev,
.carousel-next {
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: white;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-title {
    font-size: 28px;
  }
}

/*---------------------------------

	Contact

---------------------------------*/
#contact_form input {
  border-width: 1px;
  border-style: solid;
}

#contact_form textarea,
#contact_form input {
  width: 100%;
  border-color: var(--main-gray);
  background-color: var(--main-beige);
}
.btn-link {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
}

::placeholder {
  color: var(--main-gray);
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--main-gray);
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--main-gray);
}

#contact_result > div {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}
/*---------------------------------

	Information

---------------------------------*/
.date-and-category {
  display: flex;
  font-size: 13.33px;
}

#information-list ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.info-date {
  text-align: left;
  margin-right: 10px;
}

/* アコーディオン */
/*ボックス全体*/
.accbox {
  margin: 0.4em 0;
  padding: 0;
  width: 75%;
}

/*ラベル*/
.accbox label {
  display: block;
  margin: 1.5px 0;
  cursor: pointer;
  transition: all 0.5s;
  text-align: left;
  font-size: 19.2px;
  padding-right: 20px;
  font-weight: 600;
}

/*アイコンを表示*/
.accbox label:after {
  content: "  \e5cf";
  font-family: "Material Icons";
  position: absolute;
  right: calc(15% - 30px);
  font-size: 30px;
}

/*チェックは隠す*/
.accbox input {
  display: none;
}

/*中身を非表示にしておく*/
.accbox .accshow {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
}

/*クリックで中身表示*/
.cssacc:checked + label + .accshow {
  height: auto;
  padding-top: 15px;
  opacity: 1;
}

.accbox .accshow p {
  text-align: left;
}

/*アイコンを入れ替える*/
.cssacc:checked + label:after {
  content: "\e5ce";
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 20px;
}

nav > a {
  text-decoration: none;
  color: var(--main-red);
  margin-left: 10px;
  margin-right: 10px;
}

nav > span {
  margin-left: 10px;
  margin-right: 10px;
}

/*---------------------------------

	Index - Top

---------------------------------*/
#top {
  padding: 0px;
  height: 100vh;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section .hero-image,
.hero-section .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--main-white);
  z-index: 3;
  width: 90%;
  max-width: 800px;
  background: rgba(161, 1, 21, 0.75);
}

.hero-caption h2 {
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--main-beige);
}

.hero-caption p {
  margin-top: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--main-beige);
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  animation: bounce 4s infinite;
  z-index: 2;
  opacity: 0.8;
}

.scroll-indicator svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@media (max-width: 768px) {
  .hero-caption p {
    font-size: 1.2em;
  }

  .hero-caption {
    width: 95%;
  }
}

/*---------------------------------

	Index - Profile

---------------------------------*/

.profile-name {
  margin-bottom: 1rem;
}

.profile-name > h3 {
  margin-bottom: 0px;
  display: flex;
  margin-bottom: 10px;
}
/* Statement, CVボタン */
.stitch-button {
  display: flex;
  text-decoration: none;
  background: var(--main-red);
  color: var(--main-beige);
  width: 100%;
  height: 60px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.flex-container {
  display: flex;
  flex-flow: column;
  align-items: center;
}

.stitch-button:active {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  border-bottom: none;
}

.stitch-button > div {
  width: 100%;
  border-bottom: dashed 1.5px var(--main-white);
  border-top: dashed 1.5px var(--main-white);
  vertical-align: middle;
  text-align: center;
  padding: 9px 0px;
}

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

/*---------------------------------

	Index - Information

---------------------------------*/
/* More...ボタン */
.more-button {
  display: flex;
  text-decoration: none;
  background: var(--main-red);
  color: var(--main-beige);
  width: 90px;
  height: 36px;
  justify-content: center;
  align-items: center;
}

.more-button-div {
  display: flex;
  justify-content: flex-end;
}

/* Information一覧 */
.information-list {
  padding-bottom: 35px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.information-list h5 {
  margin-top: 0px;
}

.index_information_ul > li {
  margin-top: 20px;
  margin-bottom: 35px;
}

/*---------------------------------

	Index - Works

---------------------------------*/
.tag_list {
  margin-bottom: 4rem;
}

/* タイトル */
.works_caption {
  display: flex;
  justify-content: space-around;
  flex-flow: column;
  padding: 0 20px;
}

.works_caption h5 {
  text-align: left;
  margin: 10px 0px 0px 0px;
}

.works_caption small {
  margin: 5px 0px 0px 0px;
  text-align: left;
}

.works_ul > li {
  padding: 0px 0px 15px;
  margin-bottom: 40px;
  background: #f7f6f3;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  display: flex;
  flex-direction: column; /* 子要素（aタグ）を縦に並べる */
}
.works_ul a {
  text-decoration: none;
}

.work_tag_column {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 20px 0;
}

.work_tag {
  background-color: var(--main-gray);
  color: var(--main-black);
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 5px 15px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}

.work_tag::before {
  content: "#";
  display: inline-block;
}

.tags_list {
  margin-bottom: 30px;
}

.work-image-container {
  width: 100%;
  border-radius: 15px 15px 0 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  height: auto;
  margin-bottom: 10px;
}

.works_ul li a {
  display: block;
  position: relative;
  overflow: hidden;
}

.work-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-item-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/*---------------------------------

	Index - Menu

---------------------------------*/

#header-id {
  opacity: 0;
}

#header-id.fade {
  transition: opacity 1s;
  opacity: 1;
}

#header-id2 {
  opacity: 0;
}

#header-id2.fade {
  transition: opacity 1s 1s;
  opacity: 1;
}

header {
  opacity: 0.9;
  background-color: var(--main-gray);
  width: 100%;
  height: 80px;
  position: fixed;
  z-index: 10;
}

.header_buttons {
  display: flex;
  padding: 15px 30px 0px 30px;
}

.lang_mark {
  vertical-align: bottom;
}

.lang_btn {
  background-color: var(--main-red);
  color: var(--main-beige);
  border: 0px;
}

.header_container {
  display: flex;
  justify-content: space-between;
}
.material-icons.md-55 {
  font-size: 55px;
  color: var(--main-beige);
}

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 0;
  width: 100%;
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  background-color: var(--main-red); /* Black fallback color */
  opacity: 1; /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 15%;
  width: 100%;
  text-align: center;
  padding: 30px;
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 40px;
  color: var(--main-gray);
  display: block; /* Display block instead of inline */
  transition: 0.5s; /* Transition effects on hover (color) */
}

.menu-sub-title {
  font-size: 22px !important;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
  color: var(--main-beige);
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  left: 45px;
  font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
.blog-sub-links {
  overflow: hidden;
  transition:
    height 0.3s ease-out,
    opacity 0.3s ease-out;
}

.blog-sub-links.hidden {
  height: 0;
  opacity: 0;
}

.blog-sub-links:not(.hidden) {
  opacity: 1;
}

.blog-sub-links a {
  padding-left: 20px;
  display: block;
}
/*---------------------------------

	Index - Contact

---------------------------------*/
#contact {
  margin-bottom: 60px;
}
#contact > p {
  text-align: center;
}

/*---------------------------------

	404

---------------------------------*/
#not_found_h1 {
  font-size: 11em;
  margin-bottom: 0;
}

#not_found > h4 {
  margin-bottom: 44px;
}

/*-------------------------------------

    Profile Detail

--------------------------------------*/

/*-------------------------------------
    Profile Detail
--------------------------------------*/
.profile-data {
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: center; /* 中央揃え */
  gap: 2rem;
  margin-bottom: 2rem;
}

.profile-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
}

.profile-text {
  width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .profile-data {
    flex-direction: column;
    align-items: center;
  }

  .profile-image {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
  }
}

/*-------------------------------------

    Tablet

--------------------------------------*/
@media screen and (min-width: 768px) {
  /* 全体の画面幅 */

  section {
    padding: 90px 60px 0px 60px;
    display: flex;
    justify-content: center;
  }

  .section-container {
    width: 80%;
  }

  /* 全体的なボタンサイズ */
  .stitch-button {
    max-width: 300px;
  }

  .works_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .works_ul > li {
    width: calc((100% - 40px) / 3);
    margin-bottom: 2.5rem;
    padding-top: 0;
  }

  .work-image-container {
    aspect-ratio: 1 / 1;
  }

  .work_detail-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }

  .work_sub_image {
    height: 400px;
    max-width: 100%;
    object-fit: contain;
    margin: 10px;
  }

  .work_main_image {
    width: 100%;
  }
}

/*-------------------------------

    PC

--------------------------------*/
@media screen and (min-width: 1024px) {
}

@media (max-width: 768px) {
  #top {
    padding: 0px;
    height: 100vh;
  }
}

/*-------------------------------

    For iPhone

--------------------------------*/

/* CSS specific to iOS devices */
@supports (-webkit-touch-callout: none) {
  #top {
    background-attachment: scroll;
  }
}
