@charset "UTF-8";

/* 
Theme Name: solizon
*/

/* リセットCSS */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New&display=swap');


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

/* 基本設定 */
body {
    font-family: "Zen Kaku Gothic New",sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #FFCF96;
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

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

/* ヘッダー */
.header {
    background: #FFCF96;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #8B4513;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.nav-list a:hover {
    color: #A0522D;
}

/* モバイルメニュー */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #8B4513;
    cursor: pointer;
    z-index: 1001;
}

/* モバイル用ナビゲーション */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 228, 181, 0.98);
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        backdrop-filter: blur(10px);
        border-radius: 0 0 15px 15px;
    }
    
    .nav-list.mobile-active {
        display: flex;
    }
    
    .nav-list li {
        padding: 0.8rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(139, 69, 19, 0.2);
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        font-size: 1.1rem;
        font-weight: 600;
        display: block;
        padding: 0.5rem;
    }
}

/* ヒーローセクション */
.hero {
    background: #FFCF96;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    min-height: calc(var(--vh, 1vh) * 100 - 80px);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #8B4513;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.1rem;
    color: #A0522D;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    z-index: 1;
}

.speech-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    color: #8B4513;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.bubble-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    top: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* セクション共通スタイル */
.section {
    padding: 3rem 0;
    margin-bottom: 2rem;
    background: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.section-title {
    font-size: 4rem;
    color: #A55005;
    text-align: center;
    font-weight: 100;
}
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #A55005;
    margin-bottom: 3rem;
    font-weight: 100;
}

