/* styles.css */

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: left;
    color: #333;
}

h3 {
    font-size: 1em;
    margin: 30px 0 10px 0;
    color: #333;
}

.container {
    background-image: url('bgimage.png'); /* Replace with the actual path to your image */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

.container h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #fff;
}

.container .content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
}

.container.secondary {
    background-image: none; /* Remove background image for secondary pages */
    background-color: #e0e0e0;
    height: auto;
    color: #333;
}

.container.secondary-contact,
.container.secondary-consul
{
    background-image: none; /* Remove background image for secondary pages */
    background-color: #f9f9f9;
    height: auto;
    color: #333;
}

.container.secondary .content,
.container.secondary-consul .content-consul {
    background-color: transparent;
    color: #333;
    margin: 0 20px;
    padding: 40px 20px;
    max-width: 800px;
}

.container.secondary .content h1 {
    font-size: 2.6em;
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

.container.secondary .content p {
    font-size: 1em;
    margin: 0 10px 20px 10px;
    text-align: left;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    width: 100px; /* Adjust as needed */
}

.buttons {
    margin: 60px 10px 20px 10px;
    display: flex;
    justify-content: center;
}

.buttons_req {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.button_req {
    background-color: transparent;
    color: orange;
    margin: 20px 10px;
    padding: 10px 10px;
    text-decoration: none;
    border: solid 2px;
    border-color: orange;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s;
}

.button_req:hover {
    color: white;
    background-color: darkorange;
    border-color: darkorange;
}

.buttons_consul {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.button_consul {
    background-color: orange;
    color: white;
    margin: 20px 10px;
    padding: 10px 10px;
    text-decoration: none;
    border: solid 2px;
    border-color: orange;
    font-size: 1em;
    transition: background-color 0.3s;
}

.button_consul:hover {
    background-color: darkorange;
    border-color: darkorange;
}

@media (max-width: 768px) {
    .content {
        padding: 10px;
    }

    h1,
    .container h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 0.9em;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }
    
}





/* なぜ税務調査に対策が必要なのか？ */

.grid {
    max-width: 800px;
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.grid_item01 {
    background-image: none;
}

.grid_item02  img {
    max-width: 100%;
    height: auto;
    border: 0;
    padding: 10px;
}


@media (max-width: 768px) {
    .grid {
        padding: 10px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 2fr;
    }
}

/* こんな時はご相談ください */

.consultation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
}

.consultation-item {
    background-image: none;
}

.consultation-item p {
    margin-top: 10px;
    font-size: 0.9em;
    color: #333;
}

.consultation-image {
    text-align: center;
}

.consultation-image img {
    max-width: 100%;
    height: auto;
    border: 0;
    padding: 10px;
}

.consultation-image p {
    margin-top: 10px;
    font-size: 0.9em;
    color: #333;
}



/* お問い合わせ */

.content-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1fr 1fr;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.contact-info h2, .contact-info h3 {
    margin: 20px 0 10px 0;
}

.contact-info p {
    margin: 0 0 10px 0;
}

.sns {
/*    display: flex; */
    align-items: center;
    margin-top: 20px;
}

.sns span {
    margin-right: 10px;
}

.sns-icons img {
    max-width: 20px;
    margin-right: 10px;
}

.company-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.company-info img {
    max-width: 80px;
    margin-right: 10px;
}

.image-container {
    flex:1fr 1fr;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .content-contact {
        flex-direction: column;
        align-items: center;
    }
    .contact-info, .image-container {
        max-width: 100%;
        flex: 1 1 100%;
    }
}










