header {
    font-family: 'Courier New', Courier, monospace;
    max-width: 100%;
    height: 80px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.h-logo {
    font-size: 50px;
    font-weight: normal;
    padding: 15px;
    float: left;
    clear: left;
}

ul {
    display: flex;
    justify-content: flex-end;
}

.h-list {
    font-size: 30px;
    padding: 23px 20px 22px 20px;
}

.h-list a {
    text-decoration: none;
    color: black;
}

.image {
    position: relative;
    width: 100%;
    height: 1000px;
    object-fit: cover;
    overflow: hidden;
}

@keyframes typing {
    from {
        width: 0;
    }
}

@keyframes caret {
    50% {
        border-color: transparent;
    }
}

h1 {
    position: absolute;
    top: 165px;
    left: 20%;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    width: 23ch;
    border-right: .08em solid;
    overflow: hidden;
    font-size: 4em;
    white-space: nowrap;
    animation: typing 4s steps(13, end), caret .7s step-end infinite;
}


body {
    font-family: 'Courier New', Courier, monospace;
    color: #001957;
}

h2 {
    font-size: 38px;
    color: #001957;
    margin-left: 60px;
}

h3 {
    font-size: 38px;
    color: #001957;
    margin-right: 60px;
}

h4 {
    font-size: 38px;
    color: #001957;
    margin: auto;

}

.my-imagebox img {
    width: 190px;
    height: 200px;
    object-fit: cover;
    margin-right: 10px;
    margin-left: 60px;
    margin-top: 15px;
}

.name {
    font-size: 23px;
    padding: 5px;
    margin-left: 120px;
    box-sizing: border-box;
}

.pr {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.profile {
    margin-top: 18px;
}

#skills {
    margin-right: 0;
}

.skill-fontawesome {
    font-size: 100px;
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.skill-fontawesome p {
    font-size: 20px;
    font-weight: normal;
}

.fa-html5 {
    margin-right: 3.5%;
}

.fa-css3-alt {
    margin-right: 2%;
}

.fa-mobile-alt {
    text-align: center;
    font-size: 98px;
    margin-right: 2%;
}

.fab p {
    text-align: center;
}

.file {
    width: 200px;
    height: 400px;
    object-fit: fill;
    margin-right: 80px;
    box-shadow: 0 0 3px #001957;
}
.file-1 {
    width: 200px;
    height: 400px;
    object-fit: cover;
    margin-right: 80px;
    box-shadow: 0 0 3px #001957;
}

.work-img a {
    display: block;
    text-decoration: none;
    color: #001957;
}

.m-section1 {
    margin-top: 30px;
    margin-left: 5%;
    margin-bottom: 80px;
}

.m-section2 {
    text-align: right;
    margin-right: 7%;
    margin-bottom: 80px;
}

.m-section3 {
    margin-left: 5%;
    margin-bottom: 95px;
}

.m-section4 {
    text-align: center;
}

.text-contents1 {
    font-size: 18px;
    display: inline-block;
    line-height: 1.3;
    margin-bottom: 40px;
    margin-left: 3%;
}

.text-contents2 {
    font-size: 18px;
    display: flex;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 40px;
}

.text-contents2 p {
    position: absolute;
    transform: translateX(125%);
    color: #011956;
}

.work-img_4 p {
    position: absolute;
    transform: translateX(5%);
    color: #011956;
}

.sns {
    text-align: center;
    padding-bottom: 10px;
}

input {
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    margin-bottom: 10px;
}

.button {
    font-size: 18px;
    width: 50%;
    cursor: pointer;
    margin-top: 10px;
}

form {
    width: 25%;
    padding: 10px 20px 20px 20px;
    margin: auto;
    margin-top: 15px;
    text-align: center;
}

footer {
    font-size: 18px;
    padding-top: 5px;
    padding: 15px;
    margin-top: 25px;
    text-align: center;
    background-color: #f3d2c1;
}

/* header hamburger */
#ham-menu,
label#menu-icon {
    display: none;
    /*780px以上の幅の場合は表示しないようにする*/
}

#ham-menu {
    background-color: #fff;
    /*メニュー背景色*/
    box-sizing: border-box;
    height: 40%;
    padding: 10px 40px 10px 0;
    /*メニュー内右上下余白*/
    position: fixed;
    right: -100%;
    /*全部隠す*/
    top: 0;
    transition: transform 0.2s linear 0s;
    /*0.2s はアニメーションにかかる時間*/
    width: 100%;
    /*メニュー横幅*/
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

#menu-icon {
    background-color: rgb(30, 40, 54);
    /*アイコン部分 ハンバーガー中央色*/
    border-radius: 10px;
    /*角丸*/
    color: #333;
    /*アイコン（フォント）色*/
    cursor: pointer;
    display: block;
    font-size: 50px;
    /*アイコン（フォント）サイズ*/
    height: 2px;
    /*アイコン縦高さ*/
    line-height: 50px;
    /*縦位置中央化*/
    right: 10px;
    position: fixed;
    text-align: center;
    top: 20px;
    width: 30px;
    /*アイコン横幅*/
    transition: all 0.2s linear 0s;
    /*0.2s はアニメーションにかかる時間*/
    z-index: 1001;
    transition: 1s;
}

