@charset "UTF-8";
:root {
  --dark: #000;
  --black: #333;
  --light: #666;
  --white: #fff;
  --magenta:#DB03A8 ;
  --turquoise:#0BE1F7;
  --yellow:#FFE900;
  --blue: #4184F3;
  --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
  
}
/* index.html以外のページ共通項目 */
/* common.cssでフッターをbottom:0固定しているものを解除 */
footer {
  position: absolute;
  bottom: auto;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 50px;
}
.top-image {
  max-width: 1200px;
  height: 450px;
  background: url('../image/about@medium.jpg') no-repeat top center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-section {
 width: 40%;
 background-color: rgba(243, 243, 243, 0.8);
 padding: 30px;
}
.right-section {
 width: 60%;
 padding: 30px;
 text-align: center;
 color: #fff;
}
/* 右側文字装飾 */
.logo-sec05 {
  width: 300px;
  height: 200px;
}
.eg-text {
  font-family: sacre-bleu-mvb,sans-serif;
  font-weight: 500;
  font-style: normal;  
  font-size: 2.4rem;
}
.title-box {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 40px 1fr;
  align-items: center;

}
.title-box .title {
  align-self: end;
}
.no {
  grid-row: 1/2;
  grid-column: 1/2;
  font-size: 2.4rem;
  position: relative;
  line-height: 1;
}
/* 数字の下線 */
.no1::after {
  content: "";
  width: 30px;
  height: 5px;
  background-color:var(--yellow);
  position:absolute;
  left:0;
  bottom: -5px;
}
.title {
  grid-row: 1/2;
  grid-column: 2/-1;
  font-size: 2.4rem;
  justify-content:last baseline;
}
.sub-title {
  grid-row: 2/-1;
  grid-column: 2/-1;
  font-size: 1.7rem;
  font-weight: normal;
}

/* 記事 */
/* 記事を囲む枠 */
.main-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 15px 100px;
}
.main-article h2{
  display: block;
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
  font-family: a-otf-ryumin-pr6n,serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 2px;
}

/* 記事 */
.chapter {
  padding: 60px 0 20px;
  }

  .article {
  letter-spacing: 1px;
  padding:35px 0 35px;
  font-family: a-otf-ryumin-pr6n,serif;
  font-weight: 300;
  font-style: normal;
  line-height: 2;
  }


/* 挨拶文と名前 */
.copy {
 padding-top: 50px;
 line-height: 2;
}
.name {
 text-align: right;
}


/* 写真とプロフィール */
.profile {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-template-rows: 1fr;
  margin: 150px 0px 50px;
 
 }

.profile img {
  width: 30vw;
  height: 30vw;
  max-width: 250px;
  max-height: 250px;
  border-radius: 50%;
  object-fit: cover;
  
}
.image-box { 
  display: flex;
  justify-content: center;
  align-items: center;
}

.text p {
  padding-left: 17px;
}
.text ul {
  padding: 10px;
  font-size: 1.4rem;
  letter-spacing: 1px;
  line-height: 1.5;
  font-family:"Hiragino Kaku Gothic ProN", Meiryo, sans-serif ;
  font-weight: 400;    
  font-style: normal;
}
.text li {
  list-style: none;
  padding: 10px;
}


/* モバイル用メディアクエリ */

@media (max-width: 768px) {
  
  .main-container {
    padding-top: 0;
  }
  .top-image {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .left-section {
    width: 90%;
    background-color: rgba(243, 243, 243, 0.8);
    padding: 30px;
   }
   .right-section {
    width: 100%;
    padding: 30px;
    text-align: center;
    color: #fff;
    
   }
   .profile {
     gap: 100px;
   }
  .profile img {
    width: 70vw;
    height: 70vw;
  }
}