@charset "UTF-8";
*, ::before, ::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}
h1 img {
    width: 15%;
    height: auto;
	margin-bottom: 3%
}
header {
    padding-top: 2%;
    padding-right: 5%;
    padding-left: 5%;
    padding-bottom: 0;
	background-image:none;
}
.member-contents {
  margin-top: 30px;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 40px; 
  justify-content: start;
}

.member-box {

    height: 500px;
    background-color: #D9D9D9;
    color: #0110E8;
    padding: 60px 30px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	transition: transform 0.3s ease-in-out; 
}

.member-box:hover {
  transform: translateY(-8px); 
}

.id-1 {
	display: flex;
}
.id-1-photo {
	width: 290px;
	height: auto;
	margin-left: -30px
}

.id-1-name {
    writing-mode: vertical-rl;
    font-size: 32px;
    font-weight: 700;
}
.position {
 margin-bottom: 0.5rem;
 font-size: 18px;
}
.name {
    font-size: 43px;
    line-height: 1;
    position: relative;
    bottom: 0px;
}

.popup-checkbox {
  display: none;
}


.popup-open {
  cursor: pointer; 
}

.popup-overlay {
  display: none;
}

.popup-checkbox:checked + .popup-open + .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
.popup-checkbox:checked + .popup-open + .popup-overlay {
  display: block;
}
.popup-window {
  width: 90vw;
  max-width: 560px;
  padding: 20px;
  background-color: #D9D9D9;
  border-radius: 6px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.popup-text p {
    margin-bottom: 3%;
    color: #0110E8;
    text-align: justify;  
	
}

.popup-text h3, .popup-text h4 {
	margin: 0px;
	color: #0110E8;
	line-height: 1;
}

.popup-text h3 {
	font-size: 16px;
	margin-bottom: 0.5em;
	margin-top: 1em;
}

.popup-text h4 {
	font-size: 25px;
	margin-bottom: 1em;
}
.popup-text:not(:last-of-type) {
  margin-bottom: 1em
}

.popup-close {
  cursor: pointer;
  position: absolute;
  top: -26px;
  right: 0;
}

.formtable {
	width: 60%;
  margin: 0 0 0 auto;
  border-collapse: collapse;
  position: relative;
  margin-bottom: 80px;
}
.formtable th ,.formtable td {
	padding: 10px;
}

table tr:last-child td, 
table tr:last-child th {
    border-bottom: none;
}

.formtable input[type="text"],
.formtable input[type="tel"],
.formtable input[type="email"],
.formtable textarea {
    background-color: #D9D9D9;
    outline: none;
    border: 1px solid #ccc; 
    box-shadow: none; 
    padding: 5px 0;
    width: 95%;
    border-radius: 0; 
}

.submit-btn {
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    border-radius: 50px;
    outline: none;
    box-shadow: none;
    border: none;
    
    background-color: #D9D9D9;
    padding-top: 5px;
    padding-right: 20px;
    padding-left: 30px;
    padding-bottom: 5px;
    color: #0110E8;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px; 
}

.submit-btn .icon {
    width: 30px;  
	
}

@media (max-width: 900px) {
	.formtable {
	width: 100%;
	}
}
	

@media (max-width: 750px) {
  .member-contents {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 30px; 
    max-width: 100%; 
    margin-top: 10%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30%;
  }

  .member-box {
    max-width: 360px; 
    width: 100%; 
    margin: 0 auto; 
  }
	
}


@media (max-width:600px){

h1 img {
    width: 25%;
    height: auto;
	margin-bottom: 3%
}
header {
    padding-top: 3%;
    padding-right: 5%;
    padding-left: 5%;
    padding-bottom: 0;
}

}
@media (max-width:400px){
	header {
    padding-top: 5%;
	}
	h1 img {
    width: 35%;
    height: auto;
	margin-bottom: 3%
}
	.member-box {
    max-width: 300px; 
}
	.member-contents {
  grid-template-columns: repeat(auto-fit, minmax(270px);
}
	.formtable th, .formtable td {
	display: block;
}
	.formtable td {
		border-bottom-style: none;
	}
	
}
