@charset "utf-8";

/* -------------------
top共通
------------------- */
* {
    font-family: var(--font-noto-sans-jp);
}
html {
    font-size: clamp(10px, 0.83vw, 16px);
}

/* background deco */
.top-deco {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -99;
    width: 100%;
	overflow-x: hidden;
}
.top-deco img {
    width: 100%;
}
@media screen and (max-width:768px) {
	.top-deco img {
		width: 300%;
	}
}

/* hedding */
.top-h2 .en,
.top-h2-small .en {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
    color: var(--color-blue-primary);
    display: block;
}
.top-h2 .jp {
    display: block;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: var(--linear-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.top-h2-small .jp {
    display: block;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: var(--linear-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media screen and (max-width: 1440px) {
    .top-h2 .en {
        font-size: 19px; /* 80% of 24px */
        margin-bottom: 16px;
    }
    .top-h2 .jp {
        font-size: 45px; /* 80% of 56px */
    }
    .top-h2-small .en {
        font-size: 19px; /* 80% of 24px */
    }
    .top-h2-small .jp {
        font-size: 26px; /* 80% of 32px */
    }
}
@media screen and (max-width: 720px) {
    .top-h2 .en {
        font-size: 16px; /* Adjusted for smaller screens */
        margin-bottom: 4px;
    }
    .top-h2 .jp {
        font-size: 24px; /* Adjusted for smaller screens */
    }
    .top-h2-small .en {
        font-size: 14px; /* Adjusted for smaller screens */
        margin-bottom: 4px;
    }
    .top-h2-small .jp {
        font-size: 20px; /* Adjusted for smaller screens */
    }
}


/* -------------------
top hero
------------------- */

/* top hero */
.top-hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.top-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 2.5vw;
    width: auto;
    white-space: nowrap;
}
.top-hero-copy-subtagline {
    background: var(--linear-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.625rem; /* 42px */
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
}
.top-hero-copy-headline {
    background: var(--linear-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.8rem; /* 64px */
    font-weight: 900;
    line-height: 1.625em;
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
}
.top-hero-copy-headline span {
    font-size: 3.375rem;
}
.top-hero-copy-tagline {
    color: var(--color-blue-primary);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.923em;
    letter-spacing: 0.1em;
    display: flex;
}
.top-hero-copy-tagline::before {
    content: "";
    margin-right: 0.5em;
    display: block;
    width: 54px;
    height: 1px;
    background-color: var(--color-blue-primary);
    margin-top: 1.9375rem;
}
.top-hero-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: calc(55.36vw);
    max-width: 1064px;
    min-width: 420px;
    height: auto;
}
.top-hero-image-item {
    aspect-ratio: 500 / 341;
    /* height: 300px; */
    background-color: var(--color-gray-light);
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}
.top-hero-image-item img {
    object-fit: cover;
    width: 100%;
}
.top-hero-image-item:nth-child(1) {
    grid-column: 1 / span 2;
    aspect-ratio: 1063 / 560;
}
.top-hero-image-item:nth-child(2) {
    border-radius: 16px;
}
@media screen and (max-width: 960px) {
    .top-hero-container {
        flex-direction: column;
        gap: 32px;
        padding-top: 20px;
    }
    .top-hero-image-grid {
        min-width: auto;
        align-self: flex-end;
        width: 90%;
    }
    .top-hero-copy {
        padding: 0 20px;
        order: 2;
        align-self: flex-start;
        white-space: normal;
    }
}
@media screen and (max-width: 720px) {
    .top-hero-copy-headline {
       font-size: 28px;
       margin-bottom: 20px;
    }
    .top-hero-copy-headline span {
        font-size: inherit;
    }
    .top-hero-copy-subtagline {
        font-size: 20px;
        margin-bottom: 8px;
    }
    .top-hero-copy-tagline {
        font-size: 16px; 
    }
}


/* -------------------
top news
------------------- */
.top-news {
    padding: 150px 40px 180px;
}
.top-news-container {
    display: flex;
	flex-direction: column;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}
.top-news-title {
	text-align: center;
}
.top-news-list {
    width: 100%;
}
.top-news-list ul {
    /*max-width: 876px;*/
    width: 100%;
}
.top-news-list-date {
    color: var(--color-blue-primary);
    font-weight: 600;
    margin-right: 10px;
    white-space: nowrap;
}
.top-news-list-label {
    font-size: 87.5%;
    font-weight: 700;
    display: block;
    background-color: var(--color-blue-primary);
    color: var(--color-white);
    padding: 4.5px 20px;
    border-radius: 20px;
    white-space: nowrap;
}
.top-news-list li:first-child {
    border-top: 2px solid var(--color-gray-light);
}
.top-news-list li a {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 2px solid var(--color-gray-light);
    padding: 38px 24px;
    font-size: 18px;
    gap: 32px;
    position: relative;
}
.top-news-list li a:hover {
    background-color: rgba(230, 230, 230, 0.5);
    backdrop-filter: blur(10px);
}
.top-news-list li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-blue-secondary);
    transition: width 0.2s ease;
}

.top-news-list li a:hover::after {
    width: 100%;
    transition: width 0.4s cubic-bezier(0, 0.19, 0.22, 0.9);
}

.top-news-list-right {
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}
.top-news-list-right ,
.top-news-list-left {
    display: flex;
    align-items: center;
}

.top-news-list li a span {
    display: inline-block;
}
.top-news-list li a span.top-news-list-arrow {
    margin-left: auto;
    width: 30px;
    min-width: 30px;
    aspect-ratio: 1 / 1;
}
.top-news-list li a span.top-news-list-arrow img {
    width: 100%;
}
@media screen and (max-width: 1440px) {
    .top-news-list li a {
        padding: 24px 16px;
        font-size: 16px;
        gap: 32px;
    }
    .top-news-list li a span.top-news-list-arrow {
        width: 24px;
        min-width: 24px;
    }
}
@media screen and (max-width: 960px) {
    .top-news {
        padding: 96px 40px 80px;
    }
    .top-news-container {
        flex-direction: column;
        gap: 40px;
    }
    .top-news-list {
        width: 100%;
    }
    .top-news-list li a {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 14px;
    }
    .top-news-list li a span.top-news-list-arrow {
        width: 22px;
        min-width: 22px;;
    }
    
}
@media screen and (max-width: 720px) {
    .top-news {
        padding: 96px 20px 80px;
    }
}

/* Advantage */
.top-advantage {
	padding: 0 64px 180px;
}
.top-advantage-container {
	display: flex;
    flex-direction: column;
    align-items: center;
	margin: 0 auto;
	gap :60px;
	max-width: 1536px;
}
.top-advantage-title {
	text-align: center;
}
.top-advantage-contents ul {
	display: grid;
    align-items: center;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}
.top-advantage-contents ul li:hover {
	scale:1.2;
	transition: 0.6s;
}
@media screen and (max-width: 770px) {
	.top-advantage {
		padding: 0 20px 64px;
	}
	.top-advantage-container {
		gap: 40px;
	}
	.top-advantage-contents ul {
		grid-template-columns: repeat(2, 1fr);
		gap:14px;
	}
}
.top-advantage-contents ul li img {
	width: 100%;
}
.top-advantage .advantage-button {
	width: 100%;
    padding: 24px 20px;
    gap: 20px;
    height: auto;
	max-width: 300px;
}
.advantage-button .button-text {
	font-size: 18px;
}
.advantage-button .button-icon {
    width: 24px;
    height: 24px;
}
.advantage-button .button-icon img {
	width: 100%
}
/* school stakeholders */
.top-customer-menu {
    padding: 0 64px 180px;
    position: relative;
}
.top-customer-menu::after {
    content: "";
    display: block;
    background-image: url(/images/top-deco-2.svg);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 678px;
    z-index: -1;
}
.top-customer-menu-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 64px;
    margin: 0 auto;
    max-width: 1536px;
}
.top-customer-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
    max-width: 736px;
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: -4px 0px 32px 0px rgba(51, 51, 51, 0.20);
    padding: 48px 54px;
}

