/*
Theme Name:sakas_theme
Theme URI: https://wordpress.org/themes/sakas_theme/
Author: kosaka
Author URI: https://wordpress.org
Description: sakas_theme emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* ----------------------------------------------- 共通 ----------------------------------------------- */
html, body {
  scroll-behavior: smooth;
  color: #333 !important;
  font-family: 'Noto Sans JP', '游ゴシック体', YuGothic, sans-serif !important;
  font-size: 16px;
}
.main-inner {
  margin: 12rem 0 6rem;
}
body {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.43,0,.55,1);
}
body.is-page-loaded {
  opacity: 1;
}
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  font-weight: 500;
}
.section-caption {
  color: #bda96b;
  font-size: clamp(12px, 3vw, 15px);
  letter-spacing: 0.13em;
  font-weight: 400;
}
.section-title-main {
  color: #333;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  font-family: 'Bentham', serif;
}
a {
	color:#333;
  text-decoration: none;
}
/*スクロールアニメーション*/
.scroll-fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s cubic-bezier(.39,.58,.57,1), transform 0.4s cubic-bezier(.39,.58,.57,1);
  will-change: opacity, transform;
  transition-delay: 0.5s; 
}
.scroll-fade.is-in {
  opacity: 1;
  transform: translateY(0);
}
/* ノートPC用 */
@media (max-width: 1580px) {
  html, body {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .section-caption {
    color: #bda96b;
    font-size: 0.8rem;
    letter-spacing: 0.13em;
  }
  .section-title-main {
    color: #333;
    font-size: 2.3rem;
    font-weight: 500;
    font-family: 'Bentham', serif;
  } 
  html, body {
    font-size: 14px;
  }
  .main-inner {
    margin: 9rem 0 5rem;
  }
}
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/* ----------------------------------------------- ヘッダー ----------------------------------------------- */
header {
  position: fixed;
  top: 1.5em;
  left: 0;
  width: 100vw;
  z-index: 100;
  padding: 0 4vw 0 3.5vw;
}
.header-fade {
  opacity: 0;
  transition: opacity 1s;
}
.header-fade.is-loaded {
  opacity: 1;
}
.logo {
  transition: opacity 0.2s;
}
.logo:hover {
  opacity: 0.7;
}
.logo img.logo-pc {
  height: 75px;
  width: auto;
  padding: 1.2rem 0 0;
}
.logo img.logo-sp {
  height: 38px; 
  width: auto;
}
.btn-contact {
  display: inline-flex; 
  align-items: center;
  gap: 0.6em;
  padding: 0.2rem 1.4rem 0.2rem 1.2rem;
  font-size: 1.1em;
  background-color: #cab06a;
  color: #fff;
  border-radius: 2em;
  transition: background 0.2s;
  border: none;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
}
.btn-contact .icon {
  margin-bottom: 4px
}
.btn-contact .icon-envelope svg {
  width: 25px;
  height: 20px;
}
.btn-contact:hover {
  background-color: #333;
  color: #fff;
}
.nav-link {
  color: #333;
  font-weight: 700;
  margin-right: 1.5rem;
  letter-spacing: 0.05em;
  font-size: 1.2em;
  transition: color 0.3s ease;
}
.nav-link:last-child {
  margin-right: 0;
}
.nav-link.active {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.nav-link:hover,
.nav-link:focus {
  color: rgb(200, 177, 108);
}
@media (max-width: 1580px) {
  .logo img.logo-pc {
    height: 60px; 
    width: auto;    
    padding: 1rem 0 0;
  }
}
@media (min-width: 899px) {
  .logo-sp {
    display: none;
  }
}
@media (max-width: 900px) {
  .logo-sp {
  display: block;
  margin-top: 10px;
  transition: transform 0.5s cubic-bezier(.43,0,.55,1), opacity 0.5s cubic-bezier(.43,0,.55,1);
  }
  .logo-sp.hide-on-scroll {
    transform: translateY(-20%);
    opacity: 0;
  }
  .logo-sp img {
    height: 60px; 
    width: auto;
  }
  .logo-pc {
    display: none;
  }
  header {
    width: 100vw;
    z-index: 100;
    padding: 1.2rem 1.8rem 0;
    top:0;
  }
}
/* ----------------------------------------------- ハンバーガーメニュー ----------------------------------------------- */
.hamburger {
  position: fixed;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3000;
  right: 15px;
}
.hamburger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 4px;
  background: #111;
  border-radius: 2px;
  transition: none; 
}

/* 通常の三本線 */
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 28px; opacity: 1; }
.hamburger span:nth-child(3) { top: 40px; }

