@charset "utf-8";

/* ====================
  基本設定
==================== */
* {
  margin: 0px;
  padding: 0px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}

body {
  font-size: 16px;
  color: #232323;
  background: #FFF7F2;
  overflow-x: auto;
}

p {
  text-align: justify;
  text-justify: inter-ideograph;
}

.anton-regular {
  font-family: "Anton", sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .2em;
}
/* ====================
  基本設定ここまで
==================== */

/* ====================
  content
==================== */
/* == pc ==*/
.content {
  width: 1220px;
  margin: 0 auto;
}

main {
  width: 100%;
  height: auto;
  padding-top: 115px;
  padding-bottom: 120px;
  border-bottom: 3px solid #E0D2C8;
}

main .title {
  max-width: 1040px;
  margin: 0 auto;
}

main h2 {
  font-size: clamp(2rem, 6vw, 3.9rem);
  color: #7F461C;
  text-align: left;
}

main p {
  line-height: 1.76;
}

main .section-line {
  width: 1040px;
  border-bottom: 3px solid #E1D0C3;
  margin-top: 12px;
  margin-bottom: 115px;
}

/* == mobile == */
@media (max-width: 768px) {
  .content {
    width: 90%;
    margin: 0 auto;
  }

  main {
    width: 100%;
    height: auto;
    padding-top: 70px;
    padding-bottom: 75px;
    border-bottom: 3px solid #E0D2C8;
  }

  main .title {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
  }

  main h2 {
    font-size: clamp(2rem, 6vw, 3.9rem);
    color: #7F461C;
    text-align: left;
  }

  main p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
  }

  main .section-line {
    width: 100%;
    max-width: 1040px;
    border-bottom: 3px solid #E1D0C3;
    margin-top: 12px;
    margin-bottom: 70px;
  }
}
/* ====================
  contentここまで
==================== */

/* ====================
  header
==================== */
/* == pc == */
header {
  background: #F4E7DD;
  width: 100%;
  height: auto;
  border-bottom: 3px solid #E0D2C8;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.header-inner .logo-area {
  display: flex;
  align-items: center;
  padding-left: 25.5px;
}

.header-inner .logo {
  width: 181px;
  height: 105px;
}

.header-inner img {
  width: 181px;
  height: 105px;
  object-fit: cover;
}

.header-inner p {
  font-size: clamp(0.5rem, 1.5vw, 0.625rem);
  color: #D3974A;
  margin-top: 20px;
  margin-left: 15px;
}

.header-inner .hamburger {
  display: none;
}

.header-inner ul {
  display: flex;
  list-style: none;
  padding-right: 25.5px;
}

.header-inner li {
  padding-left: 35px;
}

.header-inner a {
  color: #7F461C;
  text-decoration: none;
}

/* == mobile == */
@media (max-width: 768px) {
  header {
    background: #F4E7DD;
    width: 100%;
    height: auto;
    border-bottom: 3px solid #E0D2C8;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }

  .header-inner .logo-area {
    display: flex;
    align-items: center;
    padding-left: 0;
  }

  .header-inner .logo {
    width: 50%;
    max-width: 181px;
    height: auto;
  }

  .header-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .header-inner p {
    font-size: clamp(0.5rem, 1.5vw, 0.625rem);
    color: #D3974A;
    margin-top: 16px;
    margin-left: 8px;
    line-height: 1.2;
  }

  /* ハンバーガー */
  #hamburger {
    display: block;
    position: relative;
    width: 30px;
    height: 24px;
    top: -5px;
    cursor: pointer;
    z-index: 1001;
  }

  #hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #7F461C;
    margin-bottom: 5px;
    transition: .4s;
  }

  /* メニュー */
  .header-inner nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #FFF7F2;
    z-index: 1000;
    padding-top: 100px;
    transition: .4s;
  }

  .header-inner ul {
    display: block;
    text-align: center;
  }

  .header-inner li {
    margin-bottom: 30px;
  }

  .header-inner.open nav {
    right: 0;
  }

  /* ×に変形 */
  .header-inner.open #hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .header-inner.open #hamburger span:nth-child(2) {
    opacity: 0;
  }

  .header-inner.open #hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* ====================
  headerここまで
