@charset "UTF-8";
:root {
  --gpri: #318375;
  --gsec: #75A29E;
  --gter: #75A29E;
  --accent-blue: #A4C6C2;
  --footer-bg: #E1EBEC;
  --nav-bg: #E9E4DE;
  --brown: #96765C;
  --timeline: #AC9D91;
  --serif-ff: "Noto Serif JP", serif, "游明朝体", "Yu Mincho", YuMincho,
      "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho";
  --gothic-ff: "Noto Sans JP", sans-serif, "游ゴシック体", "Yu Gothic", YuGothic,
      "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo,
      "MS Pゴシック", "MS PGothic";
  --cormorant-ff: "Cormorant Garamond", serif;
}

html {
  font-size: 100%;
  /* scroll-behavior: smooth; */
  /* これでスムーススクロールをcssのみで実装することはできます */
}

body {
  font-family: "Helvetica Neue", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 0.875rem;
  color: var(--base);
  line-height: 1.7;
  margin: 0 auto;
  overflow-x: hidden;
  background: #fff;
}

main {
  overflow-x: hidden;
}

article {
  margin-top: 80px;
}
@media (max-width: 500px) {
  article {
    margin-top: 60px;
  }
}
article h2 {
  font-size: 3rem;
  font-family: var(--serif-ff);
  font-weight: 600;
  color: var(--gpri);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 400px;
  line-height: 1.5;
}
@media (max-width: 500px) {
  article h2 {
    font-size: 2.5rem;
    height: 300px;
  }
}
article h2 span {
  font-size: 0.75rem;
}

a {
  text-decoration: none;
  color: unset;
}

img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: bottom;
}

ol,
ul,
li {
  list-style: none;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding-inline: 3%;
}

.gothic {
  /* 游ゴシック体 */
  font-family: "Noto Sans JP", sans-serif, "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic";
}

.serif {
  /* 游明朝体 */
  font-family: "Noto Serif JP", serif, "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho";
}

.sec_title {
  padding-top: 130px;
  text-align: center;
  color: var(--gpri);
  position: relative;
  font-weight: 600;
  font-size: 2.125rem;
  margin-bottom: 5px;
  display: flex;
  flex-direction: column;
  letter-spacing: 3px;
}
@media (max-width: 500px) {
  .sec_title {
    padding-top: 100px;
  }
}
.sec_title span {
  font-size: 0.75rem;
  line-height: 10px;
}
.sec_title span::after {
  content: "";
  width: 40px;
  height: 2px;
  background-color: var(--gpri);
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}

.img_box {
  position: relative;
}
.img_box::before {
  position: absolute;
  z-index: -1;
  content: "";
  display: inline-block;
}

.btn {
  text-align: center;
  color: var(--gpri);
  font-size: 1.125rem;
  font-weight: bold;
  font-family: var(--serif-ff);
}
.btn a {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  letter-spacing: 1px;
}
.btn a::before, .btn a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--accent-blue);
  transition: all 0.5s;
}
.btn a::before {
  width: 1px;
  height: 50%;
}
.btn a::after {
  width: 20%;
  height: 1px;
}
.btn a span {
  display: inline-block;
  width: 100%;
  height: 100%;
}
.btn a span::before, .btn a span::after {
  content: "";
  position: absolute;
  background-color: var(--accent-blue);
  top: 0;
  right: 0;
  transition: all 0.5s;
}
.btn a span::before {
  width: 1px;
  height: 50%;
}
.btn a span::after {
  width: 20%;
  height: 1px;
}
.btn a:hover::before {
  height: 100%;
}
.btn a:hover::after {
  width: 100%;
}
.btn a:hover span::before {
  height: 100%;
}
.btn a:hover span::after {
  width: 100%;
}

