/*
  VERITAS 2025
*/

/* 
  Common
------------------------------ */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover,
a:visited,
a:active {
    color: inherit;
    text-decoration: none;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: white;
  color: #000;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

br.sp {
  display: none;
}
@media (max-width: 767px) {
  br.sp {
    display: inline;
  }
}

/* 変数設定 */
:root {
    --color-primary: #323F63;
    --color-accent: #95BFFC;
    --color-second: #EBF4FF;
    --font-handwriting: "Nothing You Could Do", cursive;
    --font-mincho: "Noto Serif JP", serif;
    --font-gothic: "Noto Sans JP", sans-serif;
}





/* Section */

.top-section {
  padding: 80px 0;
}
.section-container {
  width: 100%;
  max-width: calc(1200px + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
.section-container.wide {
  max-width: calc(1392px + 48px);
}
.section-container.middle {
  max-width: calc(920px + 48px);
}
.section-container.flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.33,1,.68,1), transform 0.8s cubic-bezier(.33,1,.68,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 480px) {
  .section-container {
    padding: 0 16px;
  }
}

/* Section title */

.section-title {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    width: auto;
    margin-bottom: 64px;
    letter-spacing: 0;
    text-indent: 0;
}
.handwriting-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}
.handwriting-rotated {
    transform: rotate(-7.225deg);
    flex: none;
}
.handwriting-text {
    font-family: var(--font-handwriting);
    font-size: 32px;
    line-height: normal;
    font-style: normal;
    color: var(--color-accent);
    margin: 0;
}
.main-message {
    font-family: var(--font-mincho);
    line-height: normal;
    font-style: normal;
    color: var(--color-primary);
    letter-spacing: 1.2px;
    text-align: center;
    width: 100%;
    margin-bottom: 0;
    text-indent: 0;
}
.message-line-1 {
    margin: 0 0 4px 0;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-align: left;
}
.message-line-2 {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1.6px;
}
.en .message-line-2 {
    text-align: left;
}
.message-line-1.center {
    text-align: center;
}
.label-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.label-line {
    width: 32px;
    height: 1px;
    position: relative;
    flex-shrink: 0;
}
.label-line svg {
    display: block;
    width: 100%;
    height: 100%;
}
.label-text {
    font-family: var(--font-gothic);
    font-size: 16px;
    line-height: 16px;
    font-style: normal;
    font-weight: 400;
    color: var(--color-primary);
    text-align: center;
    letter-spacing: 0.8px;
    white-space: nowrap;
    margin: 0;
    flex-shrink: 0;
}
@media (max-width: 767px) {
    .section-title {
        margin-bottom: 48px;
    }
    .handwriting-text {
        font-size: 28px;
    }
    .message-line-1 {
        font-size: 16px;
        white-space: normal;
    }
    .message-line-2 {
        font-size: 28px;
        white-space: normal;
    }
    .label-text {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .handwriting-text {
        font-size: 24px;
    }
    .message-line-2 {
        font-size: 24px;
    }
    .label-line {
        width: 24px;
    }
}

/* Section btn */

.section-btn {
    padding: 80px 0;
}
.section-btn a {
    display: inline-block;
    padding: 24px 60px;
    min-width: 396px;
    color: #FFF;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1.2px;
    text-align: center;
    transition: 0.4s;
    cursor: pointer;
    background: linear-gradient(90deg, #323F63 0%, #2F61EB 50%, #323F63 100%);
    background-size: 200% 100%;
}
.section-btn a:hover {
    background-position: 100% 0;
}
@media (max-width: 767px) {
    .section-btn a {
      min-width: auto;
      font-size: 20px;
      padding: 24px 24px;
    }
}
@media (max-width: 480px) {
    .section-btn {
      width: 100%;
    }
    .section-btn a {
      width: 100%;
      font-size: 18px;
      padding: 24px 16px;
    }
}


/* Text */

.highlight {
    font-weight: 600;
    background: linear-gradient(transparent 60%, #dcecff 60%);
    padding: 0 2px;
}



/* 
  Header
------------------------------ */
.navi-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
}
.navi-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  height: 92px;
}
.navi-logo {
  flex-shrink: 0;
  width: 184px;
  height: 62px;
  display: flex;
  align-items: center;
}
.navi-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.navi-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 48px;
}
.navi-link {
  font-size: 14px;
  letter-spacing: 0.6px;
  color: var(--color-primary) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.4s;
}
.navi-link:hover {
  color: var(--color-accent) !important;
}
.navi-cta {
  flex-shrink: 0;
}
.navi-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0.6px;
    color: #ffffff !important;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.4s;
    background: linear-gradient(90deg, #962326 0%, #ea0107 50%, #962326 100%);
    background-size: 200% 100%;
}
.navi-button:hover {
    background-position: 100% 0;
}

/*  Hamburger Menu */

.hamburgermenu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburgermenu.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburgermenu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburgermenu.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-content {
  background-color: #ffffff;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu-link {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.6px;
  color: var(--color-primary) !important;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  transition: 0.4s;
  text-align: left;
}
.mobile-menu-link:hover {
  color: var(--color-accent) !important;
}
.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: linear-gradient(90deg, #962326 0%, #ea0107 50%, #962326 100%);
  background-size: 200% 100%;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.6px;
  color: #ffffff !important;
  text-decoration: none;
  text-align: center;
  margin-top: 8px;
  transition: 0.4s;
}
.mobile-menu-button:hover {
  background-position: 100% 0;
}

@media (max-width: 1024px) {
    .navi-container {
        padding: 0 24px;
    }
    .navi-menu {
        gap: 24px;
        margin-right: 32px;
    }
}
@media (max-width: 959px) {
    .navi-container {
        height: 80px;
    }
    .navi-logo {
        width: 140px;
        height: 47px;
    }
    .navi-menu {
        gap: 16px;
        margin-right: 24px;
    }
    .navi-link {
        font-size: 12px;
    }
    .navi-button {
        padding: 16px 16px;
        font-size: 12px;
    }
}
@media (max-width: 767px) {
    .navi-menu {
        display: none;
    }
    .navi-cta-wrap {
      display: flex;
      align-items: center;
      gap: 16px;
    }
/*
    .navi-cta {
        display: none;
    }
*/
    .hamburgermenu {
        display: flex;
    }
}
@media (max-width: 480px) {
    .navi-container {
        padding: 0 16px;
        height: 64px;
    }
    .navi-logo {
        width: 100px;
        height: 32px;
    }
    .navi-button {
        padding: 12px 8px;
        font-size: 11px;
    }
    .mobile-menu {
        top: 64px;
    }
    .mobile-menu-content {
        padding: 8px 16px 24px;
        gap: 0px;
    }
    .mobile-menu-link {
        font-size: 14px;
    }
    .mobile-menu-button {
        margin-top: 24px;
    }
}

/* 
  Side Menu
------------------------------ */

.side-menu {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.side-menu__line {
    width: 48px;
    height: 1px;
    background-color: var(--color-primary);
}
.side-menu__line--top {
    margin-bottom: 0;
}
.side-menu__line--bottom {
    margin-top: 0;
}
.side-menu__sns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 18.75px;
    height: 160px;
    padding: 20px 0;
}
.side-menu__text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18.75px;
    height: 100%;
}
.side-menu__text {
    font-family: var(--font-mincho);
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    color: var(--color-primary);
    white-space: nowrap;
    transform: rotate(90deg);
    transform-origin: center center;
    width: 18.75px;
    height: 18.75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.side-menu__icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}
