@charset "UTF-8";
/*
Theme Name: artist
Theme URL: テーマのURL
Description: 作家サイト用のテーマ
Author: tomomisan
Version: 1.0
Tags: portfolio,
License: テーマのライセンス
License URI: テーマのライセンスのURI
Text Domain: artist
Domain Path: /languages
*/

/**************************
 * サイト全体の共通レイアウト
 **************************/
:root{
  --sitecolor:#707070;
  --fontcolor:#fff;

  --text-color: #111;
  --gold-color: #8c7a61;
  --bg-color: #ffffff;
  --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --container-width: 1000px;
}
body{
  font-family: "Mplus 1p", sans-serif;
  /*cursor: none;
  font-family: 'Noto Serif JP', serif;
  font-family: "Sawarabi Gothic", sans-serif;
  font-family: "Noto Sans Japanese";
  */
}
img{
  max-width: 100%;
}
.wrapper {
    max-width: 100%;
}
header{
  margin-inline-start: 10px;
  margin-inline-end: 20px;
  margin-block-start: 2em;
  margin-block-end: 10px;
  align-items:flex-end;
}
main,
footer nav{
  margin-inline-start: 20px;
  margin-inline-end: 20px;
  margin-block-start: 2em;
  margin-block-end: 30px;
}
main{
  margin-block-start: 50px;
}
.container,
.breadcrumb,
article{
  max-width: 1080px;
  margin: 0 auto;
}
header{
  display: flex;
  justify-content: space-between;
}
nav{
  display: flex;
  justify-content: space-between;
}
nav a, nav a:link, nav a:active, nav a:visited {
    text-decoration: none;
    color: #fff;
}
#footer,#footer2{
  width: 100%;
  padding-block-start: 30px;
  
  background: var(--sitecolor);
  color: var(--fontcolor);
  font-size: 80%;
}


.creditArea .footerTitle{
  font-size: 1.8em;
}
.creditArea a,
.creditArea a:link,
.creditArea a:active,
.creditArea a:visited {
  text-decoration:none;
  color: var(--fontcolor);
}

.copyright{
  text-align: center;
}

/*ロゴ周り*/
.logo{
  margin: 0;
}
.logo h1{
  display: inline;
  font-size: 1.4em;
  margin-inline-end: 15px;
}
.logo h1 svg {
  max-width: none !important;
  width: clamp(300px, 10vw, 300px);
  height: auto;
  max-height: clamp(70px, 10vw, 60px); /* 上限設定（調整してください） */
  fill: #333;
}
.logo span{
  font-size: 0.9em;
}

/*ハンバーガーメニュー
*/
.drawer input{
  display: none;
}
.drawer label{
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;  /*メニューが出てきても一番上に*/
  width:30px;
  height:30px;
  background:var(--sitecolor);
}
.drawer span,
.drawer span::before,
.drawer span::after{
  content:"";
  display: block;
  width: 15px;
  height: 1px;
  border-radius: 1px;
  background: #fff;
  transition: 0.7s;
  position: absolute;
}
.drawer span::before{
  bottom: 6px;
}
.drawer span::after{
  top: 6px;
}
.drawer  nav {
  position: fixed;
  z-index: 99;
  width: 100vw; /* 画面幅に対して */
  height: 100vh; /* 画面の高さに対して */
  background-color: var(--sitecolor);
  /*transform: translateX(110%);！！！！ブラウザ戻るボタンで挙動悪！！！！*/
  top: 0;
  /*left: 0; */
  right: -100vw;
  transition: .7s;
}
/*メニュー項目の配置*/
.drawer ul{
  margin-block-start: 15vh;
  margin-inline-start: 42vw;
  height: 80vh;
  font-size: 1.1em;
  font-weight: 600;
}
.drawer li{
  margin: 1em 0;
  width: 6em;
}
.langbutton{
  margin:initial;
  height: 2em;
  width: 9em;
  position: relative;
}
.langbutton select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 0.2em;
  width: 100%;
  position: relative;
  background-color: var(--sitecolor);
  color: #fff;
}
.langbutton::after {
  content: "";
  position: absolute;
  top:0.8em;
  right: 0.5em; 
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-left: 2px solid white;
  pointer-events: none;
  transform: translateY(-50%) rotate(
-135deg);
}

