/*
Theme Name: planningart
Theme URI: https://planningart.life/
Description: planningart専用テーマ
Author: 野本高志
*/

* {
  box-sizing: border-box;
}

body {
  font-family: 'Lato', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

header {
  padding-top: 20px;
  border-bottom: 5px solid #9d1e1f;
  position: relative;
  z-index: 2;
}

.logo-header {
  display: inline-block;
  line-height: 80px;
}

.logo-header img {
  max-width: 300px;
}

.header-tel {
  display: flex;
  justify-content: flex-end;
}

.header-tel dl dt {
  display: inline-block;
  color: #fff;
  background-color: #9d1e1f;
  padding: 5px;
  margin-right: 10px;
  font-size: 14px;
}

.header-tel dl dd {
  display: inline-block;
  position: relative;
  font-style: normal;
  font-weight: bold;
  padding-left: 20px;
  font-size: 20px;
}

.header-tel dl dd::before {
  content: '\f87b';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
}

#global-nav {
  float: right;
  font-size: 0;
  position: relative;
}

#global-nav li {
  display: inline-block;
  margin: 15px 0;
  text-align: center;
  position: relative;
  font-size: 16px;
}

#global-nav li::before {
  position: absolute;
  content: "";
  top: 50%;
  right: 0;
  width: 1px;
  height: 10px;
  border-right: 1px dotted #333;
  transform: translateY(-50%);
}

#global-nav li:last-child::before {
  content: none;
}

#global-nav li a {
  color: #333;
  padding: 7px 13px;
  border-radius: 3px;
  display: block;
  width: 160px;
}

#global-nav li a span {
  display: block;
  font-size: 11px;
}

#global-nav a.active, #global-nav a:hover {
  background: #dcdcdc;
  transition: .5s;
}

.checkbtn, .checkbtn-close {
  font-size: 30px;
  color: #333;
  cursor: pointer;
  display: none;
}

.checkbtn {
  float: right;
  line-height: 80px;
  margin-right: 30px;
}

#check {
  display: none;
}

@media (max-width: 1250px) {
  .logo-header img {
    max-width: 230px;
  }

  #global-nav li a {
    width: 130px;
  }
}

@media (max-width: 885px) {
  header {
    padding-top: 10px;
  }

  .header-tel {
    display: block;
    text-align: center;
  }

  .header-tel dl dt {
    display: none;
  }

  .logo-header {
    margin-left: 10px;
  }

  .logo-header img {
    max-width: 180px;
    vertical-align: middle;
  }

  .checkbtn, .checkbtn-close {
    display: block;
  }

  .checkbtn-close {
    position: absolute;
    top: 0;
    right: 10px;
    color: #fff;
  }

  #global-nav {
    position: fixed;
    width: 60%;
    height: 100vh;
    background: #2c3e50;
    top: 120px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }

  #global-nav li {
    display: block;
    margin: 15px 0;
    line-height: 30px;
  }

  #global-nav li:first-child {
    margin-top: 35px;
  }

  #global-nav li a {
    color: #fff;
    font-size: 20px;
    width: 100%;
  }

  #global-nav li a:hover {
    color: #2c3e50;
  }

  header nav a:hover, a.active {
    background: none;
    color: #0082e6;
  }

  #check:checked ~ #global-nav {
    left: 0;
  }
}


main {
  position: relative;
  z-index: 1;
  background-color: #f6f6f6;
  display: block;
}

.container {
  position: relative;
}

/*ヒーロースライダー*/
.swiper-container {
  padding-bottom: 30px;
}


@keyframes TopToBottom {
  0% {
    opacity: 0;/* 透明 */
    transform: translateY(-50px);/* X軸方向に50px */
  }
  100% {
    opacity: 1;/* 不透明 */
    transform: translateY(0);
  }
}

@keyframes LeftToRight {
  0% {
    opacity: 0;/* 透明 */
    transform: translateX(-50px);/* X軸方向に50px */
  }
  100% {
    opacity: 1;/* 不透明 */
    transform: translateX(0);
  }
}