.side-menu__icon:hover {
    opacity: 0.7;
}
.side-menu__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
@media (max-width: 959px) {
    .side-menu {
        width: 32px;
        right: 8px;
    }
    .side-menu__line {
        width: 32px;
    }
}
@media (max-width: 767px) {
    .side-menu {
        display: none;
    }
}




/* 
  Hero - Main Visual
------------------------------ */

.main-visual {
    position: relative;
    width: 100%;
    height: calc(613px + 92px + 80px);
    padding-top: 92px;
    padding-bottom: 80px;
    overflow: hidden;
}
.main-visual .section-container {
    max-width: 100%;
    height: 100%;
    padding-right: 0;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.3s ease-in-out;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.slide__background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    text-align: right;
}
.slide__background img {
    width: calc(50% + 200px);
    /* max-width: 920px; */
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.slide__content {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    z-index: 2;
}

/* Hero Contents */

.hero-wrap {
    width: 100%;
    height: 100%;
    max-width: calc(1200px + 48px);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.main-copy {
    position: absolute;
    top: 218px;
}
.slide2 .main-copy {
    top: 64px;
}
.slide3 .main-copy {
    top: 160px;
}
.main-copy__text {
    font-family: var(--font-mincho);
    font-size: 32px;
    font-weight: 600;
    line-height: 64px;
    letter-spacing: 1.6px;
    color: var(--color-primary);
    margin: 0;
}
.main-copy__sub {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
}
.main-copy__line {
    width: 40px;
    height: 1px;
    background-color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 22px;
}
.main-copy__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.main-copy__content p {
    font-family: var(--font-mincho);
    font-weight: 600;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 1.2px;
    color: var(--color-primary);
}
.features {
    position: absolute;
    top: 135px;
    right: 1vw;
    width: 367px;
    height: 342px;
}
.features img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-banner {
    position: absolute;
    bottom: 0;
    left: 24px;
    width: 340px;
    padding: 10px;
    background-color: var(--color-second);
    display: flex;
    flex-direction: column;
    gap: 7px;
    z-index: 1;
}
.blog-banner__image-link {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}
.blog-banner__image {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
}
.blog-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.blog-banner__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
    text-align: right;
}
.blog-banner__subtitle {
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.6px;
    color: white;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
}
.blog-banner__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.9px;
    color: white;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}
.blog-banner__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.blog-banner__date {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.6px;
}
.blog-banner__article-link {
    display: block;
    transition: 0.4s ease;
}
.blog-banner__description {
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.7px;
    color: var(--color-primary);
    text-decoration: underline;
    width: 100%;
    transition: 0.4s;
}
.blog-banner__article-link:hover .blog-banner__description {
    color: var(--color-accent);
}
.blog-banner__image-link:hover .blog-banner__image img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}
.blog-banner__image img {
    transition: transform 0.5s ease;
}

/* レスポンシブデザイン */
/* @media (max-width: 768px) {
    .blog-banner {
        width: 100%;
        max-width: 340px;
    }
    
    .blog-banner__image {
        width: 100%;
    }
    
    .blog-banner__description {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .blog-banner {
        width: 100%;
    }
    
    .blog-banner__image {
        width: 100%;
        height: auto;
        aspect-ratio: 340 / 140;
    }
    
    .blog-banner__subtitle {
        font-size: 11px;
        margin-left: 20px;
    }
    
    .blog-banner__title {
        font-size: 16px;
        line-height: 22px;
    }
    
    .blog-banner__overlay {
        padding: 12px 15px;
    }
    
    .blog-banner__description {
        font-size: 13px;
        line-height: 17px;
    }
} */

