@charset "UTF-8";

/* 全体 */
html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* font-size 1em = 10px on default browser settings */
}

html, body, #wrapper {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    overflow-y: scroll;
}

em{
    font-style:normal;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance:textfield;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

label{
    cursor: pointer;
}

#wrapper {
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
}

#header {
    margin: 0 auto;
    background-color: #fff;
    width: 100%;
    z-index: 3;
}
header {
    margin: 0 auto;
    justify-content: space-between;
    width: 100%;
}
.logo {
    padding: 16px 0 9px 15px;
}
.logo img {
    width: 74px;
    height: 20px;
    display: inline;
}
#container {
    padding-top: 65px;
    margin: 0 auto 30px;
    list-style-type: none;
    width: 80%;
    max-width: 1200px;
    font-size: clamp(0.9375rem, 0.7620614035087719rem + 0.8771929824561403vw, 1.5625rem);
}

fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

/* ヘッダー */
#title {
    background-color: #00909f;
    padding-top: 5rem;
    padding-bottom: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
    width: 100%;
}
#title p:first-child {
    font-size: 2.5rem;
    padding-bottom: 2rem;
    font-weight: bold;
}

.h1 {
    margin-bottom: 10px;
}
.step {
    max-width: fit-content;
    padding: 0 2rem;
    font-size: 2.5rem;
    border: 1px solid #ccc;
    border-radius: 9999px;
    color: #ccc;
    margin-bottom: 10px;
}
section {
    display: flex;
}
#item4 {
    margin-top: 30px;
}
.option_h2 {
    width: 300px;
}
.h2 {
    min-width: 300px;
    height: fit-content;
    margin-bottom: 10px;
    font-size: 2.5rem;
    color: #00909f;
    border-bottom: #ccc 1px solid;
}
.select_img {
    padding: 10px 60px;
}
#category_select,
#item_select,
#item_select2,
#item_select3,
#item_select4 {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    margin: 0 auto 30px;
    width: min(90%, 1000px);
    gap:20px 30px;
}

.option_detail_link {
    display: flex;
    color:#00909f;
    font-size: 1.3rem;
    cursor: pointer;
}
.option_detail_link a {
    color: #00909f;
    text-decoration: none;
}
.option_detail_link img {
    width: 30px;
    margin-left: 10px;
    margin-top: 8px;
}

/* 結果 */
#result2 {
    border-top: #eee 2px solid;
    margin-bottom: 40px;
    margin-top: 130px;
    line-height: 1.2;
}

#result2_p {
    margin: 30px 0;
    color: #333333;
    font-weight: bold;
}
#result_ex {
    width: 100%;
}
#result_ex_p {
    width: fit-content;
}

#result_ex_content {
    display: flex;
    margin-bottom: 50px;
}

#result_ex .image {
    /* flex-basis: 50%; */
    /* height: 472.3px; */
    width: 600px;
    border: #ccc 1px solid;
}
video {
    border: none;
    outline: none;
    &--filter {
        filter: drop-shadow(0px 0px #000);
    }
}
#animation_button {
    color: #333333;
    font-weight: bold;
    margin-left: 50px;
}
#code_operation {
    margin-top: 15%;
    color: #00909f;
    display: flex;
}
#baton_operation {
    margin-top: 7%;
    color: #00909f;
    display: flex;
}
#code_operation p, #baton_operation p {
    margin-top: 10px;
    margin-right: 40px;
    font-size: 1.5rem;
}
#result_note {
    margin-top: 8%;
    color: #00909f;
    font-size: 1.3rem;
}
#result_ex table {
    border-collapse: collapse;
    font-size: 1.3rem;
}
#result_ex th, #result_ex td {
    padding: 5px 10px;
}
.return {
    margin-top: 30px;
}
#result_ex button {
    max-width: fit-content;
    padding: 1rem 4rem;
    border: 1px solid #ffffff;
    box-shadow: 0 0 5px #bbbbbb;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #00909f;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}
#result_ex input + label {
    max-width: 147px;
    border: 1px solid #ffffff;
    box-shadow: 0 0 5px #bbbbbb;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #00909f;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}
#result_ex input:checked + label {
    background-color: #00909f;
    color: #ffffff;
    text-shadow: 0 0 1px rgba(0, 0, 0, .7);
    box-shadow: 0 0 5px #00909f;
}
#left_right_baton {
    display: flex;
    justify-content: space-between;
}


/* ラジオボタン(共通設定) */
.radio_label {
    font-weight: bold;
    width:clamp(380px, 20vw, 480px);
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    background-color: #fff;
    color: #00909f;
    box-shadow: 0 0 5px #bbbbbb;
    transition: all .2s;
    text-align: center;
}
.radio_input {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
}
.radio_input:checked + .radio_label {
    background-color: #00909f;
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, .7);
    box-shadow: 0 0 5px #00909f;
}
.radio_input:focus + .radio_label {
    outline-color: #00909f;
    outline-style: auto;
    outline-width: 5px;
}