/*タップされたときの挙動*/
#touch:checked ~ nav {
  /*transform: translateX(0%);  /*メニュー表示　！！！！ブラウザ戻るボタンで挙動悪！！！！*/
  right:0;
}
#touch:checked ~ label span{
  background: rgba(255,255,255,0);/*真ん中の線を消す*/
}
#touch:checked ~ label span::before{
  bottom: 0;
  transform: rotate(45deg);/*一番上の線を斜めに回転*/
}
#touch:checked ~ label span::after{
  top: 0;
  transform: rotate(-45deg);/*一番下の線も斜めに回転*/
}

/*言語切り替え*/
.drawer .lang{
  position:static;
}

/*色指定欄を赤枠で囲む*/
.colorSettings{
  outline: 1px solid red;
  padding: 2em;
}
.colorSetItem{
   width: calc(100% /2);
   padding: 20px 0;
}
input#checkButton{
  margin-block-end: 1em;
  font-size: 1.2em;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 0.5em 2em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 0.5rem;
  color: #fff;
  background-color: #444;
}
input#checkButton:hover {
  color: #fff;
  font-weight: 500;
  background: #112255;
}
#rgb{
  background: #eee;
  color: red;
  font-size: 1.2em;
}

/*
多言語切り替え
*/
 /* === ラジオボタンは非表示 ================== */
#sample1 input[type="radio"]{
  display    : none;
}
 
 /* === 各ラジオボタンのラベルをボタンに変更 == */
#sample1 label{
  display    : inline-block;
  border     : 1px solid #ccc;
  box-shadow : 2px 2px #999;
  padding    : 2px 6px;
}
 
 /* === 選択されている言語のラベル色を変更 ==== */
#sample1 input[type="radio"]:checked + label {
  background : #ffa64d;
}
/*
* 各ページ見出し共通設定
*/
.content h1 {
  font-size: 1.6em;
  position: relative;
  display: inline-block;
  padding: 0 55px;
  margin-block-end: 50px;
}

.content h1:before,  .content h1:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}

.content h1:before {
  left:0;
}
.content h1:after {
  right: 0;
}


/**************************
 * トップページのレイアウト
 **************************/
/*トップページ メインビュー*/
.view{
  text-align: center;
}
.view img{
  width:100%;
  height: 100%;
  object-fit: cover;
}
/*フェード型スライド*/
#slider {
  position: relative;
  height: 700px;
  overflow: hidden; 
}
#slider img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 1s ease-in;
}
#slider img.show {
  opacity: 1;
}

/* ===================================================
   動画オーバーレイ（確定版）
=================================================== */
.video-overlay {
  position: absolute;
  bottom: 20px; 
  right: 16px;
  width: 45vw;
  z-index: 100;
  cursor: pointer;
  overflow: hidden;
  
  /* 【解決】背景を黒にすることで、背後のスライド画像が透けるのを防ぐ */
  background: #000; 
  
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  
  transition: transform 0.1s ease, box-shadow 0.3s ease;
}

/* タップ時の反応 */
.video-overlay:active {
  transform: scale(0.95);
}

/* ビデオ本体：枠に100%フィットさせる */
#videoPlayer {
  width: 100% !important;
  height: 100% !important;
  display: block;    /* 【重要】下の数ピクセルの隙間を消す */
  object-fit: cover; /* 【重要】枠いっぱいに映像を広げる */
  border-radius: 6px; /* 枠の角丸より少し小さく設定すると綺麗に収まる */
}

/* 2. 拡大・縮小ボタン（トグルボタン） */
.video-toggle-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 110; /* 動画より前面に */
  font-size: 16px;
}

.video-toggle-btn::before {
  content: "⛶"; /* 拡大マーク */
}

/* -------------------------------------------
   拡大時のスタイル（全画面表示）
------------------------------------------- */
.video-overlay.expanded {
  position: absolute; /* fixedからabsoluteに変更 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999; /* スライダー内の画像より上に */
  background: #000; /* 【解決】背後の画像を隠す */
  border-radius: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-overlay.expanded #videoPlayer {
  width: 100%;
  height: 100%;
  max-height: none; /* 枠いっぱいに広げる */
  object-fit: cover; /* スライダー画像と同じように切り抜いて表示 */
}

/* 拡大時のボタン（縮小マーク） */
.video-overlay.expanded .video-toggle-btn {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.7); /* 拡大時は少し濃く */
}