.index-bg {
  background: linear-gradient(#ffffff, #E1EBEC);
  position: relative;
  z-index: 0;
}
.index-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 90px);
  background-image: url(../img/wave.svg);
  background-size: contain;
  background-position: top;
  transform: scaleX(-1);
  z-index: 0;
  margin-top: 90px;
}
@media (max-width: 768px) {
  .index-bg::before {
    height: calc(100% - 250px);
    margin-top: 250px;
  }
}

.sp {
  display: none;
}
@media (max-width: 500px) {
  .sp {
    display: block;
    height: 0;
  }
}

.msp {
  display: none;
}
@media (max-width: 374px) {
  .msp {
    display: block;
    height: 0;
  }
}

.header {
  height: 80px;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
@media (max-width: 500px) {
  .header {
    height: 60px;
  }
}
.header_logo {
  width: 200px;
  position: relative;
  z-index: 10;
}
@media (max-width: 768px) {
  .header_logo {
    width: clamp(160px, 160px + 40 * (100vw - 500px) / 268, 200px);
  }
}
@media (max-width: 500px) {
  .header_logo {
    width: 120px;
  }
}
.header_logo a {
  display: block;
  line-height: 1;
}
.header_logo a img {
  width: 100%;
}
.header nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url(../img/nav-bg.jpg);
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  z-index: 0;
}
.header nav ul {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
}
.header nav ul li {
  text-align: center;
  font-size: 1.5rem;
  font-family: var(--serif-ff);
  color: var(--gpri);
}
.header nav ul li:not(:first-of-type) {
  margin-top: 30px;
}
.header nav ul li a {
  position: relative;
}
.header nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background-color: var(--gpri);
  transition: all 0.5s;
}
.header nav ul li a:hover::before {
  width: 100%;
}
.header.open nav {
  opacity: 1;
  visibility: visible;
}
.header.open .hbgButton__fig--01 {
  top: 13px;
  transform: rotate(30deg);
  transition: top 0.3s 0.2s, transform 0.3s 0.5s;
}
@media (max-width: 500px) {
  .header.open .hbgButton__fig--01 {
    top: 8px;
  }
}
.header.open .hbgButton__fig--02 {
  opacity: 0;
  transition: opacity 0.3s 0.3s;
}
.header.open .hbgButton__fig--03 {
  bottom: 13px;
  transform: rotate(-30deg);
  transition: bottom 0.3s 0.2s, transform 0.3s 0.5s;
}
@media (max-width: 500px) {
  .header.open .hbgButton__fig--03 {
    top: 8px;
  }
}

.hbgButton {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
@media (max-width: 500px) {
  .hbgButton {
    width: 30px;
    height: 30px;
  }
}
.hbgButton__fig {
  position: absolute;
  display: flex;
  align-items: center;
  width: 100%;
  height: 14px;
}
.hbgButton__fig--01 {
  top: 0;
  transition: top 0.3s 0.3s, transform 0.3s 0s;
}
.hbgButton__fig--02 {
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: opacity 0.3s 0.3s;
}
.hbgButton__fig--03 {
  bottom: 0;
  transition: bottom 0.3s 0.3s, transform 0.3s 0s;
}
.hbgButton__fig svg path {
  fill: none;
  stroke: #318375;
  stroke-width: 4px;
}

footer {
  background-image: url(../img/footer-bg.svg);
  background-size: cover;
  background-position: center;
  color: var(--gpri);
  padding-bottom: 10px;
}
footer .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 90px 70px;
}
@media (max-width: 500px) {
  footer .wrapper {
    flex-direction: column;
  }
}
@media (max-width: 500px) {
  footer .wrapper {
    gap: 20px;
  }
}
footer .logo {
  width: 200px;
}
@media (max-width: 768px) {
  footer .logo {
    width: clamp(160px, 160px + 40 * (100vw - 500px) / 268, 200px);
  }
}
@media (max-width: 500px) {
  footer .logo {
    margin-right: auto;
  }
}
@media (max-width: 500px) {
  footer nav {
    margin-left: auto;
  }
}
footer ul {
  display: flex;
  gap: 30px;
  font-size: 0.75rem;
  font-family: var(--serif-ff);
  font-weight: bold;
}
@media (max-width: 768px) {
  footer ul {
    gap: clamp(20px, 20px + 10 * (100vw - 500px) / 268, 30px);
  }
}
footer ul a {
  position: relative;
  letter-spacing: 0.7px;
}
footer ul a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background-color: var(--gpri);
  transition: all 0.5s;
}
footer ul a:hover::before {
  width: 100%;
}