@media (max-width: 1199px) {
    .slide__background img {
        width: calc(50% + 140px);
    }
    .slide1 .main-copy {
        top: 170px;
    }
    .features {
        top: 300px;
        right: 80px;
        width: 280px;
        height: 260px;
    }
    .blog-banner {
        width: 300px;
    }
}
@media (max-width: 1023px) {
    .slide__background img {
        width: calc(50% + 120px);
    }
}
@media (max-width: 959px) {
    .main-visual {
        padding-top: 80px;
    }
    .main-visual .section-container {
        padding-left: 0;
    }
    .slide__background img {
        width: calc(50% + 90px);
    }
    .main-copy__text {
        font-size: 26px;
        line-height: 52px;
    }
    .main-copy__content p {
        font-size: 20px;
        line-height: 36px;
    }
    .main-copy__line {
        margin-top: 18px;
    }
    .blog-banner {
        width: 250px;
    }
}
@media (max-width: 767px) {
    .main-visual {
        height: 600px;
      padding-bottom: 64px;
    }
  .slide__background {
    height: 80%;
  }
    .slide__background img {
        width: calc(100%);
    }
    .slide__content {
        padding: 0 24px;
    }
    .main-copy {
        left: 0;
        max-width: 100%;
      
        top: auto !important;
        bottom: 0;
        width: calc(100% + 48px);
        padding-top: 60px;
        margin-right: -24px;
        margin-left: -24px;
        margin-bottom: -16px;
        padding-left: 24px;
        padding-right: 24px;
        max-width: none;
        background: linear-gradient(to top, white 70%, rgba(255, 255, 255, 0) 100%);
    }
    .slide1 .main-copy {
        top: 100px;
    }
    .slide3 .main-copy {
        top: 100px;
    }
    .main-copy__text {
        font-size: 18px;
        line-height: 36px;
        letter-spacing: 1px;
    }
    .main-copy__content p {
        font-size: 16px;
        line-height: 26px;
    }
    .main-copy__line {
        margin-top: 14px;
        width: 28px;
    }
    .features {
        top: 150px;
        right: 0px;
        width: 210px;
        height: 195px;
    }
    .blog-banner {
      display: none;
    }
/*
    .blog-banner {
        width: 220px;
        bottom: -40px;
        left: 10px;
    }
    .blog-banner__image {
        width: 100%;
        height: 100px;
    }
    .blog-banner__overlay {
        padding: 8px 8px;
    }
    .blog-banner__title {
        font-size: 16px;
    }
*/
}
@media (max-width: 480px) {
    .main-visual {
        padding-top: 64px;
      padding-bottom: 64px;
    }
    .slide__content {
        padding: 0 16px;
    }
    .slide2 .main-copy {
        top: 48px;
    }
    .features {
        display: none;
    }

  .main-copy {
    top: auto !important;
    bottom: 0;
    width: calc(100% + 32px);
    padding-top: 60px;
    margin-right: -16px;
    margin-left: -16px;
    margin-bottom: -16px;
    padding-left: 12px;
    padding-right: 12px;
    max-width: none;
    background: linear-gradient(to top, white 70%, rgba(255, 255, 255, 0) 100%);
  }
  .main-copy__text {
    font-size: 16px;
  }
  .main-copy__content p {
    font-size: 14px;
  }
/*
    .blog-banner__image {
        height: 80px;
    }
    .blog-banner__description {
        font-size: 12px;
        line-height: 16px;
    }
*/
}

.en .main-copy {
    position: absolute;
    top: 128px;
}
.en .slide2 .main-copy {
    top: 58px;
}
.en .slide3 .main-copy {
    top: 128px;
}






/* 
  Contents
------------------------------ */

/* 
  Vision
------------------------------ */
#top-vision {
    background: linear-gradient(180deg, #EBF4FF 0%, #F8FBFF 100%);
    padding: 100px 0;
}
#top-vision .section-container {
    gap: 32px;
}
.vision-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 0;
}
.vision-title-line {
    width: 120px;
    height: 1px;
    background-color: var(--color-primary);
}
.vision-title-text {
    font-family: var(--font-gothic);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.85px;
    color: var(--color-primary);
    white-space: nowrap;
}
.vision-main-title {
    font-family: var(--font-mincho);
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 2.4px;
    color: var(--color-primary);
    text-align: center;
    margin: 0;
    line-height: 1.5;
    text-indent: 0;
}
.vision-block {
    position: relative;
    width: 100%;
    max-width: 1266px;
    background-color: white;
    border: 10px solid white;
    overflow: hidden;
    padding: 80px 0;
}
.what-section {
    min-height: 927px;
}
.why-section {
    min-height: 773px;
}
.how-section {
    min-height: 773px;
}
.vision-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 0px);
    height: calc(100% - 0px);
    overflow: hidden;
    z-index: 0;
}
.vision-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}
.why-section .vision-background-image img {
    object-position: right;
}
.vision-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
.why-section .vision-content-wrapper {
    align-items: flex-start;
}
.vision-intro-text {
    font-size: 32px;
    font-weight: 600;
    font-family: var(--font-mincho);
    line-height: 64px;
    letter-spacing: 1.6px;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0;
    text-indent: 0;
}
.highlight-red {
    color: #962326;
}

/* Vision Box */