/* VIOについてセクション */
.about-section {
    padding: 2rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #8B4513;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

.about-text p {
    font-size: 1.1rem;
    color: #A55005;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.about-bubble-1 {
    position: absolute;
    top: 10%;
    left: -10%;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #8B4513;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-bubble-2 {
    position: absolute;
    bottom: 20%;
    right: -15%;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #8B4513;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* サービスセクション */
.services-section {
    padding: 2rem 0;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.service-image {
    flex: 1;
    text-align: center;
}

.service-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 2.2rem;
    color: #8B4513;
    margin-bottom: 2rem;
    font-weight: 700;
}

.service-text p {
    font-size: 1.1rem;
    color: #A55005;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* 事業内容セクション */
.services {
    padding: 4rem 0;
    background: #FFCF96;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.service-card {
    background: #FFCF96;
    border-radius: 30px;
    padding: 0;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: visible;
    text-align: center;
}

.service-tag-circle {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #8B4513;
    width: 300px;
    height: 150px;
    border-radius: 300px 300px 0 0;
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}
.service-tag-main {
    color: #8B4513;
    font-size: 1.3rem;
    font-weight: 700;
}

.service-icon-top-title {
    width: 70%;
}

.service-description {
    width: 78%;
}

.service-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #8B4513;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 5px;
    border: 2px solid #8B4513;
}

.service-tag-sub {
    color: #8B4513;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 3rem 3rem;
}

.service-illustration {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.service-subtitle {
    color: #8B4513;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.service-description {
    color: #A55005;
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: left;
    max-width: 600px;
}

.service-description p {
    margin-bottom: 0.5rem;
    color: #8B4513;
    border-top: #A55005 solid 2px;
    padding-top: 1rem;
}

.service-card-description {
    border-top: #A55005 solid 2px;
    padding-top: 20px;
    color: #8B4513;
}

.service_card_3 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch
}

.service-card-container .service-img--illust {
    width: 100%;
    height: 348px;
}

.service-top-title-img {
    width: 100%;
}

.service-card-container {
    width: 30%;
    margin-top: 80px;
}

.service-card-2 {
    margin-top: 80px;
}

/* 信頼関係セクション */
.trust-section {
    padding: 2rem 0;
    text-align: center;
}

.trust-content h2 {
    font-size: 2.2rem;
    color: #8B4513;
    margin-bottom: 2rem;
    font-weight: 700;
}

.trust-image {
    margin: 2rem 0;
}

.trust-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.trust-content p {
    font-size: 1.1rem;
    color: #A55005;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FLOWセクション */
.flow-section {
    padding: 4rem 0;
    background: #FFCF96;
}

.flow-content {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    margin-top: 3rem;
}

.flow-logos {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
}

.flow-logo {
    height: auto;
    object-fit: contain;
    width: 100%;
}

.flow-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    padding: 75px 0;
}

.flow-arrow-line {
    width: 2px;
    background: #8B4513;
    flex-grow: 1;
    min-height: 80px;
}

.flow-arrow {
    font-size: 2rem;
    color: #8B4513;
    font-weight: bold;
    margin: 10px 0;
}

.flow-text {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.flow-step p {
    color: #8B4513;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.flow-logo01 {
    margin-bottom: 100px;
}
.flow-logo02 {
    margin-bottom: 60px;
}
.flow-logo03 {
    margin-bottom: 30px;
}
.flow-logo04 {
    margin-bottom: 0px;
}
.flow-logo05 {
    margin-bottom: -20px;
}
/* 会社概要セクション */
.company-section {
    padding: 4rem 0;
    background: #FFCF96;
}

.company-table {
    max-width: 800px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.company-info-table {
    width: 100%;
    border-collapse: collapse;
}

.company-info-table tr {
    border-bottom: 1px solid #E8E8E8;
}

.company-info-table tr:last-child {
    border-bottom: none;
}

.table-header {
    background: #F5F5F5;
    padding: 1.5rem;
    font-weight: 600;
    color: #8B4513;
    width: 150px;
    vertical-align: top;
    font-size: 1rem;
}

.table-content {
    padding: 1.5rem;
    color: #333;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* メッセージセクション */
.message-text {
    color: #8B4513;
    line-height: 2;
    font-size: 1.1rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

/* お問い合わせセクション */
.contact-section {
    padding: 4rem 0;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content > p {
    font-size: 1.2rem;
    color: #A55005;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #8B4513;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item p {
    color: #A55005;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* チーム紹介セクション */
.team {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem 1rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #A55005;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-member h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.team-member p {
    color: #A55005;
    font-size: 1rem;
    font-weight: 500;
}

/* ポートフォリオセクション */
.portfolio {
    padding: 4rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #A55005;
    padding: 2rem 1.5rem 1.5rem;
}

.portfolio-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 製品・サービスセクション */
.products {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-info h3 {
    color: #8B4513;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    font-size: 2rem;
    color: #D2691E;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-info ul {
    list-style: none;
    text-align: left;
}

.product-info li {
    padding: 0.5rem 0;
    color: #A55005;
    border-bottom: 1px solid #eee;
}

.product-info li:before {
    content: "✓";
    color: #D2691E;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* プロセスセクション */
.process {
    padding: 4rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #D2691E;
    color: #A55005;
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.process-step h3 {
    color: #8B4513;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    color: #A55005;
    line-height: 1.6;
}



/* フッター */
.footer {
    background: #FFEDC8;
    color: #A55005;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info h3,
.footer-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-info p,
.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    /* ヘッダー調整 */
    .header {
        padding: 0.8rem 0;
    }
    
    .logo-img {
        height: 40px;
    }
    
    /* ヒーローセクション */
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-illustration {
        max-width: 280px;
    }
    
    /* 吹き出し調整 */
    .bubble-1,
    .bubble-2,
    .about-bubble-1,
    .about-bubble-2 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 0.5rem auto;
        display: inline-block;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* セクション調整 */
    .section {
        padding: 2rem 0;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    /* アバウト・サービスセクション */
    .about-content,
    .service-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .about-text h2,
    .service-text h2,
    .trust-content h2 {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .about-text p,
    .service-text p,
    .trust-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .about-image img,
    .service-image img,
    .trust-image img {
        max-width: 280px;
    }
    
    /* グリッドレイアウト調整 */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* チームメンバー */
    .team-member {
        padding: 1.5rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* プロセスステップ */
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.2rem;
    }
    
    /* FLOW */
    .flow-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .flow-logos {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
        align-items: baseline;
    }
    
    .flow-logo-item {
        width: 100px;
        height: 100px;
    }
    
    .flow-logo {
        width: 70px;
    }
    
    .flow-arrows {
        display: none;
    }
    
    .flow-step {
        padding: 1.5rem;
    }
    
    .flow-step p {
        font-size: 0.9rem;
    }

    /* 会社概要テーブル */
    .company-table {
        margin: 2rem 1rem 0;
    }
    
    .table-header {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .table-content {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .message-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* コンタクト */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .service-icon-top {
        width: 80%;
        margin: 0 auto;
    }
    .service-icon-top-title,.service-description {
        width: 100%;
    }
}

/* サービスセクション レスポンシブ対応 */
@media (max-width: 768px) {
    .services {
        padding: 2rem 0;
    }
    
    .services-grid {
        gap: 2rem;
    }
    
    .service-card-container {
        width: 100%;
    }
    
    .service-card {
        margin: 0 1rem;
        margin-top: 40px;
    }
    
    .service-content {
        padding: 1.5rem 2rem 2rem;
    }
    
    .service-tag-circle {
        width: 250px;
        height: 125px;
        border-radius: 250px 250px 0 0;
        padding-bottom: 15px;
    }
    
    .service-tag-main {
        font-size: 1.1rem;
    }
    
    .service-tag {
        padding: 8px 20px;
        font-size: 1rem;
    }
    
    .service-tag-sub {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 120px;
        height: 120px;
    }
    
    .service-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    .flow-logos {
        display: none;
    }
    .pc {
        display: none;
    }
    .flow-step-title {
        font-size: 1.2rem !important;
    }
    .service-top-title-img,.service-img--illust,.service-card-description {
        width: 80% !important;
        margin: 0 auto;
        display: block;
    }
    .service-card-container .service-img--illust {
        height: unset !important;
    }
}

@media (max-width: 480px) {
    /* FLOW */
    .flow-logos {
        gap: 1rem;
        align-items: center;
    }
    
    .flow-logo-item {
        width: 80px;
        height: 80px;
    }
    
    .flow-logo {
        width: 50px;
    }
    
    .flow-arrows {
        display: none;
    }
    
    .flow-step {
        padding: 1rem;
    }
    
    .flow-step p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .service-content {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .service-card-container {
        width: 100%;
    }
    
    .service-tag-circle {
        width: 200px;
        height: 100px;
        border-radius: 200px 200px 0 0;
        padding-bottom: 12px;
    }
    
    .service-tag-main {
        font-size: 1rem;
    }
    
    .service-tag {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
    
    .service-tag-sub {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        width: 100px;
        height: 100px;
    }
    
    .service-subtitle {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
    
    /* 会社概要テーブル（スマホ） */
    .company-table {
        margin: 1.5rem 0.5rem 0;
    }
    
    .table-header {
        padding: 0.8rem;
        font-size: 0.8rem;
        width: 100px;
    }
    
    .table-content {
        padding: 0.8rem;
        font-size: 0.75rem;
        line-height: 1.6;
    }
    
    .message-text {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        line-height: 1.8;
    }
}

.message-text {
    color: #8B4513;
    text-align: center;
}

/* iOS Safari対応 */
html {
    height: -webkit-fill-available;
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* ビューポート高さ対応 */
.hero {
    min-height: calc(100vh - 80px);
    min-height: calc(var(--vh, 1vh) * 100 - 80px);
}

/* 画像の遅延読み込み対応 */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* スクロールバーのカスタマイズ（Webkit） */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 228, 181, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 69, 19, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 69, 19, 0.7);
}

/* タッチデバイス用の改善 */
.touch-device .team-member,
.touch-device .product-item,
.touch-device .portfolio-item,
.touch-device .process-step {
    cursor: pointer;
}

.touch-device .team-member:active,
.touch-device .product-item:active,
.touch-device .portfolio-item:active,
.touch-device .process-step:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* フォーカス状態の改善 */
.nav-list a:focus,
.mobile-menu-btn:focus {
    outline: 2px solid #D2691E;
    outline-offset: 2px;
    border-radius: 4px;
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .hero-illustration,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ランドスケープモード対応 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-illustration {
        max-width: 200px;
    }
    
    .section {
        padding: 1.5rem 0;
    }
}

/* プリント用スタイル */
@media print {
    .header,
    .mobile-menu-btn,
    .speech-bubble,
    .footer {
        display: none;
    }
    
    .hero,
    .section {
        page-break-inside: avoid;
    }
    
    body {
        background: #A55005 !important;
        color: black !important;
    }
}
