@charset "UTF-8";
/* ================================================================
基本設定
================================================================ */
body{
  width: 100%;
  font-size: 16px;
  color: #B8B8B8;
  background-color: #383838;
  padding-top: 4rem;
  margin: auto;
  -webkit-text-size-adjust:100%;
}
h1{
  font-size:40px;
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
}
h2{ 
  font-size:24px;
  margin-top: 5px;
}
h3{ font-size:18px;}
img{
  max-width:100%;
  object-fit: contain;
}
.orange{
  color: #FFBA12;
}
section{
  margin-bottom: 200px;
}

/* ================================================================
ナビゲーションバー
================================================================ */
.navbar{
  background-color: #383838;
  color: #B8B8B8;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
  border-bottom: 1px solid #B8B8B8;
}
.navbar-brand{
  padding: 0;
  margin: 0;
}
.navbar-brand img{
  height: 60px;
  margin: 0;
  padding: 0;
}
.navbar-toggler{
  padding: 5px;
  margin: 0 0 0 auto;
  border-color: #B8B8B8;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(185,185,185,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-collapse{
  padding: 0;
}

.container-fluid{
  justify-content: center;
  padding: 0;
}

.container-fluid li{
  list-style: none;
}
.container-fluid li a{
  font-size:24px;
  padding-left: 12px;
  color: #B8B8B8;
  text-decoration: none;
}
.container-fluid li a:hover{
  color: #FFBA12;
}

/* ================================================================
フッター
================================================================ */
footer{
  width: 400px;
  margin: 0 auto;
  background-color: #383838;
  font-size: 12px;
}
.footer-menu-list ul{
  display: flex;
  justify-content: center;
  margin: auto;
  padding-left: 0;
}
.footer-menu-list li{
  list-style: none;
}
.footer-menu-list li+ li {
  border-left: 1px solid #B8B8B8;
}
.footer-menu-list li a{
  font-size:12px;
  padding: 0px 6px;
  color: #B8B8B8;
  text-decoration: none;
}
.footer-menu-list li a:hover{
  color: #FFBA12;
}
footer p{
  text-align: center;
  padding:15px 0;
  margin-bottom: 0;
  color: #A9A9A9;
}



/* ================================================================
メインページ
================================================================ */
.jp-name{
  font-size:48px;
}
#content{
  background-image:url(images/JZD_orange-slash.png);
  /* 画像を常に天地左右の中央に配置 */
  background-position: top 50px center;

  /* 画像をタイル状に繰り返し表示しない */
  background-repeat: no-repeat;
    
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
  background-size: 100% 800px;
    
  /* 背景画像が読み込まれる前に表示される背景のカラー */
  background-color: #383838;
}
#area-1{
  font-family: 'Times New Roman','Yu Mincho', 'YuMincho', 'YuMincho', '游明朝', '游明朝体', 'ヒラギノ明朝 Pro', 'Hiragino Mincho Pro', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
  background-color: white;
  color: #383838;
}
#posts{
  padding-left: 15%;
  padding-right: 15%;
  margin-top: 10px;
}
#posts a{
  color: #B8B8B8;
  text-decoration: none;
  font-size:18px;
}
#posts a:hover{
  color: #FFBA12;
}
#contact{
  padding-left: 15%;
  padding-right: 15%;
  margin-top: 30px;
}

.vision{
  margin: auto;
  padding: auto;
  width: 100%;
}
.container-home{
  display: grid;
  grid-template-columns: 1fr 0.5fr 1fr;
  grid-template-rows: 500px 200px 1fr;
  grid-gap: 20px;
  max-width: 100%;
  padding: 40px 15%;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}
