@charset "UTF-8";
/* Body */
body {
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	background-color: #f2f2f2;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-style: normal;
	font-weight: 200;
}


body#main{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	background-color: #f2f2f2;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-style: normal;
	font-weight: 200;
}






/* Container */
.container {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	height: 1000px;
	background-color: #FFFFFF;
}
/* Navigation */









/*＝＝＝＝＝ヘッダー＝＝＝＝＝＝＝＝＝＝*/

header {
  width: 100%;
  height: auto; /* 高さは自動調整に変更 */
  position: absolute; /* 写真の上に重ねる */
  top: 0;
  left: 0;
  z-index: 10; /* 写真の上に表示 */
  background: transparent; /* 背景色を透明に */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-sizing: border-box;
   
}

	/*＝＝＝＝＝ロゴ＝＝＝＝＝＝＝＝＝＝*/

.logo {
	color: #fff;
	font-weight: bold;
	text-align: undefined;
	width: 10%;
	float: left;
	margin-top: 15px;
	margin-left: 25px;
	letter-spacing: 4px;
    display: flex;
    margin-left: 100px;
}

.logo img {
  margin-right: 20px;
}


	/*＝＝＝＝＝ナビゲーション＝＝＝＝＝＝＝＝＝＝*/

nav {
	float: right;
	width: 50%;
	text-align: right;
	margin-right: 25px;
}
header nav ul {
	list-style: none;
	float: right;
    margin-right: 30px;
}
nav ul li {
	float: left;
	color: #FFFFFF;
	font-size: 14px;
	text-align: left;
	margin-right: 25px;
	letter-spacing: 2px;
	font-weight: bold;
	transition: all 0.3s linear;
}
ul li a {
	color: #FFFFFF;
	text-decoration: none;
}
ul li:hover a {
	color: #6f787e;
}


/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/



/*＝＝＝＝＝＝メイン画像　マコア＝＝＝＝*/


.hero_header {
	color: #FFFFFF;
	text-align: center;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	letter-spacing: 4px;
}
/* Hero Section 　　　四行目以降追記*/




.hero {
  background-image: url("../image/001_2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh; /* 画面全体の高さ */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}


/*この↓translateY(-20px);で、GLANZDESIGNの位置調整マイナスで上に上がる*/

.hero h1,
.hero .tagline {
  margin-bottom: 0;
  transform: translateY(-20px);
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/




/*＝＝＝＝＝＝＝グランツデザインメイン画像の写真上の文字＝＝＝*/


.light {
	font-weight: bold;
	color: #717070;
}
.tagline {
	text-align: center;
	color: #FFFFFF;
	margin-top: 4px;
	font-weight: lighter;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/





/* 事務所の説明＝＝＝＝＝＝＝＝＝*/


#explain_wrapper {
  height: 250px;
  background-color: #fff;
  color: #222;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background-image: url("../image/glanz.png");
  background-repeat: no-repeat;
}

#explain {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1rem; /* ← 文字サイズ少し小さく */
  line-height: 1.8;
  
}




/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/


/*＝＝＝＝＝事務所の紹介　こんなことしています医療系＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/* footer全体のレイアウト */
footer {
  background-color: #FFFFFF;
  padding: 100px 1rem 100px 1rem;
  display: flex;
  justify-content: center;       /* 中央に配置 */
  gap: 2rem;                     /* カラム間の余白 */
  flex-wrap: wrap;               /* モバイルで折り返すため */
}

/* 各カラムのレイアウト */
.footer_column {
  flex: 0 1 450px;               /* 最大450px、必要に応じて縮小 */
  box-sizing: border-box;
}

/* カラム内のタイトル */
.footer_column h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 2px;
}

.footer_column h4 {
  text-align: center;
  color: #9a9696;
  font-size: 14px;
  margin-top: 0;
}

/* 共通：画像枠の設定 */
.photo2, .photo3 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  margin-top: 30px;               /* 少し上に余白をつける */
  width: 100%;
  max-width: 800px;               /* ★ 一回り小さくする（調整可） */
  margin-left: auto;
  margin-right: auto;
}