.to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
}
@media (max-width: 500px) {
  .to-top {
    bottom: 20px;
    right: 20px;
  }
}
.to-top .circle-text {
  width: 100px;
  -webkit-animation: circle 25s linear infinite;
          animation: circle 25s linear infinite;
}
@media (max-width: 500px) {
  .to-top .circle-text {
    width: 70px;
  }
}
@-webkit-keyframes circle {
  to {
    transform: rotate(360deg);
  }
}
@keyframes circle {
  to {
    transform: rotate(360deg);
  }
}
.to-top .anchor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
}
@media (max-width: 500px) {
  .to-top .anchor {
    width: 35px;
  }
}
.to-top.move .anchor {
  -webkit-animation: move 0.3s infinite linear;
          animation: move 0.3s infinite linear;
}
@-webkit-keyframes move {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }
  25% {
    transform: translate(-50%, -50%) rotate(-30deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(0);
  }
  75% {
    transform: translate(-50%, -50%) rotate(30deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0);
  }
}
@keyframes move {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }
  25% {
    transform: translate(-50%, -50%) rotate(-30deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(0);
  }
  75% {
    transform: translate(-50%, -50%) rotate(30deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0);
  }
}

.mv {
  position: relative;
}
.mv .slideshow {
  position: relative;
  margin-top: 80px;
  height: calc(100vh - 80px);
  text-align: center;
}
@media (max-width: 500px) {
  .mv .slideshow {
    margin-top: 60px;
    height: calc(80vh - 60px);
  }
}
.mv .slideshow .slide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-animation: fade 21s infinite;
          animation: fade 21s infinite;
}
@-webkit-keyframes fade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  /* 少し早めにフェードイン */
  30% {
    opacity: 1;
  }
  /* 表示をキープ */
  45% {
    opacity: 0;
  }
  /* 少し長めにフェードアウト */
  100% {
    opacity: 0;
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  /* 少し早めにフェードイン */
  30% {
    opacity: 1;
  }
  /* 表示をキープ */
  45% {
    opacity: 0;
  }
  /* 少し長めにフェードアウト */
  100% {
    opacity: 0;
  }
}
.mv .slideshow .slide1 {
  background-image: url(../img/mainvisual1.jpg);
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.mv .slideshow .slide2 {
  background-image: url(../img/mainvisual2.jpg);
  -webkit-animation-delay: 7s;
          animation-delay: 7s;
}
.mv .slideshow .slide3 {
  background-image: url(../img/mainvisual3.jpg);
  -webkit-animation-delay: 14s;
          animation-delay: 14s;
}
.mv .slideshow::before {
  position: absolute;
  z-index: 10;
  content: "";
  bottom: 0;
  left: 0;
  border-bottom: 100px solid #fff;
  border-right: 50vw solid rgba(0, 0, 0, 0);
}
@media (max-width: 500px) {
  .mv .slideshow::before {
    border-bottom: clamp(50px, 50px + 30 * (100vw - 320px) / 180, 80px) solid #fff;
  }
}
.mv .slideshow::after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  border-bottom: 100px solid #fff;
  border-left: 50vw solid rgba(0, 0, 0, 0);
}
@media (max-width: 500px) {
  .mv .slideshow::after {
    border-bottom: clamp(50px, 50px + 30 * (100vw - 320px) / 180, 80px) solid #fff;
  }
}
.mv .logo {
  width: 360px;
  /* SafariなどのWebkitブラウザ用 */
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
@media (max-width: 500px) {
  .mv .logo {
    width: 300px;
  }
}
.mv .scroll {
  position: absolute;
  z-index: 10;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  height: 80px;
  width: 2px;
  background: #ffffff;
}
.mv .scroll::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gpri);
  height: 0;
  width: 2px;
  -webkit-animation: scroll 2s infinite ease-in-out;
          animation: scroll 2s infinite ease-in-out;
}
@-webkit-keyframes scroll {
  0% {
    height: 0;
  }
  50% {
    height: 100%;
  }
  100% {
    height: 0;
    top: initial;
    bottom: 0;
  }
}
@keyframes scroll {
  0% {
    height: 0;
  }
  50% {
    height: 100%;
  }
  100% {
    height: 0;
    top: initial;
    bottom: 0;
  }
}
.mv .scroll span {
  color: var(--gpri);
  font-size: 0.625rem;
  line-height: 1em;
  font-weight: bold;
  letter-spacing: 0.2px;
  writing-mode: vertical-rl;
  margin-left: 8px;
}
.mv .copy {
  position: absolute;
  top: 90%;
  left: 100%;
  width: 38vw;
  max-width: 400px;
  transform: translate(-50%, -50%) rotate(0deg);
  -webkit-animation: spin 25s linear infinite;
          animation: spin 25s linear infinite;
}
@media (max-width: 500px) {
  .mv .copy {
    width: 55vw;
  }
}
@-webkit-keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#top {
  padding-top: 140px;
  padding-bottom: 190px;
  background-image: url(../img/wave.svg);
  background-size: cover;
  background-position: center;
}
@media (max-width: 500px) {
  #top {
    padding-top: 70px;
    padding-bottom: 100px;
  }
}
#top .container {
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 40px + 40 * (100vw - 768px) / 512, 80px);
}
@media (max-width: 500px) {
  #top .container {
    flex-direction: column;
  }
}
#top .container .img_box {
  max-width: 360px;
  margin-top: 100px;
}
@media (max-width: 768px) {
  #top .container .img_box {
    max-width: initial;
    width: clamp(173px, 173px + 70 * (100vw - 500px) / 268, 243px);
  }
}
@media (max-width: 500px) {
  #top .container .img_box {
    margin-inline: auto;
    margin-top: initial;
  }
}
#top .container .img_box::before {
  background: linear-gradient(0deg, #fff, var(--gsec));
  width: 100%;
  height: 100%;
  top: 60px;
  left: -50px;
}
@media (max-width: 500px) {
  #top .container .img_box::before {
    top: 20px;
    left: -20px;
  }
}
#top .container .text {
  max-width: 440px;
}
@media (max-width: 768px) {
  #top .container .text {
    flex: 1;
  }
}
#top .container .text p {
  color: var(--brown);
  font-size: 18px;
  line-height: 36px;
}
#top .container .text p:first-of-type, #top .container .text p:nth-of-type(2) {
  margin-bottom: 30px;
}
#top::after {
  content: "";
  width: 100%;
  background-image: url(../img/wave.svg);
}