.item{
  display: flex;
  align-items: left;
  justify-content: left;
}
.item.title{
  font-size:28px;
}
.design1{
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.design2{
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
.design3{
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}
.description{
  font-size: 25px;
}
input{
  margin-bottom: 15px;
  color: black;
}
textarea{
  width: 100%;
  height: 200px;
  margin-bottom: 15px;
  color: black;
}
#posts ul{
  list-style: none;
  padding: 0;
}

.list {
	margin-left: -10px;
	margin-right: -10px;
	display: flex;
	flex-wrap: wrap;
}

.col-md {
	flex: 0 0 33.3333%;
	padding-left: 10px;
	padding-right: 10px;
}

.card-note {
	width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: .25rem;
  overflow: hidden;
  border: 1px solid #ddd;
}
.card-wrapper {
		display: block;
		text-decoration: none;
}
.card-thumbnail {
  padding-top: 0;
  position: relative;
  .img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.card-contents {
  margin: 0 10px 0;
  position: relative;
  line-height: 1;
}
.card-title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  height: 5rem;
  color: #212121;
}
.card-description {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 5px;
  line-height: 1.5;
  color: #3e3b3f;
  height: 6rem;
}
.card-info {
  display: flex;
  color: red;
  font-size: 14px;
}
.like_num {
  margin-left: 5px;
}
.card-date {
  width: 200px;
  font-size: 14px;
  text-align: right;
  margin-left: auto;
  color: #9a9a9a;
  font-weight: 700;
}
.card-author {
  padding: 5px 0;
  border-top: 1px solid #f5f5f5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  bottom: 0;
}
.card-author-img{
  max-width: 20%;
}
.card-author-name {
  font-size: 12px;
  color: #3e3b3f;
  padding-left: 8px;
}


/* ================================================================
固定ページ
================================================================ */
#main-page{
  background-color: rgba(56, 56, 56, 1);
  color: #B8B8B8;
  padding: 5%;
  margin: 0;
  font-size: 12px;
  border: 1.5px solid #B8B8B8;
}

/* ===== MEMBER =====*/
#content-member{
  background-image:url(images/JZD_orange-slash.png);
  /* 画像を常に天地左右の中央に配置 */
  background-position: top 50px center;

  /* 画像をタイル状に繰り返し表示しない */
  background-repeat: no-repeat;
    
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
  background-size: 100% 800px;
    
  /* 背景画像が読み込まれる前に表示される背景のカラー */
  background-color: #383838;
}
.container-profile{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 350px 1fr;
  grid-gap: 20px;
  max-width: 100%;
  padding: 40px 15%;
  margin: 0;
  box-sizing: border-box;
}
.item{
  display: flex;
  align-items: left;
  justify-content: left;
}
.item.name{
  font-size:28px;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.item.skill{
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.item.photo{
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: start;
}
.item.phpto img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  object-fit: cover;
}
.item.biography{
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}


/* ================================================================
投稿ページ
================================================================ */
#main-single{
  padding: 0 15px;
}
.content-single{
  padding: 15px 5%;
  background-color: white;
  color: #383838;
}
.date{
  text-align: end;
  font-size: 12px;
  color: #B8B8B8;
  margin: 0;
}


/* ================================================================
サイドバー
================================================================ */
#sidebar{
  background-color: rgba(56, 56, 56, 0.8);
  color: #B8B8B8;
  padding: 0;
  margin: 0;
  font-size: 12px;
  border: 1.5px solid #B8B8B8;
}
.sidebar-content{
  list-style: none;
  padding-left: 0;
}
#sidebar-posts{
  padding: 0 20px;
  margin-top: 10px;
}
#sidebar-posts ul{
  list-style: none;
  padding: 0;
}
#sidebar-posts a{
  color: #B8B8B8;
  text-decoration: none;
  font-size:18px;
}
#sidebar-posts a:hover{
  color: #FFBA12;
}
.card-note_row{
  margin:auto;
  justify-content: center;
}
.card-note_side {
	width: 100%;
  height: 90%;
  margin: 15px 5px 0;
  padding: 5%;
  background-color: #fff;
  border-radius: .25rem;
  overflow: hidden;
  border: 1px solid #ddd;
  justify-content: center;
  line-height: 1;
}
.card-wrapper_side {
  display: block;
  text-decoration: none;
}
.card-contents_side {
  margin-top: 0px;
}
.card-title_side {
  max-width: 60%;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  padding-right: 1rem;
  color: #212121;
}
.card-thumbnail_side {
  padding: 0;
  position: relative;
  overflow: hidden;
  width: 40%;
  height: 40%;
}
.card-img_side {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-description_side {
  font-size: 12px;
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 1.5;
  color: #3e3b3f;
}
.card-info_side {
  display: flex;
  color: red;
  font-size: 14px;
}
.like_num_side {
  margin-left: 5px;
}
.card-date_side {
  font-size: 12px;
  margin: 0 0 0 auto;
  color: #9a9a9a;
  font-weight: 700;
}


/* ================================================================
投稿記事一覧ページ
================================================================ */
.container2{
  max-width: 100%;
  padding: 40px 5%;
  margin: 0;
  box-sizing: border-box;
}

.wrapper{
  margin: 1rem auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr;
}

.card {
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, .16);
  color: #212121;
  text-decoration: none;
  margin: 1rem;
  width: 90%;
  height: 20rem;
  border-radius: .25rem;
  overflow: hidden;
  border: 1px solid #ddd;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
  transition: all .5s;
}

