body {
  padding: 36px 10px;
  font-family: sans-serif;
  max-width: 1366px;
  margin: auto;
}

.grid-item {
  background: #e5e5e5;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  /* hover時のopacity変更に伴う修正 */
  background-color: rgba(229, 229, 229, 1);
  transition: background-color 0.1s ease-in-out;
  /* ホバー時に影をつける */
  transition: box-shadow 0.2s ease-in-out;
}
.grid-item:hover {
  /* 背景色の透過度を変える */
  background-color: rgba(229, 229, 229, 0.5);
  /* ホバー時に影をつける */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.grid-item h2 {
  font-size: 14px;
  margin: 5px 0 0 0;
}

.grid-item h3 {
  font-size: 12px;
  margin: 5px 0 0 0;
}

.grid-item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
}

.grid-item p {
  margin: 16px 0 0 0;
}

a.inbox {
  position: relative;
  text-indent: 0px;
  font-size: 11px;
  text-decoration: none;
  color: #666666;
}

a.inbox:hover {
  text-decoration: underline;
}

.kari {
  opacity: 0.2;
}

/* 項目内テキストリンク */
.grid-in2 {
  display: grid;
  grid-gap: 5px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  margin-top: 10px;
}

.grid-in3 {
  display: grid;
  grid-gap: 5px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  margin-top: 10px;
}

/* ジャンル別カラー */
.co1 {
  border-top: 10px solid #003d99;
}
.co2 {
  border-top: 10px solid #9dc838;
}
.co3 {
  border-top: 10px solid #dd90b0;
}
.co4 {
  border-top: 10px solid #ffca00;
}

/* Google検索 */
.googlebox {
  width: 100%;
  text-align: center;
  margin: 0 0 10px 0;
}

.searchbox {
  border: 0;
  padding: 10px;
  font-size: 1.2em;
  color: #aaa;
  border: solid 1px #ccc;
  margin: 0 0 20px;
  border-radius: 10px;
  box-shadow: inset 1px 4px 4px -6px rgba(0, 0, 0, 0.5);
}

input:focus {
  border: solid 1px #eea34a;
  box-shadow: inset 1px 4px 4px -6px rgba(0, 0, 0, 10);
}

.searchbtn {
  border: 0;
  padding: 10px 20px;
  font-size: 1.2em;
  color: #aaa;
  border: solid 1px #dcdcdc;
  margin: 0 0 20px;
  border-radius: 10px;
  background-color: #dcdcdc;
}

.searchbtn:hover {
  border: solid 1px #a9a9a9;
  background-color: #c0c0c0;
  color: #696969;
}

/* Akashi */
.akashi {
  margin: 0px 20px 20px 20px;
  text-align: center;
}

/* カテゴリ別 */
.cat-container {
  /* width: 100%; */
  width: 1366px;
  display: flex;
  /* justify-content: space-around; */
  flex-wrap: wrap;
  /* gap: 10px 10px; */
  padding: 10px;
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  /* min-width: fit-content; */
  /* padding-top: 20px;
  padding-bottom: 20px; */
}

/* スケジュール */
.schedule {
  /* width: 50%; */
  width: 646px;
  padding: 12px;
  /* border: #e5e5e5 1px solid; */
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  /* padding-bottom: 20px; */
}
/* 同一カテゴリにて高さを統一する */
.schedule .grid-item {
  height: 155px;
}

.schedule .gri01 {
  grid-column: 1 / 4;
}

.schedule .gri02 {
  grid-column: 4 / 7;
}

/* .schedule .col1 {
  grid-column: 1 / 3;
}

.schedule .col2 {
  grid-column: 3 / 5;
} */
/* 社内各種書類 */
.inter-doc {
  /* width: calc(25% - 10px); */
  width: 350px;
  padding: 12px;
  /* border: #e5e5e5 1px solid; */
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  /* padding: 0px 10px; */
  /* padding-bottom: 20px; */
}
.inter-doc .grid-item {
  /* height: 155px; */
  height: auto; /* 行追加に伴い変更 */
}

.inter-doc .grid-item p {
  margin: 0; /* 行追加に伴い追記 */
}
.inter-doc .gri01 {
  grid-column: 1 / 2;
}

.inter-doc .gri02 {
  grid-column: 1 / 3;
}

/* 施設・備品予約 */
.rental {
  /* width: calc(25% - 10px); */
  width: 350px;
  padding: 12px;
  /* border: #e5e5e5 1px solid; */
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  /* padding-bottom: 20px; */
}
.rental .grid-item {
  /* height: 155px; */
  height: auto;
}

.rental .grid-item p {
  margin: 0;
}

.rental .gri01 {
  grid-column: 1 / 2;
}

.rental .gri02 {
  grid-column: 1 / 3;
}

.rental .gri03 {
  grid-column: 1 / 4;
}

/* 作品データ共有 */
.data {
  /* width: 34%; */
  width: 440px;
  padding: 12px;
  /* border: #e5e5e5 1px solid; */
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  box-sizing: border-box;
  /* padding-bottom: 20px; */
}

.data .gri01 {
  grid-column: 1 / 4;
}

