body {
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdfaf6;
    color: #333;
}

.hero {
    position: relative;
    text-align: center;
    background-image: url('../image/portfolio-site-template_ver4head_1.png');
    /* 秋の風景画像をここに */
    background-size: cover;
    background-position: center;
    height: 300px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}




.profilename {
    margin-bottom: 30px;
}

.bio {
    flex-basis: 73%;
}

.work-cardx {
    display: flex;
    justify-content: space-between;
}

.hero h4 {
    font-size: 69px;

}

.hero p {
    font-size: 27px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 1em;
    margin: 0;
    background-color: rgba(39, 15, 15, 0.4);
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero h1 {
    margin-top: 80px;
    font-size: 2.5em;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.section {
    /* padding: 2em; */
    max-width: 900px;
    margin: 0 auto;
}

header {
    margin-bottom: 30px;
}

.profile-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    align-items: center;
    margin-top: 20px;
}

.profile-content img {
    width: 200px;
    border-radius: 8px;
}

/* .profileflex {
    display: flex;
} */

.bio h3 {
    margin-top: 0;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    margin-bottom: 1em;
    padding: 0.5em;
    background-color: #e8f0e8;
    border-left: 5px solid #6ca07c;
}

.section li {
    margin-bottom: 20px;
    text-align: center;
    margin-top: 10px;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.work-card li {
    text-align: center;
    margin-bottom: 30px;

}

footer {
    background-color: rgba(39, 15, 15, 0.4);
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    line-height: inherit;
    font-weight: bold;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 20px;
    /* 文字の上に20pxの余白 */
    margin-bottom: 1px;
    /* 下に20pxの余白 */
}

p {


    margin-top: 1PX;
    /* 文字の上に20pxの余白 */
}

h2 {
    margin-bottom: 20px;
    /* 下に20pxの余白 */
}

.profileflex {
    /* display: flex; */
    width: 90%;
    margin: 0 auto;
}

#skill ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 二列に並び*/
    gap: 50px 20px;
    padding: 0 4%;
}

#work ul {
    padding: 0 4%;
}

h2 {

    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
}

body {
    background-color: #f9f4ef;
    /* 桜の花びらのような色 */
}

.figure-wrapper {
    border: 6px solid #a0522d;
    /* 柿渋色：秋の温もり */
    border-radius: 12px;
    padding: 20px;
    background-color: #fdf6e3;
    /* 和紙のような生成り色 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.work-wrapper {
    border: 6px solid #a0522d;
    /* 柿渋色：伝統の重厚感 */
    border-radius: 16px;
    background-color: #fdf6e3;
    /* 生成り色：和紙のような柔らかさ */
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* WORKカードのレイアウト */
.work-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
}

.work-card li {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.work-card li:hover {
    transform: scale(1.02);
}

.work-card img {
    border-radius: 8px;
    margin-bottom: 12px;
}

.work-card h3 {
    color: #8b4513;
    /* 赤茶：見出しに温かみ */
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.work-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2f2f2f;
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* 初期は1列（スマホ） */
    gap: 30px;
    padding: 0 4%;
    list-style: none;
}

.skill-list li {
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-list li:hover {
    transform: scale(1.03);
}

.skill-list img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

/* ✅ PC表示：1024px以上で4列に */
@media screen and (min-width: 1024px) {
    .skill-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* SKILLセクション全体のスタイル */
#skill ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* スマホ表示：1列 */
    gap: 30px;
    padding: 0 4%;
    list-style: none;
    margin: 0;
}

/* PC表示：1024px以上で4列×2行に */
@media screen and (min-width: 1024px) {
    #skill ul {
        grid-template-columns: repeat(4, 1fr);
    }
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 4%;
    list-style: none;
    margin: 0 auto;
    max-width: 1200px;
}

.skill-list li {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skill-list img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

/* 心の余白セクション全体 */
.message-section {
    position: relative;
    background-color: #fffaf4;
    /* やさしい生成り色 */
    padding: 80px 20px;
    text-align: center;
    font-family: 'Sawarabi Mincho', serif;
    color: #5c4a3d;
    overflow: hidden;
}

/* 詩のレイアウト */
.message-content {
    max-width: 700px;
    margin: 0 auto;
    line-height: 2;
    letter-spacing: 0.05em;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    /* 花びらより前面に表示 */
}

/* 花びらのスタイル */
.petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url("../sakura/petal.png");
    /* 透過PNG推奨 */
    background-size: contain;
    background-repeat: no-repeat;
    animation: fall linear infinite;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

/* 花びらのアニメーション */
@keyframes fall {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg);
        opacity: 1;
    }

    30% {
        transform: translateY(300px) translateX(20px) rotate(120deg);
        opacity: 0.8;
    }

    60% {
        transform: translateY(600px) translateX(-20px) rotate(240deg);
        opacity: 0.6;
    }

    100% {
        transform: translateY(800px) translateX(0px) rotate(360deg);
        opacity: 0;
    }
}

.work {
    background-color: #fffaf5;
    padding: 3rem 1rem;
    text-align: center;
}

.work-item {
    max-width: 800px;
    margin: 0 auto;
}

.work-item h3 {
    font-size: 1.6rem;
    color: #cc6600;
    margin-bottom: 1rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9比率 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* WORKセクション全体の背景色 */
section.work {
    background-color: #f5f5f5;
    /* やさしいグレーで映像を引き立てる */
    padding: 60px 20px;
}

/* 各動画アイテムの枠と余白 */
.work-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* タイトルのスタイル */
.work-item h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    border-left: 6px solid #4CAF50;
    /* 緑系で自然・文化を表現 */
    padding-left: 12px;
}

/* 動画枠のスタイル */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9比率 */
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 15px;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* キャプションのスタイル */
.caption {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

/* バナー画像（poster）に合わせた枠線や影を追加したい場合 */
.video-wrapper video[poster] {
    border: 2px solid #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}