@charset "utf-8";

/* ==============
　loading
================ */
.display__opacity {
    opacity: 0;
    transition: all 0.8s ease-in-out;
}

.display__opacity.fade-in {
    opacity: 1;
}

.loading {
    position: fixed;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 30000;

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary_color-dusty-pink);
    pointer-events: none;

    transition: all 0.6s ease;

}

.loading.show {
  opacity: 1;
  pointer-events: auto;
}

.loading__circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--accent_color-purple);

    /* position: absolute; */

    animation: loading-rotate 5s linear infinite;
}

@keyframes loading-rotate {
  0% {
    border-radius: 50% 50% 50% 50%;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 60% 40% 55% 45%;
    transform: rotate(90deg);
  }
  50% {
    border-radius: 50% 60% 40% 50%;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 45% 55% 60% 40%;
    transform: rotate(270deg);
  }
  100% {
    border-radius: 50% 50% 50% 50%;
    transform: rotate(360deg);
  }
}

.loading__text {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 5.2rem;
    color: var(--primary_color-write);
    position: absolute;
    z-index: 40000;
}

.percent {
    display: inline-block;
    font-size: 4rem;
}



/* ===============
    main
================= */

.main__visual {
    background-color: #E2D4DD;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.title__group {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* z-index用position */
    position: relative;
    z-index: 1000;
    /* 位置微調整 */
    margin-top: 100px;
    padding: 0 1.4%;

    text-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.main__title {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: clamp(4.0rem, 4.5vw + 1rem, 6.4rem);
    font-weight: 400; 
    line-height: 1.5;
    color: var(--primary_color-write);

}

.main__sentence {
    font-size: clamp(1.6rem, 0.7vw + 1rem, 2.4rem);
    color: var(--primary_color-write);
    margin-top: clamp(16px, 2vw, 32px);
}

.main__sentence span {
    display: inline-block;
}

/* ==== ベース（大画面 1200px以上） ==== */
.circle--purple {
  width: 100vw;
  height: 80vw; /* 横幅に応じた高さ */
  position: absolute;
  left: 0;
  bottom: 0; /* 下基準 */
  transform: translateX(-20%) translateY(52%); /* 画面中央付近に見える */
  background-color: var(--accent_color-purple);
  border-radius: 50%;
  animation: squishy 12s ease-in-out infinite;
}

/* 大画面用キーフレーム */
@keyframes squishy {
  0%, 100% {
    border-radius: 50%;
    transform: translateX(-20%) translateY(52%) scale(1);
  }
  25% {
    border-radius: 49% 51% 50% 50% / 51% 49% 51% 49%;
    transform: translateX(-18%) translateY(54%) scale(1.03);
  }
  50% {
    border-radius: 50% 50% 49% 51% / 50% 51% 49% 50%;
    transform: translateX(-21%) translateY(49%) scale(0.97);
  }
  75% {
    border-radius: 51% 49% 50% 50% / 49% 51% 49% 51%;
    transform: translateX(-20%) translateY(53%) scale(1.02);
  }
}

/* ==== 超大画面 (1441px以上) ==== */
@media (min-width: 1441px) {
  .circle--purple {
    width: 90vw;   /* 大画面では少し控えめにして全体を収める */
    height: 70vw;  /* アスペクト比調整 */
    bottom: 0;
    transform: translateX(-18%) translateY(45%);
    animation: squishy-xxl 12s ease-in-out infinite;
  }

  @keyframes squishy-xxl {
    0%, 100% {
      border-radius: 50%;
      transform: translateX(-18%) translateY(45%) scale(1);
    }
    25% {
      border-radius: 49% 51% 50% 50% / 51% 49% 51% 49%;
      transform: translateX(-16%) translateY(44%) scale(1.03);
    }
    50% {
      border-radius: 50% 50% 49% 51% / 50% 51% 49% 50%;
      transform: translateX(-20%) translateY(46%) scale(0.97);
    }
    75% {
      border-radius: 51% 49% 50% 50% / 49% 51% 49% 51%;
      transform: translateX(-18%) translateY(45%) scale(1.02);
    }
  }
}


/* ==== 中画面（768px〜1199px） ==== */
@media (min-width: 768px) and (max-width: 1199px) {
  .circle--purple {
    width: 160vw;
    height: 160vw;
    transform: translateX(-32%) translateY(46%);
    animation: squishy-middle 12s ease-in-out infinite;
  }

  @keyframes squishy-middle {
    0%, 100% {
      border-radius: 50%;
      transform: translateX(-32%) translateY(48%) scale(1);
    }
    25% {
      border-radius: 49% 51% 50% 50% / 51% 49% 51% 49%;
      transform: translateX(-30%) translateY(47%) scale(1.03);
    }
    50% {
      border-radius: 50% 50% 49% 51% / 50% 51% 49% 50%;
      transform: translateX(-34%) translateY(44%) scale(0.97);
    }
    75% {
      border-radius: 51% 49% 50% 50% / 49% 51% 49% 51%;
      transform: translateX(-31%) translateY(47%) scale(1.02);
    }
  }
}

/* ==== 小画面（〜767px） ==== */
@media (max-width: 767px) {
  .circle--purple {
    width: 192vw;
    height: 196vw;
    transform: translateX(-46%) translateY(36%);
    animation: squishy-sp 12s ease-in-out infinite;
  }

  @keyframes squishy-sp {
    0%, 100% {
      border-radius: 50%;
      transform: translateX(-46%) translateY(36%) scale(1);
    }
    25% {
      border-radius: 49% 51% 50% 50% / 51% 49% 51% 49%;
      transform: translateX(-48%) translateY(41%) scale(1.03);
    }
    50% {
      border-radius: 50% 50% 49% 51% / 50% 51% 49% 50%;
      transform: translateX(-44%) translateY(35%) scale(0.97);
    }
    75% {
      border-radius: 51% 49% 50% 50% / 49% 51% 49% 51%;
      transform: translateX(-47%) translateY(39%) scale(1.02);
    }
  }
}

/* ==== ベース（大画面 1200px以上） ==== */
.circle--pink {
  width: 80vw;              
  aspect-ratio: 8 / 7;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(30%) translateY(-38%) scale(1);
  background-color: var(--main_color-pink);
  border-radius: 50%;
  animation: ballon 16s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes ballon {
  0%, 100% {
    border-radius: 50%;
    transform: translateX(30%) translateY(-38%) scale(1);
  }
  25% {
    border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%;
    transform: translateX(28%) translateY(-44%) scale(1.03); /* 縦揺れ強め */
  }
  50% {
    border-radius: 52% 48% 49% 51% / 50% 52% 48% 50%;
    transform: translateX(31%) translateY(-34%) scale(0.97); /* 縦揺れ強め */
  }
  75% {
    border-radius: 49% 51% 51% 49% / 49% 51% 51% 49%;
    transform: translateX(29%) translateY(-40%) scale(1.02); /* 縦揺れ強め */
  }
}

/* ==== 中画面（768px〜1199px） ==== */
@media (min-width: 768px) and (max-width: 1199px) {
  .circle--pink {
    width: 120vw;
    aspect-ratio: 9 / 8;
    transform: translateX(30%) translateY(-28%) scale(1);
    animation: ballon-middle 16s ease-in-out infinite;
    animation-delay: -3s;
  }

  @keyframes ballon-middle {
    0%, 100% {
      border-radius: 50%;
      transform: translateX(30%) translateY(-28%) scale(1);
    }
    25% {
      border-radius: 48% 52% 50% 50%;
      transform: translateX(35%) translateY(-36%) scale(1.03);
    }
    50% {
      border-radius: 52% 48% 49% 51%;
      transform: translateX(40%) translateY(-22%) scale(0.97);
    }
    75% {
      border-radius: 49% 51% 51% 49%;
      transform: translateX(26%) translateY(-32%) scale(1.02);
    }
  }
}

/* ==== 小画面（〜767px） ==== */
@media (max-width: 767px) {
  .circle--pink {
    width: 188vw;
    aspect-ratio: 8 / 9;
    transform: translateX(50%) translateY(-42%) scale(1);
    animation: ballon-sp 16s ease-in-out infinite;
    animation-delay: -3s;
  }

  @keyframes ballon-sp {
    0%, 100% {
      border-radius: 50%;
      transform: translateX(54%) translateY(-42%) scale(1);
    }
    25% {
      border-radius: 48% 52% 50% 50%;
      transform: translateX(48%) translateY(-50%) scale(1.03); /* 縦揺れ強め */
    }
    50% {
      border-radius: 52% 48% 49% 51%;
      transform: translateX(52%) translateY(-36%) scale(0.97); /* 縦揺れ強め */
    }
    75% {
      border-radius: 49% 51% 51% 49%;
      transform: translateX(49%) translateY(-44%) scale(1.02); /* 縦揺れ強め */
    }
  }
}

    
.scroll__icon__group {
    position: relative;
    z-index: 1000;
    padding-top: clamp(20px, 1vw, 40px);
}

.scroll__text {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary_color-write);
}

.scroll__border {
    width: 2px;
    height: 80px;
    border-radius: 2px;
    margin: 12px auto 0;
    background-color: transparent;
    overflow: hidden;
    position: relative;
}

.scroll__border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary_color-write);
    transform: translateY(-100%);
    animation: scrollFlow 2.5s cubic-bezier(0.4, 0, 0.9, 1) infinite;
}