h1.catch-copy {
  text-align: center;
  padding: 50px 10px;
  margin-top: 70px;
  border-top: 3px dotted #dcdcdc;
  border-bottom: 3px dotted #dcdcdc;
  box-shadow: 0 10px 0 #fff, 0 -10px 0 #fff;
  background: url(img/card-design_bg.jpg) left center / cover no-repeat;
}

h1.catch-copy img {
  width: 500px;
  animation-duration: 2s;
  animation-name: TopToBottom;
}

.catch-u {
  display: block;
  font-size: 24px;
  padding-top: 50px;
  animation-duration: 2s;
  animation-name: LeftToRight;
}

.three-word {
  display: inline-block;
  width: 120px;
  padding: 5px 10px;
  background-color: #555;
  color: #fff;
  font-size: 16px;
  text-align-last: justify;
  text-justify:inter-ideograph;
  transform: rotate(-25deg);
  position: relative;
  margin-right: 10px;
}

.three-word::after {
  content: "";
  position: absolute;
  top: 42px;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #555;
  border-radius: 50%;
}

.three-word:nth-of-type(3)::after {
  content: none;
}

.catch-u-last {
  font-size: 28px;
  font-weight: bold;
}

@media (max-width: 680px) {
  .catch-u-last {
    display: block;
    padding-top: 50px;
  }
}

@media (max-width: 450px) {
  h1.catch-copy {
    margin-top: 35px;
  }
  .three-word {
    width: 100px;
  }
}

/*WORK*/
#work {
  margin-top: 50px;
}

#work ul li {
  padding: 1rem;
}

#work h2 {
  font-size: 28px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
  text-indent: .5em;
  box-shadow: 0 2px #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .5);
}

#work h2:first-letter {
  margin-right: .1em;
  font-size: 1.5em;
}

/*オンライン商談フォームブロック*/
a.online-btn {
  display: block;
  padding: 1em 1.5em;
  background: #3e9f9a;
  width: 320px;
  text-align: center;
  margin: 50px auto;
  border: 2px solid #3e9f9a;
  border-radius: 3px;
  transition: .3s;
  color: #fff;
}

a.online-btn:hover {
  background: #fff;
  color: #4a4a4a;
}

a.online-btn i {
  padding-right: 3px;
}

p.work-dis {
  margin-bottom: 20px;
  font-size: 18px;
  text-indent: .5em;
}

#work h3 {
  font-size: 24px;
  line-height: 1.5;
  border-bottom: 1px dotted #cccccc;
  position: relative;
  padding-left: 12px;
  margin-top: 5px;
}

#work h3::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 0.9em;
  border-radius: 5px;
  background-color: #9d1e1f;
}

#work p {
  padding: 5px 0;
}

#work figure {
  overflow: hidden;
}

#work figure img {
  transition: .3s ease-in;
  vertical-align: bottom;
}

#work figure img:hover {
  transform: scale(1.1);
}

/*Wapal*/
#ecommerce {
  margin-top: 50px;
  position: relative;
}

#ecommerce::before {
  content: "";
  position: absolute;
  right: 50px;
  bottom: 0;
  width: 390px;
  height: 260px;
  background: url(img/ec-model.png) center / 100% no-repeat;
  z-index: 100;
}

@media (max-width: 1410px) {
  #ecommerce::before {
    width: 300px;
    height: 200px;
  }
}

@media (max-width: 1210px) {
  #ecommerce::before {
    bottom: -120px;
  }
}

@media (max-width: 769px) {
  #ecommerce::before {
    bottom: 0;
    right: 0;
  }
}

@media (max-width: 550px) {
  #ecommerce::before {
    width: 150px;
    height: 100px;
  }
}

#ecommerce .container {
    padding: 50px 0 30px;
}

#ecommerce > .section {
  background-color: #fff;
  -webkit-clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
}

@media (max-width: 769px) {
  #ecommerce > .section {
    -webkit-clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
    clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
  }
}

#ecommerce h2 {
  font-size: 24px;
  margin-bottom: 50px;
  text-align: center;
}

#ecommerce h2 span {
  background: linear-gradient(transparent 70%, #f9fb66 70%);
}

.ec-inner {
  padding: 20px;
}

#ecommerce p {
  margin-bottom: 10px;
}

.ec-link {
  margin-top: 50px;
}

