/*
Theme Name: HISAKA INOUE Portfolio
Theme URI:
Author: HISAKA INOUE
Description: HISAKA INOUE Portfolio
Version: 1.0
*/
@charset "UTF-8";

/* ====================
   Reset
==================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
	color: #1f2933;
	background-color: #fff;
	font-family: "A1 Gothic R", "Yu Gothic", "YuGothic", sans-serif;
	line-height: 2.1;
	letter-spacing: .08em;
	font-weight: 300;
	font-size: 14px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	opacity: 1;
	transition: opacity .5s ease-out;
}
a:hover {
	opacity: 0.7;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h2,h3{
	font-weight: 400;
	font-size: 20px;
    letter-spacing: 0.1em;
}
/* =========================
   Header
========================= */

.header {
	width: 100%;
	height: 140px;
	background-color: transparent;   
	position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-inner {
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
}

.home .header-inner {
	justify-content: flex-end;
}

.logo {
  color: #1f2933;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.home .logo {
	display: none;
}

.nav {
  display: flex;
  gap: 56px;
}

.nav a {
  color: #1f2933;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.2em;
}

.home .nav a {
	color: #fff;
}

body .display-sp{
  display: none;
}

.work-block-right,
.work-block-left,
.work-block-banner {
    padding: 100px 0 0;
}

/* =========================
   Works
========================= */

.works {
  padding: 120px 0;
}

.works-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 130px;
}

.section-title h1 {
  font-size: 20px;
  font-weight: 400;
}

.section-title p {
  font-size: 12px;
  letter-spacing: 0.1em;
}
.work-images a {
    display: block;
    overflow: hidden;
}

.work-images a .work-image img {
    display: block;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.work-images a:hover .work-image img {
    transform: scale(1.05);
    opacity: 0.9;
}

.home .header,
.pc-scroll-down,
.sp-scroll-down {
    opacity: 0;
    visibility: hidden;
}

.home .header.is-show,
.pc-scroll-down.is-show,
.sp-scroll-down.is-show{
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease;
}

.fv img {
  width: 100%;
  height: 100%;
  display: block;
　object-fit: cover;
}

section.fv {
	padding-top: 0;
	position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    z-index: 20;
}

.scroll-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
	animation: scroll-down 1.6s ease-in-out infinite;
}

.scroll-arrow {
    width: 25px;
    height: 25px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    position: relative;
    top: -2px;
}

.section-top {
  padding: 0px;
}

.container {
  max-width: 1000px;
  margin: 80px auto 0;
}

.home .container {
	margin: 0 auto;	
}

/* セクションタイトル */

.section-heading {
	padding: 100px 0px;
}

.section-heading h2 {
	font-size: 24px;
	letter-spacing: 0.12em;
	font-weight: 400;
	margin-bottom: 0;
}

.section-heading span,
.work-category span,
.top-section-heading span {
	font-size: 16px;
	letter-spacing: 0.09em;
}

.section-heading h2,
.section-heading span,
.top-section-heading span {
    opacity: 0;
    transform: translateX(-30px);
}

.section-heading h2,
.top-section-heading h2 {
    opacity: 0;
    transform: translateX(30px);
}

.section-heading.is-show span,
.top-section-heading.is-show span {
    opacity: 0;
    transform: translateX(0);
}

.section-heading.is-show span span,
.top-section-heading.is-show span span {
    opacity: 0;
    transform: none;
}
.section-heading h2 > span,
.top-section-heading h2 > span {
    font-size: inherit;
    letter-spacing: inherit;
}
.top-section-heading {
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
	margin-bottom: 100px;
    margin-top: 100px;
}


.work-heading {
	padding: 50px 0;
}

.work-heading:first-child {
	padding: 0 0 50px;
}

.work-heading h3 {
  margin-bottom: 0;
}

.work-category {
  display: flex;
  gap: 16px;
}
.work-description-text {
	font-size: 12px;
}
.work-label {
  margin-bottom: 20px;
  font-size: 18px;
	position: relative;
    padding-left: 65px;
}

.work-label::before {
	content: "";
    position: absolute;
    background: #1f2933;
    width: 50px;
    height: 1px;
    left: 0;
	top: 50%;
}

.work-block-logo-inner {
	display: flex;
	gap: 20px;
	align-items: center;
}

.work-block-logo-inner .work-description {
	margin-top: 0;
}

.logo-images {
  display: flex;
  align-items: center;
  gap: 40px;
}
.work-block-logo-inner .work-description {
	width: 786px;
}