@keyframes scrollFlow {
    0% {
        transform: scaleY(0);
        transform-origin: 0 0;   /* 上端基準 */
    }
    35% {
        transform: scaleY(1);    /* 最大まで伸びる */
        transform-origin: 0 0;  
    }
    65% {
        transform: scaleY(1);    /* 一定時間伸びたままキープ */
        transform-origin: 0 100%; /* 下端基準に切り替え */
    }
    100% {
        transform: scaleY(0);    /* 下端基準で縮む */
        transform-origin: 0 100%;
    }
}




/* ===============
    works
================= */

.section__works {
  transform: none !important; /* transform があると fixed が効かなくなる */
}

.section__works {
    display: flex;
    justify-content: center;
    align-items: center;
}

.works__left,
.works__right {
    flex: 1;
    min-width: 0;
}

.modal__trigger {
    display: flex;
    /* flex-direction: column; */
    /* ↑モーダル中身作成時用のカラム */
    justify-content: center;
    align-items: flex-end;
    gap: clamp(16px, 2vw, 32px);

    padding: 100px 1.4% 40px;
    border-bottom: 2px solid var(--color-black);
    transition-duration: 0.2s;
    cursor: pointer;
}

.works__title__small {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.works__hash,
.modal__hash {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.works__category {
    background: var(--primary_color-write);
    border: 2px solid var(--color-black);
    padding: clamp(8px, 2vw, 16px);
    font-size: clamp(1.6rem, 0.7vw + 1rem, 2.0rem);
}

.works__category--1st {
    border-radius: 8px 0 0 0;
    border-right: 0;
    border-bottom: 0;
}

.works__category--2nd {
    border-radius: 0 8px 0 0;
    border-bottom: 0;
}

.works__title {
    background: var(--primary_color-write);
    border: 2px solid var(--color-black);
    border-radius: 0 8px 8px 8px;
    padding: clamp(8px, 2vw, 16px) clamp(16px, 2vw, 24px);
    width: 100%;

    font-size: clamp(1.8rem, 1vw + 1rem, 2.4rem);
    font-weight: 700;
    text-align: start;
    position: relative;
    overflow: hidden;
    z-index: 100;
    transition: color 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.works__title::after {
    content: '';
    position: absolute;
    background: var(--accent_color-purple);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0,1);
    transform-origin: left top;
    transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -100;
}

.works__main__text {
    text-align: start;
    margin-top: 24px;
    width: 100%;
    line-height: 1.8;
}

.works__right img {
    max-width: 560px;
    width: 100%;
    height: auto;
}

/* hover */
.modal__trigger:hover {
    transform: scale(1.02);
}

.works__item:hover .works__left .works__title {
    color: var(--primary_color-write);
}

.works__item:hover .works__left .works__title::after {
    transform:  scale(1, 1);
}

body.no-scroll {
  overflow: hidden;
}



@media screen and (max-width:767px) {
    

    .modal__trigger {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(16px, 2vw, 32px);

        padding: 40px 4.2% 40px;
    }

    .works__hash, .modal__hash {
        font-size: 1.5rem;
    }

    .works__title {
        font-size: 1.8rem;
        max-width: 480px;
    }

    .works__right img {
        max-width: none;
    }
}


/* ===
モーダル中身
=== */

/* モーダル中身一旦非表示 */
.modal__content {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) scale(0.95); /* 横だけ中央揃え + 少し縮小 */
    position: fixed;
    top: 15%;
    left: 50%;
    width: 98%;
    max-width: 1100px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--primary_color-write);
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    border-radius: 16px;
    transition: all 0.3s ease;
    
    padding: 20px;
    z-index: 3000;
}