/* 共通：画像自体のスタイル */
.photo2 img, .photo3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}





/*＝＝＝＝＝フッダー＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/






.footer_banner {
	background-color: #9a9696;
	padding-top: 60px;
	padding-bottom: 60PX;
	margin-bottom: 0px;
	background-repeat: repeat;
    
}





/*＝＝＝＝＝コンタクトボタン＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/





.button {
	width: 200px;
	margin-top: 40px;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
	padding-top: 20px;
	padding-right: 10px;
	padding-bottom: 20px;
	padding-left: 10px;
	text-align: center;
	vertical-align: middle;
	border-radius: 0px;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
	border: 3px solid #FFFFFF;
	color: #FFFFFF;
	transition: all 0.3s linear;
    
}

.button a {
  color: inherit;          /* .buttonの文字色を引き継ぐ（白） */
  text-decoration: none;     /* 青い下線を消す */
  display: block;  /* aタグをブロック化（.buttonの中でフィット） */
  width: 100%;      /* aタグをボタン全体に広げる */
  height: 100%;
}


.button:hover {
	background-color: #FEFEFE;
	color: #C4C4C4;
	cursor: pointer;
}


/*＝＝＝＝＝一番下＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/




.copyright {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #717070;
	color: #FFFFFF;
	text-transform: uppercase;
	font-weight: lighter;
	letter-spacing: 2px;
	border-top-width: 2px;
}

.hidden {
	display: none;
}







/* Mobile ----------------------------------------*/


@media (max-width: 320px) {
.logo {
	width: 100%;
	text-align: center;
	margin-top: 13px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
.container header nav {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	width: 100%;
	float: none;
	display: none;
}
header nav ul {
}
nav ul li {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	width: 100%;
	text-align: center;
}
.text_column {
	width: 100%;
	text-align: justify;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.thumbnail {
	width: 100%;
}
    
    
/* ・・・・・・ 事務所の紹介　こんなことしています医療系　Mobile・・   */
    
.footer_column {
	width: 100%;
	margin-top: 0px;
}


.banner {
	background-color: #2D9AB7;
	background-image: none;
}
.tagline {
	margin-top: 20px;
	line-height: 22px;
}
.hero_header {
	padding-left: 10px;
	padding-right: 10px;
	line-height: 22px;
	text-align: center;
}
    

/* ・・・・・・ 受賞歴・・   */    
    

}





/* Small Tablets（小タブレト） ・・・・・・・・・・・・・・・・・・・・・・・・・*/


@media (min-width: 321px)and (max-width: 767px) {
    
    
   
    
.logo {
	width: 100%;
	text-align: center;
	margin-top: 13px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	color: #fff;
}
.container header nav {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	width: 100%;
	float: none;
	overflow: auto;
	display: inline-block;
	
}
header nav ul {
	padding: 0px;
	float: none;
}
nav ul li {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	width: 100%;
	text-align: center;
	padding-top: 8px;
	padding-bottom: 8px;
}
.text_column {
	width: 100%;
	text-align: left;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.thumbnail {
	width: 100%;
}
    
/* ・・・ 事務所の紹介　こんなことしています医療系　 Small Tablets・・   */    
    
.footer_column {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 20px; /* 見やすくするための余白 */
    display: block; /* 念のため */
  }

 
    
    #contact{
        
     padding-top: 100px;
        
    }    
    
  .gallery-wrapper h1{
        
     padding-top: 100px;
        
    }  
    
    .container{
        height: 100%;
    }
    
}











/*・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・*/




/* Small Desktops （中タブレト）・・・・・・・・・・・・・・・・・・・*/
@media (min-width: 768px) and (max-width: 1096px) {
.text_column {
	width: 100%;
}
.thumbnail {
	width: 50%;
}
.text_column {
	width: 100%;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.banner {
	margin-top: 0px;
	padding-top: 0px;
}
}
/*・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・*/




/*下記追記した　CONTACT＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/


div#contact_wrapper {
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  padding: 2em;
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央寄せ */
  
}

h1#contact{
  font-size: 1.8em;
  margin-bottom: 1em;
 margin-top: 100px;
}

table {
  width: 100%;
  max-width: 600px;
  background-color: white;
  
}

th, td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  width: 30%;
  font-weight: bold;
  color: #333;
}







