/* 全体のスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px; /* ヘッダーの高さ分のパディングを追加 */
}

/* ヘッダー */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* ヘッダーの高さを明示的に設定 */
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2%;
    max-width: 100%;
    margin: 0 auto;
    height: 100%; /* navの高さを親要素いっぱいに */
}
.logo1{width: 100%;

}
.logo1 p{text-align: left;
}
.logo {
    margin-left: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    
}

.nav-links {width: 100%;
    justify-content: right;
    display: flex;
    list-style: none;;
}

.nav-links li {
    margin-left: 2rem 
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #666;
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    background-image: url('../images/1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

/* プロフィールセクション */
.about {
    padding: 5rem 1rem;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-image {
    flex: 1;
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-text {
    flex: 1;
}

.profile-text p {
    margin-bottom: 1rem;
    font-size: 1.5rem
}

/* 活動実績セクション */
.works {
    padding: 5rem 1rem;
    background-color: #f5f5f5;
}

.works h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.work-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.work-item h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

.work-item p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* お問い合わせセクション */
.contact {
    padding: 5rem 1rem;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #444;
}

/* フッター */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 3rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ddd;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* メニューより前面に表示 */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #666;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

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

    .nav-links li {
        margin: 1rem 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* コンタクト情報セクション */
.contact-info {
    padding: 5rem 1rem;
    background-color: #f5f5f5;
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-info-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: #333;
}

.info-item p {
    font-size: 1.2rem;
    color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-info-content {
        padding: 0 1rem;
    }
    
    .info-item {
        padding: 0.8rem;
    }
    
    .info-item i {
        font-size: 1.2rem;
    }
    
    .info-item p {
        font-size: 1rem;
    }
}

/* SNSセクション */
.sns {
    padding: 5rem 1rem;
    background-color: #fff;
}

.sns h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.sns-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

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

.sns-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

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

.sns-item i {
    font-size: 4.5rem;
    color: #333;
}

.sns-item p {
    font-size: 1.4rem;
    color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sns-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .sns-item i {
        font-size: 3.5rem;
    }
    
    .sns-item p {
        font-size: 1.2rem;
    }
}

/* アニメーション用の共通クラス */
.fade-in {
    opacity: 1;
    transform: none;
}

/* セクションごとのアニメーション遅延 */
.about h2 { animation-delay: 0s; }
.about-content { animation-delay: 0s; }
.works h2 { animation-delay: 0s; }
.work-item { animation-delay: 0s; }
.contact-info h2 { animation-delay: 0s; }
.contact-info-content { animation-delay: 0s; }
.sns h2 { animation-delay: 0s; }
.sns-content { animation-delay: 0s; }
.contact h2 { animation-delay: 0s; }
.contact-content { animation-delay: 0s; }

/* レスポンシブデザイン */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        flex-direction: column;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-links a {
        display: block;
        padding: 0.5rem 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-info-content {
        padding: 0 1rem;
    }
    
    .info-item {
        padding: 0.8rem;
    }
    
    .info-item i {
        font-size: 1.2rem;
    }
    
    .info-item p {
        font-size: 1rem;
    }
    
    .sns-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .sns-item i {
        font-size: 3.5rem;
    }
    
    .sns-item p {
        font-size: 1.2rem;
    }
    
    /* モバイル表示時のアニメーション調整 */
    .fade-in {
        transition: none;
    }
} 