/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

/* Typography */
.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
}

.section-subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.8;
}

/* Header */
.header {
    background-color: #ffffff;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    width: 100%;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    border: 1px solid #000000;
    border-radius: 30px;
    padding: 0 20px;
}
.nav a:hover{
    background-color: #000000;
    color:#ffffff;
}

.nav a:hover {
    opacity: 0.7;
}

.cta-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #333333;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #000000;
    transition: 0.3s;
}

/* Mobile Menu Styles */
.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav.active a {
    padding: 15px 0;
    border: none;
    border-radius: 0;
    text-align: center;
    margin: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav.active a:last-child {
    border-bottom: none;
}

/* Hamburger Menu Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 0 0 50px 50px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-cta {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    padding: 21px 80px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: background-color 0.3s;
    font-weight: 700;
}

.hero-cta:hover {
    background-color: #000000;
    color: #ffffff;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    justify-content: center;
    align-items: center;
}
.hero-image img{
    width: 100%;
    height: 100%;
}
.laptop-mockup {
    transform: rotate(-5deg);
    position: relative;
}

.laptop-screen {
    width: 400px;
    height: 250px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.screen-content {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.mockup-header {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.mockup-image {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 20px;
}

.mockup-footer {
    font-size: 1rem;
    font-weight: 500;
}

/* Image Grid Section */
.image-grid {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.grid-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.grid-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.grid-container-left {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    direction: rtl;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.grid-container-left::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.grid-item {
    flex-shrink: 0;
}

.grid-item img {
    width: calc(621 * 100vw / 1920);
    height: calc(390 * 100vw / 1920);
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

.banner img{
    max-width: 1600px;
    width: -webkit-fill-available;
    width: 70%;
}

/* スマートフォンサイズでのバナー画像調整 */
@media (max-width: 768px) {
    .banner img {
        width: 90%;
        max-width: 100%;
    }
    
    /* ポートフォリオカルーセルの中央配置調整 */
    .portfolio-carousel {
        justify-content: center;
        align-items: center;
    }
    
    .carousel-container {
        justify-content: center;
        align-items: center;
    }
}
/* About Section */
.about {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    border-radius: 10px;
    overflow: hidden;
}

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

.about-text-bottom {
    margin-top: 20px;
}

.about-text-bottom p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta img{
    width: auto;
}
/* Problem Section */
.problem {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.problem-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 500;
}

.problem-cards {
    display: grid;
    gap: 30px;
    justify-content: center;

}
.problem-box{
    display: flex;
    height: 68px;
}

.problem-card {
    background-color: #333333;
    padding: 30px;
    border-radius: 10px;
    display: flex ;
    align-items: center;
    gap: 20px;
    border-radius: 100px;
    max-width: 1100px;
    border: 4px solid #FFFFFF33;
    margin-left: 10px;
    width: 40rem;
}

.problem-card i {
    font-size: 1.5rem;
    color: #4CAF50;
    flex-shrink: 0;
}

.problem-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    background-color: #FFFFFF4D;
    padding: 57px 62px;
    border-radius: 30px;
}
.arropw-down{
    text-align: right;
}
.arropw-down img{
    width: 70px;
    height: auto;
}
.feature-card {
    background-color: #ffffff;
    
    background-repeat: no-repeat;
    background-position: left top;
    background-size: auto;
    padding: 42px 70px;
    border-radius: 30px;
    position: relative;
    transition: transform 0.3s;
    color: #000000;
}
#fc-1{
    background-image: url('img/01.png');
}
#fc-2{
    background-image: url('img/02.png');
} 
#fc-3{
    background-image: url('img/03.png');
}
#fc-4{
    background-image: url('img/04.png');
}

