html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

ins {
    background-color: #ff9;
    color: #111111;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #111111;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px solid;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

/* ==========================================
   ベース設定
========================================== */
body {
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-family: "dnp-shuei-gothic-gin-std", sans-serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.1em;
}

/* ==========================================
   左セクション 
========================================== */
.left {
    width: var(--sidebar-width);
    flex-shrink: 0;
    border-right: 1px solid #111111;
    background-color: #f4f4f4;
    background-size: 15px 15px;

    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.left h1 {
    letter-spacing: -0.01em;
    font-family: 'Dela Gothic One';
    font-size: 70px;
    margin-top: 50px;
    margin-bottom: 20px;

}

.left h1 a {
    text-decoration: none;
    color: #111111;
}

.left h1 a .char {
    display: inline-block;
    will-change: transform;
}

.left p {
    margin-bottom: 50px;

}

.left p a {
    text-decoration: none;
    color: #111111;
}

.left nav,
.left .social-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 10px;
    justify-content: center;
    width: 100%;
    line-height: 1.5;
}

.left .social-links {
    margin-top: 20px;
}

.left nav a,
.left .social-links a {
    text-decoration: none;
    font-size: 0.9rem;
    color: #111111;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 0;
    text-align: center;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.left nav a[data-section="contact"] {
    flex-basis: 100%;
    max-width: max-content;
}

.left nav a:hover,
.left .social-links a:hover {
    background: transparent;
    color: #aaaaaa;
    border-color: transparent;
}

.left .social-links a {
    font-size: 0.78rem;
    font-weight: 400;
    color: #777777;
    letter-spacing: 0.02em;
}

@media (min-width: 769px) {

    .left h1,
    .left nav,
    .left .social-links {
        width: 140px;
        max-width: 100%;
    }

    .left nav,
    .left .social-links {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 6px;
    }

    .left nav a,
    .left nav a[data-section="contact"],
    .left .social-links a {
        flex-basis: auto;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        padding-inline: 0;
        border-inline-width: 0;
        text-align: left;
    }

    .left .social-links {
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px dashed #999;
    }
}

.left img {
    width: 50%;
    margin-top: 10px;
}


/* ==========================================
   右セクション 
========================================== */
.right {
    width: calc(100% - var(--sidebar-width));
    background-color: #f7f7f7;
    box-sizing: border-box;
    overflow-y: scroll;
    list-style: none;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(127, 130, 157, 0.15), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(17, 17, 17, 0.08), transparent 40%);
    background-size: 130% 130%;
    animation: none;
}

@keyframes auroraMove {
    from {
        background-position: 0% 0%, 100% 0%;
    }

    to {
        background-position: 20% 30%, 80% 40%;
    }
}

/* Lenis用の内側ラッパー */
.right-inner {
    width: 100%;
    min-height: 100%;
}

.right::-webkit-scrollbar {
    width: 12px;
}

.right::-webkit-scrollbar-track {
    background: #f7f7f7;
    border-left: 1px solid #111111;
}

.right::-webkit-scrollbar-thumb {
    background-color: #111111;
    border: 2px solid #f7f7f7;
    border-radius: 0;
}

.right div {
    box-sizing: border-box;
}

/* セクション切り替えアニメーション */
.section {
    display: none;
    /* 初期状態で非表示 */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section.active {
    display: block;
    opacity: 1;
}

.section h2 {
    font-family: 'Dela Gothic One';
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding: 20px;
}

.section h3 {
    font-family: "dnp-shuei-gothic-gin-std", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding: 20px;
}

.section h4 {
    font-family: "dnp-shuei-gothic-gin-std", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.section p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================
   ボックス
========================================== */
.R_BOX1,
.R_BOX2,
.R_BOX3 {
    background-color: #ffffff;
    border: 1px solid #111111;
    box-shadow: none;
    padding: 30px;
    margin: 20px;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.R_BOX1:hover,
.R_BOX2:hover,
.R_BOX3:hover {
    transform: none;
    box-shadow: none;
}

.R_BOX1 {
    padding: 20px;
}

.profile {

    padding: 10px 20px 30px;
    justify-content: space-around;
    align-items: center;
}

.profile img {
    width: 20vh;
    padding: 20px;
    border-radius: 0;
}


/* ==========================================
   PIC
========================================== */
#pic {
    padding: 20px;
}

.pic-carousel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

@media (min-width: 769px) {
    .pic-carousel.is-packed {
        grid-auto-rows: 1px;
        row-gap: 0;
    }
}



.PIC_COVER {
    background-color: #f9f9f9;
    border: 1px solid #111111;
    box-shadow: none;
    border-radius: 0;

    margin: 0;

    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: inline-block;
}

.PIC_COVER img {
    display: block;
    width: 100%;
    height: auto;
    transition: filter 0.2s ease;
}

/* ホバー時の動き */
.PIC_COVER:hover img {
    transform: none;
    filter: brightness(94%);
}

/* ホバー時 */
.PIC_COVER:hover {
    transform: none;
    box-shadow: none;
}

/* ==========================================
   モーダル
========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-panel {
    width: min(1100px, calc(100% - 32px));
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #f9f9f9;
    border-radius: 0;
}

.modal img {
    display: block;
    width: 100%;
    max-height: 72dvh;
    object-fit: contain;
    background: #111;
}

.modal-details {
    padding: 24px;
    color: #111;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.modal-details h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-details p+p {
    margin-top: 12px;
}

.modal-details a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.modal-details[hidden] {
    display: none;
}

.PIC_COVER:focus-visible,
.modal a:focus-visible,
.modal-close:focus-visible {
    outline: 3px solid #888;
    outline-offset: 4px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: #111;
    border: 0;
    border-radius: 0;
    padding: 0 10px;
    line-height: 1.4;
}

/* ==========================================
   ALL TIME BEST 
========================================== */
.alltimebest {
    margin-top: 40px;
    margin-bottom: 40px;
}

.accordion-004 {
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 20px;
    border-radius: 0;
}

.accordion-004 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #111111;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0;
    transition: background 0.2s;
}

.accordion-004 summary:hover {
    background: #eaeaea;
}

.accordion-004 summary::-webkit-details-marker {
    display: none;
}

.accordion-004 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #111111;
    border-right: 3px solid #111111;
    content: '';
    transition: transform .3s;
}

.accordion-004[open] summary::after {
    transform: rotate(225deg);
}


.accordion-004 ul {
    margin-top: 10px;
    margin-bottom: 20px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 2em;

}

.accordion-004 li {
    font-family: "dnp-shuei-gothic-gin-std", sans-serif;
    font-weight: 600;
    font-size: 12px;
    margin: 0;

    background-color: #fff;
    color: #333;
    padding: 8px 14px;
    border-radius: 0;
    border: 1px solid #111111;
    box-shadow: none;

    transform: translateY(-10px);
    opacity: 0;
    transition: transform .5s, opacity .5s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.accordion-004[open] li {
    transform: none;
    opacity: 1;
}

.accordion-004[open] li:hover {
    background-color: #333;
    color: #fff;
    transform: none;
    box-shadow: none;
}

/* リンク用 */
.accordion-004 li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Spotify */
.accordion-004 li:has(iframe) {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
}

.accordion-004 li:has(iframe):hover {
    transform: none;
}

/* ==========================================
   LINK
========================================== */
.link-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.link-list li a {
    box-sizing: border-box;
    height: 80px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #111111;
    background-color: #fff;
    border: 1px solid #111111;
    box-shadow: none;
    border-radius: 0;
    padding: 12px;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}


.link-list li a:hover {
    transform: none;
    box-shadow: none;
    background-color: #f0f0f0;
}

.link-list li a strong {
    font-family: "dnp-shuei-gothic-gin-std", sans-serif;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.link-list li a small {
    font-size: 0.85rem;
    color: #555;
}

.link-list .link-banner {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
}

.link-list li a:has(.link-banner) {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.link-list .link-details {
    min-width: 0;
    overflow-wrap: anywhere;
}

.site-banner {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    margin: 4px auto 8px;
}

.banner-url {
    overflow-wrap: anywhere;
}

.bookmark {
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    .link-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================
   CONTACT
========================================== */
.contact-intro {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: left;
}

.contact-lead {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.contact-intro p+p {
    margin-top: 10px;
}

.contact-note {
    color: #555;
    font-size: 0.85rem;
}

.contact-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: left;
}

.contact-card {
    background-color: #fff;
    border: 1px solid #111111;
    box-shadow: none;
    border-radius: 0;
    padding: 30px;
}

.contact-card h3 {
    padding: 0;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.price-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    border-bottom: 1px solid #999;
    padding-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.price-list strong {
    color: #111111;
    white-space: nowrap;
}

.contact-flow {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: left;
}

.contact-flow h3 {
    padding: 0;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.contact-flow ul {
    padding-left: 1.3em;
    line-height: 2;
    font-size: 0.9rem;
}

.request-flow {
    max-width: 760px;
    margin: 54px auto 58px;
    border: 1px solid #111111;
    box-shadow: none;
    border-radius: 0;
    background: #fff;
    text-align: left;
    overflow: hidden;
}

.request-flow summary {
    position: relative;
    padding: 22px 58px 22px 24px;
    cursor: pointer;
    list-style: none;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    transition: background-color 0.2s;
}

.request-flow summary::-webkit-details-marker {
    display: none;
}

.request-flow summary:hover {
    background-color: #f0f0f0;
}

.request-flow summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 26px;
    height: 26px;
    border: 1px solid #111111;
    border-radius: 0;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    transform: translateY(-50%);
}

.request-flow[open] summary::after {
    content: "−";
}

.request-flow-body {
    padding: 0 24px 28px;
    border-top: 1px solid #999;
}

.request-flow-note {
    margin: 20px 0;
    color: #555;
    font-size: 0.8rem;
    line-height: 1.8;
}

.request-flow-list {
    list-style: none;
    counter-reset: request-step;
}

.request-flow-list li {
    position: relative;
    display: grid;
    grid-template-columns: 76px 1fr;
    min-height: 68px;
    border: 1px solid #111111;
    background-color: #fafafa;
    counter-increment: request-step;
}

.request-flow-list li+li {
    margin-top: 24px;
}

.request-flow-list li+li::before {
    content: "↓";
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

.request-flow-list li::after {
    content: counter(request-step, decimal-leading-zero);
    display: grid;
    grid-column: 1;
    grid-row: 1;
    place-items: center;
    border-right: 1px solid #111111;
    background-color: #111111;
    color: #fff;
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.request-flow-list span {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    padding: 16px 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 34px;
}

.contact-button,
.about-contact-link {
    display: inline-block;
    color: #111111;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #111111;
    box-shadow: none;
    border-radius: 0;
    padding: 14px 20px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.contact-button:hover,
.about-contact-link:hover {
    transform: none;
    box-shadow: none;
    background-color: #f0f0f0;
}

.about-contact-note {
    margin-top: 18px;
    text-align: center;
}

.about-contact-note p {
    margin: 0 0 10px;
    font-size: 0.72rem;
    line-height: 1.7;
}

.about-contact-link {
    padding: 8px 16px;
    font-size: 0.72rem;
    line-height: 1;
}

/* ==========================================
   BLOGセクション
========================================== */
.blog-post {
    background-color: #fff;
    border: 1px solid #111111;
    box-shadow: none;
    border-radius: 0;
    text-align: left;
    max-width: 780px;
    margin: 0 auto 40px;
    padding: clamp(24px, 5vw, 44px);
}

h2.blogtitle {
    font-family: 'Dela Gothic One';
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    padding: 0 0 12px;
}

.blog-post h3 {
    font-family: "dnp-shuei-gothic-gin-std", sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1em;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 0px;

}

.blog-post small {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #111111;

}

.blog-content p {
    margin-bottom: 0.7em;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid #111111;
    border-radius: 0;
    margin: 10px 0;
}

/* ==========================================
  BLOG
========================================== */

/* 日付 */
.blog-post small {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #777;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #111111;
}

/* 本文全体 */
.blog-content {
    font-family: "Zen Kaku Gothic New", "Zen Kaku Gothic Antique", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.035em;
    color: #222;
    word-break: break-word;
}

/* 段落 */
.blog-content p {
    margin: 0 0 1.25em;
}

/* microCMSの見出し */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5 {
    font-family: "Zen Kaku Gothic New", "Zen Kaku Gothic Antique", sans-serif;
    color: #7f829d;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.04em;
    padding: 0;
}

.blog-content h1 {
    font-size: 1.55rem;
    margin: 2.4em 0 1em;
}

.blog-content h2 {
    font-size: 1.35rem;
    margin: 2.2em 0 0.9em;
}

.blog-content h3 {
    font-size: 1.15rem;
    margin: 2em 0 0.8em;
}

.blog-content h4 {
    font-size: 1rem;
    margin: 1.8em 0 0.7em;
}

.blog-content h5 {
    font-size: 0.9rem;
    margin: 1.6em 0 0.6em;
}

/* 記事内リンク */
.blog-content a {
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.blog-content a:hover {
    background: #111111;
    color: #fff;
    text-decoration: none;
}

/* リスト */
.blog-content ul,
.blog-content ol {
    margin: 1.2em 0 1.6em;
    padding-left: 1.6em;
}

.blog-content li {
    margin-bottom: 0.6em;
    line-height: 1.9;
}

/* 引用 */
.blog-content blockquote {
    margin: 1.8em 0;
    padding: 1em 1.2em;
    border-left: 4px solid #111111;
    background: #f4f4f4;
    color: #555;
    font-weight: 400;
    letter-spacing: 0.035em;
}

.blog-content blockquote p {
    margin-bottom: 0.8em;
}

.blog-content blockquote p:last-child {
    margin-bottom: 0;
}

/* インラインコード */
.blog-content code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9em;
    letter-spacing: 0;
    background: #f1f1f1;
    border: 1px solid #d6d6d6;
    border-radius: 0;
    padding: 0.15em 0.35em;
}

/* コードブロック */
.blog-content pre {
    margin: 1.8em 0;
    padding: 1.1em 1.2em;
    overflow-x: auto;
    background: #f7f7f7;
    border: 1px solid #111111;
    box-shadow: none;
    border-radius: 0;
    line-height: 1.7;
}

/* preの中のcodeは二重装飾を消す */
.blog-content pre code {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0.88rem;
    white-space: pre;
}

/* 画像 */
.blog-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.8em auto;
    border: 1px solid #111111;
    border-radius: 0;
}

/* 区切り線 */
.blog-content hr {
    border: none;
    border-top: 1px solid #999;
    margin: 2.4em 0;
}

/* スマホ */
@media screen and (max-width: 768px) {
    .blog-post {
        padding: 24px 18px;
        margin: 0 10px 30px;
    }

    .blog-content {
        font-size: 15px;
        line-height: 1.95;
        letter-spacing: 0.025em;
    }

    .blog-content h1 {
        font-size: 1.35rem;
    }

    .blog-content h2 {
        font-size: 1.22rem;
    }

    .blog-content h3 {
        font-size: 1.08rem;
    }

    .blog-content pre {
        font-size: 0.85rem;
        padding: 1em;
    }
}

/* ==========================================
   フッター 
========================================== */
.site-footer {
    border-top: 1px solid #111111;
    padding: 30px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 0.8rem;
}

.footer-main {
    display: none;
}

.footer-brand strong {
    display: block;
    font-family: 'Dela Gothic One', sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    letter-spacing: 0.04em;
}

.footer-nav,
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-social {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #999;
}

.footer-nav a,
.footer-social a {
    color: #111111;
    text-decoration: none;
    line-height: 1.6;
}

.footer-nav a:hover,
.footer-social a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.back-to-top {
    color: #111111;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
    .request-flow summary {
        padding: 18px 52px 18px 18px;
        font-size: 1rem;
    }

    .request-flow summary::after {
        right: 18px;
    }

    .request-flow-body {
        padding: 0 14px 20px;
    }

    .request-flow-list li {
        grid-template-columns: 54px 1fr;
    }

    .request-flow-list span {
        padding: 14px;
        font-size: 0.82rem;
    }

    .site-footer {
        padding: 42px 24px 30px;
        margin-bottom: 0;
        text-align: left;
    }

    .footer-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 34px;
        max-width: 760px;
        margin: 0 auto 38px;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 20px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 20px;
        max-width: 760px;
        margin: 0 auto;
        padding-top: 24px;
        border-top: 1px solid #111111;
    }
}

/* ==========================================
   ロード時
========================================== */
@keyframes flipIn {
    0% {
        transform: translateY(80px) scale(1.1);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
}

.right .PIC_COVER {
    transform-origin: top;
    animation: flipIn ease forwards;
    animation-duration: 1s;
    opacity: 0;
}

.right .PIC_COVER {
    animation-delay: 0s;
}

@keyframes flipIn_card {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.right .R_BOX1,
.right .R_BOX2 {
    animation: flipIn_card ease forwards;
    animation-duration: 1s;
    opacity: 0;
}

.right .R_BOX1:nth-child(1) {
    animation-delay: 0s;
}

.right .R_BOX2:nth-child(2) {
    animation-delay: 0.3s;
}

.mobile-header {
    display: none;
}

/* ==========================================
   スマホ用
========================================== */
@media screen and (max-width: 768px) {

    body {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;

    }


    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #f4f4f4;
        background-size: 15px 15px;
        background-image: none;
        border-bottom: 2px solid #111111;
        z-index: 1000;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .mobile-logo {
        font-family: 'Dela Gothic One';

        font-size: 24px;

        letter-spacing: 0.05em;
    }

    .mobile-logo a {
        text-decoration: none;
        color: #111111;
    }

    /* ハンバーガーボタン */
    .hamburger {
        width: 40px;
        height: 36px;
        background: #fff;
        border: 1px solid #111111;
        box-shadow: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        padding: 0;
    }

    .hamburger:active {
        transform: none;
        box-shadow: none;
    }

    /* ★ ハンバーガーボタンのアニメーション */
    .hamburger span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #111111;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hamburger.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* スマホメニューのアニメーション */
    .left {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        z-index: 999;
        border-right: none;
        border-bottom: none;
        overflow-y: auto;
        padding-bottom: 40px;
        background-image: none;

        /* アニメーション設定 */
        display: flex;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.4s;
    }


    /* メニューが開いたときの状態 */
    .left.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* ③ 右カラムの調整 */
    .right {
        width: 100%;
        height: calc(100vh - 60px);
        margin-top: 60px;
        overflow-y: auto;

        padding-bottom: 20px;
        animation: none;
    }


    .profile img {
        width: 30%;
    }

    .R_BOX1,
    .R_BOX2,
    .R_BOX3,
    .PIC_COVER {
        margin: 15px 10px;
        padding: 20px;
    }

    .PIC_COVER {
        width: calc(100% - 20px);
    }

    .profile {
        justify-content: center;
        gap: 10px;
    }

    .name_PF {
        text-align: left;
    }

    .name_PF p {
        white-space: nowrap;
        font-size: clamp(10px, 3.5vw, 14px);
    }

    .name_PF h3 {
        white-space: nowrap;
        font-size: clamp(18px, 6vw, 24px);
        padding: 0 0 10px 0;
    }

    #pic {
        padding: 10px 0;
    }

    .pic-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 15px;
        padding: 10px 20px;

        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .pic-carousel::-webkit-scrollbar {
        display: none;
    }

    .pic-carousel .PIC_COVER {
        flex: 0 0 100%;
        scroll-snap-align: center;
        aspect-ratio: 4 / 5;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0px;
    }

    .pic-carousel .PIC_COVER img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 0px;
    }

    .pic-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
        padding-bottom: 20px;
    }

    .pic-dots .dot {
        width: 12px;
        height: 12px;
        border: 1px solid #111111;
        border-radius: 0;
        background-color: transparent;
        transition: background-color 0.3s;
    }

    .pic-dots .dot.active {
        background-color: #111111;
    }

    .transition-cover {
        left: 0 !important;
        width: 100% !important;
        top: 60px !important;
        height: calc(100vh - 60px) !important;
    }
}

/* ==========================================
  ローディング・ページ遷移
========================================== */

/* ローディング画面 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f7f7f7;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-text {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 24px;
    color: #111111;
    letter-spacing: 0.1em;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.transition-cover {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    height: 100vh;
    background-color: #f7f7f7;
    border: 1px solid #111111;
    z-index: 998;

    pointer-events: none;


    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}


.transition-cover.is-active {
    transform: translateY(0);
}

.transition-cover.is-leaving {
    transform: translateY(-100%);
}

.transition-cover.no-transition {
    transition: none !important;
}

:root {
    --sidebar-width: clamp(260px, 22vw, 300px);
    --mobile-header-height: 60px;
}


#blog .R_BOX2 {
    max-width: 920px;
    margin: 20px auto 50px;
    padding: clamp(28px, 5vw, 56px);
    text-align: left;
    position: relative;
}

#blog .R_BOX2>h2 {
    text-align: center;
    padding: 0 0 clamp(24px, 4vw, 36px);
    margin: 0;
    border-bottom: 2px solid #111111;
}

#blog-container {
    max-width: 780px;
    margin: 0 auto;
}

#blog-container>p {
    text-align: center;
    padding: 40px 0;
}

.blog-rss-link {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #111111;
    border-radius: 0;
    background: #f5ff57;
    box-shadow: none;
    color: #111111;
    font-size: 0.68rem;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-rss-link:hover {
    transform: none;
    box-shadow: none;
}

.blog-rss-icon {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.blog-post {
    max-width: none;
    margin: 0;
    padding: clamp(36px, 5vw, 60px) 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    text-align: left;
}

.blog-post:not(:last-child) {
    border-bottom: 1px solid #999999;
    margin-bottom: clamp(24px, 4vw, 40px);
    padding-bottom: clamp(52px, 7vw, 84px);
}


.blog-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-like-btn {
    appearance: none;
    border: 1px solid #111111;
    background: #ffffff;
    color: #111111;
    border-radius: 0;
    padding: 8px 14px;
    font-size: 0.88rem;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.blog-like-btn:hover {
    transform: none;
    box-shadow: none;
}

.blog-like-btn.is-liked {
    animation: like-pop 420ms cubic-bezier(.2, .8, .2, 1);
    background: #ffeef4;
}

.like-particle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, #ff8ab4 0%, #ff3f86 70%, #ff1f72 100%);
    transform: translate(-50%, -50%) rotate(var(--particle-angle)) translateY(0) scale(1);
    animation: like-particle-burst 560ms ease-out var(--particle-delay, 0ms) forwards;
    box-shadow: none;
}

@keyframes like-pop {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.16);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes like-particle-burst {
    0% {
        opacity: 0.95;
        transform: translate(-50%, -50%) rotate(var(--particle-angle)) translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--particle-angle)) translateY(calc(-1 * var(--particle-distance, 28px))) scale(0.2);
    }
}

.blog-comments {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #d7d7d7;
}

.blog-comments h3 {
    font-size: 1rem;
    margin-bottom: 24px;
}

.blog-comment-form {
    display: grid;
    gap: 10px;
}

.blog-comment-form label {
    display: grid;
    gap: 6px;
    font-size: 0.86rem;
}

.blog-comment-form input,
.blog-comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bbbbbb;
    border-radius: 0;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
}

.blog-comment-form textarea {
    min-height: 110px;
    resize: vertical;
}

.blog-comment-form button[type="submit"] {
    justify-self: flex-start;
    border: 1px solid #111111;
    background: #111111;
    color: #ffffff;
    border-radius: 0;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 0.82rem;
}

.blog-comment-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.blog-comment-item {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 10px 12px;
    background: #fafafa;
}

.blog-comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
    color: #444444;
    margin-bottom: 8px;
}

.blog-comment-name {
    font-weight: 700;
    color: #111111;
}

.blog-comment-message {
    white-space: pre-wrap;
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0;
}

.share-x-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #111111;
    border-radius: 0;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.78rem;
    line-height: 1;
    letter-spacing: 0.06em;
    transition: opacity 0.2s ease;
}

.share-x-btn:hover {
    opacity: 0.82;
}

h2.blogtitle {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.45;
    margin-bottom: 22px;
    padding: 0;
}

.blog-post small {
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid #111111;
}

@media screen and (max-width: 768px) {
    body {
        height: 100vh;
        height: 100dvh;
        min-height: 100svh;
        overflow: hidden;
    }

    .mobile-header {
        height: calc(var(--mobile-header-height) + env(safe-area-inset-top));
        padding-top: env(safe-area-inset-top);
        box-sizing: border-box;
    }

    .left {
        top: calc(var(--mobile-header-height) + env(safe-area-inset-top));
        height: calc(100vh - var(--mobile-header-height) - env(safe-area-inset-top));
        height: calc(100dvh - var(--mobile-header-height) - env(safe-area-inset-top));
    }

    .right {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        margin-top: 0;
        padding-top: calc(var(--mobile-header-height) + env(safe-area-inset-top) + 16px);
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
        overflow-y: auto;
        box-sizing: border-box;
    }

    .right-inner {
        min-height: calc(100dvh - var(--mobile-header-height) - env(safe-area-inset-top));
    }

    .transition-cover {
        top: calc(var(--mobile-header-height) + env(safe-area-inset-top)) !important;
        height: calc(100dvh - var(--mobile-header-height) - env(safe-area-inset-top)) !important;
    }

    #blog .R_BOX2 {
        margin: 15px 10px 34px;
        padding: 24px 40px;
    }

    #blog-container {
        max-width: none;
    }

    .blog-rss-link {
        top: 14px;
        right: 14px;
        padding: 6px 8px;
    }

    .blog-post {
        padding: 34px 0;
    }



    .blog-like-btn,
    .share-x-btn {
        padding: 7px 12px;
        font-size: 0.74rem;
    }

    h2.blogtitle {
        font-size: clamp(1.28rem, 7vw, 1.65rem);
        line-height: 1.45;
    }
}


/* ABOUT: mobile layout refinements */
@media screen and (max-width: 768px) {
    #about {
        padding: 0 10px 18px;
        overflow-x: hidden;
    }

    #about .R_BOX1,
    #about .R_BOX2 {
        margin: 0 0 18px;
        padding: clamp(22px, 7vw, 32px) clamp(16px, 5vw, 24px);
        overflow: hidden;
    }

    #about .section h2,
    #about h2 {
        padding: 0;
        margin-bottom: 24px;
        font-size: clamp(1.35rem, 7vw, 1.9rem);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    #about .profile {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 16px;
        align-items: center;
        justify-content: initial;
        padding: 0;
        text-align: left;
    }

    #about .profile img {
        width: 88px;
        max-width: 100%;
        padding: 0;
        align-self: start;
    }

    #about .name_PF {
        min-width: 0;
        text-align: left;
    }

    #about .name_PF h3 {
        padding: 0;
        margin-bottom: 14px;
        white-space: normal;
        font-size: clamp(1.25rem, 6vw, 1.6rem);
        line-height: 1.3;
    }

    #about .name_PF p {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: auto-phrase;
        font-size: clamp(0.78rem, 3.6vw, 0.92rem);
        line-height: 1.8;
    }

    #about .about-contact-note {
        margin-top: 16px;
        text-align: left;
    }

    #about .about-contact-note p {
        font-size: clamp(0.72rem, 3.4vw, 0.84rem);
        line-height: 1.8;
    }

    #about .about-contact-link {
        width: min(100%, 180px);
        padding: 10px 14px;
        text-align: center;
        font-size: 0.78rem;
        line-height: 1.2;
    }

    #about .alltimebest {
        margin: 28px 0 10px;
    }

    #about .R_BOX2 h4 {
        margin-bottom: 18px;
        line-height: 1.7;
    }

    #about .accordion-004 {
        max-width: none;
        margin-bottom: 12px;
    }

    #about .accordion-004 summary {
        padding: 16px 8px;
        font-size: 1rem;
    }

    #about .accordion-004 ul {
        padding: 0;
        gap: 8px;
    }

    #about .accordion-004 li {
        max-width: 100%;
        font-size: 0.74rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
}