/* Office365 */
.service365 {
  /* width: calc(33% - 10px); */
  width: 440px;
  padding: 12px;
  /* border: #e5e5e5 1px solid; */
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.service365 .grid-item {
  height: 129px;
}

/* SNS */
.sns {
  /* width: calc(33% - 10px); */
  width: calc(100% - 880px);
  padding: 12px;
  /* border: #e5e5e5 1px solid; */
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.sns .grid-item {
  height: 129px;
}
.sns .gri01 {
  grid-column: 2 / 4;
}

/* 各種埋め込みフィード */
.load-container {
  display: grid;
  grid-template-columns: repeat(9, calc(1146px / 9));
  grid-template-rows: auto auto;
  width: 1366px;
  padding: 20px 30px;
  gap: 20px;
}
/* Viva Engage */
.chat {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  background-color: #e5e5e5;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  position: relative;
}

/* お手軽マイスキャン */
.tool {
  grid-column: 7 / 10;
  grid-row: 1 / 2;
  /* border: #e5e5e5 1px solid; */
  width: 426px;
}

/* Twitter */
.twitter {
  grid-column: 5 / 7;
  grid-row: 1 /3;
  margin: 0 auto;
}
/* Facebook */
.facebook {
  grid-column: 7 / 10;
  margin-right: 40px;
}
.facebook .testContent {
  border: dashed violet;
  width: 426px;
  height: 814px;
}

/* レスポンシブ対応 2023 */
@media screen and (max-width: 1366px) {
  .cat-container {
    width: 100%;
    min-width: 740px;
    padding: 30px;
  }
  .schedule {
    width: 100%;
    /* padding-bottom: 10px; */
    padding: 20px;
  }
  .inter-doc {
    width: 50%;
    /* padding-bottom: 10px; */
    padding: 20px;
  }
  .rental {
    width: 50%;
    /* padding-bottom: 10px; */
    padding: 20px;
  }
  .data {
    width: 100%;
    /* padding-bottom: 10px; */
    padding: 20px;
  }
  .service365 {
    width: 100%;
    /* padding-bottom: 10px; */
    padding: 20px;
  }
  .sns {
    width: 100%;
  }

  .load-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    /* 縮小表示時のみ順序を変更する*/
    grid-template-areas:
      "tool tool"
      "chat chat"
      "twitter facebook";
    padding: 0px 30px;
    width: auto;
    min-width: 740px;
  }
  .tool {
    width: 100%;
    grid-area: tool;
    grid-column: 1 / 3;
    padding: 0px 20px;
  }
  .chat {
    grid-area: chat;
    padding: 20px;
    margin: 0px 20px;
  }
  .twitter {
    grid-area: twitter;
  }
  .facebook {
    grid-area: facebook;
    margin-right: 20px;
  }
  .facebook .testContent {
    border: dashed violet;
    width: 440px;
    height: 814px;
  }
}

/* 追加演出部分 */
/* 読み込み時にふわっと表示させる */
.load-fade {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  opacity: 0;
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 読み込み時にふわっと下から上がってくる */
.load-upwards {
  -webkit-animation-name: fadeUp;
  animation-name: fadeUp;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  opacity: 0;
}
@-webkit-keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(1200px);
  }
  30% {
    opacity: 0.5;
    transform: translateY(500px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ページトップに戻る*/
.page-top {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;

  position: fixed;
  position: -webkit-fixed; /* iPhone上でボタンが潰れる対策1 */
  padding: 0; /* iPhone上でボタンが潰れる対策2 */
  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  background-color: #aaa;

  border-radius: 50%;
}
/*
--------------------
未使用のため削除した項目
.grid-container
.websvgicon
.boxsett21:hover
body.share
div.sharecontents
div.belong
div.sharelinkbox
div.sharelinkbox a
div.sharelinkbox a:hover
div.sharelinkbox a:checked
.sharelinkbox h2
---------------------
*/

/* 20230823 sharelink.html用の項目だったため再度追加。 */
/* sharelink.html */
.grid-container {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto;
}

.websvgicon {
  width: 40px;
  height: 40px;
  display: inline-block;
}

.boxsett21:hover {
  filter: alpha(opacity=100);
  /* IE 6,7*/
  -ms-filter: "alpha(opacity=100)";
  /* IE 8,9 */
  -moz-opacity: 1;
  /* FF , Netscape */
  -khtml-opacity: 1;
  /* Safari 1.x */
  opacity: 1;
  zoom: 1;
  /*IE*/
}
body.share {
  background-color: #e5e5e5;
}

div.sharecontents {
  display: flex;
  flex-direction: row;
}

/* div.belong {
  width: 25%;
} */

div.sharelinkbox {
  font-size: 11px;
  /*    width: 180px;
  height: 60px; */
  background-color: #fff;
  /* line-height: 60px; */
  text-align: center;
  border-radius: 6px;
  margin: 8px;
  padding: 8px;
  width: 128px;
}

div.sharelinkbox a {
  color: #000;
  text-decoration: none;
}

div.sharelinkbox a:hover {
  color: #ff0099;
}

div.sharelinkbox a:checked {
  color: #000;
}

.sharelinkbox h2 {
  margin: 0px;
}
