@charset "utf-8";

/* Gradient Animation Keyframes - Smooth Continuous Rotation */
@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientRotateDark {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
ホーム
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- ヘッダー
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

#members-slider .image{
    background-position:top;
}

section#members-slider {
    background-image: none;
}

.slider-members{
	width:540px;
	margin:0 auto;
}

@media(max-width:550px){
	.slider-members{
	width:290px;
	margin:0 auto;
}
}

#members-slider h3.heading span {
    display: inline-block;
    font-size: 1.3rem;
}

#members-slider .position {
    display: inline-block;
    font-size: 1.3rem;
}

#members-slider .image-outer {
   	width:250px;
	height:350px;
}



ul.post-ul.slider li.post-li {
    padding: 0 20px;
}

ul.slick-dots {
    display: flex;
    justify-content: center;
}

ul.slick-dots li button {border-radius: 100%;width: 15px;height: 15px;color: transparent;font-size: 5px;background-color: #ccc;}

section, .section {
    padding: 60px 0;
}

ul.slick-dots li {
    padding: 0 5px;
}

ul.slick-dots li.slick-active button {
    background-color: #000;
}

/* 古いhome-headerスタイルを削除 - 新しいファーストビューに置き換え */

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- セクション見出し（Figmaデザイン対応）
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
/* より具体的なセレクタでcommon.cssを上書き */
.home-article .section-heading,
.home-service .section-heading,
.case-section .section-heading,
.tech-blog-section .section-heading {
    margin-bottom: 1em !important;
    color: #151515 !important;
    font-size: 2.2rem !important;
    text-align: center !important;
}

.news-section .section-heading {
    margin-bottom: 1em !important;
    color: #151515 !important;
    font-size: 2.2rem !important;
    text-align: left !important;
}

.home-article .section-heading-english,
.case-section .section-heading-english,
.tech-blog-section .section-heading-english {
    display: flex !important;
    margin-bottom: 0.3em !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    text-transform: uppercase !important;
    justify-content: center !important;
    align-items: center !important;
    color: #151515;
}

.home-service .section-heading-english {
    display: flex !important;
    margin-bottom: 0.3em !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    text-transform: uppercase !important;
    justify-content: center !important;
    align-items: center !important;
    color: #ffffff !important;
}

.news-section .section-heading-english {
    display: flex !important;
    margin-bottom: 0.3em !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    text-transform: uppercase !important;
    justify-content: flex-start !important;
    align-items: center !important;
    color: #151515 !important;
}

.home-article .section-heading-english::before,
.home-article .section-heading-english::after,
.home-service .section-heading-english::before,
.home-service .section-heading-english::after,
.case-section .section-heading-english::before,
.case-section .section-heading-english::after,
.tech-blog-section .section-heading-english::before,
.tech-blog-section .section-heading-english::after {
    width: 17px !important;
    height: 17px !important;
    /* background: rgba(255, 255, 255, 0.4) !important; */
    border-radius: 8.5px !important;
    content: "" !important;
    position: relative !important;
    display: inline-block !important;
    margin: 0 0.8em !important;
    border-top: none !important;
    max-width: none !important;
}

.news-section .section-heading-english::before,
.news-section .section-heading-english::after {
    display: none !important;
}

.home-article .section-heading-english::before,
.home-service .section-heading-english::before,
.news-section .section-heading-english::before,
.case-section .section-heading-english::before,
.tech-blog-section .section-heading-english::before {
    margin-right: 0.8em !important;
    margin-left: 0 !important;
}

.home-article .section-heading-english::after,
.home-service .section-heading-english::after,
.news-section .section-heading-english::after,
.case-section .section-heading-english::after,
.tech-blog-section .section-heading-english::after {
    /* margin-left: 0.8em !important; */
    /* margin-right: 0 !important; */
}

.home-article .section-heading-japanese,
.news-section .section-heading-japanese,
.case-section .section-heading-japanese,
.tech-blog-section .section-heading-japanese {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #151515 !important;
    margin-top: 6px !important;
}

.home-service .section-heading-japanese {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin-top: 6px !important;
}

.home-article .section-description,
.news-section .section-description,
.case-section .section-description,
.tech-blog-section .section-description {
    font-size: 1.6rem;
    color: #151515;
    line-height: 2;
    margin-bottom: 40px;
    text-align: center;
}

.home-service .section-description {
    font-size: 16px !important;
    color: #ffffff !important;
    line-height: 2.5 !important;
    margin-bottom: 40px !important;
    text-align: center !important;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- ロゴウォール / 実績数字
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.logo-wall-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0 0 50px 0;
}

.logo-wall-section .section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.logo-wall-fullwidth {
    width: 100vw;
    position: relative;
    /* left: 50%;
    right: 50%; */
    margin-left: -50vw;
    margin-right: -50vw;
    background: rgba(255, 255, 255, 0.3);
    padding: 40px 0;
    margin: 0 0 40px 0;
}

.logo-wall-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.logo-wall-track {
    display: flex;
    align-items: center;
    width: 200%;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    flex-shrink: 0;
    margin: 0 32px;
    height: 115px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 102, 179, 0.1);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

.logo-wall-fade-left,
.logo-wall-fade-right {
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.logo-wall-fade-left {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 0.3), transparent);
}

