@charset "utf-8";

html{
    box-sizing: border-box;
}
header{
    height: 52px;
    display: flex;
    justify-content: space-between;
    background-color: #fffa6585;
    box-shadow: 9px -8px 20px 0px #e9e21f9e; 
    border-radius: 5px;
    border: 2px solid #ded93747;
    width: 1125px;
    margin: auto;
}
.innerWrap{
    width: 1125px;
    margin: auto;
}
body{
    margin: auto;
    background-image: url(../004_image/009_woodenWall.png);
}
.header-left h1{
    justify-content: flex-start;
    margin-top: 2px;
    margin-left: 31px;
}
.tree{
    border-radius: 50px;
    width: 48px;
}
.header-center ul{
    display: flex;
    justify-content: space-evenly;
    width: 600px;
    font-size: 24px;
    font-family: serif;
    font-weight: bold;
    margin-top: 15px;
    text-transform: uppercase;
}
.header-center li{
    list-style: none;  
}
.header-center li:hover{
    font-style: oblique;
}
.header-center li a{
    color: #241e4d;
}

.header-right{
    justify-content: flex-end;
    font-size: 21px;
    color: rgba(66, 67, 248, 0.72);
    font-family: serif;
    font-weight: bold;
    font-style: italic;
    margin-top: 20px;
    margin-right: 80px;
}
.top{
    position: relative;
}
.messages{
    position: absolute;
    top: 8px;
    left: 28px;
    transform: rotate(-8deg);
    background-image: linear-gradient(-20deg, #ddd6f3 0%, #faaca8 100%, #faaca8 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    list-style: none;
    font-size: 24px;
    letter-spacing: 0.3em;
}
.messages .m1::first-letter{
    float: left;
    padding: 1px 1px 0 0;
    line-height: 0.95em;
    font-size: 31px;
}
.messages .m2{
    text-indent: 2em;
}
.messages .m3{
    text-indent: 3em;
}
.top-img{
    border: 1px solid #c0c0c0;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: inset 0 0 6px 4px rgba(0,0,0,0.5);
    z-index: -1;
}
.writtings-area{
    flex: 0 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 8px 24px 8px 40px;
    margin: 10px 20px 10px 0;
    box-shadow: 0 0 6px 6px #ffeb3b91;
    border: 2px solid orange;
}

.arrowUnder {
    border-radius: 10px;
    flex: 0 0 auto;
    background-color: #ffffff;
    margin: 10px;
    box-shadow: 0 0 3px 3px #ffeb3b91;
    border: 1px solid orange;
}

/*hover時にテキスト変換"1" */
a:hover .cS {
        font-style: italic;
}

/*hover時にテキスト変換"2" */
a .conversion {
    display: none;
}
a:hover .nomal{
    display: none;
}
a:hover .conversion{
    display: inline;
    font-size: 13px;
    color: black;
}

/*hover時にテキスト変換"3" */
a:hover .tL{
    font-style: italic;
}

/*hover時にテキスト変換"4" */
a .conversion_arrow {
    display: none;
}
a:hover .nomal_arrow{
    display: none;
}
a:hover .conversion_arrow{
    display: inline;
    font-size: 22px;
    color: white;
    font-style: bold;
    height: 50px;
}

/*hover時にテキスト変換"6" */
a .conversion_number {
    display: none;
}
a:hover .nomal_number{
    display: none;
}
a:hover .conversion_number{
    display: inline;
    font-size: 15px;
    color: white;
    font-style: bold;
}

/*hover時にテキスト変換"13" */
a:hover .lastGuide {
    font-style: italic;
}

/* hover時の画像の切り替え"1" */
.arrowNext {
    background: url("../004_image/007_nextStageArrowHover.jpg") no-repeat
}
.arrowNext a {
    display: inline-block;
}
.arrowNext a:hover {
    background-color: transparent;
}
.arrowNext a:hover img {
    visibility: hidden;
}

/* hover時の画像の切り替え"2" */
.cloud {
    background: url("../004_image/016_cloud.jpg") no-repeat
}
.cloud a{
    display: inline-block;
}
.cloud a:hover {
    background-color: transparent;
}
.cloud a:hover img {
    visibility: hidden;
}


.title-m{
    text-align: center;
    background-image: url(../004_image/004_evergreen.jpg);
    width: 500px;
    margin: 0 auto;
    line-height: 1.5;
    border-radius: 7px 21px 7px 21px;
    box-shadow: -4px 4px #154f3cd4;
}
.title-m h2{
    color: white;
    text-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.8);
    font-size: 29px;
    letter-spacing: 0.2em;
}
.postdate{
    float: right;
}
.float_clear{
    clear: right;
}
.mainCorner{
    width: 1120px;
    margin: 0 auto 50px;
    display: flex;
}
.mainText{
    line-height: 1.8em;
    height: 521px;
    overflow-y: scroll;
}
aside nav{
    flex: 1 1 245px;
    width: 245px;
    border-radius: 16px;
    background-color: #ffffff;
    padding: 24px 28px;
    margin-bottom: 24px;
}
aside nav h2{
    font-size: 22px;
    font-weight: bold;
    color: #7c5d48;
}
.recentNav {
    width: 250px;
    height: 100px;
}
.profile {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 15px;
}
.profile h2 {
    padding-left: 60px; 
    margin-bottom: 0;
}
.profile p {
    text-align: center;
}
.introduction {
    padding:11px;
    font-size: 13px;
}
.think {
    color: blue;
}
.ballon img {
    float: left;
    border-radius: 50px;
}
nav.recentNav {
    padding-top: 5px;
}
select {
    width:180px;
}
.pullCalendar {
    width:120px;
    border-radius: 3px;
    transform: translate( 10px, 10px);
     background-image: url(../004_image/023_skyblue_u1.jpg);
}