.work-description,
.first-work-description {
    margin-top: 20px;
}

.logo-images img {
  width: 100%;
  height: auto;
  display: block;
}

.logo-images figcaption {
  margin-top: 12px;
  font-size: 10px;
  text-align: center;
}

.work-image {
  margin: 0;
}

.work-image img {
	width: 100%;
	height: auto;
	display: block;
}

.work-image-marche {
	border: 1px solid #f3f3f3;
}

.top-logo-images {
    display: flex;
}

.top-logo-images .work-image {
        width: 50%;
}


/* キャプション */
.work-image-captions {
  display: flex;
}

.work-image-captions p {
  width: 50%;
  text-align: center;
}



.work-block {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.work-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 左寄せ */
.work-block-left {
  margin-right: auto;
  width: 70%;
}

/* 右寄せ */
.work-block-right {
  margin-left: auto;
}

.works-list {
  display: flex;
  gap: 20px;
}

.work-item {
  width: 50%;
}

.work-item h2 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.15em;
}

.work-item img {
  width: 100%;
  display: block;
}

.view-more-btn {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
}

.view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 180px;
    height: 50px;
    border: 1px solid #1f2933;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #1f2933;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.view-more-arrow {
    position: relative;
    display: block;
    width: 10px;
    height: 18px;
    flex-shrink: 0;
}

.view-more-arrow::before,
.view-more-arrow::after {
    content: "";
    position: absolute;
    left: 1px;
    width: 10px;
    height: 1.5px;
    background: #222;
    border-radius: 999px;
}

.view-more-arrow::before {
    top: 6px;
    transform: rotate(45deg);
}

.view-more-arrow::after {
    bottom: 4px;
    transform: rotate(-45deg);
}

.view-more:hover {
    background-color: #1f2933;
    color: #fff;
    opacity: 1;
}

.view-more:hover .view-more-arrow::before,
.view-more:hover .view-more-arrow::after {
    background: #fff;
}

.work-block-web {
    margin-bottom: 100px;
}

.work-block-flannel {
	width: 77%;
}

/*about*/

.career-item-1 {
    margin-bottom: 16px;
}

.about-container-inner h2{
	margin-bottom: 20px;
}

.container-inner {
	max-width: 1000px;
	margin-left: auto;
    margin-right: auto;
}

.career-row {
  display: grid;
  grid-template-columns: 198px 1fr;
  column-gap: 45px;
  margin-bottom: 16px;
}

.career-row:last-child {
	margin-bottom:0;
}

.career-row dd {
  margin: 0;
}

.career-company-1,
.career-company-2 {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.1em;
}

.career-company-1,
.career-company-2 {
	width: fit-content;
}

/*about*/


.skill-list {
  margin: 0;
}

.skill-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  column-gap: 45px;
  margin-bottom: 16px;
}

.top-about-section-heading {
 padding-bottom: 0;
}

.work-main-image {
  margin: 0;
}

.work-main-image img {
  display: block;
  width: 100%;
  height: auto;
}

.work-content-item {
  width: 100%;
}

.work-content-image img {
  display: block;
  width: 100%;
  height: auto;
}

.work-content-text {
  margin-top: 10px;
}


.work-block-right {
    width: 70%;
}

.work-content-composite {
	width: 50%;
}
.flannel-page-inner h3 {
	margin-bottom: 0;
}

.work-block-banner {
	width: 100%;
    margin-left: 0;
}

.work-images-banner-trisect {
    margin-bottom: 8px;
}

.work-images-banner-bisect,
.work-images-banner-trisect {
	display: flex;
	gap: 8px;
}

.work-image-trisect {
	width: calc(100% / 3);
}

.work-image-bisect {
	width: calc(100% / 2);
}
.work-block-banner img{
	margin-bottom: 0;
}
.work-block-pop {
	width: 73%;
}

