/*
Theme Name: my-themes
Description: natsumi nakayamaのポートフォリオサイト
Version: 1.0.0
Author: natsumi nakayama
*/
/* 共通 */
body {
    margin: 0;
    font-family: "Sawarabi Gothic", "Noto Sans JP", sans-serif;
    font-style: normal;
    font-size: 16px;
    background-color: #fcfcfc;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    color: #3a4856;
}
img {
    width: 100%;
    display: block;
}
/* ディスプレイ：フレックスまとめて */
.flex {
    display: flex;
}
/* サイズ＆余白 */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 100px 5% 0 5%;
    box-sizing: border-box;
}
section {
    max-width: 1080px;
    margin: 100px auto 0 auto;
}
.space {
    height: 100px;
}
/* ヘッダー＆フッター背景 */
header, footer {
    background-color: #E3EEF4;
}
/* ヘッダー余白 */
header {
    padding: 1.5em 0;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    /* display: flex;
    justify-content: center; */
}
#logo {
    width: 1.5em;
    margin: 0 auto 24px auto;
}
footer {
    padding-bottom: 3%;
    text-align: center;
}
/* worksとabout */
.items {
    max-width: 980px;
    margin: 0 auto;
}
.work-span > a {
    text-align: center;
    color: #999;
}
/* ＝＝＝＝＝
font
＝＝＝＝＝ */
.section-title, h3, .contact-title, a, .copyright {
    font-family: "sofia-pro", sans-serif;
    color: #3a4856;
    text-align: center;
}
/* テキスト行間＆文字間隔 */
p {
    line-height: 2em;
    letter-spacing: 0.05em;
}
/* デコレーションなし */
li, a {
    list-style: none;
    text-decoration: none;
}
.section-title, .contact-title {
    font-size: 2.5em;
    letter-spacing: 0.05em;
}
/* section-title横の線 */
.section-title {
    text-align: left;
    position: relative;
    padding: 50px 0;
    margin: 0;
}
.section-title::before {
    position: absolute;
    top: 55%;
    left: -160px;
    content: "";
    width: 150px;
    height: 1.5px;
    background-color: #93adbf;
}

h3 {
    font-size: 1.5em;
    font-family: "sofia-pro", sans-serif;
    font-weight: bold;
    font-style: normal;
}
/* ＝＝＝＝＝
ヘッダー
＝＝＝＝＝ */
/* ナビゲーション */
/* スマホ用ナビを非表示 */
#nav-pc {
    align-items: center;
    box-sizing: border-box;
}
.menu-items {
    display: none;
}

#nav-pc  ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}
#nav-sp {
    display: block;
    position: fixed;
    top: 0;
    right: -300px;
    bottom: 0;
    width: 300px;
    height: 500px;
    border-radius: 0 0 0 50px;
    background: #fcfcfc;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
    filter: drop-shadow(1px 1px 5px #3a4856);
}

.open #nav-sp {
    right: 0;
    opacity: 1;
}
#nav-sp .inner {
    height: 500px;
    padding:  25px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
#nav-sp .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#nav-sp .inner ul li {
    position: relative;
    margin: 0;
}
#nav-sp .inner ul li a {
    display: block;
    /* font-size: 14px; */
    /* padding: 1em; */
    text-decoration: none;
    transition-duration: 0.2s;
}
.list-sp > .link {
    margin: 5px 0;
}

/*============
#mask
=============*/
#mask {
    display: none;
    transition: all .5s;
}
.open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

/* メインビジュアル */

.main-visual-section {
   padding: 0;
    max-width: 1200px;
}
.wrap-video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    
}
.mv-text {
    font-size: 12px;
    font-family: "sofia-pro", sans-serif;
    margin: 0;
}
/* ナビゲーションフォント設定 */
.link {
    margin: 0 5px;
    padding: 4px 20px 8px 20px;
    border-radius: 1.5rem;
    transition:0.2s;
    font-weight: bold;
    text-decoration: none;
    position: relative;
}
.link:hover {
    background-color: #3a4856;
    color: #fcfcfc;
}

/*============
 works 
============*/