/* --- アクティブでアニメ実行 --- */
.hamburger.animate-open span { animation-duration: 0.6s; animation-fill-mode: forwards; }/* ●●秒で動きそのアイコンの状態をキープする */
.hamburger.animate-open span:nth-child(1) { animation-name: burgerOpen1; }
.hamburger.animate-open span:nth-child(2) { animation-name: burgerOpen2; }
.hamburger.animate-open span:nth-child(3) { animation-name: burgerOpen3; }

.hamburger.animate-close span { animation-duration: 0.8s; animation-fill-mode: forwards; }/* ●●秒で動きそのアイコンの状態をキープする */
.hamburger.animate-close span:nth-child(1) { animation-name: burgerClose1; }
.hamburger.animate-close span:nth-child(2) { animation-name: burgerClose2; }
.hamburger.animate-close span:nth-child(3) { animation-name: burgerClose3; }

/* --- ×状態をキープ--- */
.hamburger.is-x span:nth-child(1) {
  top: 28px;
  transform: rotate(45deg);
}
.hamburger.is-x span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-x span:nth-child(3) {
  top: 28px;
  transform: rotate(-45deg);
}

/* --- 開くアニメーション --- */
@keyframes burgerOpen1 {
  0%   { top: 16px; transform: rotate(0); }
  60%  { top: 28px; transform: rotate(0); }
  100% { top: 28px; transform: rotate(45deg); }
}
@keyframes burgerOpen2 {
  0%   { opacity: 1; }
  40%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes burgerOpen3 {
  0%   { top: 40px; transform: rotate(0); }
  60%  { top: 28px; transform: rotate(0); }
  100% { top: 28px; transform: rotate(-45deg); }
}

/* --- 閉じるアニメーション --- */
@keyframes burgerClose1 {
  0%   { top: 28px; transform: rotate(45deg); }
  50%  { top: 28px; transform: rotate(0); }
  100% { top: 16px; transform: rotate(0); }
}
@keyframes burgerClose2 {
  0%   { opacity: 0; }
  55%  { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes burgerClose3 {
  0%   { top: 28px; transform: rotate(-45deg); }
  50%  { top: 28px; transform: rotate(0); }
  100% { top: 40px; transform: rotate(0); }
}

.mobile-menu {
  opacity: 0;
  z-index: 2000;
  flex-direction: column;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(246,245,243,0.99);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-40px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(.55,.09,.68,.53), transform 0.5s cubic-bezier(.55,.09,.68,.53);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.menu-items {
  text-align: center;
}
.menu-items ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-items ul li {
  margin: 1.2em 0;
  padding: 0.9rem 2.5rem 1.5rem;
  border-bottom: 1px solid #999;
}
.menu-items a {
  color: #333;
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.menu-items .desc {
  color: #cab06a;
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0em;
  letter-spacing: 0;
}
.menu-items .btn-contact {
  display: inline-block;
  margin-top: 1.5em;
  padding: 0.6em 2.5em;
  font-size: 1.2rem;
}
/* レスポンシブで切り替え */
@media (max-width: 990px) {
  .main-nav { display: none !important; }
  .hamburger { display: block !important; }
}
@media (min-width: 991px) {
  .mobile-menu { display: none !important; }
  .hamburger { display: none !important; }
}

/* ----------------------------------------------- メインビジュアル ----------------------------------------------- */
.mainvisual {
  position: relative;
  overflow: hidden; 
  margin: 5rem 2.5vw 3rem;
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity 2s cubic-bezier(.43,0,.55,1),
    filter 2s cubic-bezier(.43,0,.55,1);
}
.mainvisual.is-loaded {
  opacity: 1;
  filter: blur(0);
}
.mainvisual-title {
  position: absolute;
  top: 35%;
  left: 8%;
  font-family: 'Bentham', serif;
  line-height: 1.2;
  letter-spacing: .08em;
  font-size: clamp(3.3rem, 4vw, 8rem);
}
.js-fadein {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px); 
  transition:
    opacity 0.9s,
    filter 0.2s,
    transform 0.9s; 
}
.js-fadein.is-loaded {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0); 
}
.mainvisual-title .desc {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1rem, 1vw, 2rem);
  margin-left: 0.2rem;
}
.komorebi {
  position: absolute;
  top: -5px; left: -10px;
  height: 80%;
  pointer-events: none;
  opacity: 1;
  animation: komorebiMove 1s ease-in-out infinite alternate;
}
@keyframes komorebiMove {
  0%   { transform: translate(0px, 0px) scale(1) rotate(1deg);}
  100% { transform: translate(20px, 10px) scale(1.08) rotate(5deg);}
}

@media (max-width: 900px) {
  .mainvisual {
  margin: 0;
}
  .komorebi {
    top: -22px;
    left: -33px;
    width: 100%;
    height: 75%;
    }
  .mainvisual-title {
    top: 35%;
    left: 8%;   
  }
}
/* ----------------------------------------------- イントロダクション ----------------------------------------------- */
.intro-section {
  padding: 6rem 0 7rem 0;
  background: #fff;
}
.container {
  max-width: 1400px;
  width: 80%;
} 
.intro-label {
  color: #c8b16c;
  font-size: clamp(12px, 3vw, 15px);
  letter-spacing: 0.13em;
  font-weight: 400;
}
.intro-text h2 {
  font-size: clamp(32px, 3vw, 48px);
  margin: 0 0 1em 0;
  font-family: 'Bentham', serif;
  letter-spacing: 0.08em;
}
.intro-lead {
  font-size: clamp(27px, 2.5vw, 35px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.13em;
  font-family: 'Shippori Mincho', serif;
}
.intro-detail {
  font-size: 1rem; 
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: #666;
  width: 90%;
}
.intro-img img {
  max-width: 100%;
  margin-left: 2rem;
}
@media (max-width: 991px) {
  .container {
    width: 100%;
  }
  .intro-lead {
    font-size:1.6rem;
  }
  .intro-section {
    padding: 5rem 0 4rem 0;
  }
  .intro-text {
    text-align: center;
    margin: 0 auto;
  }
  .intro-img {
    display: none;
  }
  .intro-detail {
    letter-spacing: 0.04em;
    max-width: 80%;
    margin: 0 auto;
    line-height: 2;
  }
  .intro-label {
    font-size: 0.8rem;
    letter-spacing: 0.13em;
    font-weight: 500;
  }
  .intro-text h2 {
  font-size: 2.4rem; 
  margin: 0 0 20px 0; 
}
}
/* ----------------------------------------------- スキル（トップ）  ----------------------------------------------- */
.skills-section {
  position: relative;
  overflow: hidden;
  background: #F6F5F3;
  border-radius: 60px 60px 0 0;
  padding: 7rem 0 5rem 0;
  background-image: url('/wp-content/themes/sakas_theme/assets/images/img_skills_backbottom.jpg');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 20% auto; 
}
.skills-section .komorebi {
  position: absolute;
  top: -20px;
  left: -9vw;
  height: 70%;
  width: 60%;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
  animation: komorebiMove 0.8s ease-in-out infinite alternate;
}
@keyframes komorebiMove {
  0%   { transform: translate(0px, 0px) scale(1) rotate(1deg);}
  100% { transform: translate(20px, 10px) scale(1.08) rotate(5deg);}
}
.skills-inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 0 3vw;
  max-width: 1100px;
}
.skills-head {
  text-align: center;
  margin-bottom: 56px;
}
.skills-caption {
  color: #bda96b;
  letter-spacing: 0.13em;
  font-size: 1rem;
  margin-bottom: 10px;
}
.skills-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 2.6rem;
  letter-spacing: 0.18em;
  color: #333;
  margin: 0;
  font-weight: 500;
}
.skills-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.skill-item {
  text-align: center;
  margin: 0 24px 36px 24px;
  background: transparent;
  flex: 1 1 120px; 
  box-sizing: border-box;
  background: transparent;
}
.skill-icon {
  width: 10vw;  
  max-width: 190px; 
  min-width: 170px;
  aspect-ratio: 1/1;  
  margin: 0 auto 22px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 24px #0001; 
}
.skill-icon img {
  width: 75%;
  object-fit: contain;
  opacity: 0.9;
}
.skill-title {
  margin: 0 0 14px -10px;
  font-size: clamp(20px, 1.5vw, 26px);
  letter-spacing: 0.05em;
  font-family: 'Shippori Mincho', serif;
  color: #333;
  font-weight: 600;
}
.skill-title span {
  color: #bda96b;
  font-weight: 700;
  margin-right: 6px;
  font-size: 1.12em;
}
.skill-desc {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: #777;
  margin: 0;
  text-align: left;
}
@media (min-width: 900px) and (max-width: 1580px){
.container {
  width: 80%;
}
}
@media (max-width: 768px) {
  .skills-section {
  background-image: url('/wp-content/themes/sakas_theme/assets/images/img_skills_backbottom.jpg');
  background-size: 40% auto; 
}
  .skills-section {
  padding: 5.5rem 0 3rem 0;  
}
  .skills-inner {
  padding: 0 4vw;
}
  .skills-section .komorebi {
  top: -22px;
  left: -39px;
  width: 58%;
}
  .skill-item {
  display: flex;
  padding: 0;
  margin: 0 1vw 24px;
  gap: 3vw;
  align-items: center;
}
  .skill-title {
  margin: 0 0 10px 0;
  font-family: 'Shippori Mincho', serif;
  font-size: 1.2rem;
  }
  .skill-text {
  text-align: left;
  } 
  .skill-title span {
  color: #333;
  font-weight: 600;
  margin-right: 6px;
  font-size: 1.1em;
  }
  .skill-desc {
  color:#888;
  font-size: 0.95rem;
  }
  .skill-icon  {
  min-width: 105px;
  aspect-ratio: 1 / 1;
  margin: 0px;
  }
  .skills-list {
  grid-template-columns: repeat(1, 1fr);
  }
  .skills-head {
  margin-bottom: 30px;
}
}
/* ----------------------------------------------- 実績（トップ）  ----------------------------------------------- */
.works-section {
  padding: 8rem 0 5rem 0;
  position: relative;
  /*background-image: url('/wp-content/themes/sakas_theme/assets/images/works_backtext.png');
  background-repeat: repeat-x;
  background-position: center calc(100% - 20px); 
  background-size: auto 160px;  
  animation: sakasScroll 20s linear infinite;*/
}
/*@keyframes sakasScroll {
  0% { background-position-x: 0; }
  100% { background-position-x: 100vw; }
}*/
.works-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4カラム固定 */
  gap: 2vw;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 1rem 0;
  width: 90%;
}
.work-card {
  background: #fff;
  border-radius: 1.5em;
  text-align: left;
  position: relative;
}
.work-thumb {
  border-radius: 1.1em;
  overflow: hidden;
  margin-bottom: 1.2em;
  aspect-ratio: 4 / 5;  
  width: 100%;
}
.work-thumb img {
  width: 100%;
  height: 100%;  
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.work-thumb img:hover {
  transform: scale(1.1); 
}
.work-label {
  display: inline-block;
  padding: 0.2em 1em 0.2em 1.3em;
  border-radius: 2em;
  font-size: 0.9rem;
  color: #c4a43c;
  background: #fff;
  border: 1px solid #c4a43c;
  font-weight: 400;
  letter-spacing: 0.07em;
  margin-bottom: 0.5em;
  margin-top: -1.4em;
}
.work-title {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.7;
  color: #333;
}
.work-date {
  font-size: 0.9rem;
  color: #a6a6a6ff;
  font-weight: 400;
}
.works-more-wrapper {
  display: flex;
  justify-content: center;
  margin: 3em 0 0 0;
}
.works-more-btn {
  display: inline-flex;
  align-items: center;
  background: #333;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.9em 3em;
  border-radius: 2em;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  transition: 0.19s;
  text-decoration: none;
  letter-spacing: 0.06em;
  margin: 0 auto;
  gap: 0.9em;
}
.works-more-btn:hover {
  background-color: #fff;
  color:#333;
  border: 1px solid #333;
}
.works-more-btn .arrow {
  display: inline-block;
  transition: transform 0.22s cubic-bezier(0.44,0.13,0.48,0.87);
}
.works-more-btn:hover .arrow {
  transform: translateX(10px);
}
@media (max-width:990px) {
  .works-section {
    background-position: center calc(98% - 20px);
    background-size: auto 118px;  
    animation: sakasScroll 10s linear infinite;
}
}
@media (max-width: 768px) {
  .work-label {
    padding: 0.1rem 0.8rem 0.1rem;
    border-radius: 900px;
    font-size: 0.8rem;
    margin-bottom: 0.1em;
  }
  .work-title {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.1rem 0;
  }
  .work-date {
    font-size: 0.8rem;
  }
  .work-thumb {
    margin-bottom: 0.5em;
  }
  .works-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
    padding: 1rem 0;
    width: 100%;
  }
  .works-section {
    animation: sakasScroll 10s linear infinite;
    padding: 4rem 0 6rem 0;
  }
}
/* ----------------------------------------------- プロフィール（トップ） ----------------------------------------------- */
.profile-section {
  background: #fff;
  padding: 0 7vw 16vw;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.profile-inner {
  background: #fff;
  border: 1.5px solid #b9b9b9;
  padding: 4rem;
  margin: 2vw auto;
  max-width: 1000px;
}
.profile-content {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}
.profile-illust img {
  width: 250px;
  max-width: 32vw;
  height: auto;
  display: block;
}
.profile-info {
  min-width: 190px;
}
.profile-job {
  font-size: 1rem;
  margin-bottom: 0.1em;
  letter-spacing: 0.12em;
}
.profile-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: 0.06em;
}
.profile-desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  letter-spacing: 0.05em;
}
.profile-desc-sub {
  display: block;
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5em;
  line-height: 1.8;
  letter-spacing: 0.05em;
}
.middle-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 2em;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  border: 1.5px solid #222;
  border-radius: 2em;
  text-decoration: none;
  background: #fff;
  transition: background 0.19s, color 0.19s;
  gap: 0.7em;
}
.middle-btn:hover {
  background: #333;
  color: #fff;
}
.profile-btn-wrapper {
  text-align: right;
}
.middle-btn .arrow {
  font-size: 1.14em;
  transition: transform 0.21s;
}
.middle-btn:hover .arrow {
  transform: translateX(7px);
}

