@charset "UTF-8";

/* ==========================================
   フロントページ専用スタイル
   ========================================== */

/* メインコンテナ */
.front-page-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

.front-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.front-hero {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
}

.front-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.front-hero-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
}

/* ==========================================
   Missionセクション
   ========================================== */
.front-mission {
    background: #2a5caa;
    padding: 0 0 100px 0;
    margin-top: 0;
    scroll-margin-top: 0;
    position: relative;
    overflow: hidden;
}

.front-mission::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.front-mission > * {
    position: relative;
    z-index: 1;
}

.front-mission-header {
    padding: 40px 0 0 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.front-mission-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.front-mission-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.front-mission-image img {
    width: 120%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.front-mission-text {
    flex: 1;
    min-width: 300px;
    padding-left: 20px;
}

.front-mission-divider {
    width: 50%;
    height: 1px;
    background: #eaedf2;
    margin-top: 4px;
    opacity: 0.4;
}

.front-mission-title {
    font-family: "Times New Roman", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 48px;
    font-weight: bold;
    color: #eaedf2;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.4;
}

.front-section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}

.front-mission-description {
    font-size: 34px;
    line-height: 1.5;
    color: #fff;
    font-weight: 600;
}

/* ==========================================
   Visionセクション
   ========================================== */
.front-vision {
    background: #888;
    padding: 0 0 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.front-vision::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.front-vision > * {
    position: relative;
    z-index: 1;
}

.front-vision-header {
    padding: 40px 0 0 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.front-vision-divider {
    width: 50%;
    height: 1px;
    background: #eaedf2;
    margin-top: 4px;
    opacity: 0.4;
}

.front-vision-title {
    font-family: "Times New Roman", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 48px;
    font-weight: bold;
    color: #eaedf2;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.4;
}

.front-vision-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.front-section-title-white {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.front-vision-main {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 40px;
}

.front-vision-description {
    font-size: 34px;
    line-height: 1.5;
    color: #fff;
    font-weight: 600;
    margin-bottom: 30px;
}

.front-vision-description-sub {
    font-size: 20px;
    line-height: 1.8;
    color: #fff;
    font-weight: 400;
    margin-bottom: 30px;
}

.front-vision-items {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
    overflow: visible;
    justify-content: center;
    align-items: center;
    counter-reset: vision-item;
}


.front-vision-item {
    flex: 0 0 auto;
    width: 413px;
    height: 390px;
    position: relative;
    padding: 60px 59px;
    border: 2px solid #FF8C00;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 -20px;
    z-index: 1;
    counter-increment: vision-item;
}

.front-vision-item::after {
    content: counter(vision-item, decimal-leading-zero);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: bold;
    color: rgba(255, 140, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

/* 項目1: オレンジ */
.front-vision-item:nth-child(1) {
    border-color: #FF8C00;
}

.front-vision-item:nth-child(1)::after {
    color: rgba(255, 140, 0, 0.21);
}

.front-vision-item:nth-child(1) .front-vision-item-title {
    color: #FF8C00;
}

/* 項目2: 青 */
.front-vision-item:nth-child(2) {
    z-index: 2;
    border-color: #7BC3F8;
}

.front-vision-item:nth-child(2)::after {
    color: rgba(123, 195, 248, 0.21);
}

.front-vision-item:nth-child(2) .front-vision-item-title {
    color: #7BC3F8;
}

/* 項目3: 緑 */
.front-vision-item:nth-child(3) {
    z-index: 3;
    border-color: #5ed763;
}

.front-vision-item:nth-child(3)::after {
    color: rgba(94, 215, 99, 0.21);
}

.front-vision-item:nth-child(3) .front-vision-item-title {
    color: #5ed763;
}

.front-vision-item-divider {
    display: none;
}

.front-vision-item-title {
    font-size: 20px;
    font-weight: bold;
    color: #FF8C00;
    margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-align: center;
}

.front-vision-item-text {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ==========================================
   Valueセクション
   ========================================== */
.front-value {
    background: #eaedf2;
    padding: 0 0 100px 0;
}

.front-value-header {
    padding: 40px 0 0 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.front-value-divider {
    width: 50%;
    height: 1px;
    background: #999;
    margin-top: 4px;
    opacity: 0.4;
}

.front-value-title {
    font-family: "Times New Roman", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 48px;
    font-weight: bold;
    color: #999;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.4;
}

.front-value-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.front-value-intro {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    text-align: center;
}

.front-value-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.front-value-item {
    position: relative;
    padding: 60px 50px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.front-value-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.front-value-item > * {
    position: relative;
    z-index: 1;
}

.front-value-item:nth-child(2) {
    background-position: center 77%;
}

.front-value-item:nth-child(3) {
    background-position: center 59%;
}

.front-value-item-divider {
    width: 60px;
    height: 1px;
    background: #fff;
    margin-bottom: 20px;
}

.front-value-item-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.front-value-item-text {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    padding-left: 0;
}

/* ==========================================
   Projectsセクション
   ========================================== */
.front-projects {
    background: #fff;
    padding: 100px 70px;
}

.front-projects-header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.front-projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.front-projects-title {
    font-size: 48px;
    font-weight: 900;
    color: #333;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
}

.front-projects-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: #2a5caa;
}

.front-projects-content {
    width: 100%;
    padding: 0;
}

.front-projects-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    padding: 0;
}

.front-projects-item {
    display: flex;
    flex-direction: column;
}

.front-projects-item-image {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}

.front-projects-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-projects-item-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.front-projects-item-text {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.front-projects-ongoing {
    margin-top: 60px;
    width: 100%;
}

.front-projects-ongoing-content {
    background: #000;
    padding: 30px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.front-projects-ongoing-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/now_projects.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
}

.front-projects-ongoing-content > * {
    position: relative;
    z-index: 1;
}

.front-projects-ongoing-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}

.front-projects-ongoing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.front-projects-ongoing-list li {
    font-size: 18px;
    line-height: 2;
    color: #fff;
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.front-projects-ongoing-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    font-size: 18px;
    color: #fff;
}

/* ==========================================
   レスポンシブ対応
   ========================================== */
@media print, screen and (min-width: 740px) and (max-width: 990px) {
    .front-mission-description {
        font-size: 24px;
        white-space: nowrap;
    }
    
    .front-mission-image {
        padding-right: 20px;
    }
    
    .front-mission-image img {
        width: 100%;
    }
    
    .front-vision-main {
        font-size: 30px;
    }
    
    .front-vision-description {
        font-size: 24px;
    }
    
    .front-vision-items {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        max-width: 100%;
    }
    
    .front-vision-item {
        width: calc((100% - 20px) / 2);
        max-width: 350px;
        height: 350px;
        margin: 0;
        padding: 50px 40px;
        box-sizing: border-box;
    }
    
    .front-vision-item:nth-child(1) {
        width: calc((100% - 20px) / 2);
        max-width: 350px;
        height: 350px;
        /* margin: 0 auto 0 auto; */
    }
    
    .front-vision-item:nth-child(2) {
        width: calc((100% - 20px) / 2);
        max-width: 350px;
        height: 350px;
        margin: 0;
    }
    
    .front-vision-item:nth-child(3) {
        width: calc((100% - 20px) / 2);
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    
    .front-projects-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .front-projects-item-image {
        aspect-ratio: 2 / 1;
    }
    
    .front-projects-item-image img {
        object-position: center;
    }
}

/* iPad Pro対応 */
@media screen and (min-width: 991px) and (max-width: 1024px) {
    .front-mission-description {
        font-size: 24px;
    }
    
    .front-mission-image {
        padding-right: 20px;
    }
    
    .front-mission-image img {
        width: 100%;
    }
    
    .front-vision-main {
        font-size: 30px;
    }
    
    .front-vision-description {
        font-size: 24px;
    }
    
    .front-vision-items {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        max-width: 100%;
    }
    
    .front-vision-item {
        width: calc((100% - 20px) / 2);
        max-width: 350px;
        height: 350px;
        margin: 0;
        padding: 50px 40px;
        box-sizing: border-box;
    }
    
    .front-vision-item:nth-child(1) {
        width: calc((100% - 20px) / 2);
        max-width: 350px;
        height: 350px;
    }
    
    .front-vision-item:nth-child(2) {
        width: calc((100% - 20px) / 2);
        max-width: 350px;
        height: 350px;
        margin: 0;
    }
    
    .front-vision-item:nth-child(3) {
        width: calc((100% - 20px) / 2);
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    
    .front-projects-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .front-projects-item-image {
        aspect-ratio: 2 / 1;
    }
    
    .front-projects-item-image img {
        object-position: center;
    }
}

@media screen and (max-width: 739px) {
    .front-hero {
        padding: 60px 20px;
    }
    
    .front-hero-text {
        font-size: 16px;
    }
    
    .front-mission {
        padding: 0 0 60px 0;
    }
    
    .front-mission-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .front-mission-image {
        max-width: 100%;
        padding-right: 20px;
        margin-right: 0;
    }
    
    .front-mission-image img {
        width: 100%;
    }
    
    .front-mission-title {
        font-size: 36px;
    }
    
    .front-section-title {
        font-size: 24px;
    }
    
    .front-mission-description {
        font-size: 22px;
    }
    
    .front-vision {
        padding: 0 0 60px 0;
    }
    
    .front-vision-title {
        font-size: 30px;
    }
    
    .front-vision-description {
        font-size: 22px;
    }
    
    .front-vision-description-sub {
        font-size: 17px;
    }
    
    .front-vision-items {
        flex-direction: column;
        gap: 10px;
    }
    
    .front-vision-item {
        width: 300px;
        height: 300px;
        margin: 0;
        padding: 40px 30px;
    }
    
    .front-vision-item-title {
        font-size: 18px;
    }
    
    .front-vision-item-text {
        font-size: 14px;
    }
    
    .front-vision-main {
        font-size: 28px;
    }
    
    .front-value {
        padding: 0 0 60px 0;
    }
    
    .front-value-title {
        font-size: 30px;
    }
    
    .front-value-item {
        padding: 40px 30px;
        min-height: 200px;
    }
    
    .front-value-item-title {
        font-size: 22px;
    }
    
    .front-value-item-text {
        font-size: 16px;
    }
    
    .front-projects {
        padding: 60px 20px;
    }
    
    .front-projects-title {
        font-size: 34px;
    }
    
    .front-projects-items {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .front-projects-item-image {
        aspect-ratio: 2 / 1;
    }
    
    .front-projects-item-image img {
        object-position: center;
    }
    
    .front-projects-item-title {
        font-size: 18px;
    }
    
    .front-projects-item-text {
        font-size: 14px;
    }
    
    .front-projects-ongoing-content {
        padding: 40px 30px;
    }
    
    .front-projects-ongoing-title {
        font-size: 20px;
    }
    
    .front-projects-ongoing-list li {
        font-size: 14px;
    }
    
    .front-projects-ongoing-list li::before {
        font-size: 14px;
    }
    
    .front-container {
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    .front-hero-text {
        font-size: 14px;
    }
    
    .front-mission-title {
        font-size: 30px;
    }
    
    .front-section-title {
        font-size: 20px;
    }
    
    .front-mission-description {
        font-size: 22px;
    }
    
    .front-mission-image {
        max-width: 100%;
        padding-right: 0;
        margin-right: 0;
    }
    
    .front-mission-image img {
        width: 100%;
    }
    
    .front-vision-main {
        font-size: 24px;
    }
    
    .front-vision-item-title,
    .front-value-item-title {
        font-size: 18px;
    }
}



