/* ========================================
   トップページ - ホームスタイル
   ======================================== */

.home {
    width: 100%;
}
.work-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: "Google Sans Flex", 'Noto Sans JP', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    font-weight: 500;
    line-height: 1;
    font-size: 14px;
}
.work-btn--primary {
    background-color: var(--maincolor);
    border: none;
    color: #ffffff;
    gap: 2px;
}
.work-btn--primary:hover {
    opacity: 0.8;
}
/* ========================================
   01_hero: ヒーローセクション
   ======================================== */
.home__hero {
    width: 100%;
    background-color: #fff;
    padding: 0 52px 32px;
    position: relative;
    overflow: hidden;
}

.home__hero-decoration {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: "Google Sans Flex", sans-serif;
    font-size: 9.5vw;
    font-weight: 700;
    color: #f7f1f8;
    line-height: 1;
    text-align: center;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* 上段: メインコピー（左）+ #O1〜#O3（右） */
.home__hero-top {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 0 40px 0;
    position: relative;
    z-index: 1;
}

.home__hero-left {
    flex-shrink: 0;
    max-width: 600px;
}

.home__hero-title {
    font-size: clamp(16px, 4.6vw, 64px);
    font-weight: 800;
    color: var(--fontcolor);
    line-height: 1.4;
    margin-top: -15px;
    margin-bottom: 8px;
}
.home__hero-title span{
    color: var(--maincolor);
}
.home__hero-left p{
    font-size: 17px;
    font-weight: 600;
    line-height: 2;
    padding-left: 6px;
}
.home__hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.home__hero-point {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.home__hero-point:nth-child(2) {
    margin-left: 24px;
}

.home__hero-point:nth-child(3) {
    margin-left: 54px;
}

.home__hero-point-tag {
    font-family: "Google Sans Flex", sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #e1e1e1;
    line-height: 1;
    flex-shrink: 0;
}

.home__hero-point-text {
    display: flex;
    flex-direction: column;
}

.home__hero-point-main {
    font-size: 20px;
    font-weight: 600;
    color: var(--fontcolor);
    margin: 0;
    line-height: 1.6;
}

.home__hero-point-sub {
    font-size: 14px;
    font-weight: 400;
    color: var(--fontcolor2);
    margin: 4px 0 0;
    line-height: 1.6;
}

/* 中段: ロゴ + 登録デザイナー数 + アバター */
.home__hero-designer {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}

.home__hero-designer-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home__hero-designer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home__hero-logo {
    height: 20px;
    width: auto;
    margin-bottom: 2px;
}

.home__hero-designer-label {
    
    font-size: 16px;
    font-weight: 500;
    color: var(--fontcolor);
}

.home__hero-designer-right {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.home__hero-designer-number {
    font-family: "Google Sans Flex", sans-serif;
    font-size: 67px;
    font-weight: 600;
    color: var(--fontcolor);
    line-height: 1;
}

.home__hero-designer-unit {
    font-size: 24px;
    font-weight: 500;
    color: var(--fontcolor);
    display: none;
}

.home__hero-avatars {
    display: flex;
    margin-top: 12px;
}

.home__hero-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -8px;
    background-color: #ddd;
}

.home__hero-avatar:first-child {
    margin-left: 0;
}

.home__hero-avatar--placeholder {
    background-color: #ccc;
    background-image: url(../images/user-icon.svg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* 検索窓 */
.home__hero-search {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.home__hero-search .page-search{
    background-color: transparent;
    backdrop-filter: none;
}
.page-search--hero {
    margin-bottom: 0;
}

.page-search__input-wrapper--hero {
    max-width: 560px;
}

.form-input-search--hero {
    height: 60px;
    border-radius: 30px;
    background-color: #fff;
    border: 1px solid #dedfe3;
    box-shadow: 9.9px 9.9px 30px rgba(0, 0, 0, 0.09);
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
}

.form-input-search--hero::placeholder {
    color: #212121;
    font-size: 15px;
    font-weight: 500;
}

.page-search__button--hero {
    width: 44px;
    height: 44px;
    right: 10px;
}
.page-search__button--hero svg {
    width: 20px;
    height: 20px;
}

/* 縦線 */
.home__hero-line {
    width: 1px;
    height: 102px;
    background-color: var(--fontcolor);
    margin: 22px auto 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   02〜04: フィーチャーセクション
   ======================================== */
.home__feature {
    width: 100%;
    padding: 80px 80px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.home__feature-bg-text {
    font-family: "Google Sans Flex", sans-serif;
    font-size: 6.25vw;
    font-weight: 700;
    color: #f7f1f8;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.home__feature-container {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.home__feature-number {
    font-family: "Google Sans Flex", sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--fontcolor);
    display: block;
    margin-bottom: 8px;
}

.home__feature-title {
    
    font-size: 28px;
    font-weight: 700;
    color: var(--fontcolor);
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.home__feature-subtitle {
    
    font-size: 16px;
    font-weight: 400;
    color: var(--fontcolor2);
    margin: 0 0 40px;
}

.home__feature-placeholder {
    max-width: 758px;
    height: 500px;
    border-radius: 10px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
.home__feature-placeholder.pro_port--01{
    height: 580px;
    background-image: url(../images/01_PROFILE.jpg);
}
.home__feature-placeholder.sto--02{
    height: 598px;
    background-image: url(../images/02_STORY.png);
}
.home__feature-placeholder.job--03{
    height: 465px;
    background-image: url(../images/03_JOB.png);
}
/* ========================================
   05_concept: コンセプトセクション
   ======================================== */
.home__concept {
    width: 100%;
    padding: 80px 80px 100px;
    background-color: #fff;
}

.home__concept-container {
    max-width: 1120px;
    margin: 0 auto;
}

.home__concept-heading {
    
    font-size: 32px;
    font-weight: 700;
    color: var(--fontcolor);
    text-align: center;
    margin: 0 0 32px;
}

.home__concept-description {
    text-align: center;
    margin-bottom: 32px;
}

.home__concept-description p {
    
    font-size: 16px;
    font-weight: 400;
    color: var(--fontcolor);
    line-height: 2.2;
    margin: 0;
}

.home__concept-cards {
    display: flex;
    justify-content: center;
    gap: 0;
}

.home__concept-card-img {
    width: 33.33%;
    height: auto;
}

/* ========================================
   06: DESIGN AT THE CORE
   ======================================== */
.home__design-core {
    width: 100%;
    padding: 40px 80px;
    background-color: #fff;
}

.home__design-core-container {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.home__design-core-title {
    font-family: "Google Sans Flex", sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--fontcolor);
    letter-spacing: 0.02em;
    margin: 0;
}

.home__design-core-title-ja {
    
    font-size: 32px;
}

.home__design-core-subtitle {
    
    font-size: 20px;
    font-weight: 500;
    color: var(--fontcolor);
    letter-spacing: 0.02em;
    line-height: 1.6;
    margin: 32px 0 0;
}

.home__design-core-img {
    height: auto;
    display: block;
    margin-top: 32px;
    max-width: 668px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   07_footer_values: バリューセクション
   ======================================== */
.home__values {
    width: 100%;
    padding: 0px 80px 96px;
    background-color: #fff;
}

.home__values-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home__values-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    width: 100%;
    max-width: 700px;
}

.home__values-item-desc {
    flex: 1;
    
    font-size: 17px;
    font-weight: 500;
    color: var(--fontcolor);
    line-height: 1.6;
    text-align: left;
}

.home__values-item-divider {
    width: 1px;
    height: 43px;
    background-color: #ccc;
    flex-shrink: 0;
}

.home__values-item-title {
    flex: 1;
    font-family: "Google Sans Flex", sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--fontcolor);
    letter-spacing: 0.02em;
    text-align: right;
}

.home__values-separator {
    display: none;
}

/* ========================================
   レスポンシブ対応 (タブレット)
   ======================================== */
@media (max-width: 1024px) {
    .home__hero {
        padding: 0 40px 40px;
    }

    .home__hero-top {
        flex-direction: column;
        padding: 60px 0 30px;
        align-items: center;
    }

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

    .home__hero-title {
        font-size: clamp(16px, 6vw, 44px);
    }

    .home__hero-right {
        margin: 32px 0;
    }

    /* フィーチャーセクション */
    .home__feature {
        padding: 60px 40px;
    }

    .home__feature-placeholder {
        height: 350px;
    }

    /* コンセプト */
    .home__concept {
        padding: 60px 40px;
    }

    /* DESIGN AT THE CORE */
    .home__design-core {
        padding: 60px 40px;
    }

    /* バリュー */
    .home__values {
        padding: 40px;
    }

    .home__values-item-desc {
        font-size: 15px;
    }

    .home__values-item-title {
        font-size: 24px;
    }
}

/* ========================================
   レスポンシブ対応 (スマートフォン)
   ======================================== */
@media (max-width: 768px) {
    .home__hero {
        padding: 0 20px 40px;
    }
    .home__hero-right{
        gap: 28px;
    }
    .home__hero-top {
        padding: 20px 0 ;
    }

    .home__hero-designer-number {
        font-size: 50px;
    }

    .home__hero-designer-unit {
        font-size: 20px;
    }

    .home__hero-designer-row {
        align-items: center;
    }
    .home__hero-designer-label {
        font-size: 13px;
    }
    .home__hero-designer-left {
        align-items: center;
    }

    .home__hero-line {
        height: 60px;
    }

    .home__hero-point:nth-child(2),
    .home__hero-point:nth-child(3) {
        margin-left: 0;
    }

    .home__hero-point-tag {
        font-size: 24px;
    }

    .home__hero-point-main {
        font-size: 16px;
    }

    /* フィーチャー */
    .home__feature {
        padding: 40px 20px;
    }

    .home__feature-title {
        font-size: 18px;
    }
    .home__feature-subtitle{
        font-size: 14px;
    }
    .home__feature-placeholder {
        height: 250px;
    }
    .home__feature-placeholder.pro_port--01,
    .home__feature-placeholder.sto--02,
    .home__feature-placeholder.job--03 {
        max-height: 250px;
    }
    .home__feature-placeholder.job--03{
        background-position-y: top;
    }
    .home__feature-bg-text{
        font-size: 9vw;
    }
    /* コンセプト */
    .home__concept {
        padding: 32px 20px 16px;
    }

    .home__concept-heading {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .home__concept-description{
        margin-bottom: 20px;
        text-align: left;
    }
    .home__concept-description p {
        font-size: 14px;
    }

    .home__concept-cards {
        flex-direction: column;
        align-items: center;
    }

    .home__concept-card-img {
        max-width: 280px;
        width: inherit;
    }

    /* DESIGN AT THE CORE */
    .home__design-core {
        padding: 40px 16px;
    }

    .home__design-core-title {
        font-size: 22px;
    }

    .home__design-core-title-ja {
        font-size: 20px;
    }

    .home__design-core-subtitle {
        font-size: 15px;
        margin-top: 20px;
    }

    /* バリュー */
    .home__values {
        padding: 0px 20px 56px;
    }

    .home__values-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .home__values-item-desc {
        text-align: center;
        font-size: 14px;
    }

    .home__values-item-divider {
        width: 40px;
        height: 1px;
    }

    .home__values-item-title {
        text-align: center;
        font-size: 22px;
    }

    .home__values-separator {
        display: block;
        width: 60px;
        height: 1px;
        background-color: #eee;
        margin: 8px 0;
    }
}

/* ========================================
   小さいスマートフォン対応
   ======================================== */
@media (max-width: 480px) {
    .home__hero-decoration{
        top: 60%;
    }
    .home__hero-title {
        font-size: 8.5vw;
        margin-bottom: 12px;
        font-feature-settings: "palt" 1;
    font-kerning: normal;
    }
    .home__hero-left p{
        font-size: 14px;
        font-weight: normal;
        line-height: 1.7;
    }
    .home__hero-point{
        gap: 6px;
    }
    .home__hero-designer-number {
        font-size: 52px;
    }

    .home__hero-avatar {
        width: 36px;
        height: 36px;
    }

    .home__hero-point-tag {
        font-size: 20px;
    }

    .home__hero-point-main {
        font-size: 17px;
    }

    .home__hero-point-sub {
        font-size: 12px;
    }

}