.card__header {
  align-items: center;
  height: 40%;
  border-bottom: 1px solid #ddd;
}

.card__thumbnail {
  margin: 0;
  height: 100%;
  padding-top: 0;
  position: relative;
}

.card__image {
  display: block;
  margin: 0 auto;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  object-fit: cover;
}

.card__body {
  padding: 0 1rem;
  height: 45%;
}

.card__title {
  text-align: start;
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 0.1rem;
  font-weight: bold;
  text-decoration: none;
}


.card__date {
  font-size: .5rem;
  margin-top: 10px;
  margin-bottom: 0.5rem;
  text-align: end;
}

.card__text p{
  font-size: 1rem;
  margin-top: 0rem;
  margin-bottom: 0rem;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 任意の行数を指定 */
}

.card__footer{
  padding: 1rem;
  border-top: 1px solid #ddd;
  height: 15%;
  text-align: center;
  line-height: 1;
}

.button {
  text-decoration: none;
  transition: background-color .3s ease-in-out;
  margin-bottom: auto;
}

.button a {
  text-decoration: none;
}

.button.-compact {
  font-size: .8rem;
  text-align:center;
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: .25rem;
  background-color: #383838;
  color: #fff;
  font-weight: bold;
	text-decoration: none;
}

.button.-compact:hover,
.button.-compact:focus {
  background-color: #FFBA12;
}


/* ================================================================
コンタクトフォーム
================================================================ */
#mailform {
  margin-top: 20px;
}
#mailform input[type='text'],
#mailform input[type='email'] {
font-size: 1em;
width: 300px;
max-width: 100%;
margin-bottom: 13px;
box-sizing: border-box;
}
#mailform input,
#mailform button {
height: 40px;
padding: 0 10px;
}
#mailform textarea {
font-size: 1em;
margin-bottom: 13px;
padding: 2px 5px;
width:100%;
box-sizing: border-box;
}
#mailform label {
margin-bottom: 3px;
font-weight: bold;
display: block;
}
#mailform label span {
color: #a0a0a0;
margin-left: 4px;
font-weight: normal;
}
#submit{
width:100px;
background-color: #fff;
color: #212121;
font-weight: bold;
border-radius: .25rem;
border: none;
}
#submit:hover{
background-color: #FFBA12;
}
#dispmsg > p{
border: 3px solid #FFBA12;
background: #ffffeb;
border-radius: 7px;
padding: 15px;
margin: 30px 0;
text-align: center;
font-weight: bold;
color: black;
}
#dispmsg blockquote {
margin: 30px 0;
padding: 15px;
background-color: #f3f3f3;
color: black;
}
#dispmsg pre {
font-family: -apple-system,BlinkMacSystemFont,Meiryo,Verdana,
"Helvetica Neue","Segoe UI","Noto Sans Japanese","ヒラギノ角ゴ ProN W3",sans-serif;
line-height: 1.7;
white-space: pre-wrap;
background: #fafafa;
margin: 15px 0 0;
padding: 10px;
color: black;
}
#dispmsg #errmsg{
background: #fff5f5;
border: 3px solid #f0526c;
color: #f0526c;
}

/* ================================================================
アニメーション
================================================================ */
.fadeinVision{
  opacity: 0;
}
.fadein{
  opacity: 0;
}