@charset "UTF-8";
.view.view-title {
  opacity: 0;
}
.view.view-title.on {
  opacity: 1;
  animation: view-title 0.8s ease both;
}

@keyframes view-title {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.work-card {
  opacity: 0;
}

.view.view-slideup {
  opacity: 0;
}
.view.view-slideup.on {
  opacity: 1;
  animation: view-slideup 1s ease both;
}

@keyframes view-slideup {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 769px) {
  html {
    font-size: 0.5208333333vw;
  }
  .sp {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .pc {
    display: none !important;
  }
}
main,
footer {
  animation: fadeIn 2s;
}

.works {
  background: #EEF6F8;
  padding: 30px 0 60px 20px;
  position: relative;
}

.works-filter {
  width: 100%;
}

.works-filter-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Noto Serif JP", serif;
}

.works-filter-list li {
  flex: 0 0 150px;
  box-sizing: border-box;
}

.works-filter-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  color: #A3A3A3;
  text-align: center;
  background: #F7F7F7;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: 0.3s cubic-bezier(0.4, 0.4, 0, 1);
}
.works-filter-item:hover {
  color: #777777;
}

.works-filter-list li:last-child .works-filter-item {
  border-right: none;
}

.works-filter-item.is-active {
  color: #3a3a3a;
}

.works-list {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 30px 0;
}

.work-card-img {
  overflow: hidden;
}

.work-card-img img {
  border-radius: 30px;
  transition: transform 0.3s ease;
}

/* Hover effects for work cards */
.work-card:hover .work-card-img img {
  transform: scale(1.05);
}

.work-card:hover .work-card-title {
  color: #9BB5C6;
}

