/*
Theme Name: ポートフォリオ
Description: 杉山莉奈のポートフォリオテーマです。
Author: Rina Sugiyama
Version: 1.0
*/
@charset "utf-8";

/* ------------------------------
カラーコード
------------------------------ */
:root {
    --white: #fff;
    --beige: #f9f9f8;
    --brown: #433b34;
}
/* ------------------------------
背景・文字
------------------------------ */
* {
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
    /* 16px * 62.5% = 10px */
    width: 100%;
    box-sizing: border-box;
    background-image: url("assets/bg.jpg");
    scroll-behavior: smooth;
}
body {
    box-sizing: border-box;
    color: var(--brown);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
    line-height: 2.4rem;
    text-align: center;
    letter-spacing: 0.07rem;
}
h1, h2 {
    box-sizing: border-box;
    font-weight: 600;
    font-size: 2.0rem;
    line-height: 4.0rem;
    letter-spacing: 0.2rem;
}
time {
    letter-spacing: 0.2rem;
}
a {
    color: var(--brown);
    text-decoration: none;
}
a:hover {
    opacity: 0.5;
}
.none {
    display: none;
}
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
@media(max-width:600px) {
    body {
        font-size: 1.4rem;
        line-height: 2.1rem;
        letter-spacing: 0.1rem;
    }
    h1, h2 {
        font-size: 1.6rem;
        line-height: 3.2rem;
        letter-spacing: 0.2rem;
    }
}
/* ------------------------------
ハンバーガーメニュー
------------------------------ */
#header-container {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 80px 0 80px 6%;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    background: var(--beige);
    z-index: 100;
    transition: opacity 0.4s ease-in-out, max-height 0.4s ease-in-out;
  }
  #header-container.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    z-index: 1500;
    padding: 20% 0;
    align-items: center;
    justify-content: center;
  }
  
  #header-container.closing {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
  }
  .header_navigation {
    margin: 10% 0;
  }
  .header_navigation ul li {
    padding: 12px;
    text-align: center;
    letter-spacing: 0.1rem;
  }
  .header_logo{
    margin-bottom: 10%;
  }
  .header_logo img {
    width: 40vw;
    max-width: 400px;
  }
  @media (max-width: 600px) {
    .header_logo img {
        width: 50%;

      }
  }
  /* ------------------------------
  ハンバーガーメニュー（常に表示）
  ------------------------------ */

  .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 60px;
    right: 60px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2000;
    background: transparent;
    border: none;
    padding: 0;
  }
  .hamburger span {
    position: absolute;
    width: 80%;
    height: 2px;
    background: var(--brown);
    border-radius: 2px;
    transition: all 0.4s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 8px;
  }
  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .hamburger span:nth-child(3) {
    bottom: 8px;
  }
  .hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
  
  @media (max-width: 600px) {
    .hamburger {
      right: 20px;
    }

  }

/* ------------------------------
MV
------------------------------ */
#mv{
    height: 60vh;
    width: 100%;
    margin: 0 auto;
}
.mv-container{
    margin: 25vh auto 30vh;
    width: 70%;
}
.mv-logo{
    position: relative;
}
.mv-logo img{
    width: 50vw;
    min-width: 200px;
    max-width: 500px;
    object-fit: contain;
}
.mv-bg{
    width:100%;
    height: 160%;
    position: absolute;
    top: -40%;
    left: -10%;
     background-image: url("assets/watercolor.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
  }
.scrolldown{
	position:absolute;
	left:50%;
	bottom:10vh;
	height:50px;
}
.scrolldown span{
	position: absolute;
	left:-20px;
	top: -40px;
	color: var(--brown);
	font-size: 1.4rem;
	letter-spacing: 0.05em;
}

.scrolldown::after{
	content: "";
	position: absolute;
	top: 0;
	width: 1px;
	height: 30px;
	background: var(--brown);
	animation: pathmove 2.0s ease-in-out infinite;
	opacity:0;
}
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}


/* ------------------------------
メッセージ
------------------------------ */
.section-message {
    margin: 100px auto;
    width: 80vw;
    height: auto;
  }
  .section-message p {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    letter-spacing: 0.1rem;
         font-size:clamp(1.2rem, 4.0vw, 1.4rem); 
    line-height: 4.0rem;
    border-bottom: solid 1px rgba(80,60,44,0.5);
    padding: 15px 20px;
  }
  @media(min-width:1000px) {
    .section-message {
      margin: 160px auto 0;
    }
    .section-message p{
      max-width: 400px;
      padding: 0 20px;
       font-size:clamp(1.2rem, 4.0vw, 1.6rem); 
    line-height: 7.0rem;
    }
  
  }

