@charset "utf-8";
.model_gaiyou {
	text-align: center;
    margin: 0 auto 20px auto;
    font-size: 12px;
    width: 95%;
}
/* 全体のカード型ラップ */
.model-wrap-modern {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  margin: 0 auto 80px;
  max-width: 1100px;
  width: 95%;
  box-sizing: border-box;
	padding: 20px 10px;
}
/* ヘッダー周り */
.model-header-modern {
  text-align: center;
  margin-bottom: 40px;
}
.model-badge {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 15px;
}
.rank-1 { background: #fdf8e9; color: #b78d4a; border: 1px solid #f2e3be; }
.rank-2 { background: #f6f6f6; color: #777777; border: 1px solid #e0e0e0; }
.model-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 24px;
  color: #333;
  margin: 0 0 20px;
  letter-spacing: 0.05em;
}
.model-name span {
  font-size: 16px;
  color: #888;
  margin-left: 0.3em;
}
/* スタイリッシュなSNSボタン */
.model-sns-modern {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.model-sns-modern a {
  padding: 8px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  color: #555;
  font-size: 12px;
  text-decoration: none;
  background: #fff;
  transition: all 0.3s ease;
}
.model-sns-modern a:hover {
  background: #f8f8f8;
  border-color: #c0c0c0;
}
/* メインコンテンツ（写真とプロフィールの並び） */
.model-content-modern {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.model-main-photo {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}
.model-main-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
/* プロフィール表 */
.model-profile-modern {
  flex: 1.2;
}
.model-profile-modern h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: #333;
}
.model-profile-modern table {
  width: 100%;
  border-collapse: collapse;
}
.model-profile-modern th, 
.model-profile-modern td {
  padding: 14px 10px;
  border-bottom: 1px dashed #eaeaea;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}
.model-profile-modern th {
  width: 25%;
  text-align: left;
  font-weight: normal;
  color: #888;
}
/* 着用アイテムセクション */
.model-item-modern {
  margin-top: 30px;
  background: #fdfdfd;
  border: 1px solid #f0f0f0;
  padding: 20px;
  border-radius: 8px;
}
.model-item-modern h4 {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}
.model-item-modern a {
  display: flex;
	flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #333;
	margin-bottom: 10px;
}
.model-item-modern img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}
.model-item-modern p {
  width: 60%;
}
.model-item-modern a:hover p {
  text-decoration: underline;
}

/* ギャラリー（9枚の写真を綺麗にトリミングして並べる） */
.model-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}
.model-gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}
.model-gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.model-gallery-grid a:hover img {
  transform: scale(1.05);
}

/* レスポンシブ対応（スマホ表示） */
@media screen and (max-width: 768px) {
  .model-wrap-modern {
    padding: 20px 10px;
  }
  .model-content-modern {
    flex-direction: column;
    gap: 30px;
  }
  .model-profile-modern table th {
    width: 35%;
  }
  .model-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}
@media screen and (max-width: 750px) {
	.pc {
		display: none!important;
	}	
	.tablet {
		display: none!important;
	}
	.tp {
		display: none!important;
	}
}
@media screen and (min-width:751px) and (max-width: 1024px) {
	.pc {
		display: none!important;
	}
	.sp {
		display: none!important;
	}
	.model_contents_all {
		width: 95%;
		margin: 0 auto;
	}
}
@media screen and (min-width: 1025px) {
	.sp {
		display: none!important;
	}
	.tablet {
		display: none!important;
	}
	.st {
		display: none!important;
	}
}