/* ページ内リンク */
.footer_nav {
    position: fixed;
    bottom: 0;
    z-index: 100;
    background-color: #ffffff;
    font-size: 20px;
    width: 100%;
    text-align: center;
    border-top: 7px solid #00909f;
}
.footer_nav li p {
    background-color: #00909f;
    color: #ffffff;
    display: inline-block;
    padding: 10px 15px 15px 15px;
    margin-right: 50px;
    font-size: 13px;
    font-weight: bold;
}
.footer_nav li {
    display: inline-block;
    list-style: none;
    color: #888888;
    cursor: pointer;
    margin-right: 20px;
}
.footer_nav a.selected {
    color: #00909f;
    border-bottom: 3px solid #00909f;
}
.nav_arrow {
    font-size: 10px;
    vertical-align: middle;
}
.br_sp {
    display: none;
}

@media only screen and (max-height:770px) {
    #category {
        padding-top: 10px;
    }
}
@media only screen and (max-height:620px) {
    #category {
        padding-top: 0;
    }
    #container {
        padding-top: 0;
    }
}
@media only screen and (max-width:1379px) {
    #result_ex_content {
        flex-direction: column;
    }
    #animation_button {
        margin-bottom: 2rem;
    }
    #animation_button p {
        margin-top: 1rem;
    }
    #code_operation {
        margin-top: 5%;
    }
    #baton_operation {
        margin-top: 3%;
    }
    #result_note {
        margin-top: 2%;
    }
}
@media only screen and (max-width:1372px) {
    .footer_nav ul li:first-child{
        display: none;
    }
    .footer_nav ul li {
        padding: 13px 0 20px 0;
    }
}
/* スマートフォン */
@media only screen and (max-width: 820px) {
    #item_select p {
        margin: 0;
    }
    #result2 > div > div {
        margin-top: 0;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
    .step {
        font-size: 2rem;
    }
    section {
        flex-direction: column;
    }
    .h1 {
        margin-top: 22rem;
    }
    .h2 {
        width: 80vw;
    }
    .logo {
        position: fixed;
        top: 0;
        z-index: 100;
        width: 100%;
        background-color: #ffffff;
    }
    #title {
        padding: 1.5rem;
        position: fixed;
        top: 52px;
        z-index: 100;
    }
    #title p:first-child {
        padding: .5rem;
        font-size: 1.7rem;
    }
    #title p:nth-child(2) {
        font-size: 1.3rem;
    }
    header p img{
        width: 100%;
    }
    .container_box01 {
        padding: 0 40px;
    }

    #category{
        margin: 0 auto 10%;
        padding-bottom: 0;
    }
    #category div > div{
        margin:0 0 10% 0;
    }
    #result2 > div > div {
        padding: 5px;
        width: fit-content
    }

    #result_ex_content {
        flex-flow: column;
        align-items: center;
        margin-bottom: 10px;
    }
    #result_ex button {
        margin-bottom: 0;
    }
    #result_ex .image {
        padding-left: 0;
        width: 80vw;
    }
    #result2 {
        width: 100%;
        margin-top: 0;
    }

    /* ページ内リンク */
    .footer_nav ul li:first-child{
        display: none;
    }
    .footer_nav ul {
        padding-inline-start: 0;
        font-size: 12px;
    }
    .footer_nav ul li {
        margin-right: 3px;
        padding: 13px 0 20px 0;
    }
}
@media only screen and (max-width: 767px) {
    #header header .logo img {
        width: 74%
    }
    .br_sp {
        display: block;
    }
    #baton_operation {
        display: block;
    }
    #baton_operation p {
        margin-bottom: 10px;
    }
    #result_ex input + label {
        max-width: 132px;
    }
}
@media only screen and (max-width: 414px) {
    #result2 {
        padding: 0;
    }
    #animation_button {
        margin-left: 0;
    }
    #animation_button p {
        margin-right: 0;
    }
    #category .radio_label {
        padding: 8px 0px;
        width: 260px;
    }
    #item_select .radio_label,
    #item_select2 .radio_label,
    #item_select3 .radio_label,
    #item_select4  .radio_label{
        width: 260px;
    }
}
@media only screen and  (max-width: 375px){
    #item {
        margin-bottom: 10rem;
    }
    .select_img {
        padding: 10px 0;
    }
    #result2 > div > div:first-child {
        margin-top: 50px;
    }
    #result_ex button {
        padding: 10px 80px;
    }
}
@media only screen and  (max-width: 280px){

    .footer_nav ul {
        font-size: 10px;
    }
    .footer_nav ul li {
        margin-right: 0;
    }
    #title p:nth-child(2) {
        font-size: .7rem;
    }
    #container {
        padding-right: 0;
        padding-left: 0;
    }
    #result_ex button {
        padding: 10px 50px;
    }
    #result_ex td {
        padding: 0;
    }
}

