@charset "utf-8";

/* =========================================
   共通スタイル (ページ全体)
   ========================================= */
.sec_top,
.sec_depts,
.sec_team,
.sec_history,
.sec_real,
.sec_birdmanrally,
.sec_ourteam,
.sec_gallery,
.sec_group,
.sec_schedule,
.sec_place,
.sec_flow {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

/* =========================================
   各セクション基本 (Depts, Team)
   ========================================= */
.sec_depts,
.sec_team {
    padding: 60px 5%;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.dept_header {
    margin-bottom: 30px;
}

.icon_header {
    display: flex;
    align-items: center;
    border-bottom: 3px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    width: fit-content;
}

.icon_plane {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #000;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") no-repeat center/contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") no-repeat center/contain;
    margin-right: 15px;
}

.dept_header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-right: 30px;
}

.dept_text_box p,.team_container p{
	margin: 0;
}

.dept_container,
.team_container {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: #f0f0f0;
    padding: 2rem;
    border-radius: 10px;
}

.dept_text_box,
.team_text_box {
    flex: 1;
    font-size: 1.1rem;
    line-height: 2;
    font-weight: 600;
}

.dept_img_box,
.team_img_box {
    flex: 0 0 300px;
    text-align: center;
}

.dept_img_box img,
.team_img_box img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

/* =========================================
   sec_birdmanrally
   ========================================= */
.sec_birdmanrally {
    max-width: 1200px;
    margin: 60px auto 0;
    display: flex;
    padding: 0 5%;
}

.birdmanrally_left {
    width: 50%;
}

.birdmanrally_right {
    width: 50%;
    object-fit: cover;
    padding-left: 2rem;
}

.birdmanrally_left > h2 {
    margin-left: 3.4rem;
    position: relative;
    font-size: 1.5rem;
}

.birdmanrally_left > h2::before {
    content: "";
    position: absolute;
    left: -3.2rem;
    top: 50%;
    width: 3rem;
    height: 3rem;
    transform: translateY(-50%);
    background-image: url(../img/title_icon.svg);
    background-repeat: no-repeat;
    background-size: 3rem;
}

.birdmanrally_left > blockquote {
    background-color: #f2f2f2;
    margin: 20px 0;
    padding: 1.5rem 2rem;
    position: relative;
    font-weight: 700;
}

.birdmanrally_left > blockquote::before,
.birdmanrally_left > blockquote::after {
    content: "";
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url(../img/quote.svg);
    background-repeat: no-repeat;
    background-size: 1.5rem;
}

.birdmanrally_left > blockquote::before { top: 0.5rem; left: 0.5rem; }
.birdmanrally_left > blockquote::after { bottom: 0.5rem; right: 0.5rem; transform: rotate(180deg); }

.birdmanrally_left > blockquote > a {
    color: #4180FD;
    word-break: break-all;
}

/* =========================================
   sec_ourteam
   ========================================= */
.sec_ourteam {
    background-image: url(../img/square.svg);
    background-size: 2rem;
    position: relative;
    padding: 60px 0;
}

.sec_ourteam::before,
.sec_ourteam::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4rem;
    z-index: 1;
}

.sec_ourteam::before { top: 0; background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%); }
.sec_ourteam::after { bottom: 0; background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 100%); }

