@charset "UTF-8";

/*common.cssに移動？　下層共通かも*/
/* MESSAGEの見だし*/
.title_nextsub {
	width: 100%;
  margin-bottom: 60px;
}
.title_nextsub_inner {
	display: inline-block;
}
main > section:first-of-type > div:nth-of-type(2) h2.nextsub{
	font-size: 1.6rem;
	font-family: 'Corbel', Arial, sans-serif;
	font-style: italic;
}
					@media only screen and (max-width: 768px) {
						main > section:first-of-type > div:nth-of-type(2) h2.nextsub{
							font-size: 22px;
						}
						main > section:first-of-type > div:nth-of-type(2) h2 {
							margin-bottom: 2vw;
						}
					}

main > section:first-of-type p.title_nextsub-lead {
	font-size: 41px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.5;
	margin-top: -4px;
	color: #fff;
}

@media only screen and (min-width: 769px) {
    main > section:first-of-type > div:nth-of-type(2) {
        aspect-ratio: inherit;
    }
}

/*　ADVANCEBOXの見だし*/
main > section:nth-of-type(2) div:first-of-type .title_nextsub {
    width: 100%;
	display: flex;
	justify-content: flex-end;
}
main > section:nth-of-type(2) div:first-of-type .title_nextsub_inner {
	width: auto;
	display: inline-block;
}
main > section:nth-of-type(2) div.advantagebox h2.nextsub {
	margin-bottom: 2vw;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
	font-size: 1.2rem;
	font-family: 'Corbel', Arial, sans-serif;
	font-style: italic;
	color: #00A7FF;
	font-weight: 700;
	letter-spacing: -.01em;
}
main > section:nth-of-type(2) div:first-of-type p.title_nextsub-lead {
	font-size: 41px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.5;
	margin-top: -4px;
	color: #00A7FF;
}
						@media only screen and (max-width: 768px) {
							main > section:nth-of-type(2) div.advantagebox h2.nextsub{
								font-size: 22px;
							}
							main > section:nth-of-type(2) div:first-of-type .title_nextsub {
								width: 100%;
								display: flex;
								justify-content: flex-start;
							}
							main > section:nth-of-type(2) div:first-of-type p.title_nextsub-lead {
                margin-bottom: 20px;
								font-size: 36px;
                line-height: 1.4;
							}
						}
/*　TOP MESSAGEの見だし*/
main > section:nth-of-type(3) div:first-of-type .title_nextsub {
    width: 72vw;
	margin: 0 auto 40px;
}
main > section:nth-of-type(3) h2,
main > section:nth-of-type(3) div.topmessage:first-of-type {
	font-size: 1.6rem;
	font-family: 'Corbel', Arial, sans-serif;
	font-style: italic;
	color: #00A7FF;
	font-weight: 700;
	letter-spacing: -.01em;
}
main > section:nth-of-type(3) div:first-of-type p.title_nextsub-lead {
	font-size: 41px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.5;
	margin-top: -4px;
	color: #00A7FF;
  font-style: normal;
}
main > section:nth-of-type(3) div:first-of-type p.title_nextsub-lead .sp-only{
  display: none;
}

					@media only screen and (max-width: 768px) {
						main > section:first-of-type > div:nth-of-type(2) h2.title_nextsub {
							font-size: 1.8rem;
						}
						main > section:first-of-type p.title_nextsub-lead {
							font-size: 36px;
							line-height: 1.4;
						}
						main > section:nth-of-type(3) h2,
						main > section:nth-of-type(3) div.topmessage:first-of-type {
							font-size: 22px;
						}
						main > section:nth-of-type(3) div:first-of-type p.title_nextsub-lead {
							font-size: 36px;
						}
						main > section:nth-of-type(3) div:first-of-type p.title_nextsub-lead .sp-only{
              display: block;
            }
					}

h1.maintitle b {
font-weight: bold;
}
h1.maintitle b b {
opacity: 0;
display: inline-block;
}
h1.maintitle.aos-init.aos-animate b b {
animation: h1_anim 2s cubic-bezier(0,1.13,.52,.91) forwards;
}

