@charset "UTF-8";
/* CSS Document */
#container {
  max-width: 880px;
  padding-top: 0;
}


/* main
-----------------------------------------------*/
 h1 {
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 60px;
}
.spOnly {
display: none;
}

@media only screen and (max-width:767px) {
 h1 {
    font-size: 20px;
  }
.pcOnly {
display: none;
}
.spOnly {
display: block;
}
}


/* section
-----------------------------------------------*/
#contents {
  margin: 0 40px;
}
#contents .message  {
  text-align: center;
}
#contents .message  h2 {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 30px;
  padding: 10px 80px;
  position: relative;
  display: inline-block;
}
#contents .message  h2::before, #contents .message  h2::after {
  content: "";
  width: 22px;
  height: 22px;
  position: absolute;
  color: #000;
}
#contents .message  h2::before {
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  top: 0;
  left: 20px;
}
#contents .message  h2::after {
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  right: 20px;
  bottom: 0;
}
#contents .message  h3 {
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: 30px;
}
#contents .message  p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 2em;
}
#contents > ul {
  margin-top: 80px;
}
#contents ul li > a{
  display: flex;
  margin-bottom: 30px;
  align-items: center;
}
#contents ul li a:hover{
  opacity: 0.8;
  transition: transform .2s, opacity .3s;
}
#contents ul li:nth-child(2n - 1) a{
  flex-direction: row-reverse;
}
#contents ul li:last-child a {
  margin-bottom: 0;
}
#contents ul li .img {
  max-width: 180px;
  max-height: 300px;
}
#contents ul li .img img {
  width: 100%;
  height: 100%;
}
#contents ul li .txt {
  width: 100%;
}
#contents ul li .txt h2 {
  color: #D06B3A;
  font-size: 40px;
  font-weight: bold;
  font-family: "Cormorant Garamond", serif;
  margin-left: 40px;
  line-height: 1.2;
}
#contents ul li:nth-child(2) .txt h2 {
  color: #2A766D;
}
#contents ul li:nth-child(3) .txt h2 {
  color: #FFD132;
}
#contents ul li:nth-child(4) .txt h2 {
  color: #D24B4B;
}
#contents ul li:nth-child(5) .txt h2 {
  color: #458DBD;
}
#contents ul li:nth-child(6) .txt h2 {
  color: #D06B3A;
}
#contents ul li .txt h2.jp {
  font-size: 26px;
  font-family: "Noto Sans JP";
  line-height: 1.5;
}
#contents ul li .txt h3 {
  font-size: 12px;
  margin-left: 40px;
  font-weight: 400;
  margin-bottom: 10px;
}
#contents ul li .txt p {
  color: #fff;
  background-color: #D06B3A;
  font-size: 16px;
  line-height: 1.5;
  padding: 40px;
  width: 100%;
}
#contents ul li:nth-child(2) .txt p {
  background-color: #2A766D;
}
#contents ul li:nth-child(3) .txt p {
  background-color: #FFD132;
  color: #000;
}
#contents ul li:nth-child(4) .txt p {
  background-color: #D24B4B;
}
#contents ul li:nth-child(5) .txt p {
  background-color: #458DBD;
}
#contents ul li:nth-child(6) .txt p {
  background-color: #D06B3A;
}
@media only screen and (max-width:767px) {
#wrap {
padding-top: 30px;
}
#contents {
  margin: 0 20px;
}
#contents .message  h2 {
  font-size: 18px;
  padding: 10px 60px;
}
#contents .message  h3 {
  font-size: 20px;
}
  #contents .message p {
/*    text-align: left;*/
  }
  #contents ul li a{
   align-items: flex-end;
   }
#contents ul li:nth-child(2n - 1) a{
}
#contents ul li .txt h2{
  margin-left: 10px;
}
#contents ul li:nth-child(2) .txt h2 {
  font-size: 25px;
}
#contents ul li:nth-child(3) .txt h2 {
  font-size: 32px;
}
#contents ul li .txt h3 {
  margin-left: 10px;
}
#contents ul li:nth-child(2n - 1)  .txt h2 ,
#contents ul li:nth-child(2n - 1)  .txt h3 {
  margin-left: 0;
}
#contents ul li .img {
  max-width: 100%;
}
#contents ul li .img img {
  height: 200px;
  width: 120px;
  min-height: 200px;
  min-width: 120px;
  object-fit: cover;
}
#contents ul li .txt p {
  font-size: 13px;
  padding: 20px 10px;
}
}



/* member
-----------------------------------------------*/
.member {
  border: 1px solid #000;
  background-color: #FAFAFA;
  padding: 40px 60px;
  margin-top: 80px;
  text-align: center;
}
.member .img {
  margin-top: 30px;
}
.member .img img {
  max-width: 266px;
  margin: 0 auto;
}
.member > p {
  font-weight: normal;
  font-size: 16px;
  text-align: center;
}
.member h3 {
  font-size: 16px;
  display: block;
  text-align: center;
  margin-top: 10px;
  font-weight: 400;
}
.member .box p {
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  margin-top: 10px;
}
.member .box {
  margin-top: 10px;
}
.member .box h2 {
  font-size: 46px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 100;
  border-bottom: 1px solid #000;
  height: 50px;
  display: inline-block;
  padding: 0 60px;
  margin-top: 60px;
}
.member .box h3 {
  margin: 10px 0;
  font-weight: bold;
  margin-bottom: 30px;
}
.member .box h4 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 40px;
}
.member .box p {
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}
.member .box p a {
  text-decoration: underline;
}
.member .box .note {
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
}
.member .box .note a {
  text-decoration: underline;
}
.member .box ul {
margin-top: 40px;
padding: 40px;
background-color:#EDEDED;
}
.member .box li {
 margin-top: 40px;
}
.member .box li p {
  margin-top: 0;
}
.member .box li:first-child {
 margin-top: 0;
}
.member .method p strong {
 text-align: center
}

.member .btn {
  text-align: center;
  display: flex;
}
.member .btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 280px;
  width: 100%;
  height: 65px;
  box-shadow: 5px 5px 0 var(--accent-color);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  font-weight: 500;
  font-size: 16px;
  background-color: #fff;
  cursor: pointer;
  margin: 0 auto;
  transition: box-shadow .2s;
  text-align: center;
}
.member .btn a:hover {
  box-shadow: 2px 2px 0 var(--accent-color);
}
@media only screen and (max-width:767px) {
.member {
  padding: 60px 20px;
}
.member .img img {
  width: 100%;
}
.member .box {
  margin-top: 30px;
}
.member .box ul {
padding: 40px 20px;
}
.member .btn {
  margin-top: 60px;
}
.member .box h2 {
  display: block;
  padding: 0 20px;
}
 .member .btn a {
    font-size: 16px;
    height: 60px;
  }
}