.ec-link .column {
  text-align: center;
}

@media (max-width: 769px) {
  .ec-link .column {
    text-align: left;
  }
}

.ec-link > li a {
  position: relative;
  padding-left: 37px;
}

.ec-link > li a::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #111;
  border-radius: 50%;
}

.ec-link > li:nth-child(1) a::before {
  background: url(img/insta-icon.png) center / cover no-repeat;
}

.ec-link > li:nth-child(2) a::before {
  background: url(img/rakuten-icon.png) center / cover no-repeat;
}

.ec-link > li:nth-child(3) a::before {
  background: url(img/yahoo-icon.png) center / cover no-repeat;
}

.ec-link > li:nth-child(4) a::before {
  background: url(img/minne-icon.png) center / cover no-repeat;
}


/*news*/
#news .section {
  background-color: #f1f0e8;
  -webkit-clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 769px) {
  #news .section {
    -webkit-clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  }
}


#news .container {
  padding: 300px 0 100px;
}

/*h2.bubbleは共通使用*/
h2.bubble {
  padding: 30px 70px;
  text-align: center;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: bold;
  line-height: 2;
  background-color: #fff;
  border: 1px solid #dcdcdc;
  min-width: 220px;
  border-radius: 3px;
}

h2.bubble::before {
  content: "";
  position: absolute;
  bottom: -29px;
  left: 30%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #fff;
  z-index: 2;
}

h2.bubble::after {
  content: "";
  position: absolute;
  bottom: -32px;
  left: 30%;
  margin-left: -16px;
  border: 16px solid transparent;
  border-top: 16px solid #dcdcdc;
  z-index: 1;
}

h2.bubble span {
  display: block;
  font-size: 13px;
  font-weight: normal;
  position: relative;
}

h2.bubble span::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #666;
}

#news dl {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #dcdcdc;
  min-height: 250px;
  border-radius: 5px;
  overflow: auto;
}

#news dl dt {
  width: 15%;
  border-bottom: 1px solid #9d1e1f;
  padding: 10px 0;
  position: relative;
  padding-left: 12px;
  float: left;
}

#news dl dt::before {
  content: '\f0da';
  font-family: "FONT AWESOME 5 FREE";
  font-weight: 900;
  position: absolute;
  top: 10px;
  left: 0;
}

#news dl dd {
  border-bottom: 1px solid #dcdcdc;
  padding: 10px 1em;
}

@media (max-width: 769px) {
  #news dl {
    display: block;
    max-height: 500px;
  }

  #news dl dt {
    width: 100%;
    float: none;
  }

  #news dl dd {
    margin-bottom: 20px;
    width: 100%;
  }
}


/*会社概要*/
#company .container {
  padding: 300px 0 100px;
}

#company dl {
  display: flex;
  flex-wrap: wrap;
}

#company dl dt {
  flex-basis: auto;
  width: 15%;
  border-bottom: 1px solid #9d1e1f;
  padding: 10px 0;
  position: relative;
  padding-left: 12px;
}

#company dl dd {
  flex-basis: auto;
  width: 85%;
  border-bottom: 1px solid #dcdcdc;
  padding: 10px 1em;
}

@media (max-width: 769px) {
  #company dl {
    display: block;
  }

  #company dl dt {
    width: 100%;
  }

  #company dl dd {
    margin-bottom: 20px;
    width: 100%;
  }
}

.g-map {
  position: relative;
  width: 100%;
  padding-top: 35%;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  border:2px solid #ccc;
  margin-top: 30px;
}

.g-map iframe {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border:none;
  display:block;
}

@media (max-width: 769px) {
  .g-map {
    padding-top: 75%;
  }
}


/*お問い合わせ*/
#contact .section {
  background-color: #f1f0e8;
}

#contact .container {
  padding: 300px 0 100px;
}

.contact-description {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  width: 80%;
  margin: 0 auto;
}

/*フォームリセット*/
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

input[type='checkbox'],
input[type='radio'] {
  display: none;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}
/*フォームリセット*/

.form-tb {
  width: 80%;
  margin: 30px auto;
  background: #fff;
  padding: 20px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
}

