@charset "utf-8";

/*-------------------------------------
css初期化
--------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: sans-serif;
	font-size: 100%;
}

div:after {
	content: "";
	display: block;
	clear: both;
}

/*-------------------------------------
タグの基本設定
--------------------------------------*/
body {
	background: #f5f5f0;
	line-height: 1.6;
	font-size: 81.25%;
	color: #414141;
}

html {
	overflow-y: scroll;
}

a {
	text-decoration: none;
	outline: none;
	color: #333333;
}

a:hover{
	text-decoration: underline;
	color: #666666;
}

a:hover img{
	opacity: 0.80;
}

/*--------------------------------------------------------------------
Container
--------------------------------------------------------------------*/
div#Container {
	width: 945px;
	padding: 10px 0;
	margin: 0 auto;
	background: #f5f5f0;
}

/*--------------------------------------------------------------------
h1
--------------------------------------------------------------------*/
h1 {
	padding: 10px 0;
	text-align: center;
}

/*--------------------------------------------------------------------
Contents
--------------------------------------------------------------------*/
div#Contents {
	width: 945px;
	margin: 0 auto;
	padding: 10px 0;
	overflow: hidden;
}

div#Contents:after {
	display: block;
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
}

/*--------------------------------------------------------------------
Nav
--------------------------------------------------------------------*/
nav {
	width: 945px;
	margin: 0 auto;
	position: relative;
}

nav ul li {
	list-style: none;
	width: 189px;
	margin: 0 0 20px 0;
	float: left;
}

nav ul li a img:nth-child(2){
	position: absolute;
	margin-left: -189px;
  transition: opacity 1s;
}

nav ul li a:hover img:nth-child(2){
  opacity: 0;
}


/*--------------------------------------------------------------------
Main
--------------------------------------------------------------------*/
div#Main {
	width: 700px;
	margin: 0 auto;
}

div#Main h2 {
	font-size: 105%;
	font-weight: bold;
	color: #504946;
}

div#Main div#TopImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

div#Main div#PortImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

div#Main p {
	color: #504946;
	margin-top: 10px;
}

div#Main table {
	width: 80%;
	margin: 10px auto 20px auto;
	border-collapse: collapse;
	border: 0 none;
}

div#Main table tr th {
	width: 25%;
	padding: 5px 10px;
	background: #526A63;
	border: 1px solid #504946;
	text-align: left;
	vertical-align: top;
	color: #fff;
}

div#Main table tr td {
	width: 75%;
	padding: 5px 10px;
	border: 1px solid #504946;
	text-align: left;
	vertical-align: top;
}

div#Main table tr td ul {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

div#Main table tr td ol {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}
div#Main table tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

div#Main table tr:first-child td:last-child {
  border-top-right-radius: 10px;
}

div#Main table tr:last-child th:first-child {
  border-bottom-left-radius: 10px;
}

div#Main table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
/*--------------------------------------------------------------------
pagetop
--------------------------------------------------------------------*/
p.pagetop {
	text-align: right;
}

/*--------------------------------------------------------------------
address
--------------------------------------------------------------------*/
address {
	clear: both;
	text-align: center;
	color: #504946;
}

.sns-video{
	width: 100%;
	max-width:  320px;
	height: auto;
	display: block;
	margin: 20px auto;
}

div#Main .work-flex {
	width: 90%;
	margin: 20px auto;
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 24px;
	align-items: start;
}

div#Main .work-flex > .work-box {
	width: 100%;
	min-width: 0;
}

div#Main .work-box video{
	width: 100%;
	height: auto;
	display: block;
}
div#Main .pdf-thumb-wrap{
	display: grid;
	grid-template-columns:  1fr 1fr;
	gap: 12px;
}

div#Main .pdf-thumb-wrap a {
	width: auto;
	display: block;
	text-decoration: none;
	color: #414141;
}

div#Main .pdf-thumb-wrap img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

div#Main .pdf-thumb-wrap p{
	margin-top: 8px;
	text-align: center;
	font-size: 13px;
}

div#Main .pdf-thumb-wrap a:hover{
	opacity: 0.75;
}

div#Main .video-open {
  position: relative;
  width: 180px !important;
  max-width: 180px !important;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

div#Main .video-open img {
  width: 180px !important;
  max-width: 180px !important;
  height: auto;
  display: block;
}

div#Main .rough-image {
  width: 180px;
  margin-top: 20px;
}

div#Main .rough-image p {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: bold;
}

div#Main .rough-image img {
  width: 180px;
	max-width: 180px;
  height: auto;
  display: block;
}

.play-mark {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 42px;
color: #fff;
pointer-events: none;
}

.video-modal{
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.8);
	align-items: center;
	justify-content: center;
}

.video-modal.is-open{
	display: flex;
}

.video-modal-inner {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
}

.video-modal video{
	max-width: 90vw;
	max-height: 85vh;
	display: block;
}

.video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;

  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 30px;
  line-height: 44px;
  text-align: center;

  cursor: pointer;
}

.rough-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.rough-modal.is-open {
  display: flex;
}

.rough-modal-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.rough-modal img {
  width: auto;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.rough-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.work-detail-flex {
  width: 100%;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.work-detail-section {
  width: 100%;
}

div#Main .work-table {
  width: 100% !important;
	max-width: none !important;
}

div#Main #PortImg {
  width: 700px;
  max-width: 90%;
  margin: 0 auto;
}

div#Main #PortImg img {
  width: 100%;
  height: auto;
  display: block;
}

div#Main #PortImg + p {
  width: 700px;
  max-width: 90%;
  margin: 20px auto;
}

div#Main #PortImg + p + table {
  width: 700px !important;
  max-width: 90% !important;
  margin: 0 auto;
}

div#Main .other-work-flex {
  display: grid;
  grid-template-columns: 260px 260px;
  gap: 40px;
  justify-content: center;
  align-items: start;
  width: 100%;
  margin: 20px auto;
}

div#Main .other-work-flex .work-box {
  width: 300px;
}

div#Main .other-work-flex .work-box img {
  width: 260px;
  height: auto;
  display: block;
  margin: 0 auto;
}

div#Main .other-work-flex .work-box h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

div#Main .other-work-flex .portfolio-work {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

div#Main .other-work-flex .portfolio-work img {
  width: 420px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

div#Main .other-detail-flex {
  width: 100%;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

div#Main .other-detail-flex .work-table {
  width: 100% !important;
  max-width: none !important;
}

.work-box img {
  width: 100%;
  max-width: 700px;
}

div#Main p.pagetop {
  width: 70px;
  margin: 20px 0 0 auto;
}

div#Main p.pagetop img {
  width: 70px !important;
  height: auto !important;
  display: block;
}

div#Main .profile-section {
  width: 700px;
  max-width: 90%;
  margin: 40px auto;
}

div#Main .about-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 25px;
}

div#Main .profile-ending {
  margin: 50px 0 20px;
  text-align: center;
}

div#Main .profile-ending p:first-child {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: 0.08em;
}

div#Main .profile-ending p:last-child {
  font-size: 12px;
  letter-spacing: 0.1em;
}

div#Main .profile-link a {
  text-decoration: none;
  color: #2f5a4f;
  font-weight: bold;
}

div#Main .profile-link a:hover {
  text-decoration: underline;
}