@charset "utf-8";

/* ブラウザがそれぞれ持っているCSSをリセットするための記述 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Shippori Mincho';
  color: #2D2D2D;
  background-image: url(img/back-4.jpg);
  background-size: cover;
  width: 100%;
  background-blend-mode: overlay;
}


header {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1;
  border: none;
  /* 枠線を削除 */
  padding: 0;
  /* 余白を削除 */
  margin: 0;
  /* 余白を削除 */
  background: none;
  /* 背景を透明に */
}

/* ハンバーガーアイコンのスタイル */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  /* 間隔を均等に */
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  margin-top: 7px;
  box-shadow: 1px 1px 2px #636363, -1px -1px 2px #636363;
}

/* メニューが開いている時のスタイル */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  /* 罰点の上側の位置調整 */
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  /* 真ん中の線を非表示 */
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  /* 罰点の下側の位置調整 */
}

nav {
  height: 70px;
  display: flex;
  /* 横並びにするためにflexを使用 */
  flex-direction: row;
  /* 横並びにするために必要 */
  justify-content: flex-end;
  background: none;
  padding: 0;
  margin: 0;
}

/* nav-listの初期状態（非表示） */
.nav-list {
  right: 0;
  padding: 10px 20px;
  gap: 10px;
  /* アイテム間の隙間を調整 */
  display: flex;
  flex-direction: row;
  position: fixed;
  background: none;
}

.nav-list.open {
  display: flex;
  margin-top: 0;
}

.nav-list-item {
  list-style: none;
  margin: 0 30px;
  text-align: left;
  font-size: 36px;
}

.nav-list-item a {
  text-decoration: none;
  color: #ffffff;
  text-shadow: 1px 1px 2px #636363, -1px -1px 2px #636363;
}

.nav-list-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-list-item:hover::after {
  transform: scaleX(1);
}

.nav-list-item a:hover {
  background-color: transparent;
  color: #636363;
}

main {
  padding-bottom: 120px;
  min-height: 100vh;
}

section {
  width: 90vw;
  max-width: 1050px;
  margin: 0 auto 10px;
}

.main-visual {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url(img/umi-2.jpg);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.myname {
  font-size: 96px;
  color: #ffffff;

}

.web-designer {
  font-size: 48px;
  color: #ffffff;
}

.section-title {
  font-size: 96px;
  border-bottom: 1px solid #2D2D2D;
  margin: 50px 0;
}

.works-list {
  margin: 100px auto 50px;
  display: flex;
  justify-content: space-between;
}

.sample {
  width: 295px;
  height: 190px;
  background-color: #D9D9D9;
}

.works-list a {
  text-decoration: none;
  color: #2D2D2D;
}

.works-list-item img {
  width: 295px;
  height: 190px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.1s ease;
}

.works-list-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
  /* 少し拡大 */
  filter: brightness(1.2);
  /* 明るくする */
}

.works-list-page a {
  text-decoration: none;
  color: #2D2D2D;
}

.title {
  font-size: 24px;
}

.subtitle {
  font-size: 24px;
}

.link-button {
  text-align: right;
  margin-top: 50px;
  margin-right: 0;
  font-size: 24px;
  position: relative;
}

.link-button a {
  text-decoration: none;
  color: #2D2D2D;
}

.link-button::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.link-button:hover::after {
  transform: scaleX(1);
}

.link-button a:hover {
  background-color: transparent;
  color: #490000;
}

.portfolio-photo img {
  width: 300px;
  height: 400px;
  object-fit: cover;
}

.profile-list {
  margin: 100px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.profile-list-item {
  margin: auto auto 0;
}

.profile-list-name {
  font-size: 32px;
  border-bottom: 1px solid #2D2D2D;
}

.profile-list-text {
  font-size: 24px;
  margin-top: 10px;
}

footer {
  height: 350px;
  background-color: #636363;
}

.footer-name {
  font-size: 32px;
  color: white;
  text-align: center;
  padding-top: 75px;
  border: none;
}

.footer-name a {
  text-decoration: none;
}

.footer-name:hover {
  color: #949494
}

.footer-button {
  margin: 50px auto;
  padding: 13px;
  width: 277px;
  height: 60px;
  border-radius: 50px;
  background-color: #D9D9D9;
  text-align: center;
  color: #636363;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.portfolio-button {
  text-decoration: none;
  text-align: center;
  color: white;
}

.contact-button {
  text-decoration: none;
  color: #636363;
  display: flex;
  /* 子要素をフレックスボックスで配置 */
  justify-content: center;
  /* 水平方向の中央揃え */
  align-items: center;
  /* 垂直方向の中央揃え */
}

.footer-button a {
  display: block;
  width: 100%;
  /* 親要素に合わせて幅を拡張 */
  height: 100%;
  /* 親要素に合わせて高さを拡張 */
  text-decoration: none;
  /* 下線を消す */
  color: inherit;
  /* 親要素の色を継承 */
}

.footer-button:hover {
  background-color: #949494;
  color: white;
}

.copywriter {
  text-align: center;
  color: #D9D9D9;
  font-size: 16px;
  margin-top: 75px;
}

/* profileページ */
#subpage-header .nav-list-item a {
  color: #636363;
  text-shadow: 1px 1px 3px rgb(255, 255, 255), -1px -1px 3px rgb(255, 255, 255);

}

