
/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    /* background-image: url(images/washitexture07.jpg); */
    background-color: #f4f4f4;
    color: #333;
}

h1,h2,h3,h4,h5,h6 {
    font-family: Montserrat;
}

h4 {
    padding-left: 16px;
}

/* 文字アニメーション */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

video {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
}

.video-container {
    display: block;
    margin: auto;
    width: 100%; 
    max-width: 1170px;
    height: 100px; 
    overflow: hidden;
    border-radius: 8px;
}

/* Header and Navigation */
header {
    background: #fff;
    color: #333;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1100px;
}

nav img {
  display: block;
  width: 120px;
}

.nav-links {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

a {
    text-decoration: none;
}

.nav-links li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #007BFF;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu .bar {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        padding: 0;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 65px; /* Adjust based on header height */
        left: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-top: 1px solid #ddd;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        padding: 1rem;
        display: block;
        border-bottom: 1px solid #f4f4f4;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}


/* Hero */

.hiro {
    position: relative;
    justify-content: center;
    align-items: center;
       max-width: 1100px;
       height: 240px;
    margin: 2rem auto;
    padding: 0 2rem;
    background: #fff;
    /* background-image: url(images/iloilo2021-12-11_13-54-20_1528.jpg); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* opacity: 40%; */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.animation-area{
    display: flex;
    flex-flow: column;
    justify-content: center;
}


.animation-logo {
    display: block;
    width: 60vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: logo 6s infinite ease;
}

@keyframes logo {
    0% {opacity: 100%; }
    10%{opacity: 0%;}
    /* 20%{opacity: 10%;} */
    /* 30%{opacity: 20%;}
    40%{opacity: 40%;}
    50%{opacity: 50%;}
    60%{opacity: 60%;} */
    70%{opacity: 70%;}
    80%{opacity: 40%;}
    85%{opacity: 70%;}
    100%{opacity: 100%;}
}


/* Main Container */
.container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
    background: #e8e8e9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Section Styling */
.section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
}

/* Footer */
footer {
    text-align: left;
    padding: 2rem 40px;
    background: #939191;
    color: #fff;
    margin-top: 2rem;
}



footer small {
    display: block;
    text-align: center;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    background: #90aac6;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

/* Portfolio Specific */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.portfolio-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.portfolio-item p {
    text-align: left;
}

/* Process Specific */
.process-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #90aac6;
}

/* Form Specific */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    align-self: flex-start;
}

/* Blog Content Styles */
.article-content {
    margin-top: 20px;
}
.eyecatch-image {
    margin-bottom: 20px;
    text-align: center;
}
.eyecatch-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.text-block {
    margin-bottom: 15px;
}
.image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}
.image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.image-row img {
    flex: 1 1 auto;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
.split-block {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    align-items: center;
}
.split-block .text-part, .split-block .image-part {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
}
.split-block img {
    max-width: 100%;
    height: auto;
    display: block;
}
.video-block {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 15px;
}
.video-block iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
blockquote {
    border-left: 5px solid #eee;
    padding-left: 15px;
    margin-left: 0;
    font-style: italic;
    color: #666;
}
blockquote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    text-align: right;
}
hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 30px 0;
}
@media (max-width: 768px) {
    .split-block {
        flex-direction: column !important;
    }
    .split-block .text-part, .split-block .image-part {
        width: 100%;
    }
}

/* Blog Heading Block Styles */
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: background-color 0.3s ease;
}

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

.faq-question.active {
    color: #007BFF;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007BFF;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    line-height: 1.7;
}