@media screen and (max-width: 420px) {
    #about .profile {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    #about .name_PF,
    #about .about-contact-note {
        text-align: center;
    }

    #about .profile img {
        width: 104px;
    }
}

#about,
#link {
    width: 100%;
    max-width: 920px;
    margin-inline: auto;
    padding: 40px 32px 56px;
}

#about>.R_BOX1,
#about>.R_BOX2,
#link>.R_BOX3 {
    margin: 0 0 28px;
    padding: 32px;
    text-align: center;
}

#about {
    max-width: none;
    padding: 0;
}

#about>.R_BOX1,
#about>.R_BOX2 {
    max-width: 920px;
    margin: 20px auto 30px;
    padding: 30px;
}

#about h2,
#link h2 {
    padding: 20px;
    margin: 0 0 20px;
    font-size: 1.5rem;
    text-align: center;
}

#about .R_BOX2 h2 {
    margin-bottom: 20px;
}

#about .alltimebest {
    max-width: 500px;
    margin: 40px auto;
}

#about .accordion-004 {
    max-width: none;
    margin: 0 0 20px;
    border: 0;
}

#about .accordion-004 summary {
    padding: 1em 2em;
}

#about .accordion-004 ul {
    padding: 0 0 12px;
}

#link .link-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding-right: 55px;
    padding-bottom: 24px;
    border-bottom: 1px solid #111111;
}