#service {
  background-image: url(../img/service.jpg);
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 130px;
}
#service ul {
  margin-top: 60px;
}
#service .item {
  color: var(--brown);
  background-color: rgba(255, 255, 255, 0.7019607843);
  padding: 50px;
  max-width: 600px;
  position: relative;
}
@media (max-width: 500px) {
  #service .item {
    padding: 50px 20px 20px;
  }
}
#service .item:not(:first-child) {
  margin-top: 30px;
}
@media (max-width: 768px) {
  #service .item:not(:first-child) {
    margin-top: 50px;
  }
}
#service .item .num {
  font-size: 6.25rem;
  font-family: var(--serif-ff);
  line-height: 1;
  color: var(--accent-blue);
  position: absolute;
  top: -50px;
}
@media (max-width: 500px) {
  #service .item .num {
    font-size: 5.25rem;
    top: -40px;
  }
}
#service .item h3 {
  display: inline-block;
  font-family: var(--serif-ff);
  font-size: 1.125rem;
  background: linear-gradient(#ffffff, #E1EBEC);
  margin-bottom: 15px;
  padding-inline: 8px;
  letter-spacing: 2px;
}
#service .item .text {
  letter-spacing: 1px;
}
#service .item.right {
  margin-left: auto;
}
#service .item.right .num {
  right: 20px;
}
#service .item.left .num {
  left: 20px;
}
@media (max-width: 500px) {
  #service .item.left .num {
    left: initial;
    right: 20px;
  }
}