.mask {
    opacity: 0;  
    visibility: hidden;           /* 初期は非表示 */
    position: fixed;           /* 画面全体に固定 */
    top: 0;
    left: 0;
    width: 100vw;              /* ビューポート全幅 */
    height: 100vh;             /* ビューポート全高 */
    background: rgba(0, 0, 0, 0.5); /* 半透明黒 */
    z-index: 2000;             /* モーダルより下に置く */
    transition: all 0.3s ease;
}

.modal__content.open {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    visibility: visible;
    pointer-events: auto;
}

.mask.open {
    opacity: 1;
    visibility: visible;
}

.modal__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
}

.works__category--modal {
    padding: 8px;
    font-size: 1.6rem;
}

.modal__title {
    width: 400px;
    min-width: 310px;
    height: auto;
    margin-right: 8px;
}

.works__title--modal {
    border-radius: 0 8px 0 0;
    text-align: center;
    padding: 2px;
    font-size: 2.0rem;
}

.works__title--modal--lupinus {
    background-color: #006034;
    color: var(--primary_color-write);
}

.works__title--modal--signers {
    background: linear-gradient(90deg, #114D92 0%, #005DA3 80%);
    color: var(--primary_color-write);
}

.works__title--modal--portfolio {
    background: var(--main_color-pink);
    color: var(--primary_color-write);
}

.works__title--modal--sugutabe {
    background: #D52323;
    color: var(--primary_color-write);
}

.url__details {
    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--primary_color-write);
    border: 2px solid var(--color-black);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    padding: clamp(8px, 2vw, 16px) clamp(16px, 2vw, 24px);
    width: 100%;
    padding: 8px;

    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;

    position: relative;
    overflow: hidden;
    z-index: 100;
    transition: color 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.url__details--sugutabe {
    gap: 10px;
}

.url__details a {
    text-decoration: underline;
    text-decoration-color: var(--color-black);
}

.url__details img {
    width: 14px;
    height: 14px;
}

.url__details::after {
    content: '';
    position: absolute;
    background-color: var(--primary_color-dusty-pink);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: 0.2s cubic-bezier(.45, 0, 0.55, 1);
    z-index: -100;
}

/* hover */

.url__details:hover::after {
    transform:  scale(1, 1);
}

/* 以下モーダルのdetails */

.modal__padding {
  padding: 0 0 0 4px; /* 左右の余白 */
  border: 2px solid transparent;
  box-sizing: border-box;
  border-radius: 4px;

  cursor: pointer;
}

.modal__img__item.slick-current .modal__padding {
  border-color: var(--color-black); /* 選択中の枠色 */
}

.modal__padding img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.modal__img__main img {
    width: 100%;
    max-width: 730px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.modal__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: clamp(16px, 1.5vw, 24px);
    width: 100%;
    height: 100%;
}

.close {
    width: 32px;
    height: 32px;
    right: 8px;
    cursor: pointer;
    position: relative;

    transition: all 0.2s ease;
}

.close--sp {
    display: none;
}

.close::before,
.close::after {
    position: absolute;
    content: '';
    width: 36px;
    height: 3px;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--accent_color-purple);
    box-shadow: 0 0 4px var(--primary_color-write);
    cursor: pointer;

    transition: all 0.2s ease;
}