==================== */

/* ====================
  footer
==================== */
/* == pc == */
footer {
  background: #F4E7DD;
  width: 100%;
  height: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 70px 0;
  position: relative;
}

.footer-inner ul {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  display: flex;
  list-style: none;
  padding-left: 25.5px;
}

.footer-inner li {
  padding-right: 30px;
}

.footer-inner a {
  color: #7F461C;
  text-decoration: none;
}

.footer-inner p {
  font-size: clamp(0.7rem, 1.2vw, 0.75rem);
  color: #D3974A;
  position: absolute;
  right: 25.5px;
  bottom: 14px;
}

.retun-area {
  position: relative;
  margin-right: 28px;
}

.retun-area .retun {
  width: 134px;
  height: 74px;
  position: absolute;
  right: 0;
  top: -214px;
  cursor: pointer;
}

.retun-area img {
  width: 134px;
  height: 74px;
  object-fit: cover;
}

/* == mobile == */
@media (max-width: 768px) {
  footer {
    background: #F4E7DD;
    width: 100%;
    height: auto;
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 44px 0;
    position: relative;
  }

  .footer-inner ul {
    display: none;
  }

  .footer-inner p {
    font-size: clamp(0.7rem, 1.2vw, 0.75rem);
    color: #D3974A;
    position: absolute;
    left: 8px;
    bottom: 20px;
  }

  .retun-area {
    position: relative;
    margin-right: 28px;
    height: 0;
  }

  .retun-area .retun {
    width: 35%;
    max-width: 134px;
    height: auto;
    position: absolute;
    right: -6vw;
    top: -124px;
    cursor: pointer;
  }

  .retun-area img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
/* ====================
  footerここまで
==================== */

/* ====================
  top-work
==================== */
/* == pc == */
#top-slider {
  width: 100%;
  height: auto;
  padding: 171px 0;
  border-bottom: 3px solid #E0D2C8;
  position: relative;
}

#top-slider .swiper {
  padding-bottom: 40px;
}

#top-slider .swiper-slide {
  opacity: .3;
  transform: scale(.8);
  transition: .7s;
  display: flex;
  justify-content: center;
  align-items: center;
}

#top-slider .swiper-slide img {
  height: 500px;
  width: 500px;
  border-radius: 40px;
  border: 4px solid #9D8777;
  object-fit: cover;
  cursor: pointer;
}

#top-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

#top-slider .swiper-pagination {
  bottom: -5px;
}

#top-slider .swiper-pagination-bullet {
  width: 20px;
  height: 8px;
  border-radius: 9999px;
  transition: .3s;
  background: #E0D2C8;
  opacity: 1;
}

#top-slider .swiper-pagination-bullet-active {
  width: 40px;
  background: #CAAB93;
}

#top-slider .swiper-button-prev,
#top-slider .swiper-button-next {
  color: #CAAB93;
  transform: scale(0.6);
}

/* == mobile == */
@media (max-width: 768px) {
  #top-slider {
    width: 100%;
    height: auto;
    padding: 60px 0;
    border-bottom: 3px solid #E0D2C8;
    position: relative;
  }

  #top-slider .swiper {
    padding-bottom: 40px;
  }

  #top-slider .swiper-slide {
    opacity: .3;
    transform: scale(.8);
    transition: .7s;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #top-slider .swiper-slide img {
    height: auto;
    width: 80%;
    border-radius: 40px;
    border: 4px solid #9D8777;
    object-fit: cover;
    cursor: pointer;
    aspect-ratio: 1 / 1;
  }

  #top-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
  }

  #top-slider .swiper-pagination {
    bottom: -3;
  }

  #top-slider .swiper-pagination-bullet {
    width: 4vh;
    height: 8px;
    border-radius: 9999px;
    transition: .3s;
    background: #E0D2C8;
    opacity: 1;
  }

  #top-slider .swiper-pagination-bullet-active {
    width: 8vh;
    background: #CAAB93;
  }

  #top-slider .swiper-button-prev,
  #top-slider .swiper-button-next {
    color: #CAAB93;
    transform: scale(0.6);
  }

  #top-slider .swiper-button-prev {
    left: 1vh;
  }

  #top-slider .swiper-button-next {
    right: 1vh;
  }
}
/* ====================
  top-workここまで
==================== */

