@charset "UTF-8";
@import url(reset.css);

main,
footer{
  width: 100%;
  padding-left: 15em;
  padding-right: 15em;
  background: url("../img/wood.jpg");
  /*border: 3px solid #000;*/
}



.full{
    background: url(../img/wood-texture_00031.jpg);
    padding-bottom: 2em;
}
.title {
    position: relative;
    background-color: #C1D7E3;
    color: #333;
    border-radius: 10px;
    text-align: center;
    padding-top: 0.6em;
    height: 80px;
}

.title::before {
    content: "";
    position: absolute;
    border: 12px solid transparent;
    border-top: 12px solid #C1D7E3;
    top: 100%;
    left: 5%;
}

h2{
    font-size: 2.5em;
    vertical-align: middle;
}


.box1 {
    position: relative;
    margin-top: 55px;
    margin-left: 5em ;
    width: 36%;
    height: 150px;
    background-color: #badcad; /* 背景色 */
    color: #000; /* 文字色 */ 
    box-shadow: 0 0 10px 10px #badcad; /* 影 */
    padding-top: 0;
    padding-bottom: 200px;
    padding-left: 35px;
    line-height: 2.8em;
    font-size: 1.5em;
    font-weight: bold;
   }

.box1 span{
    padding-left: 15px;
}

/*.box1{
    padding: 10px 25px;
    margin-top: 50px;
    line-height: 55px;
    margin-left: 200px; 
    width: 40%; 
    color: #000;  
    background-image: url(../img/wood-texture_00031.jpg); 
    border: 6px solid #b2771f; 
    border-radius: 3em .8em 3em .7em/.9em 2em .8em 3em;
}

.name,
.birthplace,
.birthday{
    background: linear-gradient(transparent 55%, yellow 50%);
    font-size: 25px;
}*/

.like{
    width: 100%;
    margin-top: 50px;
    /*background-image: url(../img/wood-texture_00031.jpg);*/
}

.like h2{
    color: #4682b4;
    font-size: 50px;
    padding: 0 2rem;
    border-top: 3px dashed #000;
    border-bottom: 3px dashed #000;
    width: 20%;
    margin-left: 2em;
    text-align: center;
}

.container{
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    justify-content: center;
    
}

.flex-item{
    border: 2px solid #000;
    width: 300px;
    height: 300px;
    font-size: 25px;
    text-align: center;
    margin-right: 120px;
}

.skill h2{
    color: #4682b4;
    font-size: 50px;
    padding: 0 2rem;
    border-top: 3px dashed #000;
    border-bottom: 3px dashed #000;
    width: 25%;
    margin-left: 2em;
    margin-top: 16px;
    text-align: center;
}

/* 黒板 */
.flex-item {
    position: relative;
    margin: 2em auto;
    padding: 3.2em 1em 1em;
    width: 90%;
    background-color: #202020; 
    color: #fff; 
    border: 8px solid #b2771f;
    border-radius: 3px;
    box-shadow: 0 0 5px #333;
}
.flex-item::before,
.flex-item::after {
    position: absolute;
    content: '';
    bottom: 0;
} 
.flex-item::before {
    width: 17px; 
    right: 20px;
    border: solid 4px #ffff00; 
    border-radius: 3px 2px 0 2px;
}
.flex-item::after {
    width: 13px; 
    right: 55px;
    border: solid 4px #ff7fbf; 
    border-radius: 3px 2px 0 2px;
}
.flex-item span{
    position: absolute;
    top: .5em;
    right: 0;
    left: 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #ff7fbf; /* タイトル色 */
}
.flex-item img {
    padding-bottom: 20em;
    width: 75%;
    height: 75%;
}
table{
    width: 85%;
    border-collapse: collapse;
    height: 250px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 3em;
    padding-bottom:5em;
}

table tr{
    border-bottom: solid 2px white;
}

table tr:last-child{
    border-bottom: none;
}

table th{
    position: relative;
    text-align: left;
    width: 30%;
    background-color: #52c2d0;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 25px;
}

table th:after{
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top:calc(50% - 10px);
    right:-10px;
    border-left: 10px solid #52c2d0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

table td{
    text-align: left;
    width: 70%;
    text-align: center;
    background-color: #eee;
    padding: 10px 0;
    font-size: 25px;
}

.full small{
    padding-top: 10em;
    margin-top: 1em;
}