.close::before {
    transform: rotate(-45deg);
}

.close::after {
    transform: rotate(45deg);
}

.close:hover {
  transform: translate(2px, 2px); /* バッテン全体を少し下げる */
}

.close:hover::before {
    background-color: var(--main_color-pink);
    transform: rotate(-45deg);
}

.close:hover::after {
    background-color: var(--main_color-pink);
    transform: rotate(45deg);
}


.modal__bottom {
    margin-top: 16px;
}

.modal__display__flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.modal__content__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(16px, 1.5vw, 32px);
    width: 100%;
    max-width: 440px;
}

.modal__content__text h4 {
    font-size: 2.0rem;
    font-weight: 600;
    line-height: 2.2;
    text-align: start;

    width: 100%;
    border-bottom: 2px solid var(--color-black);
}

.modal__content__text p {
    text-align: start;
}

.modal__content__text dl dt {
    text-align: start;
    font-weight: 600;
}

.modal__content__text dl dd {
    text-align: start;
    font-weight: 400;
}

.site__color {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.color__circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
} 

.color__circle--white {
    background: var(--primary_color-write);
    border: 1px solid var(--color-black);
}

.color__circle--cream {
    background: #FCFAE6;
    border: 1px solid var(--color-black);
}

.color__circle--red {
    background-color: #992339;
}
.color__circle--green {
    background-color: #006034;
}