.grid {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}
.zoom-box {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
}
.zoom {
    background-image: url(image/No_Image.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: inline-block;
    transition: .8s;
    height: 100%;
    width: 100%;
}
.item > img {
    height: 100%;
}
.worksHoverButton:hover .zoom {
    transform: scale(1.05);
}
.workImage01 {
    background-image: url(image/morikaraImage/pc-1.png);
}
.workImage02 {
    background-image: url(image/cafe-Harmony/cafe-thum.png);
}
/* ==========
about
========== */

.about-items {
    justify-content: space-between;
    align-items: flex-end;
}

.about-text {
    width: 55%;
    padding-right: 5%;
}
.about-text > div > h3, .about-text > p {
    text-align: left;
}
.about-text > div > h3 {
    margin-top: 0;
}
.about-text > div > p {
    margin: 0;
}
.about-img {
    width: 33%;
    opacity: .9;
    filter: brightness(1.05);
}
.about-img > img {
    width: 100%;
}

/* read-more(worksと共通) */
.read-more {
    text-align: right;
    margin-top: 50px;
}
.more-link::after {
    content: "";
    /* 文字サイズ＋20px */
    width: calc(100% + 20px);
    height: 1px;
    background-color: #3a4856;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all 0.4s;
}
/* 下線短く */
.more-link:hover::after {
    width: 100%;
}
.more-link {
    font-weight: bold;
    position: relative;
}


/* ==========
contact
========== */
.contact-title {
    display: inline-block;
    margin-top: -50px;
    letter-spacing: 0.25em;
    color: #3a4856;
    margin: 0 0 50px 0;
}
mark {
    background-color: #fcfcfc;
    text-decoration: underline rgba(147,173,191,0.4) 7px;
    text-underline-offset: 0px;
}
.contact-text {
    margin: 50px;
}
.contact_text_wrap {
    text-align: center;
}
.contact_text_box {
    border: 5px double #93adbf;
    border-radius: 10px;
}
/* フォーム全体のスタイル */
.wpcf7 {
    margin: 80px auto;
}
.wpcf7-text, .wpcf7-textarea, .wpcf7-submit {
    width: 100%;
    height: 50px;
    border: none;
    background-color: rgba(147,173,191,0.4);
    border-radius: 10px;
}
.wpcf7-textarea {
    height: 100px;
}
/* クリック時ボックスシャドウつける */
.wpcf7 input:focus-visible, .wpcf7 textarea:focus-visible {
  outline: none;
  box-shadow: 0px 0px 5px #93adbf;
  transition: .2s;
}
/* 送信ボタン */
.wpcf7-submit {
    max-width: 130px;
    display: block;
    margin: auto;
    letter-spacing: 5px;
    cursor: pointer;
    transition: .2s;
}
.wpcf7-submit:hover {
    box-shadow: 0px 0px 5px #93adbf;
    transition: .2s;
}
/* 必須・入力不備文カラー */
.red, .wpcf7 .wpcf7-not-valid-tip {
    color: #c89a9a;
}
/* 送信下に出る「確認してください」文 */
.wpcf7 form.invalid .wpcf7-response-output {
    border: none;
    color: #c89a9a;
    text-align: center;
    margin: 0;
    padding: 0;
}
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.invalid .wpcf7-response-output::after {
    content: " ! ";
    width: 1em;
    height: 1em;
    color: #c89a9a;
}
/* =====Googleリキャプチャ===== */
/* Googleリキャプチャテキスト */
.recapture-text {
	font-size: 0.8em;
	text-align:center;
	color:#999;
}
.recapture-text > a {
	color:#999;
	transition: .3s;
	position:relative;
}
/* リキャプチャ下線 */
.recapture-text > a::after {
	content: "";
    width: 100%;
    height: 1px;
    background-color: #999;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: 0.3s;
}
.recapture-text > a:hover::after {
	bottom: -3px;
	transition: .3s;
}
/* Googleリキャプチャマーク消す*/
.grecaptcha-badge {
	display: none !important; 
}
/* =====フッター===== */
/* contactのボタン*/
.button a {
    background-color: #3a4856;
    border-radius: 50px;
    transition: 0.5s;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 260px;
    padding: 10px 25px;
    color: #fcfcfc;
    font-weight: 500;
}
/* 矢印を少し右へ */
.button a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #fcfcfc;
    border-right: 3px solid #fcfcfc;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button a:hover:after {
    right: 10px;
}
/* =====JS===== */
/* 要素の中に入ったらフェードイン */

.fadeIn {
    /* 初期非表示 */
    opacity: 0;
    transform: translate( 0, 100px);
    transition: 2s;
}
/* フェードイン */
.fade-in {
    transform: translate(0, 0);
    opacity: 1;
}
.box {
    height: calc(100vh - 600px);
}
/*
=========
SPスタイル
========= */
@media screen and (max-width: 768px) {
    header {
        padding: 0.5em 0;
    }
    .container {
        padding: 32px 5% 0 5%;
    }
    #logo {
        width: 1em;
        margin: 0 auto;
    }
    .mv-text {
        font-size: 9px;
    }
    section {
        margin: 0;
    }
    /* ナビマージン０に */
    .link {
        margin: 0;
    }
    /* MV */
    .wrap-video {
        height: calc(100vh - 86px);
    }
    /* ナビ */
    #nav-pc {
        padding: 10px;
    }
    #nav-sp, .inner {
        height: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    /* works */
    .grid {
        gap: 20px;
		grid-template-columns: 1fr;
    }
    /* ABOUT */
    .about-items {
        flex-direction: column-reverse;
    }
    .about-text {
        padding: 0;
    }
    .about-text, .about-text > div > p {
        width: 100%;
    }
    .about-img{
        width: 60%;
        margin-bottom: 30px;
    }
    /* contact */
    .contact-text {
        margin: 0;
    }
    .box {
        height: calc( 100vh - 80.5px);
    }
}
