@charset "utf-8";
/*汎用**************************************************/

h1,h2,h3,h4,div,dl,dt,dd,ul,li,span,nav,p{box-sizing: border-box;}

.br-pc { display:none; }
.br-sp { display:block; }

.hiddenSp{
visibility: hidden;
display: none;
width: 0px;
height: 0px;
}

/*FLEX BOX*/
.container {
display: flex;
align-content: stretch;
flex-wrap: wrap;
}

/* Title Text *********************************/

.TitleA {
font-size: 22px;
font-weight: normal;
display: flex;
align-items: center; 
margin: 0;
padding: 0 2%;
}
.infoTitleA{
padding: 0px!important;
}

.TitleA::before {
content: "";
display: block;
width: 16px; 
height: 1px; 
background-color: #333;
margin-right: 12px; 
}

.TitleB {
font-size: 16px; 
font-weight: bold;
}

.TitleC {
font-size: 36px; 
line-height: 1.0;
}

.TitleD {
font-size: 35px; 
line-height: 1.8;
letter-spacing: -0.05em;
}

.TextA {
font-size: 14px; 
line-height: 1.8;
}

.TextB {
font-size: 16px; 
line-height: 1.5;
}

.TextC {
font-size: 24px; 
line-height: 1.8;
}

.TextD {
font-size: 21px; 
line-height: ;
}

.TextE {
font-size: 12px; 
line-height: 1.8;
}

.TextGray{
	color: #999;
}


/* フェード *********************************************/
.fade .animation-bg {
background: #fff;
content: "";
position: fixed;
z-index: 999;
top: 0;
left: 0;
width: 100%;
height: 100vh;
animation-name: PageAnime-fade;
animation-duration: 0.3s;
animation-delay: 0.8s;
animation-timing-function: ease-in-out;
animation-fill-mode: forwards;
pointer-events: none;
}
 
@keyframes PageAnime-fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}


/* スライダー *******************************************/
.slick-container {
  margin: 30px auto 0;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.slick-containerB {
margin: 0 auto;
width: 100%;
max-width: 100%;
position: relative;

}
.slick-container img,.slick-containerB img {
  height: auto;
  width: 100%;
  display: block;
}

.slick-img {
  overflow: hidden;
  width: 100%; 
}

.slick-img img {
  transform: scale(1);
  transition: transform 4s; 
}
.slick-img.start-zoom img {
  transform: scale(1.3);
  transition: transform 7s linear; 
}

.thumbnail-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 1%;
}
.thumbnail-item {
  width: 24.25%;
  margin: 0 0 20px 0;
  opacity: 0.6;
  transition: opacity .3s linear;
  cursor: pointer;
}
.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.thumbnail-item.current {
	opacity: 1;
	border: 1px solid #333;
}

.modal {
display: none;
position: fixed; 
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%; 
overflow: auto; 
align-items: center;
justify-content: center;
animation: fadeIn 0.3s ease-out;
}

.modal::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-image: url(../img/bg_gp.png);
background-repeat: repeat;
background-size: auto; 
opacity: 0.9;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #333;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 1001;
  text-shadow: none;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
@keyframes zoomIn {
  from {transform:scale(0.9); opacity: 0;}
  to {transform:scale(1); opacity: 1;}
}

.slick-prev,
.slick-next {
position: absolute;
top: 30%; 
transform: translateY(-30%);
z-index: 10;
cursor: pointer;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s;
color: #333;
font-size: 24px;
line-height: 1;
background: none;
width: 25px; 
height: 25px; 
}

.slick-prev {left: -25px;}

.slick-next {right: -25px;}

.slick-prev i,
.slick-next i {color:#333;}
/*.slick-prev {left: -50px;}
.slick-next {right: -50px;} */

/* --- モーダル内のスライダー用CSS (追加) --- */

.modal-slick-container {
    width: 80%;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.modal-slider img {
    width: 100%;
    height: auto;
    display: block;
}

/* モーダル内の矢印スタイル */
.modal-slick-prev,
.modal-slick-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 10;
cursor: pointer;
background: none;
border: none;
padding: 10px;
border-radius: 50%;
font-size: 32px;
color: #333;
text-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
transition: background-color 0.3s;
line-height: 1;
}

.modal-slick-prev {left: -30px;}
.modal-slick-next {right: -30px;}

.modal-slick-prev:hover,
.modal-slick-next:hover {
}
.hamburger-menu__button {display: none;}

/*FLEX BOX*/
.container {
display: flex;
align-content: stretch;
flex-wrap: wrap;
}


/*ヘッダー**************************************************/
#global-header {
width: 100%;
}

.header-inner {
width: 95%;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
gap: 0;
padding: 10px 2%;
text-align: center;
position: relative;
}

.header-logo img{
width: 50%;
margin: 5px auto 0 auto;
}