.subpage-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* 間隔を均等に */
  width: 30px;
  height: 0px;
  cursor: pointer;
  z-index: 10;
}

.subpage-hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #636363;
  transition: all 0.3s ease;
  margin-top: 7px;
  box-shadow: 1px 1px 3px rgb(255, 255, 255), -1px -1px 3px rgb(255, 255, 255);

  /* 上部の間隔を適用 */
}

/* メニューが開いている時のスタイル */
.subpage-hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  /* 罰点の上側の位置調整 */
}

.subpage-hamburger.active span:nth-child(2) {
  opacity: 0;
  /* 真ん中の線を非表示 */
}

.subpage-hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  /* 罰点の下側の位置調整 */
}

.page-title {
  font-size: 96px;
  padding-top: 50px;
  margin: 0px auto 100px
}

.profile-main {
  display: flex;
  justify-content: space-between;
  max-width: 750px;
  align-items: flex-end;
  margin: 100px 0 100px;
}


.profile-photo img {
  width: 345px;
  height: 420px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.profile-photo img:hover {
  filter: grayscale(0%);
}

.profile-main-text {
  font-size: 24px;
}

.profile-text {
  font-size: 20px;
  margin: 0 auto;
}

.profile-section {
  margin: 100px auto;
}

.profile-section-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 50px;
  padding-top: 30px;
}

.career {
  display: block;
  background-image: url(img/wa-moyou.jpg);
  background-size: 100%;
  height: auto;
  margin: 0 auto 50px;
  padding: 10px 0 40px;
}

.career-list {
  display: grid;
  grid-template-columns: 1fr 5fr;
  /* 年と内容を横並び */
  gap: 10px;
  /* 項目間の余白 */
  max-width: 700px;
  margin: 0 auto;
  padding-left: 20px;
}

.career-list-item {
  display: contents;
  /* 子要素をそのまま表示 */
  font-size: 22px;
}

.year {
  text-align: left;
  /* 年を左寄せ */
  margin: 0;
  /* マージンを完全にリセット */
  padding: 0;
  /* パディングもリセット */
}

.career-list-inside {
  text-align: left;
  /* 内容も左寄せ */
  padding-left: 10px;
  /* 内容に少し余白をつける */
}


.skill-list {
  background-image: url(img/wa-moyou.jpg);
  background-size: 100%;
  padding: 10px 32px;
  margin-bottom: 50px;
}

.skill-list-title {
  font-size: 36px;
  padding-left: 32px;
  border-bottom: 1px solid #2D2D2D;
  margin: auto;
  padding-bottom: 20px;
  max-width: 1050px;
  text-align: left;
}

.skill-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 1fr 0fr;
  gap: 32px;
  padding: 32px 0;
}

.skill-icon {
  width: 200px;
  height: 200px;
  grid-column: 1;
  grid-row: 1/3;
  filter: grayscale(100%);
  transition: filter 0.4s ease-in-out;

}

.skill-icon:hover {
  filter: grayscale(0%);
}

.skill-text {
  font-size: 20px;
  grid-column: 2;
  grid-row: 1;
}

.skill {
  font-size: 20px;
  grid-column: 2;
  grid-row: 2;
}

.strengths {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0px 60px;
  margin: 300px auto;
  max-width: 750px;
  justify-items: center;
  /* 横方向の中央揃え */
}

.strengths-list {
  font-size: 36px;
  position: relative;
  width: 145px;
  text-align: center;
}

.strengths-list-1 {
  grid-column: 1 / 2;
}

.strengths-list-2 {
  grid-column: 2 / 3;
}

.strengths-list-3 {
  grid-column: 3 / 4;
}

.strengths-list::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  z-index: -1;
  border: 30px solid rgba(50, 50, 50, 0.2);
}

