@charset "UTF-8";

@font-face {
    font-family: "TitleFont";
    src: url("../font/title_font.eot");
    src: url("../font/title_font.eot?#iefix") format("embedded-opentype"),
         url("../font/title_font.woff2") format("woff2"),
         url("../font/title_font.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

:root {
    /* --bg: #f3f2ee; */
    --bg: #DBDCDB;
    --surface: #ffffff;
    --text: #141414;
    --muted: #707070;
    --accent: #111111;
    --line: #dad7d1;
}

html,
body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    width: 100%;
    min-height: 100%;
    margin: 0;
    color: var(--text);
    background: var(--bg);
}

#hide_container {
    width: 100%;
}

#container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
}

a {
    color: inherit;
    text-decoration: none;
}

.header-class {
    width: 100%;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.25rem;
    margin-bottom: 1.1rem;
}

#title {
    font-family: "TitleFont", "Inter", "Noto Sans JP", sans-serif;
    /* font-size: clamp(2rem, 5.2vw, 4.3rem); */
    font-size: 3.12rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
}

#sub-title {
    margin-top: .1rem;
    font-size: 1.2rem;
    color: var(--muted);
    letter-spacing: .03em;
    font-family: "TitleFont", "Inter", "Noto Sans JP", sans-serif;
    font-weight: 100;
    /* text-transform: uppercase; */
}

@media (max-width: 900px) {
    #title {
        font-size: 2.6rem;
    }
    #sub-title {
        font-size: 0.9rem;
    }
}

#menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.3rem;
    font-size: .95rem;
    text-decoration: underline;
}

.menu-text {
    padding: .22rem 0;
    border-bottom: 1px solid transparent;
}

.menu-text:hover {
    border-color: var(--text);
}

#tag-menu {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1.4rem;
}

.tag-contents {
    border: 1px solid var(--line);
    background: var(--surface);
    color: #303030;
    border-radius: 999px;
    padding: .42rem .85rem;
    font-size: .88rem;
    letter-spacing: .03em;
    /* text-transform: uppercase; */
    transition: .2s ease;
}

.tag-contents:hover {
    transform: translateY(-1px);
    cursor: pointer;
}

.tag-contents.is-active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

#gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.0rem;
}

.worklist {
    width: 100%;
    height: 50%;
}

.worklist a {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.layer {
    height: 0;
    /* padding-bottom: 64%; */
    padding-bottom: 40%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.layer::before,
.main-img {
    display: none;
}

.cover,
.cover-phone {
    position: static;
    height: auto;
    width: auto;
    background: var(--surface);
    padding: .82rem 1rem .9rem;
}

.caption,
.caption-phone {
    position: static;
    color: var(--text);
    font-size: .9rem;
    line-height: 1.45;
    margin: 0;
    padding: 0;
    display: block;
}

.caption .card-date,
.caption-phone .card-date {
    display: block;
    color: var(--muted);
    font-size: .74rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: .34rem;
}

#site-social {
    text-align: center;
    border-top: 1px solid var(--line);
    padding-top: 1.8rem;
    margin-top: 2rem;
}

.fab {
    width: 2.1rem;
}

.footer-style {
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    #container {
        padding: 1.3rem 1rem 2rem;
    }

    #gallery {
        grid-template-columns: 1fr;
        gap: .95rem;
    }
}




.card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .6rem;
}

.card-title-text {
    flex: 1;
}

.open-new-window {
    margin-top: 0;
    margin-left: auto;
    border: none;
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: 0;
    font-size: .95rem;
    line-height: 1;
    min-width: 1.2rem;
}

.open-new-window:hover { color: var(--text); }

#content {
    max-width: 920px;
    margin: 2.4rem auto;
    padding: 2rem 2.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
}

#content h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.25; margin: .2rem 0 1.1rem; }
#content h2 { font-size: 1.35rem; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
#content h3 { font-size: 1.08rem; margin-top: 1.4rem; }
#content p, #content li { line-height: 1.95; font-size: .98rem; }
#content a { color: #009e71; text-decoration: underline; text-underline-offset: .12em; }
#content a:hover { color: #007f5a; }
#content img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); margin: 0 0 1.1rem; }
#content blockquote { margin: 1rem 0; padding: .75rem 1rem; border-left: 3px solid var(--line); color: var(--muted); background: #faf9f7; }
#content pre { overflow: auto; background: #f8f7f3; border: 1px solid var(--line); border-radius: 8px; padding: .85rem; }
#content iframe { width: 100%; max-width: 100%; border: 0; margin: 0 0 1.1rem; }
#content iframe.embed-video { aspect-ratio: 16 / 9; height: auto; }
#content iframe.embed-facebook { width: min(100%, 500px); height: 560px; display: block; margin: 0 auto 1.1rem; }

#content blockquote.instagram-media {
  width: min(100%, 560px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto 1.1rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden;
  border-radius: 10px;
}
#content blockquote.instagram-media iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.photo-credit-figure { position: relative; margin: 0 0 1.1rem; }
.photo-credit-figure img { margin: 0 !important; display: block; }
.photo-credit-caption {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  margin: 0;
  padding: .28rem .5rem;
  font-size: .74rem;
  line-height: 1.2;
  color: #fff;
  background: rgba(0,0,0,.58);
  border-radius: 999px;
  letter-spacing: .02em;
}

.date { font-size: .8rem; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; margin-bottom: .8rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .6rem; font-size: .75rem; color: var(--muted); }
.name { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }

