@charset 'UTF-8';
/*
Theme Name: illustration site
Description: illustration site
Version: 1.0
Author: muni
Author URI: https://munisaku.com
*/

/*
COLORS
================================================ */
:root {
    /* Color */
    --light-grey: #ccc;
    --grey: #424141;
    --dark-grey: #707070;
    --green: #7bba93;
    --dark-blue: #39565C;
    --white: #fff;
    --pale-yellow: #F9F9F4;

   /* Font/Space Size */
   --font-sm: .75rem;
   --font-md-sm: .80rem;
   --font-md: 1rem;
   --font-md-lg: 1.10rem;
   --font-lg: 1.25rem;
   --font-xl: 1.625rem;

    /* Border Radius Size */
    --round-sm: 6px;
    --round-md: 10px;
    --round-lg: 50%;
}

/*モーダル*/
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 80%;
    max-height: 80%;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 画像を拡大して表示 */
}

/*
GENERAL STYLING
================================================ */
body {
    color: var(--grey);
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--pale-yellow);
}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}

img,
iframe {
    max-width: 100%;
}

/*
LAYOUT
================================================ */
.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/*
HEADER
================================================ */
.site-header {
    top: 0;
    height: 130px;
    background: url(images/header.jpg) center/cover;*/
    /* padding-top: 1rem; */
    margin-bottom: 1rem;
    /* -webkit-clip-path: ellipse(100% 100% at 50% 0);
   clip-path: ellipse(100% 100% at 50% 0);*/
    /*display: flex;*/
    /*align-items: center;*/
}

.site-title {
    margin: 0;
    padding: 1rem;
    font-size: var(--font-lg);
    width: 100%;
}


.site-logo {
    height: 40px;
}

.site-description {
    color: var(--white);
    font-size: var(--font-sm);
}

.sns {
    display: flex;
    align-items: center;
}

.sns img {
    max-width: 15px;
    height: auto;
    margin: 0 5px; /* 左右に5pxのマージンを設定 */
    vertical-align: middle;
}


/* Navigation */
.btn-menu {
    color: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: var(--round-sm);
    padding: .5rem 1rem;
    position: fixed; /* 位置を固定 */
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, .3);
    z-index: 1001;
}

.admin-bar .btn-menu {
    top: calc(1rem + 46px);
}

.menu-item img {
    width: 15px; /* 任意のサイズを指定 */
    height: auto;
}

.menu-wrapper {
    background: rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    margin-top: 1rem;
    position: fixed; /* 位置を固定 */
    z-index: 1000;
    top: 50px;
    right: 0;
    overflow-x: hidden;
    text-align: center;
    width: 0;
    transition: .5s;
}

.admin-bar .menu-wrapper {
    top: calc(50px + 46px);
}

.menu-wrapper ul {
    /*display: flex;*/
    flex-direction: column; /* 縦方向に並べる */
    justify-content: center; /* 中央揃えにする */
    align-items: center; /* 中央揃えにする */
    /* height: 100vh; 画面全体の高さを使用 */
    padding: 0;
    margin: 0;
    list-style: none; /* リストスタイルを消す */
}

.menu-wrapper li {
    padding: 1rem;
    /* width: 100%; メニュー項目を幅いっぱいに */
    text-align: center; /* テキストを中央揃えにする */
}

.menu-wrapper ul li ul {
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.menu-wrapper a {
    white-space: nowrap;
    display: block;
    width: 100%; /* リンクを幅いっぱいに */
    user-select: none; /* テキスト選択を無効にする */
}

.menu-wrapper.open-menu {
    width: 100%;
}

.sub-menu {
    display: none; /* 初期状態は非表示にする */
    position: relative; /* 位置を通常のフローに設定 */
}

.menu-item:hover .sub-menu {
    display: block;
}

#menu-item-188 {
    padding-top: 16px; /* 上の余白を16pxに設定 */
    padding-bottom: 0; /* 下の余白を0に設定 */
}

#menu-item-189 {
    padding-top: 32px; /* 上の余白を16pxに設定 */
    padding-bottom: 16px; /* 下の余白を0に設定 */
}