@keyframes h1_anim {
0%{
opacity: 0;
}
100%{
opacity: 1;
transform: none;
}
}
h1.maintitle b b:nth-of-type(1) {
animation-delay: .1s !important;
transform: translateX(-1rem);
}
h1.maintitle b b:nth-of-type(2) {
animation-delay: .15s !important;
transform: translateX(-1.5rem);
}
h1.maintitle b b:nth-of-type(3) {
animation-delay: .2s !important;
transform: translateX(-2rem);
}
h1.maintitle b b:nth-of-type(4) {
animation-delay: .25s !important;
transform: translateX(-2.5rem);
}
h1.maintitle b b:nth-of-type(5) {
animation-delay: .3s !important;
transform: translateX(-3rem);
}
h1.maintitle b b:nth-of-type(6) {
animation-delay: .35s !important;
transform: translateX(-3.5rem);
}
h1.maintitle b b:nth-of-type(7) {
animation-delay: .4s !important;
transform: translateX(-4rem);
}
h1.maintitle b b:nth-of-type(8) {
animation-delay: .45s !important;
transform: translateX(-4.5rem);
}
h1.maintitle span {
opacity: 0;
transition: all .4s ease-in-out;
transition-delay: 1s;
}
h1.maintitle.aos-init.aos-animate span {
opacity: 1;
}

/* Parallax Animation */
[data-parallax] {
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.3, 1);
}

@media only screen and (min-width: 769px) {
    main > section:nth-of-type(2) .second_wrapper2{
        padding: 120px 0 160px;
    }
    main > section:nth-of-type(3) .second_wrapper3,
    main > section:nth-of-type(5) .second_wrapper5{
        padding: 180px 0 220px;
    }
    main > section:nth-of-type(4) .second_wrapper4{
        padding: 760px 0 280px;
    }
    main > section:nth-of-type(6) .second_wrapper6{
        padding: 220px 0 220px;
    }
}

main > section:nth-of-type(2) div:first-of-type{
  width: inherit;
}
main > section:nth-of-type(2) h2,
main > section:nth-of-type(3) h2{
  margin-bottom: 0;
  display: inherit;
  font-weight: normal;
  font-style: normal;
}
main > section:nth-of-type(2) div:first-of-type p{
  color: #000;
}
main > section:nth-of-type(2) .parallax{
  padding: 0;
}
main > section:nth-of-type(2) .parallax article{
  max-width: inherit;
}
main > section:nth-of-type(3) div:first-of-type p{
  color: inherit;
}
main > section:first-of-type > div.nextpage_div .second_wrapper{
  aspect-ratio: inherit;
  padding: 12vh 10vw 26vh;
}
main > section .second_wrapper3 {
    width: 100%;
    background-image: none;
    background: white;
    padding: 12vh 10vw;
    border-bottom-right-radius: 40vw;
}
main > section .second_wrapper4 {
    width: 100%;
    background-image: none;
    background: linear-gradient(45deg, #0ADFD5 0, #14BDEE 40%, #14BDEE 80%, #0ADFD5 100%);
    padding: 12vh 10vw;
    border-bottom-left-radius: 40vw;
}
main > section .second_wrapper5 {
    width: 100%;
    background-image: none;
    background: #EEF2F4;
    padding: 12vh 10vw;
    border-bottom-right-radius: 40vw;
}
#main_section3{
  position: relative;
  border-bottom-right-radius: 40vw;
  z-index: 100;
}
#main_section4{
  position: relative;
  margin-top: -600px;
  padding-top: 0;
  background: #EEF2F4;
  z-index: 1;
}
body.active nav.main{
  z-index: 9999;
}

#interview .theme-1 {
    --theme-bg: #3a7bd5; /* Solid blue background */
    --theme-text-a: #ffffff;
    --theme-text-b: #000000;
    --theme-profile-bg: #ffffff;
    --theme-bubble-text-bg: transparent;
    --theme-bubble-arrow-svg: url('https://www.on-tec.net/recruit/common/images/interview/bubble_white.svg');
}

#interview .theme-2 {
    --theme-bg: #f0f4f8;
    --theme-text-a: #000000;
    --theme-text-b: #ffffff;
    --theme-profile-bg: #00A7FF;
    --theme-bubble-text-bg: #00A7FF;
    --theme-bubble-arrow-svg: url('https://www.on-tec.net/recruit/common/images/interview/bubble_blue.svg'); /* This is a guess, please replace with the correct URL */
}

