@charset "utf-8";

body{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    text-decoration: none;
    list-style: none;
  }

*::marker{
    content: none;
}

a{
    text-decoration: none;
}

ul{
    padding-inline-start: 0;
}

header{
    background-color: #3cb;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.container{
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-title>p{
    font-size: 1em;
    padding: 12px 0;
    font-weight: bold;
}

.menu-btn{
    display: none;
}

.menu-icon {
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 14px;
    cursor: pointer;
    padding: 5px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navicon {
    display: block;
    height: 2px;
    width: 32px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #fff;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
    top: 6px;
    transform-origin: left;
  }
  
.navicon:after {
    bottom: 6px;
    transform-origin: left;
}

.menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-22.5deg);
}

.menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(22.5deg);
}

.hamburger-menu{
    background-color: #3cb;
    width: 400px;
    position: fixed;
    transform: scale(1,0);
    top:48px;
    right: 0;
    color: white;
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.hamburger-menu-container{
    margin: 40px auto 60px 40px;
}

.hamburger-menu ul{
    padding: 0;
}

.hamburger-nav>a{   
    font-size: 2em;
    font-weight: bold;
}

.menu-btn:checked ~ .hamburger-menu {
    transform: scale(1, 1);
}

.hamburger-nav{
    transition: 0.2s;
}

.hamburger-top>a:hover{
    color:#dda;
}

.hamburger-bond>a:hover{
    color: #faa;
}

.hamburger-tuibo>a:hover{
    color: #aaf;
}

.hamburger-point-adj>a:hover{
    color: #afa;
}

h1,.tool-title{
    padding-top: 100px;
    font-size: 2.5em;
    font-weight: 700;
}

.main-nav-box{
    margin-top: 100px;
}

.main-nav-box>ul{
    padding: 0;
    padding-left: 14px;
}

.main-nav>a{
    font-size: 2em;
    font-weight: bold;
    vertical-align: 0.1em;
}

.main-nav::before{
    content: "";
    display: inline-block;
    width: 10px;
    height: 2em;
}

.bond::before{
    background-color: #faa;
}

.tuibo::before{
    background-color: #aaf;
}

.point-adj::before{
    background-color: #afa;
}

.admin-des{
    margin-top: 200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.admin-des h2{
    font-size: 1.5em;
    font-weight: bold;
}

.admin-name{
    font-weight: 500;
}

.tool-title{
    padding-left: 14px;
}

.tool-title::before{   
    content: "";
    display: inline-block;
    width: 10px;
    height: 1em;   
    vertical-align:-0.1em;
}

.bond-data-wrapper{  
    width: 100%;
    margin-top: 60px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.input-wrapper,.output-wrapper{
    border-radius: 40px;
    border: solid 3px;
    border-color: #d99;
}

.input-wrapper{
    width: 410px;
    background-color: #faa;
}

.input-wrapper-container{
    width: auto;
    padding: 24px 14px 32px 14px;
}

.bond-input>input{
    width: 5em;
    font-size: 150%;
    border:solid 1px black;
    margin-bottom: 28px;
}

.bond-input>select{
    width: 5em;
    font-size: 150%;
    text-align: center;
}

.output-wrapper{
    background-color: #fea;
    width: 720px;
    height: 551px;
}

.output-wrapper-container{
    padding: 32px;
}

.exp>div{
    font-size: 2em;
    width: 10em;
    height: 1.5em;
    background-color: white;
    border: solid black;
    text-align: center;
}

.times-list{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 20px;
}

#ExpResult > p{
    color: black;
    font-size: 1em;
}

.num-times{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
}

.num>p,.ebi>p{
    width: 8em;
    padding: 0.2em;
    background-color: #bfbfbf;
}

.num-times>li{
    width: 8em;
}

.ebi{
    margin-top: 32px;
}

.bond-Result{
    width: 8em;
    height: 3em;
    background-color: #f0f0f0;
}

.bond-ex-text{
    padding: 24px;
    margin-top: 42px;
    background-color: white;
}

.bond-Result>p{
    font-size: 170%;
    vertical-align: middle;
}

.bond-table{
    width: 100%;
    aspect-ratio: 371 / 206;
    background-image: url(../aseets/bond-rew.png);
    background-size:contain;
}

.tuibo-wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 72px;
}

#Skill-check{
    background-color: #cfc;
    border-radius: 20px;
    font-size: 1em;
    width: 20em;
    outline: solid 3px #9b9;
    outline-offset: -3px;
  }

.skill-title{
    background-color: #9b9;
    border-radius: 20px 20px 0 0;
}

.skill-title>h2{
    color: white;
    padding: 10px 224px 10px 16px;
    font-weight: 600;
}

.skill-container{
    margin: 0 32px;
    padding-bottom: 32px;
}

#calculation-skill{
margin: 100px auto auto auto auto;
width: 100%;
}

#calculation-skill>p{
margin: 4px auto;
}

#calculation-skill>input{
width: 5em;
}

input[type = "text"]{
font-size: 150%;
}

input[type = "submit"]{
display: block;
margin-top: 1em;
height: 2em;
font-size: 150%;
}

#SkillResult{
font-size: 2em;
width: 100%;
height: 1.5em;
color: black;
background-color: #fff;
margin-top: 32px;
border: solid 1px #aaf;
text-align: center;
}

#SkillResult>p{
font-size: 100%;
}

