@charset "UTF-8";

:root{
  --jtoz-page-title-size: clamp(64px, 7vw, 96px);
}
@media (max-width: 767px){
  :root{
    --jtoz-page-title-size: clamp(44px, 12vw, 56px);
  }
}

/* ================================================================
基本設定
================================================================ */
body{
  width: 100%;
  font-size: 16px;
  color: #B8B8B8;
  background-color: #383838;
  margin-top: 5rem;
  -webkit-text-size-adjust:100%;
}
h1{
  font-size:40px;
  font-weight: bold;
  text-align: center;
  padding-top: 30px;
}
h2{ 
  font-size:24px;
}
h3{ font-size:18px;}
img{
  max-width:100%;
  object-fit: contain;
}
.orange{
  color: #FFBA12;
}
section{
  margin-bottom: 200px;
}

/* ================================================================
ローディング画面
================================================================ */
#loading {
  background-color: #383838;
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
}

#nav-load {
  position: fixed; /* ヘッダーバーを固定*/
  top: 0; /* 上から0pxの位置に配置 */
  left: 0; /* 左から0pxの位置に配置 */
  width: 100%; /* 横幅を100%に設定 */
  opacity: 0; /* 初期状態では非表示 */
  z-index: 1000;
}
.nav-load.appear {
  opacity: 1; /* フェードインさせる */
  transition: opacity 1s ease-in-out; /* 1秒かけてフェードインさせる */
}

#my-progress-bar {
  position: absolute;
  top: 50%;
  left: -25%;
  width: 150%;
  height: 3px;
  background: linear-gradient(90deg, #FFBA12, #ff6048);
  transform: rotate(-30deg);
  z-index: 1000;
}
#loading-screen {
  background-color: #383838;
  position: fixed;
  inset: 0;
  z-index: 1001;
  translate: 0 0;
}

/* ================================================================
ナビゲーションバー
================================================================ */
.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{
  width: auto;
  height: 60px;
  max-width: none;
  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:21px;
  padding-left: 12px;
  color: #B8B8B8;
  text-decoration: none;
}
.container-fluid li a:hover{
  color: #FFBA12;
}
.container-fluid li a:focus-visible{
  color: #FFBA12;
  outline: 2px solid #FFBA12;
  outline-offset: 3px;
}

/* ================================================================
フッター
================================================================ */
.site-footer{
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px max(48px, calc((100% - 1180px) / 2));
  background-color: #303030;
  font-size: 12px;
}
.site-footer__inner{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.site-footer__menu{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px 32px;
  margin: 0;
  padding: 0;
}
.site-footer__menu li{
  min-width: 0;
  list-style: none;
}
.site-footer__menu li a{
  display: block;
  font-size:12px;
  padding: 6px 0;
  color: #B8B8B8;
  text-decoration: none;
  white-space: nowrap;
}
.site-footer__menu li a:hover{
  color: #FFBA12;
}
.site-footer__menu li a:focus-visible{
  color: #FFBA12;
  outline: 2px solid #FFBA12;
  outline-offset: 3px;
}
.site-footer__copyright{
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #A9A9A9;
  text-align: left;
}



/* ================================================================
メインページ
================================================================ */
.jp-name{
  font-size:48px;
}
#content{
  background-image:url(../images/JZD_orange-slash.png);
  /* 画像を常に天地左右の中央に配置 */
  background-position: top 250px center;

  /* 画像をタイル状に繰り返し表示しない */
  background-repeat: no-repeat;
    
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
  background-size: 100% 800px;
    
  /* 背景画像が読み込まれる前に表示される背景のカラー */
  background-color: #383838;
}

#area-1{
  
  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;
}
.vision{
  margin: auto;
  padding: auto;
  width: 100%;
}
.container-home{
  display: grid;
  grid-template-columns: 1fr 0.3fr 1fr;
  grid-template-rows: 500px 250px 1fr;
  grid-gap: 20px;
  max-width: 100%;
  padding: 40px 15%;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}
.introduction{
  font-size: 20px;
  text-align: center;
  font-family: 'Times New Roman','Yu Mincho', 'YuMincho', 'YuMincho', '游明朝', '游明朝体', 'ヒラギノ明朝 Pro', 'Hiragino Mincho Pro', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
  font-feature-settings: "palt";
}
.title{
  font-size:28px;
  display: flex;
  align-items: left;
  justify-content: left;
}
.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;
}
.card-thumbnail .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(/wp-content/themes/J-to-Z_Design/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;
}


/* ================================================================
アニメーション
================================================================ */
.fadeinVision{
  opacity: 0;
}
.fadein{
  opacity: 0;
}

/* ================================================================
タイトルアニメーション
================================================================ */
.title-height {
  height: 100px;
}
.slideL {
  position: absolute;
  left: 50%;
}
.slideR {
  position: absolute;
  left: 50%;
}
.expand{
  position: absolute;
  left: 50%;
  opacity: 0;
  width: 200px;
  text-align: center;
  letter-spacing: -0.5em;
}

.title-height {
    display: none;
}