#link .site-banner {
    margin: 0 auto 10px;
}

#link .banner-url {
    overflow-wrap: anywhere;
}

#link .link-group-title {
    margin: 28px 0 14px;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

#link .link-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
    gap: 16px;
}

#link .link-list li {
    min-width: 0;
    width: 100%;
}

#about .profile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 700px;
    margin: 0 auto;
    justify-items: center;
    gap: 40px;
    align-items: center;
    padding: 20px 0 30px;
    text-align: center;
}

#about .profile img {
    width: 250px;
    max-width: 100%;
    height: auto;
    padding: 0;
}

#about .name_PF h3 {
    padding: 0;
    margin: 0 0 28px;
}

#about .name_PF>p:first-of-type {
    margin-bottom: 0;
}

#about .about-contact-note {
    margin-top: 24px;
    text-align: center;
}

#about .name_PF {
    text-align: center;
}

@media (min-width: 769px) and (max-width: 1100px) {
    #link .link-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #link .link-intro {
        grid-template-columns: minmax(0, 1fr);
        padding-right: 0px;
    }
}

@media (max-width: 768px) {

    #about,
    #link {
        padding: 12px 16px 28px;
    }

    #about>.R_BOX1,
    #about>.R_BOX2,
    #link>.R_BOX3 {
        padding: 24px 20px;
        margin-bottom: 20px;
    }

    #link .link-intro {
        grid-template-columns: minmax(0, 1fr);
        padding-right: 0px;
    }

    #link .link-list {
        grid-template-columns: minmax(0, 1fr);
    }

    #about .R_BOX2 h2 {
        padding-inline: 0;
        font-size: clamp(1rem, 5.7vw, 1.5rem);
        white-space: nowrap;
    }

    #about {
        padding: 0;
    }

    #about>.R_BOX1,
    #about>.R_BOX2 {
        margin: 15px 10px 34px;
    }

    #about .profile {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 0;
    }

    #about .profile img {
        width: 112px;
    }
}