.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    color: var(--dark-grey);
    line-height: 1;
    width: 1em;
    height: 1em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-25%) rotate(135deg);
    font-size: 0.5em; /* アイコンのサイズを調整 */
    margin-left: 10px; /* テキストとの間隔を調整 */
}



/*リンクボタン*/
.button-container {
    text-align: center;
}

.btn,
a.btn,
button.btn {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

a.btn-border-shadow {
    padding: calc(1.5rem - 12px) 2rem 1.5rem;
    background: #fff;
}

a.btn-border-shadow:before {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 100%;
    height: 100%;
    content: "";
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 3px solid #000;
    border-radius: 0.5rem;
}

a.btn-border-shadow:hover {
    padding: calc(1.5rem - 6px) 3rem;
}

a.btn-border-shadow:hover:before {
    top: 0;
    left: 0;
}

a.btn-border-shadow--color2 {
    border-radius: 100vh;
}

a.btn-border-shadow--color2:before {
    border-radius: 100vh;
    -webkit-box-shadow: 3px 3px 0 #fa537b;
    box-shadow: 3px 3px 0 #fa537b;
}


/*
MAIN
================================================ */
.main-contents {
    margin-bottom: 3rem;
}

/*
POST LIST
================================================ */
.home .post-list,
.archive .post-list,
.page-creation .post-list,
.search .post-list,
.creation .post-list {
    display: grid;
    grid-template-columns: repeat(1, 2fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.post-item {
    background: var(--white);
    position: relative;
    width: 80%; /* 親要素の幅を80%に制限 */
    margin: 0 auto; /* センターに配置 */
    max-height: 100%;
}

.post-image {
    width: 100%;
    object-fit: cover;
}

.post-item img,
.post-item .youtube-embed,
.post-item .twitter-tweet {
    width: 100%;
    object-fit: cover;
    display: block;
}

.youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-image:hover {
    cursor: url(http://munisaku.com/wp-content/uploads/2024/05/expansion_button.png), zoom-in;
}

.post-header {
    padding: 1rem 1rem 0.6rem 1rem;
}

.post-title {
    margin-bottom: .5rem;
    line-height: 1.5;
    word-break: break-word;
}

.post-date {
    color: var(--light-grey);
    font-size: var(--font-sm);
}

.custom-category {
    margin-bottom: 10px;
}

.post-item , .post-item * {
    font-size: var(---font-sm);
}

.custom-category .dash {
    color: #fa537b; /* "ー" の色を指定、適宜色を変更してください */
    /*margin-right: 5px;*/
}

.custom-category .category-name {
    font-weight: bold; /* 必要に応じてフォントのスタイルを調整 */
}

/*記事カテゴリーのデザイン*/
.category-categor {
    font-size: 0.9rem; 
    line-height: 1.6; /* 行間を1.6に設定 */
    margin: 3rem 1rem 1rem;
    /* 上下の余白 */
    padding-bottom: .5em;
    background-image: radial-gradient(circle at 3px center,
            #fa537b,
            /* ドットの色 */
            #fa537b 3px,
            transparent 3px,
            transparent 100%);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: 16px 6px;
}


.category-categor h2{
    margin: 10px;
}

/*カテゴリーフィルター*/
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 適切な間隔を設定してください */
}

.filter-btn {
    /* ボタンのスタイルを設定 */
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-size: 14px;
    margin: 10px 10px 20px 0;
    padding: 10px 20px;
    transition: box-shadow 0.3s; /* マウスオーバー時のトランジションを設定 */
}

.filter-btn:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .16); /* マウスオーバー時の影を設定 */
}

.post-item {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Post navigation */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-links a {
    padding: .75rem 1rem .85rem;
    background: var(--green);
    border-radius: var(--round-sm);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(123, 186, 147, .6);
}


/*overview*/
.overview {
    display: flex;
    align-items: center;
    margin: 50px auto;
    /* 上下のマージンを50pxにして、水平方向には自動的に中央配置 */
    max-width: 600px;/* 必要に応じて幅を指定 */
    line-height: 2;
    /* 行間を調整 */
}

.overview-profile-img {
    width: 100px;
    /* デフォルトサイズ */
    margin-right: 20px;
}

.overview-profile {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    /* テキストとSNSの間隔を調整 */
}

.overview h2 {
    font-size: 17px;
    /* color: #333; テキストの色をダークグレーに設定 */
}

.overview h3,
.overview h3 p {
    font-size: var(--font-md);
}

.overview h2,
.overview h3,
.overview p {
    margin: 0;
}

.sns img {
    max-width: 15px;
    height: auto;
    margin: 0 5px;
    /* 左右に5pxのマージンを設定 */
}

.post-content .sns img {
    margin-bottom: 0;
}

/*
SINGLE / PAGE ARTICLE
================================================ */
.single .post-title,
.page .post-title {
    font-size: var(--font-lg);
}

.single .post-header {
    padding: 4rem 1rem 1rem;
}

.page .post-header {
    padding: 1rem 1rem 0.6rem 1rem;
}

.single .wp-post-image+.post-header,
.page .wp-post-image+.post-header {
    padding-top: 1rem;
}

.post-content {
    padding: 0 1rem 1rem 1rem;
     line-height: 1.5; /* 行間を1.5に設定 */
}

.post-content a {
    color: var(--green);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--dark-blue);
}

.post-content h2 {
    font-size: var(--font-lg);
    padding: 0 .5rem .75rem 2rem;
    margin: 3rem 0 .5rem;
}

.post-content h3 {
    font-size: var(--font-lg);
    margin-top: 2rem;
}

.post-content h4,
.post-content h5,
.post-content h6 {
    font-weight: bold;
}

.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.post-content p,
.post-content ul,
.post-content ol,
.post-content figure,
.post-content blockquote,
.post-content pre {
    margin-bottom: 1rem;
}

.post-content figcaption {
    font-size: var(--font-sm);
    text-align: center;
}

.post-content img {
    margin-bottom: .5rem;
    height: auto;
}

.post-content .wp-block-image:not(.is-style-rounded) img {
    border-radius: var(--round-md);
}

.post-content ul,
.post-content ol {
    padding-left: 2rem;
}

.post-content ul {
    list-style: square;
}

.post-content ol {
    list-style: decimal;
}

.post-content li {
    line-height: 1.5;
}

.post-content li::marker {
    color: var(--green);
}

.post-content blockquote {
    background: #eee;
    padding: 1rem 1rem .25rem 2rem;
    border-radius: var(--round-md);
    position: relative;
}

.post-content blockquote::before {
    content: '“';
    position: absolute;
    font-size: 3rem;
    color: var(--light-grey);
    top: 0;
    left: 8px;
}

.post-content blockquote cite {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.post-footer {
    padding-bottom: 1rem;
}

.post-content code,
.post-content kbd {
    background: #eee;
    padding: 3px;
    border-radius: 3px;
    margin: 0 3px;
}


/* デフォルト設定 (モバイル用) */
.Work-details {
    display: flex; /* Flexboxを有効にする */
    justify-content: center; /* 子要素を水平方向（左右）の中央に配置 */
    align-items: center; /* 子要素を垂直方向（上下）の中央に配置 */
    flex-direction: column; /* 子要素を縦に並べる */
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    width: 100%; 
    box-sizing: border-box; 
}

.Work-details-post {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左寄せにする */
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.Work-details-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 10px 0;
}

ul.Work-details-categor {
    padding: 0.5em;
    list-style-type: none;
    width: 100%;
    box-sizing: border-box;
}

.content {
    margin: 20px; /* 余白を設定 */
   /* width: 100%;*/
    box-sizing: border-box;
    font-size: var(--font-sm);
}

.Work-details-categor h2{
    margin-left: 10px;
}

ul.Work-details-categor li {
    position: relative;
    padding: 0.5em 1em 0.5em 1.5em;
    margin-bottom: 5px;
    border-bottom: 1px solid #fa537b;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.8rem;
}

ul.Work-details-categor li:after,
ul.Work-details-categor li:before {
    content: '';
    position: absolute;
    border-radius: 50%;
}

ul.Work-details-categor li:before {
    top: 50%;
    left: 0.2em;
    width: 17px;
    height: 17px;
    background: #fa537b;
    transform: translateY(-50%);
}

ul.Work-details-categor li:after {
    top: 1.1em;
    left: 0.7em;
    width: 14px;
    height: 14px;
    background: #fca3b8;
}

span.wpcf7-list-item {
    cursor: pointer;
}

/*
FORM
================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    border: 1px solid var(--light-grey);
    border-radius: var(--round-sm);
    padding: .5rem;
    width: 100%; 
    box-sizing: border-box;
    margin-bottom: 10px; 
}

span.wpcf7-list-item {
    margin: 10px 0 20px 0;
    margin-right: 10px;
}

input[type="submit"] {
    padding: .75rem 1rem .85rem;
    background: #fa537b;
    border-radius: var(--round-sm);
    color: var(--white);
    cursor: pointer;
    width: 100%; 
    box-sizing: border-box;
    text-align: center; 
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
}

form.wpcf7-form {
    font-size: 12px;
}

/* ラジオボタン自体を非表示にする */
input[type="radio"] {
    display: none;
}

/* ラジオボタンのカスタム表示 */
input[type="radio"] + span::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border-radius: 50%;
    border: 1px solid var(--grey);
    background-color: white; /* 背景色を白に設定 */
    position: relative;
    vertical-align: middle;
}

/* ラジオボタンが選択されたときのカスタム表示 */
input[type="radio"]:checked + span::before {
    background-color: #fa537b; /* 選択時の背景色 */
    border-color: #fa537b; /* 選択時の枠線の色 */
}

input[type="radio"]:checked + span::before::after {
    content: "";
    display: block;
    width: 9px; /* 内側のドットのサイズ */
    height: 9px; /* 内側のドットのサイズ */
    background-color: white; /* 内側のドットの色 */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 中央に配置 */
}


/*
BLOCK
================================================ */
.wp-caption {
    max-width: 100%;
}

a.wp-block-button__link {
    color: var(--white);
    text-decoration: none;
}

.wp-block-code {
    font-family: Menlo, Consolas, monaco, monospace;
    padding: 0.8em 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: var(--font-sm);
    line-height: 1.5;
}

.wp-block-code code {
    background: none;
}

.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
}

