body {
    font-family: "zen-kaku-gothic-new", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    border-bottom: 3px solid #000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: larger;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
}

nav li {
    font-size: larger;
}

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

nav a:hover {
    color: #ff6347;
}

h2 {
    font-size: xx-large;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

section {
    padding: 40px 20px;
    gap: 100px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

#top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 3px solid #000;
}

#top .text {
    display: flex;
    flex-direction: column;
}

#top p {
    font-size: xx-large;
    margin: 0;
    margin-left: 19px;
}

.top-img {
    width: 90%;
    height: auto;
    justify-content: flex-start;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#work, #profile, #skill {
    margin-bottom: 40px;
}

.works {
    display: flex;
    justify-content: center;
    gap: 10%;
    width: 100%;
    flex-wrap: wrap;
}

.works-img {
    border-radius: 15px;
    width: 250px;
    height: auto;
    border: 3px solid #333;
    transition: transform 0.3s ease;
}

.works a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.works a:hover .works-img {
    transform: scale(1.05);
}

.works a:hover {
    opacity: 0.7;
}

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.profile-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 3px solid #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-text h1 {
    font-size: 4.5rem;
    margin: 0;
    text-align: center;
}

.profile-text p {
    font-size: 1.2rem;
    margin-top: 10px;
    text-align: center;
}

.profile-description {
    margin-top: 100px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    color: #333;
}

.skills-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.skills-list, .certifications-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 45%;
}

.skills-list li, .certifications-list li {
    margin-bottom: 10px;
    background-color: #fafafa;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.skills-list li:hover, .certifications-list li:hover {
    background-color: #ff6347;
    color: white;
}

.ideasheet-image {
    max-width: 40%; 
    height: auto;
    display: block;
    margin: 0 auto; 
    border: 4px solid #000;
    border-radius: 8px;
}

#feedback {
    padding: 40px 20px;
    background-color: #ffffff; /* 背景を白に設定 */
    text-align: center;
    margin-top: 40px;
}

.presentation-photo {
    margin-bottom: 20px; /* 写真と見出しの間に余白を追加 */
}

.presentation-photo img {
    max-width: 80%; /* 写真を画面幅に応じて調整 */
    height: auto;
    display: block;
    margin: 0 auto; /* 写真を中央揃え */
    border: 2px solid #000; /* 黒い枠線を追加 */
    border-radius: 8px; /* 枠の角を少し丸める */
}

.feedback-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.feedback-item {
    flex: 1;
    background-color: #ffffff; /* 各フィードバックの背景を白に設定 */
    padding: 20px;
    border: 4px solid #000; /* 枠線を黒に設定 */
    border-radius: 8px; /* 枠の角を少し丸める */
    text-align: left;
}

.feedback-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.feedback-item ul {
    list-style-type: disc;
    padding-left: 20px;
}

.feedback-item ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}
.presentation-photo img {
    max-width: 50%; 
    height: auto;
    display: block;
    margin: 0 auto; 
    border: 4px dashed #000; /* 枠線を点線に変更 */
    border-radius: 15px; /* 角丸を大きめに設定 */
    background-color: #fff;
    transition: transform 0.3s ease; /* ホバー時に変化させる */
}

.presentation-photo img:hover {
    transform: scale(1.3); /* ホバー時に少し拡大 */
}

.works-image {
    max-width: 23%; 
    height: auto;
    display: block;
    margin: 0 auto; 
    border: 4px dashed #000; /* 枠線を点線に変更 */
    background-color: #fff;
    transition: transform 0.3s ease; /* 拡大時のアニメーションを設定 */
}

.works-image:hover {
    transform: scale(2.4); /* ホバー時に画像を10%拡大 */
}

.work-details {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.work-details p, .work-details ol, .work-details ul {
    margin-bottom: 15px;
}

.work-details strong {
    font-weight: bold;
}

.logo-section img {
    border: 3px solid #333;
    /*padding: 10px;*/
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


ol {
    padding-left: 20px;
}

ul {
    padding-left: 20px;
}

.business-model {
    display: flex;
    gap: 20px; 
    align-items: center; 
    margin-top: 20px;
}

.work-img {
    width: 60%; 
    max-width: 400px; 
    height: auto;
    border: 4px solid #333;
    border-radius: 10px; 
    margin: 0 auto; 
}

.business-description {
    flex: 1; 
    max-width: 60%; 
}

.business-model ul{
    list-style-type: square;
    list-style-position: inside;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .profile-description {
        margin-top: 60px;
        margin-left: calc(400px);
        max-width: calc(100% - 450px);
    }
}

@media (max-width: 768px) {
    #top {
        flex-direction: column;
        align-items: center;
    }

    .top-img {
        width: 90%;
        max-width: none;
    }

    .profile {
        flex-direction: column;
        align-items: center;
    }

    .profile-img {
        width: 300px;
        height: auto;
    }

    .profile-text {
        text-align: center;
    }

    .profile-description {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }

    .works {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .works-img {
        width: 80%;
    }

    .skills-container {
        flex-direction: column;
    }

    .skills-list, .certifications-list {
        width: 100%;
    }

    .ideasheet-image, .works-image {
        width: 90%;
    }

    .feedback-section {
        flex-direction: column;
        align-items: center;
    }

    .feedback-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .presentation-photo img {
        max-width: 100%; /* モバイルでは幅を100%に広げる */
    }
}