/* カレンダーの記述　*/
        aside{
            width: 300px;
        }
        .calender-wrapper {
            font-family: 'Noto Sans JP', sans-serif;
            text-align: center;
            margin-top: 98px;
            padding-top: 15px;
        }
        .today {
            background-color: orange !important;
        }
        th:nth-of-type(1), td:nth-of-type(1) {
            color: red;
        }
        th:nth-of-type(7), td:nth-of-type(7) {
            color: blue;
        }
        .calender {
            table-layout: fixed;
            width: 100%;
        }
        .table th,
        .table td{
            padding: 1px 8px;
            border-bottom: 1px solid blue;
            text-align: center;
            vertical-align: middle;
            font-size: 16px;
        }
        .table th{
            background-color: #dedede;
        }
        .table th:first-child {
            background-color: #e0555782;
            color: "ffffff;
        }
        .calendar td:first-child {
            color: #e05557;
        }
        .calendar th:last-child{
            background-color: #207bcf;
            color: #ffffff;
        }
        .calendar td:last-child {
            color: #207bcf;
        }
        .holiday {
            color: #0e5557;
        }
        .calendar caption {
            margin: 0 0 10px 0;
            padding: 10px;
            font-size: 14px;
            border: 5px solid #dedede;
            border-radius: 30px;
            font-weight: bold;
        }

.cloud {
     float: left;
}
.rowLink {
    width: 600px;
    border-radius: 11px;
    opacity: 0.8;
}
.lF {
    border-radius: 11px;
    opacity: 0.8;
}
.lR {
    border-radius: 11px;
    opacity: 0.8;
}
.magicNumber ul {   
    list-style: none;
    margin-top: 0;
    display: flex;   
}

img.nomalNumber {
     border-radius: 11px;
}

footer ul {
    margin-top: 41px;
    height: 80px;
    display: flex;
    justify-content: space-evenly;
    background-color: white;
    list-style: url(../004_image/022_magicBoxLogo.png);
    font-size: 13px;    
}

footer p {
    margin:1;
}


/*ここからメディアクエリ*/

@media screen and (max-width: 700px){
    .mainCorner {
        display: block;
    }
    .header-center ul{
        font-size: 36px;
    }
    header {
        height: 62px;
    }
    .header-right{
        font-size: 25   px;
    }
    .messages .m1::first-letter{
    font-size: 49px;
    }
    .messages {
        font-size: 38px;
    }
    .title-m h2 {
        font-size: 48px ;
    }
    h2 {
         font-size: 1.8em ;   
    }
    time {
        font-size: 20px;
    }
    .mainText {
        font-size: 28px;
    }
    
    aside {
        width: 100%;
        display: grid;
        grid-template-rows: 300px 430px;
        grid-template-columns: 60% 40%;
    }
     
   .calender-wrapper {
            grid-row: 1/3;
            grid-column: 1/2;
            width: 600px;
            height: 645px;
            margin-top: 50px;
            margin-bottom: 0;
        }
    .recentNav {
            grid-row: 1/2;
            grid-column: 2/3;
            width: 350px;
            height: 200px;
            margin: 50px 0px 10px 20px;
    }
    .profile {
            grid-row: 2/3;
            grid-column: 2/3;
            width: 380px;
            transform: translate(20px);
    }
    table {
        margin: 0 20px 0 70px;
    }  
    .table th,
    .table td{
         text-align: center;
         font-size: 38px;
        }
    aside nav {
        font-size: 42px;
    }
    aside nav h2{
        font-size: 32px;
    }
     .cloud {
        display:none;
    }
    
    .introduction {
        font-size: 23px;
    }
    .lF, .lR {
         transform: translate(60px);
    }
     .rowLink {
         width: 70%;
         transform: translate(60px);
    }
    body {
        width: 290%;
        margin: 10px;
        padding: 10px;
    }
    .arrowUnder {
        display: block;
        margin: 10px auto;
    }
    .profile p {
        font-size: 31px;
        margin-bottom: 0;
    }
    select {
        font-size: 21px;
        width: 240px;
        height: 50px;
    }
    .magicNumber {   
        width: 800px;
        margin: 0 30px 0 160px;
    }
    .tree {
        transform: scale(1.5);
    }
    .ballon img {
        margin-top: 10px;
        margin-left: 11px;
        transform: scale(1.2);  
    }
    aside nav {
        text-align: center;
    }
    aside nav h2 {
        font-size: 38px;
        margin-bottom: 5px;
    }
    .profile h2 {
        margin: 11px;
        padding-left: 75px;
        font-size: 36px;
    }
    footer ul {
    font-size: 21px;
    height: 120px;
    }    
}
    