
/***************************************
   ここまで common.css へ移動候補
 ***************************************/

/* items.css 固有スタイル */
/* header */
#header {
    position: relative;
    height: 32px;
    border-bottom: solid 1px var(--fabway-main-color);
    background-color: var(--fabway-base-color);
}
#header .title-block h1.title {
    margin: 4px 0;
    font-size: 1em;
    font-weight: bold;
    color: var(--fabway-main-color);
}
#logo {
    position: absolute;
    top: 8px;
    left: 32px;
    height: 16px;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    z-index: 90;
    background-image:url('/images/logo/fabway.png');
    background-size: contain;
    background-repeat: no-repeat;
}

#auth-header {
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: end;
}

#userinfo-block {
    position: fixed;
    top: 4px;
    right: 72px;
    width: 44px;
    cursor: pointer;
}
#user-info {
    font-size: 24px;
}
/* menu */
.btn-menu {
    position: fixed;
    top: 4px;
    right: 16px;
    display: block; /* display:flexは不要 */
    height: 24px;
    width: 24px;
    z-index: 90;
    cursor: pointer; /* クリックできることを示すカーソルに変更 */
}
.btn-menu span,
.btn-menu span:before,
.btn-menu span:after {
    content: '';
    display: block;
    height: 3px;
    width: 24px;
    border-radius: 3px;
    background-color: var(--fabway-main-color);
    position: absolute;
    left: 0;
    /* transitionを追加してアニメーションを滑らかに */
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

/* 中央の線：上下中央に配置 */
.btn-menu span {
    top: 50%;
    transform: translateY(-50%);
}

/* 上の線：中央の線からの相対位置で指定 */
.btn-menu span:before {
    bottom: 8px; /* 中央の線からの距離 */
}

/* 下の線：中央の線からの相対位置で指定 */
.btn-menu span:after {
    top: 8px; /* 中央の線からの距離 */
}
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #cccccc;
    transition: all 0.5s;
}
.menu-content ul {
    padding: 70px 10px 0;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
#btn-menu-toggle {
    display: none;
}
#btn-menu-toggle:checked ~ .menu-content {
    left: 0;
}
#btn-menu-toggle:checked ~ .btn-menu span {
    background-color: transparent; /* 真ん中の線を透明にする */
}
#btn-menu-toggle:checked ~ .btn-menu span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#btn-menu-toggle:checked ~ .btn-menu span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* content */
#content {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    background-color:#f5f6fce7;
}


#content header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 33px;
    gap: 64px;
    background-color:#e6e8f0e7

}
#content header .page-title {
    font-size: 1em;
    font-weight: bold;
    margin-left: 16px;
}

#action-bar { display:none; }

#content main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}

#content .left {
    flex: 0 0 300px;
}

#content .right {
    flex: 1 1 auto;
}

/* #makers */
#makers {
    overflow-y: scroll;
    background: white;
    padding: 0;
    height: calc(100vh - 66px);
}
#makers .section-title {
    display: none;
    font-weight:bold;
}

.right .inner {
   display: flex;
   flex-direction: row;
   justify-content: space-around;
   align-items: stretch;
   gap: 16px;
   height: calc(5em + 16px);
   padding: var(--spacing-3) var(--spacing-3);
}

a.btn_blue {
    display: block;
    flex: 1 1 50%;
    margin: 8px auto;
    background-color: var(--fabway-main-color);
    border-radius: 8px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
}
a.btn_blue span.bl__text {
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding-left: 30px;
    line-height: 5em;
}
a.btn_blue span.bl__text:before {
    content: '';
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}
a.btn_blue span.bl__text:after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 3px solid #1755aa;
    border-right: 3px solid #1755aa;
  box-sizing: border-box;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 5px;
    bottom: 0;
    margin: auto;
    transition: 0.3s;
}
a.btn_blue:hover {
    background-color: #01b5d0;
}
a.btn_blue:hover span.bl__text:after {
    border-top: 3px solid #01b5d0;
    border-right: 3px solid #01b5d0;
}
@media (max-width: 736px) {
    a.btn_blue {
        max-width: 280px;
        padding: 1.5rem 2.0rem;
    }
    a.btn_blue span.bl__text {
        font-size: 14px;
    }
}

#ibnews {
    flex: 1 0 calc(100vh - 66px - 64px);
    overflow: hidden;
    padding: var(--spacing-3) var(--spacing-3);
}

#makers .section-inner > ul {
    padding: 0;
    margin: 0;
}
.makerBox:first-child {
    border-top: solid 1px #999;
}
.makerBox {
    display:flex;
    flex-direction: row;
    flex-wrap:nowrap;
    align-items:center;
    border-bottom: dotted 1px #999;
    padding-top:2px;
}
.makerBox > a {
    display: block;
    width: 180px;
    text-align: left;
    padding-left: 16px;
    padding-top: 2px;
}
.makerBox img {
    max-height: 36px;
}
#makers .section-title { }

.makerBox .makerBtn {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    /* flex: 1 0 100px; */
    width: 100px;
}
.makerBtn > a {
    display: block;
    width: 50px;
    text-align: center;
}
.makerBtn img {
    margin-top:2px;
    width: 28px;
}
.makerBtn .material-symbols-outlined {
    margin-top: 2px;
    width: 28px;
    height: 28px;
    font-size: 30px;
    color: black;
}

/* #ibnews */
#ibnews { }

#ibnews > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    margin-bottom: 32px;
}

.btn-big {
    font-size: 2em;
    font-weight: bold;
    padding: 16px 32px;
    margin-right: 32px;
    border-radius: 8px;
    background-color: var(--fabway-blue);
    color: white;
}

#ibnews .section-title {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: solid 1px #999;
}
#ibnews .section-title a {
    text-decoration: none;
}
#ibnews .flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2);
}
#ibnews-logo img { width: 100px; }
#ibnews p { font-weight:bold; margin:0; }
#ibnews .cat { 
    font-weight: normal;
    border-bottom: solid 1px #999;
    padding: var(--spacing-1) var(--spacing-1) var(--spacing-0-5) var(--spacing-1);
    background-color: var(--fabway-blue);
    color: white;
}
#ibnews li {
    list-style-type: none;
    padding: var(--spacing-0-5) var(--spacing-1);
    border-bottom: dotted 1px #999;
}
#ibnews li a {
    text-decoration: none;
    color: #333;
}