* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sp_only {
    display: none !important;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    width: 100%;
}

a {
    text-decoration: none;
}

h2 {
    margin-block-start: 0;
    margin-block-end: 0;
}

h3 {
    margin-block-start: 0;
    margin-block-end: 0;
}

ul {
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

p {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease;
}

#header.scrolled {
    background: rgb(115 134 165 / 50%);
}

.header-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    width: 220px;
    height: auto;
    margin-left: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.header-container .nav {
    display: flex;
    align-items: center;
}

.header-container .nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

.header-container .nav a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.header-container .nav a .nav-ja {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding-bottom: 1px;
    margin-bottom: 5px;
}

.header-container .nav a .nav-ja::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease-out;
}

.header-container .nav a:hover .nav-ja::after {
    width: 100%;
    right: auto;
    left: 0;
}

.header-container .nav a .nav-en {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

/* Header Buttons */
.header-container .button-group {
    display: flex;
    margin-left: 30px;
}

.header-container .btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 100px;
    transition: opacity 0.3s;
}

.header-container .btn:hover {
    opacity: 0.8;
}

.header-container .btn-primary {
    background: #329BBD;
}

.header-container .btn-secondary {
    background: #286FA1;
}

.header-container .btn-icon {
    display: block;
    width: 40px;
    height: 32px;
}

.header-container .btn-text {
    color: #ffffff;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.header-container .btn-primary .btn-text {
    letter-spacing: 0.35em;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 20px;
    margin-bottom: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}


/* top */
#top {
    position: relative;
    overflow: hidden;
    margin: 0;
}

#top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0A1A35 0%, #697384 50%, #FFFFFF 100%);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.top-video {
    display: block;
    width: 100%;
    height: auto;
}

.top-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
    text-align: center;
}

.top-container h1 {
    font-size: 4.375rem;
    font-weight: 900;
    color: #ffffff;
    transition: font-size 0.3s ease;
}

.top-container .sub-title {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 3.75rem;
    text-align: center;
    color: #ffffff;
    margin-top: 30px;
    transition: font-size 0.3s ease, line-height 0.3s ease;
}



/* 共通セクション */
section {
    margin: 80px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-container h2 {
    font-size: 100px;
    font-weight: 700;
    background: linear-gradient(90deg, #286FA1 0%, #13B1E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* margin-bottom: 10px; */
}

/* Vision */
#vision {
    background: linear-gradient(90deg, #FDFCFB 0%, #8BC6DA 100%);
    overflow: hidden;
    padding: 80px 0 0 0;
    margin: 0;
}

#vision .section-container {
    max-width: unset;
}

#vision .vision-container {
    position: relative;
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    margin: 0 auto;
    padding: 40px 0;
}

#vision .text-area {
    width: calc(100% / 2);
    max-width: 600px;
}

#vision .text-area .sub-title,
.content-header .sub-title {
    position: relative;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #111111;
    margin-bottom: 30px;
    padding-left: 25px;
}

#vision .text-area .sub-title::before,
.content-header .sub-title::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    width: 18px;
    height: 2px;
    background: #111111;
    z-index: 1;
    margin: auto;
}

#vision .text-area .text-content,
.content-header .text-content {
    font-size: 15px;
    line-height: 30px;
    color: #000000;
}

#vision .image-area {
    position: absolute;
    top: 50%;
    right: calc(-1 * (100vw - 1200px) / 2 - 80px);
    transform: translateY(-50%);
    width: clamp(400px, 52vw, 1000px);
    height: auto;
}

#vision .image-area img {
    width: 100%;
    height: auto;
}

/* スクロールアニメーション */
section {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

/* Vision Slide Area */
#vision .slide-area {
    background: #0A1A35;
    overflow: hidden;
    padding: 30px 0;
    margin-top: 40px;
    position: relative;
}

#vision .slide-area::before,
#vision .slide-area::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

#vision .slide-area::before {
    left: 0;
    background: linear-gradient(to right, #0A1A35, transparent);
}

#vision .slide-area::after {
    right: 0;
    background: linear-gradient(to left, #0A1A35, transparent);
}

#vision .visionSwiper {
    width: 100%;
    height: auto;
    overflow: visible;
}

#vision .swiper-wrapper {
    transition-timing-function: linear !important;
    display: flex;
    gap: 20px;
    will-change: transform;
}

#vision .swiper-wrapper.paused {
    /* JavaScriptで制御 */
}

#vision .swiper-slide {
    width: 265px !important;
    flex-shrink: 0;
}

#vision .swiper-slide.flex {
    display: inline-flex;
    width: 293px !important;
    flex-direction: column;
    gap: 10px;
}

#vision .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes slideLeftContinuous {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

/* 一時停止・再生ボタン */
.slide-control-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-control-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.slide-control-btn .pause-icon,
.slide-control-btn .play-icon {
    font-size: 12px;
    font-weight: bold;
}

.slide-control-btn .btn-text {
    white-space: nowrap;
}

/* works */
#works .section-container {
    max-width: unset;
}

#works .works-container .content-header {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