.feature-card-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-card-title h3 {
    flex: 1;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i:first-child {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

.feature-card p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.3rem;
}

.feature-card i:last-child {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    text-align: center;
}

.cta-main {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 20px;
    transition: background-color 0.3s;
}

.cta-main:hover {
    background-color: #0056b3;
}

.cta-secondary {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-secondary:hover {
    background-color: #f0f0f0;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.portfolio-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.carousel-arrow i {
    color: #333333;
    font-size: 18px;
}

.carousel-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    justify-content: center;
    align-items: center;
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-item {
    flex-shrink: 0;
}
.carousel-item img{
    max-width: 338px;
}

.phone-mockup {
    width: 200px;
    height: 400px;
    background-color: #ffffff;
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #333333;
    border-radius: 20px;
    overflow: hidden;
}

.mockup-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}



/* Plans Section */
.plans {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.plans-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.6;
}

.cost-breakdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.cost-item {
    text-align: center;
    background-color: #333333;
    padding: 30px;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#cost-item1{
    background-color: #FFFFFF4D;
    border: 4px solid #FFFFFF66;
}
#cost-item2{
    background-color: #FFFFFF66;
    border: 4px solid #FFFFFF66;
}
#cost-item3{
    background-color: #000000B2;
    border: 4px solid #FFFFFF66;

}

.cost-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cost-label {
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.cost-amount {
    font-size: 1.3rem;
    font-weight: 600;
}
#cost-amount-3{
    font-size: 0.7rem;
    font-weight: 300;
}
.cost-connector {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
}

.plan-category {
    margin-bottom: 60px;
}

.plan-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    padding-left: 40px;

}
#plan-category1{
    background-image: url('img/number01.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 95px;
    padding-top: 45px;
}
#plan-category2{
    background-image: url('img/number02.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 95px;
    padding-left: 40px;
    padding-top: 45px;
}
#plan-category3{
    background-image: url('img/number03.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 95px;
    padding-left: 40px;
    padding-top: 45px;
}


.plan-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plan-card {
    background-color: #333333;
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    text-align: left;
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}
.plan-card-p{
    color: #ffffff;
    background-color: #000;
    border-radius: 30px;
    width: fit-content;
    padding: 5px 10px;
}
.plan-card-price{
    font-size: 30px;
    font-weight: 700;
    text-align: right;
    margin-top: 30px;
}
#plan-card1{
    background-color: #FFFFFF33;
    border:2px solid #FFFFFF ;
}
#plan-card2{
    background-color: #FFFFFF;
    border:2px solid #FFFFFF ;
    color: #000;
}
#plan-card3{
    background-color: #000000;
    border:2px solid #FFFFFF ;
    background-image: url('img/線.png');
    background-repeat: no-repeat;
    background-position: right;
}

.plan-card.featured {
    border: 2px solid #007bff;
}

.new-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: #007bff;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.plan-price {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    padding-bottom: 10px;
    border-bottom: 1px solid #ffffff;
}
.plan-price-w{
    font-size: 0.7rem;
    font-weight: 700;
    color: #000;
    padding-bottom: 10px;
    border-bottom: 1px solid #000000;
}
.plane-txt{
    margin-top: 10px;
    margin-bottom: 20px;
}

.plan-card ul {
    list-style: none;
    margin-bottom: 25px;
    flex: 1;
}

.plan-card li {
    margin-bottom: 10px;
    line-height: 1.5;
    background-image: url('img/check.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px;
    padding-left: 25px;
}

.plan-button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: auto;
    align-self: flex-end;
    margin-left: 0;
    width: 100%;
    margin-top: 30px;
    font-weight: 700;
}
.plan-button a{
    text-decoration: none;
    color: #000000;
}
.plan-button-b{
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 30px;
}
.plan-button-b a{
    text-decoration: none;
    color: #ffffff;
}
#operation-card1{
    background-color: #000000;
    background-image: url('img/タマ.png');
    background-repeat: no-repeat;
    background-position: right;
}
#operation-card2{
    background-color: #ffffff;
    color: #000;
}
#operation-card3{
    background-color: #ffffff;
    color: #000;
    background-image: url('img/border.png');
    background-repeat: no-repeat;
    background-position: right;
}
.plan-button:hover {
    background-color: #0056b3;
}