@media (max-width: 1280px) {
  .profile-inner {
    max-width: 85%;
  }
}
@media (max-width: 900px) {
  .profile-inner {
    max-width: 90%;
  }
}
@media (max-width: 768px) {
  .profile-inner {
  max-width: 100%;
  padding: 1rem 2rem 2.5rem;
}
.profile-section {
  padding: 0 7vw 22vw;
}
.middle-btn-wrapper {
  text-align: center;
}
.profile-content {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2vw;
}
.profile-desc,.profile-desc-sub {
  text-align: left;
  font-size: 0.9rem
}

.profile-illust img {
  max-width: 80%;
  margin: 0 auto 1.4em;
}
.profile-info {
  min-width: 0;
}
.profile-btn-wrapper {
  text-align: center;
}
}
/* ----------------------------------------------- お問い合わせフォーム ----------------------------------------------- */
.contact-section {
  background: #F5F5F5;
  position: relative;
  z-index: 10;
}
.section-header-decoration {
  position: absolute;
  top: -13vw;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 13vw;
  background: #F5F5F5;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 2;
  pointer-events: none;
}
.contact-section-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}
.contact-submit {
  display: block;
  margin: 0 auto;
  padding: 0.9em 4em;
  background: #333;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 2em;
  border: none;
  font-weight: 700;
  letter-spacing: 0.09em;
  transition: background 0.16s, transform 0.18s;
  cursor: pointer;
}
.contact-form {
  background: #fff;
  padding: 5em 2em 4em 2em;
  margin: 0 auto;
  max-width: 840px;
  border-radius: 30px;
}
.contact-header {
  text-align: center;
  margin-bottom: 2.5em;
  padding: 0 3vw 0em;
}
.contact-caption {
  color: #c6ac6b;
  font-size: 1.1rem;
  margin-bottom: 0.7em;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.contact-title {
  font-size: 2.4rem;
  font-family: serif;
  letter-spacing: 0.16em;
  margin-bottom: 0.3em;
}
.contact-desc {
  font-size: 1rem;
  width: 90%;
  margin: 0 auto;
}

.form-group {
  margin: 0 auto 1.4em;
  max-width: 600px;
}
label {
  display: block;
  font-size: 1.04rem;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #222;
  letter-spacing: 0.03em;
}
.required {
  display: inline-block;
  font-size: 0.8em;
  background: #df5851ff;
  color: #fff;
  border-radius: 900px;
  padding: 0.1em 0.7em;
  margin-left: 0.5em;
  letter-spacing: 0.08em;
}
input, textarea, select {
  width: 100%;
  border: 1.4px solid #bbb;
  border-radius: 0.5em;
  padding: 0.85em 1em;
  font-size: 1.05rem;
  background: #fdfcfa;
  transition: border 0.2s;
  margin-bottom: 0.1em;
}
input:focus, textarea:focus, select:focus {
  border-color: #c6ac6b;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.form-policy {
  font-size: 0.97rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
}
.form-policy a {
  color: #c6ac6b;
  text-decoration: underline;
}
.contact-submit {
  display: block;
  margin: 0 auto;
  padding: 0.9em 4em;
  background: #333;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 2em;
  border: none;
  font-weight: 700;
  letter-spacing: 0.09em;
  transition: background 0.16s, transform 0.18s;
  cursor: pointer;
}
.contact-submit:hover {
  background: #cab06a;
  color: #333;
}

@media (min-width: 1280px) and (max-width: 1580px){
.contact-section-inner {
  width: 60%;
}
}
@media (min-width: 900px) and (max-width: 1279px){
.contact-section-inner {
  width: 80%;
}
}
@media (max-width: 768px) {
  .contact-section-inner {
    width: 100%;
  }
  input, textarea, select {
  font-size: 0.9rem;
  margin-bottom: 0.1em;
}
/* Safari/Chrome用 selectの余白消える問題 */
  select.custom-select {
  -webkit-appearance: none; 
  appearance: none;         /* 他のモダンブラウザ用 */
  padding: 0.85em 1em;        /* safari/chorome */
}
  label {
  font-size: 1rem;
}
  .form-group {
  margin: 0 auto 1em;
}
  .contact-header {
  padding-top: 45px;
}
  .contact-form {
  padding: 3.5rem 2.5rem 4em;
  border-radius: 3em;
}
}

/* ----------------------------------------------- work一覧  ----------------------------------------------- */
.works-recent-section {
  padding: 0 0 2rem;
}

.work-tag {
    display: inline-block;
    padding: 0.2em 1em 0.2em 1.3em;
    border-radius: 2em;
    font-size: 0.9rem;
    color: #c4a43c;
    background: #fff;
    border: 1px solid #c4a43c;
    font-weight: 400;
    letter-spacing: 0.07em;
    margin-bottom: 0.5em;
    margin-top: -1.4em;
}
.works-card {
  background: #fff;
  border-radius: 1.5em;
  text-align: left;
  position: relative;
  transition: opacity 0.2s;
}
.works-tags a {
  display: inline-block;
  padding: 0.5em 2em;
  border: 2px solid #cab06a;
  border-radius: 2em;
  background: #fff;
  color: #cab06a;
  font-size: 1.1em;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.works-tags a.active, 
.works-tags a:hover {
  background: #cab06a;
  color: #fff;
  border-color: #cab06a;
}
@media (max-width:768px) {
  .work-tag {
  padding: 0.1rem 0.8rem 0.1rem;
  border-radius: 900px;
  font-size: 0.8rem;
  margin-bottom: 0.1em;
}
.works-recent-section .works-list,
.works-archive .works-list {
  padding: 0 3.5vw;
}
}
/* ----------------------------------------------- フッター  ----------------------------------------------- */
.site-footer {
  background-color: #F5F5F5;
  width: 100%;
  text-align: center;
  padding: 0 5vw 2.5em;
  position: relative;
  margin-top: 16vw;
}
.site-footer .section-header-decoration {
  position: absolute;
  top: -12vw;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 12vw;
  background: #F5F5F5;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: -1;
  pointer-events: none;
}
.footer-main {
  margin-bottom: 2.5em;
}
.footer-caption {
  color: #cab06a; 
  font-size: 1.2em;
  margin-bottom: 0.5em;
  letter-spacing: 0.07em;
}
.footer-title {
  font-size: 2.5em;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 1em;
  color: #222;
}
.footer-lead {
  font-size: 1em;
  color: #444;
  margin-bottom: 2em;
}
.footer-btn {
  display: inline-block;
  background: #cab06a;
  color: #fff;
  border-radius: 2.2em;
  padding: 1em 2.4em;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 2em;
}
.footer-btn:hover {
  background: #333;
  color: #fff;
}
.top-site-footer {
  background-color: #F5F5F5;
  width: 100%;
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  position: relative;
}
.footer-copyright {
  font-size: 0.9em;
  color: #666;
  letter-spacing: 0.08em;
}
.footer-backtop {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  margin: 0 auto;
  display: block;
  background-color: #B4B4B4;
  border-radius: 20%;
  transition: background 0.4s;
  padding: 0.5rem;
}
.footer-backtop svg {
  display: block;
}
.footer-backtop:hover {
  background-color: #D4D4D4;
}
@media (max-width:768px) {
  .footer-backtop {
  right: 1.2rem;
  bottom: 1rem;
  padding: 0rem;
}
}
/* -----------------------------------------------  works詳細  ----------------------------------------------- */
.subpage-title {
  text-align: center;
  margin-bottom: 36px;
}
.works-article-header {
  max-width: 1200px; 
  max-width: 1000px;
  width: 70%;
  margin: 0 auto;
}
.works-inner {
  margin: 0 auto;
}
.works-article-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0 0 0.9rem;
  margin: 0;
}
.works-article-header dl {
  margin-bottom: 24px;
}
.works-article-header dt {
  color: #555;
  font-weight: 400;
  float: left;
  margin-right: 8px;
}
.works-article-header dd {
  margin-left: 72px;
  margin-bottom: 0px !important;
}
.works-mainimage img {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 40px auto 32px;
  border-radius: 0.8rem;
}
.works-body {
  background: #f9f8f7ff;
  width: 100%;
}
.works-body-inner {
  max-width: 980px;
  width: 60%;
  margin: 0 auto;
  padding: 3rem 2rem 3rem;
}
.works-body p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: left;
  letter-spacing: 0.1rem;
  color: #666;
}
.works-body p.has-background {
  margin: 0 0 1rem;
  color: #666;
  line-height: 1.5;
  padding: 1.5rem;
}
.works-body h2 {
  margin: 2.2rem 0 0.7rem;
  text-align: left; 
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
}
.works-body h3 {
  font-weight: 500;
  margin: 1.2rem 0 0.5rem;
  text-align: left; 
  font-size: 1.2rem;
}
.has-medium-font-size {
  font-size: 1rem !important;
}
.has-small-font-size {
  font-size: 0.9rem !important;
  margin-top:-2rem;
  line-height: 1.3;
  color: #898989 !important;
}
.works-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.8rem 0 3rem;
}
.works-body ul, .works-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1.6rem;
}
.works-more {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  text-align: right;
  padding: 2vw 2vw 0 0;
}
@media (min-width: 1280px) and (max-width: 1580px) {
  .works-body-inner {
    width: 55%;
  }
  .works-article-header {
    width: 60%;
  }
}
@media (min-width: 900px) and (max-width: 1279px){
  .works-body-inner {
    width: 70%;
  }
  .works-article-header {
    width: 75%;
  }
}
@media (max-width: 899px){
  .works-body-inner {
    width: 100%;
    padding: 3rem 2rem 3rem;
  }
  .works-article-header {
    padding: 0 3vw;
    width: 100%;
  }
}
@media (max-width: 900px) {
  .works-inner {
    padding: 2vw 3vw 2vw;
  }
  .works-body p {
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  .works-body h2 {
    margin: 2rem 0 0.2rem;
    font-weight: 700;
    font-size: 1.2rem;
  }
  .works-body img {
    margin: 1rem 0 1.8rem;
  }
  .works-more {
    text-align: center;
    padding: 2vw 0;
  }
  .has-small-font-size {
    margin-top: -1.3rem;
    line-height: 1.3 !important;
  }
  .works-body p.has-background {
  line-height: 1.3;
  padding: 1rem;
  font-size: 0.95rem !important;
}
}
/* ----------------------------------------------- プロフィールページ  ----------------------------------------------- */
.profile-mv {
  width: 100%;
  background: #fff;
  padding-bottom: 6rem;
  display: block;
}
.profile-mv-main {
  max-width: 950px;
  height: auto; 
  margin: 0 auto;
}
.profile-mv-header {
  text-align: center;
  margin-bottom: 36px;
}
.profile-mv-image-wrap {
  position: relative;
}
.profile-mv-bgimg {
  display: block;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  object-fit: cover;
}
.profile-mv-text-wrap {
  margin: 2.5rem auto 0;
  width: 95%;
  padding: 0 24px;
  text-align: left;
}
.profile-comment-label {
  font-size: 1em;
  color: #222;
  font-family: 'Noto Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-weight: 500;
  border-bottom: 2px solid #222;
  display: inline-block;
  padding-bottom: 4px;
}
.profile-comment-title {
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.13em;
  font-family: 'Shippori Mincho', serif;
  letter-spacing: 0.13em;
  margin: 1vh 0 2vh;
  line-height: 1.4;
}
.profile-comment-title .br-pc {
  margin: 0;
  padding: 0;
}
.profile-comment-body p {
  font-size: 1rem;
  color: #757575ff;
  line-height: 2;
  margin-bottom: 20px;
}
.skills-profile-section {
  background: #f9f8f7;
  padding: 8rem 4vw 8rem;
  border-radius: 80px 80px 0 0;
}
.skills-profile-section .skills-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  padding: 0 16px;
}
.title-heading {
  width: 380px;
}
.title-heading .caption {
  font-size: clamp(12px, 3vw, 15px);
  color: #555;
}
.title-heading .title {
  font-size: clamp(30px, 3vw, 38px);
  font-weight: bold;
  font-family: 'Lato', 'Noto Sans', 'Yu Gothic', 'Meiryo', sans-serif;

}
/* 本文側 */
.skills-profile-section .skills-img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 1.4vh;
}
.skills-profile-section .skills-name {
  font-size: clamp(24px, 1vw, 28px);
  font-weight: bold;
  font-family: 'Shippori Mincho', serif;
  margin: 0 0 0.5vh 0;
}
.skills-profile-section .skills-desc {
  font-size: 1em;
  color: #787878ff;
  max-width: 400px;
  line-height: 1.7;
  margin: 0;
}
.skills-profile-section .skills-tools {
  margin-top: 8px;
}
.skills-profile-section .tools-title {
  font-weight: bold;
  margin-bottom: 4px;
  display: block;
}
.skills-profile-section .tag {
  display: inline-block;
  margin-right: 0.1em;
  padding: 0.1rem 0.8rem 0.1rem;
  border: 1px solid #777;
  border-radius: 999px;
  font-size: 0.8em;
  background: #fff;
  color: #777;
  font-weight: 600;
}