#works .works-content {
    display: flex;
    flex-direction: column;
    margin: 50px 0;
}

/* スライドアニメーション定義 */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* works-item 初期状態 */
#works .works-item {
    opacity: 0;
    visibility: hidden;
}

/* 1番目と3番目: 背景色（右側余白） */
#works .works-item:nth-child(odd) {
    background: linear-gradient(90deg, #F5F5F5 0%, #F5F5F5 calc(100% - max(40px, (100% - 1240px) / 2)), transparent calc(100% - max(40px, (100% - 1240px) / 2)));
    padding: 30px 0;
    transform: translateX(-100%);
}

#works .works-item:nth-child(odd).show {
    visibility: visible;
    opacity: 1;
    animation: slideInFromLeft 0.8s ease-out forwards;
}

#works .works-item:nth-child(1).show {
    animation-delay: 0s;
}

#works .works-item:nth-child(3).show {
    animation-delay: 0.4s;
}

#works .works-item:nth-child(odd) .works-item-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 30px;
    align-items: center;
}

/* 2番目: 背景色（左側余白） */
#works .works-item:nth-child(even) {
    background: linear-gradient(90deg, transparent 0%, transparent max(40px, (100% - 1240px) / 2), #E0E0E0 max(40px, (100% - 1240px) / 2), #E0E0E0 100%);
    padding: 30px 0;
    transform: translateX(100%);
}

#works .works-item:nth-child(even).show {
    visibility: visible;
    opacity: 1;
    animation: slideInFromRight 0.8s ease-out forwards;
}

#works .works-item:nth-child(2).show {
    animation-delay: 0.2s;
}

#works .works-item:nth-child(even) .works-item-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 30px;
    align-items: center;
}

#works .works-item-image {
    position: relative;
    flex: 0.77;
    border-radius: 30px;
    overflow: hidden;
}

#works .works-item-image .on-text {
    position: absolute;
    display: flex;
    top: 50%;
    left: 0;
    margin: auto;
    flex-direction: column;
}

#works .works-item-image .on-text p {
    position: relative;
    display: inline-block;
    width: fit-content;
    font-size: 18px;
    color: #0A1A35;
    letter-spacing: 0.1em;
    font-weight: 400;
    margin-bottom: 3px;
    padding: 10px 27px;
    z-index: 1;
}

#works .works-item-image .on-text p::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    background: rgb(255 255 255 / 70%);
    z-index: -1;
}

#works .works-item-textarea {
    flex: 1;
}

#works .works-item:nth-child(odd) .works-item-textarea {
    padding-right: 20px;
}

#works .works-item:nth-child(even) .works-item-textarea {
    padding-left: 20px;
}

#works .works-item-textarea .works-item-title h3 {
    font-size: 21px;
    font-weight: 700;
    line-height: 40px;
}

#works .works-item-textarea .works-item-text .text {
    font-size: 15px;
    font-weight: 400;
    line-height: 30px;
}

#works .works-item-textarea .works-item-text .text p:first-child {
    margin-bottom: 10px;
}

#works .works-item-textarea .works-item-text .skill {
    display: flex;
    width: 120px;
    height: 35px;
    background: #0A1A35;
    border-radius: 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

#works .works-item-textarea .works-item-text .skill-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#works .works-item-textarea .works-item-text .skill-list,
#works .works-item-textarea .skill-text {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    line-height: 21px;
    margin-bottom: 20px;
}

#works .works-item-textarea .works-item-text .skill-list li {
    position: relative;
    padding-left: 15px;
}

#works .works-item-textarea .works-item-text .skill-list li::before {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    top: 6px;
    left: 0;
    background: #000000;
    border-radius: 50%;
}

#works .works-item-textarea .works-item-text .skill-list ul li .skill-list-item-content.list {
    display: block;
}

#works .works-item-textarea .works-item-text .skill-list li .skill-list-item-content.list li {
    position: relative;
    padding-left: 15px;
    margin-top: 0;
}

#works .works-item-textarea .works-item-text .skill-list li .skill-list-item-content.list li::before {
    position: absolute;
    content: "";
    width: 7px;
    height: 1px;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

#works .works-item-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 240px;
    height: 50px;
    background: linear-gradient(90deg, #329BBD 0%, #286FA1 100%);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 30px;
}

#works .works-item-btn:hover {
    opacity: 0.8;
}

#works .works-item-btn .btn-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

#works .works-item-btn .btn-icon {
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    margin: auto;
    transition: transform 0.3s ease;
}

#works .works-item-btn:hover .btn-icon {
    transform: translateX(5px);
}

#works .works-item-btn .btn-icon::before {
    content: "";
    width: 9px;
    height: 1px;
    background: linear-gradient(90deg, #329BBD 0%, #286FA1 100%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#works .works-item-btn .btn-icon::after {
    position: absolute;
    content: "";
    top: 50%;
    left: calc(50% + 2px);
    width: 5px;
    height: 5px;
    border-top: 1px solid #329BBD;
    border-right: 1px solid #286FA1;
    transform: translate(-50%, -50%) rotate(45deg);
}