/* ====================
  top-profile
==================== */
/* == pc == */
#top-profile {
  width: 100%;
  height: auto;
  background: #fff;
  border-bottom: 3px solid #E0D2C8;
  padding: 211px 0;
}

#top-profile .block {
  padding: 150px 147px;
  display: flex;
  justify-content: center;
  gap: 110px;
  position: relative;
  align-items: center;
}

#top-profile .block::before {
  content: "";
  width: 1224px;
  height: 657px;
  border: 3px solid #9D8777;
  position: absolute;
  top: 6px;
  left: 0;
  transform: rotate(2.98deg);
  border-radius: 50px 0 50px 0;
  z-index: 0;
}

#top-profile .block > * {
  position: relative;
  z-index: 1;
}

#top-profile .text-box {
  width: 421px;
  display: flex;
  flex-direction: column;
}

#top-profile .text-box h2 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: #7F461C;
}

#top-profile .text-box p {
  line-height: 1.9;
  margin: 21px 0 27px 0;
  text-align: justify;
  text-justify: inter-ideograph;
}

#top-profile .viewmore-btn {
  display: inline-flex;
  flex-direction: column;

  color: #7F461C;
  text-decoration: none;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  position: relative;
  align-items: flex-start;
  margin-left: auto;
}

#top-profile .viewmore-btn span {
  display: block;
  margin-bottom: 14px;
  margin-left: 5px;
}

#top-profile .img-box img {
  width: 368px;
  object-fit: cover;
}

/* == mobile == */
@media (max-width: 768px) {
  #top-profile {
    width: 100%;
    height: auto;
    background: #fff;
    border-bottom: 3px solid #E0D2C8;
    padding: 70px 0;
  }

  #top-profile .block {
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    position: relative;
    align-items: center;
  }

  #top-profile .block::before {
    display: none;
    content: "";
    width: 100%;
    max-width: 1224px;
    height: 600px;
    border: 3px solid #9D8777;
    position: absolute;
    top: 6px;
    left: 0;
    transform: rotate(0);
    border-radius: 50px 0 50px 0;
    z-index: 0;
  }

  #top-profile .block > * {
    position: relative;
    z-index: 1;
  }

  #top-profile .text-box {
    width: 88%;
    max-width: 421px;
    display: flex;
    flex-direction: column;
    text-align: center;
    order: 1;
  }

  #top-profile .text-box h2 {
    font-size: clamp(1.6rem, 4vw, 3rem);
    color: #7F461C;
  }

  #top-profile .text-box p {
    line-height: 1.7;
    margin: 20px 0 25px 0;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  #top-profile .viewmore-btn {
    display: inline-flex;
    flex-direction: column;

    color: #7F461C;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    position: relative;
    align-items: flex-start;
    margin-left: auto;
  }

  #top-profile .viewmore-btn span {
    display: block;
    margin-bottom: 5px;
    margin-left: 3px;
  }

  #top-profile .img-box {
    order: 0;
    width: 70%;
    max-width: 368px;
  }

  #top-profile .img-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
/* ====================
  top-profileここまで
==================== */

/* ====================
  top-contact
==================== */
/* == pc == */
#top-contact {
  width: 100%;
  height: auto;
  padding: 201px 0;
  border-bottom: 3px solid #E0D2C8;
}

#top-contact .btn-area {
  width: 536px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#top-contact .btn-area img {
  width: 285px;
  height: 246px;
  position: absolute;
  bottom: 70px;
  left: -182px;
}

#top-contact p {
  margin-bottom: 64px;
}

#top-contact .btn {
  width: 500px;
  height: 140px;
  background: #7F461C;
  border-radius: 80px;
  text-align: center; 
}

#top-contact .btn-area .btn a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: #fff;
  text-decoration: none;
}