#menu-icon::before {
    content: '';
    background-color: rgb(30, 40, 54);
    /*アイコン部分 ハンバーガー中央色*/
    border-radius: 10px;
    /*角丸*/
    display: block;
    height: 2px;
    width: 30px;
    position: absolute;
    top: -10px;
    transition: 1s;
}

#menu-icon::after {
    content: '';
    background-color: rgb(30, 40, 54);
    /*アイコン部分 ハンバーガー中央色*/
    border-radius: 10px;
    /*角丸*/
    display: block;
    height: 2px;
    width: 30px;
    position: absolute;
    top: 10px;
    transition: 1s;
}

#menu-cb {
    display: none;
    /*チェックボックス本体は見えないようにしている*/
}

#menu-cb:checked~#ham-menu {
    transform: translate(-30%);
    /*メニュー本体横幅 width と合わせる*/
    text-align: right;
}

#menu-cb:checked~#menu-icon,
#menu-cb:checked~#menu-icon::before,
#menu-cb:checked~#menu-icon::after {
    background-color: rgb(30, 40, 54);
    /*開示の際に、バーの色を黒色に変化させる*/
}

#menu-cb:checked~#menu-icon {
    background-color: #fff;
    /*中央バーを白色にして不可視に*/
}

#menu-cb:checked~#menu-icon::before {
    transform: rotate(135deg);
    transition: 1s;
    /*上方バーを黒色にして傾ける*/
    top: 0px;
}

#menu-cb:checked~#menu-icon::after {
    transform: rotate(-135deg);
    transition: 1s;
    /*下方バーを黒色にして傾ける*/
    top: 0px;
}

ul.header-items-sp {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 18px;
}

.header-items-sp a {
    text-decoration: none;
    color: black;
}

li {
    padding: 3%;
    margin-left: 3%;
}

@media screen and (max-width: 1024px) {
.h-list {
    font-size: 30px;
    padding: 23px 10px 16px 10px;
}

h1 {
    position: absolute;
    top: 11%;
    left: 12%;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    width: 22ch;
    overflow: hidden;
    font-size: 3em;
    white-space: nowrap;
    border-right: .04em solid;
    line-height: 1;
    text-align: center;
    animation: typing 4s steps(13, end), caret .7s step-end infinite;
}

.m-section2 {
    text-align: right;
    margin-right: 13%;
    margin-bottom: 110px;
}

.text-contents1 {
    font-size: 18px;
    display: inline-block;
    line-height: 1.3;
    margin-bottom: 40px;
    margin-left: 6%;
}
}