.video-overlay.expanded .video-toggle-btn::before {
  content: "⇲"; 
}

/* -------------------------------------------
   メディアクエリ (PC)
------------------------------------------- */
@media screen and (min-width: 768px) {
  .video-overlay {
    bottom: auto;
    top: 30px;
    right: 30px;
    width: 18%;
    border-width: 2px;
    transition: all 0.3s ease;
  }

  .video-overlay:hover:not(.expanded) {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  }
  
  .video-overlay:not(.expanded)::after {
    content: "Click to Enlarge";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 11px;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 0;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .video-overlay:not(.expanded):hover::after {
    opacity: 1;
  }
}




/*ニュース枠*/
.newsList{
  max-width: 960px;
  margin: 3em auto;
  padding: 1em;
  background-color: #f6f6f6;
  transition: background .8s;
}
.newsList:hover{
  background-color: #dfdfdf;
}
.newsList li{
  margin-block: 2em;
}
/*『お知らせ一覧へ』表示位置操作*/
.newsHeader a{
  display: none;
}
.newsHeader{
  max-width: 100%;
}

/*フッター部分のクレジット中央寄せ*/
footer .creditArea{
  text-align: center;
}
#copyright{
  color: var(--fontcolor);
}
#footer .creditArea .footerLogo{
  width: clamp(180px, 30vw, 240px);
  margin-inline: auto;
}
#footer .creditArea .footerLogo svg{
  fill: var(--fontcolor);
}


/**************************
 * ニュースページのレイアウト
 **************************/
.news p{
  margin-block-start: 3em;
  margin-block-end: 3em;
}
.news figure img{
  object-fit: contain;
}
.news figcaption{
  font-size: 0.8em;
  text-align: center;
}
.newspage .container{
  min-height: 80vh;
}

/**************************
 * 投稿ページのレイアウト
 **************************/
.postpage article{
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.postTitle h2{
  font-size: 1.7em;
  font-family: 'Noto Serif JP', serif;
  margin-block-end: 2em;
}
.postTitle span{
  color: #666;
  display: block;
  margin-block-end: 1em;
}
.postTitle span::before{
  content: "- ";
}
.post-news figure {
  margin: auto;
  display: block;
}
.post-news p{
  margin: 1.3em 0;
  font-size: 1.1em;
  line-height: 1.9em;
}
.photoby{
  text-align: right;
  font-size: 70%;
}


/**************************
 * 作品ページのレイアウト
 **************************/
.thumnails{  
  margin-block-end: 100px;
}
.item{
  margin: 0 auto;
  width: 70%;
  margin-block-end: 100px;
}
.img-wrap{
    width: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.img-wrap::before{
    content: "";
    padding-top: 100%;
    display: block;
}
.img-wrap img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
}
.more-btn{
  text-align: center;
  width: 280px;
  padding: 12px 16px;
  text-align: center;
  background: #7e7e7e;
  color: #fff;
  margin: 3em auto 0;
  cursor: pointer;
}
.more-btn.is-hide {
  display: none;
}

/**************************
 * 個別作品ページのレイアウト
 **************************/
.productDetail{
  width: 90%;
}
.productImage{
  margin-block-start: 20px;
  text-align: center;
  vertical-align: top;
}
.productImage img{
  width: 100%; 
  height: auto; 
}
.detail{
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.detail h2{
  margin-block-start: 50px;
  margin-block-end: 30px;
}
.priceInfo{
  max-width: 100%;
  text-align: center;
}
.price{
  margin-inline: auto;
  margin-block-end: 1em;
  display: flex;
  justify-content:center;
}
.detail .price dt::after{
  content: '：';
}
.detail .price dd::before{
  content: '¥';
}
.priceInfo a {
  color: #fff;
  font-weight: bold;
  background: #333;
  padding: 18px 20px;
  border-radius: 6px;
  transition: .3s;
}
.priceInfo a:hover {
  background: #13c3ac;
}
.description p{
  margin: 1.3em 0;
  font-size: 1.1em;
  line-height: 1.9em;
}
.pagenation{
  margin-inline: auto;
  margin-block-start: 60px;
  margin-block-end: 100px;
  width: 70%;
  display: flex;
  justify-content: space-between;
}
.marker{
  display: inherit;
}

/*矢印が右に移動する*/
.btnarrow{
    /*矢印と下線の基点とするためrelativeを指定*/
  position: relative;
    /*形状*/
    display: inline-block;
  padding: 0 20px;
    color: #333;
    text-decoration: none;
    outline: none;
}
/*矢印と下線の形状*/
.arrowR::before{
    content: '';
    /*絶対配置で下線の位置を決める*/
  position: absolute;
    bottom:0;
    left:15%;
    /*下線の形状*/    
    width: 85%;
    height: 1px;
  background:#333;
    /*アニメーションの指定*/
    transition: all .3s;
}
.arrowR::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
  position: absolute;
    bottom:5px;
    right:0;
    /*矢印の形状*/    
    width: 15px;
    height:1px;
  background:#333;
    transform: rotate(35deg);
    /*アニメーションの指定*/
    transition: all .3s;
}
.arrowL::before{
    content: '';
    /*絶対配置で下線の位置を決める*/
  position: absolute;
    bottom:0;
    right:15%;
    /*下線の形状*/    
    width: 85%;
    height: 1px;
  background:#333;
    /*アニメーションの指定*/
    transition: all .3s;
}
.arrowL::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
  position: absolute;
    bottom:5px;
    left:0;
    /*矢印の形状*/    
    width: 15px;
    height:1px;
  background:#333;
    transform: rotate(-35deg);
    /*アニメーションの指定*/
    transition: all .3s;
}
.btnarrow:hover{
  text-decoration:none;
}
.gg-menu-grid-r {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 26px;
    height: 26px;
}
.gg-menu-grid-r::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;  
    top:5px;
    width: 5px; /*□の大きさ*/
    height: 5px; /*□の大きさ*/
    background: currentColor;
    box-shadow: /*□の間隔*/
        0 8px 0,
        8px 8px 0,
        16px 8px 0,
        8px 16px 0,
        16px 16px 0,
        8px 0 0,
        16px 0 0,
        0 16px 0
    ;
}