.strengths-title {
  font-size: 36px;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 50px;
}

/* worksページ */
.works-list-page {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 650px;
  flex-direction: column;
  margin: 50px 0;
  align-items: center;
}

.works-list-item {
  width: 300px;
  height: 275px;
  margin-top: 30px;
}

.carousel {
  display: grid;
  grid-template-areas: "item item item" "left markers right";

}

.group {
  display: grid;
  /* アイテムを横並びにする */
  grid-auto-flow: column;
  grid-area: item;
  /* 次のスライドとの間隔 */
  gap: 120px;
  overflow-x: auto;
  /* X方向にスナップ */
  scroll-snap-type: x mandatory;
  /* 1度に1枚ずつ移動 */
  scroll-snap-stop: always;
  /* スムーズにスクロールさせる */
  scroll-behavior: smooth;
  /* インジケーターの表示 */
  scroll-marker-group: after;
  /* スクロールバー非表示 */
  scrollbar-width: none;

  &::scroll-button(*) {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }

  /* 前へボタン（左） */
  &::scroll-button(left) {
    /* 表示内容 / 代替テキスト */
    content: "◀" / "前へ";
    grid-area: left;
    justify-self: end;
  }

  /* 次へボタン（右） */
  &::scroll-button(right) {
    /* 表示内容 / 代替テキスト */
    content: "▶" / "次へ";
    grid-area: right;
  }
}

.carousel-item {
  max-height: 100vh;
  object-fit: contain;
  scroll-snap-align: center;

  /* インジケーター */
  &::scroll-marker {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
  }
}

.group img {
  height: 80vh;
  object-fit: contain;
}

/* contactページ */

.text {
  font-size: 18px;
  text-align: center;
  padding-top: 150px;
  margin-bottom: 100px;
}

.name,
.mail {
  display: flex;
  flex-direction: column;
  width: 90vw;
  max-width: 900px;
  margin: 20px auto;
  text-align: left;
  font-size: 18px;
}

.contact {
  display: flex;
  flex-direction: column;
  width: 90vw;
  max-width: 900px;
  height: 300px;
  justify-content: flex-start;
  margin: 20px auto;
  text-align: left;
  font-size: 18px;
}

.name input,
.mail input {
  margin: 10px auto;
  width: 100%;
  height: 50px;
  font-size: 16px;
  box-sizing: border-box;
  padding-left: 10px;
  transition: border-color 0.3s ease;
  border-radius: 5px;
  border: 1px solid #636363;
}

.name input:focus,
.mail input:focus {
  outline-color: #EC715F;
}

.name input:not(:placeholder-shown),
.mail input:not(:placeholder-shown) {
  background-color: #E8F0FE;
}


.contact textarea {
  margin: 10px auto;
  width: 100%;
  height: 100%;
  font-size: 16px;
  box-sizing: border-box;
  padding-top: 15px;
  padding-left: 10px;
  background-color: white;
  transition: border-color 0.3s ease;
  border-radius: 5px;
  border: 1px solid #636363;

}

.contact textarea:focus {
  outline-color: #EC715F;
}

.contact textarea:not(:placeholder-shown) {
  background-color: #E8F0FE;
}

.form-button {
  text-decoration: none;
  margin: 96px auto 128px;
  width: 236px;
  height: 60px;
  border-radius: 50px;
  background-color: #949494;
  text-align: center;
  display: flex;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.form-button:hover {
  background-color: #636363;
  color: #2D2D2D;
}

/* workページ */
.sample5 {
  width: 1050px;
  height: 700px;
  background-color: #D9D9D9;
  margin: 0 auto;
  margin-top: 150px;
}

.work-main-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 横方向の中央揃え */
}

.work-main {
  margin: 0 auto;
  margin-top: 150px;
  object-fit: contain;
  width: 90vw;
  height: auto;
  max-width: 1000px;
  display: block;
}

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


.detail {
  font-size: 24px;
  text-align: left;
  margin: 20px auto;
}

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

.work-subtext {
  font-size: 24px;
  margin-top: 25px;
  margin-bottom: 50px;
}

.contact-form {
  padding-top: 70px;
  text-align: center;
  margin: auto;
}

.complete {
  font-size: 40px;
  margin: 100px auto;
  text-align: center;
}

.message_contents {
  font-size: 24px;
  margin: 20px auto;
  margin-bottom: 25px;
  text-align: center;
}

.form_button {
  text-decoration: none;
  margin: 96px auto 128px;
  text-align: center;
  border: none;
  font-size: 18px;
}