/* == mobile == */
@media (max-width: 768px) {
  #top-contact {
    width: 100%;
    height: auto;
    padding: 100px 0;
    border-bottom: 3px solid #E0D2C8;
  }

  #top-contact .btn-area {
    width: 90%;
    max-width: 536px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #top-contact .btn-area img {
    width: 35%;
    max-width: 285px;
    height: auto;
    position: absolute;
    bottom: 33%;
    left: -6%;
  }

  #top-contact p {
    width: 80%;
    max-width: 391px;
    margin-bottom: 40px;
    text-align: center;
  }

  #top-contact .btn {
    width: 90%;
    max-width: 500px;
    height: 90px;
    background: #7F461C;
    border-radius: 80px;
    text-align: center; 
  }

  #top-contact .btn-area .btn a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.8rem, 6vw, 3rem);
    color: #fff;
    text-decoration: none;
  }
}
/* ====================
  top-contactここまで
==================== */

/* ====================
  work
==================== */
/* == pc == */
#section-work .work-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 48px;
}

#section-work .work-item {
  width: fit-content;
}

#section-work button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;

  background: transparent;
  border: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

#section-work img{
  display: block;
  height: 314px;
  width: 314px;
  border-radius: 40px;
  border: 4px solid #9D8777;
  object-fit: cover;
  margin-bottom: 27px;
}

#section-work p {
  color: #232323;
}

/* モーダル */
/* 閉じるボタン */
.close-btn {
  position: sticky;
  top: 0px;
  float: right;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #7F461C;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
}

/* モーダル背景 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  justify-content: center;
  align-items: center;
  background: rgba(79, 79, 79, 0.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

/* モーダル表示状態 */
.modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* モーダルの中身*/
.modal-content {
  background: #FFF7F2;
  padding: 30px 25px 37px 40px;
  border-radius: 10px;
  width: auto;
  max-width: 760px;
  min-width: 320px;
  max-height: 80vh;
  text-align: left;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #E1D0C3 #FFF7F2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #FFF7F2;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #E1D0C3;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #9D8777;
}

.modal-content .modal-body {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 35px;
}

.modal-content img {
  width: 250px;
  border-radius: 20px;
  border: 3px solid #9D8777;
  object-fit: cover;
}

.modal-content h3 {
  font-weight: bold;
}

.br-pc {
  display: block;
}

.modal-content .label {
  font-weight: bold;
}

.modal-content .ingenuity-list {
  list-style: none;
}

.modal-content .ingenuity-list li {
  margin-top: 5px;
}

.modal-content .ingenuity-list li::before {
  content: '・';
}

.modal-content .tools {
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  color: #C5C3C3;
  text-align: right;
}

.modal-content .modal-line {
  width: auto;
  border-bottom: 1px solid #E1D0C3;
  margin: 15px 0;
}