.wp-block-table thead {
    border-bottom: 3px solid;
}

.wp-block-table td,
.wp-block-table th {
    padding: 0.5em;
    border: 1px solid;
    word-break: normal;
}

.wp-block-separator {
    margin: 2rem auto;
    border-color: var(--light-grey);
    width: 100px;
}

.wp-block-calendar {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/*
TAG LIST
================================================ */
.tags-links li {
    display: inline-block;
    font-size: var(--font-sm);
    border: 1px solid var(--light-grey);
    border-radius: var(--round-sm);
    padding: .4rem .5rem .5rem;
    margin-right: .25rem;
    margin-bottom: .25rem;
}

.tags-links a::before {
    content: '#';
    color: var(--light-grey);
    margin-right: .25rem;
}

.tags-links a:hover {
    color: var(--green);
}

/*
FOOTER
================================================ */
.site-footer {
    /* background: url(images/footer.svg)center/cover;*/
    text-align: center;
    color: var(--white);
    padding: 2rem 0 3rem;
    margin-top: 2rem;
    background-color: #fa537b;
}

.copyright {
    font-size: var(--font-sm);
    color: #ffffff;
}

#page-top {
    display: none;
} 



/*
MEDIUM SIZE
================================================ */
@media(min-width: 750px) {

    /* LAYOUT  */
    .wrapper {
        min-width: 750px;
        padding: 0 3rem;
    }

/*ご依頼について*/
.Work-details {
    margin: 30px auto; /* Center the .Work-details and provide top and bottom margin */
    padding: 20px;
    max-width: 800px; /* Limit the maximum width */
}

.Work-details-post {
    padding: 50px 50px 20px 50px;
}

ul.Work-details-categor li {
    padding: 0.5em 1em 0.5em 2.3em;
    font-size: var(--font-md-lg);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    border: 1px solid var(--light-grey);
    border-radius: var(--round-sm);
    padding: .5rem;
    width: 100%; 
    box-sizing: border-box;
    margin-bottom: 20px; 
    width: 500px;
}

    /* Archive */
    .page-title {
        font-size: var(--font-xl);
        margin-bottom: 2rem;
    }

    /* MAIN */
    .home .post-list,
    .archive .post-list,
    .page-creation .post-list,
    .search .post-list,
    .creation .post-list {
    display: grid;
    grid-template-columns: repeat(1, 2fr);
    gap: 1rem;
    margin-bottom: 3rem;
    }


    .post-item:hover {
        box-shadow: 0 0 10px rgba(0, 0, 0, .16);
    }

   
    .nav-links a:hover {
        background: var(--dark-blue);
        box-shadow: 0 4px 10px rgba(57, 86, 92, .6);
    }

    .post-item .wp-post-image {
        aspect-ratio: 4 / 3;
    }

    /* SINGLE / PAGE ARTICLE */
    .single .post-item .wp-post-image,
    .page .post-item .wp-post-image
     {
        aspect-ratio: 16 / 9;
    }

    /*
    .single .post-item:hover,
    .creation .post-item:hover,
    .page .post-item:hover {
        box-shadow: none;
    }*/

    .single .post-header 
    .creation .post-item:hover,{
        padding: 4rem 3rem 2rem;
    }

    .single .wp-post-image+.post-header,
    .page .wp-post-image+.post-header {
        padding-top: 2rem;
    }

    .single .post-title,
    .page .post-title {
        font-size: var(--font-xl);
    }

    .post-content {
        padding-bottom: 2rem;
    }

    .post-content h2 {
        font-size: var(--font-xl);
        margin-bottom: 1rem;
    }

    .post-content h3 {
        font-size: var(--font-xl);
        margin-top: 3rem;
    }

    .post-content h4 {
        font-size: var(--font-lg);
        margin-top: 3rem;
    }

    .post-content h3,
    .post-content h4,
    .post-content h5,
    .post-content h6,
    .post-content p,
    .post-content ul,
    .post-content ol,
    .post-content figure,
    .post-content blockquote {
        margin-bottom: 1.5rem;
    }

    .post-content img {
        margin-bottom: 1rem;
    }

    .post-content blockquote {
        padding: 1.5rem 1.5rem .25rem 2.5rem;
    }

    .post-content blockquote::before {
        top: 2px;
        left: 10px;
    }

    .post-footer {
        padding-bottom: 3rem;
    }

    .post-item , post-item * {
        font-size: var(--font-md-lg);
    }

    /*記事カテゴリーのデザイン*/
.category-categor {
    font-size: 1.1rem;
    }

    /* FOOTER */
    .site-footer {
        padding: 2rem 0 2rem;
        background-color: #fa537b;
        display: flex;
        justify-content: center;
        align-items: center; /* 垂直方向にも中央に配置する */
    }
    
    .copyright {
        font-size: var(--font-mg);
        color: #ffffff;
    } 

    /***追従するトップへ戻るボタン***/
    #page-top {
    position: fixed;
    right: 20px; /* 右側の余白を20pxに設定 */
    bottom: 20px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #737373;
    padding: 0 0 0 35px;
    border-top: solid 1px;
    display: block;
    }

    #page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
    }
}