@media (max-width: 1110px) {
  .strengths {
    display: grid;
    max-width: 580px;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 210px 0px;
    margin: 200px auto;
    grid-template-areas:
      ". strengths-list-1 strengths-list-1 ."
      "strengths-list-2 strengths-list-2 strengths-list-3 strengths-list-3";
  }

  .profile-section-title {
    font-size: 32px;
  }

  .skill-list-title {
    font-size: 24px;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .strengths-list-1 {
    grid-area: strengths-list-1;
  }

  .strengths-list-2 {
    grid-area: strengths-list-2;
  }

  .strengths-list-3 {
    grid-area: strengths-list-3;
  }

  .skill-text {
    font-size: 18px;
  }

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

  .profile-text {
    font-size: 18px;
  }

  .strengths-list {
    font-size: 28px;
  }

}

@media(max-width:1083px) {
  .profile-list-item {
    margin-top: 20px;
  }
}

@media(max-width:1000px) {
  .career-list {
    margin: 0 auto 20px;
    padding: 0 20px;
  }

  .career-list-item {
    font-size: 22px;
  }

  .career-list-item2 {
    font-size: 22px;
  }

  .works-list-page {
    flex-wrap: nowrap;
    height: auto;
    width: 90%;
    margin: 0 auto;
  }

  .works-list {
    flex-direction: column;
    margin: 50px auto;
  }

  .works-list-item {
    width: 90vw;
    height: auto;
    margin: 30px auto;
  }

  .works-list-item img {
    width: 100%;
    height: auto;
    /* アスペクト比を保つ */
    margin: auto;
  }

  .works-list-item:hover img {
    transform: scale(1.05);
  }

  .skill-list-item {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0fr 0fr;
    gap: 32px;
    padding: 32px 0;
    align-items: center;
  }

  .skill-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    grid-row: 1;
  }

  .skill-text {
    grid-column: 1/3;
    grid-row: 2;
  }

  .skill {
    grid-column: 2;
    grid-row: 1;
    margin: auto auto 0;
  }
}

@media (max-width: 850px) {
  .career-list-item {
    font-size: 20px;
    margin: 0 auto;
  }

  .career-list-item2 {
    font-size: 20px;
    margin: 0 auto;
  }
}

@media (max-width: 744px) {
  .nav-list {
    display: none;
    flex-direction: column;
    background-color: rgba(203, 203, 203, 0.5);
    /* メニュー背景色 */
    position: fixed;
    top: 0px;
    /* ナビゲーションの高さ分 */
    right: 0;
    width: 100%;
    z-index: 10;
    padding-top: 70px;
    backdrop-filter: blur(4px);
  }

  .title {
    width: 90vw;
  }

  .sub-title {
    width: 90vw;
  }

  .nav-list-item {
    margin: 10px 0;
    text-align: center;
  }

  .hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20;
    display: block;
    cursor: pointer;

  }

  .subpage-hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20;
    display: block;
    cursor: pointer;
  }


  .nav-list.active {
    display: flex;
  }

  .nav-list.scrolled .nav-list-item a {
    color: #ffffff;
    /* ナビゲーションリンクの文字色 */
  }

  section {
    width: 95vw;
    max-width: 650px;
  }

  .portfolio-photo img {
    width: 90vw;
    height: auto;
  }

  .profile-list {
    margin: 50px 0;
  }

  .profile-list-item {
    margin-top: 20px;
  }

  .myname {
    font-size: 64px;
  }

  .web-designer {
    font-size: 24px;
  }

  .section-title {
    font-size: 64px;
  }

  .page-title {
    font-size: 64px;
    margin: 0 auto 70px;
  }

  .profile-main {
    max-width: 650px;
  }

  .profile-section-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .career {
    height: auto;
  }

  .career-list {
    grid-template-columns: 1fr;
    /* スマホでは1列に変更 */
    max-width: 500px;
  }

  .year {
    text-align: left;
    /* 年も左寄せ */
    padding-right: 0;
    /* 右余白を削除 */
    padding-bottom: 5px;
    /* 下に余白 */
  }


  .skill-list-title {
    padding-left: 0;
    font-size: 32px;
  }

  .works-list-page {
    flex-direction: column;
    flex-wrap: nowrap;
    height: auto;
    margin-bottom: 0;
  }

  .strengths-list::after {
    max-width: 300px;
    max-height: 300px;
    border: 25px solid rgba(50, 50, 50, 0.2);
  }

  .profile-list-text {
    font-size: 20px;
  }

  .profile-section {
    margin: 70px auto;
  }

  .profile-section-title {
    padding-top: 20px;
  }

  .strengths-list {
    font-size: 26px;
  }

}