.form-tb table {
  border: 1px solid #dcdcdc;
  width: 100%;
  margin-bottom: 20px;
}

.form-tb th, .form-tb td {
  padding: 10px;
}

.form-tb th {
  background: #f4f5f7;
  color: #666;
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
}

.form-tb th span {
  font-size: 12px;
  color: #ff0000;
}

.form-tb td {
  border-bottom: 1px solid #dcdcdc;
}

.form-tb table td input {
  width: 50%;
}

.form-tb table td textarea {
  width: 100%;
  display: block;
}

.form-tb table td input, .form-tb table td textarea {
  padding: 3px;
  border: 1px solid #dcdcdc;
}

.form-tb table td input:focus, .form-tb table td textarea:focus {
  box-shadow: 0 0 5px 1px rgba(218,60,65, .5);
}

.form-tb .wpcf7-submit {
  padding: 10px 25px;
  background: #333;
  border-radius: 5px;
  letter-spacing: 5px;
  color: #fff;
}

@media (max-width: 769px){
  .contact-description {
    width: 100%;
  }
  .form-tb {
    width: 100%;
  }
  .form-tb th, .form-tb td {
    display: block;
  }
  .form-tb th {
    border-right: none;
  }
  .form-tb table td input {
    width: 100%;
  }
}


/*リンク*/
#link .container {
  padding: 300px 0 100px;
}

#link ul li a {
  padding: 20px 0;
  border: 2px solid #3e9f9a;
  border-radius: 3px;
  background: #3e9f9a;
  color: #fff;
  display: block;
  text-align: center;
  transition: .3s;
}

#link ul li a:hover {
  background: #fff;
  color: #3e9f9a;
}

/*フッター*/
footer {
  padding: 50px 10px;
  text-align: center;
  color: #fff;
  background: #a90329;
  background: -moz-linear-gradient(top,  #a90329 0%, #8f0222 44%, #9d1e1f 100%);
  background: -webkit-linear-gradient(top,  #a90329 0%,#8f0222 44%,#9d1e1f 100%);
  background: linear-gradient(to bottom,  #a90329 0%,#8f0222 44%,#9d1e1f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#9d1e1f',GradientType=0 );
}


/*トップへ戻るボタン*/
.page-top {
  position: fixed;
  bottom: 50px;
  right: 20px;
  font-size: 77%;
  z-index: 99;
}

.page-top a {
  background: #6e9fca;
  text-decoration: none;
  color: #fff;
  width: 70px;
  height: 70px;
  text-align: center;
  display: block;
  border-radius: 50%;
  line-height: 70px;
  position: relative;
  transition: .3s;
}

.page-top a:after {
  position: absolute;
  z-index: -1;
  content: '';
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
}

.page-top a:hover {
  text-decoration: none;
  background: #8ac9ff;
}


/*セカンドページ*/
.pankuzu ul li {
  display: inline-block;
  padding: 0 5px;
}

h1.entry-title {
  position: relative;
  padding-bottom: 5px;
  border-bottom: 4px solid #DDD;
  margin-top: 50px;
  font-size: 30px;
}

h1.entry-title::after {
  position: absolute;
  content: " ";
  border-bottom: solid 4px #9d1e1f;
  bottom: -4px;
  width:10%;
  display: block;
}

p.date {
  margin: 10px 0;
}

.entry {
  margin-top: 50px;
  min-height: 500px;
  padding: 20px;
  background: #fff;
}

.entry p {
  margin-bottom: 20px;
}

/*アーカイブ*/
ul.topics-archive {
  margin-top: 50px;
  min-height: 500px;
}

ul.topics-archive li {
  background: #fff;
  border: 1px solid #dcdcdc;
  margin-bottom: 10px;
  border-radius: 3px;
  box-shadow: 10px 10px 15px -10px;
}

ul.topics-archive li a {
  display: block;
  position: relative;
  padding: 25px 10px 25px 25px;
}

ul.topics-archive li a::before {
  content: '\f0da';
  font-family: "FONT AWESOME 5 FREE";
  font-weight: 900;
  position: absolute;
  top: 51%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 18px;
}



ul.topics-archive li h3 a span {
  font-size: 12px;
  color: #999;
  padding-right: 2em;
}
