﻿@charset "utf-8";

/* スマートフォン用CSS */
@media screen and (max-width: 640px) {

	img{
	max-width: 100%;
	height: auto;
	width /***/:auto;
	}

/* ここから通常のCSS */
/* 基本レイアウト ここから↓ */
/*@import url(common.css);*/
body {
	background-color: #ffffff;
	color: #645242;
	font-size: 87.5%;
	line-height: 1.5;
	margin:0 auto;
	width: 80vw;
	overflow-y: scroll;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", 'Noto Sans JP', sans-serif;
}

#top img{
	min-width: 100px;
}


a {
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: #645242;
}

footer{
	text-align: center;
	font-size: 16px;
}

#foot{
	display: none;
}

header {
	height: 30px;
	margin-bottom: 50px;
	padding-top: 30px;
}

header p{
	margin-left: 10px;
}

ul {
	list-style: none;
	text-align: center;
	margin-top: 30px;
	margin-right: 35px;
}

nav ul li{
	font-size: 24px;
	margin: 60px 0;
}

.pagetitle p{
	margin: 0 0 50px 10px;
	font-size: 20px;
}

/*ハンバーガーここから↓*/
.nav_toggle {
    display: block;
    position: fixed;
	right: 0;
    width: 2.0rem;
    height: 1.5rem;
    margin-right: 40px;
	margin-top: 15px;
    z-index: 2;
}
.nav_toggle i {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #645242;
    position: absolute;
    transition: transform 0.5s, opacity 0.5s;
}
.nav_toggle i:nth-child(1) {
    top: 0;
}
.nav_toggle i:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
}
.nav_toggle i:nth-child(3) {
    bottom: 0;
}

  /* クリックされた後のハンバーガーのマーク */
.nav_toggle.show i:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
}
.nav_toggle.show i:nth-child(2) {
    opacity: 0;
}
.nav_toggle.show i:nth-child(3) {
    transform: translateY(-12px) rotate(45deg);
}

  /* クリックで表示されるメニュー：クリックされる前 */
.nav {
    display: flex;
    position: fixed;
    align-items: flex-start;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
    background-color: #fff;
    z-index: 1;
}

.nav_menu_li a {
    color: #645242;
    text-decoration: none;
}

  /* クリックで表示されるメニュー：クリックされた後 */
.nav.show {
    opacity: 1;
    visibility: visible;
}

/*ハンバーガーここまで↑*/



/* 基本レイアウト ここまで↑ */

/* トップページ ここから↓ */

.container {
	display: flex;
	justify-content: space-between;
}

#maintheme{
	height: 250px ;
	background-image: url(../img/mobiletop.jpg);
	background-repeat: no-repeat;
	background-size: contain;
}

h1 {
	position: absolute;
	top: 160px;
	left: 50px;
	font-size: 24px;
	letter-spacing: 0.1em;
	font-weight: normal;
	line-height: 1;
	transform: rotate(-10deg);
}

h2{
	font-size: 38px;
	font-weight: normal;
	line-height: 1;
	margin: 0;
}

h3{
	font-size: 36px;
	font-weight: normal;
	line-height: 1;
	margin: 0;
}

h4{
	font-size: 28px;
	font-weight: normal;
	line-height: 1;
	margin: 0;
}

h5{
	font-size: 22px;
	font-weight: normal;
	line-height: 1;
	margin: 0;
}
#maintheme p {
	position: absolute;
	top: 130px;
	left: 650px;
	font-size: 20px;
}

#skill {
	margin-bottom: 50px;
	font-size: 12px;
}

#skill ul{
	text-align: left;
	padding: 0;
}

.ability{
	text-align: center;
}

.ability div{
	margin-bottom: 30px;
}

.ability div img{
	text-align: center;
	width: 80%;
}
#works{
	text-align: center;
	margin: 30px 0 100px;
	padding-top: 30px;
}

#works p{
	font-size: 24px;
}

.worksimg {
	display: flex;
	justify-content:space-around;
	margin: 50px 0;
}

.worksimg img{
	width: 20vw;
}

#contact{
	text-align: center;
	margin: 100px 0;
	padding-top: 30px;
}

#contact p{
	font-size: 18px;
}

form{
	text-align: left;
	margin-top: 50px;
}

form p{
	margin-bottom: 50px;
}

input[type="text"]{
	width: 40vw;
	height: 20px;
}

input[type="email"]{
	width: 40vw;
	height: 20px;
}

textarea{
	width: 70vw;
	height: 150px;
	overflow-y: scroll;
}

.button{
	font-size: 16px;
}
/* トップページ ここまで↑ */

/* プロフィールページ ここから↓ */
#profpage{
	margin: 40px 0 ;
	font-size: 18px;
	line-height: 1;
}
#profphoto img{
	width: 50vw;
	margin-bottom: 20px;
}

#profsentence{
	margin-top: 30px;
}

/* プロフィールページ ここまで↑ */

/* 経歴ページ ここから↓ */
#careerpage{
	margin: 40px 0 ;
	font-size: 18px;
	line-height: 1;
}

.carphoto img{
	width: 50vw;
}

.carphoto {
	margin-bottom: 40px;
}

.cartitle{
	font-size: 22px;
}

/* 経歴ページ ここまで↑ */

/* スキルページ ここから↓ */
.skillbg{
	background-image: url(../img/mobile_skillbg.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
}

#skillpage{
	width: 80vw;
	margin: 40px 0 ;
	font-size: 18px;
	line-height: 1;
}

.sentence {
	margin-bottom: 50px;
}

/* スキルページ ここまで↑ */

/* 実績ページ ここから↓ */
.worksbox{
	text-align: center;
	width: 80vw;
	margin: 80px 0;
}

.worksbox img{
	width: 70vw;
}
.workssentence{
	text-align: left;
	margin: 30px 0;
}

.worksback{
	text-align: right;
	margin-top: 20px;
	text-decoration: underline;
	font-size: 20px;
}
/* 実績ページ ここまで↑ */
}/* ←レスポンシブ記述終わり */