#about {
  padding-block: 165px 115px;
  position: relative;
  z-index: 0;
}
@media (max-width: 500px) {
  #about {
    padding-block: 65px 80px;
  }
}
#about .container {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}
@media (max-width: 768px) {
  #about .container {
    gap: clamp(20px, 20px + 30 * (100vw - 500px) / 268, 50px);
  }
}
@media (max-width: 500px) {
  #about .container {
    flex-direction: column-reverse;
    gap: 50px;
  }
}
#about h2 {
  padding-top: initial;
}
#about .img_box {
  max-width: 350px;
}
@media (max-width: 768px) {
  #about .img_box {
    max-width: initial;
    width: clamp(200px, 200px + 150 * (100vw - 500px) / 268, 350px);
  }
}
@media (max-width: 500px) {
  #about .img_box {
    margin-inline: auto;
  }
}
#about .img_box::before {
  background: linear-gradient(var(--accent-blue), #fff);
  top: -50px;
  left: -40px;
  height: calc(100% + 100px);
  width: 80%;
}
@media (max-width: 768px) {
  #about .img_box::before {
    top: -25px;
    height: calc(100% + 50px);
  }
}
#about .text {
  flex: 1;
}
#about .text p {
  color: var(--brown);
  letter-spacing: 1px;
}
#about .text .name {
  margin-block: 50px 20px;
  font-size: 1.5rem;
  font-family: var(--serif-ff);
  display: flex;
  align-items: flex-end;
  gap: 30px;
  line-height: 1;
  letter-spacing: 2px;
}
@media (max-width: 768px) {
  #about .text .name {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 500px) {
  #about .text .name {
    flex-direction: row;
    align-items: flex-end;
    gap: 30px;
  }
}
#about .text .name span {
  font-size: 1.125rem;
  letter-spacing: 1px;
}
#about .btn {
  margin-top: 130px;
}
@media (max-width: 500px) {
  #about .btn {
    margin-top: 80px;
  }
}

#works {
  padding-bottom: 120px;
  position: relative;
  z-index: 0;
}
@media (max-width: 500px) {
  #works {
    padding-bottom: 80px;
  }
}
#works .container {
  max-width: 1200px;
}
#works .sec_title {
  padding-top: initial;
}
#works ul {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 20px;
}
#works ul li {
  position: relative;
}
#works ul li:nth-child(1) {
  width: 40%;
  order: 2;
}
#works ul li:nth-child(2) {
  width: 30%;
  order: 1;
}
#works ul li:nth-child(3) {
  width: 30%;
  order: 3;
}
#works ul li p {
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  font-size: 0.625rem;
  color: var(--brown);
  background-color: #ffffff;
  padding: 6px 14px;
  letter-spacing: 1px;
}
@media (max-width: 500px) {
  #works ul li p {
    left: 24px;
  }
}
#works .btn {
  margin-top: 60px;
}

@media (max-width: 500px) {
  .slider li {
    padding-inline: 24px;
  }
}