.work-card-title {
  font-size: 16px;
  padding-top: 10px;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.work-card-category {
  font-size: 16px;
  color: #9BB5C6;
}

/* Unified Yu Gothic font for works and service sections */
.works-title,
.works-summary-title,
.works-summary-text,
.works-data dt,
.works-data dd,
.service-list-title {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-numbers {
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #3a3a3a;
  background-color: #F7F7F7;
  text-decoration: none;
}

.page-numbers.current {
  background-color: #9BB5C6;
  color: #fff;
  border-radius: 50%;
}

@media (min-width: 769px) {
  .works-filter {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  .works-filter-item {
    padding: 10px;
    font-size: 16px;
  }
  .works-list {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .works-filter-list {
    gap: 15px;
  }
  .pagination {
    width: 100%;
  }
}
@media (min-width: 1240px) {
  .works-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.slider-container {
  margin-left: auto;
  overflow: hidden;
  position: relative;
  display: block;
  padding: 10px 0;
}

.slider-canvas {
  display: flex;
  gap: 30px;
  align-items: stretch;
  width: -moz-max-content;
  width: max-content;
}

@media screen and (min-width: 768px) {
  .works {
    background-color: #EEF6F8;
    padding: 60px 0;
  }
  .slider-container {
    width: 81%;
    padding: 40px 0;
  }
  .slider-canvas {
    gap: 40px;
  }
}
.slider-canvas.is-animating {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-item {
  flex: 0 0 240px !important;
  width: 240px !important;
  background-color: #ffffff !important;
  display: flex !important;
  flex-direction: column;
  filter: drop-shadow(2px 2px 4px #BED4D6);
}

@media screen and (min-width: 768px) {
  .slide-item {
    flex: 0 0 425px !important;
    width: 425px !important;
  }
}
.slide-item .image-area {
  width: 100%;
  height: 150px;
}

@media screen and (min-width: 768px) {
  .slide-item .image-area {
    height: 270px;
  }
}
.slide-item .image-area img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.slide-item .text-area {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.slide-item .text-area .slide-title {
  font-size: 14px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #3a3a3a;
}

@media screen and (min-width: 768px) {
  .slide-item .text-area {
    padding: 20px;
  }
  .slide-item .text-area .slide-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
}
.slide-item .text-area .slide-category {
  font-size: 12px;
  color: #9BB5C6;
  font-family: "Noto Serif JP", serif;
}

@media screen and (min-width: 768px) {
  .slide-item .text-area .slide-category {
    font-size: 14px;
  }
}
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}

.slider-arrow {
  width: 12px;
  height: 12px;
  border-top: 2px solid #9BB5C6;
  border-right: 2px solid #9BB5C6;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.slider-arrow.prev {
  transform: rotate(-135deg);
}

.slider-arrow.next {
  transform: rotate(45deg);
}

.dots {
  display: flex;
  gap: 12px;
}

.dots span {
  width: 8px;
  height: 8px;
  background: #d1d1d1;
  border-radius: 50%;
  display: inline-block;
}

.dots span.active {
  background: #9BB5C6;
}

/* End Works Section */
body {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  line-height: 1.5;
  color: #3a3a3a;
  min-height: 100vh;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 10%;
}
@media (max-width: 769px) {
  body {
    font-size: 14px;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

.main-title {
  font-size: clamp(48px, 5vw, 64px);
}
@media (max-width: 769px) {
  .main-title {
    font-size: 36px;
  }
}

.sub-title {
  font-size: clamp(16px, 2vw, 24px);
}
@media (max-width: 769px) {
  .sub-title {
    font-size: 16px;
  }
}

.header {
  height: 65px;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}

section[id],
.service-list-item[id] {
  scroll-margin-top: 100px;
}

.thanks-content {
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-logo {
  height: 45px;
  width: auto;
  display: block;
}
.header-logo img {
  height: 100%;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .header-right {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .header-right .header-nav-link {
    font-size: 20px;
  }
  .header-right .header-nav-link span {
    font-size: 16px;
  }
  .header-right .header-contact {
    display: block;
    margin-top: 40px;
  }
  .header-right .header-contact-link {
    font-size: 16px;
    font-weight: 500;
    max-width: 270px;
    padding: 20px 70px;
  }
  .header-right.is-open {
    opacity: 1;
    visibility: visible;
  }
}
@media (min-width: 769px) {
  .header-right {
    gap: 30px;
    margin-left: auto;
  }
}

.header-nav {
  display: none;
}
@media (min-width: 769px) {
  .header-nav {
    display: block;
  }
}
.header-right.is-open .header-nav {
  display: block;
}

.header-nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}
@media (max-width: 768px) {
  .header-nav-list {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}
@media (min-width: 769px) {
  .header-nav-list .header-nav-item--home {
    display: none;
  }
}

.header-nav-item {
  font-family: "Cormorant Garamond", "Garamond", "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", sans-serif;
}

.header-nav-link {
  font-family: "Cormorant Garamond", "Garamond", "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  text-decoration: none;
  color: #3a3a3a;
  transition: color 0.3s ease;
}
.header-nav-link:hover {
  color: #9BB5C6;
}
.header-nav-link span {
  font-size: 10px;
  margin-top: 2px;
}

.header-contact {
  display: none;
}
@media (min-width: 769px) {
  .header-contact {
    display: block;
  }
}
@media (max-width: 768px) {
  .header-right.is-open .header-contact {
    display: block;
    margin-top: 40px;
  }
}

.header-menu {
  position: relative;
  z-index: 1100;
}

body.is-open {
  overflow: hidden;
}

.header-contact-link {
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 222px;
  padding: 10px 50px;
  color: #fff;
  border-radius: 50px;
  border: 1px solid #ffffff;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(135deg, #9BB5C6 0%, #9BB5C6 50%, #B0E4E8 60%, #43B1BC 100%);
  background-size: 300% 300%;
  background-position: 0% 0%;
  transition: background-position 0.8s ease, color 0.4s ease;
}
.header-contact-link:hover {
  background-position: 100% 100%;
  color: #fff;
}

.header-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
@media (min-width: 769px) {
  .header-menu {
    display: none;
  }
}

.header-nav-menu-text {
  font-size: 10px;
  margin-top: 4px;
}

.header-nav-icon-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 4px 0;
  transition: 0.3s;
}

.header-menu.is-open .header-nav-icon-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.header-menu.is-open .header-nav-icon-line:nth-child(2) {
  opacity: 0;
}
.header-menu.is-open .header-nav-icon-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mv {
  background-image: url(../images/soran-fv-sp.jpg);
  background-size: cover;
  background-position: center top;
  height: auto;
  aspect-ratio: 375/667;
  position: relative;
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 769px) {
  .mv {
    background-image: url(../images/soran-fv-pc.jpg);
    aspect-ratio: 1920/1080;
    height: auto;
    animation: fadeIn 1s ease forwards;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

.mv-text-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  padding: 120px 20px 0;
  gap: 10px;
  text-shadow: 0 0 10px #fff, 0 0 5px #fff;
}
@media (min-width: 769px) {
  .mv-text-container {
    padding-top: clamp(120px, 13.1vw, 252px);
    padding-left: clamp(20px, 10vw, 191px);
  }
}

.mv-main-text {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(32px, 8vw, 3.5rem);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.6s;
}
@media (min-width: 769px) {
  .mv-main-text {
    font-size: clamp(32px, 3.6vw, 70px);
  }
}

.mv-sub-text {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 4vw, 1.5rem);
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 1.2s;
}
@media (min-width: 769px) {
  .mv-sub-text {
    font-size: clamp(16px, 1.25vw, 24px);
    line-height: 2;
  }
}

.concept {
  display: flex;
  justify-content: center;
  background-color: #EEF6F8;
  color: #3a3a3a;
  padding: 0 20px 0 20px;
}

.concept-container {
  max-width: 1200px;
  text-align: center;
  padding-bottom: 30px;
}

.concept-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  margin-bottom: 16px;
}
.concept-title img {
  width: clamp(375px, 61vw + 146px, 900px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.concept-text {
  font-size: 14px;
  font-family: "Noto Serif JP", serif;
  line-height: 2;
  display: inline-block;
  text-align: center;
}
@media (min-width: 769px) {
  .concept-text {
    font-size: 16px;
  }
}

@media (min-width: 769px) {
  .concept-container {
    padding-bottom: 60px;
  }
}
.section-title {
  text-align: center;
}
.section-title .en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 400;
  color: #9BB5C6;
  letter-spacing: 10%;
}
@media (min-width: 769px) {
  .section-title .en {
    font-size: clamp(48px, 5vw, 64px);
  }
}
.section-title .ja {
  display: block;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #3a3a3a;
  margin-top: -5px;
  margin-bottom: 30px;
  letter-spacing: 10%;
}
@media (min-width: 769px) {
  .section-title .ja {
    font-size: clamp(16px, 2vw, 24px);
    margin-top: -10px;
    margin-bottom: 60px;
  }
}
.section-title {
  display: block;
  /* ensure not flex globally */
  justify-content: normal;
  /* reset */
}

.service {
  background-color: #fff;
  padding: 30px 20px 60px;
}

.service-point {
  margin: 30px 0 10px;
}

.index-service-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-list-title {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: 200%;
  padding-top: 30px;
}

.service-point-list {
  padding: 10px 0;
}

.service-point-list li {
  display: flex;
  padding-bottom: 5px;
}

.service-point-list li::before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  background-image: url(../images/check.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.view-more {
  width: 150px;
  margin: 0 auto;
  position: relative;
}

.view-more a {
  display: block;
  text-align: right;
  color: #3a3a3a;
  font-family: "garamond", serif;
  text-decoration: none;
  transition: 0.3s cubic-bezier(0.4, 0.4, 0, 1);
}

.view-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  border-bottom: 1px solid #7D7D7D;
}

/* Hover effects */
.view-more a:hover {
  color: #9BB5C6;
}

@media (min-width: 769px) {
  .index-service-list {
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
  }
  .index-service-list-item {
    display: flex;
    align-items: center;
    gap: 6rem;
  }
  .index-service-list-item.is-reverse {
    flex-direction: row-reverse;
  }
  .service-list-image {
    width: 73%;
  }
  .service-list-content {
    width: 100%;
  }
  .service-list-title {
    font-size: 24px;
  }
  .service-list-text {
    font-size: 16px;
  }
  .view-more {
    margin: 0 auto;
    /* keep centered */
    align-self: center;
  }
  .service .view-more {
    margin: 0 0 0 auto;
    /* right align on PC */
    align-self: flex-end;
  }
  .about-section .view-more {
    margin: 0 0 0 auto;
    /* right align only on index.html About section */
    align-self: flex-end;
  }
}
.view-more a {
  display: block;
  font-size: 18px;
  letter-spacing: 10%;
  color: #3a3a3a;
  text-decoration: none;
  transition: 0.3s cubic-bezier(0.4, 0.4, 0, 1);
}
@media (min-width: 769px) {
  .view-more a {
    font-size: 20px;
  }
}

.about-section {
  padding: 30px 20px;
  background-color: #ffffff;
}

.about-inner {
  font-family: "Noto Serif JP", serif;
  padding: 30px 20px 60px;
  background-color: #EEF6F8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  filter: drop-shadow(4px 4px 4px #96B8BC);
}

@media (min-width: 769px) {
  .about-section {
    padding: 60px 0;
  }
  .about-inner {
    padding: 60px;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
  }
}
.about-image {
  width: 200px;
  height: auto;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
}

@media (min-width: 769px) {
  .about-image {
    width: 300px;
    min-width: 150px;
  }
}
.about-greeting {
  color: #9BB5C6;
  font-size: 24px;
  line-height: 1;
}

.about-greeting-content {
  line-height: 2;
  padding-top: 30px;
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 30px 0;
  margin-left: -20px;
  margin-right: -20px;
  padding: 0 10px;
  list-style: none;
}
@media (min-width: 769px) {
  .about-skills {
    justify-content: flex-start;
    width: 70%;
  }
}
.about-skills li {
  background: #ffffff;
  border: 1px solid #9BB5C6;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 14px;
  color: #333;
  font-family: "Cormorant Garamond", serif;
}

.contact {
  padding: 30px 0;
  background-color: #CBE2E4;
}

.contact-text {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  text-align: center;
  line-height: 2;
}

.contact-btn {
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
}
.contact-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 300px;
  padding: 10px;
  border-radius: 100px;
  border: 1px solid #ffffff;
  font-size: 18px;
  line-height: 2;
  font-family: "Noto Serif JP", serif;
  text-decoration: none;
  color: #4a4a4a;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 45%, #B0E4E8 65%, #43B1BC 100%);
  background-size: 250% 250%;
  background-position: 0% 0%;
  transition: background-position 0.8s ease, color 0.4s ease;
  filter: drop-shadow(0 4px 4px #6B959A);
}
.contact-btn a:hover {
  background-position: 100% 100%;
  color: #fff;
}

@media (min-width: 769px) {
  .contact {
    padding: 60px 0;
  }
  .contact-inner {
    font-size: clamp(15px, 1.25vw, 18px);
  }
  .contact-btn {
    margin: 40px auto 0;
  }
  .contact-btn a {
    width: clamp(400px, 40vw, 600px);
    max-width: none;
    padding: clamp(20px, 1.5vw, 30px);
    font-size: clamp(20px, 2.4vw, 24px);
  }
}
/* Footer Section */
.footer {
  font-family: "Noto Serif JP", serif;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: #80ABAF;
  color: #fff;
  text-align: center;
}

.footer-logo {
  width: 40px;
  height: auto;
}
.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-content {
  text-align: right;
  font-size: 12px;
}

.footer-copyright {
  white-space: nowrap;
}

.footer-privacy-policy a {
  color: #fff;
  font-size: inherit;
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid #fff;
}

@media (min-width: 769px) {
  .footer {
    padding: 10px 30px;
    align-items: center;
  }
  .footer-logo {
    width: 80px;
    height: auto;
  }
  .footer-content {
    line-height: 2;
  }
}
/* trigger compilation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.is-service-page .service {
  padding: 80px 0px 30px 0px;
}
@media (min-width: 769px) {
  .is-service-page .service {
    padding: 120px 20px 0px 20px;
  }
}

.service-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .service-list {
    max-width: 1700px;
  }
}

.service-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 769px) {
  .service-list-item {
    flex-wrap: wrap;
  }
  .service-list-item.is-reverse {
    flex-direction: row-reverse;
  }
}

.service-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  align-items: flex-start;
}

.service-info {
  gap: 20px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 769px) {
  .service-content {
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    gap: 30px;
  }
  .service-content img {
    width: 40%;
    max-width: 380px;
  }
}
.service-title {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
}
@media (min-width: 769px) {
  .service-title {
    font-size: clamp(24px, 1.7vw, 32px);
  }
}

.service-text {
  font-size: 18px;
  line-height: 1.5;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}
@media (min-width: 769px) {
  .service-text {
    font-size: 20px;
  }
}

@media (min-width: 769px) {
  .description-text {
    font-size: 18px;
  }
}

.plan-list {
  padding: 30px 0 0;
}

.service-list-item {
  padding: 20px 20px 30px;
  background-color: #F2F5F6;
}

@media (min-width: 769px) {
  .is-service-page .service-list-item {
    padding: 30px 20px;
    background-color: #F2F5F6;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}
.plan-item {
  flex: 1;
  background-color: #fff;
  padding: 30px 10px;
  border-radius: 0px 30px;
  margin-bottom: 30px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.plan-item.imp {
  background-color: #fff;
  padding: 30px 10px;
  border-radius: 0px 30px;
  margin-bottom: 30px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  position: relative;
}

.plan-item.imp::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(to right, #B0E4E8, #43B1BC, #B0E4E8);
  border-radius: inherit;
  z-index: -1;
}

.plan-header {
  text-align: center;
  font-family: "Noto Serif JP", serif;
}

.plan-title {
  font-size: 20px;
}

.plan-price {
  font-size: 24px;
}

.plan-feature-list {
  margin: 1.5em 0;
  font-size: 16px;
}

.plan-feature-list li {
  display: flex;
  margin-bottom: 3px;
}

.plan-feature-list li::before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  background-image: url(../images/check.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-label {
  color: #fff;
  background-color: #9BB5C6;
  padding: 3px 2rem;
  display: inline-block;
  width: -moz-fit-content;
  width: fit-content;
}

.plan-target-list {
  font-size: 16px;
  margin: 20px 0;
  list-style: none;
  padding-left: 0;
}
.plan-target-list.no-margin {
  margin: 0;
}

.plan-target-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3px;
  gap: 5px;
}

.plan-target-list li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #9BB5C6;
  flex-shrink: 0;
  margin-top: 0.55em;
}

@media (min-width: 769px) {
  .plan-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem;
  }
  .plan-list {
    max-width: 1200px;
    padding: 60px 0 30px;
    display: flex;
    gap: 3rem;
    align-items: stretch;
  }
  .plan-title {
    font-size: clamp(20px, 1.3vw, 24px);
  }
  .plan-price {
    font-size: clamp(20px, 1.5vw, 24px);
  }
  .plan-item.imp {
    padding: 3rem;
    top: -20px;
    margin-bottom: -2rem;
  }
}
.description {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .description {
    max-width: none;
  }
}

.description-note {
  display: block;
  margin-top: 10px;
}

.description-price {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  display: flex;
  padding: 10px 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-weight: 500;
}
.description-price .price-line {
  display: block;
  width: 40px;
  height: 1px;
  background-color: #3a3a3a;
}
@media (min-width: 769px) {
  .description-price {
    gap: 20px;
  }
  .description-price .price-line {
    width: 30rem;
  }
  .description-price .description-price {
    font-size: 24px;
  }
}

.service-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .service-list {
    max-width: 1700px;
  }
}

.service-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 769px) {
  .service-list-item {
    flex-wrap: wrap;
  }
  .service-list-item.is-reverse {
    flex-direction: row-reverse;
  }
}

.service-text {
  font-size: 18px;
  line-height: 1.5;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}
@media (min-width: 769px) {
  .service-text {
    font-size: 20px;
  }
}

.flow {
  padding: 30px 20px;
  background-color: #fff;
}

.flow-inner {
  position: relative;
}

.flow-list {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  gap: 30px;
}
.flow-list::before {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  background-color: #CBDFE1;
  position: absolute;
  top: 0;
  left: 40px;
  z-index: 0;
}

.flow-list-item {
  background-color: #CBDFE1;
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 20px;
  opacity: 0;
  outline: 1px solid #CBDFE1;
  outline-offset: 5px;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.flow-list-image {
  flex: 0 0 auto;
  width: clamp(50px, 8vw, 100px);
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}
.flow-list-image img {
  width: 100%;
  height: auto;
}

.flow-list-content {
  flex: 1;
}

.flow-list-title {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
}

.flow-list-text {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
}

@media (min-width: 769px) {
  .flow {
    padding: 60px 20px;
  }
  .flow-list {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    gap: 70px;
  }
  .flow-list-item {
    outline-offset: 10px;
    gap: 50px;
  }
}
.flow-list-item.show {
  opacity: 1;
  transform: translateY(0);
}

.flow-list-title {
  font-size: clamp(20px, 2vw, 28px);
}

.flow-list-text {
  font-size: clamp(14px, 1.8vw, 18px);
}

.flow-list::before {
  left: calc(20px + clamp(50px, 8vw, 100px) / 2);
}

.is-works-page .works {
  background-color: #fff;
  padding: 80px 20px 30px 20px;
}
@media (min-width: 769px) {
  .is-works-page .works {
    padding: 120px 20px 60px;
  }
}
.is-works-page .works-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.works-body {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.works-summary-title {
  line-height: 2;
  border-bottom: 2px dotted #9BB5C6;
  margin-bottom: 0.5em;
}

.works-summary-text {
  padding: 0 20px;
}

.works-title {
  font-size: 18px;
  line-height: 2;
  border-bottom: 2px solid #9BB5C6;
}

.works-data {
  background-color: #EEEEEE;
  display: flex;
  padding: 20px;
  flex-direction: column;
}
.works-data dt {
  font-weight: normal;
}
.works-data dd {
  margin-left: 0;
  margin-bottom: 1.5em;
}
.works-data ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.works-data ul li {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.8;
}
.works-data ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.works-summary-design {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.works-summary-design li {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.8;
}
.works-summary-design li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}
.works-summary-design li {
  margin-bottom: 1.5em;
}

@media (min-width: 769px) {
  .works-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }
  .works-title {
    font-size: clamp(18px, 2vw, 20px);
  }
  .works-body {
    padding-top: clamp(30px, 5vw, 60px);
    padding-bottom: 0;
  }
  .works-image-bottom {
    padding-top: clamp(30px, 5vw, 60px);
  }
}
.is-about-page .header {
  background: rgba(255, 255, 255, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.is-about-page .about {
  background-image: url("../images/about-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  padding: 80px 20px 60px 20px;
}
.is-about-page .about-lead {
  width: 282px;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 30px;
}
.is-about-page .about-lead-title {
  font-size: 32px;
  opacity: 0;
  animation: fadeTitle 1.2s ease forwards;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #9BB5C6, #80ABAF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.is-about-page .about-lead-title::after {
  margin-top: 10px;
  content: "";
  height: 1px;
  background: #9BB5C6;
  position: absolute;
  left: 0;
  display: block;
  animation: lineGrow 1s ease forwards;
  animation-delay: 1s;
  margin-top: 14px;
}
.is-about-page .about-lead-sub {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #9BB5C6;
  opacity: 0;
  transform: translateX(15px);
  animation: fadeSub 0.8s ease forwards;
  animation-delay: 1.8s;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
}
@keyframes fadeTitle {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes lineGrow {
  from {
    width: 0;
  }
  to {
    width: 110px;
  }
}
@keyframes fadeSub {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.is-about-page .about-text {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  line-height: 2;
  font-size: 16px;
}
.is-about-page .about-text img {
  width: 90%;
  padding: 30px 0;
  margin: 0 auto;
  display: block;
}
.is-about-page .about-text-row {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 769px) {
  .is-about-page .about-lead {
    width: 352px;
  }
  .is-about-page .about-lead-title {
    font-size: 40px;
  }
  .is-about-page .about-lead-sub {
    font-size: 16px;
  }
  .is-about-page .about-text-row {
    flex-direction: row;
    padding-top: 60px;
    gap: 60px;
  }
  .is-about-page .about-text-row img {
    padding: 0;
    width: 40%;
    max-width: 390px;
    margin: 0;
  }
  .is-about-page .about-text-row p {
    flex: 1;
  }
  @keyframes lineGrow {
    from {
      width: 0;
    }
    to {
      width: 150px;
    }
  }
}
.is-about-page .logo {
  background-color: #CBE2E4;
}
.is-about-page .about-logo {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.is-about-page .about-logo img {
  width: 126px;
}
.is-about-page .about-logo-text {
  font-size: 14px;
  line-height: 2;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  color: #7E6745;
  font-weight: bold;
  padding: 20px;
}
.is-about-page {
  /* Duplicate .about-logo-text block removed */
}
.is-about-page .myvalues {
  padding: 30px 20px 60px;
}
.is-about-page .myvalues-point {
  padding: 30px;
  background-color: #EEF6F8;
  filter: drop-shadow(2px 2px 4px #BED4D6);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.is-about-page .myvalues-point.show {
  opacity: 1;
  transform: translateY(0);
}
.is-about-page .myvalues-title {
  font-size: 20px;
  font-family: "Noto Serif JP", serif;
  padding: 10px 0;
}
@media (min-width: 769px) {
  .is-about-page .about-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  .is-about-page .about {
    padding: 120px 20px 120px;
  }
  .is-about-page header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.4);
  }
  .is-about-page body {
    padding-top: 80px;
    /* adjust to header height */
  }
  .is-about-page .logo {
    padding: 0 20px;
  }
  .is-about-page .about-logo {
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row;
    gap: clamp(20px, 5vw, 60px);
  }
}
.is-about-page .myvalues-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.is-about-page .myvalues-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 530px;
}
.is-about-page .myvalues-point-title {
  text-align: center;
}
.is-about-page .myvalues-point-title img {
  width: 21%;
  display: block;
  margin: 0 auto;
}
.is-about-page .myvalues-sub {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
}
@media (min-width: 769px) {
  .is-about-page .myvalues-list {
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
  }
  .is-about-page .myvalues-list li {
    width: calc(50% - 20px);
    min-height: 267px;
  }
  .is-about-page .myvalues-point {
    max-width: 580px;
  }
  .is-about-page .myvalues-title {
    font-size: clamp(20px, 1.3vw, 24px);
  }
  .is-about-page .myvalues-sub {
    font-size: clamp(16px, 1vw, 18px);
  }
}
.is-about-page .profile {
  background-color: #EEF6F8;
  padding: 30px 20px 60px;
}
.is-about-page .profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.is-about-page .profile .section-title {
  display: flex;
  justify-content: flex-start;
  font-size: 36px;
  font-family: "Cormorant Garamond", serif;
  color: #9BB5C6;
}
.is-about-page .profile-name {
  font-size: 20px;
  line-height: 2;
}
.is-about-page .profile-text {
  font-size: 16px;
}
.is-about-page .profile-history {
  font-size: 16px;
  line-height: 2;
  padding-top: 10px;
}
.is-about-page .profile-history li {
  position: relative;
  padding-left: 12px;
}
.is-about-page .profile-history li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9BB5C6;
}
@media (min-width: 769px) {
  .is-about-page .profile .section-title {
    font-size: 40px;
  }
  .is-about-page .profile {
    padding: 60px 20px;
    background-color: #EEF6F8;
    margin: 0 auto;
  }
  .is-about-page .profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .is-about-page .profile-inner {
    flex: 1;
  }
}

.is-contact-page .contact {
  background-color: #fff;
  padding: 80px 20px 30px 20px;
}
@media (min-width: 769px) {
  .is-contact-page .contact {
    padding: 120px 20px 60px 20px;
  }
}

.contact-content {
  margin-inline: -20px;
}

.contact-form {
  padding: 30px 0;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form p {
  margin: 0;
}

.contact-form label {
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
  display: block;
}

.form-input,
.form-textarea {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  color: #3a3a3a;
  font-size: 16px;
  margin-top: 8px;
  padding: 12px 16px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #9BB5C6;
  border-radius: 0.5em;
  background-color: #F9F9F9;
  outline: none;
}
.form-input::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: #A2A2A2;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #A2A2A2;
}

.checkbox-group .wpcf7-list-item {
  margin: 0;
}

.checkbox-group .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #9BB5C6;
  border-radius: 0.5em;
  background-color: #F9F9F9;
  padding: 0.5em;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
}
.checkbox-group .wpcf7-list-item label input[type=checkbox] {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border: 1px solid #9BB5C6;
  border-radius: 10px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkbox-group .wpcf7-list-item label input[type=checkbox]:checked {
  background-color: #9BB5C6;
}
.checkbox-group .wpcf7-list-item label input[type=checkbox]:checked::after {
  content: "";
  width: 8px;
  height: 14px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
  display: block;
  margin-top: -3px;
}

.checkbox-group {
  display: grid;
  gap: 1em;
  margin-bottom: 2em;
}

.checkbox-group .wpcf7-checkbox {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 1em;
}

.wpcf7-form-control-wrap {
  display: block;
}

@media (min-width: 769px) {
  .checkbox-group .wpcf7-checkbox {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.checkbox-text {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #3a3a3a;
}

.form-label-wrapper {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
}

.required {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0 0.8em;
  background-color: #FC6D61;
  color: #fff;
  font-size: 14px;
  border-radius: 0.5em;
}

.optional {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0 0.8em;
  background-color: #9BB5C6;
  color: #fff;
  font-size: 14px;
  border-radius: 0.5em;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.privacy-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 1em;
}

.privacy-wrap a {
  text-decoration: underline;
  color: inherit;
}

.privacy-wrap a:hover {
  opacity: 0.7;
}

.privacy-label {
  font-size: 16px;
}

.form-submit {
  display: block;
  justify-content: center;
  padding: 0.5em 6em;
  max-width: 300px;
  margin: 0 auto;
  color: #fff;
  border: 1px solid #ffffff;
  border-radius: 3em;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 18px;
  cursor: pointer;
  background: linear-gradient(135deg, #9BB5C6 0%, #9BB5C6 50%, #B0E4E8 60%, #43B1BC 100%);
  background-size: 300% 300%;
  background-position: 0% 0%;
  transition: background-position 0.8s ease, color 0.4s ease;
}
.form-submit:hover {
  background-position: 100% 100%;
  color: #fff;
}

.links {
  display: flex;
  flex-direction: column;
  /* vertical on small screens */
  align-items: center;
  padding: 2em 0;
  border: 1px solid #9BB5C6;
  border-radius: 0.5em;
}

.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  position: relative;
}

.link-item:last-child {
  border-bottom: none;
}

.links {
  position: relative;
}

/* --------------------
SP
-------------------- */
@media (max-width: 768px) {
  .link-item {
    position: relative;
  }
  .link-item:not(:last-child)::after {
    content: "";
    position: absolute;
    background: #9BB5C6;
    height: 1px;
    width: 250px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}
/* --------------------
PC
-------------------- */
@media (min-width: 769px) {
  .links {
    display: flex;
    align-items: center;
  }
  .link-item {
    flex: 1;
    text-align: center;
  }
  .links::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100px;
    background: #9BB5C6;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
  }
}
.link-text {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  letter-spacing: 10%;
}

.link-email {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 20px;
  color: #9BB5C6;
  font-weight: bold;
  padding-top: 0.5em;
}

@media (min-width: 769px) {
  .links {
    flex-direction: row;
    /* horizontal on PC */
    justify-content: center;
  }
  .link-item {
    width: auto;
    border-bottom: none;
    /* separator now handled by pseudo-element */
  }
  .link-item:last-child {
    border-right: none;
  }
}
.link-item {
  flex-direction: column;
  /* stack text and icons vertically */
  align-items: center;
  height: auto;
  width: auto;
  text-align: center;
  padding: 2em;
}

.link-item img {
  height: 30px;
  width: auto;
  margin-top: 8px;
}

.icon-group {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

@media (min-width: 769px) {
  .contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
  }
  .contact-form label {
    font-size: 18px;
  }
  .form-input,
  .form-textarea {
    font-size: 18px;
    padding: 0.5em;
  }
  .checkbox-group .wpcf7-list-item label {
    display: flex;
    padding: 0.5em;
  }
  .checkbox-text {
    font-size: 18px;
  }
  .form-label-wrapper {
    font-size: 18px;
  }
  .checkbox-group .wpcf7-list-item label {
    width: auto;
  }
  .required,
  .optional {
    font-size: 15px;
  }
  .form-textarea {
    min-height: 160px;
  }
  .form-submit {
    font-size: 24px;
    max-width: 400px;
  }
  .links {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0;
  }
  .privacy-label {
    font-size: 16px;
  }
}
/* ============================================
   Thanks page
   ============================================ */
.is-thanks-page .thanks-container {
  background-color: #fff;
  padding: 80px 20px 30px 20px;
  min-height: 100vh;
  /* full viewport height */
}
@media (min-width: 769px) {
  .is-thanks-page .thanks-container {
    padding: 120px 20px 60px;
  }
}
.is-thanks-page .thanks-container {
  width: 100%;
  margin: 0 auto;
}
.is-thanks-page .thanks-content {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  padding: clamp(30px, 5vw, 60px) 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.thanks-body {
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.thanks-text {
  font-size: 16px;
  line-height: 2;
}

.backworks-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 210px;
  padding: 5px;
  border-radius: 100px;
  border: 1px solid #ffffff;
  color: #ffffff;
  line-height: 2;
  text-decoration: none;
  background: linear-gradient(135deg, #9BB5C6 0%, #9BB5C6 50%, #CBE2E4 60%, #A9D3D6 100%);
  background-size: 300% 300%;
  background-position: 0% 0%;
  transition: background-position 0.8s ease, color 0.4s ease;
  margin: 0 auto;
}

.backworks-button:hover {
  background-position: 100% 100%;
  color: #ffffff;
}

@media (min-width: 769px) {
  .thanks-text {
    font-size: 18px;
  }
  .backworks-button {
    align-self: center;
  }
}
.backtop-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 210px;
  padding: 5px;
  border-radius: 100px;
  border: 1px solid #ffffff;
  color: #ffffff;
  line-height: 2;
  text-decoration: none;
  background: linear-gradient(135deg, #9BB5C6 0%, #9BB5C6 50%, #CBE2E4 60%, #A9D3D6 100%);
  background-size: 300% 300%;
  background-position: 0% 0%;
  transition: background-position 0.8s ease, color 0.4s ease;
  margin: 0 auto;
}

.backtop-button:hover {
  background-position: 100% 100%;
  color: #ffffff;
}

.is-thanks-page .backtop-button {
  display: block;
  margin: 10px auto;
  width: 133px;
  text-align: right;
  border-bottom: 1px solid #7D7D7D;
  padding-bottom: 5px;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #3a3a3a;
  text-decoration: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.is-thanks-page .backtop-button:hover {
  color: #9BB5C6;
  border-bottom: 1px solid #9BB5C6;
}

/* ============================================
   Privacy
   ============================================ */
.is-privacy-page {
  min-height: 100vh;
  background-color: #fff;
}

.privacy-container {
  max-width: 1200px;
  width: 100%;
  padding: 80px 20px 30px 20px;
  margin: 0 auto;
}

.privacy-text {
  font-family: "Yu Gothic", "游ゴシック", "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
}

@media (min-width: 769px) {
  .privacy-text {
    font-size: 18px;
  }
}
/* ============================================
   Not Found Page
   ============================================ */
.is-notfound-page {
  min-height: 100vh;
  background-color: #fff;
}

.notfound-container {
  background-color: #fff;
  padding: 80px 20px 30px 20px;
  min-height: 100vh;
  /* Ensure index.html spacing structure for consistency */
}

@media (min-width: 769px) {
  .notfound-container {
    padding: 120px 20px 60px;
    margin: 0 auto;
  }
}
.notfound-content {
  font-family: "Yu Gothic", "游ゴシック", "Zen Kaku Gothic New", sans-serif;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Additional spacing for not found elements */
}

.notfound-text {
  font-size: 16px;
  line-height: 2;
  /* Follows existing contact text line-height */
  text-align: center;
}

.backworks-content {
  display: flex;
  flex-direction: column;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  text-align: center;
  gap: 10px;
}

.backworks-content a:not(.backworks-button) {
  display: block;
  margin: 30px auto;
  width: 133px;
  text-align: right;
  border-bottom: 1px solid #7D7D7D;
  padding-bottom: 5px;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif !important;
  font-size: 16px;
}

.notfound-backtop a {
  display: block;
  letter-spacing: 10%;
  color: #3a3a3a;
  text-decoration: none;
}
.notfound-backtop a:hover {
  color: #9BB5C6;
  border-bottom: 1px solid #9BB5C6;
}

/* Ensure the backworks link on the 404 page gets the intended hover (selector used in markup) */
.is-notfound-page .backworks-content a:not(.backworks-button):hover {
  color: #9BB5C6;
  border-bottom: 1px solid #9BB5C6;
}

@media (min-width: 769px) {
  .notfound-text {
    font-size: 18px;
  }
}
@media (min-width: 769px) {
  .link-works {
    font-size: 16px;
  }
}
.notfound-backtop {
  display: block;
  margin: 30px auto;
  width: 133px;
  text-align: right;
  border-bottom: 1px solid #7D7D7D;
  padding-bottom: 5px;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
}

.notfound-backtop a {
  display: block;
  letter-spacing: 10%;
  color: #3a3a3a;
  text-decoration: none;
}

/* Optional: Add a subtle variation to the back to top link */
.notfound-backtop a:hover {
  color: #555;
}

/* Keep other footer/header styles consistent with index.html */
/* Slide item hover effect */
.slide-item {
  overflow: hidden;
}

.slide-item .image-area img {
  transition: transform 0.3s ease;
}

.slide-item:hover .image-area img {
  transform: scale(1.05);
}

.slide-item:hover .slide-title {
  color: #9BB5C6;
}

/* Footer */
.footer {
  background-color: #80ABAF;
}