#people {
    position: relative;
    padding: 0;
}

#people::after {
    content: '';
    position: absolute;
    top: var(--hero-half-height, 0);
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    z-index: -1;
}

.people-hero {
    position: relative;
    width: 100%;
    height: auto;
    padding-left: 40px;
    box-sizing: border-box;
    overflow: visible;
    margin-bottom: 50px;
}

.hero-wrap {
    position: relative;
    height: 100%;
    margin-left: calc((100vw - 1200px) / 2);
    margin-right: 0;
    border-radius: 60px 0 0 60px;
    overflow: hidden;
}

.people-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.people-hero-text {
    position: absolute;
    display: flex;
    height: 100%;
    top: 45%;
    left: 0;
    transform: translateY(-50%);
    margin: auto;
    gap: 5px;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
}

.people-hero-text .people-hero-line {
    display: flex;
    width: 0;
    height: clamp(60px, 8vw, 100px);
    font-size: clamp(24px, 3.5vw, 40px);
    letter-spacing: 0.1em;
    color: #ffffff;
    background: #0A1A35;
    text-align: center;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.5s ease-out;
}

.people-hero-text .people-hero-line.show {
    width: clamp(280px, 35vw, 500px);
}

.people-hero-text .people-hero-line:nth-child(1) {
    transition-delay: 0s;
}

.people-hero-text .people-hero-line:nth-child(2) {
    transition-delay: 0.15s;
}

.people-hero-text .people-hero-line:nth-child(3) {
    transition-delay: 0.3s;
}

.people-hero-line:last-child {
    border-bottom: none;
}

.people-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
    overflow: visible;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 30px;
}

.slider-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: background 0.3s;
}

.slider-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
}

.slider-btn.prev::after {
    transform: rotate(224deg);
}

.slider-btn:hover {
    background: #555;
}

.slider-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.people-slides {
    width: 100vw;
    margin-left: calc(-1 * max(20px, (100vw - 1200px) / 2));
    overflow: hidden;
}

.people-slides-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-out;
    padding-left: calc(max(20px, (100vw - 1200px) / 2));
}

.people-slide .slideimg-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.people-slide {
    flex-shrink: 0;
    width: 350px;
}

.people-slide .slide-img-area {
    width: 100%;
}

.people-slide .slide-img-area .slideimg-wrap {
    position: relative;
    width: 100%;
    height: 425px;
    border-radius: 30px;
    overflow: hidden;
}

.people-slide .slide-img-area .slideimg-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.img-text-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #ffffff;
    padding: 0 20px 20px 20px;
    z-index: 2;
}

.img-text-wrap .title {
    font-size: 16px;
    font-weight: 700;
}

.img-text-wrap .entry-cont {
    font-size: 12px;
    font-weight: 400;
    margin-top: 20px;
}

.img-text-wrap .name {
    font-size: 18px;
    font-weight: 700;
}

.img-text-wrap .name .en {
    display: inline-block;
    margin-left: 10px;
    font-weight: 400;
}

.slid-textarea {
    margin-top: 20px;
    padding: 0 15px 20px 15px;
}

.slid-textarea ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slid-textarea li {
    margin-bottom: 20px;
}

.slid-textarea li:last-child {
    margin-bottom: 0;
}

.slid-textarea li:nth-child(1) {
    min-height: 200px;
}

.slid-textarea li:nth-child(2) {
    min-height: 250px;
}

.slid-textarea li:nth-child(3) {
    min-height: 200px;
}

.slid-textarea li .list-title {
    position: relative;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: linear-gradient(#13B1E5 0%, #286FA1 100%);
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.slid-textarea li .list-text {
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    line-height: 1.6;
}



#environment .section-container {
    max-width: none;
}

#environment .section-container .content-header {
    max-width: 1200px;
    margin: 0 auto;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 50px auto 0 auto;
}

.environment-item {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.environment-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.environment-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 53, 0.6);
}

.environment-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    color: #ffffff;
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.environment-item:nth-child(odd) .environment-content {
    margin-left: auto;
}

.environment-number {
    font-family: "Commissioner", sans-serif;
    font-size: 45px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1;
}

.environment-title {
    position: relative;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.environment-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    bottom: -10px;
    background: linear-gradient(to right, #ffffff 0%, #2870A2 100%);
}

.environment-text {
    height: 90px;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
}


/* Flow Steps */
.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    padding: 0 40px;
}