@media (max-width: 900px) {
  #content { margin: 1.2rem .7rem; padding: 1.2rem 1rem; border-radius: 12px; }
}


.card-tags {
    margin-top: .55rem;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.card-tag {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    border-radius: 999px;
    font-size: .7rem;
    letter-spacing: .02em;
    padding: .2rem .5rem;
    cursor: pointer;
}

.card-tag:hover {
    color: var(--text);
    border-color: var(--text);
}

#menu {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .7rem .9rem;
}

#tag-menu {
    background: #c5c5c5;
    /* border: 1px dashed #cbc6bc; */
    border-radius: 12px;
    padding: .7rem .9rem;
}

.tags-inline {
    margin: -.3rem 0 1.1rem;
}

.tag-link {
    text-decoration: none;
    background: #fff;
}

.tag-link:hover {
    color: var(--text);
    border-color: var(--text);
}


.tag-current-row { display:flex; align-items:center; gap:.7rem; flex-wrap:wrap; margin-bottom:1.2rem; }
.tag-current-row .menu-group-label.second { margin-bottom:0; }
#tag-page-current { margin-bottom: 0; }
.tag-page-pill { display:inline-block; border:1px solid var(--line); border-radius:999px; padding:.3rem .7rem; background:#fff; }


.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-title-block {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

#menu.menu-inline {
    margin: .35rem 0 0;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    gap: .9rem;
}

#menu.menu-inline .menu-text {
    font-size: .82rem;
    letter-spacing: .07em;
    /*text-transform: uppercase;*/
    color: var(--muted);
}

#menu.menu-inline .menu-text:hover {
    color: var(--text);
    border-color: var(--text);
}

@media (max-width: 900px) {
    .header-top-row {
        display: block;
    }

    #menu.menu-inline {
        margin-top: .8rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}


#menu.menu-inline.menu-emphasis {
    margin-top: 3rem;
    justify-content: flex-end;
    gap: .45rem;
}

#menu.menu-inline.menu-emphasis .menu-text {
    color: #000;
    padding: .2rem .45rem;
    font-family: "TitleFont", "Inter", "Noto Sans JP", sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: .04em;
    /*text-transform: uppercase;*/
}

#menu.menu-inline.menu-emphasis .menu-text:hover {
    background: #fff;
    color: var(--accent);
}

@media (max-width: 900px) {
    #menu.menu-inline.menu-emphasis {
        margin-top: .7rem;
        justify-content: flex-start;
    }
    #menu.menu-inline.menu-emphasis .menu-text {
        padding: .2rem .35rem;
        padding-top: 1rem;
        font-size: 1.65rem;
    }
}

.tag-page-pill-large { font-size: 1.5rem; padding: .38rem .82rem; font-weight: 600; }

/* Profile page (legacy-inspired) */
.profile-page #profile-content {
    max-width: 920px;
    margin: 1.8rem auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 2rem 2.2rem;
}

.profile-page #profile-content .about h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    margin: 0;
    line-height: 1.15;
    letter-spacing: .01em;
}

.profile-page #profile-content .about h2 {
    font-size: 1.2rem;
    margin: 1.6rem 0 .8rem;
    padding-top: .9rem;
    border-top: 1px solid var(--line);
}

.profile-page #profile-content .about h1 + h2 {
    margin-top: .45rem;
    border-top: none;
    padding-top: 0;
    color: var(--muted);
    font-weight: 500;
}

.profile-page #profile-content .about p,
.profile-page #profile-content .about li {
    font-size: .97rem;
    line-height: 1.9;
}


.profile-page #profile-content .about a {
    color: #009e71;
    text-decoration: underline;
    text-underline-offset: .12em;
}

.profile-page #profile-content .about a:hover {
    color: #007f5a;
}
.profile-page #profile-content .about .profile-media-contact {
    display: grid;
    grid-template-columns: min-content auto;
    align-items: start;
    justify-content: start;
    column-gap: .6rem;
    margin: 1rem 0 1.4rem;
}

.profile-page #profile-content .about .profile-media-contact-image {
    flex: 0 0 auto;
}

.profile-page #profile-content .about .profile-media-contact-details {
    flex: 0 0 auto;
    min-width: 0;
    align-self: flex-start;
    margin-top: 1rem;
    margin-left: 1rem;
}

.profile-page #profile-content .about .profile-media-contact-details h3 {
    font-size: 1.05rem;
    margin: 0 0 .5rem;
}

.profile-page #profile-content .about .profile-media-contact-details ul {
    margin: 0;
    padding-left: 1rem;
}

.profile-page #profile-content .about img {
    display: block;
    width: 220px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--line);
    margin: 1rem 0 1.4rem;
}

.profile-page #profile-content .about hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 1.5rem 0;
}

.profile-page #profile-content .about ul {
    margin: .4rem 0 0;
    padding-left: 1.2rem;
}

@media (max-width: 900px) {
    .profile-page #profile-content .about .profile-media-contact {
        display: flex;
        flex-direction: column;
        gap: .8rem;
    }

    .profile-page #profile-content {
        margin-top: 1.1rem;
        padding: 1.2rem 1rem;
    }
}

#content table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 2rem;
  display: block;
  overflow-x: auto;
}

#content table th,
#content table td {
  border: 1px solid #333;
  padding: .45rem .55rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

video{
    width:80%;
}