.skills-profile-section .skills-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.skills-profile-section .skills-content:last-child {
  margin-bottom: 0px;
}
.skills-profile-section .skills-content-left {
  flex-shrink: 0; 
  max-width: 400px;
  min-width: 20%;
}
.skills-profile-section .skills-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  background: #fff;
}
.skills-profile-section .skills-content-right {
  flex: 1;  
  min-width: 250px;
}

@media (max-width: 1580px) {
  .profile-mv-bgimg {
    width: 90%;
  }
  .profile-mv-text-wrap {
    width: 80%;
  }
}
@media (max-width: 1000px) {
  .profile-mv {
    padding-bottom: 4vh;
  }
  .skills-profile-section {
  padding: 8vh 4vw;
  }
  .skills-profile-section .skills-container {
    margin: 0 auto;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 0 16px;
  }
  .skills-profile-section .skills-desc {
    max-width: 100%;
    font-size: 0.98rem;
  }
}
@media (max-width: 840px) {
  .skills-profile-section .skills-container {
    gap: 2vh;
    flex-direction: column;
  }
  .skills-profile-section .skills-content-left {
  max-width: 100%;

}
  .skills-profile-section .skills-content {
    display: block;
  }
}
@media (max-width: 768px) {
  .profile-comment-title {
    font-size: 1.45em;
    letter-spacing: 0.1em;
  }
  .profile-comment-title .br-sp {
    display: block;
  }
  .profile-mv-text-wrap {
    padding: 0 2rem 0;
    width: 95%;
    margin: 1.5rem auto 0;
  }
  .title-heading {
    min-width: 0;
    width: 80%;
  }
.profile-comment-body p {
  margin-bottom: 15px;
  font-size: 0.98rem;
}
.skills-profile-section .skills-name {
  font-size: 1.3rem;
}
}
/*---------- PRポイント ----------*/
.pr-section {
  background: #fff;
}
.pr-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 4vw 2rem;
  display: flex;
  align-items: flex-start;
}
.pr-header {
  flex: 0 0 100px;
}
.pr-caption {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
}
.pr-title {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #333;
}
.pr-points {
  display: flex;
  gap: 2.3vw;  
  justify-content: flex-end;  
  flex-wrap: wrap; 
  text-align: center;
  margin-top: 1rem;
}
.pr-point {
  max-width: 25%; 
  text-align: left;
  padding: 0 10px;
  box-sizing: border-box;
}
.pr-icon {
  width: 95px;
  margin: 0 auto 24px auto;
}
.pr-icon img {
  max-width: 100%;
  margin-left: -10px;
}
.pr-point-title {
  font-size: 1.4rem;
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  margin-bottom: 10px;
}
.pr-point-text {
  font-size: 1rem;
  color: #888;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
@media (max-width: 840px) {
  .pr-container {
  flex-direction: column;  
  padding: 7vh 4vw;
}
  .pr-point {
  flex:1;
  max-width: 100%;
  justify-content:center;
  }
.pr-point-title {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
}
@media (max-width: 768px) {
  .pr-points {
  flex-direction: column;
  padding-left: 1vw;
  gap: 2vh;
}
  .pr-point {
  display: flex;
  align-items: flex-start; 
  gap: 1.5vw;
  align-items: center;
}
.pr-icon {
  width: 56px;  
  flex-shrink: 0;
  margin: 0;
}
.pr-point-text {
  font-size: 0.9rem;
}
.pr-point-contents {
  flex: 1; 
}
}
/*---------- 経歴 ----------*/
.history-section {
  background: #fff;
  padding: 8rem 0 6rem 0;
}
.history-content {
  display: flex;
  align-items: flex-start;
  max-width: 1100px;
  margin: 3vh auto 0;
}
.history-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw 0;
  display: flex;
  align-items: flex-start;
}
.history-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.history-item {
  display: flex;
  align-items: flex-start;
}
.history-year {
  min-width: 70px;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  line-height: 1.7;
  font-weight: bold;
  justify-content:flex-start;
  color: #333;
  margin: 0 12px 0 0;
  padding: 0;
  font-family: 'Shippori Mincho', serif;
}
.history-detail {
  flex: 1;
  color: #222;
  border-left: 1px solid #b1b1b1ff;
  padding: 0 0 20px 20px;
}
.history-detail p {
  color:#888;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}
.history-detail p:first-child {
  font-weight: bold;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 5px;
  font-family: 'Shippori Mincho', serif;
}
@media (max-width: 840px) {
  .history-container {
  flex-direction: column;
  }
  .history-content {
    margin: 0;
    padding: 1rem 0 0 3vw; 
  }
  .history-section {
    padding: 0 0 6vh 0;
  }
  .history-detail p:first-child {
    font-size: 1.1rem;
  }
  .history-detail p {
    font-size: 0.9rem;
  }
}

/* -----------------------------------------------  プライバシーポリシー  ----------------------------------------------- */
.privacy-inner {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 0 6vw 3vw;
}
.privacy-section h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 32px;
  margin-bottom: 8px;
}
.privacy-section p {
  margin-bottom: 20px;
  color: #777;
}
p.privacy-detail  {
  color: #333;
  font-size: 1rem;
}
/* -----------------------------------------------  404エラー  ----------------------------------------------- */
.error404-page {
  padding: 48px 0 0;
  text-align: center;
}
.error404-content {
  max-width: 100%;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 2vw;
}
.error404-headline {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 18px;
}
.error404-text {
  font-size: 1rem;
  color: #777;
  margin-bottom: 28px;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  padding: 0.5em 2em;
  font-size: 1.1rem;
  border: 1px solid #333;
  border-radius: 30px;
  background: #fff;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: bold;
  letter-spacing: 0.08em;
}
.btn-primary:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}
@media (max-width: 950px) {
  .error404-text {
    text-align: left;
    padding: 0 2.5vw 0; }
}