.flow-step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 120px;
    height: 100px;
    margin: 0 auto 20px;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-number {
    font-family: "Commissioner", sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #329BBD 0%, #286FA1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    height: 30px;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #111111;
    margin-bottom: 10px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-description {
    height: 100px;
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
}

.step-description a {
    color: #329BBD;
    text-decoration: underline;
}

.step-description a:hover {
    opacity: 0.7;
}

.flow-arrow {
    position: relative;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #329BBD 0%, #286FA1 100%);
    flex-shrink: 0;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    margin: auto;
    border-top: 2px solid;
    border-right: 2px solid;
    border-image: linear-gradient(to right, #329BBD 0%, #286FA1 100%);
    border-image-slice: 1;
    transform: rotate(45deg);
    box-sizing: border-box;
}

/* Entry Section */
#entry {
    position: relative;
    padding: 80px 20px;
    margin-bottom: 0;
}

#entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/entry-bg.jpg') center center / cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}


.form-card {
    width: 100%;
    background: #ffffff;
    border-radius: 60px;
    padding: 40px;
    margin: 50px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-intro {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.form-section {
    margin-bottom: 30px;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.coment {
    position: relative;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-left: 5px;
    padding-left: 12px;
}

.coment::before {
    position: absolute;
    content: "※";
    left: 0;
    font-size: 10px;
    line-height: 18px;
}

.required-badge {
    display: flex;
    width: 80px;
    height: 32px;
    background: #D64886;
    color: rgb(255, 255, 255);
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 400;
    font-size: 14px;
    margin-right: 10px;
    justify-content: center;
    align-items: center;
}

.optional-badge {
    background: #757575;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 8px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    border-radius: 4px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    margin-right: 6px;
}

.radio-option label {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.name-fields,
.furigana-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
}

.field-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    height: 80px;
    padding: 12px;
    background: #E7F1F3;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #0277bd;
}

.field-note {
    font-size: 14px;
    color: #111111;
}

.field-note li {
    position: relative;
    padding-left: 20px;
}

.field-note li::before {
    position: absolute;
    content: "※";
    left: 0;
    font-size: 14px;
}

.file-upload-group {
    padding: 0;
    border-radius: 4px;
}

.file-upload-item {
    margin-bottom: 20px;
}

.file-upload-item:last-child {
    margin-bottom: 0;
}

.file-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
}

.file-input-box {
    display: flex;
    align-items: center;
    background: #E7F1F3;
    padding: 20px;
    border-radius: 10px;
    gap: 20px;
}

.file-select-btn {
    display: inline-block;
    width: 250px;
    padding: 12px 30px;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #111111;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
    text-align: center;
}

.file-select-btn:hover {
    background: #f5f5f5;
}

.file-status {
    font-size: 14px;
    color: #666666;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

input[type="file"] {
    width: 100%;
    height: 80px;
    padding: 25px 10px;
    border: none;
    background: #E7F1F3;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    align-items: center;
}

textarea {
    min-height: 200px;
    resize: vertical;
}

.privacy-section {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.privacy-content {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
}

.privacy-checkbox input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 3px;
}

.privacy-checkbox label {
    font-size: 13px;
    cursor: pointer;
}

.submit-section {
    text-align: center;
}

.submit-note {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.submit-note a {
    display: inline-block;
    color: #329BBD;
    text-decoration: underline;
    margin-right: 5px;
}

.privacy-consent-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.privacy-consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;
    flex-shrink: 0;
    accent-color: #329BBD;
    cursor: pointer;
}

.privacy-consent-section .error-message {
    text-align: center;
    letter-spacing: normal;
}

.privacy-consent-section.has-error input[type="checkbox"] {
    outline: 2px solid #d32f2f;
    outline-offset: 2px;
}

.submit-button {
    position: relative;
    display: flex;
    width: 450px;
    height: 70px;
    background: linear-gradient(to right, #329BBD 0%, #286FA1 50%, #329BBD 100%);
    background-size: 200% 100%;
    background-position: left;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-position 0.5s ease;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.submit-button::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 1px;
    top: 0;
    right: 40px;
    bottom: 0;
    background: #ffffff;
    margin: auto;
    transition: right 0.3s ease;
}

.submit-button::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 40px;
    width: 8px;
    height: 8px;
    margin: auto;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: rotate(45deg);
    box-sizing: border-box;
    transition: right 0.3s ease;
}

.submit-button:hover {
    background-position: right;
}

.submit-button:hover::before {
    right: 20px;
}

.submit-button:hover::after {
    right: 20px;
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.error-message {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-section.has-error input,
.form-section.has-error textarea {
    border-color: #d32f2f;
    background-color: #fff5f5;
}

.form-section.has-error .error-message {
    display: block;
}

/* 送信完了・エラーモーダル */
.submit-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 100px;
}

.submit-modal.show {
    display: flex;
}

.submit-modal-content {
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.submit-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B4EAFC 0%, #329BBD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-modal-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 3;
}

.submit-modal-icon.error {
    background: linear-gradient(135deg, #ffcdd2 0%, #ef5350 100%);
}

.submit-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #286FA1 0%, #13B1E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.submit-modal-title.error {
    background: linear-gradient(90deg, #d32f2f 0%, #ef5350 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.submit-modal-message {
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 14px;
}

.submit-modal-message p {
    margin-bottom: 15px;
}

.submit-modal-message p:last-child {
    margin-bottom: 0;
}

.submit-modal-button {
    display: inline-block;
    background: linear-gradient(90deg, #286FA1 0%, #13B1E5 100%);
    color: white;
    padding: 14px 50px;
    border-radius: 30px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}

.submit-modal-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.submit-modal-button.error {
    background: #757575;
}

.submit-modal-button.error:hover {
    background: #616161;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #000;
}

.modal-body h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0A1A35;
}

.modal-body .modal-section {
    margin-bottom: 30px;
}

.modal-body .modal-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0A1A35;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #13B1E5;
}

.modal-body .modal-section p,
.modal-body .modal-section ul {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.modal-body .modal-section ul {
    padding-left: 20px;
}

.modal-body .modal-section ul li {
    margin-bottom: 8px;
}

.modal-body .modal-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.modal-body .modal-section table th,
.modal-body .modal-section table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 14px;
}

.modal-body .modal-section table th {
    background-color: #f5f5f5;
    font-weight: 600;
    width: 30%;
}

.modal-body .modal-section table td {
    background-color: #fff;
}

/* Media Query for top-container (1450px以下) */
@media (max-width: 90.625em) {
    .top-container h1 {
        font-size: 3.7rem;
    }

    .top-container .sub-title {
        font-size: 1.875rem;
        line-height: 3.125rem;
    }
}

/* Media Query for top-container (1200px以下) */
@media (max-width: 75em) {
    .top-container h1 {
        font-size: 3rem;
    }

    .top-container .sub-title {
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
}

/* Media Query for top-container (992px以下) */
@media (max-width: 62em) {
    .top-container h1 {
        font-size: 2.3rem;
    }

    .top-container .sub-title {
        font-size: 1.25rem;
        line-height: 2rem;
    }
}

/* Footer */
#footer {
    background: linear-gradient(to bottom right, #B4EAFC 0%, #329BBD 50%, #286FA1 100%);
    padding: 60px 0 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
}

.footer-container .footer-nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    flex: 1;
    color: #002B69;
    max-width: 400px;
}

.footer-logo {
    width: 300px;
}

.footer-site-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-company-info {
    margin-bottom: 30px;
}

.footer-company-info p {
    font-size: 14px;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.company-name {
    margin-bottom: 5px;
}

.corporate-btn {
    position: relative;
    display: flex;
    width: 360px;
    height: 70px;
    align-items: center;
    background: #002B69;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.5s ease, color 0.5s ease, border 0.5s ease;
    justify-content: center;
}

.corporate-btn .btn-icon {
    position: absolute;
    width: 21px;
    height: 21px;
    right: 50px;
}

svg#corporate-icon {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 1.2px;
    transition: stroke 0.5s ease;
}

.corporate-btn:hover {
    background: #ffffff;
    color: #002B69;
    border: 1px solid #002B69;
}

.corporate-btn:hover svg#corporate-icon {
    stroke: #002B69;
}

.corporate-btn:hover .btn-arrow::before {
    background: #002B69;
}

.corporate-btn:hover .btn-arrow::after {
    border-top-color: #002B69;
    border-right-color: #002B69;
}

.corporate-btn .btn-arrow {
    position: absolute;
    right: 20px;
    width: 16px;
    height: 16px;
}

.corporate-btn .btn-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 1px;
    background: #ffffff;
    transform: translateY(-50%);
    transition: background 0.5s ease;
}

.corporate-btn .btn-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: translateY(-50%) rotate(45deg);
    transition: border-color 0.5s ease;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.footer-nav-col {
    list-style: none;
}

.footer-nav-col li {
    position: relative;
    margin-bottom: 20px;
}

.footer-nav-col li a {
    display: flex;
    width: 220px;
    height: 60px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
    border-bottom: 1px solid #ffffff;
    align-items: center;
    justify-content: space-between;
}

.footer-nav-col li a:hover {
    opacity: 0.7;
}

.footer-nav-col li a:hover .arrow {
    transform: translateX(-5px);
}

.footer-nav-col li a .arrow {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.footer-nav-col li a .arrow::before {
    position: absolute;
    content: "";
    width: 9px;
    height: 1px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #329BBD 0%, #286FA1 100%);
    margin: auto;
}

.footer-nav-col li a .arrow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 5px;
    width: 5px;
    height: 5px;
    margin: auto;
    border-top: 1px solid #286FA1;
    border-right: 1px solid #286FA1;
    transform: rotate(45deg);
    box-sizing: border-box;
}

.footer-bottom {
    background: rgba(10, 26, 53, 0.3);
    padding: 20px 0;
}

.footer-bottom-container {
    display: flex;
    height: 60px;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-top: 20px;
}

.footer-copyright {
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
}

/* トップへ戻るボタン */
.scroll-to-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, #329BBD 0%, #286FA1 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1100px) {
    .hamburger {
        display: flex;
    }

    .hamburger.active span {
        background: #002B69;
    }

    .logo {
        position: relative;
        z-index: 1002;
    }

    .header-container .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(90deg, #FDFCFB 0%, #8BC6DA 100%);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 120px 20px 40px 20px;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .header-container .nav.active {
        right: 0;
    }

    .header-container .nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .header-container .nav ul li {
        width: 100%;
    }

    .header-container .nav ul li a {
        position: relative;
        display: flex;
        max-width: 700px;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
        color: #002B69;
        margin: 0 auto;
    }

    .header-container .nav ul li a::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 1px;
        bottom: 0;
        background: linear-gradient(to left, #ffffff 0%, #2870A2 100%);
    }

    .header-container .nav a .nav-ja {
        font-size: 20px;
        font-weight: 400;
        margin-bottom: 0;
        padding-bottom: 0;
        color: #002B69;
        margin-right: 10px;
    }

    .header-container .nav a .nav-ja::after {
        display: none;
    }

    .header-container .nav a .nav-en {
        font-size: 14px;
        color: #002B69;
    }

    .header-container .button-group {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 15px;
        margin-left: 0;
        margin-top: 30px;
    }

    .header-container .btn {
        display: flex;
        max-width: 300px;
        width: 100% !important;
        height: 70px !important;
        border-radius: 40px;
        flex-direction: row;
        gap: 20px;
    }

    .header-container .btn.btn-primary .btn-icon {
        width: 40px;
        height: 40px;
    }

    .header-container .btn-text {
        width: 100px;
        font-size: 18px !important;
        margin-top: 0 !important;
    }
}

/* Header ロゴとボタンのレスポンシブ */
@media (max-width: 96rem) {

    /* 1536px */
    #header {
        height: 80px;
    }

    .logo a {
        width: 180px;
        margin-left: 16px;
    }

    .header-container .btn {
        width: 95px;
        height: 80px;
    }

    .header-container .btn-icon {
        width: 32px;
        height: 26px;
    }

    .header-container .btn-text {
        font-size: 12px;
        margin-top: 6px;
    }
}