/* ------------------------------
セクションタイトル
------------------------------ */
.section-title{
    position: relative;
    overflow-x: hidden;
}
.section-title h2 {
    padding: 200px 0 80px 0;
  }
  .title-bg{
    width: 100%;
    max-width: 360px;
    height: 100%;
    top: 0;
    position: absolute;
     background-image: url("assets/watercolor.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
  }
.section-content{
        margin: 30px auto;
        width: 80vw;
      
}
.section-content > p{
    width: 90%;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: justify;
    line-height: 3.0rem;
    letter-spacing: 0.2rem;
  }
  @media (max-width: 600px){
    .section-title h2 {
        padding: 80px 0 40px;
      }
      .section-title h2 img{
        width: 60%;
        max-width: 160px;
      }
  }

/* ------------------------------
制作実績
------------------------------ */
  .section-website ul, .section-banner ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
  }
  .section-website ul li a {
    display: block;
    padding: 30px;
    text-decoration: none;
    color: var(--brown);
  }
  .section-website ul li {

      width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .section-website ul li img {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    vertical-align: bottom;
    margin-bottom: 20px;
    /* aspect-ratio: auto 530 / 350; */

  }
  .section-banner ul li{
    margin: auto;
    padding: 10px;
    width: 50%;
    max-width: 320px;
  }
  .section-banner ul li img {
    width: 100%;
    max-width: 300px;
    object-fit: cover;
    vertical-align: bottom;
  }
  @media(min-width:800px) {
    .section-website ul li {
        padding: 20px ;
          width: 50%;
      }
  }
/* ------------------------------
プロフィール
------------------------------ */
.section-profile {
    margin: 100px auto;
  }
  .section-profile .section-content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-height: 500px;
  }
  .section-profile_img {
    width: 40%;
    display: flex;
    align-items: center; 
    justify-content: center;
  }
  .section-profile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
  }
.section-profile_text{
    width: 40%;
    padding: 5%;
    background-color: var(--beige);
}
.section-profile_text h2{
  margin-bottom: 40px;
  position: relative;
}
.section-profile_text h2::after{
  content: "";
  bottom: -15px;
  left: 50%;
  transform: translateY(-50%) translateX(-50%); 
  width: 30px;
  height: 3px;
  background-color: var(--brown);
  position: absolute;
}
    .section-profile_text p{
        text-align: justify;
        margin-bottom: 20px;
    }

    .section-career{
      margin: 0 auto 100px;
    }
    .section-career h2{
      margin-bottom:20px;
    }
    .section-career li{
display: flex;
justify-content: center;
    }
.section-career .career-time{
  width: 120px;
  padding: 10px 30px;
  position: relative;
}
.section-career .career-time::after{
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 20px;
  right: -3px;
  border-radius: 50%;
  background-color: var(--brown);
}
.section-career .career-text{
  padding: 10px 30px;
  width: 70%;
  max-width: 700px;
  text-align: left;
  border-left: 1px solid var(--brown);
}
.section-career .career-text h3{
  padding-bottom: 20px;
}
.section-career .career-text h4{
  padding: 0 10px 20px;
}

.section-career .career-text p{
  padding: 0 10px 20px;
}
.section-career .career-list{
  padding: 0 10px 10px;

}
.section-career .career-list li{
  justify-content: start;
}
.section-list .section-content{
    width: 60%;
    display: flex;
    flex-wrap: wrap;
}
  .list-container {
    margin-bottom: 40px;
    width: 50%;
    padding: 20px;
  }
  .list-container h2{
    margin-bottom: 20px;
  }

  .list-container ul li{
    margin-bottom: 30px;
  }
  .list-container ul li h3{
    margin: 0 auto 30px;
    position: relative;
  }
  .list-container ul li h3::after{
    content: "";
    bottom: -15px;
    left: 50%;
    transform: translateY(-50%) translateX(-50%); 
    width: 30px;
    height: 3px;
    background-color: var(--brown);
    position: absolute;
  }
  .list-container  p{
    text-align: left;
    max-width: 200px;
    margin: 0 auto;
  }
  .skill-list img{
    height: 40px;
    margin: 10px;
  }
  .skill-list li p{
    max-width: 300px;
    display: flex;
    justify-content: center;
  }
  @media(max-width:800px) {
    .section-profile .section-content {
      width: 100%;
    }
    .section-career li{
      display: flex;
      flex-direction: column;
      justify-content: start;
          }
          .section-career .career-time{
            width: 120px;
            padding: 10px 30px;
            text-align: left;
            margin: 0 auto 0 0;
            border-left: 1px solid var(--brown);
          }
          .section-career .career-time::after{
            left: -3px;
          }
          .section-career .career-text{
            padding: 10px 0 10px 30px;
            width: 100%;
            text-align: left;
            border-left: 1px solid var(--brown);
          }
          .section-career .career-list{
           align-items:unset;
          }
    .section-list .section-content{
      width: 100%;
      flex-direction: column;
      align-items: center;
  }
  }
  @media (max-width: 600px){
    .section-profile .section-content {
      width: 80%;
      flex-direction: column;
      align-items: center;
      max-height: 600px;
    }
    .section-profile_img, .section-profile_text{
      width: 100%;
    }
    .section-profile_img img {
      max-height: 300px;
    }
  }