.ourteam_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.ourteam_inner > h2 {
    background-color: #4180FD;
    color: #ffffff;
    display: inline-block;
    padding: 0.5rem 2rem;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.ourteam_top {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
}

.ourteam_top_left { width: 40%; font-weight: 700; }
.ourteam_top_right { width: 60%; object-fit: cover; }

.ourteam_middle {
    width: 100%;
    margin: 40px auto;
}

.ourteam_bottom {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ourteam_bottom_left { width: 50%; }
.ourteam_bottom_right { width: 50%; text-align: center; }

.ourteam_bottom_right > h3 { font-size: 1.5rem; margin-bottom: 20px; }
.ourteam_bottom_right > table { border-collapse: collapse; width: 100%; }
.ourteam_bottom_right > table tr { border-bottom: solid 0.1rem #000; height: 3rem; }
.ourteam_bottom_right > table th { width: 40%; text-align: left; }
.ourteam_bottom_right > table td { width: 60%; text-align: left; }
.ourteam_bottom_right > table tr:first-child { border-top: solid 0.1rem #000; }

.ourteam_nav {
    text-align: right;
    font-weight: 700;
    margin-top: 40px;
}

.ourteam_nav > a {
    display: inline-block;
    background-color: #000;
    padding: 0.8rem 2rem;
    color: #fff;
    border-radius: 2rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ourteam_nav > a:hover { background-color: #4180FD; box-shadow: none; }

/* =========================================
   sec_gallery
   ========================================= */
.sec_gallery {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 5%;
}

.gallery_images {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.gallery_images > img {
    width: calc(33.333% - 10px);
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.gallery_nav { text-align: center; font-weight: 700; }
.gallery_nav > a {
    display: inline-block;
    background-color: #000;
    padding: 0.8rem 2.5rem;
    color: #fff;
    border-radius: 2rem;
    text-decoration: none;
    margin-top: 15px;
}

/* =========================================
   sec_group
   ========================================= */
.sec_group {
    max-width: 1200px;
    margin: 60px auto;
    text-align: center;
    padding: 0 5%;
}

.group_top { display: flex; align-items: center; margin-bottom: 40px; }
.group_top_left { font-size: 6rem; color: #4180FD; font-weight: 900; margin-right: 40px; line-height: 1; }
.group_top_right { text-align: left; font-weight: 700; font-size: 1.1rem; }

.group_bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.group_bottom > li {
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 50%;
    cursor: pointer;
}

.group_content_front, .group_content_behind {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
    transition: 0.4s cubic-bezier(.09,.54,.54,1.95);
}

.group_content_front { z-index: 2; display: flex; align-items: center; justify-content: center; background: #eee; }
.group_content_front img { width: 100%; height: 100%; object-fit: cover; }

.group_content_behind {
    z-index: 1;
    transform: rotateY(90deg);
    background: #333;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.group_bottom > li:hover .group_content_front { transform: rotateY(90deg); }
.group_bottom > li:hover .group_content_behind { transform: rotateY(0deg); }

/* =========================================
   Global Grid & History Section
   ========================================= */
.global_grid_bg {
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, #ddd 1px, transparent 1px),
        linear-gradient(to bottom, #ddd 1px, transparent 1px);
    background-color: #fff;
    padding: 60px 0;
    position: relative;
    width: 100%;
    min-height: 1000px;
}

.sec_history {
    background: transparent;
    padding: 0 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.history_layout {
    position: relative;
    padding: 15px 0;
    margin-bottom: 60px;
}

.history_logo_area {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 120px;
    height: 120px;
    z-index: 10;
}

.history_title_area {
    text-align: right;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.history_title_area h3 {
    background-color: #0056b3;
    color: #fff;
    padding: 10px 40px;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.history_lines {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.history_logo_img {
    position: absolute;
    top: 136.5px;
    left: 90px;
    transform: translate(-50%, -50%);
    width: 300px;
    z-index: 20;
}

.line_horiz_top {
    position: absolute;
    top: 136.5px;
    left: 180px;
    width: 3000px;
    height: 5px;
    background-color: #0056b3;
}

.line_vert_main {
    position: absolute;
    top: 230px;
    left: 80px;
    bottom: 0;
    width: 5px;
    background-color: #0056b3;
}

.history_grid_content {
    margin-left: 150px;
    margin-top: 20px;
    position: relative;
}

.grid_row_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.img_box_1 {
    width: 45%;
    margin-right: 40px;
    position: relative;
    background-color: #999;
    aspect-ratio: 16 / 9;
}

.img_box_1 iframe,
.img_box_2 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img_box_1 img,
.img_box_2 img,
.diagram_box img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 4px 4px 0px #618cc9;
}

.text_box_main {
    flex: 1;
    font-size: 1.1rem;
    line-height: 2;
    padding-top: 0;
    font-weight: 600;
}

.grid_row_middle {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.diagram_box {
    flex: 2;
    margin-right: 20px;
}

.img_box_2 {
    flex: 1.5;
    position: relative;
    background-color: #999;
    z-index: 2;
    aspect-ratio: 16 / 9;
}

.history_highlight {
    background-color: #fff;
    border: 5px solid #fdd835;
    border-radius: 0 50px 50px 50px;
    padding: 30px;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
    max-width: 800px;
    margin-left: 150px;
    position: relative;
    z-index: 5;
    box-shadow: 5px 5px 15px rgba(65, 128, 253, 0.1);
}

.history_highlight::before {
    content: "";
    position: absolute;
    top: -5px;
    right: calc(100% + 5px);
    width: 100vw;
    height: 5px;
    background-color: #fdd835;
}

/* =========================================
   Record Card
   ========================================= */
.record_card_wrapper {
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.record_card {
    position: relative;
    background: #fff;
    border: 4px solid #4180FD;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin-left: 100px;
}

.record_badge_tape {
    position: absolute;
    top: 40px;
    right: -65px;
    background-color: #ff6b00;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 5px 60px;
    transform: rotate(45deg);
    z-index: 4;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.card_img {
    flex: 1;
    border-right: 4px solid #BDD4FC;
}

.card_img img {
    width: 100%;
    height: 100%;
	object-fit: cover;
    vertical-align: middle;
}

.card_info {
    flex: 1;
    padding: 15px 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card_info dl {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.0rem;
    font-weight: bold;
}

.card_info dt {
    margin-bottom: 2px;
}

.card_info dd {
    margin-left: 0;
    margin-bottom: 2px;
}

.card_title {
    font-size: 28px;
    margin: 0;
}

.purple_dot {
    color: #9376ac;
}

/* =========================================
   Real Side Section
   ========================================= */
.sec_real {
    position: relative;
    max-width: 1200px;
    padding: 4rem 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
	box-sizing: border-box;
}

.real_header {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    padding: 15px 40px;
    border-radius: 0 50px 50px 0;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    text-align: left;
    align-self: flex-start;
    margin-left: 55px;
}

.real_header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.real_content {
    width: 100%;
}

.flow_chart_container {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
    width: calc(100% - 20rem);
    margin-left: 110px;
    position: relative;
}

.flow_box {
    background-color: #8da4f7;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    flex: 1;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flow_box.flow_prod { background-color: #6b8af8; }
.flow_box.flow_test { background-color: #5d84f5; }

.flow_arrow_tf {
    flex: 1;
    height: 150px;
    background-color: #4d74e8;
    color: #fff;
    font-weight: bold;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
    clip-path: polygon(0% 0%, 90% 50%, 0% 100%);
    z-index: 2;
    position: relative;
}

.flow_main {
    background-color: #fdd835;
    color: #fff;
    width: 10rem;
    border-radius: 7px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline_container {
    position: relative;
    padding-top: 20px;
    border-top: 2px solid #333;
    margin-left: 110px;
    width: calc(100% - 110px);
    margin-top: 20px;
}

.timeline_ticks {
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.tick_item {
    position: relative;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.tick_item::before {
    content: "";
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background-color: #333;
}

.tick_item span {
    font-size: 1.8rem;
}

/* =========================================
   Process Sections
   ========================================= */
.process_details_container {
    margin-left: 150px;
    padding-top: 60px;
    padding-bottom: 60px;
    width: calc(100% - 150px);
    box-sizing: border-box;
}

.process_section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    position: relative;
}

.process_text {
    flex: 1;
    padding-right: 2rem;
}

.process_title {
    font-size: 3rem;
    margin: 0 0 20px 0;
    font-weight: 900;
    line-height: 1.2;
    font-family: 'Noto Sans JP', sans-serif;
}

.process_details_container .process_section:nth-child(1) .process_title { color: #8da4f7; }
.process_details_container .process_section:nth-child(2) .process_title { color: #6b8af8; }
.process_details_container .process_section:nth-child(3) .process_title { color: #5d84f5; }
.process_details_container .process_section:nth-child(4) .process_title { color: #4d74e8; }

.process_text p {
    font-size: 1rem;
    line-height: 2;
    font-weight: 500;
}

.process_img {
    flex: 0 0 50%;
    position: relative;
    border: 3px solid #6b8af8;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.process_img img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================
   sec_schedule
   ========================================= */
.sec_schedule { background-color: #f2f2f2; padding: 60px 0; margin-top: 60px; }
.schedule_inner { max-width: 1200px; margin: 0 auto; padding: 0 5%; position: relative; }
.schedule_contents { display: flex; align-items: stretch; background: #E7E6E6; border-radius: 10px; overflow: hidden; }
.schedule_slidebox { flex: 1; padding: 20px; position: relative; }
.schedule_slide { background: #fff; padding: 20px; border-radius: 10px; margin: 10px; }
.schedule_monthbox { width: 120px; background: #cecece; display: flex; flex-direction: column; justify-content: center; }

/* =========================================
   sec_place
   ========================================= */
.sec_place { max-width: 1200px; margin: 60px auto; padding: 0 5%; }
.sec_place > h2 { font-size: 1.5rem; margin-bottom: 30px; position: relative; padding-left: 3rem; }
.sec_place > h2::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; background: url(../img/place.svg) no-repeat center/contain; }
.place_list { list-style: none; padding: 0; }
.place_list > li { display: flex; gap: 40px; margin-bottom: 40px; align-items: center; }
.place_list_left { width: 40%; position: relative; }
.place_list_right { width: 60%; }
.place_pic_main { width: 100%; aspect-ratio: 3/2; object-fit: cover; box-shadow: 4px 4px 10px rgba(0,0,0,0.2); }

/* =========================================
   sec_flow
   ========================================= */
.sec_flow { background-color: #f2f2f2; padding: 60px 0; }
.flow_inner { max-width: 1200px; margin: 0 auto; padding: 0 5%; text-align: center; }
.flow_table { width: 100%; border-collapse: separate; border-spacing: 10px; table-layout: fixed; }
.flow_table td { background: #4180FD; color: #fff; padding: 15px; font-weight: bold; border-radius: 5px; position: relative; }

/* =========================================
   Final Message
   ========================================= */
.final_message_container {
    text-align: center;
    margin: 2rem auto;
    margin-left: 150px;
    width: calc(100% - 150px);
}

.final_message_box {
    display: inline-block;
    border: 5px solid #486bb0;
    border-radius: 20px;
    background: #fff;
    padding: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 15px 15px 0px #aebbf5;
    transform: translateX(-25px);
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
}

.card_info p{
	font-weight: 700;
}

.card_info a{
	color: #0000ff;
	text-decoration: underline;
}

/* =========================================
   Responsive Settings
   ========================================= */
@media screen and (max-width: 768px) {
    .dept_container,
    .team_container,
    .sec_birdmanrally,
    .ourteam_top,
    .ourteam_bottom,
    .gallery_images,
    .group_top,
    .place_list > li {
        flex-direction: column;
        align-items: flex-start;
    }

    .birdmanrally_left, .birdmanrally_right,
    .ourteam_top_left, .ourteam_top_right,
    .ourteam_bottom_left, .ourteam_bottom_right,
    .place_list_left, .place_list_right {
        width: 100%;
        padding-left: 0;
        margin-bottom: 20px;
    }

	.real_header{
		margin-left: 0;
	}
	
	.flow_chart_container{
		margin-left: 0;
	}

	
    .gallery_images > img { width: 100%; }

    .history_grid_content,
    .process_details_container,
    .final_message_container {
        margin-left: 0;
        width: 100%;
    }

    .history_lines { display: none; }

    .group_top_left { font-size: 4rem; margin-bottom: 10px; }

    .grid_row_top,
    .grid_row_middle,
    .process_section {
        flex-direction: column;
    }

	.final_message_box {
		transform: translateX(0px);
	}
	
    .img_box_1,
    .diagram_box,
    .img_box_2,
    .process_img {
        width: 100%;
        margin: 0 0 20px 0;
        flex: none;
    }
	
	.flow_chart_container{
		width: calc(100% - 10rem);
	}
	
	.timeline_container{
		margin-left: 0;
		width: calc(100% - 5rem)
	}
	
	.history_highlight{
		margin-left: 0px;
	}
	
	.process_text{
		padding-right: 0;
	}
	
	.history_title_area h3{
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
	}

    .record_card { margin-left: 0; flex-direction: column; }
    
    .schedule_contents { flex-direction: column; }
    .schedule_monthbox { width: 100%; height: 60px; flex-direction: row; }
}