@charset "utf-8";

/*reset-----------------------------------------------------------------*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset,
input, textarea, p, th, td, figure, blockquote {margin: 0;padding: 0;}
html {font-size: 62.5%;overflow-y: auto;}/* 1rem = 10px */
h1, h2, h3, h4, h5, h6 {font-size: 100%; font-weight: normal;}
ol, ul {list-style: none;}
fieldset,img {border: 0;}
table {border-collapse: collapse;border-spacing: 0;}
caption,th {text-align: left;}
address, caption, cite, code, dfn, th, var, em, i {font-style: normal; font-weight: normal;}
img {border: none;}

/*-------------------------------------------------------------------*/



body {
  min-width: 550px;
  overflow-x: hidden; /* 只限制水平，不限制垂直 */
  overflow-y: auto;   /* 允許垂直滾動 */
  background: #103b49;
  background: url(../images/bg.jpg) top/cover;
  background-attachment: fixed;
  font-size: 1.8rem;
  line-height: 1.8;
  color: #fff;
  letter-spacing: 0.1em;
  -webkit-text-size-adjust: 100%;
  font-family: 'Times New Roman', "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  /*
font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
*/
  -webkit-font-smoothing: antialiased;
}

body.fixed {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: visible;
}

input,button,textarea,select {
  border-radius: 0;
  font-size: 1.6rem;
  font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

a, .btn {
  transition: all 0.3s ease-out 0s;
  color: #fff;
  text-decoration: none;
}

a:hover {opacity: .7;}
picture {display: block;}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

em, i {font-style: normal;}
b,strong,em {font-weight: normal;}
body * {box-sizing: border-box;}
.mint {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-feature-settings: "palt";}
.phr {display: inline-block;}
.dpc {display: block !important;}
.dsp {display: none !important;}


/*phone size 599px-------------------------------------------------------------------*/

@media screen and (max-width: 599px) {
  html {
    font-size: calc(100vw / 599 * 12);
  }

  input, button, textarea, select {font-size: 3.7333vw;}

  select {
    -webkit-appearance: none;
    appearance: none;
  }

  input[type="checkbox"] {
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
    border-radius: 0;
  }

  body {
    min-width: unset;
    font-size: 2rem;
  }

  .dpc {
    display: none !important;
  }

  .dsp {
    display: block !important;
  }


  ._contents::before {
    width: 10vw;
    height: 15vw;
    right: 4vw;
  }

  ._sec {
    width: 100%;
    height: 90vh;
    padding: 5rem 1rem;
  }

  ._sec.height100 {
    height: 90vh;
  }

  ._sec>* {
    width: 100%;
    overflow-y: hidden;
  }

  ._sec .sec_title {
    font-size: 4.5rem;
    line-height: 1.2;
  }

  ._sec ._body {
    font-size: 1.6rem;
    margin-top: 3rem;
  }

  .n1 .n2 .n3 .n3_1 .n4 .n5 .n6{
    height: 100vh;
    
  }

  .n1 strong {
    margin-top: 2em;
  }

  .n2 ._body p {
    font-size: 2rem;
  }


  .team-grid {
    box-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    overflow-x: hidden;
  }
  .n5 .team-card {
    padding: 1rem;
    flex: 1 1 calc(50% - 1rem);
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    
  }


  
  .n6 ._body blockquote p {
    width: 60vw;
  }
}

/*--------------------*/

/*--------------------*/
.loading {
  background-color: #fff;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
  transition-duration: .6s;
  transition-timing-function: ease-in-out;
}

/*--------------------*/
._contents {
  --main-color: #fff;
  --sub-color: #96dcf3;
  --sub-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-feature-settings: "palt";
  position: relative;
}

/*._contents::before{display: block; content: ""; width: 75px; height: 120px; background-color: #b01513; box-shadow: 0px 4px 2px 0 rgba(0, 0, 0, 0.3); position: fixed; top: 0; right: 200px; z-index: 100;}
(RED BLOCK) */

.n1 .n2 .n3 .n3_1 .n4 .n5 .n6 .n7{height: 100vh;}

/*--_sec setting------------------*/
._sec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  max-width: 1000px;
  height: auto;
  min-height: unset;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8rem 2rem 12rem 2rem;
  text-align: left;
  margin: 0 auto;
  box-sizing: border-box;
}

._sec.height100 {
  height: 100vh;
}

._sec>* {
  width: 100%;
  overflow-y: hidden;
}

._sec .sec_title {
  font-size: 6.5rem;
  line-height: 1;
}

._sec ._body {
  font-size: 2rem;
  margin-top: 4rem;
}

/*--n1-------------------*/
.n1 {
  text-align: center;
  opacity: 0;
  transition-duration: 3.2s;
  transition-timing-function: ease-in-out;
  transition-delay: .6s;
}

.n1.show {
  opacity: 1;
}

