@charset "utf-8";
/* CSS Document */

/* ========== 基本フォント設定 ========== */
.noto-sans-jp-custom {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.neuton-extralight {
  font-family: "Neuton", serif;
  font-weight: 200;
  font-style: normal;
}

.neuton-light {
  font-family: "Neuton", serif;
  font-weight: 300;
  font-style: normal;
}

.neuton-regular {
  font-family: "Neuton", serif;
  font-weight: 400;
  font-style: normal;
}

.neuton-bold {
  font-family: "Neuton", serif;
  font-weight: 700;
  font-style: normal;
}

.neuton-extrabold {
  font-family: "Neuton", serif;
  font-weight: 800;
  font-style: normal;
}

.neuton-regular-italic {
  font-family: "Neuton", serif;
  font-weight: 400;
  font-style: italic;
}


/* ========== ヘッダー高さ設定 ========== */
:root { --header-h: 200px; } /* モバイル用 */
@media (min-width: 500px) {
  :root { --header-h: 280px; } /* PC・タブレット */
}

/* ========== 全体設定 ========== */
html {
  scroll-behavior: smooth;
}
body {
  background-color: #f7f6f5;
  font-family: "Noto Sans JP", sans-serif;
  padding-top: var(--header-h); /* 固定ヘッダー分の余白 */
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
h1 {
  font-size: 50px;
  text-align: center;
}
h1 img{
	max-width: 80%;
	padding-top: 5%;
}

/* 見出しデザイン：英語タイトル＋下に薄い日本語 */
h2{
	font-family:"Neuton", serif;
}
/* 英語タイトル部分 */
.section-title {
  position: relative;
  margin: 0 0 24px;
  line-height: 1.15;
  font-weight: 700;
  font-size: clamp(24px, 6vw, 48px);
  color: #333;
  text-align: left;
  font-family: "Neuton", serif;
}

/* 薄い日本語副題 */
.section-title::after {
  content: attr(data-sub);
  display: block;
  margin-top: 0.1em;
	 margin-left: 3.2em;     
  font-weight: 400;
  font-size: clamp(16px, 4vw, 28px);
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.3);
  text-align: left;
  font-family: "Noto Sans JP", sans-serif; /* 日本語専用フォント */
}

h2.section-title{ width: auto; }  /* 既存の h2 { width: 70% } を無効化 */

/* ========== 固定ヘッダー ========== */
header {
  width: 100%;
  background-color: #f7f6f5;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
header p img {
  width: 50px;
}

/* ========== メインエリア ========== */
main {
  width: 94%;
  margin: 0 auto;
}
h2[id] {
  scroll-margin-top: var(--header-h);
}
h2 {
  width: 70%;
}

/* ========== 作品リスト ========== */
.list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: start;
}
.list li img {
  cursor: pointer;
  border-radius: 50%;
  transition: filter 0.3s;
}
.list li img:hover {
  filter: brightness(105%);
}
.listSec {
  margin-bottom: 50px;
  padding: 0;
}

/* ========== フッター ========== */
footer {
  background-color: #E6E4E3;
}
#f_nav {
  padding-top: 50px;
  padding-bottom: 50px;
}
#f_nav nav ul {
  display: flex;
  justify-content: center;
}
#f_nav nav ul li {
  align-self: center;
  margin: 0 30px;
}
#f_nav li img {
  width: 50px;
}

/* ========== モーダル（ポップアップ） ========== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.popup-overlay.active {
  display: flex;
}

.popup-content {
  background: #fff;
  border-radius: 10px;
  width: min(90%, 560px);
  padding: 16px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: visible;
}

#popup-modal .zoom-area img {
  box-shadow: 10px 14px 28px rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  background-color: #fff; /* 透過画像*/
}

/* ✕ボタン */
.popup-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(45%, -45%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: none;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 5;
}
.popup-close:hover {
  opacity: 0.9;
}

/*--- 線から塗り（共通設定） ---*/
#contact {
	font-size: 25px;
  display: flex;
  justify-content: center; /* 左右中央 */
  align-items: center;     /* 上下中央（高さがある場合） */
  margin: 80px 0;          /* 上下の余白（お好みで調整） */
}
.btn05{
    /*線の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display: inline-block;
    color: #333;
    padding: 10px 20px;
    background:#E6E4E3;
    text-decoration: none;
    outline: none;
    /*アニメーションの指定*/
    transition: all .3s;
    transition-delay: .7s;/*0.7秒遅れてアニメーション*/
}

/*hoverした際の、ボタンの背景とテキスト色の変更*/
.btn05:hover{
	background:#333;
	color: #fff;
}

