@charset "UTF-8";
:root {
  --background-color: #FFFEFC;
  --font-size-large: clamp(20px, calc(20px + (2 * ((100vw - 480px) / 288))), 24px);
  --font-size-medium: clamp(16px, calc(16px + (1 * ((100vw - 480px) / 288))), 18px);
  --font-size-normal: clamp(14px, calc(14px + (1 * ((100vw - 480px) / 288))), 16px);
  --font-size-small: clamp(12px, calc(12px + (1 * ((100vw - 480px) / 288))), 14px);
  --main-font: "Kiwi Maru", serif;
  --text-color: #333333;
  --bg-color-light: #f9fbfd;
  --primary-color: #19487f;
  --border-color: #e0e0e0;
}

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

body {
  color: #333;
}

img {
  max-width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* ==========================================
   1. 変数定義 & 全体設定
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sen", sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  background-color: #ffffff;
  font-size: var(--font-size-normal);
}

p {
  font-size: var(--font-size-normal);
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 2px;
  position: relative;
  font-family: "Hina Mincho", serif;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 0.8px;
  background-color: var(--text-color);
  margin: 10px auto 0;
}

/* ==========================================
   2. 縦長空背景ゾーン（Hero 〜 Profile）
   ========================================== */
.sky-background-zone {
  background-image: url(../img/cloud.jpg);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
}

.sky-background-zone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  z-index: 1;
}

.sky-background-zone > * {
  position: relative;
  z-index: 2;
}

/* ==========================================
   3. ヒーローセクション
   ========================================== */
.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}

.slogan {
  font-family: "Hina Mincho", serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.sub-title {
  font-size: var(--font-size-large);
  color: #555555;
  letter-spacing: 2px;
}

/* ==========================================
   4. プロフィールセクション（横並び）
   ========================================== */
.profile-section {
  padding: 80px 0 120px;
}

.profile-left {
  display: flex;
  gap: 50px;
  align-items: center;
}

.profile-img-box {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-meta .name {
  font-size: var(--font-size-large);
  font-weight: bold;
  font-family: "Hina Mincho", serif;
}

.profile-meta {
  padding-left: 10px;
}

.profile-meta .location,
.profile-meta .skills {
  font-size: var(--font-size-small);
  color: #666666;
}

.profile-right {
  flex: 1;
}

.profile-right p {
  margin-bottom: 16px;
}

/* ==========================================
   プロフィールセクション（浮かせるデザイン）
   ========================================== */
/* 1. 全体を囲む白いボックスを透明化し、浮かせる影を付ける */
.profile-wrapper {
  background: transparent; /* ★背景を透明に */
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px); /* ★ごく薄いブラー（磨りガラス効果）をかけて透明感を出す */
  padding: 40px;
  border-radius: 12px;
  /* ★ボックスの代わりに、うっすらとした大きな影を付けて「浮かせる」 */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  /* ★背景を見せる面積を増やすため、横幅を少し狭く設定 */
  max-width: 960px; /* 必要に応じて調整 */
  margin: 0 auto; /* 中央寄せ */
}

/* 2. プロフィール画像の影を少し強調して、さらに浮かせる */
.profile-img-box {
  width: 30%;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */ /* ★この行をコメントアウトまたは削除 */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1/1; /* ★影を深く、大きく */
}

/* 3. 文字色を少し濃くして、空背景でも読めるように調整 */
.profile-meta .name,
.profile-meta .location,
.profile-meta .skills,
.profile-right p {
  color: #111111; /* ★より真っ黒に近い色に */
}

/* 4. （オプション）文字の下にごく薄い白を敷いて、読みやすさを完全に担保する */
.profile-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
  border-radius: 12px;
}

/* ==========================================
   5. 実績セクション（横並びカード）
   ========================================== */
.works-section {
  padding: 100px 0;
  background: transparent;
}

.works-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.work-card {
  display: flex;
  gap: 40px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  padding: 30px;
  align-items: center;
}

.work-img-box {
  flex: 0 0 450px;
  border-radius: 8px;
  overflow: hidden;
}