/* ------------------------------
お問い合わせ
------------------------------ */
.wpcf7 form {
  background-color: var(--beige);
  padding: 40px;
  border-radius: 12px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 各フィールドの間隔とlabelスタイル */
.wpcf7-form .form-item {
  display: block;
  margin-bottom: 20px;
  text-align: left;
  color: var(--brown);
  font-weight: bold;
  font-size: 1.6rem;
}
.wpcf7-form .required{
  padding-left: 10px;
  color: #9D2026;
} 

.wpcf7-form .form-content {
  margin-bottom: 30px;
}

/* 入力欄 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  color: var(--brown);
  font-size: 1.6rem;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(67, 59, 52, 0.15);
  outline: none;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #aaa;
  font-style: italic;
}

.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

/* チェックボックスエリア */
.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wpcf7-checkbox label {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  line-height: 1.6;
  cursor: pointer;
}

.wpcf7-checkbox input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.5);
  accent-color: var(--brown); /* ブラウン色に */
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  font-size: 1.4rem;
  font-style: normal;
}

.wpcf7-submit {
  display: block; 
  margin: 0 auto; 
  background-color: var(--brown);
  color: var(--white);
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1.6rem;
  cursor: pointer;
 text-align: center;
  transition: background-color 0.3s;
}

.wpcf7-submit:hover {
  background-color: var(--brown);
}

/* メッセージ表示 */
.wpcf7-response-output {
  margin-top: 20px;
  color: var(--brown);
  font-weight: bold;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #9D2026;
}
.wpcf7-not-valid-tip {
  color: #9D2026;
  font-size: 1em;
  font-weight: normal;
  display: block;
  text-align: left;
}

/* ------------------------------
フッター
------------------------------ */
footer {
    margin-top: 100px;
    width: 100%;
}
footer small {
    font-size: 1.4rem;
    display: block;
    padding: 50px 0;
}
@media (max-width: 600px) {
    footer {
        margin-top: 60px;
    }
    footer small {
        font-size: 1.2rem;
    }
}

/* ------------------------------
アニメーション
------------------------------ */
.fade {
  animation: fade 3s forwards;
}

@keyframes fade {
  0% {opacity: 0}
  100% {opacity: 1}
}
/* その場でフェードイン */
.fadeIn {
    transition: 2s;
    opacity: 0;
}
.fadeIn.animated {
    opacity: 1;
}
/* 1.0秒後にフェードイン */
.fadeIn-after10 {
    transition: 2s;
    transition-delay: 1.0s;
    opacity: 0;
}
.fadeIn-after10.animated {
    opacity: 1;
}
/* 0.5秒後にフェードイン */
.fadeIn-after05 {
    transition: 2s;
    transition-delay: 0.5s;
    opacity: 0;
}
.fadeIn-after05.animated {
    opacity: 1;
}
/* 1.5秒後にフェードイン */
.fadeIn-after15 {
    transition: 2s;
    transition-delay: 1.5s;
    opacity: 0;
}
.fadeIn-after15.animated {
    opacity: 1;
}
/* 上からフェードイン */
.fadeIn-top {
    transform: translate3d(0, -50px, 0);
    transition: 2s;
    opacity: 0;
}
.fadeIn-top.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}
/* 下からフェードイン */
.fadeIn-under {
    transform: translate3d(0, 50px, 0);
    transition: 2s;
    opacity: 0;
}
.fadeIn-under.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}
/* 右からフェードイン */
.fadeIn-right {
    transform: translate3d(50px, 0, 0);
    transition: 2s;
    opacity: 0;
}
.fadeIn-right.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}
/* 左からフェードイン */
.fadeIn-left {
    transform: translate3d(-50px, 0, 0);
    transition: 2s;
    opacity: 0;
}
.fadeIn-left.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}


/* ------------------------------
リンク位置調整
------------------------------ */
.anchor-clean {
    display: block;
    padding-top: 120px;
    margin-top: -120px;
  }

/* ------------------------------
リキャプチャ
------------------------------ */
.grecaptcha-badge {
  opacity: 0.3;
  }
  .grecaptcha-badge:hover {
    opacity: 1.0;
    }