#contact {
  padding-block: 120px 80px;
}
@media (max-width: 500px) {
  #contact {
    padding-block: 80px 50px;
  }
}
#contact .wrapper {
  border: 1px solid var(--accent-blue);
  padding: 80px 3%;
  font-size: 0.75rem;
}
#contact .sec_title {
  padding-top: initial;
}
#contact .text {
  text-align: center;
  color: var(--brown);
  font-family: var(--serif-ff);
  margin-block: 80px 60px;
  letter-spacing: 1px;
}
#contact ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 500px) {
  #contact ul {
    gap: 10px;
  }
}
#contact li {
  text-align: center;
  width: 150px;
}
@media (max-width: 500px) {
  #contact li {
    width: 33.3333333333%;
  }
}
#contact li a {
  display: inline-block;
  width: 100%;
  color: #ffffff;
  background-color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  padding-block: 14px;
  transition: all 0.5s;
  letter-spacing: 1px;
}
@media (max-width: 500px) {
  #contact li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
#contact li a:hover {
  color: var(--accent-blue);
  background-color: #ffffff;
}
#contact li .bi {
  margin-right: 6px;
}
@media (max-width: 500px) {
  #contact li .bi {
    margin-right: initial;
  }
}

.works h2 {
  background-image: url(../img/works-bg.jpg);
  background-size: cover;
  background-position: center;
}

.archive .list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-block: 100px;
}
@media (max-width: 768px) {
  .archive .list {
    gap: 40px clamp(10px, 10px + 30 * (100vw - 500px) / 268, 40px);
  }
}
@media (max-width: 500px) {
  .archive .list {
    grid-template-columns: repeat(1, 1fr);
  }
}
.archive .item {
  position: relative;
}
.archive .title {
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  background-color: #ffffff;
  padding: 6px 14px;
  font-size: 0.625rem;
  color: var(--brown);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.page-numbers {
  display: inline-block;
  width: 30px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 0.75rem;
  color: #ffffff;
  background-color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  transition: all 0.5s;
}
.page-numbers:hover {
  color: var(--gpri);
  background-color: #ffffff;
  border: 1px solid var(--gpri);
}

.current {
  color: var(--gpri);
  background-color: #ffffff;
  border: 1px solid var(--gpri);
}

.prev,
.next {
  display: none;
}

.single article {
  font-family: var(--serif-ff);
  color: var(--brown);
}
.single .outer {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-block: 100px 40px;
}
@media (max-width: 768px) {
  .single .outer {
    align-items: flex-start;
    gap: clamp(20px, 20px + 20 * (100vw - 500px) / 268, 40px);
  }
}
@media (max-width: 500px) {
  .single .outer {
    flex-direction: column;
    gap: 40px;
    margin-block: 80px 20px;
  }
}
.single .outer .thumbnail,
.single .outer .top-text {
  width: 50%;
}
@media (max-width: 500px) {
  .single .outer .thumbnail {
    margin-inline: auto;
    width: 80%;
  }
}
@media (max-width: 500px) {
  .single .outer .top-text {
    width: 100%;
  }
}
.single .outer .top-text .project {
  background-color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  color: #ffffff;
  font-size: 1.125rem;
  padding: 8px 20px;
}
.single .outer .top-text .name {
  font-size: 1rem;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .single .outer .top-text .name {
    margin-bottom: 20px;
  }
}
@media (max-width: 500px) {
  .single .outer .top-text .name {
    margin-bottom: 30px;
  }
}
.single .outer dd:nth-of-type(2) {
  margin-bottom: 20px;
}
.single dt {
  display: inline-block;
  border: 1px solid var(--gpri);
  color: var(--gpri);
  font-size: 0.75rem;
  padding: 6px 10px;
  margin-bottom: 10px;
  line-height: 1em;
  letter-spacing: 1px;
}
.single .content-text {
  margin-bottom: 98px;
}
@media (max-width: 500px) {
  .single .content-text {
    margin-bottom: 80px;
  }
}
.single .content-text dd:nth-of-type(1) {
  margin-bottom: 30px;
}
@media (max-width: 500px) {
  .single .content-text dd:nth-of-type(1) {
    margin-bottom: 20px;
  }
}
.single #contact {
  padding-block: 80px;
}