.work-img-box img {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-img-box img {
  transform: scale(1.03);
}

.work-info {
  flex: 1;
}
.work-info a {
  padding-bottom: 20px;
  color: var(--primary-color);
  display: inline-block;
}

.work-title {
  font-size: 22px;
  color: var(--primary-color);
  font-family: "Hina Mincho", serif;
}

.work-details {
  list-style: none;
}

.work-details li {
  font-size: var(--font-size-normal);
  margin-bottom: 12px;
}

/* ==========================================
   6. コンタクトフォームセクション (Contact Form 7 向け)
   ========================================== */
.contact-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.contact-lead {
  text-align: center;
  margin-bottom: 40px;
  font-size: var(--font-size-normal);
}

.contact-form-wrap {
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: var(--font-size-small);
  font-weight: bold;
  margin-bottom: 8px;
}

.required {
  background-color: #e74c3c;
  color: #ffffff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

/* 入力フィールドの共通スタイル */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: var(--font-size-normal);
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
  background-color: #ffffff;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
  border-color: var(--primary-color);
}

/* ラジオボタンまわり */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

.radio-group .wpcf7-list-item {
  margin: 0;
}

.radio-group label {
  font-weight: normal;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 送信ボタン */
.submit-btn {
  display: block;
  width: 100%;
  max-width: 250px;
  margin: 30px auto 0;
  padding: 14px;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: var(--font-size-normal);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background-color: #357abd;
  transform: translateY(-2px);
}

/* CF7のエラー表示などの調整 */
.wpcf7-not-valid-tip {
  font-size: 13px;
  color: #912b20;
  margin-top: 4px;
}

.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 12px !important;
  border-radius: 6px !important;
  font-size: var(--font-size-small);
  text-align: center;
}

/* ==========================================
   7. アニメーション設定（CSS）
   ========================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* --- ヒーローのテキストアニメーション --- */
.hero-inner {
  /* 最初に出現するアニメーション (1.2秒) + 永久にゆらゆらするアニメーション (4秒周期) */
  -webkit-animation: heroFadeIn 1.2s ease-out forwards, floating 4s ease-in-out infinite 1.2s;
          animation: heroFadeIn 1.2s ease-out forwards, floating 4s ease-in-out infinite 1.2s; /* 1.2秒遅れてゆらゆら開始 */
}

.hero-inner {
  -webkit-animation: heroTracking 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
          animation: heroTracking 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.typing-text {
  font-family: "Hina Mincho", serif; /* お好みのフォント */
  font-size: 38px;
  color: #333333;
  letter-spacing: 1.8px;
  /* ▼ タイピング用設定 */
  display: inline-block;
  overflow: hidden; /* はみ出た文字を隠す */
  white-space: nowrap; /* 文字を途中で折り返さない */
  border-right: 1px solid #333333; /* 点滅するカーソル線 */
  width: 0; /* 最初は横幅0（非表示） */
  /* アニメーションの指定 */
  /* 
     typing: 2.5秒かけてタイピング（文字数の9文字に合わせて steps(9) に設定）
     blink: 0.75秒周期でカーソルを点滅
  */
  -webkit-animation: typing 2s steps(9) forwards, blink 0.75s step-end infinite;
          animation: typing 2s steps(9) forwards, blink 0.75s step-end infinite;
}

/* 文字が左から右へ出現するアニメーション */
@-webkit-keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  } /* 文字がすべて見える幅まで広げる */
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  } /* 文字がすべて見える幅まで広げる */
}
/* カーソル（右ボーダー）がチカチカ点滅するアニメーション */
@-webkit-keyframes blink {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #333333;
  }
}
@keyframes blink {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #333333;
  }
}
/* ==========================================
   8. スマホ用レスポンシブ対応（768px以下）
   ========================================== */
@media screen and (max-width: 768px) {
  .hero {
    min-height: 450px;
    padding: 60px 15px;
  }
  .slogan {
    font-size: 24px;
  }
  .sub-title {
    font-size: 15px;
  }
  .profile-left {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    align-items: start;
  }
  .profile-img-box {
    width: 50%;
    margin: 0 auto;
  }
  .profile-img-box img {
    width: 100%;
    height: 300px;
  }
  .profile-meta {
    padding-left: 0px;
    padding-top: 10px;
  }
  .profile-wrapper {
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
  }
  .work-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .work-img-box {
    flex: none;
    width: 100%;
  }
  .work-img-box img {
    height: 100%;
  }
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
  .section-title {
    font-size: 26px;
  }
}
/*# sourceMappingURL=main.css.map */