.top-customer-menu-title {
    text-align: center;
}

.top-customer-menu-image {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}
.top-customer-menu-image img {
    width: 100%;
}

.top-customer-menu-link {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.top-customer-menu-link ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
    width: 100%;
}
.top-customer-menu-link li {
    width: 100%;
}

.individual .top-customer-menu-link ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 32px 48px;
}

.top-customer-menu-link li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-blue-primary);
    font-size: 20px;
    font-weight: 500;
    transition: color 0.2s ease;
    width: 240px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-gray-light);
    position: relative;
}

.top-customer-menu-link li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--color-blue-primary);
    transition: width 0.2s ease;
}

.top-customer-menu-link li a:hover::after {
    width: 100%;
    transition: 0.2s;
}

.top-customer-menu-link li a:hover {
    color: var(--color-blue-secondary);
}

.individual .top-customer-menu-link {
    width: 90%;
    max-width: 416px;
}

.individual .top-customer-menu-link ul ,
.individual .top-customer-menu-link li a {
    width: 100%;
    font-size: 18px;
}
.top-customer-menu-text {
    font-size: 18px;
}
@media screen and (max-width: 1440px) {
    .top-customer-menu-link {
        width: 100%;
    }
    .top-customer-menu-link ul {
        grid-template-columns: repeat(1, 1fr);
    }
    .top-customer-menu-link li a {
        width: 100%;
    }
}
@media screen and (max-width: 960px) {
.top-customer-menu {
    padding: 0 20px 120px;
    position: relative;
}
    .top-customer-menu {
        padding: 0 40px 64px;
    }
    .top-customer-menu-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .top-customer-menu-link li a {
        font-size: 14px;
    }
    .top-customer-menu-text {
        font-size: 14px;
    }
    .individual .top-customer-menu-link {
        width: 100%;
    }
    .individual .top-customer-menu-link li a {
        font-size: 14px;
    }
    .mega-menu-icon img {
        width: 20px;
        min-width: 20px;
    }
}
@media screen and (max-width: 720px) {
    .top-customer-menu {
        padding: 0 20px 64px;
    }
    .top-customer-menu-item {
        gap: 24px;
        padding: 32px 24px;
    }
    .top-customer-menu-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .top-customer-menu-link li a {
        font-size: 14px;
    }
}