.hamburger-menu {
display: block;
background: none;
border: none;
cursor: pointer;
padding: 10px;
z-index: 200;
position: absolute;
width: 40px;
height: 40px;
top: 50%;
left: 2%;
transform: translateY(-50%);
}


.hamburger-menu span {
display: block;
width: 100%;
height: 3px;
background-color: #333;
margin-bottom: 6px;
transition: transform 0.3s, opacity 0.3s;
}

.hamburger-menu span:last-child {
margin-bottom: 0;
}


.header-nav {
display: flex;
align-items: center;
flex-grow: 1;
justify-content: space-between;
}

.nav-links {
display: flex;
gap: 30px;
}

.header-nav {
display: block;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: rgba(255, 255, 255, 0.98);
z-index: 150;
padding-top: 80px;
transform: translateX(-100%);
transition: transform 0.3s ease-out;
overflow-y: auto;
}

.header-nav.is-active {
transform: translateX(0);
}

.nav-links {
flex-direction: column;
align-items: center;
gap: 20px;
padding: 30px 0;
border-bottom: 1px solid #eee;
}

.nav-links a {
font-size: 1.2em;
padding: 10px 0;
}

.social-links {
justify-content: center;
padding: 30px 0;
margin: 0 auto;
}

.social-links li{
display:inline-block;
width: 48%;
text-align: center;
}

.header-nav {
flex-grow: initial;
justify-content: initial;
}