@media screen and (max-width: 780px) {
.container {
    width: 98%;
}

.message {
    font-size: 11px;
    line-height: 1.5;
    width: 100%;
}

header {
    height: 50px;
}

.h-logo {
    font-size: 19px;
}

.h-list {
    display: none;
}

.image {
    position: relative;
    width: 100%;
    height: 200px;
    object-fit: cover;
    overflow: hidden;
}

@keyframes typing {
    from {
        width: 0;
    }
}

@keyframes caret {
    50% {
        border-color: transparent;
    }
}

h1 {
    position: absolute;
    top: 11%;
    left: 10%;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    width: 22ch;
    overflow: hidden;
    font-size: 2em;
    white-space: nowrap;
    border-right: .04em solid;
    line-height: 1;
    text-align: center;
    animation: typing 4s steps(13, end), caret .7s step-end infinite;

}

.m-section1 {
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.m-section2 {
    width: 100%;
    margin-bottom: 50px;
    margin: auto;
    margin-bottom: 13%;
    box-sizing: border-box;
}

.m-section3 {
    width: 100%;
    margin: auto;
    margin-bottom: 70px;
    box-sizing: border-box;
}

.m-section4 {
    width: 100%;
    margin: auto;
    text-align: center;
    box-sizing: border-box;
}

h2,
h3,
h4 {
    width: 100%;
    margin: auto;
    font-size: 30px;
    color: #001957;
    text-align: center;
    box-sizing: border-box;
}

.my-imagebox {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.my-imagebox img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    margin: 0;
}

.name {
    font-size: 18px;
    margin-left: 0;
    text-align: center;
}

.pr {
    font-size: 15px;
    text-align: center;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 23px;
    box-sizing: border-box;
}

.profile {
    font-size: 15px;
    text-align: center;
    margin-right: 10px;
    margin-left: 10px;
    box-sizing: border-box;
}

.text-contents1 {
    width: 100%;
    margin: auto;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 10%;
    box-sizing: border-box;
}

.text-contents2 {
    width: 100%;
    margin: auto;
    font-size: 15px;
    box-sizing: border-box;
    display: flex;
}

.skill-fontawesome {
    font-size: 80px;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0;
    text-align: center;
    box-sizing: border-box;
}

.fa-html5 {
    margin-bottom: 3.5%;
}

.fa-css3-alt {
    margin-bottom: 3.5%;
}

.skill-fontawesome p {
    font-size: 15px;
    font-weight: normal;
}

.fab.fa-css3-alt p {
    text-align: center;
}

.file {
    width: 50%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 0 1px #001957;
    margin: 0;
}

.work-img {
    width: 100%;
    box-sizing: border-box;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.work-img p {
    width: 100%;
    margin: auto;
    box-sizing: border-box;
    text-align: center;
    padding: 0;
}

.work-img a {
    text-align: center;
    text-decoration: none;
    color: #001957;
    margin-bottom: 15px;
}

.sns {
    text-align: center;
    padding: 0;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 13px;
}

input {
    width: 100%;
    height: 20px;
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    margin-bottom: 10px;
}

.button {
    font-size: 80%;
    width: 50%;
    cursor: pointer;
    margin-top: 10px;

}

form {
    width: 60%;
    padding: 0px 20px 20px 20px;
    margin: auto;
    text-align: center;
    font-size: 13px;
}

.nece {
    color: #f582ae;
    text-align: center;
    font-size: 80%;
    width: 98%;
    box-sizing: border-box;
}

footer {
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
}

/* header hamburger */
#ham-menu,
label#menu-icon {
    display: flex;
    flex-direction: column;
}
}

@media screen and (max-width: 320px) {
@keyframes typing {
    from {
        width: 0;
    }
}

@keyframes caret {
    50% {
        border-color: transparent;
    }
}

h1 {
    position: absolute;
    top: 12%;
    left: 10%;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    width: 22ch;
    overflow: hidden;
    font-size: 1.67em;
    white-space: nowrap;
    border-right: .04em solid;
    line-height: 1;
    text-align: center;
    animation: typing 4s steps(13, end), caret .7s step-end infinite;
}
}

@media screen and (max-width: 280px) {
@keyframes typing {
    from {
        width: 0;
    }
}

@keyframes caret {
    50% {
        border-color: transparent;
    }
}

h1 {
    position: absolute;
    top: 11%;
    left: 8%;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    width: 22ch;
    overflow: hidden;
    font-size: 1.67em;
    white-space: nowrap;
    border-right: .04em solid;
    line-height: 1;
    text-align: center;
    animation: typing 4s steps(13, end), caret .7s step-end infinite;
}

.fa-mobile-alt {
    margin-bottom: 10px;
}
}
@page {
	margin: .5cm;
}

@media print {
body {
    -webkit-print-color-adjust: exact;
    top:0 !IMPORTANT;
    left:0 !IMPORTANT;
    
}
.container {
    width: 98%;
}
    
.message {
    font-size: 11px;
    line-height: 1.5;
    width: 100%;
}
    
.h-logo {
    font-size: 40px;
    margin-top: 2px;
}
.h-list {
    font-size: 30px;
    padding: 23px 10px 16px 10px;
}  
.image {
    position: relative;
    width: 100%;
    height: 482px; 
    object-fit: cover;
    overflow: hidden;
}

h1 {
    position: absolute;
    top: 9%;
    left: 11%;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    width: 22ch;
    font-size: 5em;
    text-align: center;
}
h2 {
    font-size: 38px;
    color: #001957;
    margin-left: 31px;
}
.my-imagebox img {
    width: 170px;
    height: 180px;
    object-fit: cover;
    margin-right: 10px;
    margin-left: 31px;
    margin-top: 15px;
}
.name {
    font-size: 23px;
    padding: 5px;
    margin-left: 91px;
    box-sizing: border-box;
}
.m-section1 {
    margin-top: 15px;
    margin-left: 5%;
    margin-bottom: 20px;
}
.m-section2 {
    text-align: right;
    margin-right: 7%;
    margin-bottom: 100px;
}
.m-section3 {
    margin-left: 5%;
    margin-bottom: 95px;
}

.text-contents2 {
    font-size: 18px;
    display: inline-block;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 40px;
}
.file {
    width: 220px;
    height: 400px;
    object-fit: cover;
    margin-right: 100px;
    margin-left: -30px;
    box-shadow: 0 0 3px #001957;
}
.work-img p {
    padding-left: 50px;
}

input {
    width: 100%;
    height: 30px;
    margin-bottom: 16px;
}

textarea {
    width: 100%;
    margin-bottom: 16px;
}

.button {
    font-size: 18px;
    width: 70%;
    cursor: pointer;
    margin-top: 16px;
}

form {
    width: 35%;
    font-size: 13px;
    padding: 10px 20px 20px 20px;
    margin: auto;
    margin-top: 15px;
    text-align: center;
}
footer {
    font-size: 18px;
    padding-top: 5px;
    padding: 15px;
    margin-top: 90px;
    text-align: center;
    background-color: #f3d2c1;
}
}