/* company */
.top-company {
    padding: 140px 64px 190px;
    position: relative;
}
.top-company::after {
    content: "";
    display: block;
    background-color: var(--color-gray-light);
    height: 40%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.top-company-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    margin: 0 auto;
    max-width: 1536px;
}

.top-company-title {
    text-align: center;
}

.top-company-link {
    width: 100%;
}
.top-company-link ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.top-company-link-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 450 / 400;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    background-size: 100%;
    background-position: center;
    transition: 0.2s ease;
}

.top-company-link-item:hover {
    background-size: 110%;
    transition: background-size 0.4s ease;
}

.top-company-link-item-title {
    align-self: flex-start;
    background-color: var(--color-white);
    padding: 20px;
    color: var(--color-blue-primary);
    font-size: 24px;
    letter-spacing: .05em;
    font-weight: bold;
    border-bottom-right-radius: 16px;
}


.top-company-link-item-link {
    align-self: flex-end;
    background-color: var(--color-blue-primary);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 16px 0 0 0;
    color: var(--color-white);
    font-size: 20px;
    font-weight: bold;
}

.top-company-link-item .right-icon {
    width: 30px;
    height: 30px;
}
.top-company-link-item .right-icon img {
    width: 100%;
}

@media screen and (max-width: 1440px) {
    .top-company-link-item-title {
        font-size: 18px;
        padding: 20px 30px;
    }
    .top-company-link-item-link {
        font-size: 16px;
        padding: 10px 24px;
    }
}
@media screen and (max-width: 960px) {
    .top-company {
        padding: 75px 40px 86px;
    }
    .top-company-link ul {
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
    }
    .top-company-link-item {
        aspect-ratio: 335 / 218;
        margin: 0 auto;
    }
    .top-company-link-item .right-icon {
        width: 24px;
        height: 24px;
    }
}
@media screen and (max-width: 720px) {
    .top-company {
        padding: 75px 20px 86px;
    }
    .top-company-container {
        gap: 32px;
    }
    .top-company-link ul {
        grid-template-columns: repeat(1, 1fr);
    }
    .top-company-link-item-title {
        font-size: 16px;
    }
    .top-company-link-item-link {
        font-size: 14px;
    }
    
}