.ex-productlist{
    border: 1px solid #333;
    padding:10px;
    background: #f2f2f2;
    display: inline-block;
    font-weight: bold;
    transition: .3s;
}
.ex-productlist:hover{
    background: yellow;
}
.pagenation a:hover{
  color: #111;
}

/*hoverした際の移動*/
.arrowR:hover::before{
    left:25%;
}
.arrowR:hover::after{
    right:-10%;
}
.arrowL:hover::before{
    right:25%;
}
.arrowL:hover::after{
    left:-10%;
}


/**************************
 * お問い合せページのレイアウト
 **************************/

.inquery section{
  margin-block-start: 60px;
  margin-block-end: 60px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}


@media screen and (min-width:640px) {
  /*フッターのメニューが横並び*/
  footer nav{
    display: grid;
    grid-template-columns: 20% 20% 20%;
  }
}




/**************************
 * SNS & 外部リンク
 **************************/
.sns {
    margin: 40px auto;
    max-width: 600px;
}

.sns__snsLink {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* アイコン同士の間隔 */
}

/* リンク全体のブロック */
.sns__snsLink a {
    display: flex;
    flex-direction: column; /* 上にアイコン、下にテキスト */
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.sns__snsLink a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* 各リンク：縦に並べる */
.sns-item {
    display: flex;
    flex-direction: column; /* 縦並びにする指定 */
    align-items: center;    /* 中央揃え */
    text-decoration: none;
    transition: opacity 0.3s;
}

/* アイコン共通設定 (mask-imageを使用) */
[class^="icon-sns-"], 
.icon-link {
    width: 35px;
    height: 35px;
    background-color: var(--fontcolor, #333);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    margin-bottom: 8px; /* アイコンと文字の間の余白 */
}

/* 各アイコンのパス */
.icon-sns-instagram { 
    -webkit-mask-image: url(_imgs/icon-sns-instagram.svg); 
    mask-image: url(_imgs/icon-sns-instagram.svg); 
}
.icon-link { 
    -webkit-mask-image: url(_imgs/icon-link.svg); 
    mask-image: url(_imgs/icon-link.svg); 
}

/* ラベルテキスト */
.sns-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fontcolor, #333);
}

/* 特殊：Instagramブランドカラーが必要な場合 */
/* もし背景ではなく「アイコンそのもの」に色を付けたい場合は 
   background-color ではなく background にグラデーションを指定します */

/* スマホでの表示 */
@media(max-width: 599px) {

  .share li {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 3px;
  }

  .share li i {
    font-size: 1.3em;
    padding-top: 3px;
  }
  /* スマホ表示ではテキスト非表示 */
  .share li span {
    display: none;
  }
}




@media screen and (min-width:768px) {
  /*スマホのみ改行*/
  .br-sp {
    display: none;
  }
  /*ロゴ大きく*/
  .logo h1{
    display: inline;
    font-size: 1.8em;
  }
  .logo span{
    font-size: 1.1em;
  }
  /*ページタイトルを左よせ*/
  .toppage h1,
  .profile h1,
  .gallery h1,
  .newspage h1,
  .postpage h1{
    text-align: left;
  }
  /*メインビュー高さ調整*/
  .view img{
    width: 100%;
    height: 42vw;
    object-fit: cover;
  }
  /*フェード型スライド*/
  #slider {
    position: relative;
    height: 42vw;
    overflow: hidden; 
  }
  
  /*「お知らせ一覧へ」の表示位置変更*/
  .newsHeader{
    overflow: hidden;
  }
  .newsHeader h1{
    text-align: left;
    width: 50%;
    float: left;
  }
  .newsHeader a{
    display: inherit;
    float: right;
  }
  .forSP{
    display: none;
  }
  /*お知らせの日付とタイトルが横並び*/
  .newsList a span{
    float: left;
  }
  .newsList a p{
    margin-inline-start: 8em;
  }
  
  /*ニュース投稿ないの写真サイズ調整*/
  .news figure img{
    max-height: 40vw;
  }
  
  /*プロフィールが２ブロック配置*/
  .profile .conteiner{
    max-width: 1020px;
    width: 100%;
    display: grid;
    gap: 10%;
    grid-template-columns:  45% 45%;
    justify-content: center;
  }
  
  /*作品ページが３カラム化*/
  .item{
    width: 100%;
  }
  .thumnails{  
    margin: 0 auto;
    display: grid;
    justify-content: center;
    gap: 10%;
    margin-block-end: 100px;
    grid-template-columns:  1fr 1fr 1fr;
    gap: 5em 7em;
  }
  .textArea p{
    margin-inline-end: 5em;
  } 
  
  /*作品写真小さめに*/
  
  .productImage{
    margin-block-start: 60px;
  }
  .productImage img{
    max-height: 75vh;
    object-fit: contain;
  }
  
}