.logo-wall-fade-right {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 0.3), transparent);
}

.achievement-numbers {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.number-item {
    text-align: center;
    flex: 1;
    min-width: 0;
}

.number-item .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #0066B3;
    line-height: 1;
}

.number-item .label {
    display: block;
    font-size: 1.6rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: break-word;
}

@media (max-width: 1024px) {
    .case-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .logo-wall-section {
        padding: 0 0 30px 0px;
    }
    
    .logo-wall-fullwidth {
        padding: 30px 0;
        /* margin: 30px 0; */
    }
    
    .logo-item {
        margin: 0 1.6rem;
        height: 80px;
        padding: 0 1.6rem;
        min-width: 150px;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    .logo-wall-fade-left,
    .logo-wall-fade-right {
        width: 40px;
    }
    
    .achievement-numbers {
        flex-direction: row;
        gap: 20px;
        margin-top: 40px;
    }
    
    .number-item .number {
        font-size: 2.5rem;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- お知らせ
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.news-section {
    background: #ffffff;
    padding: 40px 0;
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-header {
    display: block;
}

.news-list {
    width: 100%;
    margin-top: 0;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 1.6rem;
    color: #666;
    margin-right: 20px;
    min-width: 100px;
}

.news-title {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    flex: 1;
    font-size: 2rem;
    line-height: 1.6;
}

.news-title:hover {
    color: #0066B3;
}

/* スマホでのニュースタイトルサイズ調整 */
@media (max-width: 480px) {
    .news-title {
        font-size: 1.3rem;
    }
}



.news-more {
    text-align: right;
    margin-top: 20px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #151515;
    padding: 0;
    border: none;
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.btn-more:hover {
    color: #0066B3;
}

.btn-more svg {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 10px;
    padding: 2px;
    color: black;
}

@media (max-width: 768px) {
    .news-content {
        flex-direction: column;
        gap: 0px;
    }
    
    .news-header {
        flex: none;
    }
    
    .news-header .section-heading {
        text-align: center;
    }
    
    .news-more {
        text-align: center;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 40px 20px;
    }
    
    .strength-list {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .strength-item {
        max-width: 100%;
        text-align: center;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-card {
        width: 100%;
        max-width: 389px;
    }
    
    .blog-curriculum-grid {
        gap: 40px;
    }
    
    .blog-card,
    .curriculum-card {
        width: 100%;
        max-width: 390px;
    }
    
    .recruit-banner {
        padding: 60px 0;
    }
    
    .recruit-title {
        font-size: 28px;
    }
    
    .recruit-headline {
        font-size: 32px;
    }
    
    .recruit-message {
        padding-left: 0;
        text-align: center;
    }
    
    .recruit-button {
        text-align: center;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- サービス説明
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-service {
    background: #ffffff;
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    padding: 70px 40px;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

/* カード全体がリンクの場合のスタイル */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card:last-child {
    border-bottom: none;
}

/* SESカードのホバー効果 - 青系グラディエーション */
.service-grid .service-card-link:nth-child(1):hover {
    background: linear-gradient(45deg, 
        rgba(26, 42, 108, 1) 0%, 
        rgba(176, 190, 197, 1) 25%, 
        rgba(26, 42, 108, 1) 50%, 
        rgba(176, 190, 197, 1) 75%, 
        rgba(26, 42, 108, 1) 100%);
    background-size: 400% 400%;
    animation: gradientRotate 30s ease-in-out infinite;
}

/* AIカードのホバー効果 - ダークブルー系グラディエーション */
.service-grid .service-card-link:nth-child(2):hover {
    background: linear-gradient(45deg, 
        rgba(10, 35, 66, 1) 0%, 
        rgba(44, 83, 100, 1) 25%, 
        rgba(10, 35, 66, 1) 50%, 
        rgba(44, 83, 100, 1) 75%, 
        rgba(10, 35, 66, 1) 100%);
    background-size: 400% 400%;
    animation: gradientRotateDark 35s ease-in-out infinite;
    color: #ffffff;
}

/* AIカードホバー時の文字色変更 */
.service-grid .service-card-link:nth-child(2):hover .service-title-en,
.service-grid .service-card-link:nth-child(2):hover .service-title-jp,
.service-grid .service-card-link:nth-child(2):hover .service-description {
    color: #ffffff;
}

/* AIカードホバー時のボタン色変更 */
.service-grid .service-card-link:nth-child(2):hover .btn-more {
    color: #ffffff;
}

.service-grid .service-card-link:nth-child(2):hover .btn-more svg path {
    stroke: black;
}

.service-header {
    margin-bottom: 8px;
}

.service-title-en {
    font-size: 34.5px;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
    line-height: 1.27;
}

.service-title-jp {
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 3;
}

.service-description {
    font-size: 1.6rem;
    color: #333;
    line-height: 2.5;
    margin: 0;
}

/* スマホでのサービス説明文サイズ調整 */
@media (max-width: 480px) {
    .service-description {
        font-size: 1.2rem;
    }
}

.service-more {
    text-align: right;
    margin-top: 20px;
}

.service-menu {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.menu-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

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

.menu-list li a {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
}

.menu-list li a:hover {
    background: #0066B3;
    color: white;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .menu-list {
        grid-template-columns: 1fr;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 強み訴求
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-strength {
    background: linear-gradient(90deg, rgba(250, 164, 111, 1) 0%, rgba(232, 80, 142, 1) 100%);
    padding: 80px 0;
}

.strength-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.strength-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 300px;
}

.strength-number {
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffffff;
    background: transparent;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 7px;
    min-width: 18px;
    text-align: center;
}

.strength-content {
    flex: 1;
}

.strength-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.strength-description {
    font-size: 14px;
    color: #ffffff;
    line-height: 2;
    margin: 0;
}

@media (max-width: 768px) {
    .strength-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .strength-card {
        padding: 30px 20px;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 事例セクション
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.case-section {
    /* background: linear-gradient(228deg, rgba(188, 253, 183, 1) 4%, rgba(173, 255, 242, 1) 98%); */
    padding: 80px 0;
}

.case-intro {
    text-align: center;
    margin-bottom: 60px;
}

.case-intro-title {
    font-size: 34px;
    font-weight: 500;
    color: #151515;
    margin-bottom: 20px;
    line-height: 1.5;
}

.case-intro-description {
    font-size: 1.6rem;
    color: #151515;
    line-height: 2.5;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.case-header {
    text-align: center;
    margin-bottom: 40px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 389px;
    height: 404px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px 0px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.case-image {
    height: 195px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 20px 10px;
    height: 209px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-description {
    font-size: 1.6rem;
    color: #737373;
    line-height: 1.5;
    margin: 0;
}

.case-title {
    font-size: 22.5px;
    font-weight: 700;
    color: #0066B3;
    margin: 0;
    line-height: 1.22;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #0066B3;
    color: white;
    padding: 8px 1.6rem;
    border-radius: 20px;
    font-size: 1.6rem;
}

.case-content {
    padding: 20px;
}

.case-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.case-description {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.case-results {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.result-item {
    text-align: center;
}

.result-label {
    display: block;
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 5px;
}

.result-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0066B3;
}

.case-link {
    display: inline-block;
    background: #0066B3;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.4rem;
    transition: background 0.3s ease;
}

.case-link:hover {
    background: #0052a3;
}

.case-more {
    text-align: center;
}

@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-results {
        flex-direction: column;
        gap: 15px;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- テックブログ
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.tech-blog-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.blog-curriculum-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.blog-section,
.curriculum-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
}

/* スマホでのセクションpadding調整 */
@media (max-width: 768px) {
    .blog-section,
    .curriculum-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .blog-section,
    .curriculum-section {
        padding: 15px;
    }
}

.blog-header,
.curriculum-header {
    margin-bottom: 40px;
}

.blog-header .section-heading,
.curriculum-header .section-heading {
    text-align: left;
    margin-bottom: 20px;
}

.blog-header .section-description,
.curriculum-header .section-description {
    font-size: 1.6rem;
    color: #151515;
    line-height: 2.5;
    margin: 0;
}

/* スライダー用のスタイル */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 60px; /* 矢印のための余白 */
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.blog-slider,
.curriculum-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.slider-item {
    flex: 0 0 auto;
    width: 310px; /* カード幅を拡大 */
}

/* スライダーコントロール */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #0066B3;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #0066B3;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 20;
}

.slider-btn:hover {
    background: #0066B3;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 179, 0.3);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #0066B3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ドットインジケーター */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #0066B3;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: #9ca3af;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .slider-container {
        padding: 0 50px;
    }
    
    .slider-item {
        width: 280px; /* タブレットでは固定幅 */
        max-width: 280px;
    }
    
    .blog-slider,
    .curriculum-slider {
        gap: 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        padding: 0 10px;
    }
    
    .slider-item {
        width: 250px; /* スマホでは固定幅 */
        max-width: 250px;
    }
    
    .blog-slider,
    .curriculum-slider {
        gap: 15px;
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}






.blog-date,
.curriculum-date {
    font-size: 1.6rem;
    color: #737373;
    line-height: 1.5;
    margin-bottom: 8px;
    display: block;
}

.blog-title,
.curriculum-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0066B3;
    margin: 0;
    line-height: 1.4;
}

.blog-title a,
.curriculum-title a {
    color: inherit;
    text-decoration: none;
}

.blog-title a:hover,
.curriculum-title a:hover {
    color: #0052a3;
}

.blog-card,
.curriculum-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover,
.curriculum-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* スマホでのカードレイアウト調整 */
@media (max-width: 480px) {
    .blog-card,
    .curriculum-card {
        flex-direction: column; /* スマホでは縦並びに戻す */
        height: auto;
        min-height: auto;
        align-items: stretch;
        gap: 0;
    }
    
    .blog-content,
    .curriculum-content {
        flex: 1;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .blog-card,
    .curriculum-card {
        flex-direction: row; /* タブレットでは横並び */
        height: auto;
        min-height: 140px;
        align-items: stretch;
        gap: 15px;
    }
    
    .blog-content,
    .curriculum-content {
        flex: 1;
        padding: 15px 15px 15px 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}

/* カード内の画像とコンテンツスタイル */

.blog-image,
.curriculum-image {
    height: 150px; /* 画像の高さを拡大 */
    overflow: hidden;
    flex-shrink: 0;
}

/* スマホでの画像サイズ調整 */
@media (max-width: 480px) {
    .blog-image,
    .curriculum-image {
        width: 100%; /* スマホでは全幅 */
        height: 100px; /* スマホでは高さを固定 */
        min-width: auto;
        flex-shrink: 0;
        border-radius: 8px 8px 0 0; /* 上部のみ角を丸く */
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .blog-image,
    .curriculum-image {
        width: 140px;
        height: 140px;
        min-width: 140px;
        flex-shrink: 0;
        border-radius: 8px;
    }
}
}

.blog-image img,
.curriculum-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    max-width: none !important;
    max-height: none !important;
}

/* コンテンツ部分のスタイル */
.blog-content,
.curriculum-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* スマホでも上揃えに変更 */
}

/* スマホでのコンテンツ調整 */
@media (max-width: 480px) {
    .blog-title,
    .curriculum-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin: 8px 0;
    }
    
    .blog-date,
    .curriculum-date {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .blog-title,
    .curriculum-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin: 8px 0;
    }
    
    .blog-date,
    .curriculum-date {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

.blog-header,
.curriculum-header {
    margin-bottom: 40px;
}

/* スマホでのヘッダーマージン調整 */
@media (max-width: 768px) {
    .blog-header,
    .curriculum-header {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .blog-header,
    .curriculum-header {
        margin-bottom: 15px;
    }
}

.blog-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}


.blog-category {
    background: #e3f2fd;
    color: #0066B3;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1.6rem;
}


.blog-excerpt {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.5;
}

.blog-more,
.curriculum-more {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .blog-card,
    .curriculum-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .blog-card,
    .curriculum-card {
        flex: 0 0 250px;
        min-width: 250px;
    }
    
    .blog-grid,
    .curriculum-grid {
        gap: 20px;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 採用バナー
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.recruit-section {
    padding: 0;
}

.recruit-banner {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.4) 0%, rgba(192, 192, 192, 0.4) 100%), url('/wp-content/themes/tenfive202508/img/home/home-recruit-bg.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding: 30px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.recruit-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.recruit-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.recruit-title {
    font-size: 34.7px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.73;
    letter-spacing: 0.023em;
}

.recruit-subtitle {
    font-size: 14px;
    font-weight: 500;
    margin: 6px 0 0 0;
    line-height: 1;
}

.recruit-message {
    margin-top: 36px;
    text-align: left;
    padding-left: 30px;
}

.recruit-headline {
    font-size: 41px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.58;
}

.recruit-description {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.5;
    margin: 0 0 30px 0;
}

.recruit-button {
    margin-top: 20px;
    text-align: right;
}

.btn-recruit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-recruit:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- CTA
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.cta-section {
    background: linear-gradient(135deg, #0066B3 0%, #004d99 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.6rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: #0066B3;
    padding: 15px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 15px 40px;
    border: 2px solid white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #0066B3;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 会社概要（簡略版）
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-company {
    background: #f8f9fa;
    padding: 60px 0;
}

.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.company-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-label {
    font-size: 1.4rem;
    color: #666;
    font-weight: 600;
}

.company-value {
    font-size: 1.6rem;
    color: #333;
}

@media (max-width: 768px) {
    .company-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- ミッション
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-mission .inner {
	max-width: 1400px;
	background: url("../img/home/mission-background.jpg") center center no-repeat;
	background-size: contain;
}

.home-mission-dl {
	max-width: 720px;
	margin: 0 auto;
	font-weight: 700;
}

.home-mission-dt {
	color: #0088b7;
	font-size: 2.6rem;
}

.home-mission-dt:not(:first-child) {
	margin-top: 30px;
}

.home-mission-dd {
	font-size: 1.6rem;
}

@media (min-width: 768px) {
.home-mission-dt {
	font-size: 5rem;
}

.home-mission-dt:not(:first-child) {
	margin-top: 75px;
}

.home-mission-dd {
	font-size: 2.4rem;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- お知らせ
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-news .inner,.home-strength .inner {
	max-width: 930px;
}

.home-news-li .image-outer {
	height: 145px;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 事業内容
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-service .inner{
	max-width: 930px;
}

.home-service {
	position: relative;
	background-image: url("/wp-content/uploads/2025/04/home-service.webp");
	background: linear-gradient(135deg, #0088b7, #2C3B65);
	/* color: #fff; */
	background-position: top;
	background-size: cover;
}

.home-service-particles {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.home-service .section-heading {
	color: #ffffff !important;
}

.home-service .section-description {
	margin-bottom: 40px;
}

.home-service-li:not(:last-child) {
	margin-bottom: 24px;
}

.home-service-li .number {
	display: block;
	font-weight: 700;
	font-size: 2rem;
	font-family: var(--font-english);
}

.home-service-li .number::before {
	display: inline-block;
	width: 2.6em;
	margin: 0 0.6em 0.1em 0;
	border-top: 1px solid;
	content: "";
}

.home-service-li .heading {
	margin-bottom: 1.1em;
	font-size: 2.6rem;
}

@media (min-width: 768px) {
.home-service .section-description {
	margin-bottom: 85px;
}

.home-service-li {
	display: flex;
	align-items: center;
}

.home-service-li:nth-child(2n) {
	flex-flow: row-reverse;
}

.home-service-li:nth-child(2n+1) .text {
	margin-right: 5%;
}

.home-service-li:nth-child(2n) .text {
	margin-left: 5%;
}

.home-service-li .number {
	font-size: 2.4rem;
}

.home-service-li .heading {
	font-size: 3.5rem;
}

.home-service-li .image {
	width: 47.5%;
	flex: none;
}
}

@media (max-width: 767.9px) {
.home-service-li .text {
	margin-bottom: 20px;
}

.home-service-li .image {
	display: block;
	margin: 0 auto;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 私たちの強み
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-strength-li {
	display: flex;
	position: relative;
	z-index: 0;
	height: 200px;
	padding: 0 1em;
	background: center center no-repeat;
	background-size: cover;
	color: #fff;
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 1.5;
	text-align: center;
	counter-increment: number;
	flex-flow: column;
	justify-content: center;
	align-items: center;
}

.home-strength-li::before {
	margin-bottom: 0.2em;
	font-size: 6rem;
	font-family: var(--font-english);
	line-height: 1;
	content: counter(number);
}

.home-strength-li::after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: navajowhite;
	mix-blend-mode: multiply;
	content: "";
	transition: background 0.3s ease-in-out;
}

.home-strength-li:nth-child(1) {
	background-image: url("../img/home/strength01.jpg");
}

.home-strength-li:nth-child(2) {
	background-image: url("../img/home/strength02.jpg");
}

.home-strength-li:nth-child(3) {
	background-image: url("../img/home/strength03.jpg");
}

@media screen\0 {
.home-strength-li::after {
	opacity: 0.6;
}
}

.home-strength-li:hover::after {
	background: none;
}

@media (min-width: 768px) {
.home-strength-ul {
	display: flex;
	justify-content: space-between;
}

.home-strength-li {
	width: 32%;
	height: 300px;
	font-size: 1.8rem;
}

.home-strength-li::before {
	font-size: 10.6rem;
}

.home-strength-li:nth-child(2) {
	animation-delay: 0.5s;
}

.home-strength-li:nth-child(3) {
	animation-delay: 0.7s;
}
}

@media (max-width: 767.9px) {
.home-strength-li:not(:last-child) {
	margin-bottom: 30px;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- メンバー紹介
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-member {
	background: #f2f4f4;
}

.home-member .inner {
	max-width: 940px;
}

.home-member-ul {
	display: flex;
	margin-bottom: -30px;
	flex-flow: wrap;
	justify-content: center;
}

.home-member-li {
	max-width: 250px;
	margin-bottom: 30px;
}

.home-member-li .image {
	margin-bottom: 10px;
}

.home-member-li .position {
	font-size: 1.6rem;
}

.home-member-li .heading {
	font-size: 2rem;
}

.home-member-li .heading-english {
	display: inline-block;
	font-size: 1.3rem;
}

/* 古いhome-headerのモバイルスタイルを削除 */
@media (min-width: 480px) {
.home-member-ul {
	margin-right: -3%;
	margin-left: -3%;
}

.home-member-li {
	width: 44%;
	margin-right: 3%;
	margin-left: 3%;
}
}

@media (min-width: 768px) {
.home-member-li {
	width: 27%;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 代表ブログ
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-blog {
	background: url("../img/home/blog-background.jpg") center center no-repeat;
	background-size: cover;
}

.home-blog .inner {
	max-width: 930px;
}

.home-blog-li .image-outer {
	height: 145px;
}

.blog-post-li .image {
	background-color: #fff;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 会社概要
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-company .inner {
	max-width: 750px;
}

@media (min-width: 768px) {
.home-company table {
	font-size: 1.8rem;
}

.home-company th {
	width: 150px;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- アクセス
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-access .inner {
	max-width: 750px;
}

.home-access iframe {
	width: 100%;
	height: 300px;
}

@media (min-width: 768px) {
.home-access iframe {
	height: 350px;
}
}

/* ========================================
   新しいファーストビュースタイル
   ======================================== */

/* 既存のhome-headerを無効化 */
.home-header {
    display: none !important;
}

/* ファーストビュー専用のスタイル - 高優先度 */
body .main-visual {
    position: relative !important;
    height: 80vh !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
}

body .main-visual .background-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .main-visual .background-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 図形の表示を確実にする */
body .main-visual .shape-3d,
body .main-visual .shape-2d {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
}

body .main-visual .shape-3d {
    z-index: 5 !important;
}

body .main-visual .shape-2d {
    z-index: 3 !important;
}

/* 図形の基本スタイルを強制適用 */
.shape-3d,
.shape-2d {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
}

.shape-3d {
    z-index: 5 !important;
}

.shape-2d {
    z-index: 3 !important;
}

/* より具体的なセレクタで図形を強制表示 */
.main-visual .shape-3d,
.main-visual .shape-2d,
body .main-visual .shape-3d,
body .main-visual .shape-2d {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
}

.main-visual .shape-3d,
body .main-visual .shape-3d {
    z-index: 5 !important;
}

.main-visual .shape-2d,
body .main-visual .shape-2d {
    z-index: 3 !important;
}

/* 3D浮遊アニメーション図形 (A-E) */
.shape-3d {
    position: absolute;
    animation: float3d 8s ease-in-out infinite;
    opacity: 1; /* 初期状態で表示 */
    transition: opacity 0.5s ease;
    z-index: 5;
}

.shape-3d.shape-a {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.shape-3d.shape-b {
    top: 20%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.shape-3d.shape-c {
    top: 70%;
    right: 40%;
    animation-delay: 4s;
    animation-duration: 9s;
}

.shape-3d.shape-d {
    top: 30%;
    right: 3%;
    animation-delay: 6s;
    animation-duration: 11s;
}

.shape-3d.shape-e {
    top: 65%;
    right: 4%;
    animation-delay: 8s;
    animation-duration: 13s;
}

@keyframes float3d {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: translateY(-20px) rotateX(15deg) rotateY(10deg) rotateZ(5deg);
    }
    50% {
        transform: translateY(-10px) rotateX(0deg) rotateY(20deg) rotateZ(10deg);
    }
    75% {
        transform: translateY(-30px) rotateX(-15deg) rotateY(10deg) rotateZ(15deg);
    }
}

/* 2D拡大縮小アニメーション図形 (F-J) */
.shape-2d {
    position: absolute;
    animation: scale2d 4s ease-in-out infinite;
    opacity: 0.3;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.shape-2d.shape-f {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.shape-2d.shape-g {
    top: 55%;
    left: 8%;
    animation-delay: 1s;
    animation-duration: 5s;
}

.shape-2d.shape-h {
    top: 25%;
    left: 25%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.shape-2d.shape-i {
    top: 65%;
    left: 20%;
    animation-delay: 3s;
    animation-duration: 6.5s;
}

.shape-2d.shape-j {
    top: 40%;
    left: 12%;
    animation-delay: 4s;
    animation-duration: 5.5s;
}

@keyframes scale2d {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.shape-image {
    width: 100% ;
    height: 100% ;
    object-fit: contain ;
    display: block ;
    visibility: visible ;
}

/* 図形のサイズ設定 */
.shape-3d.shape-a .shape-image {
    width: 300px;
    height: 300px;
}

.shape-3d.shape-b .shape-image {
    width: 500px;
    height: 500px;
}

.shape-3d.shape-c .shape-image {
    width: 200px;
    height: 200px;
}

.shape-3d.shape-d .shape-image {
    width: 500px;
    height: 500px;
}

.shape-3d.shape-e .shape-image {
    width: 150px;
    height: 150px;
}

.shape-2d.shape-f .shape-image {
    width: 400px;
    height: 400px;
}

.shape-2d.shape-g .shape-image {
    width: 200px;
    height: 200px;
}

.shape-2d.shape-h .shape-image {
    width: 60px;
    height: 60px;
}

.shape-2d.shape-i .shape-image {
    width: 120px;
    height: 120px;
}

.shape-2d.shape-j .shape-image {
    width: 100px;
    height: 100px;
}

/* メインコンテンツ */
.content-container {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    /* margin-top: 40px; */
}

.hero-content {
    max-width: 800px;
    margin-left: 8%;
}

.hero-headline {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    color: #333;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.highlight {
    background: none;
    padding: 0;
    border-radius: 0;
    color: #333;
    font-size: 2.4rem;
    border-bottom: 4px solid #F5A623;
    display: inline-block;
}

.hero-description {
    font-size: 1.6rem;
    line-height: 1;
    color: #555;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-description p {
    margin-bottom: 0.8rem;
}

/* タブレット用 */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-headline {
        font-size: 3rem;
    }

    .hero-content {
        margin-left: 5%;
    }

    /* 3D図形配置調整 */
    .shape-3d.shape-a {
        top: 5%;
        left: 4%;
    }

    .shape-3d.shape-b {
        top: 15%;
        right: 8%;
    }

    .shape-3d.shape-c {
        top: 85%;
        right: 40%;
    }

    .shape-3d.shape-d {
        top: 50%;
        right: 5%;
    }

    .shape-3d.shape-e {
        top: 65%;
        left: 5%;
    }
    .shape-3d.shape-a .shape-image {
        width: 550px;
        height: 550px;
    }
    
    .shape-3d.shape-b .shape-image {
        width: 500px;
        height: 500px;
    }
    
    .shape-3d.shape-c .shape-image {
        width: 450px;
        height: 450px;
    }
    
    .shape-3d.shape-d .shape-image {
        width: 400px;
        height: 400px;
    }
    
    .shape-3d.shape-e .shape-image {
        width: 250px;
        height: 250px;
    }

    .shape-2d.shape-f .shape-image {
        width: 150px;
        height: 150px;
    }
    
    .shape-2d.shape-g .shape-image {
        width: 100px;
        height: 100px;
    }
    
    .shape-2d.shape-h .shape-image {
        width: 40px;
        height: 40px;
    }
    
    .shape-2d.shape-i .shape-image {
        width: 60px;
        height: 60px;
    }
    
    .shape-2d.shape-j .shape-image {
        width: 50px;
        height: 50px;
    }
}

/* モバイル用 */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
    }

    /* モバイル用の図形配置調整 */
    .shape-3d.shape-a {
        top: 15%;
        left: 5%;
    }
 
    .shape-3d.shape-b {
        top: 20%;
        right: 5%;
    }

    .shape-3d.shape-c {
        top: 75%;
        right: 0%;
    }

    .shape-3d.shape-d {
        top: 50%;
        right: 5%;
    }

    .shape-3d.shape-e {
        top: 65%;
        left: 5%;
    }
    .shape-3d.shape-a .shape-image {
        width: 350px;
        height: 350px;
    }
    
    .shape-3d.shape-b .shape-image {
        width: 400px;
        height: 400px;
    }
    
    .shape-3d.shape-c .shape-image {
        width: 250px;
        height: 250px;
    }
    
    .shape-3d.shape-d .shape-image {
        width: 300px;
        height: 300px;
    }
    
    .shape-3d.shape-e .shape-image {
        width: 150px;
        height: 150px;
    }

    /* 2D図形のモバイル調整 */
    .shape-2d.shape-f {
        top: 15%;
        left: 10%;
    }
    
    .shape-2d.shape-g {
        top: 65%;
        left: 5%;
    }
    
    .shape-2d.shape-h {
        top: 25%;
        left: 20%;
    }
    
    .shape-2d.shape-i {
        top: 70%;
        left: 15%;
    }
    
    .shape-2d.shape-j {
        top: 40%;
        left: 8%;
    }

    .shape-2d.shape-f .shape-image {
        width: 100px;
        height: 100px;
    }
    
    .shape-2d.shape-g .shape-image {
        width: 80px;
        height: 80px;
    }
    
    .shape-2d.shape-h .shape-image {
        width: 30px;
        height: 30px;
    }
    
    .shape-2d.shape-i .shape-image {
        width: 50px;
        height: 50px;
    }
    
    .shape-2d.shape-j .shape-image {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.3rem;
    }

    .hero-description {
        font-size: 1.3rem;
        line-height: 1.6;
    }

    /* さらに小さい画面用の図形調整 */
    .shape-3d.shape-a .shape-image {
        width: 150px;
        height: 150px;
    }
    
    .shape-3d.shape-b .shape-image {
        width: 200px;
        height: 200px;
    }
    
    .shape-3d.shape-c .shape-image {
        width: 150px;
        height: 150px;
    }
    
    .shape-3d.shape-d .shape-image {
        width: 180px;
        height: 180px;
    }
    
    .shape-3d.shape-e .shape-image {
        width: 100px;
        height: 100px;
    }
    /* 3D図形配置調整 */
    .shape-3d.shape-a {
        top: 10%;
        left: 5%;
    }

    .shape-3d.shape-b {
        top: 10%;
        right: 5%;
    }

    .shape-3d.shape-c {
        top: 70%;
        right: 0%;
    }

    .shape-3d.shape-d {
        top: 50%;
        right: 5%;
    }

    .shape-3d.shape-e {
        top: 65%;
        left: 5%;
    }
    .shape-2d.shape-f .shape-image {
        width: 60px;
        height: 60px;
    }
    
    .shape-2d.shape-g .shape-image {
        width: 50px;
        height: 50px;
    }
    
    .shape-2d.shape-h .shape-image {
        width: 20px;
        height: 20px;
    }
    
    .shape-2d.shape-i .shape-image {
        width: 35px;
        height: 35px;
    }
    
    .shape-2d.shape-j .shape-image {
        width: 25px;
        height: 25px;
    }
}