.n1 .title {
  font-size: 7rem;
  line-height: 1.4;
}

.n1 strong {
  display: block;
  font-size: 3rem;
  color: var(--sub-color);
  margin-top: .5em;
}

#hero {
  position: relative;
  overflow: hidden;
}

#flashlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* 讓滑鼠可以穿透 */
  z-index: 5;

  background: radial-gradient(circle 120px at 50% 50%, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  mix-blend-mode: multiply;
  /* 讓黑色與背景融合 */

}

#hero .n1_content {
  position: relative;
  z-index: 6;
  /* 確保內容在手電筒光圈上層可見 */
}


#flashlight-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  filter: url(#distort-ring);
}

.ring-outline {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  border: 2px solid black;
  background: radial-gradient(circle, #000000 0%, #353534 10%, #4f5252 40%, #93989b 70%, #82bbbd 100%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}


/*--n2------------------*/
.n2{
  overflow-y: hidden;
}

.n2 ._body dl dt {
  font-size: 2.5rem;
  font-weight: 600;
}

.n2 ._body dl dt i {
  display: inline-block;
  font-size: 3rem;
  margin-right: .2em;
}

.n2 ._body dl dd {
  padding-left: 2.7em;
  margin-bottom: 1.5em;
}

.n2 ._body p {
  border-top: 1px #fff solid;
  padding-top: 3em;
  font-size: 1.6rem;
  margin-top: 3em;
}


/*--n3------------------*/
.n3 ._body p {
  font-size: clamp(1.5rem, 2vw, 3rem);
  font-family: var(--sub-family);
  line-height: 2.5;
  overflow-y: hidden;
}

.n3_1 ._body p {
  font-size: clamp(1.5rem, 2vw, 3rem);
  font-family: var(--sub-family);
  line-height: 2.5;
  overflow-y: hidden;

}


/*--n4------------------*/
.n4 ._body dl {
  display: flex;
  flex-wrap: wrap;
}

.n4 ._body dl>* {
  margin-bottom: 1.5em;
}

.n4 ._body dl dt {
  width: 6em;
  position: relative;
}

.n4 ._body dl dd {
  width: calc(100% - 7em);
}


/*--n5------------------*/
.n5 .sec_title {
  margin-bottom: 3rem;
}

.n5, .n6 {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.team-grid {
  box-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.team-card {
  position: relative;
  width: 100%;
  max-width: 200px;
  text-align: center;
  padding: 1rem;
  background: #fff;
  color: #000;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.3s;
  flex: 1 1 calc(25% - 2rem);
  /* Maxium 4 pic per quene */
  box-sizing: border-box;
  /*maintain border*/
}

/* Animation of team card */
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-card img {
  width: 100%;
  border-radius: 1rem;
}

.team-card .card_box{
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.team-card small {
  font-size: 1.2rem;
  margin-bottom: -1rem;
  text-align: center;
}

.team-card h3 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}


/*--modal------------------*/


/* Modal Background */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* 黑色半透明背景 */
  display: flex; 
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
  
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal content canva */
.modal-content {
  background: linear-gradient(to right, #111, #222);
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
  width: 85%;
  max-width: 960px;
  max-height:90vh;
  overflow:hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* close bottom */
#modal-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
  color: #aaa;
}

#modal-close:hover {
  color: black;
}


.modal-profile-box{
  display: flex;
  height:100%;
  gap: 2rem;
}


.profile-photo-box img{
  width: 150px;
  height: 195px;
  object-fit: cover;
  border-radius: 1rem;
}


/* 右側區域排版 */
.profile-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* 限制內部滾動 */
}

.profile-header {
  flex: 0 0 auto;
}

.member-name {
  font-size: 2.4rem;
  font-weight: 700;
  color: #8f87ff; /* 類似紫藍色 */
  margin: 0;
}

.member-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #ccc;
}

.profile-scrollable{
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 1rem;
  max-height: 50vh;
}

/* 滾動條樣式 */
.profile-scrollable::-webkit-scrollbar {
  width: 8px;
}
.profile-scrollable::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 4px;
}
.profile-scrollable::-webkit-scrollbar-track {
  background: transparent;
}


.member-description {
  font-size: 1.3rem;
  line-height: 1.6;
}

.modal-content .modal-profile-box h3 {
  margin-top: 2rem;
  font-size: 1.6rem;
  border-bottom: 1px solid #444;
  padding-bottom: 0.3rem;
}

.modal-content .modal-profile-box dl {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.2rem;
  margin-top: 1rem;
}


.modal-content .modal-profile-box dl dt {
  width: 10em;
  font-weight: bold;
}

.modal-content .modal-profile-box dl dd {
  width: calc(100% - 10em);
  margin: 0 0 1rem 0;
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*--n7------------------*/
.n7 .mail {
  display: block;
  color: var(--sub-color);
  margin-top: 2em;
}

.n7 .mail:hover {
  text-decoration: underline
}