/*マップ*/


.map_wrapper {
  width: 100%;
  max-width: 600px;
  background-color: white;
  padding: 1em;
  box-sizing: border-box;
  
}

.map_wrapper iframe {
  width: 100%;
  height:300px; /* 好みで調整 */
  border: none;
}






/*＝＝＝＝＝ギャラリーページ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/


.gallery-wrapper h1 {
  text-align: center;
  font-size: 36px; /* 好きなサイズで */
  margin-top: 60px; /* 上に余白が欲しければ */
}



header#gallery h4{
    color: #333333;
}

header#gallery nav ul li a{
    color: #333333;
}



.gallery {
  display: grid; 
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  background-color: #FFFFFF;
  padding-bottom: 35px;
  padding-top: 0px;
  margin-top: 100px; /* ← 上書きされた値に統一 */
  margin-bottom: 0px;
}



.photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

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

.photo .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 15px;
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.photo .date {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
  opacity: 0.8;
}

.photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.photo:hover img {
  transform: scale(1.05);
}

.photo:hover .caption {
  opacity: 1;
}

.photo:hover::after {
  opacity: 1;
}


/*ページネーション*/



.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 40px auto;
  font-size: 16px;
}

.pagination a {
  text-decoration: none;
  color: #333;
  background-color: #eaeaea;
  padding: 8px 14px;
  
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination a:hover {
  background-color: #ccc;
  transform: scale(1.05);
}

.pagination .active {
  background-color: #333;
  color: white;
}


.gallery-wrapper {
  max-width: 960px;
  margin: 100px auto 80px; /* 上・左右中央・下に余白 */
}



/*＝＝＝＝＝個々建物紹介＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/


.gallery2 {
  display: grid; 
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
  width: 100%;
  background-color: #FFFFFF;
  padding-bottom: 35px;
  padding-top: 0px;
  margin-top: 100px; /* ← 上書きされた値に統一 */
  margin-bottom: 0px;
}

.Imagedescription{
    margin-top: 30px;
    
}


/*写真　hoverしない*/


.photo2 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

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







/*＝＝＝＝＝受賞歴＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/



#AWARDS{
    
    height: 500px;
    
}


table#awards{
 border-collapse: collapse;
 width: 100%;
 max-width: 800px;
 margin: 20px auto;
 font-family: sans-serif;
 line-height: 1.6;
}

th#awards2, td#awards3 {
 padding: 8px 12px;
 vertical-align: top;
}

th#awards2 {
 width: 140px;
 text-align: left;   
    
}

td#awards3:last-child {
 text-align: right;
 white-space: nowrap;
}


/*↓改行させない*/

th.awards2, td.awards3 {
  white-space: nowrap;
}







/*＝＝＝＝＝ジャバスクリプト　ゆっくりフェードイン＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

body#main{
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

/*↑時間調整　ゆっくり入る　もう少し早く　opacity 1.5s ease-in-out;*/

body#main.loaded {
  opacity: 1;
}



/*＝＝＝＝＝コンタクト＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/


#mail_wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 2em;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  position: relative; /* 相対位置 */
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  display: block;
  margin-bottom: 1em;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.8em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  margin-top: 0.5em;
}

form textarea {
  height: 150px;
  resize: vertical;
}

form .button-container {
  display: flex;
  justify-content: flex-end; /* ←右寄せ */
}

form button {
  background-color: #007BFF;
  color: white;
  padding: 0.8em 1.5em;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #0056b3;
}