#interview .theme-3 {
    --theme-bg: #f0f4f8;
    --theme-text-a: #00A7FF;
    --theme-text-b: #ffffff;
    --theme-profile-bg: #00A7FF;
    --theme-bubble-text-bg: #00A7FF;
    --theme-bubble-arrow-svg: url('https://www.on-tec.net/recruit/common/images/interview/bubble_blue.svg'); /* This is a guess, please replace with the correct URL */
}

/* --- Layout & Components (Desktop First) --- */
#interview .theme-container {
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#interview .container {
    width: 100%;
    max-width: 80rem; /* 1280px */
    margin: 0 auto;
}

#interview .interview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1080px;
    width: 95%;
    margin: 0 auto;
}

#interview .second_wrapper .interview-grid {
    width: 100%;
}

#interview .interview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    text-align: center;
}

#interview .card-bubble-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#interview .bubble-text-container {
    background-color: var(--theme-bubble-text-bg);
    width: 100%;
}

#interview .card-title {
    color: var(--theme-text-a);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 0 8px;
    text-align: left;
}

#interview .bubble-arrow {
    width: 100%;
    margin-top: -15px;
}

#interview .card-body {
    margin-top: .3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    flex-direction: row;
}

#interview .click-circle {
    width: 110px;
    flex-shrink: 0;
    cursor: pointer;
}

#interview .click-circle-img {
    width: 110px;
    height: 110px;
    transition: transform 0.2s ease;
}
#interview .click-circle-img:hover {
    transform: scale(1.05);
}

#interview .profile-info {
    text-align: left;
    width: 100%;
}

#interview .profile-item {
    background-color: var(--theme-profile-bg);
    color: var(--theme-text-b);
    padding: 2px 6px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
}
#interview .profile-item:last-child {
    margin-bottom: 0;
}

/* --- Modal --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}
.modal.is-visible {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(58, 123, 213, 0.5);
}

.modal-bubble {
    position: relative;
    background-color: white;
    border-radius: 60px;
    padding: 2.5rem;
    width: 90%;
    max-width: 760px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal.is-visible .modal-bubble {
    transform: scale(1);
}

.modal-bubble::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 45px 22px 0;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.modal-text {
    color: #1f2937;
    font-size: 17px;
    line-height: 2;
}
.modal-text p + p {
    margin-top: 1rem;
}

.modal-footer {
    margin-top: 2rem;
    text-align: center;
}

.modal-close-btn {
    background-color: #00A7FF;
    color: white;
    padding: 0.5rem 5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 20px;
}
.modal-close-btn:hover {
    background-color: #2563eb;
}

@media (max-width: 1300px) {
  #interview .second_wrapper .interview-grid{
    position: relative;
    width: 95vw;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1000px) {
  #interview .card-title{
    font-size: 2.4vw;
  }
}

/* --- Responsive Styles (Mobile) --- */
@media (max-width: 768px) {
    #interview .second_wrapper .interview-grid{
        width: 100%;
        left: inherit;
        transform: inherit;
    }
    #interview .theme-container {
        padding: 0;
    }
    #interview .interview-grid {
        grid-template-columns: 1fr;
        gap: 6rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    #interview .interview-card{
        max-width: 380px;
        width: 100%;
    }
    #interview .card-title {
        padding: 0 15px;
        font-size: 28px;
    }
    #interview .click-circle-img {
        width: 12rem; /* 128px */
        height: 12rem; /* 128px */
    }
    #interview .card-body{
      margin-top: -12px;
    }
    main > section:nth-of-type(2) .parallax article{
      padding-top: 80px;
      padding-bottom: 160px !important;
    }
    main > section .second_wrapper3,
    main > section .second_wrapper5{
      padding: 18vw 5vw 30vw;
    }
    main > section .second_wrapper4{
      padding: 680px 5vw 30vw;
    }
    main > section .second_wrapper6{
      padding: 100px 5vw 0;
    }
    .modal-text {
        font-size: 16px;
        line-height: 1.8;
    }
    .modal-bubble {
        border-radius: 30px;
        width: 98%;
    }
}

@media only screen and (max-width: 1000px) {
  main > section:first-of-type > div:nth-of-type(2){
    aspect-ratio: inherit;
  }
  main > section:nth-of-type(2) .parallax article{
    padding-bottom: 120px;
  }

}

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

  main > section:first-of-type > div.nextpage_div .second_wrapper{
    padding-right: 6vw;
  }
  .title_nextsub{
    margin-bottom: 140px;
  }

}
