@charset "UTF-8";
/*======================================================= 
会社情報用スタイル
=======================================================*/
/* ナビ */
.nav-list{
    border-bottom: 1px solid #000;
    margin-bottom: 50px;
}
.nav-list ul{
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
}
.nav-list ul li a{
    position: relative;
    display: block;
    font-weight: bold;
    padding: 15px 30px;
}
.nav-list ul li a::after{
    font-family: "Font Awesome 5 Free";
    content: '\f107';
    display: block;
    position: absolute;
    right: 0;
    top: 31%;
    color: #DF0716;
}
h2.main-tit{
    font-size: 25px;
}
.top-tit{
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}
.top-tit span{
    display: block;
}
/* 代表メッセージ */
.message-block{
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
}
.president-name span{
    display: block;
    font-size: 1.2em;
    font-weight: bold;
}
.message-block h3{
    font-size: 20px;
}
.message-block h3 span{
    display: block;
}
/* 会社概要 */
table th{
    background-color: #f8f8f8!important;
    width: 200px;
    text-align: left;
}
table td{
    background-color: #fff;
}
table:not(.has-border-color) :where(th, td) {
    border: 1px solid #000!important;
    padding: 15px;
}
/* 沿革 */
.history .bg-gray{
    padding: 30px;
}
.history-block{
    background-color: #fff;
    padding: 30px 15px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline>li {
  margin-bottom: 60px;
}
.timeline>li.timeline-item {
  overflow: hidden;
  margin: 0;
  position: relative;
}
.timeline-item:before {
  content: '';
  width: 12px;
  height: 12px;
  background: #2f3681;
  position: absolute;
  left: 105px;
  top: 24px;
  border-radius: 100%;
}
.timeline-item-label {
  width: 110px;
  float: left;
  text-align: right;
  padding-top: 1em;
  padding-right: 1em;
}
.timeline-item-content {
  width: calc(100% - 110px);
  float: left;
  padding: 1em 1.4em;
  border-left: 3px #ccd6df solid;
}
.timeline-item-memo{
    background-color: #ffffee;
    padding: 20px;
    margin: 15px 0;
}
.timeline-item-memo img{
    max-width: 300px;
    width: 100%;
}

/* 折り畳み部分 */
:root{
  --history-body: 1000px; /* 本文表示上限 */
  --history-fade: 140px;  /* グラデ高さ */
}
.history-body{
  position: relative;
}
.js-history-collapsible.is-collapsed .history-body{
  max-height: var(--history-body);
  overflow: hidden;
}
.js-history-collapsible.is-collapsed .history-body::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height: var(--history-fade);
  pointer-events:none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,1)
  );
}
.history-more{
  display:block;
  max-width:300px;
  width:100%;
  border:1px solid #ccc;
  background:#fff;
  cursor:pointer;
  padding:15px;
  margin: 30px auto;
}

/* 企業理念 */
.under-tit{
    position: relative;
    text-align: center;
    padding-bottom: 15px;
}
.under-tit::after{
    position: absolute;
    content: "";
    width: 2.5em;
    height: 3px;
    background-color: #DF0716;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.philosophy-item{
    display: grid;
    grid-template-columns: 150px 1fr;
    background-color: #f8f8f8;
    padding: 20px 0;
    margin-bottom: 15px;
}
.philosophy-tx{
    font-size: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #DF0716;
    padding: 0 15px;
}
.philosophy-tx2{
    padding: 0 15px;
}
/* 経営ビジョン */
.vision-item{
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 8px #adadad;
    border-radius: 5px;
    text-align: center;
    padding: 30px 15px;
    margin-bottom: 50px;
}
.vision-num{
    position: absolute;
    top: -1em;
    left: 1em;
    font-size: 35px;
    font-weight: bold;
}
.vision-tx{
    font-size: 30px;
    font-weight: bold;
}
/* 古物 */
.kobutsu h2{
    background-color: #333;
    color: #fff;
    font-size: 25px;
    padding: 10px 20px;
}
.kobutsu .bg-gray{
    padding: 15px;
}


/*1000px以下*/
@media screen and (max-width: 1000px){
    .nav-list ul{
        flex-wrap: wrap;
        gap: 0 10px;
    }
    .massage-block{
        gap: 15px;
    }
    .message-block h3{
        font-size: 18px;
    }
}

/*750px以下*/
@media screen and (max-width: 750px){
    .nav-list ul li{
        width: calc(100% / 4);
    }
    .nav-list ul li a{
        white-space: nowrap;
        padding: 15px 20px;
    }
    .nav-list ul li:last-child a::after{
        right: -20px;
    }
    .top-tit{
        font-size: 16px;
    }
    /* 代表メッセージ */
    .message-block{
        grid-template-columns: 1fr;
    }
    .message-block img{
        display: block;
        max-width: 350px;
        width: 100%;
        margin: auto;
    }
    /* 会社概要 */
    table:not(.has-border-color) :where(th, td) {
        padding: 10px;
    }
    /* 沿革 */
    .history .bg-gray{
        padding: 15px;
    }
    .timeline>li.timeline-item{
        overflow: unset;
        border-left: 3px #ccd6df solid;
        margin-left: 10px;
    }
    .timeline-item:before{
        left: -7px;
        top: 20px;
    }
    .timeline-item-label,
    .timeline-item-content{
        float: none;
        width: 100%;
        text-align: left;
        border: none;
        padding-left: 1.4em;
        padding-right: 0;
    } 
    /* 企業理念 */
    .philosophy-item{
        display: block;
        padding: 20px;
    }
    .philosophy-tx{
        border-right: none;
        border-bottom: 1px solid #DF0716;
        padding: 0 0 10px 0;
        margin-bottom: 10px;
    }
    .philosophy-tx2{
        padding: 0;
    }
    /* 経営ビジョン */
    .vision-item{
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    .vision-num{
        font-size: 25px;
    }
    .vision-tx{
        font-size: 18px;
    }
    /* 古物 */
    .kobutsu h2{
        font-size: 18px;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
    .top-tit{
        font-size: 13px;
        margin-bottom: 30px;
    }
    h2.main-tit{
        font-size: 20px;
    }
    .nav-list ul li{
        width: calc(100% / 3);
    }
    table th{
        width: 130px;
    }
    .message-block h3{
        font-size: 14px;
    }
    /* 沿革 */

    /* 経営理念 */
    .philosophy h3{
        font-size: 15px;
    }
    /* 経営ビジョン */
    .vision-tx{
        font-size: 15px;
    }

}