.vision-boxes {
    width: 100%;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vision-box {
    background: linear-gradient(to right, rgba(243,243,232,0.8), rgba(246,248,215,0.8));
    border: 1px solid rgba(0,0,0,0.2);
    padding: 24px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vision-box-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.title-line-red {
    width: 32px;
    height: 1px;
    background-color: #962326;
    flex-shrink: 0;
}
.vision-box-title p {
    font-size: 24px;
    font-weight: 600;
    font-family: var(--font-mincho);
    line-height: 32px;
    letter-spacing: 1.2px;
    color: #962326;
    margin: 0;
}
.vision-box-subtitle {
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mincho);
    line-height: 24px;
    letter-spacing: 0.6px;
    color: var(--color-primary);
    margin: 0;
    padding-left: 44px;
}
.vision-description-text {
    width: 100%;
    max-width: 920px;
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.8px;
    color: var(--color-primary)
}
.how-section .vision-description-text {
    max-width: 790px;
    align-self: flex-end;
}
.vision-description-text .bold {
    font-weight: 600;
}
.handwritten-text {
    position: absolute;
    font-family: var(--font-handwriting);
    color: #B1D0FE;
    transform: rotate(-7.225deg);
    z-index: 1;
    line-height: 1;
    font-size: 56px;
}
.handwritten-text .bigger {
    font-size: 80px;
}
.handwritten-what {
    right: 40px;
    bottom: 100px;
}
.handwritten-why {
    position: static;
    padding-left: 40px;
    padding-top: 40px;
}
.handwritten-how {
    position: static;
    text-align: right;
    padding-right: 40px;
    padding-top: 80px;
}
.vision-block .section-title {
    font-size: 32px;
    font-weight: 600;
    font-family: var(--font-mincho);
    line-height: 64px;
    letter-spacing: 1.6px;
    color: var(--color-primary);
    text-align: left;
    align-self: flex-start;
    gap: 0;
    margin-bottom: 0;
}
.vision-block .section-title.right-align {
    text-align: right;
    align-self: flex-end;
}
.vision-block .section-title p {
    margin: 0;
    white-space: nowrap;
}
.vision-block.how-section .section-title br {
    display: none;
}

@media (max-width: 1024px) {
    .what-section,
    .why-section,
    .how-section {
        min-height: auto;
        padding: 60px 0;
    }
    .what-section {
        padding-bottom: 200px;
    }
    .vision-intro-text,
    .vision-block .section-title {
        font-size: 30px;
        line-height: 60px;
    }
    .handwritten-text {
        font-size: 46px;
    }
    .handwritten-text .bigger {
        font-size: 64px;
    }
}
@media (max-width: 959px) {
    .vision-content-wrapper {
        padding: 0 36px;
    }
    .vision-intro-text,
    .vision-block .section-title {
        font-size: 24px;
        line-height: 48px;
    }
    .vision-box {
        padding: 24px 24px 24px;
    }
    .vision-box-title p {
            font-size: 20px;
    }
    .handwritten-text {
        font-size: 36px;
    }
    .handwritten-text .bigger {
        font-size: 48px;
    }
    .handwritten-what {
        bottom: 60px;
    }
    .handwritten-why {
        padding-left: 36px;
        padding-top: 20px;
    }
    .handwritten-how {
        padding-right: 36px;
        padding-top: 40px;
    }
    .what-section {
        padding-bottom: 160px;
    }
}
@media (max-width: 767px) {
    .vision-header {
        gap: 12px;
    }
    .vision-title-line {
        width: 60px;
    }
    .vision-title-text {
        font-size: 16px;
    }
    .vision-content-wrapper {
        padding: 0 24px;
    }
    .vision-main-title {
        font-size: 32px;
        letter-spacing: 1.6px;
    }
    .vision-block .section-title p {
        white-space: normal;
    }
    .vision-box {
        padding: 16px 16px;
    }
    .title-line-red {
        align-self: flex-start;
        margin-top: 1rem;
    }
    .handwritten-text {
        font-size: 32px;
        line-height: 1.1;
    }
    .handwritten-text .bigger {
        font-size: 44px;
    }
    .handwritten-what {
        bottom: 50px;
    }
    .handwritten-why {
        padding-left: 16px;
    }
    .vision-background-image img {
        object-position: 30% center;
    }
    .why-section .vision-background-image img{
        object-position: 85% center;
    }
    .vision-block.how-section .section-title br {
        display: inline;
    }
}
@media (max-width: 480px) {
    #top-vision {
        padding: 80px 0;
    }
    .vision-header {
        gap: 8px;
    }
    .vision-title-line {
        width: 40px;
    }
    .vision-title-text {
        font-size: 14px;
        letter-spacing: 0.7px;
    }
    .what-section, .why-section, .how-section {
        padding: 48px 0;
    }
    .what-section {
        padding-bottom: 160px;
    }
    .vision-main-title {
        font-size: 26px;
        letter-spacing: 1.4px;
    }
    .vision-content-wrapper {
        padding: 0 16px;
        gap: 24px;
    }
    .vision-intro-text,
    .vision-block .section-title {
        font-size: 20px;
        line-height: 40px;
    }
    .vision-box-title p {
        font-size: 18px;
        line-height: 28px;
    }
    .vision-description-text {
        font-size: 14px;
        line-height: 28px;
        letter-spacing: 0.5px;
    }
    .handwritten-text {
        font-size: 28px;
    }
    .handwritten-text .bigger {
        font-size: 36px;
    }
    .handwritten-what {
        right: auto;
        left: 24px;
    }
}


