@charset "utf-8";




/*===============================================
	representative
===============================================*/
#representative {
	max-width: 960px;
	margin: 0 auto 100px;
}
#representative h3 {
	color:#FFF;
}
#representative h3.line::before {
	background-color:#FFF;
}
#representative .representativeWrap {
	position: relative;
	min-height: 536px;
	padding-top:70px;
}

#representative .representativeWrap .txt {
	width: calc(660px - 210px);
	background-color: #FFF;
	position: relative;
	z-index: 1;
	padding: 70px 150px 50px 60px;
background-image:
  url("../images/message/bg.svg");

background-size: 550px 258px, cover;
background-repeat: no-repeat, no-repeat;
background-position:top left;
}
#representative .representativeWrap .txt p {
	margin: 0 0 25px;
	line-height: 1.6;
}
#representative .representativeWrap .txt p.right {
	text-align: right;
}
#representative .representativeWrap .txt p.right span {
	font-size:0.8rem;
}

#representative .representativeWrap .img {
	position: absolute;
	width: 400px;
	height: 536px;
	top: 0;
	right: 0;
	z-index: 2;
}

@media screen and (max-width:900px){

#representative .representativeWrap {
	position:inherit;
	min-height:inherit;
	padding-top:0;
    }


#representative .representativeWrap .txt {
    width:auto;
	padding:0;
    margin: 0 5%;
    padding:25px 5% 10px;
}
#representative .representativeWrap .txt p {
	margin: 0 0 15px;
    font-size: 0.9rem;
}
#representative .representativeWrap .img {
    position: inherit;
    width:60%;
	height:auto;
    margin: 0 auto 25px;
}
}

/*===============================================
	management
===============================================*/
#management {
	position: relative;
	max-width: 800px;
	margin: 0 auto 75px;
	background-color: #FFF;
}
#management h3.line {
	top:-30px;
	margin-bottom: 0;
}
#management p {
	padding:0 60px 50px;
}
#management .btn a {
	position:relative;
  display: block;
  width: 300px;
  margin: 0 auto;
  padding: 10px 0;
  text-align: center;
  color: #FFF;
  background-color: var(--main-bg1);
  text-decoration: none;
  border-radius: 5px;
}
#management .btn a::after {
	position: absolute;
	top: 50%;
	right: 0;
	font-size:1.2rem;
	transform: translateY(-50%);
	right: 10px;
	font-family: "Material Icons";
	content: "\e415";
}
#management .btn a:hover {
	background-color: #00386b;
}

@media screen and (max-width:900px){
#management {
	margin: 0 5% 20px;
}
#management p {
	padding:0 5% 50px;
}
}


/*===============================================
	message
===============================================*/
#message {
    position: relative;
	max-width: 900px;
	margin: 0 auto 80px;
}

#message .messageWrap {
    position: relative;
    max-height: 300px; /* 開く前に見せたい高さを指定 */
    margin-bottom: 10px;
    overflow: hidden;
    transition: max-height 1s;
}

#message:has(:checked) .messageWrap {
    max-height: 2600px;
}

#message .messageWrap::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .9) 50%, hsla(0, 0%, 100%, .9) 0, #fff);
    content: '';
}

#message:has(:checked) .messageWrap::after {
    content: none;
}

#message label {
    display: flex;
    align-items: center;
    gap: 0 4px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    background-color:var(--main-bg1);
    color: #fff;
	border-radius: 3px;
}

#message label:hover {
	background-color: #00386b;
    cursor: pointer;
}

#message:has(:checked) label {
    display: none;
}

#message label::after {
    display: inline-block;
    width: 10px;
    height: 5px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

#message label:hover::after{
    background-color: #2589d0;
}

#message input {
    display: none;
}
#message h4 {
	margin-bottom: 25px;
	padding-bottom: 5px;
	font-size:1.4rem;
	color:#333;
	font-weight: 500;
	border-bottom: 1px solid var(--main-bg1);
}
#message h5 {
	margin: 0 0 15px;
	font-weight: 600;
	font-size: 1.2rem;
}
#message .box {
	margin: 0 0 35px;
}
#message ul {
	margin: 0 0 15px;
	font-size:0.9rem;
}
#message ul li {
	list-style-type:disc;
	margin: 0 0 0 25px;
	line-height: 1.6;
}
#message ul li.no {
	list-style-type:none;
	margin: 0;
}

@media screen and (max-width:900px){
#message {
    position: relative;
	margin: 0 5% 60px;
}

#message:has(:checked) .messageWrap {
    max-height: 4000px;
}
}


.openLink {
cursor: pointer;
max-width:400px !important;
margin:0 auto 30px;
padding:10px 30px;
color:#FFF;
text-decoration: none;
background: url(../svg/arrow.svg) 98% no-repeat;
background-size: 28px;
font-size: 18px;
text-align:center;
background-color: #000;
}
.textArea {
	display: none;
	margin: 0 auto 20px;
}

@media screen and (max-width:900px){

.openLink {
	max-width:280px !important;
	padding:10px 22px 10px 5px;
	background-size: 20px;
	font-size: 16px;
}
.opentArea {
	margin: 20px 30px 0;
}
}