/* アニメーション*/
.modal.active .modal-content {
  animation: fadeInScale 0.4s ease forwards;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* モーダルここまで */

/* == mobile == */
@media (max-width: 768px) {
  #section-work .work-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 43px;
  }

  #section-work .work-item {
    width: fit-content;
  }

  #section-work button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;

    background: transparent;
    border: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
  }

  #section-work img{
    display: block;
    height: auto;
    width: 90%;
    max-width: 314px;
    aspect-ratio: 1 / 1;
    border-radius: 40px;
    border: 4px solid #9D8777;
    object-fit: cover;
    margin-bottom: 17px;
  }

  #section-work p {
    color: #232323;
  }

  /* モーダル */
  /* 閉じるボタン */
  .close-btn {
    position: sticky;
    top: 0px;
    float: right;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #7F461C;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
  }

  /* モーダル背景 */
  .modal {
    display: none;
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
    background: rgba(79, 79, 79, 0.5);
    z-index: 1010;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow: hidden;
  }

  /* モーダル表示状態 */
  .modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  /* モーダルの中身*/
  .modal-content {
    background: #FFF7F2;
    padding: 5%;
    border-radius: 10px;
    width: 90%;
    max-width: none;
    min-width: auto;
    max-height: 90vh;
    text-align: left;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #E1D0C3 #FFF7F2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
  }

  .modal-content::-webkit-scrollbar {
    width: 8px;
  }

  .modal-content::-webkit-scrollbar-track {
    background: #FFF7F2;
  }

  .modal-content::-webkit-scrollbar-thumb {
    background: #E1D0C3;
    border-radius: 10px;
  }

  .modal-content::-webkit-scrollbar-thumb:hover {
    background: #9D8777;
  }

  .modal-content .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 35px;
  }

  .modal-content img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 250px;
    border-radius: 15px;
    border: 3px solid #9D8777;
    object-fit: cover;
    
  }

  .modal-content h3 {
    font-size: clamp(0.79rem, 3.5vw, 1rem);
    font-weight: bold;
    text-align: center;
  }

  .br-pc {
  display: none;
  }

  .modal-content .label {
    font-weight: bold;
  }

  .modal-content .ingenuity-list {
    list-style: none;
  }

  .modal-content .ingenuity-list li {
    margin-top: 3px;
  }

  .modal-content p,
  .modal-content .ingenuity-list li {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
  }

  .modal-content .ingenuity-list li::before {
    content: '・';
  }

  .modal-content .tools {
    font-size: clamp(0.71rem, 2vw, 0.875rem);
    color: #C5C3C3;
    text-align: right;
  }

  .modal-content .modal-line {
    width: auto;
    border-bottom: 1px solid #E1D0C3;
    margin: 13px 0;
  }

  /* アニメーション*/
  .modal.active .modal-content {
    animation: fadeInScale 0.4s ease forwards;
  }

  @keyframes fadeInScale {
    0% {
      opacity: 0;
      transform: scale(0.8);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  /* モーダルここまで */
}
/* ====================
  workここまで
==================== */

/* ====================
  profile
==================== */
/* == pc == */
.profile-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 115px;
}

.profile-content .body-text {
  display: flex;
  align-items: center;
  gap: 120px;
}

.profile-content img {
  width: 262px;
}

.profile-content .body-text p {
  width: 426px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.profile-content .sab-text {
  width: 835px;
  margin: 0 auto;
}

.profile-content .info-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  margin-right: 46px;
  column-gap: 230px;
}

.profile-content .skill-list {
  list-style: none;
}

.profile-content .skill-list li::before {
  content: "# ";
}

.profile-content h4 {
  display: inline-block;
  width: fit-content;
  height: auto;
  padding: 2px 23px;
  margin-bottom: 21px;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.1rem);
  background: #7F461C;
  border-radius: 999px;
  text-align: center;
}

.profile-content .sab-text ul {
  padding-left: 4px;
  line-height: 1.76;
}

/* more */
.profile-content button {
  display: block;
  margin-top: 101px;
  margin-bottom: 35px;
  margin-left: auto;
  padding: 2px 23px;
  border-radius: 999px;
  border: none;
  background: #7F461C;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.1rem);
  cursor: pointer;
}

.more {
  display: none;
  align-self: stretch;
  column-gap: 189px;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  transition:
    opacity 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  transform: translateY(-10px);
}

.more.open {
  display: grid;
  transform: translateY(0);
}
/* moreここまで */

/* == mobile == */
@media (max-width: 768px) {
  .profile-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 70px;
  }

  .profile-content .body-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }

  .profile-content img {
    width: 95%;
    max-width: 262px;
    margin: 0 auto;
  }

  .profile-content .body-text p {
    width: 95%;
    max-width: 426px;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .profile-content .sab-text {
    width: 100%;
    max-width: 835px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile-content .info-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    row-gap: 40px;
  }

  .profile-content .skill-list {
    list-style: none;
  }

  .profile-content li {
    font-size: clamp(0.85rem, 2.3vw, 0.95rem);
  }

  .profile-content .skill-list li::before {
    content: "# ";
  }

  .profile-content h4 {
    display: inline-block;
    width: fit-content;
    height: auto;
    padding: 2px 23px;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.1rem);
    background: #7F461C;
    border-radius: 999px;
    text-align: center;
  }

  .profile-content .sab-text ul {
    padding-left: 4px;
    line-height: 1.6;
  }

  /* more */
  .profile-content button {
    display: block;
    margin-top: 35px;
    margin-bottom: 5px;
    margin-left: 60%;
    padding: 2px 23px;
    border-radius: 999px;
    border: none;
    background: #7F461C;
    color: #fff;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    cursor: pointer;
  }

  .more {
    display: none;
    align-self: center;
    column-gap: 189px;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    transition:
      opacity 0.3s ease-in-out,
      transform 0.3s ease-in-out;
    transform: translateY(-10px);
  }

  .more.open {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 40px;
    transform: translateY(0);
  }
  /* moreここまで */
}
/* ====================
  profileここまで
==================== */