.additional-options {
    margin-top: 60px;
}
.additional-options h3{
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    padding-left: 40px;

    background-image: url(img/α.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 95px;
    padding-left: 40px;
    padding-top: 70px;
}

.options-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-button {
    background-color: #FFFFFF80;
    color: #ffffff;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-button.active,
.tab-button:hover {
    background-color: #007bff;
}

.options-table {
    background-color: #333333;
    border-radius: 10px;
    overflow-x: auto;
    max-width: 80%;
    margin: auto;
    margin-top: 200px;
}
th{
    width: 200px;
    padding: 20px;;
}
td span{
    font-size: 45px;
}
td{
    font-size: 10px;
}
.table-title{
    font-size: 16px;
}
.options-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* 最小幅を設定して横スクロールを有効化 */
}

.options-table th,
.options-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.options-table th {
    background-color: #444444;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #333333;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #444444;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background-color: #007bff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.faq-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 25px;
    display: flex;
    gap: 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: flex;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: #007bff;
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-fields input,
.contact-form-fields textarea {
    background-color: #333333;
    border: none;
    padding: 15px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.contact-form-fields input::placeholder,
.contact-form-fields textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.submit-button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #f0f0f0;
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.contact-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-contact {
    width: 250px;
    height: 500px;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen-contact {
    width: 100%;
    height: 100%;
    background-color: #333333;
    border-radius: 25px;
    overflow: hidden;
}

.mockup-content-contact {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

/* Footer */
.footer {
    background-color: #FFFFFF;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #000000;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-address {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.5;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.footer-column a {
    display: block;
    color: #00000099;
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .laptop-screen {
        width: 350px;
        height: 220px;
    }
    
    .cost-item {
        width: 250px;
        height: 250px;
        padding: 20px;
    }
    
    .plan-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .plan-card{
        max-width: 100%;
        margin: auto;
    }
    .plans-details{
        width: 100%;
        margin: auto;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .problem-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .problem-card{
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cost-breakdown {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cost-item {
        width: 300px;
        height: 300px;
        padding: 15px;
    }
    
    .cost-connector {
        transform: rotate(90deg);
        font-size: 2.5rem;
    }
    
    .options-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tab-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .carousel-arrow {
        display: none;
    }
    
    .laptop-mockup {
        transform: none;
    }
    
    .laptop-screen {
        width: 300px;
        height: 190px;
    }
    .contact-image img{
        width: 100%;
    }
    /* ポートフォリオ画像のサイズ調整（タブレット） */
    .carousel-item img {
        max-width: 280px;
    }
    
    .banner img{
        width: 95%;
    }
    .about-card img{
        display: none;
    }
    .feature-card h3{
        font-size: 1rem;
    }
    .feature-card p{
        font-size: 1rem;
    }
    .feature-card{
        padding: 30px;
    }
    .arropw-down img{
        width: 50px;
    }
}

@media (max-width: 480px) {
    .contact-form-fields input, .contact-form-fields textarea{
        width: 22rem;
    }
    .submit-button{
        width: 22rem !important;
    }
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-cta,
    .cta-main,
    .cta-secondary {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .cta-main {
        margin-right: 0;
        margin-bottom: 15px;
        display: block;
        width: 100%;
    }
    
    .cta-secondary {
        display: block;
        width: 100%;
    }
    
    .grid-container,
    .grid-container-left {
        gap: 15px;
    }
    
    .grid-item img {
        width: 200px;
        height: 200px;
    }
    
    /* ポートフォリオ画像のサイズ調整（スマートフォン） */
    .carousel-item img {
        max-width: 220px;
    }
    
    /* ポートフォリオカルーセルの中央配置調整 */
    .portfolio-carousel {
        justify-content: center;
        align-items: center;
    }
    
    .carousel-container {
        justify-content: center;
        align-items: center;
    }
    
    .phone-mockup {
        width: 150px;
        height: 300px;
    }
    
    .phone-mockup-contact {
        width: 200px;
        height: 400px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .plan-card {
        padding: 25px;
    }
    
    .faq-question,
    .faq-answer {
        padding: 20px;
    }
    
    .problem-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 20rem;
        height: max-content;
    }
    .problem-box{
        height: auto;
    }
    .problem-box img{
        width: 50px;
        height: 50px;
        margin: auto 0;
    }
    
    /* テーブルの横スクロール対応 */
    .options-table {
        max-width: 95%;
        margin-top: 100px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
    }
    
    .options-table table {
        min-width: 600px;
        font-size: 12px;
    }
    
    .options-table th,
    .options-table td {
        padding: 10px;
    }
    
    .options-table th {
        font-size: 14px;
    }
    
    .options-table td {
        font-size: 10px;
    }
    
    .table-title {
        font-size: 14px;
    }
    .features-grid{
        padding: 36px 30px;
    }
}

/* Privacy Policy Page Styles */
.privacy-policy {
    padding: 160px 0 80px;
    background-color: #ffffff;
    color: #000000;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.privacy-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #000000;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
}

.policy-section h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin: 25px 0 15px 0;
}

.policy-section p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #333333;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-section li {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #333333;
}

.contact-info {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.contact-info p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.company-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dddddd;
    text-align: right;
}

.company-signature p {
    margin: 5px 0;
    font-weight: 500;
}

.policy-section a {
    color: #000000;
    text-decoration: underline;
}

.policy-section a:hover {
    color: #666666;
}

/* Responsive Design for Privacy Policy */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 140px 0 60px;
    }
    
    .privacy-content {
        padding: 0 20px;
    }
    
    .privacy-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-section h3 {
        font-size: 1.1rem;
    }
    
    .contact-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .stat-number{
        font-size: 1.5rem;
    }
    .privacy-policy {
        padding: 120px 0 40px;
    }
    
    .privacy-content {
        padding: 0 15px;
    }
    
    .privacy-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .policy-section h2 {
        font-size: 1.2rem;
    }
    
    .policy-section h3 {
        font-size: 1rem;
    }
    
    .policy-section p,
    .policy-section li {
        font-size: 0.9rem;
    }
    
    .contact-info {
        padding: 12px;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
}

/* ScrollHintのカスタマイズ - スクロールアイコンのみ半透明表示 */
.scroll-hint {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: block !important; /* 初期表示を確実にする */
}

.scroll-hint:hover {
    opacity: 1;
}

.scroll-hint-icon {
    opacity: 0.8;
}

.scroll-hint-text {
    opacity: 0.8;
}

/* スクロールアイコンのみを非表示にするスタイル */
.scroll-hint.hidden {
    display: none !important;
}

/* テーブル自体は常に表示し続ける - ScrollHintライブラリの影響を受けない */
.options-table,
.options-table.js-scrollable,
.options-table.is-scrollable,
.options-table[class*="scroll-hint"],
.options-table[class*="js-scrollable"],
.options-table[class*="is-scrollable"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

.options-table table,
.options-table.js-scrollable table,
.options-table.is-scrollable table,
.options-table[class*="scroll-hint"] table,
.options-table[class*="js-scrollable"] table,
.options-table[class*="is-scrollable"] table {
    display: table !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* ScrollHintライブラリが追加するクラスに対しても表示を保証 */
.js-scrollable,
.is-scrollable,
[class*="scroll-hint"],
[class*="js-scrollable"],
[class*="is-scrollable"] {
    display: block !important;
}

.js-scrollable table,
.is-scrollable table,
[class*="scroll-hint"] table,
[class*="js-scrollable"] table,
[class*="is-scrollable"] table {
    display: table !important;
}

/* さらに強力な表示保証 - インラインスタイルも上書き */
.options-table[style*="display: none"],
.options-table[style*="display:none"],
.options-table[style*="visibility: hidden"],
.options-table[style*="opacity: 0"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.options-table table[style*="display: none"],
.options-table table[style*="display:none"],
.options-table table[style*="visibility: hidden"],
.options-table table[style*="opacity: 0"] {
    display: table !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ScrollHintライブラリの全クラスパターンに対応 */
[class*="scroll-hint"],
[class*="js-scrollable"],
[class*="is-scrollable"] {
    display: block !important;
}

[class*="scroll-hint"] table,
[class*="js-scrollable"] table,
[class*="is-scrollable"] table {
    display: table !important;
}

/* さらに強力なセレクターで表示を保証 */
.options-table *,
.options-table * * {
    display: revert !important;
}

.options-table table,
.options-table thead,
.options-table tbody,
.options-table tr,
.options-table th,
.options-table td {
    display: table !important;
}

.options-table thead {
    display: table-header-group !important;
}

.options-table tbody {
    display: table-row-group !important;
}

.options-table tr {
    display: table-row !important;
}

.options-table th,
.options-table td {
    display: table-cell !important;
}

/* ScrollHintライブラリの全パターンに対応する最終的な表示保証 */
.options-table,
.options-table[class*="scroll"],
.options-table[class*="hint"],
.options-table[class*="js"],
.options-table[class*="is"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
}

.options-table table,
.options-table[class*="scroll"] table,
.options-table[class*="hint"] table,
.options-table[class*="js"] table,
.options-table[class*="is"] table {
    display: table !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
}

/* インラインスタイルによる非表示を完全に防ぐ */
.options-table[style*="display"],
.options-table[style*="visibility"],
.options-table[style*="opacity"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.options-table table[style*="display"],
.options-table table[style*="visibility"],
.options-table table[style*="opacity"] {
    display: table !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* さらに強力なセレクターで全要素の表示を保証 */
.options-table *[style*="display"],
.options-table *[style*="visibility"],
.options-table *[style*="opacity"] {
    display: revert !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 利用規約ページのテーブルスタイル */
.terms-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #333333;
    border-radius: 10px;
    overflow: hidden;
}

.terms-table th,
.terms-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-table th {
    background-color: #444444;
    font-weight: 600;
    color: #ffffff;
}

.terms-table td {
    color: #ffffff;
}

.terms-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .terms-table {
        font-size: 0.9rem;
    }
    
    .terms-table th,
    .terms-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .terms-table {
        font-size: 0.8rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .terms-table thead,
    .terms-table tbody,
    .terms-table th,
    .terms-table td,
    .terms-table tr {
        display: block;
    }
    
    .terms-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .terms-table tr {
        border: 1px solid #444444;
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 5px;
    }
    
    .terms-table td {
        border: none;
        position: relative;
        padding-left: 50%;
        white-space: normal;
    }
    
    .terms-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: #007bff;
    }
}

/* 375px以下の専用対応 */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    /* ヘッダーの調整 */
    .header {
        padding: 15px 0;
    }
    
    .header .container {
        gap: 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .nav a {
        padding: 0 12px;
        font-size: 0.8rem;
        border-radius: 20px;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-cta {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .grid-item img {
        width: 180px;
        height: 180px;
    }
    
    /* ポートフォリオ画像のサイズ調整（小さいスマートフォン） */
    .carousel-item img {
        max-width: 180px;
    }
    
    /* ポートフォリオカルーセルの中央配置調整 */
    .portfolio-carousel {
        justify-content: center;
        align-items: center;
    }
    
    .carousel-container {
        justify-content: center;
        align-items: center;
    }
    
    .phone-mockup {
        width: 120px;
        height: 240px;
    }
    
    .phone-mockup-contact {
        width: 160px;
        height: 320px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .problem-card {
        width: 100%;
        max-width: 18rem;
    }
    
    .cost-breakdown {
        width: 100%;
        max-width: 18rem;
    }
    
    .cost-item {
        width: 250px;
        height: 250px;
        padding: 15px;
    }
    
    .options-table {
        max-width: 100%;
        margin: 50px 0;
        overflow-x: auto;
    }
    
    .options-table table {
        min-width: 500px;
    }
    
    .options-table th,
    .options-table td {
        padding: 8px;
        font-size: 9px;
    }
    
    .options-table th {
        font-size: 12px;
    }
    
    .table-title {
        font-size: 12px;
    }
    
    .banner img {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
} 