.works-work-detail {
	display: flex;
	gap:10px;
}
.works-work-block{
	padding-top: 0;
}
.about-profile-inner {
  width: 727px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-name {
  margin: 0;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: 0.25em;
  font-weight: bold;
}
.about-name-en {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
.about-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-container-inner .work-block  {
		padding-top: 100px;
}

/* =========================
   Footer
========================= */

.footer-inner {
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 80px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
	color: #1f2933;
	text-decoration: none;
	font-size: 18px;
	letter-spacing: 0.05em;
}

.copyright {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  color: #1f2933;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.2em;
}

.fv-writing {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 90%;
    aspect-ratio: 4 / 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.fv-letter {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.fv-letter svg {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-form {
    max-width: 650px;
	margin-left: auto;
	margin-right: auto;
}

.contact-form label {
    display: block;
    margin-bottom: 35px;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #1f2933;
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.contact-form textarea {
	border: 1px solid #1f2933;
	border-radius: 10px;
}

.contact-form textarea {
    height: 180px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: #1f2933;
}

.contact-form p:has(input[type="submit"]) {
    text-align: right;
}

.contact-form input[type="submit"] {
  padding: 5px 10px;
    border: 1px solid #1f2933;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.08em;
    cursor: pointer;
    color: #1f2933;
    -webkit-text-fill-color: #1f2933;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 10px;
}

.wpcf7-spinner {
    display: none !important;
}

@keyframes drawA {
    from {
        stroke-dashoffset: var(--a-length);
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scroll-down {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

}

/* スマホ */
@media screen and (max-width: 767px) {
	body .display-pc{
		display: none;
	  }
	body .display-sp {
		display: block;
	}
	body {
		font-size: 13px;
		line-height: 1.8;
		overflow-x: hidden;
	}
	.header {
		height: 70px;
		position: fixed;
		z-index: 1100;
		top: 0;
        left: 0;
        width: 100%;
		transition: transform 0.4s ease;
	}
	.header.is-hidden {
		transform: translateY(-100%);
	}
	
	.header-inner,
	.container,
	.home .container,
	.footer {
		margin-left: 20px;
		margin-right: 20px;
	}
	
	.header-inner {
		justify-content: end;
	}
	
	.container {
		margin-top: 50px;
	}
	
	.top-work-description {
		margin-top: 0;
	}
	.works-container {
		margin-top: 0;
	}
	
	.section-heading {
		padding: 17px 0px 15px;
	}
	.work-main-image-sp {
		display: block;
	}
	body .hamburger-sp {
		display: flex;
	}
	.section-heading h2 {
		font-size: 20px;
	}
	.section-heading h2 > span {
		font-size: inherit;
		letter-spacing: inherit;
	}
	h3{
		font-size: 18px;
	}
	.work-label {
		font-size: 16px;
	}
	.section-heading span, 
	.work-category span {
    	font-size: 14px;
	}
	.work-description-text {
		font-size: 12px;
	}
	.work-block-right, 
	.work-block-left, 
	.work-block-banner {
		padding: 50px 0 0;
	}
	.top-fv {
		position: relative;
		width: 100%;
		height: 100svh;
		overflow: hidden;
		margin: 0;
	}
	
	.top-fv img {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
	}
	
	.sp-fv {
		position: relative;
		overflow-x: hidden;
	}
	
	.fv-writing-sp {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 100%;
		aspect-ratio: 4 / 1;
		z-index: 2;
        pointer-events: none;
        transform: translate(-50%, -50%) scale(1.5);
        transform-origin: center;
	}
	
	.fv-writing-sp svg {
		
	}

    .scroll-down {
        bottom: 30px;
    }
	
	.scroll-arrow {
		width: 20px;
		height: 20px;
	}
	
  	button.hamburger {
    	width: 24px;
        height: 24px;
        padding: 0;
        border: none;
        background: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: #fff;
  }
	.sp-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #F8F8F6;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .sp-menu ul {
    list-style: none;
    margin: 0;
    padding: 120px 0 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
  }

  .sp-menu a {
    color: #1f2933;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  body.menu-open .sp-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

	.hamburger {
		position: relative;
		width: 24px;
		height: 24px;
		border: none;
		background: none;
		padding: 0;
	}


	.hamburger span:first-child {
		position: absolute;
		top: 50%;
		left: 0;
		width: 18px;
		height: 1px;
		background: #1f2933;
		transform: translateY(-50%);
		transition: transform 0.3s ease;
	}

	.home .hamburger span:first-child,
	.page-id-16 .hamburger span:first-child {
		background: #fff;
	}
	
	.hamburger span:first-child::before,
	.hamburger span:first-child::after {
		content: "";
		position: absolute;
		left: 0;
		width: 18px;
		height: 1px;
		background: #1f2933;
		transition: transform 0.3s ease, top 0.3s ease;
	}
	
	.home .hamburger span:first-child::before,
	.home .hamburger span:first-child::after,
	.page-id-16 .hamburger span:first-child::before,
	.page-id-16 .hamburger span:first-child::after {
		background: #fff;
	}

	.hamburger span:first-child::before {
		top: -6px;
	}

	.hamburger span:first-child::after {
		top: 6px;
	}


	.hamburger span:last-child {
		display: none;
	}


	body.menu-open .hamburger span:first-child {
		background: transparent;
	}

	body.menu-open .hamburger span:first-child::before {
		top: 0;
		transform: rotate(45deg);
	}

	body.menu-open .hamburger span:first-child::after {
		top: 0;
		transform: rotate(-45deg);
	}
	
	body.menu-open .header {
		background-color: #F8F8F6;
	}

	body.menu-open .logo {
		color: #1f2933;
	}

	body.menu-open .hamburger span:first-child::before,
	body.menu-open .hamburger span:first-child::after {
		background-color: #1f2933;
	}
	
	.top-section-heading {
		margin-bottom: 50px;
		margin-top: 50px;
	}
	
	.section-heading-aligned-sp h2{
		display: inline-block;
	}
	
	.works-work-detail {
		display: inline;
		gap:0;
	}
	
	.works-work-block:first-child {
		margin-bottom: 50px;
	}
	
	.work-content-composite,
	.work-block-left,
	.work-block-right,
	.work-block {
		width: 100%;
	}
	
	.work-block-web {
		margin-bottom: 50px;
	}
	
	.work-label {
		position: static;
		padding-left: 0;
		margin-bottom: 18px;
	}

	.work-label::before {
		display: none;
	}
	
	.view-more-btn.display-sp {
		display: flex;
    	padding-top: 28px;
	}
	
	.work-images-banner-bisect,
	.work-images-banner-trisect {
		display: inherit;
        margin-bottom: 0;
		gap: 0; 
	}
	
	.work-image-trisect {
		width: 100%;
		margin-bottom: 10px;
	}

	.work-image-bisect {
		width: 100%;
		margin-bottom: 10px;
	}
	
	.work-image-bisect:last-child {
		margin-bottom: 0;
	}
	
	.view-more-works {
	  display: flex;
	  text-align: end;
	  margin-top: 18px;
	  margin-bottom: 50px;
	}

	.view-more-works a {
	  display: inline-flex;
	  align-items: center;
	  gap: 8px;
	  font-size: 14px;
	  text-decoration: none;
	}

	.view-more-works .view-more-arrow::before, 
	.view-more-works .view-more-arrow::after {
	  width: 8px;
	}
	
	.view-more-works .view-more-arrow::before {
		top: 6px;
	}
	
	.view-more-works .view-more-arrow::after {
		bottom: 6px;
	}
	
	.career-row {
	  display: block;
	  margin-bottom: 10px;
	}
	
	.career-row-title {
		margin-bottom: 15px;
	}
	
	.career-item-1 {
		margin-bottom: 23px;
	}
	
	
	.skill-row {
		display: block;
		margin-bottom: 10px;
	}
	
	.section-heading-about {
		padding-bottom: 30px;
	}
	
	.about-profile-inner {
		width: auto;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 50px;
	  }

	  .about-name {
		font-size: 32px;
		letter-spacing: 0.2em;
	  }

	  .about-name-en {
		margin-top: 15px;
		font-size: 11.5px;
	  }
	
	.career-row-symbol{
		position: relative;
  		padding-left: 15px;
	}
	
	.career-row-symbol:before {
		content: "";
		position: absolute;
		left: 3px;
		top: 0.7em;
		width: 6px;
		height: 6px;
		border: 1px solid #1f2933;
		background: transparent;
		box-sizing: border-box;
		transform: rotate(45deg);
	}
	.work-block-logo-inner {
		display: inline-block;
		width: 100%;
	}
	.work-block-logo-inner .work-description-logo {
		width: 100%;
		margin-top: 20px;
	}
	.about-container-inner .work-block  {
		padding-top: 50px;
}
	.logo-images {
		width: 100%;
		justify-content: center;
	}
	
	.logo-images .work-image {
		width: 280px;
	}
	
	.top-logo-images {
		width: fit-content;
		margin: 0 auto;
	}
	
	.top-logo-images .work-image {
        width: 280px;
}	
	.footer-left {
		flex-direction: row;
		align-items: center;
	}
	
	.footer-inner {
		max-width: none;
		margin: 0;
		padding: 50px 0;
		justify-content: center;
  }
	

}

@media screen and (max-width: 430px) {
	.work-description p {
    	letter-spacing: 0.03em;
	}
	.work-description-text {
		font-size: 11px;
	}
}


