/*
Theme Name: Cyber Punk Theme
Author: Your Name
Version: 1.0
Description: サイバー・近未来SF風のカスタムテーマ
*/

/* サイバー風の基本スタイル例 */
bodyold {
    background-color: #0d0e15; /* 深いダークネイビー・黒 */
    color: #00ff66; /* ネオンマトリックスグリーン */
    font-family: 'Courier New', Courier, monospace;
}
body {
    background-color: #0d0e15;
    /* 2px周期の黒い横線を薄く入れる */
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    color: #00ff66;
    font-family: 'Courier New', Courier, monospace;
}

a {
    color: #ff007f; /* ネオンピンク */
    text-shadow: 0 0 5px #ff007f, 0 0 10px #ff007f; /* 発光エフェクト */
}


/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
/*a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}*/

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}



/* 画面全体のコンテナ（TT5の標準的な最大幅に合わせる） */
.site-container {
    max-width: 1200px;  /* 全体の最大幅 */
    margin: 0 auto;     /* 画面中央寄せ */
    padding: 2rem;      /* 左右・上下の余白 */
}

/* ヘッダーの配置（左右に要素を逃がす準備） */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    border-bottom: 2px solid #00ff66; /* サイバー感を出す区切り線 */
    padding-bottom: 1rem;
}

/* メインコンテンツ（TT5風に、読みやすい幅に狭める） */
.site-main {
    max-width: 800px;   /* 記事本文が広がりすぎないように制限 */
    margin: 0 auto;     /* 中央寄せ */
}

/* 各記事の枠組み */
.cyber-postold {
    margin-bottom: 4rem;
    padding: 2rem;
    border: 1px solid #ff007f; /* ネオンピンクの枠線 */
    background: rgba(255, 0, 127, 0.03); /* ほんのりピンク背景 */
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.1);
}
.cyber-post {
    /* 右上と左下の角を15px斜めにカットする */
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    /* ※clip-pathを使う場合は通常のborderが消えるため、背景色の差などで境界を表現します */
    background: rgba(0, 255, 102, 0.05); 
    border: none;
}
/* 記事タイトルのフォントサイズなど */
.post-title {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

/* 本文内の段落の隙間（TT5のようなゆったりした配置） */
.post-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


