@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

#main {
  padding-bottom: 0;
  overflow: visible;
  position: relative;
  z-index: 2;
}

#main .section {
  padding: 45px 0;
  background-color: #e9e9e9;
}

#main .section ~ .section {
  margin-top: 0;
}

/* アニメーション背景 */
#main .pg-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

#common-page-nav {
  display: none;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #main .section {
    padding: 90px 0;
  }

}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

#visual {
  background: linear-gradient(#fdc503, #ffa10b);
  position: relative;
  z-index: 1;
}

#visual div.body {
  min-height: 300px;
  padding-top: 30px;
  padding-bottom: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #visual div.body {
    min-height: 540px;
  }

}

/** ***************************************************************************
 * 内容
 */

#visual div.content {
  max-width: 33em;
  font-size: 1.125em;
  font-weight: 500;
}

#visual div.content .title {
  line-height: 1.2;
  font-size: 2em;
  font-weight: 700;
  text-align: left;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #visual div.content {
    font-size: 1.286em;
  }

  #visual div.content .title {
    line-height: 1.2;
    font-size: 3.556em;
  }

}

/** ***************************************************************************
 * 3分でわかる！DICのホームページ制作
 */

#visual div.content div.button {
  width: fit-content;
  will-change: transform;
  animation:
    visual-button-in 2.0s cubic-bezier(0.68,-0.55,0.27,1.55) 0.5s backwards,
    visual-move 2.0s ease-in-out 3.5s infinite;
  position: relative;
  z-index: 1;
}

#visual div.content div.button::after {
  content: '';
  width: 95.5%;
  height: 82%;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 1.0);
  transform-origin: center center;
  position: absolute;
  z-index: -1;
  top: 5%;
  left: 1.7%;
  animation: visual-button-effect 2.0s cubic-bezier(0.77,0,0.18,1) 2.5s infinite;
}

#visual div.content div.button a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

#visual div.content div.button img {
  opacity: 1;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(100%);
}

#visual div.content div.button a:hover img {
  opacity: 1;
  filter: brightness(115%);
}

@keyframes visual-button-in {
  0% {
    top: 200px;
    transform: scale(0.5);
  }
  25% {
    top: 0;
    transform: scale(1.0);
  }
  50% {
    transform: scale(1.0);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.0);
  }
}

@keyframes visual-move {
  0% {
    transform: scale(1);
  }
  6% {
    transform: scale(1.025);
  }
  12% {
    transform: scale(1);
  }
  18% {
    transform: scale(1.025);
  }
  24% {
    transform: scale(1);
  }
}

@keyframes visual-button-effect {
  0% {
    opacity: 1;
    transform: scale(0.7, 0.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.1, 1.3);
  }
}

/** ***************************************************************************
 * 画像
 */

#visual div.image {
  width: 700px;
  max-width: none;
  text-align: right;
  visibility: hidden;
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #visual div.image {
    width: 1600px;
    max-width: 200vw;
    visibility: visible;
  }

}

/** ***************************************************************************
 * 新着情報
 * ************************************************************************* */

#topics.section {
  padding: 0 0 20px;
}

#topics.section div.layout-frame-1 {
  margin-bottom: -80px;
  padding: 20px 10px;
  position: relative;
  z-index: 1;
  top: -80px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #topics.section {
    padding: 0 0 25px;
  }

  #topics.section div.layout-frame-1 {
    padding: 30px 20px;
  }

  #topics div.contents {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }

}

/** ***************************************************************************
 * タイトル
 */

#topics .section-title {
  margin-bottom: 10px;
  font-size: 1.5em;
  text-align: center;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #topics .section-title {
    margin-bottom: 20px;
  }

}

/** ***************************************************************************
 * 一覧
 */

#topics div.topics {
  margin-bottom: 30px;
}

#topics div.topics div.list {
  height: 190px;
  padding: 0.5em;
  overflow: hidden;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

#topics div.topics ul.list,
#topics div.topics ul.list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#topics div.topics ul.list {
  line-height: 1.4;
}

#topics div.topics ul.list li a {
  padding: 0.25em 0.5em;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: #fff;
}

#topics div.topics ul.list li a[href] {
  color: #ec9600;
}

#topics div.topics ul.list li a[href]:hover {
  background-color: #f4f4f4;
}

#topics div.topics ul.list li a[target="_blank"]::after {
  content: none;
}

#topics div.topics ul.list li .time {
  margin-right: 1em;
}

#topics div.topics ul.list li .title {
  flex-grow: 1;
}