/*線の設定*/
.btn05 span{
    display: block;
}

/*横線の設定*/
.btn05::before,
.btn05::after{
    content:"";
    /*絶対配置で線の位置を決める*/   
    position: absolute;
    /*線の形状*/   
    width: 0;
    height: 1px;
    background: #333;
    /*アニメーションの指定*/
    transition: all 0.2s linear;
}

/*縦線の設定*/
.btn05 span::before,
.btn05 span::after{
    content:"";
    /*絶対配置で線の位置を決める*/   
    position: absolute;
    /*線の形状*/
    width:1px;
    height:0;
    background: #333;
    /*アニメーションの指定*/
    transition: all 0.2s linear;
}

/*hoverした際、線が縦横100%伸びる*/
.btn05:hover::before,
.btn05:hover::after{
    width: 100%;
}
.btn05:hover span::before,
.btn05:hover span::after{
    height: 100%;
}

/*== 左上と右下から枠線が伸びて塗に */

/*横線が0.2秒送れて出現*/

.bordercircle1::before{
    right: 0;
    top: 0;
    transition-delay: 0.2s;
}
.bordercircle1::after{
    left: 0;
    bottom: 0;
    transition-delay: 0.2s;
}

/*縦線が出現*/
.bordercircle1 span::before{
    left: 0;
    top: 0;
}
.bordercircle1 span::after{
    right: 0;
    bottom: 0;
}



@media (max-width: 480px) {
  .popup-close {
    width: 40px;
    height: 40px;
    font-size: 24px;
    transform: translate(35%, -35%);
	  
  }
	#name{
	padding-top: 1rem;
}
}


/* 元画像をトリミングせず収める（contain） */
.zoom-area img{
  display: block;
  max-width: 100%;
  max-height: 70vh;         /* 画面高の7割以内に収める（調整可） */
  width: auto;              /* 横長画像→横基準、縦長→縦基準で自然に */
  height: auto;
  object-fit: contain;      /* 念のため明示（imgにも効く） */
  margin: 0 auto;           /* 余白が出た場合は中央寄せ */

  transform-origin: 0 0;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* モーダル内テキストとリンク */
.popup-title {
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 6px;
  color: #333;
}


#popup-text {
  margin: 12px 0 8px;
  color: #333;
  font-size: 16px;
}
.popup-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 0;
}

.popup-link {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.popup-link:hover {
  background-color: #666;
}

/* ===== Hamburger (共通表示) ===== */
.hamburger {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: none;
  background: #111;
  border-radius: 10px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 8px 6px;
  cursor: pointer;
  z-index: 1200; /* header(1000) より上 */
}
.hamburger:focus { outline: 2px solid #888; outline-offset: 2px; }
.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ===== Drawer Backdrop ===== */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1199;
}

/* ===== Drawer本体 ===== */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(82vw, 320px);
  background: #fff;
  box-shadow: -8px 0 24px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .25s ease-out;
  z-index: 1201;
  display: flex;
  flex-direction: column;
}
.nav-drawer.active { transform: translateX(0); }

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid #eee;
}
.nav-title { font-weight: 700; color: #333; font-size: 18px; }
.nav-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: #f2f2f2;
  cursor: pointer;
  font-size: 20px;
  
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
}


.nav-list {
  list-style: none;
  margin: 0; padding: 10px 0 16px; overflow: auto;
}
.nav-list li a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  border-bottom: 1px solid #f2f2f2;
}
.nav-list li a:hover { background: #fafafa; }

/* ドロワー内の日本語サブ見出しっぽく薄く表示 */
.nav-list .sub {
  display: block;
  font-size: 12px;
  color: rgba(0,0,0,.45);
  margin-top: 2px;
}


/* ズーム操作ボタン */
/*.zoom-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
.zoom-controls button {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}*/

/*Profile*/

h3{
	font-family:"Neuton", serif;
	font-size:2.5rem;
	padding-top: 10%;
	padding-bottom: 10px;
}
.contact{
	padding-bottom: 30px;
}
#form img{
	width: 50px;
}
#logo1{
	width: 100px;
}
#logo2{
	width: 30px;
	}
#name{
	font-size: 1.5rem;
	padding-bottom: 1rem;

}
.x_account{
	font-size: 1.2rem;
	padding-top: 0.7rem;
}
/* ========== PC・タブレット用調整 ========== */
@media screen and (min-width: 500px) {
  main {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  .list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .list li img {
    width: 100%;
    border-radius: 50%;
  }
  h2 {
    width: 50%;
  }
	.hamburger { top: 10px; right: 10px; }
	#pro{
	display: flex;
		justify-content:space-between;
		
}
}