@media screen and (min-width:1025px) {
  /*フッターのメニューが右寄せに*/
  #footer nav{
    justify-content: end;
  }
  /*プロフィール枠95％*/
  .biography{
    max-width: 95%;
  }
}



@media screen and (min-width:1080px) {
  /*ヘッダーナビがPC用に切替*/
  .drawer label{
    display: none;
  }
  .drawer nav{
    position: static;
    width: 60%;
    height: auto; /* 画面の高さに対して */
  }
  .drawer  nav {
    position: static;
    transform: translateX(0%);
    background: #fff;
    width: 100%;
}
  .drawer ul{
    margin-block-start: initial;
    margin-inline-start: initial;
    height: initial;
    font-size: 1.1em;
    width: 100%;
  }

  .drawer li{
    margin: 0 1em 0 1em;
    display: inline-block;
    width: initial;
  }
  /*メニューの文字色を白背景対策*/
  .drawer nav a,
  .drawer nav a:link,
  .drawer nav a:active,
  .drawer nav   a:visited {
    color: #444;
  }
  .langbutton select {
    background-color: white;
    color: #444;
  }
  
  /*ニュース枠の高さだし*/
  .newspage .container{
    min-height: 80vh;
  }
  
  /*フッターのタイトルとメニューが横並び*/
  .creditArea{
    grid-area: credit;
    padding-block-start: 3em;
  }
  .naviArea{
    grid-area: navi;
    border-left: 1px #333 solid;
  }
  .copyrightArea{
    grid-area: copyright;
  }
  #footer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:"credit navi navi"
    "copyright copyright copyright";
  }
  #footer nav{
    display: grid;
    grid-template-columns: 30% 30% 30%;
  }
  #footer .copyright,
  #footer2 .copyright{
    text-align: right;
    margin-inline-end: 3em;
  }
  
}


/**************************
 * プロフィールページのレイアウト
 **************************/

/* --- 全体設計 --- */
.artist-page {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  padding: 60px 0;
}