/* お知らせ */

#topics div.topics ul.info li a {
  flex-direction: row;
}

#topics div.topics ul.info li .time {
  width: 0;
  height: 0;
  margin-top: 0.625em;
  margin-right: 7px;
  overflow: hidden;
  border-radius: 100%;
  border: 3px solid #333;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #topics div.topics {
    width: 62%;
  }

  #topics div.topics div.list {
    height: 340px;
    margin-bottom: 0;
  }

  #topics div.topics ul.list li a {
    flex-direction: row;
  }

}

/** ---------------------------------------------------------------------------
 * 一覧ボタン
 */

#topics div.button {
  margin-top: 30px;
  text-align: center;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #topics div.button {
    margin-top: 50px;
  }

}

/** ***************************************************************************
 * お知らせなど
 */

#topics div.information {
  margin-top: 50px;
}

#topics div.information div.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#topics div.information div.banner div.item {
  padding-left: 15%;
  padding-right: 15%;
}

#topics div.information div.banner div.item a {
  display: inline-block;
}

#topics div.information div.banner div.item > a {
  color: inherit;
  text-decoration: none;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #topics div.information {
    width: 35%;
    margin-top: 0;
  }

  #topics div.information div.banner div.item {
    padding-left: 0;
    padding-right: 0;
  }

}




/*
 仮のバナー
*/

#topics div.information div.banner div.contact {
  width: 80%;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

#topics div.information div.banner div.contact a {
  height: 100px;
  border-radius: 14px;
  border: 4px solid #016c9a;
  background-color: #5dc5f0;
  display: flex !important;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#topics div.information div.banner div.contact a .icon {
  width: 2.25em;
  margin-bottom: 0.75em;
  line-height: 0;
}

#topics div.information div.banner div.contact a .text {
  color: #fff;
  font-size: 1.125em;
  font-weight: 700;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #topics div.information div.banner div.contact {
    width: 90%;
  }

  #topics div.information div.banner div.contact a {
    height: 160px;
    flex-direction: row;
  }

  #topics div.information div.banner div.contact a .icon {
    width: 2em;
    margin-right: 0.75em;
    margin-bottom: 0;
  }

  #topics div.information div.banner div.contact a .text {
    font-size: 1.25em;
  }

}





/** ***************************************************************************
 * サービス紹介
 * ************************************************************************* */

#service.section {
  background: #f5ab1b;
  position: relative;
  z-index: 1;
}

#service div.body {
  max-width: 1080px;
}

/** ***************************************************************************
 * リンクボタン
 */

#service div.button {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

#service div.button .link-button {
  min-height: 0;
  margin: 5px;
  padding: 0.5em 2em 0.5em 1em;
}

#service div.button .link-button::after {
  right: 0.5em;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #service div.button {
    margin-bottom: 60px;
    justify-content: center;
  }

}

/** ***************************************************************************
 * タイトル
 */

#service .section-title {
  text-align: center;
}

#service .section-title::before {
  color: inherit;
}

/** ***************************************************************************
 * 紹介文
 */

#service div.lead {
  max-width: 43em;
  margin-left: auto;
  margin-right: auto;
  display: table;
}

/** ***************************************************************************
 * サービス 一覧
 */

#service div.service ul.list,
#service div.service ul.list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#service div.service ul.list {
  max-width: none;
  margin: -10px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}

#service div.service ul.list li {
  width: 50%;
  max-width: 260px;
  padding: 10px;
}

#service div.service ul.list li a {
  height: 100%;
  padding: 15px;
  color: inherit;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: relative;
  z-index: 1;
}

#service div.service ul.list li a::after {
  content: '';
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: url("../_image/_common/image-frame-2.png") center center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.025));
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  transition:
    filter 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  opacity: 0.7;
}

#service div.service ul.list li a:hover::after {
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
  opacity: 0.9;
}

#service div.service ul.list li.medium {
  width: 100%;
  max-width: 520px;
}

#service div.service ul.list li.medium a::after {
  background-image: url("../_image/_common/image-frame-1.png");
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #service div.service ul.list {
    font-size: 0.9375em;
  }

}

/** ===========================================================================
 * アイコン
 */

#service div.service ul.list li .icon {
  min-height: 90px;
  margin-top: auto;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#service div.service ul.list li .icon img {
  filter: brightness(0%);
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #service div.service ul.list li .icon {
    min-height: 120px;
  }

}

/** ===========================================================================
 * タイトル
 */

#service div.service ul.list li .title {
  min-height: 2.8em;
}