.hamburger-menu.is-active span:nth-child(1) {
transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.is-active span:nth-child(2) {
opacity: 0;
}

.hamburger-menu.is-active span:nth-child(3) {
transform: translateY(-9px) rotate(-45deg);
}

/*共通 ******************************************************/
.ContainerA{
width: 100%;
margin: 0 auto;
padding: 3%;
}

.ContainerB{
width: 100%;
margin: 0 auto;
padding: 3% 5%;
}

.LinkA{
border-bottom: 1px solid currentColor;
padding-bottom: 3px;
}


/* パンクズリスト */
.breadcrumb-nav{
padding:0 2%;
}

.breadcrumb-list {
list-style: none;
padding: 0 0 25px 0;
margin: 0;
display: flex;
align-items: center;
font-size: 12px;
color: #a0a0a0;
letter-spacing: 0.1em;
}

.breadcrumb-list li {margin-right: 8px; }

.breadcrumb-list li:last-child {color: #808080;}

.breadcrumb-list a {
text-decoration: none;
color: inherit;
}

.breadcrumb-list li:nth-child(2) {
margin-right: 8px;
margin-left: -2px;
}

.breadcrumb-list .fa-home {font-size: 14px;}



/* INDEX **************************************************/
.IndexTitle{
padding: 30px 0 0 0;
text-align: center;
}

.Index-Slide{
border-radius: 20px;
width: 100%;
overflow: hidden;
}

.Main-Wrap{
width: 100%;
margin: 0 auto;
padding:2%;
/*
box-shadow: 
-5px 0 10px 2px rgba(0, 0, 0, 0.1), 
5px 0 10px 2px rgba(0, 0, 0, 0.1);
*/
}

.ContBox01{
width: 100%;
margin: 2% 0;
padding: 0;
}


/* INFOMATION */
.Infomation-box{
margin: 30px 0 0 0;
}

.update-list {
list-style: none;
padding: 0;
margin: 2% 0;
font-size: 16px;
color: #333;
}

.update-list li {
display: flex;
align-items: flex-start;
padding: 10px 0; 
line-height: 1.5;
}

.update-list li:first-child {padding-top: 0;}

.update-list .date {
display: block;
width: 50%;

margin: 0;
}

.update-list .content {display: block;width: 100%;}

.update-list li:not(:last-child) .content {
padding-bottom: 12px;
margin-bottom: -5px;
}







/* ABOUT ***************************************************/
.AboutContainerA{margin: 20px 0 0 0;}
.AboutContainerB{width: 100%;margin: 60px 0 0 0;}

.bg-About{
background: url(../img/bg_text.png) no-repeat;
background-position: center center;
background-size:30%;
}
.office-name-tit{text-align: center;}
.AboutTxt{margin: 0 0 20px 0;}
.AboutPic img{
width: 60%;
margin:8% auto;
border-radius: 20px;
}

.AboutContainerC{margin: 0;padding: 0;}

/*左側*/
.card-container {
width: 100%;
margin:0;
padding: 0px;
}

.office-name-jp {
font-size: 20px;
margin:0 0 3% 0;
}

.office-name-en-group {
margin: 0 0 20px 0;
}

.office-name-kana{

}

.office-details{
margin: 15px 0;
padding: 10px 0;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}

.office-details ul li{
list-style-type: disc;
list-style-position: inside;
}

.fa-map{margin: 0 0 0 10px;}

.map-icon-trigger {
cursor: pointer;
margin-left: 5px;
}

.MapBoxA{
margin:0;
}

.MapTxt{
width: 85%;
margin: 0;
text-align: right;
}

.MapTxt p{
width:100%;
padding: 10px 30px 0 0;
text-align: right;
}

.MapLogo{
width:15%;
float: right;
margin: 0 0 0 auto;
}
.MapLogo img{
width: 100%;
margin: 0 0 0 auto;
}

.MapBoxB{margin: 30px 0 0 0;}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

.modalA {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
animation: fadeIn 0.3s ease-out;
}

.modalA::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-image: url(../img/bg_gp.png);
background-repeat: repeat;
background-size: auto; 
opacity: 0.9;
}

.modal-contentA {
margin:5% auto;
padding:3%;
width:100%;
position: relative;
animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-button {
color: #aaa;
float: right;
font-size: 48px;
font-weight: bold;
cursor: pointer;
line-height: 1;
margin: -40px 0 0 0;
}

.close-button:hover,
.close-button:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}

.map-embed-container {margin-top: 15px;}

.profile-header {
margin-bottom: 20px;
border-bottom: 1px solid #ccc;
}

.name-group {
margin-bottom:10px;
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 20px;
}

.name-jp {
font-size: 24px;
margin: 0;
letter-spacing: 0.1em;
}

.name-en {font-size: 18px;}

.qualification {
margin: 0;
padding-bottom: 25px;
}

.history-list {margin-top: 25px;padding: 0;}

.history-row {
display: grid;
grid-template-columns: 60px 1fr;
gap: 20px;
margin-bottom: 10px;
line-height: 1.8;
}

.year {text-align: left;color: #666;}

.history-text {margin: 0;}



/* レスポンシブ対応（スマホなど狭い画面用）
@media (max-width: 600px) {
    .name-group {
        gap: 10px;
    }
    .name-jp {
        font-size: 26px;
    }
    .name-en {
        font-size: 18px;
    }
    .history-row {
        gap: 10px;
    }
}
 */















/* PROJECTS ************************************************/
.project-grid {
list-style: none;
padding: 0;
margin: 3% auto;
display: flex;
flex-wrap: wrap;
gap: 30px;
}

.project-grid li {width: calc(50% - 15px);}


.project-grid li > a.project-link-wrapper {
display: block;
text-decoration: none;
color: inherit;
}

.project-image-wrapper img {
display: block;
width: 100%;
height: auto;
transition: transform 0.3s ease-out;
transform: scale(1);
border-radius: 15px;
}

.project-grid li .project-image-wrapper img:hover {transform: scale(1.2); }

.project-image-wrapper {
background-color: #d3d3d3;
width: 100%;
aspect-ratio: 3 / 2;
border-radius: 15px;
margin-bottom: 20px;
box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
overflow: hidden;
}

.project-outline {
display: grid;
grid-template-columns: 100px 1fr;
gap: 10px 20px;
margin: 0;
padding: 0;
font-weight: 300;
line-height: 1.6;
}

.project-outline dt {
grid-column: 1;
margin: 0;
color: #666;
}

.project-outline dd {
grid-column: 2;
margin: 0;
}

.button-box{
margin: 30px 0;
text-align: center;
}

.return-to-list-button {
width: 170px;
height: 40px;
margin: 0 auto;
line-height: 40px;
background-color: #383838;
color: #ffffff !important;
text-decoration: none !important;
text-shadow: none !important;
border: none;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s;
}


.return-to-list-button:hover {
background-color: #4a4a4a;
}


    /* レスポンシブ対応（スマホなど狭い画面の時） 
    @media (max-width: 480px) {
        .project-outline {
            grid-template-columns: 80px 1fr;
            font-size: 16px;
        }
    }*/



/* PRIVACY ************************************************/
.policy-heading {
margin-top: 35px;
margin-bottom: 10px;
}

.privacy-policy-container ul {
list-style-type: none;
padding-left: 0;
margin-top: 5px;
margin-bottom: 15px;
}
.privacy-policy-container ul li {
position: relative;
padding-left: 1.5em;
}
.privacy-policy-container ul li::before {
content: '・';
position: absolute;
left: 0;
color: #333;
}

.privacy-policy-container p {
margin-top: 0;
margin-bottom: 20px;
}



/*CONTACT**************************************************/







@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
}



/*FOOTER **************************************************/
footer{
width: 100%;
margin: 0% auto;
padding: 0;
border-top: solid 1px #333;
}

.Copyright{
margin: 0;
padding: 15px 0;
}

.Copyright p{
font-size: 0.75em;
text-align: center;
color: #333;
}



/* page-top */
#pageTop {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 100;
	display: block;
	background: url(../img/gotop.png);
	background-size: 34px 34px;
	width: 34px;
	height: 34px;
	text-indent: -9999px;
	transition: .3s;
	/*   デフォルトは非表示 */
	opacity: 0;
}
#pageTop:hover {
	background: url(../img/gotop.png);
	background-size: 34px 34px;
}

.mt40{
	margin-top: 20px;
}
.mt20{
	margin-top: 10px;
}