/* 
  Target
------------------------------ */
.target-section {
    width: 100%;
}
.target-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}
.list-section {
    /* max-width: 736px; */
    width: 62%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.target-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
.list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
}
.check-container {
    padding-top: 8px;
    flex-shrink: 0;
}
.item-text {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.8px;
    color: #323F63;
    margin: 0;
}
.target-section .note-box {
    background-color: #EBF4FF;
    border-radius: 8px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.target-section .note-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    color: #323F63;
    margin: 0;
}
.target-section .note-text .bold {
    font-weight: 700;
}
.target-section .images-section {
    position: relative;
    width: 38%;
    height: 451px;
    flex-shrink: 0;
}
.target-section .image-container {
    position: absolute;
    width: 180px;
    height: 240px;
    overflow: hidden;
}
.target-section .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.image-1 {
    top: 162px;
    left: 34%;
    z-index: 3;
}
.image-2 {
    top: 0;
    left: 50%;
    z-index: 2;
}
.image-3 {
    top: 41px;
    left: 0;
    z-index: 1;
}
@media (max-width: 1200px) {
    .target-section .images-section {
        transform: scale(0.8);
        transform-origin: center top;
    }
    .image-1 {
        top: 91%;
        left: 24%;
    }
    .image-2 {
        left: 32%;
    }
    .image-3 {
        top: 41%;
    }
}
@media (max-width: 767px) {
    .target-section .list-section {
        width: 100%;
        max-width: 100%;
        gap: 24px;
    }
    .target-section .images-section {
        width: 100%;
        max-width: 100%;
        height: 280px;
        margin: 0 auto;
        transform: scale(1);
    }
    .target-section .image-container {
        width: 150px;
        height: 200px;
    }
    .target-section .target-wrapper {
        flex-direction: column;
        gap: 32px;
    }
    .image-1 {
        top: 20px;
        left: 0;
    }
    .image-2 {
        top: 80px;
        left: 130px;
    }
    .image-3 {
        top: 0%;
        left: 270px;
    }
}
@media (max-width: 480px) {
    .list-item {
        gap: 8px;
    }
    .item-text {
        font-size: 14px;
        line-height: 28px;
        letter-spacing: 0.5px;
    }
    .target-section .images-section {
        height: 240px;
    }
    .target-section .note-box {
        padding: 16px;
    }
    .target-section .note-text {
        font-size: 14px;
        line-height: 28px;
    }
    .target-section .image-container {
        width: 120px;
        height: 160px;
    }
    .image-2 {
        top: 80px;
        left: 80px;
    }
    .image-3 {
        top: 0%;
        left: 180px;
    }
}


/* 
  Comparison
------------------------------ */
#top-comparison {
    background: #F3F3E8;
}
.comparison-section {
    width: 100%;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.comparison-table {
    width: 100%;
    min-width: 720px; /* 最小幅を設定してスクロール可能に */
    border-collapse: separate;
    border-spacing: 12px 0;
    color: var(--color-primary);
    margin-left: 0;
    margin-right: 0;

}
.comparison-table .header-row {
    height: 96px;
}
.comparison-table .header-empty {
    width: 18%;
    background-color: transparent;
}
.comparison-table .header-veritas {
    width: 41%;
    background: linear-gradient(92deg, #962326 0.11%, #B60005 100.11%);
    padding: 0;
    vertical-align: middle;
}
.comparison-table .header-general {
    width: 41%;
    background-color: #777777;
    padding: 0;
    vertical-align: middle;
}
.comparison-table .header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    padding: 0 8px;
    vertical-align: unset;
}
.comparison-table .logo-container {
    width: 32px;
    height: 30px;
    flex-shrink: 0;
}
.comparison-table .logo-container img {
    width: 100%;
    height: 100%;
    margin: 0;
}
.comparison-table .header-text {
    font-size: 16px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
}
.comparison-table .row-white {
    background-color: white;
}
.comparison-table .row-gray {
    background-color: rgba(255, 255, 255, 0.5);
}
.comparison-table .label-cell {
    width: 18%;
    padding: 24px 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    vertical-align: top;
    text-align: left;
}
.comparison-table .content-cell {
    width: 41%;
    padding: 24px 16px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    vertical-align: top;
    text-align: left;
    line-height: 1.5;
}
.comparison-table .veritas-cell {
    border-left: 2px solid #972225;
    border-right: 2px solid #972225;
}
.comparison-table .veritas-cell-last {
    border-bottom: 2px solid #972225;
}
.comparison-table .bold-text {
    font-weight: 600;
}
.content-cell p {
    margin-bottom: 0.5rem;
}
.content-cell p:last-child {
    margin-bottom: 0;
}
.content-cell ul {
    margin: 0;
    padding-left: 24px;
    list-style-type: disc;
}
.content-cell ul li {
    margin-bottom: 0;
    line-height: 1.5;
    list-style-type: disc;
}
.content-cell ul li:last-child {
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .comparison-table {
        min-width: 720px;
    }
    .comparison-table .label-cell,
    .comparison-table .content-cell {
        font-size: 14px;
        padding: 16px 12px;
    }
}
@media (max-width: 480px) {
    .comparison-table {
        border-spacing: 8px 0;
        min-width: 560px;
    }
    .comparison-table .header-row {
        height: 60px;
    }
    .comparison-table .header-empty,
    .comparison-table .label-cell {
        width: 14%;
    }
    .comparison-table .header-veritas,
    .comparison-table .header-general,
    .comparison-table .content-cell {
        width: 43%;
    }
    .comparison-table .header-content {
        gap: 6px;
    }
    .comparison-table .logo-container {
        width: 26px;
        height: 22px;
    }
    .comparison-table .header-text {
        font-size: 13px;
    }
    .comparison-table .label-cell,
    .comparison-table .content-cell {
        font-size: 12px;
        padding: 12px 8px;
    }
    .comparison-table .content-cell ul {
        padding-left: 16px;
    }
}
/* スクロールバーのスタイリング（Webkit） */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}
.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.table-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}
@media (max-width: 767px) {
    .comparison-section::before {
        content: '← スクロールして全体を表示 →';
        display: block;
        text-align: center;
        font-size: 12px;
        color: #777;
        margin-bottom: 0.5rem;
        padding: 0.5rem;
    }
}


/* 
  Practice Voices
------------------------------ */
#top-practice {
    background-image: url(../images/top-practice-bg.jpg);
    background-position: center bottom;
    background-repeat: repeat-x;
    padding-bottom: 140px;
}

/* Practice Lead */

