/* --- 基本設定 --- */
body {
    margin: 0;
    padding: 0;
}

body, p, table, td, h1, h2, h3, h4, h5, h6 {
    font: unset!important;
    line-height: 2.2!important;
    font-family: 'Noto Sans JP', sans-serif !important;
    font-weight: 200 !important;
    text-align: justify;
    color: #1A1A1A!important;
}

tr{
    vertical-align: top;
}

p,div.j-text ol li, ul li, table, td{
    font-size: 0.8rem!important;
}

h1{
    font-weight: 400 !important;    
    font-size: 1.4rem !important;
    margin: 1.2rem 0 !important;
}
h2{
    font-weight: 300 !important; 
    font-size: 1.2rem!important;
    margin: 1.1rem 0 !important;
}
h3{
    font-weight: 200 !important; 
    font-size: 1rem!important;
    margin: 1rem 0 0!important;
}


/* --- コンテンツエリア --- */
#main-content {
    width: 100%;
    padding: 20px 0;
}

#content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    line-height: 2.0;
}

#footer {
    padding: 60px 40px 20px;
    font-size: 11px;
    color: #999;
}

/* --- ロゴ --- */
#logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1A1A1A;
    margin: 2rem;
}

#logo a span{
    color: #CF0027;
}

.site-logo {
    height: 1.7rem;
    width: auto;
    margin-right: 1rem;
    display: block;
}

#logo var {
    font-style: normal;
    font-size: 1.4rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
    font-weight: 300!important;
}

/* --- ハンバーガーボタン --- */
#nav-toggle {
    position: fixed;
    top: 2rem;
    right: 40px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 10000;
}


.bar {
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background: #333;
    transition: all .4s ease;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}
.bar:nth-child(1) { top: 0; }
.bar:nth-child(2) { top: 11px; }
.bar:nth-child(3) { bottom: 0; }

#nav-toggle.open .bar:nth-child(1) {
transform: translateY(12px) rotate(-45deg);
background: #333 !important;
 }
#nav-toggle.open .bar:nth-child(2) {
opacity: 0;
background: #333 !important;
}
#nav-toggle.open .bar:nth-child(3) {
transform: translateY(-11px) rotate(45deg);
background: #333 !important;
}

#navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: auto !important;
}

#navigation ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

#navigation ul li a {
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 2.3rem;
    color: #1a1a1a;
}

/* --- インスタロゴ --- */

#fixed-sns {
    position: fixed !important;
    top: 2.5rem !important;
    right: 39px !important;
    width: 32px;
}

#fixed-sns a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='0.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#fixed-sns a:hover {
    opacity: 0.5;
    text-decoration: none !important;
}

#page-2206184621 #fixed-sns a {
    filter: brightness(0) invert(1) !important;
}

/* --- スライダー前ロゴ --- */

/* 1. デフォルト（全ページ）では非表示にする */
#opening-overlay,.site-credit {
    display: none;
}

/* 2. トップページ（ID: page-2206184621）の時だけ表示する */
#page-2206184621 #opening-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 1;
    transition: opacity 1.5s ease-in-out !important;
}
#page-2206184621 .site-credit{
    display: block;
    position: fixed;
    bottom: 1.3rem;
    left: 2rem;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    pointer-events: none;
    color: #ffffff !important;
}

#page-2206184621 .site-credit span{
    color: #CF0027 !important;
}

#opening-overlay img {
    width: 300px;
    max-width: 80%;
    height: auto;
}

.fadeout {
    opacity: 0 !important;
}


/* --- スライダー --- */
.bx-wrapper ul {
    transform: none !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bx-wrapper ul li {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transition: opacity 1.5s ease-in-out !important;
    z-index: 0;
    list-style: none !important;
}

.bx-wrapper ul li[aria-hidden="false"] {
    opacity: 1 !important;
    z-index: 1;
}

.bx-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body:not(#page-2206184621) .bx-wrapper,
body:not(#page-2206184621) .bx-viewport {
    aspect-ratio: 3 / 2 !important;
    min-height: 300px !important;
    border: none !important;
    background: transparent !important;
}




/* --- 新トップページ --- */
#page-2206184621 .site-logo {
    filter: brightness(0) invert(1) !important;
}

#page-2206184621 #header{
position: absolute;
    z-index: 10;
}


#page-2206184621 #main-content{
padding: 0;
}

#page-2206184621 #logo a{
    color: #fff !important;
}

#page-2206184621 #footer{
display:none;
}

#page-2206184621 .bar{
    background: #fff;
}

#page-2206184621 .cc-m-gallery-container.cc-m-gallery-slider {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