/* contact */
.top-contact {
    padding: 124px 64px 158px;
    position: relative;
    background-image: url("../images/top-contact-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.top-contact-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 89px;
    margin: 0 auto;
    max-width: 1080px;
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 70px;
}

.top-contact-qa,
.top-contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.top-contact .top-h2-small {
    text-align: center;
    margin-bottom: 32px;
}
.top-contact-qa p  {
    font-size: 18px;
    line-height: 2;
    text-align: center;
    display: block;
    margin-bottom: 32px;
}
.top-contact-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    padding: 24px 32px;
    margin-bottom: 24px;
    border-radius: 16px;
    background-color: var(--color-blue-gray);
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-contact-detail {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-blue-primary);
}

.top-contact-item .icon {
    width: 24px;
    height: 24px;
}

.top-contact-hours {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
}
.top-contact-hours dl {
	display: flex;
    gap: 10px;
}
.top-contact-hours dl dt {
	color: var(--color-blue-primary);
    font-weight: 500;
}
.top-contact .cart-button ,
.top-contact .contact-button {
    width: 100%;
    padding: 24px 20px;
    gap: 20px;
    height: auto;
}
.top-contact .button-text {
    font-size: 18px;
}
.top-contact .button-icon {
    width: 24px;
    height: 24px;
}
.top-contact .button-icon img {
    width: 100%;
}
.top-contact-divider {
    display: block;
    width: 2px;
    background-color: var(--color-gray-light);
}
@media screen and (max-width: 1440px) {
    .top-contact-container {
        gap: 64px;
        padding: 70px 64px;
    }
}
@media screen and (max-width: 1110px) {
    .top-contact-hours {
    	align-items: center;
        font-size: 14px;
    }
	.top-contact-hours dl {
		flex-direction: column;
		gap: 4px;
	}
	.top-contact-hours dl dt {
		text-align: center;
	}
}
@media screen and (max-width: 960px) {
    .top-contact {
        padding: 50px 20px 95px;
    }
    .top-contact-qa p {
        font-size: 16px;
    }
    .top-contact .button-text {
        font-size: 14px;
    }
}
@media screen and (max-width: 720px) {
    .top-contact .top-h2-small {
        margin-bottom: 16px;
    }
    .top-contact-info {
        margin-bottom: 16px;
    }
    .top-contact-container {
        flex-direction: column;
        gap: 32px;
        padding: 32px 24px;
        max-width: 480px;
    }
    .top-contact-divider {
        width: 100%;
        height: 2px;
    }
    .top-contact-qa, .top-contact-form {
        max-width: 320px;
        margin: 0 auto;
    }
    .top-contact-qa p {
        font-size: 14px;
        margin-bottom: 16px;
    }
}
/*アニメーション付与*/
.text-in {
	clip-path: inset(0 100% 0 0);
	transition: 0.8s cubic-bezier(0.37, 0, 0.63, 1);
	transition-property: clip-path;
}
.text-in.start {
	clip-path: inset(0);
}
.fade-in {
	opacity: 0
}
.fade-in.start {
	animation: fadeup 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes fadeup {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}