/* 全セクションの基準幅を1000pxに統一 */
.artist-page .inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 各セクションの余白を統一 */
.artist-header, 
.artist-profile, 
.artist-concept, 
.artist-message, 
.artist-biography, 
.artist-representative-works {
  margin-bottom: 120px;
}

/* --- Artist Header (Mobile First) --- */
.header-container {
  width: 100%;
  display: flex;
  flex-direction: column; /* スマホでは縦並び */
  gap: 40px;
}

.main-typography {
  margin-bottom: 20px;
}

.en-name-large {
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  opacity: 0.07;
  display: block;
}

/* 共通設定の h1 をこのエリアだけ微調整 */
h1.main-name {
  font-size: 1.2rem;
  letter-spacing: 0.3em;
}

/* 名前単体 */
.name-text {
  display: inline-block;
  word-break: keep-all;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-color);
}

.header-portrait-wrapper {
  position: relative;
}

.header-portrait {
  width: 100%;
  max-width: 320px;
  height: 400px;
  overflow: hidden;
  box-shadow: 20px 20px 0px rgba(179, 155, 125, 0.1);
}

.header-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* --- Concept & Message --- */
.concept-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.work-img-small {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.work-img-small .img-container {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f8f8f8;
}

.work-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-label {
  display: block;
  font-size: 1.1em;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: var(--gold-color);
}

.artist-message {
  background-color: #fafafa;
  padding: 30px 20px;
  border-radius: 2px;
}

.message-body {
  line-height: 2.2;
  color: #555;
  text-align: justify;
}

.message-signature {
  margin-top: 40px;
  text-align: right;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.signature-name {
  font-family: serif;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: var(--gold-color);
}

.signature-name::before {
  content: "— ";
  color: #ccc;
}

/* --- Bioglaphy --- */
.artist-bio {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.artist-bio dt {
  font-family: serif;
  color: var(--gold-color);
  font-weight: bold;
  border-bottom: 1px solid #eee;
}

.artist-bio dd { margin: 0; }
.artist-bio ul { list-style: none; padding: 0; margin: 0; }

/* --- Gallery --- */
.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.work-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f8f8f8;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}

.work-item:hover img {
  transform: scale(1.05);
}

/* --- Media Queries (Tablet: 768px+) --- */
@media (min-width: 768px) {
  .main-name {
    flex-direction: row; /* 768px以上で1行に並べる */
    align-items: baseline;
    gap: 15px;
  }
  .main-name .name-text { font-size: 1.5rem; }
  .main-name .profile-label { display: inline; font-size: 0.9rem; }

  
}


/* ==========================================
   Desktop Adjustments (1024px+)
   ========================================== */

@media (min-width: 1024px) {
  .artist-page { padding: 80px 0; }
  
  .artist-profile, .artist-concept, .artist-message, 
  .artist-biography, .artist-representative-works {
    margin-bottom: 100px;
  }

  /* ヘッダー横並び */
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
  }

  .main-name {
    flex-direction: row; /* 横並びに復帰 */
    align-items: baseline;
    gap: 20px;
  }

  .header-portrait {
    width: 380px; height: 500px;
    margin-bottom: -40px; /* 雑誌風の突き抜け */
  }

  /* コンセプト横並び */
  .concept-layout {
    flex-direction: row;
    gap: 80px;
  }

  .work-img-small { flex: 0 0 320px; position: sticky; top: 40px; }
  .concept-text { flex: 1; }

  /* メッセージの余白強化 */
  .artist-message { padding: 80px 100px; }

  /* 略歴：タイムライン化 */
  .bio-wrapper { max-width: 850px; margin: 0 auto; }
  .artist-bio {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 50px;
    position: relative;
  }

  .artist-bio::before { /* 縦線 */
    content: ""; position: absolute; left: 125px; top: 5px; bottom: 5px;
    width: 1px; background: #eee;
  }

  .artist-bio dt {
    text-align: right; border: none; font-size: 1.1rem;
  }

  .artist-bio dt::after { /* ドット */
    content: ""; position: absolute; right: -30px; top: 8px;
    width: 10px; height: 10px; background: var(--gold-color);
    border-radius: 50%; border: 2px solid #fff; z-index: 2;
  }

  /* ギャラリーの互い違い配置 */
  .work-item { width: 80%; }
  .work-item:nth-child(even) { margin-left: auto; }
}