.practice-lead-section {
    width: 100%;
    height: 637px;
    background-image: url(../images/top-practice-lead.jpg);
    background-position: right top;
    background-size: contain;
    background-repeat: no-repeat;
}
.practice-lead-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    position: relative;
}
.practice-lead-section .text-content {
    flex: 0 0 auto;
    background-color: #fff;
    width: 713px;
    padding: 32px 32px 48px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    z-index: 1;
}
.practice-lead-section .practice-lead-title {
    font-family: var(--font-mincho);
    letter-spacing: 0;
    text-indent: 0;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 0;
}
.practice-lead-section .subtitle {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1.6px;
    color: var(--color-primary);
}
.practice-lead-section .main-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1.6px;
    color: #323F63;
    color: var(--color-primary);
}
.practice-lead-section .description {
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.8px;
    color: var(--color-primary);
}
.practice-lead-section .image-section {
    flex: 1;
    position: relative;
    height: 637px;
}
.practice-lead-section .image-container {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 367px;
    height: 342px;
}
.practice-lead-section .image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
@media (max-width: 1149px) {
    .practice-lead-section .text-content {
        width: 480px;
    }
}
@media (max-width: 959px) {
    .practice-lead-section {
        background-position: calc(100% + 100px) top;
    }
    .practice-lead-section .text-content {
        width: 400px;
    }
    .practice-lead-section .image-container {
        width: 280px;
        height: 266px;
        bottom: 96px;
    }
}
@media (max-width: 767px) {
    .practice-lead-container {
        flex-direction: column;
        gap: 0;
    }
    .practice-lead-section {
        background-image: none;
        height: auto;
    }
    .practice-lead-section .text-content {
        width: 100%;
        padding: 0px 0px 32px 0;
    }
    .practice-lead-section .subtitle {
        font-size: 16px;
    }
    .practice-lead-section .main-title {
        font-size: 28px;
    }
    .practice-lead-section .image-section {
        flex: auto;
        height: 100vw;
        width: 100%;
        background-image: url(../images/top-practice-lead.jpg);
        background-position: right top;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .practice-lead-section .image-container {
        bottom: 0;
    }
}
@media (max-width: 480px) {
    .practice-lead-section .main-title {
        font-size: 24px;
    }
    .practice-lead-section .description {
        font-size: 14px;
        line-height: 28px;
        color: var(--color-primary);
    }
    .practice-lead-section .image-section {
        height: 110vw;
    }
    .practice-lead-section .image-container {
        right: 0;
    }
}

/* Practice Sample */

.practice-sample-section {
    width: 100%;
    margin-top: 64px;
    background: #fff;
    padding: 0 32px 32px;
}
.practice-sample-title {
    color: var(--color-primary);
    font-family: var(--font-mincho);
    font-size: 24px;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.5;
    letter-spacing: 0;
    text-indent: 0;
}
.practice-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}
.practice-card {
    background-color: #f3f3e8;
    border: 10px solid rgba(221, 224, 155, 0.3);
    min-height: 260px;
    padding: 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
}
.practice-card .card-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.practice-card .card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.practice-card .card-title {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}
.practice-card .card-title p {
    flex: 1;
    font-family: var(--font-mincho);
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin: 0;
}
.practice-card .card-description {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--color-primary);
}
.practice-card .card-description p {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.8px;
    color: var(--color-primary);
    margin: 0;
}
@media (max-width: 959px) {
    .practice-sample-section {
        padding: 0 24px 24px;
    }
    .practice-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .practice-sample-section {
        padding: 0 24px 24px;
    }
    .practice-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .practice-card {
        padding: 20px 20px 20px;
        min-height: 220px;
    }
    .practice-card .card-title p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    #top-practice {
        padding-bottom: 100px;
    }
    .practice-sample-section {
        padding: 0 16px 16px;
    }
    .practice-sample-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    .practice-card {
        padding: 16px 16px 16px;
        min-height: 200px;
        gap: 12px;
    }
    .practice-card .card-icon {
        width: 28px;
        height: 28px;
    }
    .practice-card .card-title p {
        font-size: 16px;
        letter-spacing: 0.8px;
    }
    .practice-card .card-description {
        padding-top: 12px;
    }
    .practice-card .card-description p {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.5px;
    }
}


/* 
  Alumni Voices
------------------------------ */
#top-alumni {
    background: linear-gradient(180deg, #FDFDFD 0%, #F5F9FF 100%);
}

/* Voice */