#page-2206184621 .cc-m-gallery-slider img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

#page-2206184621 .cc-content-parent {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

#page-2206184621 .bx-wrapper .bx-controls-direction,
#page-2206184621 .bx-wrapper .bx-controls-auto,
#page-2206184621 .bx-wrapper .bx-pager {
    display: none !important;
}

#page-2206184621 .bx-wrapper .bx-viewport {
    height: 100vh !important;
}

#page-2206184621 .bx-wrapper ul {
    transform: translate3d(0, 0, 0) !important;
    width: 100% !important;
    position: relative !important;
}

#page-2206184621 .bx-wrapper ul li {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transition: opacity 1.5s ease-in-out !important;
    z-index: 0 !important;
}

#page-2206184621 .bx-wrapper ul li[aria-hidden="false"] {
    opacity: 1 !important;
    z-index: 1 !important;
}

#page-2206184621, 
#page-2206184621 .cc-content-parent,
#page-2206184621 .cc-m-container,
#page-2206184621 #contentarea {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

#page-2206184621 .bx-wrapper,
#page-2206184621 .bx-viewport {
    height: 100vh !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    background: #000 !important;
}

#page-2206184621 .bx-wrapper ul,
#page-2206184621 .bx-wrapper ul li,
#page-2206184621 .bx-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#page-2206184621 .n {
    padding: 0px !important;
}

#page-2206184621 #nav-toggle.open ~ #logo a,
#page-2206184621 #header:has(#nav-toggle.open) #logo a {
    display: none !important;
}


/* --- ブログ --- */
#page-2219009621 h2{
    margin: 0!important;
    font-size: 1rem !important;
}


/* --- Worksページ--- */
#page-2206184721 [id^="cc-matrix-"] {
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: 4px !important;
    justify-content: flex-start;
}

#page-2206184721 [id^="cc-matrix-"] > div:not(.j-textWithImage) {
    width: 100% !important;
    flex-basis: 100% !important;
}

#page-2206184721 .j-textWithImage {
    width: calc((100% - (20px * 3)) / 4) !important;
    margin: 0.1rem 0 0.3rem 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
}

#page-2206184721 .cc-imagewrapper img {
    width: 100% !important;
    aspect-ratio: 3 / 2 !important; 
    object-fit: cover !important; 
    height: auto !important;
}

#page-2206184721 .j-textWithImage .cc-text {
    width: 100% !important;
    padding: 0 !important;
}

#page-2206184721 .j-textWithImage .cc-m-image-align-1{
    margin: 0 0 0 0;
}

#page-2206184721 .j-textWithImage .cc-imagewrapper img,
#page-2206184721 .j-textWithImage .cc-text {
    transition: opacity 0.3s ease-in-out;
}


#page-2206184721 .j-textWithImage:hover .cc-imagewrapper img,
#page-2206184721 .j-textWithImage:hover .cc-text {
    opacity: 0.5;
}



/* --- コピーライト --- */
div#contentfooter div.leftrow{
    text-align: right !important;
    width: 100% !important;
}



/* --- 「blog」ページ --- */
.cc-m-hgrid-column .n{
    padding: 0px!important;
    font-size: 0.8rem;
}



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

.site-logo {
    height: 1.4rem;
    margin-right: 12px;
   }

p{
  line-height: 1.8 !important;
   }
h1{
    font-size: 1.2rem !important;
    margin: 1rem 0 0 !important;
}
h2{
    font-size: 1.1rem !important;
    margin: 1rem 0 0 !important;
}
h3{
    font-size: 0.9rem !important;
}
#content {
    padding: 0 12px;
}
#footer {
        padding: 0 12px 12px;
   }

ol,ul {
    padding-inline-start: 18px!important;
}

.cc-m-col-layout, 
.cc-m-hgrid {
    display: block !important;
    }

.cc-m-col-layout .cc-m-column-col,
.cc-m-hgrid-column {
        width: 100% !important;
        float: none !important;
        display: block !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 30px !important;
    }

.cc-m-col-layout .cc-m-column-col:last-child {
        margin-bottom: 0 !important;
    }
#nav-toggle{
    top: 17px;
    right: 17px;
    width: 24px;
    height: 24px;
    }

#logo a{
    margin: 17px;
    }
#logo var {
    font-size: 1.2rem;
    }
#page-2206184621 .site-credit {
    left: 17px;
    bottom: 12px
    }

#page-2206184721 .j-textWithImage {
    width: calc((100% - 26px) / 2) !important;
    margin: 0 0 1.5rem 0 !important;
    }
#fixed-sns {
    right: 16px !important;
    width: 26px !important;
    top: 1.1rem !important;
    }
}