/* デザイン維持のまま80%で、レスポンシブ */
@media (max-width: 96rem) {

    /* 1536px = 96rem */
    .section-container {
        max-width: 60rem;
    }

    .content-header {
        width: calc(100% - 40px) !important;
        margin: 0 auto;
    }

    #vision {
        padding: 4rem 0 0 0;
    }

    #vision .vision-container {
        max-width: 60rem;
        width: calc(100% - 20px);
    }

    .section-container h2 {
        font-size: 5rem;
    }

    #vision .text-area .sub-title,
    .content-header .sub-title {
        font-size: 1.23rem;
    }

    #vision .text-area .text-content,
    .content-header .text-content {
        font-size: 14px;
        line-height: 1.5rem;
    }

    #vision .image-area {
        width: clamp(400px, 52vw, 800px);
        right: calc(-1 * (100vw - 60rem) / 2 - 80px);
    }

    #vision .text-area .sub-title::before,
    .content-header .sub-title::before {
        width: 0.9rem;
        height: 0.1rem;
    }

    #vision .text-area .sub-title,
    .content-header .sub-title {
        margin-bottom: 1.5rem;
        padding-left: 1.25rem;
    }

    /* works レスポンシブ */
    #works .works-container .content-header {
        max-width: 60rem;
    }

    #works .works-item:nth-child(odd) .works-item-inner,
    #works .works-item:nth-child(even) .works-item-inner {
        max-width: 60rem;
        padding: 0 1.25rem;
        gap: 1.25rem;
    }

    #works .works-item-image {
        border-radius: 1.25rem;
    }

    #works .works-item-image .on-text p {
        font-size: 0.875rem;
        padding: 0.625rem 1.6875rem;
    }

    #works .works-item-textarea .works-item-title h3 {
        font-size: 1.125rem;
        line-height: 1.6;
    }

    #works .works-item-textarea .works-item-text .text {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    /* people レスポンシブ */
    .people-hero {
        padding-left: 2rem;
        margin-bottom: 2.5rem;
    }

    .hero-wrap {
        margin-left: calc((100vw - 60rem) / 2);
        border-radius: 3rem 0 0 3rem;
    }

    .people-hero-text .people-hero-line {
        height: clamp(3.5rem, 6vw, 5rem);
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }

    .people-hero-text .people-hero-line.show {
        width: clamp(15rem, 30vw, 25rem);
    }

    .people-slider {
        max-width: 60rem;
        padding-bottom: 4rem;
    }

    .slider-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .slider-btn::after {
        width: 0.5rem;
        height: 0.5rem;
    }

    .people-slides {
        margin-left: calc(-1 * max(1rem, (100vw - 60rem) / 2));
    }

    .people-slides-wrapper {
        gap: 1rem;
        padding-left: calc(max(1rem, (100vw - 60rem) / 2));
    }

    .people-slide {
        width: 17.5rem;
    }

    .people-slide .slide-img-area .slideimg-wrap {
        height: 21.25rem;
        border-radius: 1.5rem;
    }

    .img-text-wrap {
        padding: 0 1rem 1rem 1rem;
    }

    .img-text-wrap .title {
        font-size: 0.875rem;
    }

    .img-text-wrap .entry-cont {
        font-size: 0.6875rem;
    }

    .slid-textarea {
        padding: 1rem;
    }

    /* environment レスポンシブ */
    #environment .section-container .content-header {
        max-width: 60rem;
    }

    .environment-grid {
        margin: 2.5rem auto 0 auto;
    }

    .environment-item {
        height: clamp(14rem, 22vw, 17rem);
    }

    .environment-content {
        padding: 1rem;
    }

    .environment-number {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
        margin-bottom: 0.5rem;
    }

    .environment-title {
        font-size: clamp(0.875rem, 1.4vw, 1.05rem);
        margin-bottom: 1rem;
    }

    .environment-text {
        height: auto;
        font-size: clamp(0.7rem, 1vw, 0.8rem);
        line-height: 1.6;
    }

    /* flow レスポンシブ */
    .flow-steps {
        gap: clamp(1rem, 2vw, 1.5rem);
        margin-top: 3rem;
        padding: 0 2rem;
        align-items: flex-start;
    }

    .flow-step {
        max-width: clamp(10rem, 16vw, 12.5rem);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .step-icon {
        width: clamp(4.5rem, 8vw, 6rem);
        height: clamp(3.75rem, 6.5vw, 5rem);
        margin-bottom: 1rem;
    }

    .step-number {
        font-size: clamp(1rem, 1.6vw, 1.2rem);
        margin-bottom: 0.5rem;
        height: 24px;
    }

    .step-title {
        font-size: clamp(1rem, 1.6vw, 1.2rem);
        margin-bottom: 0.5rem;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .step-description {
        height: auto;
        font-size: clamp(0.65rem, 1vw, 0.75rem);
        line-height: 1.6;
    }

    .flow-arrow {
        width: clamp(1rem, 2vw, 1.5rem);
        margin-top: 80px;
    }
}

@media (max-width: 1000px) {

    /* works 縦並びレイアウト - 背景を元のデザインに近づける */
    #works .works-item:nth-child(odd) {
        background: linear-gradient(90deg, #F5F5F5 0%, #F5F5F5 calc(100% - 40px), transparent calc(100% - 40px));
    }

    #works .works-item:nth-child(even) {
        background: linear-gradient(90deg, transparent 0%, transparent 40px, #E0E0E0 40px, #E0E0E0 100%);
    }

    #works .works-item:nth-child(odd) .works-item-inner,
    #works .works-item:nth-child(even) .works-item-inner {
        flex-direction: column;
        max-width: calc(100% - 80px);
        padding: 0 1.25rem;
        gap: 1.5rem;
        margin: 0 auto;
    }

    #works .works-item:nth-child(even) .works-item-image {
        order: -1;
    }

    #works .works-item-image {
        flex: none;
        width: 100%;
        max-width: 25rem;
        margin: 0 auto;
    }

    #works .works-item-textarea {
        flex: none;
        width: 100%;
    }

    #works .works-item:nth-child(odd) .works-item-textarea,
    #works .works-item:nth-child(even) .works-item-textarea {
        padding: 0;
    }

    #works .works-item-textarea .works-item-text .skill-list ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 2rem;
    }

    #works .works-item-textarea .works-item-text .skill-list {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    #works .works-item-textarea .works-item-text .skill-list-item-title {
        font-size: 0.875rem;
    }

    #works .works-item-btn {
        margin: 1.5rem auto 0;
    }

    #works .works-item-btn .btn-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #works .works-item-btn .btn-icon::before {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #works .works-item-btn .btn-icon::after {
        top: 50%;
        left: calc(50% + 2px);
        transform: translate(-50%, -50%) rotate(45deg);
    }

    /* people レスポンシブ 1000px以下 */
    .people-hero {
        padding-left: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-wrap {
        margin-left: 0;
        border-radius: 2rem 0 0 2rem;
    }

    .people-hero-text .people-hero-line {
        height: clamp(2.5rem, 8vw, 3.5rem);
        font-size: clamp(1rem, 3vw, 1.5rem);
        padding: 0 1rem;
    }

    .people-hero-text .people-hero-line.show {
        width: clamp(13rem, 44vw, 18rem);
    }

    .people-slider {
        max-width: 100%;
        padding: 0 1rem 3rem;
    }

    .slider-controls {
        margin-bottom: 1.5rem;
    }

    .slider-btn {
        width: 2rem;
        height: 2rem;
    }

    .slider-btn::after {
        width: 0.4rem;
        height: 0.4rem;
    }

    .people-slides {
        margin-left: 0;
        width: 100%;
    }

    .people-slides-wrapper {
        gap: 0.75rem;
        padding-left: 1rem;
    }

    .people-slide {
        width: clamp(12rem, 45vw, 17rem);
    }

    .people-slide .slide-img-area .slideimg-wrap {
        height: clamp(14rem, 50vw, 20rem);
        border-radius: 1rem;
    }

    .img-text-wrap {
        padding: 0 0.75rem 0.75rem 0.75rem;
    }

    .img-text-wrap .title {
        font-size: 0.75rem;
    }

    .img-text-wrap .entry-cont {
        font-size: 0.625rem;
    }

    .slid-textarea {
        padding: 0.75rem;
    }

    /* footer レスポンシブ 1000px以下 */
    #footer {
        padding: 3rem 0 0 0;
    }

    .footer-container {
        padding: 0 2rem 3rem 2rem;
    }

    .footer-container .footer-nav-wrap {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .footer-left {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        width: 18rem;
        margin: 0 auto;
    }

    .footer-site-label {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .footer-company-info {
        margin-bottom: 1.5rem;
    }

    .footer-company-info p {
        font-size: 0.875rem;
    }

    .corporate-btn {
        width: 100%;
        max-width: 24rem;
        height: 4rem;
        font-size: 1.125rem;
        margin: 0 auto;
    }

    .corporate-btn .btn-icon {
        width: 1.25rem;
        height: 1.25rem;
        right: 3rem;
    }

    .corporate-btn .btn-arrow {
        right: 1.25rem;
    }

    .footer-right {
        width: 100%;
        align-items: center;
    }

    .footer-nav {
        flex-direction: row;
        gap: 3rem;
        width: 100%;
        justify-content: center;
    }

    .footer-nav-col {
        width: auto;
    }

    .footer-nav-col li {
        margin-bottom: 0.75rem;
    }

    .footer-nav-col li a {
        width: auto;
        min-width: 12rem;
        height: 3rem;
        font-size: 0.9375rem;
    }

    .footer-nav-col li a .arrow {
        width: 1.25rem;
        height: 1.25rem;
    }

    .footer-nav-col li a .arrow::before {
        width: 0.5rem;
    }

    .footer-nav-col li a .arrow::after {
        width: 0.3rem;
        height: 0.3rem;
        right: 0.3rem;
    }

    .footer-bottom {
        padding: 1.25rem 0;
    }

    .footer-bottom-container {
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1rem;
        padding: 0 1.5rem;
    }

    .footer-certifications {
        flex-shrink: 0;
    }

    .footer-certifications img {
        height: 3.5rem;
        width: auto;
    }

    .footer-copyright {
        font-size: 0.75rem;
        text-align: center;
        width: 100%;
    }

    /* entry フォーム レスポンシブ 1000px以下 */
    #entry {
        padding: 3rem 1rem;
    }

    #entry .section-container {
        max-width: 100%;
    }

    .form-card {
        border-radius: 2rem;
        padding: 1.5rem;
        margin: 2rem auto;
    }

    .form-intro {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .form-section {
        margin-bottom: 1.5rem;
    }

    .form-label {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        font-size: 1rem;
    }

    .required-badge {
        width: 4rem;
        height: 1.5rem;
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .coment {
        font-size: 0.75rem;
        width: 100%;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .radio-group {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .radio-option label {
        font-size: 0.875rem;
    }

    .name-fields,
    .furigana-fields {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .field-group label {
        font-size: 0.75rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        height: 3.5rem;
        padding: 0.75rem;
        font-size: 0.875rem;
        border-radius: 0.5rem;
    }

    input[type="file"] {
        height: 3.5rem;
        padding: 1rem 0.5rem;
        font-size: 0.875rem;
    }

    textarea {
        min-height: 10rem;
    }

    .field-note {
        font-size: 0.75rem;
    }

    .file-upload-item {
        margin-bottom: 1rem;
    }

    .file-label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .file-input-box {
        padding: 1rem;
        gap: 1rem;
    }

    .file-select-btn {
        width: auto;
        min-width: 10rem;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .file-status {
        font-size: 0.75rem;
    }

    .privacy-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .privacy-content {
        font-size: 0.6875rem;
        margin-bottom: 1rem;
    }

    .privacy-checkbox label {
        font-size: 0.75rem;
    }

    .submit-note {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .submit-button {
        width: 100%;
        max-width: 20rem;
        height: 3.5rem;
        font-size: 0.875rem;
        border-radius: 1.5rem;
    }

    .submit-button::before {
        width: 2rem;
        right: 2rem;
    }

    .submit-button::after {
        right: 2rem;
        width: 0.4rem;
        height: 0.4rem;
    }

    .submit-button:hover::before,
    .submit-button:hover::after {
        right: 1rem;
    }

    .error-message {
        font-size: 0.6875rem;
    }

    /* トップへ戻るボタン レスポンシブ */
    .scroll-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    .scroll-to-top svg {
        width: 1rem;
        height: 1rem;
    }
}

@media (max-width: 890px) {
    #vision .vision-container {
        display: block;
        max-width: 100%;
        padding: 20px 0;
    }

    #vision .text-area {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }

    #vision .image-area {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 35rem;
        height: auto;
        margin: 2rem auto 0;
    }

    #vision .image-area img {
        width: 100%;
        height: auto;
    }

    #vision .text-area .text-content .adjust,
    .content-header .text-content .adjust {
        display: none;
    }

    .environment-text .adjust {
        display: none;
    }
}
/* ========================================
   Thanks Page - 送信完了ページ
   ======================================== */
.thanks-section {
    position: relative;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 100px;
    margin: 0;
    opacity: 1;
    transform: none;
}

.thanks-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/entry-bg.jpg') center center / cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.thanks-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.thanks-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.thanks-message {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.thanks-message p {
    margin-bottom: 15px;
}

.thanks-button {
    display: inline-block;
    padding: 16px 40px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.thanks-button:hover {
    background: #555;
}