/*
LARGE SIZE
================================================ */
@media(min-width: 1000px) {

    .home .post-list,
    .archive .post-list,
    .search .post-list,
    .creation .post-list,
    .home .post-list{
        grid-template-columns: repeat(3, 1fr);
    }

    /*お問い合わせフォーム*/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    border: 1px solid var(--light-grey);
    border-radius: var(--round-sm);
    padding: .5rem;
    width: 100%; 
    box-sizing: border-box;
    margin-bottom: 20px; 
    width: 618px;
    font-size: var(--font-md);
}

form.wpcf7-form {
    font-size: var(--font-md);
}

.content{
    font-size: var(--font-md);
}
/*記事カテゴリーのデザイン*/
.category-categor {
    font-size: var(--font-md-lg); 
    }

    ul.Work-details-categor li {
    font-size: var(--font-md-lg); 
    }

    /*モーダル*/
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    }

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    }

    .modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 80%;
    max-height: 80%;
    }

    .modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 画像を拡大して表示 */
    }

    .post-item {
    background: var(--white);
    border-radius: var(--round-md);
    position: relative;
    width: 100%; /* 親要素の幅を80%に制限 */
    margin: 0 auto; /* センターに配置 */
    max-height: 100%;
    }

    .post-image {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    }

    .post-item img,
    .post-item .youtube-embed,
    .post-item .twitter-tweet {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    }

    .youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    }

    .youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    }

    /*overview*/
    .overview {
    display: flex;
    align-items: center;
    margin: 50px auto;
    /* 上下のマージンを50pxにして、水平方向には自動的に中央配置 */
    max-width: 800px;/* 必要に応じて幅を指定 */
    line-height: 2;
    /* 行間を調整 */
}
        .overview-profile-img {
            width: 150px;
            margin: 0 30px;
        }
    
        .overview h2 {
            font-size: var(--font-lg);
        }
    
        .overview h3,
        .overview h3 p {
    font-size: var(--font-md-lg);
}        
    

    /* HEADER */
   .header-item {
    display: flex;
    /*justify-content: space-between; ヘッダーアイテムを水平方向に均等に配置 */
    align-items: center; /* ヘッダーアイテムを垂直方向に中央揃え */
    width: 100%;
    padding: 2rem 2rem 0 3rem; 
}