.color__circle--gray__grade {
    background: linear-gradient(180deg, #F4F4F4 0%, #F1F3F6 70%);
    border: 1px solid var(--color-black);
}

.color__circle--green__grade {
    background: linear-gradient(180deg, #276A99 0%, #459CB6 80%);
}

.color__circle--mizuiro {
    background: #2F88C7;
}

.color__circle--blue__grade {
    background: linear-gradient(180deg, #114D92 0%, #005DA3 50%);
}

.color__circle--dusty-pink {
    background: var(--primary_color-dusty-pink);
}

.color__circle--pink {
    background: var(--main_color-pink);
}

.color__circle--purple {
    background: var(--accent_color-purple);
}

.color__circle--gold {
    background: linear-gradient(180deg, #FCF8E8 0%, #EBE6D2 50%);
    border: 1px solid #EBE6D2;
}

.color__circle--sugutabeGreen {
    background-color: #106610;
}

.color__circle--sugutabeRed {
    background: #D52323;
}

.color__circle--sugutabeBrawn {
    background: #742A07;
}

.color__circle--sugutabeGold-grade {
    background: linear-gradient(180deg, #FCF8E8 0%, #ebe3c2 50%);
    border: 1px solid #EBE6D2;
}

.color__circle--sugutabeRed-banner {
    background: #ba1018;
}

.color__circle--sugutabeGreen-banner {
    background-color: #166928;
}


.slick-dots li button:before {
    font-size: 12px;
}

@media screen and (max-width:767px) {
    .modal__content {
        width: 90%;
        max-height: 90svh;

        top: 15%;
        
        padding: 12px 8px;
        z-index: 3000;
    }

    .modal__top {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .close--pc {
        display: none;
    }   
    .close--sp {
        display: block;
    }   

    .modal__title {
        display: flex;
        justify-content: space-between;
        min-width: 0;
        width: 100%;
        margin-right: 0;
    }

    .works__category--modal {
        padding: 0 6px;
        font-size: 1.4rem;
    }

    .works__title--modal {
        font-size: 1.6rem;
        width: clamp(260px, 70vw, 280px);
        padding: 0;
        border-radius: 0 6px 0 0;
    }

    .works__category--1st {
        border-radius: 6px 0 0 0;
    }

    .works__category--2nd {
        border-radius: 0 6px 0 0;
    }

    .url__details {
        padding: 2px;
        border-radius: 0 0 6px 6px;
    }

    .url__details img {
        width: 16px;
        height: 16px;
    }

    .modal__right {
        display: block;
    }

    .close {
        width: 28px;
        height: 28px;
    }

    .modal__img__list {
        margin: 16px auto;
    }

    .modal__padding {
        padding: 0; /* 左右の余白 */
        border: none;
        display: block;
    }

    .modal__padding img {
        /* width: 132px; */
        height: auto;
        object-fit: contain;
        /* display: block; */
    } 

    .modal__display__flex {
        display: flex;
        flex-direction: column;
    } 

    .modal__content__text h4 {
        text-align: center;
        font-size: 1.6rem;
    }

    .modal__img__main img {
        display: none;
    }

    .modal__content__text {
        padding: 0 1.6%;
    }

    .modal__img__list .slick-slide {
        opacity: 0.3;
        transition: transform 0.3s, opacity 0.3s;
    }

    .modal__img__list .slick-center {
        transform: scale(1.05);  /* 中央だけ大きく */
        opacity: 1;             /* 中央だけ目立たせる */
    }

    .slick-arrow {
        z-index: 5000;      /* 前面に出す */
        display: block; 
    }


    .slick-prev {
        left: -6px;
    }
    
    .slick-next {
        right: 2px;
    }

    .slick-prev::before,
    .slick-next::before {
        font-size: 26px;
        color: rgba(0, 0, 0, 0.7);
    }

    .modal__bottom {
        margin-top: 8px;
        margin-bottom: 24px;
    }

    .slick-dots li {
        margin: 0 2px;
    }

    .slick-dots li button:before {
        font-size: 8px;
    }

}

/* ============
　About
============= */

.about__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(16px, 2vw, 40px); 
    margin-top: 56px;
}

.profile__img {
    max-width: 420px;
    height: auto;
}

.about__content img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(16px, 2vw, 40px);
    max-width: 780px;
}

.title__small {
    width: 100%;
    font-size: 2.0rem; 
    line-height: 1;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-align: start;
    color: var(--primary_color-write);
    border-radius: 8px;
    padding: 16px clamp(12px, 2vw, 24px);
}

.title__small--about {
    background: var(--main_color-pink);
}

.about__sentence {
    text-align: start;
    margin-top: 16px;
}

.about__link {
    padding: 10px 0;
    width: 280px;
    border-radius: 8px;
    border: 2px solid var(--color-black);
    background: var(--primary_color-write);

    position: relative;
    overflow: hidden;
    z-index: 100;
    transition: color 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.about__link::after {
    content: '';
    position: absolute;
    background: var(--accent_color-purple);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0,1);
    transform-origin: left top;
    transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -100;
}

.about__link:hover::after {
    transform: scale(1, 1);
}

.about__link:hover .link__text {
    color: var(--primary_color-write);
}

.about__link:hover .link__text::after {
    background: url(../images/icon/arrow_white.svg);
    background-repeat: no-repeat;
}


.link__text {
    display: inline-block;
    font-family: "Nova Round", system-ui, sans-serif;
    line-height: 1;
    text-align: center;
}

.link__text::after {
    content: '';
    display: inline-block;
    background-image: url(../images/icon/arrow_black.svg);
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    margin-bottom: -7px;
    margin-left: 8px;
}

@media screen and (max-width:767px) {
    .about__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
        gap: 32px;
    } 
    
    .about__content img {
        width: 80%;
    }

    .title__small__group {
        padding: 0 2%;
    }

    .about__right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        max-width: 780px;
    }

    .about__link {
        width: clamp(240px, 50vw, 280px)
    }



}
    

/* ==========
 Contact
 ========== */

.mail__address {
    display: inline-block;
    font-family: "Nova Round", system-ui, sans-serif;
    line-height: 1;
    letter-spacing: 0.15em;
    font-size: clamp(1.8rem, 3vw + 1rem, 3.2rem);
    text-align: center;

    margin-top: 56px;
}

.sns__icon__group--contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.icon__sns--fb--contact {
    display: block;
    width: 34px;
    height: 34px;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.icon__sns--insta--contact {
    display: block;
    width: 32px;
    height: 32px;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.icon__sns--fb--contact {
    background-image: url(../images/icon/facebook.svg);
}
.icon__sns--fb--contact:hover {
    background-image: url(../images/icon/facebook_purple.svg);
}

.icon__sns--insta--contact {
    background-image: url(../images/icon/insta.svg);
}

.icon__sns--insta--contact:hover {
    background-image: url(../images/icon/insta_purple.svg);
}


