@charset "utf-8";

.tab-wrap {
    width: 100%;
    margin-top: 30px;
    justify-content: center;
}

input[type="radio"] {
    display: none;
}
.tab-area {
    font-size: 0;
    margin: 0 10px;
}
/*　タブのメニュー部分　*/

.tab-area label {
    width: 180px;
    margin: 0 5px;
    display: inline-block;
    padding: 12px 0;
    color: black;
    background: lightpink;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: ease 0.2s opacity;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    vertical-align: bottom;
    transition: ease 0.2s;
    margin: 10px 5px 0;
}
.tab-area label:hover {opacity: 0.5;}

/*　写真部分　*/
.panel-area {
    background: rgb(255, 255, 255);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top: 8px solid rgb(255, 86, 86);
}
.tab-panel {
    width: 100%;
    padding: 10px 0;
    display: none;
}
.tab-panel p {
    font-size: 16px;
    letter-spacing: 1px;
    text-align: left;
    line-height: 1.5em;
    margin: 20px 0;
}
.tab-panel img {
    width: 100%;
}

h1 {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.saigai-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    position: relative;
    padding: 0.5em 0.5em;
    background: -webkit-linear-gradient(to right, rgb(255,175,94), transparent);
    background: linear-gradient(to right, rgb(255, 175, 94), transparent);
    color: black;
    margin: 20px auto 10px;
    width: 50%;
    text-shadow: 1px 1px white;
}
.saigai-setumei {
    margin-top: 0;
}

#tab1:checked ~ .tab-area .tab1-label {
    background: rgb(255, 49, 49);
    color: #fff;
}
#tab1:checked ~ .panel-area #panel1 {
    display: block;
}
#tab2:checked ~ .tab-area .tab2-label {
    background: rgb(255, 49, 49);
    color: #fff;
}
#tab2:checked ~ .panel-area #panel2 {
    display: block;
}
#tab3:checked ~ .tab-area .tab3-label {
    background: rgb(255, 49, 49);
    color: #fff;
}
#tab3:checked ~ .panel-area #panel3 {
    display: block;
}


table {
    width: 100%;
    height: 50px;
    margin-top: 5px;
    margin-bottom: 30px;
    text-align: center;
    background: lightgoldenrodyellow;
    table-layout: fixed;
    font-size: 0.8rem;
}

th {
    text-align: center;
    padding: 5px 0;
}

td {
    vertical-align: middle;
    padding: 5px 0;
}



/* 写真の大きさを、箱の中で100%にする。 不要であれば設定の必要なし */

/* .photo-box img {
    width: 100%;
} */