.header-item h1 {
    flex-grow: 1;
    flex-basis: 30%; /* サイトタイトルの基本的な幅を30%に設定 */
}

.header-item nav {
    flex-grow: 2;
    flex-basis: 70%; /* ナビゲーションの基本的な幅を70%に設定 */
}

.site-header {
    /*display: flex;*/
    align-items: center; /* 子要素を垂直方向に中央揃え */
    /* justify-content: center; /* 子要素を水平方向に中央揃え */
    height: 150px;
    width: 100%;
    text-align: center;
    /*padding-top: 2.5rem;  必要に応じてパディングを調整 */
}

.site-title {
    margin-bottom: .5rem;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: var(--font-xl);
}


.site-logo {
    height: 100px;
}

.site-description {
    font-size: var(--font-sm-md);
}

    /* Navigation */
.menu-wrapper {
    position: static; /* 位置の固定を解除 */
    width: 100%; /* 幅を全体に広げる */
    display: flex;
    justify-content: flex-end; /* メニュー項目を右寄せにする */
    /*justify-content: space-between; /* 中央揃えから調整 */
    align-items: center; /* ナビゲーションを垂直中央揃え */
    margin-top: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: none; /* トランジションを無効にする */
}

.menu-wrapper ul {
    /*display: flex;*/
    flex-direction: row; /* 横方向に並べる */
    justify-content: flex-end; /* メニュー項目を右寄せにする */
    align-items: center; /* 中央揃え */
    padding: 1rem 0; 
    margin: 0;
    list-style: none; /* リストスタイルを消す */
}

.menu-wrapper li {
    display: flex; /* フレックスボックスを使用 */
    flex-direction: column; /* 子要素を列方向に並べる */
    align-items: center; /* 垂直方向に中央揃え */
    padding: 0 2rem; /* 左右に2remの余白を設定 */
    flex-grow: 0; /* メニューアイテム間のスペースが均等になるのを防ぐ */
    text-align: center; /* テキストを中央揃えにする */
}

.menu-wrapper a {
    display: inline-block;
    width: auto; /* 幅を自動調整 */
    text-decoration: none; /* リンクの下線を消す */
    color: inherit; /* リンクの色を親要素から継承 */
    font-size: var(---font-md);

}

.btn-menu {
    display: none; /* ハンバーガーメニューを非表示に */
}

.sub-menu {
    display: none; /* 初期状態は非表示にする */
    position: absolute; 
}

.sub-menu li {
    margin: 1rem 0; /* 項目間の余白を追加 */
}

.menu-item:hover .sub-menu {
    display: block;
}

#menu-item-188, #menu-item-189 {
    padding-top: 0; /* 上の余白を0に設定 */
    padding-bottom: 0; /* 下の余白を0に設定 */
}

} 