.tuibo-gene{
    width: 800px;
    background-color: #ddf;
    border-radius: 40px;
    outline: solid 3px #aaf;
    outline-offset: -3px;
}

.tuibo-container{
    margin: 0 32px;
}

#TuiboForm{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 42px 40px 30px 32px;
}

.TuiboFormL{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.toggle-button-4 {
    display: flex;
    align-items: center;
    position: relative;
    width: 80px;
    height: 30px;
    color: #000;
    margin-top: 1em;
    margin-bottom: 0.75em;
    border-radius: 50px;
    box-sizing: content-box;
    background-color: #fff;
    cursor: pointer;
    transition: background-color .4s;
}

.toggle-button-4:has(:checked) {
    background-color: #fff;
}

.toggle-button-4::before {
    position: absolute;
    left: 0px;
    width: 44px;
    height: 30px;
    border-radius: 15.5px;
    background-color: #eeff66;
    content: '';
    transition: left .4s;
}

.toggle-button-4:has(:checked)::before {
    left: 36px;
    background-color: #55ee44;
}

.toggle-button-4::after {
    position: absolute;
    left: 20px;
    transform: translateX(-50%);
    color: #fff;
    font-weight: 600;
    font-size: .9em;
    content: '先頭';
    color: #000;
    white-space: nowrap;
    transition: left .4s;
}

.toggle-button-4:has(:checked)::after {
    left: 57px;
    content: '実効';
    color: #000;
}

.toggle-button-4 input {
    display: none;
}

#DailyTime{
    font-size: 150%;
    width: 3em;
}

#MasterSkill,#RecSkill,#RoomID{
    font-size: 1.5em;
    width: 5em;
}

.tuibo-skill{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.TuiboFormL>div{
    width: 50%;
}

.TuiboFormL>div{
    margin-bottom: 42px;
}

.tuibo-title{
    font-size: 1.5em;
    padding-bottom: 0.2em;
    position: relative;
    right: 20px;
    font-weight: 500;
}

.tuibo-title::before{
    content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    background-color: #000;
}

textarea{
    resize: none;
}

#TuiboPreview{
    background-color: white;
    width: 224px;
    height: 20em;
    border: solid 2px #aaf;
    margin-top: 40px;
}

#TweetButton{
    margin: 150px auto auto auto;
    height: 60px;
    transition: all 0.5s;
    text-align: center;
}

#TweetButton>a{
    font-size: 1.5em;
    padding: 12px 50px;
    border-radius: 30px;
    font-weight: bold;
    color: white;
    background-color: #3BF;
    transition: all 0.5s;
}

#TuiboPreview p{
    white-space: pre-wrap;
}

@media screen and (max-width:1500px){

    .bond-data-wrapper{
        flex-direction: column;
    }
    
    .bond-data-wrapper>div{
        width: 100%;
    }

    .input-wrapper{
        margin-bottom: 40px;
    }

    .input-wrapper-container{
        display: flex;
        flex-direction: row;
    }


    .bond-table{
        width: 30%;
        margin: auto;
    }

    .num-times{
        width: 650px;
        margin-right:auto;
        margin-left: auto;
        overflow-x:scroll;
    }

    .num-times>li,.ebi-times>li{
        margin-right: 5px;
    }

    .tuibo-wrapper{
        flex-direction: column-reverse;
    }

    #Skill-check{
        margin-top: 40px;
        width: 100%;
        margin-bottom: 40px;
    }

    .tuibo-gene{
        width: 100%;
    }
}

@media screen and (max-width:1100px) {

    .container{
        margin: 0 auto;
    }

    .input-wrapper-container{
        flex-direction: column;
    }

    .bond-table{
        width: 500px;
    }

    .TuiboFormL>div{
        width: 40%;
    }

    .TuiboFormR{
        height: 600px;
        position: sticky;
        top: 100px;
    }

}

@media screen and (max-width:900px) {

    .admin-des{
        flex-direction: column;
        margin-bottom: 100px;
    }

    .site-des{
        margin-top: 40px;
    }

    h1>span{
        display: block;
        width: 100%;
    }
    
    .TuiboFormL{
        flex-direction: column;
        position: relative;
    }

    .num-times,.ebi-times{
        width: 100%;
    }

    .TuiboFormL>div{
        width: 100%;
    }
    

    .bond-table{
        width: 50%;
    }

}


@media screen and (max-width:670px) {
/* 
    #TuiboForm{
        gap: 10px;
    }

    .tuibo-title{
        font-size: 1.3em;
    }

    .TuiboFormR{
        width: 100%;
    }

    #TuiboFormL>div>label{
        font-size: 0.8em;
    }

    #TuiboPreview{
        margin: 40px auto;
    }*/

    #DailyTime{
        margin-left: 1em;
    }

    .bond-ex-text{
        height: 100px;
        overflow:scroll;
    }

}

@media screen and (max-width:500px) {

    #TuiboPreview{
        display: none;
    }

    #TuiboPreview{
        width: 120%;
    }

    #TuiboForm{
        flex-direction: column;
        font-size: 12px;
        margin-left: 0;
        margin-right: 0;
    }

    .exp>div{
        width: 100%;
    }

    .TuiboFormR{
        height: auto;
    }

    #TweetButton{
        width: 100%;
        margin-top: 60px;
    }

    #TweetButton>a{
        font-size: 1em;
        padding: 6px 30px;
        text-align: center;
    } 
    

    .bond-table{
        width: 90%;
    }

}