/* ====================
  faq
==================== */
/* == pc == */
.faq-content {
  width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.faq-content > p {
  text-align: center;
  margin-bottom: 115px;
}

.faq-content > p a {
  color: #232323;
  text-decoration: underline dotted;
  text-underline-offset: 7px;
}

.faq-container {
 width: 100%;
 border-bottom: 4px solid #9D8777;
}

.question {
  padding: 50px 30px;
  cursor: pointer;
  user-select: none;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-top: 4px solid #9D8777;
}

.question::after {
  content: '＋';
  position: absolute;
  top: 50px;
  right: 16px;
  transition: transform .3s;
  color: #7F461C;
}

.question.appear::after {
  content: '―';
}

.answer {
  padding: 0 30px 50px;
  display: none;
}

.question.appear + .answer {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  animation: .3s fadeIn;
}

.faq-q,
.faq-a {
  margin-top: 2px;
}

.faq-text p {
  text-align: left;
}

.faq-text .list-numbered {
  list-style: decimal;
  position: relative;
  margin: 25px 0;
  padding: 20px 0 20px 1.2em;
}

.faq-text .list-plain {
  list-style: none;
  position: relative;
  margin: 25px 0;
  padding: 20px 0;
}

.faq-text li {
  margin-bottom: 10px;
  line-height: 1.76;
}

.faq-text li:last-child {
  margin-bottom: 0;
}

.faq-text .list-numbered::before,
.faq-text .list-numbered::after,
.faq-text .list-plain::before,
.faq-text .list-plain::after {
  content: '';
  position: absolute;
  left: 0;
  width: 80%;
  border-top: 2px dashed #232323;
}

.faq-text .list-numbered::before,
.faq-text .list-plain::before {
  top: 0;
}

.faq-text .list-numbered::after,
.faq-text .list-plain::after {
  bottom: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* == mobile == */
@media (max-width: 768px) {
  .faq-content {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .faq-content > p {
    text-align: center;
    margin-bottom: 70px;
  }

  .faq-content > p a {
    color: #232323;
    text-decoration: underline dotted;
    text-underline-offset: 7px;
  }

  .faq-container {
  width: 100%;
  border-bottom: 4px solid #9D8777;
  }

  .question {
    padding: 40px 30px 40px 15px;
    cursor: pointer;
    user-select: none;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-top: 4px solid #9D8777;
  }

  .question::after {
    content: '＋';
    position: absolute;
    top: 50%;
    right: 10px;
    transition: transform .3s;
    transform: translateY(-50%);
    color: #7F461C;
  }

  .question.appear::after {
    content: '―';
  }

  .answer {
    padding: 0 16px 40px;
    display: none;
  }

  .question.appear + .answer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: .3s fadeIn;
  }

  .faq-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .faq-q,
  .faq-a {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-top: 2px;
    min-width: 2ch;
    text-align: right;
  }

  .faq-text p {
    text-align: left;
  }

  .faq-text .list-numbered {
    list-style: decimal;
    position: relative;
    margin: 25px 0;
    padding: 20px 0 20px 1.2em;
  }

  .faq-text .list-plain {
    list-style: none;
    position: relative;
    margin: 25px 0;
    padding: 20px 0;
  }

  .faq-text li {
    margin-bottom: 10px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
  }

  .faq-text li:last-child {
    margin-bottom: 0;
  }

  .faq-text .list-numbered::before,
  .faq-text .list-numbered::after,
  .faq-text .list-plain::before,
  .faq-text .list-plain::after {
    content: '';
    position: absolute;
    left: 0;
    width: 80%;
    border-top: 2px dashed #232323;
  }

  .faq-text .list-numbered::before,
  .faq-text .list-plain::before {
    top: 0;
  }

  .faq-text .list-numbered::after,
  .faq-text .list-plain::after {
    bottom: 0;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
/* ====================
  faqここまで
==================== */

/* ====================
  contact
==================== */
/* == pc == */
.contact-content {
  width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-content > p {
  text-align: center;
  margin-bottom: 115px;
}

.contact-content .br-sp {
  display: none;
}

.contact-form {
  width: 1040px;
  border-top: 4px solid #9D8777;
  padding-top: 50px;
}

.contact-form table {
  width: 978px;
  margin: 0 auto;
}

.contact-form table th,
.contact-form table td {
  display: block;
  width: 978px;
}

.contact-form table th {
  text-align: left;
}

.contact-form table td,
.contact-form .privacy {
  margin-bottom: 50px;
}

.contact-form .privacy {
  text-align: center;
}

.contact-form .privacy a {
  text-decoration: underline dotted;
  text-underline-offset: 7px;
  cursor: pointer;
}

.contact-form label {
  display: block;
  margin-left: 5px;
  margin-bottom: 9px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  border: 2px solid #E0D2C8;
  border-radius: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9D8777;
  box-shadow: 0 0 0 2px rgba(157,135,119,0.25);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #CBCBCB;
}

.contact-form .required {
  width: 38px;
  height: 18px;
  display: inline-block;
  text-align: center;
  background: #FF5555;
  border-radius: 20px;
  color: #fff;
  font-size: clamp(0.7rem, 1.8vw, 0.75rem);
  font-weight: 600;
  margin-left: 5px;
}

.contact-form .any {
  width: 38px;
  height: 18px;
  display: inline-block;
  text-align: center;
  background: #606060;
  border-radius: 20px;
  color: #fff;
  font-size: clamp(0.7rem, 1.8vw, 0.75rem);
  font-weight: 600;
  margin-left: 5px;
}

.contact-form .submitbtn {
  width: 240px;
  height: 80px;
  margin: 0 auto;
}

.contact-form button {
  width: 240px;
  height: 80px;
  background: #7F461C;
  border-radius: 80px;
  text-align: center;
  color: #fff;
  font-size: clamp(0.9rem, 2.5vw, 1.375rem);
  font-weight: bold;
  cursor: pointer;
  border: none;
}

/* privacy policy */
.contactmodal-text {
  margin: 10px 0;
}

.contactmodal-text .br-sp {
  display: block;
}

.contactmodal-text h2 {
  font-size: clamp(1.25rem, 1.5vw, 1.375rem);
  margin-bottom: 20px;
}

.contactmodal-text h3 {
  margin-bottom: 15px;
  text-align: left;
}

.contactmodal-text hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #E1D0C3;
}

.contactmodal-text ol {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  counter-reset: num;
}

.contactmodal-text li {
  counter-increment: num;
  padding-left: 2em;
  position: relative;
}

.contactmodal-text li::before {
  content: "(1)";
  position: absolute;
  left: 0;
}

.contactmodal-text ol li:nth-child(2)::before { content: "(2)"; }
.contactmodal-text ol li:nth-child(3)::before { content: "(3)"; }

.contactmodal-text .privacypolicy-contact {
  position: relative;
  padding: 10px 0;
  margin-top: 10px;
}

.contactmodal-text .privacypolicy-contact::before,
.contactmodal-text .privacypolicy-contact::after {
  content: '';
  position: absolute;
  left: 0;
  width: 70%;
  border-top: 1px dashed #232323;
}

.contactmodal-text .privacypolicy-contact::before {
  top: 0;
}

.contactmodal-text .privacypolicy-contact::after {
  bottom: 0;
}
/* privacy policyここまで */

/* == mobile == */
@media (max-width: 768px) {
  .contact-content {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .contact-content > p {
    text-align: center;
    margin-bottom: 70px;
  }

  .contact-form {
    width: 100%;
    max-width: 1040px;
    border-top: 4px solid #9D8777;
    padding-top: 40px;
  }

  .contact-form form {
    width: 95%;
    margin: 0 auto;
  }

  .contact-form table {
    width: 100%;
    max-width: 978px;
    margin: 0 auto;
  }

  .contact-form table th,
  .contact-form table td {
    display: block;
    width: 100%;
    max-width: 978px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin: 0 auto;
  }

  .contact-form table th {
    text-align: left;
  }

  .contact-form table td,
  .contact-form .privacy {
    margin-bottom: 40px;
  }

  .contact-form .privacy {
    text-align: center;
  }

  .contact-form .privacy a {
    text-decoration: underline dotted;
    text-underline-offset: 7px;
    cursor: pointer;
  }

  .contact-form label {
    display: block;
    margin-left: 4px;
    margin-bottom: 6px;
    font-weight: 600;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 2px solid #E0D2C8;
    border-radius: 10px;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #9D8777;
    box-shadow: 0 0 0 2px rgba(157,135,119,0.25);
    outline: none;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #CBCBCB;
  }

  .contact-form .required {
    width: 100%;
    max-width: 38px;
    height: 17px;
    display: inline-block;
    text-align: center;
    background: #FF5555;
    border-radius: 20px;
    color: #fff;
    font-size: clamp(0.7rem, 1.8vw, 0.75rem);
    font-weight: 600;
    margin-left: 5px;
  }

  .contact-form .any {
    width: 100%;
    max-width: 38px;
    height: 17px;
    display: inline-block;
    text-align: center;
    background: #606060;
    border-radius: 20px;
    color: #fff;
    font-size: clamp(0.7rem, 1.8vw, 0.75rem);
    font-weight: 600;
    margin-left: 5px;
  }

  .contact-form .submitbtn {
    width: 100%;
    max-width: 240px;
    height: 80px;
    margin: 0 auto;
  }

  .contact-form button {
    width: 90%;
    height: 90%;
    background: #7F461C;
    border-radius: 80px;
    text-align: center;
    color: #fff;
    font-size: clamp(0.9rem, 2.5vw, 1.375rem);
    font-weight: bold;
    cursor: pointer;
    border: none;

    display: block;
    margin: 0 auto;
  }

  /* privacy policy */
  .contactmodal-text {
    margin: 10px 0;
  }

  .contactmodal-text .br-sp {
    display: none;
  }

  .contactmodal-text h2 {
    font-size: clamp(1.25rem, 1.5vw, 1.375rem);
    margin-bottom: 20px;
  }

  .contactmodal-text h3 {
    margin-bottom: 10px;
    text-align: left;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .contactmodal-text hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #E1D0C3;
  }

  .contactmodal-text ol {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    counter-reset: num;
  }

  .contactmodal-text li {
    counter-increment: num;
    padding-left: 2em;
    position: relative;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
  }

  .contactmodal-text li::before {
    content: "(1)";
    position: absolute;
    left: 0;
  }

  .contactmodal-text ol li:nth-child(2)::before { content: "(2)"; }
  .contactmodal-text ol li:nth-child(3)::before { content: "(3)"; }

  .contactmodal-text .privacypolicy-contact {
    position: relative;
    padding: 10px 0;
    margin-top: 10px;
  }

  .contactmodal-text .privacypolicy-contact::before,
  .contactmodal-text .privacypolicy-contact::after {
    content: '';
    position: absolute;
    left: 0;
    width: 70%;
    border-top: 1px dashed #232323;
  }

  .contactmodal-text .privacypolicy-contact::before {
    top: 0;
  }

  .contactmodal-text .privacypolicy-contact::after {
    bottom: 0;
  }
  /* privacy policyここまで */
}

@media (max-width: 435px) {
  .contact-content .br-sp {
    display: block;
  }
}
/* ====================
  contactここまで
==================== */