@charset "utf-8";

/* ベース */
:root{
    --accent: #0b79d0;
    --muted: #666;
    --bg: #fff;
    --surface: #f7f9fb;
    --radius: 8px;
    font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
.tar {
    text-align: right;
}
.mt16{margin-top: 16px;}
.mt40 {margin-top: 40px;}
.mb0 {margin-bottom: 0 !important;}
figure img {
    width: 100%;
}
.td_underline {
    color: #1976d2;
    text-decoration: underline;
}

/*-----   archive   -----*/
.sec_ttl,
.muted {
    color: var(--muted);
}
.tabs {
    width: 86%;
    margin: 0 auto;
}
hr {
    color: #ccc;
}
.tabs input[type="radio"]{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tab-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 80px;
    margin: 16px 0;
}

.tab-list label{
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    transition: all 180ms ease;
    user-select: none;
    border: 1px solid transparent;
}
.tab-list label:focus{
    outline: none;
    box-shadow: 0 0 0 3px rgba(11,121,208,0.12);
    border-color: rgba(11,121,208,0.18);
}
#tab-all:checked ~ .tab-list label[for="tab-all"],
#tab-news:checked ~ .tab-list label[for="tab-news"],
#tab-event:checked ~ .tab-list label[for="tab-event"],
#tab-blog:checked ~ .tab-list label[for="tab-blog"],
#tab-column:checked ~ .tab-list label[for="tab-column"]{
    background: var(--bg);
    color: var(--accent);
    border-color: rgba(11,121,208,0.12);
    box-shadow: 0 4px 14px rgba(11,121,208,0.06);
}
.panels{
    position: relative;
    max-width: 860px;
    width: 100%;
    background: var(--bg);
    border-radius: 10px;
    padding: 18px;
    min-height: 120px;
    margin: 80px auto;
}
.panel{
    display: none;
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
#tab-all:checked ~ .panels #panel-all,
#tab-news:checked ~ .panels #panel-news,
#tab-event:checked ~ .panels #panel-event,
#tab-blog:checked ~ .panels #panel-blog,
#tab-column:checked ~ .panels #panel-column{
    display: block;
}
@media (max-width:520px){
    .tab-list label {
        padding:8px 10px;
        font-size:14px
    }
}


/*-----   single   -----*/
/*main content*/
.subpage .wrapper {
    display: flex;
    width: 100%;
}
.main_content {
    width: 70%;
    padding: 0 4% 160px;
}
iframe {
    width: 30%;
}
.main_content .robot {
    display: flex;
    flex-direction: column;
}
.main_content figure {
    border: 1px solid #ccc;
}
.news_cat {
    margin-left: 0;
}
.text_area figure {
    margin: 16px 0;
}
.text_area p {
    margin-bottom: 16px;
}
.text_area dl {
    display: flex;
    margin-bottom: 24px;
}
.text_area dt {
    margin-right: 8px;
}
.text_area ul {
    margin-bottom: 32px;
}
.emphasis {
    padding: 32px 0;
}
.sam_logo {
    width: 240px;
}
dl.flexBox {
    display: flex;
    flex-direction: column;
}
dl.flexBox dd {
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .subpage .wrapper {
        flex-direction: column;
        width: 100%;
    }
    .main_content {
        width: 100%;
    }
    iframe {
        width: 100%;
        height: 100vh;
        padding: 0 4%;
    }
}

/*sidebar*/
.sidebar .s_header {
    display: inline-block;
    line-height: 1.4;
    border-left: 3px solid var(--muted);
    border-right: 3px solid var(--muted);
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}
.side_wrapper {
    padding: 24px 4%;
}
.blog_item {
    padding-top: 8px;
    padding-bottom: 2px;
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
}
.blog_item:not(:first-of-type) {
    border-top: none;
}