@media (max-width: 650px) {
  .profile-main {
    flex-direction: column;
    align-items: center;
  }

  .profile-photo img {
    width: 90vw;
    height: auto;
  }

  .profile-main-text {
    margin-top: 50px;
  }

  .name input,
  .mail input {
    font-size: 13px;
  }

  .contact textarea {
    font-size: 13px;
  }

  .strengths {
    width: 500px;
    gap: 165px 0;
    margin: 200px auto;
  }

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

  .detail {
    font-size: 22px;
  }

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

  .work-subtext {
    font-size: 20px;
  }
}

@media (max-width: 610px) {
  .strengths {
    width: 400px;
    gap: 140px 0;
  }

  .strengths-list::after {
    max-width: 250px;
    max-height: 250px;
  }

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

  .detail {
    font-size: 20px;
  }
}

@media (max-width: 550px) {
  .career-list {
    flex-wrap: wrap;
  }
}

@media (max-width: 500px) {
  .strengths {
    width: 340px;
    gap: 110px 0;
  }

  .strengths-list::after {
    max-width: 180px;
    max-height: 180px;
  }

  .page-title {
    margin: 0 auto 45px;
  }

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

  .detail {
    font-size: 20px;
  }

  .work-text {
    font-size: 25px;
  }

  .work-subtext {
    font-size: 18px;
  }
}


@media (max-width: 375px) {
  main {
    padding-bottom: 80px;
  }

  section {
    width: 95vw;
    max-width: 335px;
    margin: 20px auto;
  }

  .page-title {
    font-size: 36px;
  }

  .text {
    font-size: 15px;
  }

  .title {
    font-size: 15px;
  }

  .sub-title {
    font-size: 15px;
    word-wrap: break-word;
    /* 長い単語を折り返して表示 */
    overflow-wrap: break-word;
    /* 同様に、長い単語を折り返す */
    white-space: normal;
  }

  .career-list {
    margin: 0;
  }

  .works-list {
    margin: 20px 0;
  }

  .works-list-item {
    margin: 0 auto 20px;
  }

  .link-button {
    margin-top: 0;
  }

  .section-title {
    font-size: 36px;
    margin: 20px 0;
  }

  .portfolio-photo img {
    max-width: 350px;
    max-height: 380px;
  }

  .page-title {
    margin: 0 auto 30px;
  }

  .profile-list-text {
    font-size: 16px;
  }

  .profile-main {
    max-width: 350px;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
  }

  .profile-main-text {
    margin-top: 0;
  }

  .profile-photo {
    margin-bottom: 50px;
  }

  .profile-text {
    font-size: 16px;
  }

  .profile-section-title {
    font-size: 28px;
  }

  .career-list {
    font-size: 16px;
    width: auto;
  }

  .skill-list {
    padding: 10px;
    height: auto;
  }

  .skill-list-title {
    padding-top: 20px;
    font-size: 28px;
    padding-bottom: 5px;
  }

  .skill-list-item {
    max-width: 90vw;
  }

  .skill-icon {
    width: 130px;
    height: 120px;
    object-fit: fill;
    padding-left: 10px;
  }

  .skill {
    font-size: 18px;
  }

  .skill-text {
    font-size: 15px;
  }

  .profile-section {
    margin: 0 auto;
  }

  .strengths {
    margin: 120px auto;
    gap: 100px 0px;
    width: 260px;
  }

  .strengths-list {
    font-size: 15px;
    width: auto;
  }

  .strengths-list::after {
    max-width: 130px;
    max-height: 130px;
    border: 20px solid rgba(50, 50, 50, 0.2);
  }

  .strengths-title {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .name,
  .mail {
    max-width: 350px;
    margin: 0 auto;
  }

  .contact {
    max-width: 350px;
  }

  .contact textarea {
    margin: 0 auto;
    max-width: 350px;
  }

  main {
    padding-bottom: 60px;
  }

  .form-button {
    margin: 50px auto 70px;
    width: 50vw;
  }

  .work-main {
    max-width: 335px;
    max-height: 300px;
  }

  .work-title {
    font-size: 25px;
    margin-top: 20px;
  }

  .detail {
    font-size: 18px;
  }

  .work-text {
    font-size: 22px;
  }

  .work-subtext {
    font-size: 16px;
  }

  .footer-button {
    width: 50vw;
  }

}