/** ***************************************************************************
 * 制作事例
 * ************************************************************************* */

#works.section {
  background-color: #fff;
}

/** ***************************************************************************
 * タイトル
 */

#works .section-title {
  text-align: center;
}

/** ***************************************************************************
 * 紹介文
 */

#works div.lead {
  max-width: 43em;
  margin-left: auto;
  margin-right: auto;
  display: table;
}

/** ***************************************************************************
 * ハッシュタグ
 */

#works div.hash ul.list,
#works div.hash ul.list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#works div.hash ul.list {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
}

#works div.hash ul.list li {
  margin: 5px;
}

#works div.hash ul.list li a {
  height: 100%;
  padding: 0.375em 0.75em 0.5em;
  color: #fff;
  line-height: 1;
  font-size: 0.875em;
  text-decoration: none;
  border-radius: 6px;
  background-color: #808080;
  display: block;
}

#works div.hash ul.list li.active a {
  color: #000;
  background-color: #f5ab1b;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #works div.hash ul.list {
    justify-content: center;
  }

}

/** ***************************************************************************
 * 一覧
 */

#works div.works ul.list,
#works div.works ul.list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#works div.works ul.list {
  margin-bottom: -10px;
  font-size: 0.875em;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  transition:
    height 0.3s ease-in-out 0.0s,
    margin 0.3s ease-in-out 0.0s,
    visibility 0.3s ease-in-out 0.15s,
    opacity 0.3s ease-in-out 0.15s;
}

#works div.works ul.list.hidden {
  height: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
}

#works div.works ul.list li {
  width: 50%;
  margin-bottom: 10px;
}

#works div.works ul.list li a {
  padding: 5px;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(0, 0, 0, 0.0);
}

#works div.works ul.list li a:hover {
  background-color: rgba(0, 0, 0, 0.0375);
}

#works div.works ul.list li.hash-target a {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.0375);
  background-color: rgba(245, 171, 27, 1.0);
}

#works div.works ul.list li .image {
  text-align: center;
  display: block;
}

#works div.works ul.list li .image img {
  opacity: 1;
}

#works div.works ul.list li .title {
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  display: table;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #works div.works ul.list {
    margin: -10px;
  }

  #works div.works ul.list li {
    width: 20%;
  }

  #works div.works ul.list li a {
    padding: 10px;
  }

}

/** ***************************************************************************
 * 一覧を見る
 */

#works div.button {
  text-align: center;
}

#works div.button .message {
  margin: 1.5em auto;
  text-align: left;
  display: table;
}

/** ***************************************************************************
 * もっと見る
 */

#works div.works div.more {
  margin-top: 30px;
  text-align: center;
  transition:
    height 0.6s ease-in-out 0.0s,
    margin 0.6s ease-in-out 0.0s,
    visibility 0.0s ease-in-out 0.3s,
    opacity 0.3s ease-in-out 0.0s;
}

#works div.works div.more.hidden {
  height: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
}

#works div.works div.more ::before {
  content: 'もっと見る';
}

#works div.works div.more ::after {
  transform-origin: center center;
  transform: rotate(90deg);
}

/** ***************************************************************************
 * コンテンツ 共用
 * ************************************************************************* */

#contents.section {
  padding-top: 0;
  padding-bottom: 0;
}

/** ***************************************************************************
 * 料金について／公開までの流れ／よくあるご質問
 */

#contents div.contents-1 {
  padding-top: 45px;
  padding-bottom: 45px;
  background: #f4f4f4 url("../_image/_common/logo-3.png") center 350px / 95% auto no-repeat;
}

#contents div.contents-1 div.body {
  max-width: 1500px;
}

#contents div.contents-1 .contents-item ~ .contents-item {
  margin-top: 40px;
}

#contents div.contents-1 div.contents {
  overflow: visible;
  align-items: center;
  justify-content: space-between;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #contents div.contents-1 {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  #contents div.contents-1 .contents-item ~ .contents-item {
    margin-top: 140px;
  }

}

/** ===========================================================================
 * 内容
 */

#contents div.contents-1 div.content {
  margin-top: 30px;
  order: 2;
}

#contents div.contents-1 div.content .catch {
  font-size: 1.5em;
  font-weight: 700;
}

#contents div.contents-1 div.content .button {
  margin-top: 40px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #contents div.contents-1 div.content {
    max-width: 40em;
    margin-top: 0;
  }

}

/** ===========================================================================
 * 画像
 */

