@charset "utf-8";

/* CSS Document */
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/* リセット
 ------------------------------------------*/

header,
div,
span,
applet,
object,
iframe,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0 auto;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

body#sub-window {
    background-color: #FFF;
}

a {
    color: #333333;
    text-decoration: none;
    outline: none;
    border: none;
}

a:hover {
    color: #333333;
    opacity: 0.7;
}

a img,
img {
    border: 0;
}

blockquote,
dd,
div,
dl,
dt,
p,
pre,
span,
td,
th {
    margin: 0;
    padding: 0;
}

abbr,
acronym {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
th,
strong,
var {
    font-style: normal;
    font-weight: normal;
}

caption,
th {
    text-align: left;
}

code,
kbd,
pre,
samp,
tt {
    font-family: monospace;
    line-height: 100%;
}

*+html code,
kbd,
pre,
samp,
tt {
    font-size: 108%;
}

p {
    word-break: break-all;
}

q:before,
q:after {
    content: '';
}

.w-33 {
    width: 33%;
}

section{
    padding: 2rem;
    max-width: 80%;
    margin: 0 auto;
}

@media only screen and (max-width: 768px){
    section{
        max-width: 100%;
        padding: 1rem;
    }
}

#top_margin{
    margin-top: 45px;
}

@media only screen and (max-width: 768px){
    #top_margin{
        margin-top: 60px;
    }
}



@media only screen and (min-width: 768px){
    .w-md-25{
        width: 25%;
    }

    .justify-content-md-center{
        justify-content: center;
    }

    .justify-content-md-left{
        justify-content: left!important;
    }
}
/* ぱんくず
 ------------------------------------------*/
 .breadcrumb{
     border-radius: 0;
     margin-bottom: 0;
     height: 50px;
 }

 @media only screen and (max-width: 768px){
    .breadcrumb{
        display: none;
    }
}
/* 見出し
 ------------------------------------------*/
h3 {
    border-bottom: solid 3px rgb(230, 230, 230);
    position: relative;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 5px;
    color: #1f1235;
}

h3:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #9561e2;
    bottom: -3px;
    width: 15%;
}


/* input
 ------------------------------------------*/
input[type=text],
input[type=password],
input[type=number],
select,
textarea {
    border: 1px solid lightgray;
    width: 100%;
    border-radius: 1rem;
    padding: 5px 10px;
    display: block;
}

input[type=date] {
    border: 1px solid lightgray;
    border-radius: 1rem;
    padding: 5px 10px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* table
 ------------------------------------------*/

table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 100%;
    width: 100%;
}


table td,
table th {
    padding: 10px 5px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

table th {
    padding: 15px 5px;
    padding-bottom: 0;
    min-width: 150px;
}

@media only screen and (max-width: 768px){
    th, td {
      display: block;
    }
    table.table_fixed th, table.table_fixed td {
      display: table-cell;
    }
}

/* ボタン
 ------------------------------------------*/
.btn_wrapper {
    margin-top: 1.5rem;
    text-align: center;
}

.btn_wrapper * {
    margin: 0 30px;
}

.btn_wrapper .btn {
    min-width: 150px;
}

.btn.small {
    font-size: 0.8rem;
    padding: 0.25rem 1rem;
}

/* モーダル
 ------------------------------------------*/
#modal {
    display: none;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    cursor: pointer;
}

#modal #modal_content {
    margin: 80px auto;
    width: 70%;
    height: auto;
    padding: 30px;
    background-color: #FFF;
    cursor: default;
    border-radius: 30px;
    min-height: 300px;
}


/* ヘッダー
 ------------------------------------------*/
#header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 999;
    min-height: 59px;
}

#header a:hover {
    text-decoration: none;
    opacity: 0.6;
}

#new_message_num{
    position: absolute;
    top: -25px;
    right: -10px;
    border: 2px solid white;
    background-color: red;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: white;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* コンテンツ
 ------------------------------------------*/
#content {
    min-height: 100vh;
    margin: 0 auto;
}

/* フッター
 ------------------------------------------*/
#footer {
    background-color: black;
}

#footer * {
    color: white;
    margin: 0;
    font-size: 12px;
}

#footer a:hover {
    cursor: pointer;
}

/* レーティング
 ------------------------------------------*/
 .rating {
    line-height: 1;
    color: gold;
    font-size: 24px;
}

.rating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating label {
    display: inline-block;
}

.rating input:focus+label {
    outline: 1px solid currentColor;
}

.rating input:checked+label~label {
    color: grey;
}

/* 部品
 ------------------------------------------*/
.card_title {
    display: inline-block;
    border: 2px solid lightgray;
    padding: 20px 30px;
    box-shadow: 6px 6px #9561e2;
}

a.card {
    border: none;
}

a.card:hover {
    text-decoration: none;
}

a.card h4 {
    padding-bottom: 5px;
    border-bottom: 2px solid dimgray;
}

.error_text {
    color: red;
}

strong {
    font-weight: normal !important;
}

.upload_img_file {
    display: none;
}

.nav-link.active {
    background-color: #FFF !important;
}

.nav_content_wrapper {
    border: 1px solid #dee2e6;
    border-top: none;
}

.nav_content {
    display: none;
}

.nav_content.active {
    display: block;
}

.nav-link {
    cursor: pointer;
}


/* ハンバーガーメニュー
 ------------------------------------------*/
 .btn-trigger {
    position: absolute;
    top: 13px;
    left:10px;
    width: 40px;
    height: 34px;
    cursor: pointer;
}

.btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: dimgray;
    border-radius: 4px;
}

.btn-trigger,
.btn-trigger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
}

.btn-trigger span:nth-of-type(1) {
    top: 0;
}

.btn-trigger span:nth-of-type(2) {
    top: 15px;
}

.btn-trigger span:nth-of-type(3) {
    bottom: 0;
}

#hamburger_btn.active span:nth-of-type(1) {
    -webkit-transform: translateY(15px) rotate(-45deg);
    transform: translateY(15px) rotate(-45deg);
}

#hamburger_btn.active span:nth-of-type(2) {
    opacity: 0;
}

#hamburger_btn.active span:nth-of-type(3) {
    -webkit-transform: translateY(-15px) rotate(45deg);
    transform: translateY(-15px) rotate(45deg);
}

#hamburger{
    opacity: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    transition: 0.5s;
    display: none;
}

#hamburger.active{
    opacity: 1;
    display: block;
}

#hamburger p{
    margin-bottom: 10px;
}
#hamburger p a{
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#hamburger p a:hover{
    opacity: 0.7;
    text-decoration: white;
}

/* ボタン */
.btn.btn-warning{
    color: #FFF;
}