.about h2 {
  background-image: url(../img/about-bg.jpg);
  background-size: cover;
  background-position: center;
}
.about .profile {
  margin-block: 169px 81px;
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .about .profile {
    margin-block: 129px 81px;
    gap: clamp(20px, 20px + 30 * (100vw - 500px) / 268, 50px);
  }
}
@media (max-width: 500px) {
  .about .profile {
    margin-block: 100px 81px;
    flex-direction: column;
    gap: 50px;
  }
}
.about .img_box {
  max-width: 350px;
}
@media (max-width: 768px) {
  .about .img_box {
    max-width: initial;
    width: clamp(200px, 200px + 150 * (100vw - 500px) / 268, 350px);
  }
}
@media (max-width: 500px) {
  .about .img_box {
    margin-inline: auto;
  }
}
.about .img_box::before {
  background: linear-gradient(var(--accent-blue), #fff);
  top: -50px;
  left: -40px;
  height: calc(100% + 100px);
  width: 80%;
}
@media (max-width: 768px) {
  .about .img_box::before {
    top: -25px;
    height: calc(100% + 50px);
  }
}
.about .text {
  flex: 1;
  color: var(--brown);
  font-family: var(--serif-ff);
  line-height: 2.2;
}
.about .text p:first-of-type {
  margin-bottom: 1em;
}

#studio {
  background-color: var(--footer-bg);
  padding: clamp(30px, 30px + 90 * (100vw - 768px) / 512, 120px) 3%;
  margin-block: 130px 120px;
  font-family: var(--serif-ff);
  color: var(--brown);
  letter-spacing: 1px;
}
#studio .container {
  background-color: #ffffff;
  padding-block: 80px 60px;
}
#studio h3 {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--serif-ff);
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 2px;
}
#studio h3:nth-of-type(2) {
  margin-top: 80px;
}
#studio dl {
  max-width: 700px;
  margin-inline: auto;
}
#studio dt {
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  gap: 1em;
  font-size: 1.25rem;
  background: linear-gradient(#ffffff, #E1EBEC);
  margin-bottom: 18px;
  padding-inline: 8px;
}
#studio dt span {
  display: flex;
  align-items: center;
  gap: 5px;
}
#studio dt span::before, #studio dt span::after {
  content: "";
  display: inline-block;
  width: 1em;
  border-top: 1px solid var(--brown);
}
#studio dd {
  line-height: 2.2;
  letter-spacing: 1px;
}
#studio dd:nth-of-type(1) {
  margin-bottom: 40px;
}
#studio .catchphrase {
  color: var(--gpri);
  font-family: var(--cormorant-ff);
  font-weight: bold;
  font-style: italic;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 40px;
}
#studio .catchphrase-text {
  max-width: 700px;
  margin-inline: auto;
  line-height: 2.2;
}
#studio .catchphrase-text.top {
  margin-bottom: 1em;
}

.timeline li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.timeline li:not(:first-of-type) {
  padding-top: 60px;
}
.timeline .list-style {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--accent-blue);
  border-radius: 50%;
  position: relative;
  z-index: 0;
}
.timeline .border-line {
  position: absolute;
  left: 9.5px;
  top: 0;
  width: 2px;
  height: 0;
  background-color: var(--timeline);
  z-index: -1;
}
.timeline dl {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
}
@media (max-width: 500px) {
  .timeline dl {
    flex-direction: column;
  }
}
.timeline dt {
  color: var(--gpri);
  font-size: 2.375rem;
  font-weight: bold;
  font-family: var(--cormorant-ff);
  width: 70px;
  line-height: 0.4;
  letter-spacing: 1px;
}
.timeline dd {
  color: var(--brown);
  font-family: var(--serif-ff);
  font-weight: bold;
  flex: 1;
  letter-spacing: 1px;
}
.timeline dd span {
  font-weight: normal;
}
/*# sourceMappingURL=main.css.map */