#contents div.contents-1 div.image {
  filter: drop-shadow(20px 20px 20px rgba(0, 0, 0, 0.15));
  align-self: flex-start;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #contents div.contents-1 .contents-item:nth-of-type(odd) div.image {
    order: 2;
  }

}

/** ***************************************************************************
 * ブログ
 */

#blog {
  margin-bottom: -45px;
  padding: 40px 0;
  background: #f5ab1b;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#blog div.body {
  max-width: 1080px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #blog {
    margin-bottom: -90px;
    padding: 100px 0;
  }

}

/** ===========================================================================
 * タイトル
 */

#blog .section-title {
  text-align: center;
}

#blog .section-title::before {
  color: inherit;
}

/** ===========================================================================
 * 紹介文
 */

#blog div.lead {
  max-width: 43em;
  margin-left: auto;
  margin-right: auto;
  display: table;
}

/** ===========================================================================
 * 一覧
 */

#blog div.blog {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#blog div.blog ul.list,
#blog div.blog ul.list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#blog div.blog ul.list li {
  border-top: 1px solid #cecece;
  border-bottom: 1px solid #cecece;
}

#blog div.blog ul.list li:not(:first-child) {
  border-top: none;
}

#blog div.blog ul.list li a {
  padding: 0.75em;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}

#blog div.blog ul.list li a[href] {
  transition:
    color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(0, 0, 0, 0.0);
}

#blog div.blog ul.list li a[href]:hover {
  color: inherit;
  background-color: rgba(0, 0, 0, 0.0375);
}

#blog div.blog ul.list li.hash-target a {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.05);
  background-color: rgba(245, 171, 27, 1.0);
}

#blog div.blog ul.list li .time {
  margin-right: 1em;
  flex-shrink: 0;
}

#blog div.blog ul.list li .category {
  min-width: 40%;
  margin-top: 0.25em;
  margin-right: 1.5em;
  padding: 0.25em 0.75em 0.375em;
  color: #fff;
  font-size: 0.625em;
  text-align: center;
  border-radius: 4px;
  background-color: #333;
  flex-shrink: 0;
}

#blog div.blog ul.list li .title {
  width: 100%;
  margin-top: 0.5em;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #blog div.blog ul.list li a {
    flex-wrap: nowrap;
  }

  #blog div.blog ul.list li .category {
    min-width: 20%;
  }

  #blog div.blog ul.list li .title {
    width: 70%;
    margin-top: 0;
  }

}

/** ===========================================================================
 * 一覧を見る
 */

#blog div.button {
  text-align: center;
}

/** ***************************************************************************
 * インスタグラム
 */

#instagram {
  padding-top: 20px;
}

#instagram div.instagram {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

#instagram div.instagram .sbi_photo img {
  display: block;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #instagram {
    padding-top: 40px;
  }

}

/** ===========================================================================
 * タイトル
 */

#instagram .section-title {
  text-align: center;
}

/** ===========================================================================
 * さらにインスタグラムを見る
 */

#instagram div.button {
  text-align: center;
}

/** ***************************************************************************
 * 外注先を探している方へ／会社案内／採用情報
 */

#contents div.contents-2 {
  padding-top: 45px;
  padding-bottom: 45px;
}

#contents div.contents-2 ul.list,
#contents div.contents-2 ul.list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#contents div.contents-2 ul.list {
  max-width: none;
  margin: -10px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}

#contents div.contents-2 ul.list li {
  width: 50%;
  max-width: 500px;
  padding: 10px;
}

#contents div.contents-2 ul.list li a {
  height: 100%;
  padding: 15px;
  color: inherit;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: relative;
  z-index: 1;
}

#contents div.contents-2 ul.list li a::after {
  content: '';
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: url("../_image/_common/image-frame-1.png") center center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.025));
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  transition:
    filter 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  opacity: 0.7;
}

#contents div.contents-2 ul.list li a:hover::after {
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
  opacity: 0.9;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:901px) {

  #contents div.contents-2 {
    padding-top: 90px;
    padding-bottom: 90px;
  }

}

/** ===========================================================================
 * アイコン
 */

#contents div.contents-2 ul.list li .icon {
  margin-bottom: 20px;
}

/** ===========================================================================
 * タイトル
 */

#contents div.contents-2 ul.list li .title {
  line-height: 1.4;
  font-size: 1.5em;
  font-weight: 700;
}

#contents div.contents-2 ul.list li .title::before {
	content: attr(data-en);
	margin-bottom: 5px;
	color: #f5ab1b;
	line-height: 1.2;
	font-size: 0.5em;
  text-align: center;
	display: block;
}
