@charset "utf-8";
@media screen and (min-width: 700px){
h2{
    margin: 10px 0px 0px 0px;
    border-top: 3px solid #b70000;
    border-bottom: 3px solid #b70000;
    padding: 0px 0px 0px 20px;
    width: 980px;
    font-weight: normal;
    font-size: 25px;
    line-height: 40px;
    background-color: #ffffff;
    margin-left: auto;
    margin-right: auto;
}
.link{
    margin-left: 600px;
    font-size: 18px;
}
.link a{
    text-decoration: none;
    color: #333333;
}
.tabs{
    width: 1000px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
}
.tab_item{
    width: 70px;
    height: 35px;
    padding: 5px;
    background-color: #c77777;
    border-right: 2px solid #fff;
    line-height: 35px;
    font-size: 22px;
    text-align: center;
    color: #fff;
    display: block;
    float: left;
    cursor: pointer;
}
input[name="tab_item"]{
    display: none;
}
.tab_content{
    display: none;
    clear: both;
    overflow: hidden;
}
#first:checked ~ #first_content,
#second:checked ~ #second_content,
#third:checked ~ #third_content,
#fourth:checked ~ #fourth_content, 
#fifth:checked ~ #fifth_content,
#sixth:checked ~ #sixth_content,
#seventh:checked ~ #seventh_content,
#eighth:checked ~ #eighth_content {
    display: block;
}
.tabs input:checked + .tab_item{
    background-color: #b70000;
    color: #fff;
}
.data{
    width:645px;
    height: 360px;
    border-spacing: 0px 0px;
    margin-left: 20px;
    font-size: 20px;
}
.koumoku{
    width: 145px;
}
.data td{
    padding: 0px 0px 0px 10px;
    border-bottom: 1px solid;
}
.profile{
    width: 948px;
    padding: 20px 0px 20px 7px;
    display: flex;
}
.midashi{
    padding-left: 5px;
    margin-top: 10px;
    font-size: 25px;
    border-bottom: 2px solid #b70000;
}
.honbun{
    font-size: 20px;
    padding-left: 20px;
    padding-right: 10px;
    text-align: justify;
}
.container{
    width: 948px;
    margin-top: 0px;
    padding: 15px 25px 30px 25px;
    border-top: 2px solid #b70000;
    border-bottom: 1px solid #b2b2b2;
    border-left: 1px solid #b2b2b2;
    border-right: 1px solid #b2b2b2;
    background-color: #fff;
}
.omachi{
    font-size: 40px;
    text-align: center;
}
}













@media screen and (max-width: 699px){
h2{
    margin: 3px 0px 0px 0px;
    border-top: 2px solid #b70000;
    border-bottom: 2px solid #b70000;
    padding: 0px 0px 0px 10px;
    width: 100%;
    box-sizing: border-box;
    font-weight: normal;
    font-size: 20px;
    line-height: 30px;
    background-color: #ffffff;
}
.link{
    margin-left: 45%;
    font-size: 15px;   
}
.link a{
    text-decoration: none;
    color: #333333;
}
.tabs{
    width: 100%;
    margin-top: 5px;
}
.tab_item{
    width: 22%;
    height: 30px;
    margin-top: 2px;
    margin-left: 2px;
    padding: 3px;
    background-color: #c77777;
    line-height: 30px;
    font-size: 17px;
    text-align: center;
    color: #fff;
    display: block;
    float: left;
    cursor: pointer;
}
input[name="tab_item"]{
    display: none;
}
.tab_content{
    display: none;
    clear: both;
    overflow: hidden;
}
#first:checked ~ #first_content,
#second:checked ~ #second_content,
#third:checked ~ #third_content,
#fourth:checked ~ #fourth_content, 
#fifth:checked ~ #fifth_content,
#sixth:checked ~ #sixth_content,
#seventh:checked ~ #seventh_content,
#eighth:checked ~ #eighth_content {
    display: block;
}
.tabs input:checked + .tab_item{
    background-color: #b70000;
    color: #fff;
}
.img img{
    width: 60%;
    border: 1px solid #b2b2b2;
}
.img{
    width: 100%;
    text-align: center;
    margin-top: 5px;
}
.data{
    width: 100%;
    border-spacing: 0px 0px;
    font-size: 14px
}
.data td{
    height: 30px;
    padding: 0px 10px 0px 5px;
    border-bottom: 1px solid;
    background-color: #ffffff;
}
.koumoku{
    width: 24%;
    text-align: left;
    padding-bottom: 5px;
    font-size: 14px;
    line-height: 20px;
    border-bottom: 1px solid;
    position: sticky;
    left: 0px;
}
.kakko{
    font-size: 12px;
}
.midashi{
    padding-left: 5px;
    margin-top: 10px;
    font-size: 20px;
    border-bottom: 2px solid #b70000;
}
.honbun{
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: justify;
}
.container{
    width: 100%;
    box-sizing: border-box;
    margin-top: 0px;
    padding: 5px 5px 15px 5px;
    border-top: 1.5px solid#b70000;
    background-color: #fff;
}
p{
    font-size: 15px;
}
.omachi{
    font-size: 30px;
    text-align: center;
}
}