/* CSS Document */
article{
    padding-bottom: 50px; 
}

#fv{
    margin-bottom: 50px; 
}
#fv h2{
    text-align: left;
    color: #fff;
    padding: 30px 0 30px 20px;
    background: rgba(89, 134, 198, .8);
    font-size: 140%;
    margin-bottom: 50px;
}

#menu{
    margin-bottom: 50px; 
}
#menu ul{
    display: inline-flex;
    gap: 15px;
    bottom: 0;
    right: 0;
    flex-direction: column;
    padding-bottom: 50px;
}
#menu ul li a{
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    background: #4A7EBE;
    border-radius: 5px;
    padding: 15px 50px;
    display: flex;
    align-items: baseline;
    gap: 7px;
    position: relative;
    color: #fff;
}
#menu ul li a::before {
    content: url("../module/img/arrow3.svg");
    width: 7px;
    line-height: 0;
}

#info{
    margin-bottom: 50px; 
}
#info h3 {
    font-size: 140%;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    color: #5986C6;
    align-items: center;
    gap: 10px;
    padding: 0 5px 15px;
    position: relative;
    margin-bottom: 20px;
}
#info h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background: #5986C6;
    border-radius: 3px;
    position: absolute;
    bottom: 0;
    left: 0;
}
#info h4 {
    font-size: 120%;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 2px;
    color: #5986C6;
    margin-bottom: 15px;
    text-indent: -1.1em;
	padding-left: 1.1em;
}

#info dl {
    padding: 0 0 40px;
    display: flex;
    flex-direction: column-reverse;
}
#info dl dt:hover {
    opacity: .8;
}
#info dl dt {
    color: #FF8000;
    font-size: 110%;
    font-weight: 600;
    line-height: 1.4em;
    align-self: flex-end;
    cursor: pointer;
}
#info dl dt::after {
    content: url("img/uparrow.png");
    margin-left: 5px;
    position: relative;
    top: 4px;
}
#info dl dt.active::after{
	content: url("img/downarrow.png");
}
#info dl .acMenu dd {
  display: block;
}

#info ul li{
    margin-bottom: 1%;
    text-indent: -1em;
	padding-left: 1em;
}

#info table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
}
#info table th, 
#info table td {
    border-bottom: 2px solid #c1c7c6;
    padding: 1em;
    vertical-align: top;
}
#info table th {
    border-bottom: 2px solid #5986C6;
    font-weight: bold;
    text-align: center;
    width: 30%;
}
#info .idt3_7{
    text-indent: -3.7em;
    padding-left: 3.7em;  
}

#info #status .flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

#info #status .flex .txt {
    flex: 2;
}

#info #status .flex .img {
    flex: 1; 
    text-align: center;
}

#info #status .flex .img img {
    max-width: 100%;
    height: auto;
}

#info #status .txt table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}
#info #status .txt table th,
#info #status .txt table td {
    border-bottom: 2px solid #c1c7c6;
    padding: 0.8em;
    vertical-align: middle;
    text-align: left;
}
#info #status .txt table th {
    width: 50%;
    background-color: #f4f7fb;
    color: #333;
    text-align: center;
    border-bottom: 2px solid #5986C6;
}
#info #status .txt table td {
    font-weight: bold;
    font-size: 120%;
    text-align: center;
}

#info #structure .img{
    text-align: center;
    margin-top: 30px;
}
#info #structure h5{
    margin-top: 30px;
}
#info #structure ul{
    margin-top: 30px;
}
#info #structure ul li span{
    color: #5986C6;
}

#info #flow .img{
    text-align: center;
    margin-top: 30px;
}
#info #flow ul{
    margin-top: 30px;
}
#info #flow ul li span{
    color: #5986C6;
}

#info #user table th{
    background-color: #f4f7fb;
}
#info #user table td{
    text-align: center;
    align-content: center;
}
#info #user p a{
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    background: #4A7EBE;
    border-radius: 5px;
    padding: 15px 50px;
    display: flex;
    align-items: baseline;
    vertical-align: baseline;
    gap: 7px;
    position: relative;
    color: #fff;
    width: fit-content;
    margin: 10px 0;
}
#info #user p a::before {
    content: url("../module/img/arrow3.svg");
    width: 7px;
    line-height: 0;
}

@media screen and (max-width: 480px) {
    #fv h2 {
        font-size: 120%;
    }
    #menu ul {
        display: grid;
    }
    
    #info table,
    #info tbody,
    #info tr,
    #info th,
    #info td {
        display: block;
        width: 100%;
    }
    #info table{
        margin: 30px 0 30px 0;
    }
    #info table tr {
        margin-bottom: 20px;
        border: 2px solid #5986C6;
        border-radius: 8px;
        overflow: hidden;
        background: #fff;
    }
    #info table th {
        background-color: #5986C6;
        color: #fff;
        padding: 0.8em 1em;
        border: none;
        width: auto;
        text-align: center;
    }
    #info table td {
        border: none;
        border-top: 1px solid #c1c7c6;
        padding: 1em;
    }
    #info table td p{
        width: 90%;
    }
    
    #info #status .flex {
        flex-direction: column-reverse;
        gap: 30px;
    }
    #info #status .flex .img {
        width: 90%;
        margin: 0 auto;
    }
    #info #status .txt table {
        font-size: 90%;
    }
    #info #status .txt table th {
        width: 100%;
    }
    #info #status .txt table td {
        text-align: center;
        
    }
    
    #info #user table th {
        background-color: #5986C6;
    }
    #info #user table td {
        width: auto;
    }

    #info #user .rate {
      border-collapse: separate;
      border-spacing: 0;
      margin: 20px auto;
      width: 100%;
      font-size: 95%;
    }
    #info #user .rate thead {
      display: none; 
    }
    #info #user .rate tbody {
      display: block;
    }
    #info #user .rate tbody tr {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border: 2px solid #5986C6;
      border-radius: 8px;
      margin-bottom: 10px;
      overflow: hidden;
    }
    #info #user .rate tbody tr th {
      background-color: #5986C6;
      color: #fff;
      font-weight: bold;
      padding: 0.8em;
      text-align: center;
      grid-column: 1 / -1; 
    }
    #info #user .rate tbody tr td {
      border: none;
      padding: 0.8em;
      text-align: center;
    }
    #info #user .rate tbody tr td::before {
      content: attr(data-label);
      display: block;
      font-weight: bold;
      color: #5986C6;
      margin-bottom: 0.3em;
    }
}
