@charset "utf-8";
/*
Theme Name: Junya_Hirano's portfolio
Author: Junya_Hirano
Description: ポートフォリオサイト
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gun.org/licenses/gp1-2.0.html
*/

html {
    font-size: 62.5%;
}

body {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝", "MS 明朝", serif;
    font-weight: 400;
    font-size: 1.45rem;
    line-height: 1.78;
    letter-spacing: 0.015em;
    color: #242424;
    background: #ffffff;
    position: relative;
}

* {
    box-sizing: border-box;
}
body,
div,
pre,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
th,
td, 
figure,
figcaption {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

a, input {
    outline: none;
}

a {
    color: #242424;
    text-decoration: none;
    transition-property: all;
    transition-duration: 1s;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

ol, li {
    list-style-type: none;
}

ol, ul {
    box-sizing: border-box;
}

.head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 150px 50px;
}

.head .header {
    letter-spacing: 0.05em;
    width: 50%;
}

.head .header h1 {
    font-size: 3rem;
    margin-bottom: 0.7em;
    font-family: 'Playfair Display', serif;
}

.head .header p {
    font-size: 1.2rem;
}

.head nav {
    width: 50%;
    margin-top: 120px;
}

.head nav ul {
    text-align: right;
}

.head nav ul li {
    display: inline-block;
    margin-bottom: 10px;
}

.head .sns {
    position: absolute;
    right: 50px;
    top: 50px;
}

.head nav ul li::after {
    content: "/";
}

.front-header ul {
    position: relative;
	list-style: none;
	padding-left: 0;
}

.front-header ul li {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.front-header ul li.now {
	display: block;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 1;
}
.front-header .front-header-area {
    display: table;
    width: 100%;
    /*height: 100vh;*/
    text-align: center;
}

.front-header .front-header-area .inner {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: absolute;
    top: 37%;
    left: 47%;
    z-index: 10
}

.front-header .front-header-area .inner .hear-logo img {
    max-width: 460px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.pickup {
    margin: 120px 0;
}

.pickup .select_logo {
    max-width: 480px;
    margin: 0 auto 60px auto;
}

.pickup_text {
    text-align: center;
}

.btn_more {
    text-align: center;
    margin: 50px auto;
}

.btn_more a {
    display: inline-block;
    position: relative;
    min-width: 260px;
    padding: 1em 4em;
    font-size: 1.4rem;
    border: 1px solid #242424;
}

.btn_more a:before {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: 1px solid #242424;
    border-right: 1px solid #242424;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 30px;
    margin-top: -4px;
    transition-property: all;
    transition-duration: 1s;
}

.news {
    max-width: 680px;
    margin: 120px auto;
}

.section .page_title h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.news ul li {
    margin-bottom: 15px;
}

.news ul li a {
    text-decoration: underline;
    margin-left: 15px;
}

.work_list {
    padding: 30px;
}

.work_list p {
    padding: 0 0 0 20px;
    text-align: center;
}

.work_list ul {
    display: flex;
    flex-wrap: wrap;
}

.work_list ul li {
    width: 50%;
    margin-bottom: 10px;
    padding: 20px;
}

.work_list a {
    display: block;
}

.work_list a .thum {
    margin-bottom: 15px;
    filter: grayscale(0);
}

.work_list a .thum figure {
    margin: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.work_list a .thum figure img {
    width: 100%;
}

.work_list a .thum figcaption {
    position: absolute;
    top: 50%;
    left: 50%;
}

.work_list a h3 {
    font-size: 1.6rem;
}

.work_list a p {
    text-align: right;
    font-size: 1.2rem;
}

.post_container {
    width: 100%;
    margin: auto;
    padding: 0 50px;
}

.post_container .post_title {
    margin-bottom: 120px;
    text-align: center;
}

.post_container .post_title::before {
    content: "";
    background-image: linear-gradient(-45deg, #fff 25%, #242424 25%, #242424 50%, #FFF 50%, #fff 75%, #242424 75%, #242424);
    background-size: 4px 4px;
    width: 100%;
    height: 3px;
    display: block;
    margin: 30px auto;
}

.post_container .post_title::after {
    content: "";
    background-image: linear-gradient(-45deg, #fff 25%, #242424 25%, #242424 50%, #FFF 50%, #fff 75%, #242424 75%, #242424);
    background-size: 4px 4px;
    width: 100%;
    height: 3px;
    display: block;
    margin: 30px auto;
}

.post_container .post_title h1 {
    font-weight: normal;
    font-size: 2rem;
}

.post_container .post_title p {
    font-size: 1.2rem;
}

.post_container .post_content p {
    margin: 1.2em auto;
    line-height: 2.2;
}

.container {
    max-width: 1200px;
    margin: auto;
}

footer {
    clear: both;
    text-align: center;
    background: #ffffff;
    padding: 30px 20px;
}
