@charset "utf-8";

:root {
    --bg: #f7f7f8;
    --panel: #ffffff;
    --text: #111;
    --muted: #666;
    --accent: #222;
    --btn-bg: #1f1f1f;
    --btn-text: #fff;
    --radius: 12px;
    --transition: 300ms cubic-bezier(.2, .9, .3, 1);
    --card-shadow: 0 6px 18px rgba(15, 15, 15, 0.06);
    --max-width: 1100px;
    --gap: 18px;
    --icon-size: 20px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    /* margin: 0; */
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Roboto, Helvetica, Arial, sans-serif;
    /* background: linear-gradient(180deg, var(--bg), #eee); */
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 36px 18px;
    display: flex;
    justify-content: center;
}

.wrap {
    width: 100%;
    max-width: var(--max-width);
}

header {
    position: sticky;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
    margin-bottom: 28px;
}

.brand {
    display: flex;
    gap: 14px;
    align-items: center;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff, #f2f2f2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-weight: 700;
    color: var(--accent);
    font-size: 18px;
}

h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1;
}

.sub {
    font-size: 13px;
    color: var(--muted);
}

.panel {
    background: var(--panel);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
}

main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
    align-items: start;
}

@media (max-width:920px) {
    main {
        grid-template-columns: 1fr
    }
}

.about p {
    margin: 0 0 12px 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background var(--transition), transform 200ms ease, box-shadow 200ms ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.btn:focus {
    outline: 3px solid rgba(0, 0, 0, 0.06);
    outline-offset: 3px
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08)
}

/* per-service colors */
.btn.x {
    background: #111;
}

.btn.x:hover {
    background: linear-gradient(90deg, #1da1f2, #1da1f2);
    color: #fff;
}

.btn.instagram {
    background: #111;
}

.btn.instagram:hover {
    background: linear-gradient(45deg, #FFD600, #FF7A00, #ff0069, #D300C5, #7638FA);
    color: #fff;
}

.btn.note {
    background: #111;
}

.btn.note:hover {
    background: #dbdbd8;
    color: #111;
}

.btn.uecircle {
    background: #111;
}

.btn.uecircle:hover {
    background: #0077b6;
    color: #fff;
}

.btn svg {
    width: var(--icon-size);
    height: var(--icon-size);
    fill: currentColor;
    opacity: 0.95
}

.meta {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

/* blog list */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post {
    display: block;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #fbfbfb);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: var(--text);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06)
}

.post .title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}

.post .date {
    color: var(--muted);
    font-size: 13px;
}

aside .panel-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 700;
}

.archives ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.archives a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    display: block;
    background: transparent;
    font-size: 14px;
}

.archives a:hover {
    background: #f4f4f4;
}

footer {
    margin-top: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}