.voice-section {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.alumni-card-large {
    background-color: #fff;
    border: 10px solid var(--color-second);
    padding: 16px 16px 16px;
    position: relative;
}
.alumni-card {
    background-color: #fff;
    border: 10px solid var(--color-second);
    padding: 16px 16px 48px;
    width: 50%;
    position: relative;
}
.alumni-card-large a{
    display: flex;
    gap: 16px;
}
.alumni-card a {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    padding-bottom: 32px;
}
.card-image {
    width: 240px;
    height: 240px;
    flex-shrink: 0;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleY(-1) rotate(180deg);
}
.alumni-row {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}
.interview-label {
    background: linear-gradient(91deg, #B1D0FE 18.75%, #95BFFC 50%, #DBCFFD 91.35%);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.6px;
    padding: 6px 12px;
    display: inline-block;
    width: fit-content;
    white-space: nowrap;
    line-height: 1;
}
.interview-quote {
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.2px;
    color: var(--color-primary);
    margin: 4px 0 0 0;
    min-height: 108px;
}
.alumni-card-large .interview-quote {
  min-height: auto;
}
.interview-author {
    font-family: var(--font-mincho);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.8px;
    color: var(--color-primary);
    text-align: right;
    margin: 0;
}
.interview-description {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.8px;
    color: var(--color-primary);
    margin: 8px 0 0 0;
}
.card-arrow {
    position: absolute;
    bottom: 24px;
    right: 16px;
    width: 40px;
    height: 3.5px;
}
.card-arrow svg {
    display: block;
    width: 100%;
    height: auto;
}
/* ホバー効果 */
.alumni-card,
.alumni-card-large {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.alumni-card:hover,
.alumni-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(50, 63, 99, 0.1);
}
.card-arrow {
    transition: transform 0.3s ease;
}
.alumni-card:hover .card-arrow,
.alumni-card-large:hover .card-arrow {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .alumni-card-large a,
    .alumni-row {
        flex-direction: column;
    }
    .alumni-card {
        width: 100%;
    }
    .interview-quote {
        font-size: 20px;
        min-height: auto;
    }
}
@media (max-width: 480px) {
    .interview-author {
        font-size: 14px;
    }
    .interview-description {
        font-size: 14px;
        line-height: 20px;
    }
}

/* Companies */

.companies-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.companies-content {
    background-color: #fff;
    width: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.companies-intro-text {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    color: var(--color-primary);
}
.companies-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.company-category {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.category-header {
    background-color: var(--color-second);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    width: 100%;
}
.companies-list .header-line {
    width: 32px;
    height: 1px;
}
.companies-list .header-line svg {
    width: 100%;
    height: 100%;
    display: block;
}
.category-title {
    font-family: var(--font-mincho);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    line-height: 1;
}
.company-names {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.company-names p {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    padding-left: 40px;
    color: var(--color-primary);
    flex: 1;
    margin: 0;
}
@media (max-width: 480px) {
    .companies-content {
        padding: 24px 16px;
        gap: 24px;
    }
    .companies-intro-text {
        font-size: 14px;
        text-align: left;
    }
    .companies-list {
        gap: 16px;
    }
    .companies-list .header-line {
        width: 24px;
    }
    .category-title {
        font-size: 14px;
    }
    .company-names p {
        font-size: 14px;
        padding-left: 0;
    }
}


/* 
  Fee
------------------------------ */
.fee-card {
    width: 100%;
    margin: 0 auto;
}
.fee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}
.fee-program {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.fee-tag {
    color: var(--color-primary);
    background-color: var(--color-second);
    padding: 0.5rem 1rem;
    font-family: var(--font-mincho);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1;
    display: flex;
    height: 52px;
    align-items: center;
}
.fee-program .program-name {
    color: var(--color-primary);
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1;
    display: flex;
    height: 52px;
    align-items: center;
}
.fee-duration {
    color: var(--color-primary);
    font-family: var(--font-mincho);
    font-size: 16px;
    font-weight: 400;
    border-left: 1px solid var(--color-primary);
    padding: 0 1.5rem;
    letter-spacing: 0.05em;
    display: flex;
    height: 100%;
    height: 52px;
    align-items: center;
}
.fee-body {
    display: flex;
    padding: 48px 16px;
    align-items: center;
    gap: 24px;
    color: var(--color-primary);
}
.fee-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fee-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.fee-label {
    font-size: 16px;
    letter-spacing: 0.05em;
}
.fee-amount {
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: 600;
    text-align: right;
    width: 120px;
    letter-spacing: 0.05em;
}
.fee-unit {
    font-size: 13px;
}
.fee-tax {
    font-family: var(--font-mincho);
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    letter-spacing: 0.05em;
}
.fee-includes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.include-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.check-icon-small {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #B1D0FE 18.75%, #95BFFC 50%, #DBCFFD 91.35%);
}
.check-icon-small svg {
    width: 18px;
    height: 18px;
}
.include-item span {
    font-size: 16px;
    letter-spacing: 0.05em;
}
.fee-notes {
    width: 100%;
    background: linear-gradient(180deg, #fdfdfd 0%, #f5f9ff 100%);
    border-top: 1px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    padding: 24px 16px;

}
.notes-content {
    max-width: 920px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.note-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}
.check-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.note-text {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-primary);
    position: relative;
}
.section-btn.btn-fee {
    padding-bottom: 0;
}
@media (max-width: 767px) {
    .fee-header {
        flex-direction: column;
    }
    .fee-program {
        width: 100%;
    }
    .fee-tag {
        font-size: 16px;
    }
    .fee-program .program-name {
        font-size: 20px;
    }
    .fee-duration {
        border-left: none;
        border-top: 1px solid black;
        width: 100%;
        justify-content: center;
        height: 40px;
    }
    .fee-body {
        flex-direction: column;
        padding: 24px 16px;
    }
    .note-item {
        align-items: flex-start;
    }
    .check-icon {
        margin-top: 4px;
    }
}
@media (max-width: 480px) {
    .fee-header {
        flex-direction: column;
    }
    .fee-program {
        flex-direction: column;
        gap: 0;
    }
    .fee-tag {
        font-size: 14px;
        width: 100%;
        justify-content: center;
        height: auto;
    }
    .fee-duration {
        border-left: none;
        border-top: 1px solid black;
        font-size: 14px;
    }
    .fee-details {
        gap: 16px;
    }
    .fee-item {
        flex-direction: column;
        gap: 4px;
    }
    .fee-amount {
        text-align: center;
    }
    .fee-tax {
        font-size: 14px;
    }
    .include-item span {
        font-size: 14px;
    }
    .fee-notes {
        padding: 16px 16px;
    }
    .check-icon {
        margin-top: 2px;
    }
    .note-text {
        font-size: 14px;
    }


}


/* 
  Message
------------------------------ */
#top-message {
    background: linear-gradient(180deg, #FDFDFD 0%, #F5F9FF 100%);
}

/* CEO */

.section-founder {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.founder-content {
    width: calc(100% - 390px);
    color: var(--color-primary);
}
.founder-name {
    display: inline-block;
}
.founder-name-ja {
    font-family: var(--font-mincho);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 8px;
}
.founder-name-en {
    font-family: var(--font-mincho);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 5.5px;
    margin-bottom: 12px;
}
.founder-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 64px;
}
.line-accent {
    width: 32px;
    height: 1px;
    background-color: var(--color-primary);
    border: none;
}
.founder-label span {
    font-size: 16px;
    letter-spacing: 0.05em;
}
.founder-message-title {
    font-family: var(--font-mincho);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    position: relative;
}
.founder-message-title br {
    display: none;
}
.founder-message {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.05em;
}
.founder-message.sp {
    display: none;
    color: var(--color-primary);
}
.founder-message p {
    margin-bottom: 1rem;
}
.founder-message p.lead {
    margin-bottom: 3rem;
}
.founder-pic {
    width: 390px;
    align-self: flex-end;
}
.founder-pic img {
    max-width: 100%;
}
@media (max-width: 959px) {
    .founder-pic {
        width: 300px;
        align-self: flex-start;
    }
    .founder-content {
        width: calc(100% - 300px);
    }
    .founder-message-title br {
        display: inline;
    }
}
@media (max-width: 767px) {
    .founder-message {
        display: none;
    }
    .founder-message.sp {
        display: block;
        margin-top: 24px;
    }
    .founder-content {
        width: calc(100% - 220px);
    }
    .founder-pic {
        width: 220px;
    }
    .founder-message-title {
        font-size: 28px;
    }
    .founder-label {
        margin-bottom: 32px;
    }
}
@media (max-width: 480px) {
    .founder-pic {
        width: 45%;
    }
    .founder-content {
        width: 55%;
    }
    .founder-name-ja {
        font-size: 24px;
    }
    .founder-name-en {
        letter-spacing: 3px;
    }
    .founder-message-title {
        font-size: 24px;
    }
    .founder-message {
        font-size: 14px;
    }
    .founder-message p.lead {
        margin-bottom: 2rem;
    }
    .line-accent {
        width: 24px;
    }
    .founder-label span {
        font-size: 14px;
    }

}

/* Partner */

.section-partner {
    background-color: #fff;
    color: var(--color-primary);
    width: 100%;
    padding: 32px 0 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;;
    width: 100%;
}
.partner-title {
    width: 100%;
}
.partner-subtitle {
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}
.partner-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 32px;
}
.partner-label span {
    font-size: 16px;
    letter-spacing: 0.05em;
}
.partner-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.partner-message {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.05em;
}
.partner-message p {
    margin-bottom: 16px;
}
.partner-info {
    width: calc(100% - 320px);
}
.partner-pic {
    width: 320px;
    align-self: flex-end;
}
.partner-pic img {
    max-width: 100%;
}
.section-btn.btn-partner {
    padding: 24px 0 0;
}
.btn-partner-lead {
    display: block;
    text-align: center;
    font-weight: 600;
    margin-bottom: 8px;
}
@media (max-width: 959px) {
    .partner-pic {
        width: 250px;
        align-self: flex-start;
    }
    .partner-info {
        width: calc(100% - 250px);
    }
}
@media (max-width: 767px) {
    .partner-title {
        padding-right: 32px;
    }
    .partner-content {
        flex-direction: column;
    }
    .partner-info {
        width: calc(100% - 32px);
    }
    .partner-message p br {
        display: none;
    }
    .partner-pic {
        align-self: flex-end;
    }
}
@media (max-width: 480px) {
    .section-partner {
        padding: 24px 0 24px 16px;
    }
    .partner-label span {
        font-size: 14px;
    }
    .partner-message p {
        font-size: 14px;
    }
    .partner-pic {
        width: 180px;
    }
    .btn-partner-lead {
        font-size: 14px;
    }
    .section-btn.btn-partner {
        padding: 24px 16px 0 0;
    }
    .section-btn.btn-partner a {
        padding: 24px 0px;
    }
}


/* 
  News
------------------------------ */
#top-news {
    background: #fff;
}


/* Blog */

.section-blog {
    margin-bottom: 64px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 632px;
    margin: 0 auto;
}
.blog-card {
    display: flex;
    flex-direction: column;
    color: var(--color-primary);
}
.blog-card.sp {
  display: none;
}
.blog-image-placeholder {
    width: 100%;
    height: 158px;
    overflow: hidden;
}
.blog-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-category {
    background: linear-gradient(180deg, #fdfdfd 0%, #f5f9ff 100%);
    padding: 8px;
    text-align: center;
}
.category-small {
    font-size: 12px;
    display: block;
    letter-spacing: 0.05em;
}
.category-large {
    font-size: 16px;
    font-weight: 600;
    display: block;
    letter-spacing: 0.05em;
}
.blog-content {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.blog-date {
    font-size: 12px;
    letter-spacing: 0.05em;
}
.blog-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: underline;
    line-height: 1.5;
    letter-spacing: 0.05em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    max-height: 3em;
    transition: 0.4s;
}
.blog-title:hover {
    color: var(--color-accent);
}
@media (max-width: 767px) {
    .blog-grid {
        display: flex;
        flex-direction: column;
    }
    .blog-card {
        max-width: 300px;
    }
  .blog-card.sp {
    display: flex;
  }
}
@media (max-width: 480px) {
    .blog-title {
        font-size: 14px;
    }
}

/* ホバー効果 */
.blog-card > a {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.blog-card > a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(50, 63, 99, 0.1);
}

/* News */

.section-news {
    width: 100%;
}
.news-list {
    width: 100%;
    margin: 0 auto;
}
.news-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 8px;
    border-top: 1px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
}
.news-item + .news-item {
    border-top: none;
}
.news-date {
    font-size: 12px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.news-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
    letter-spacing: 0.05em;
    transition: 0.4s;
}
.news-title:hover {
    color: var(--color-accent);
}
@media (max-width: 480px) {
    .news-title {
        font-size: 14px;
    }
}





