@charset "UTF-8";


@media screen and (min-width: 2500px) {
  .keycatch {
    font-size: 6.2rem;
  }
}

@media screen and (min-width: 1800px) {
  .keycatch {
    padding: 0 0 0 55%;
  }
  
  #keyvisual img {
    object-position: center 35%;
  }
}

@media screen and (max-width: 1024px) {
  .keycatch {
    font-size: 3.2rem;  
    }
}

@media screen and (max-width: 770px) {
  #keyvisual img {
    height: 350px !important;
  }

  #service,
  #works,
  #news {
    top: -100px;
  }

  .keycatch {
    font-size: 2.8rem;  
    }

  .price-base-contents div .contents-item,
  .price-base-contents2 div .contents-item {
    font-size: 1.6rem;
  }

  .price-base-contents div.contents-etc .contents-etc-p {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 600px) {

  /* ================================== 
    全体
    ===================================*/
  header {
    top: -1px;
  }

  h2 {
    margin: 20px auto;
  }

  #service,
  #works,
  #news {
    margin-bottom: 60px;
  }

  .display__pc {
    display: none;
  }

  .display__sp {
    display: block;
  }

  /* ナビゲーションメニュー ---------*/
  .nav {
    justify-content: space-around;
  }

  .nav a {
    margin: 0 10px;
  }

  .l-header__nav--btn {
    display: block;
    width: 48px;
    height: 48px;
    position: relative;
    cursor: pointer;
  }
  .l-header__nav--btn.active .l-header__nav--btnLine1::before,
  .l-header__nav--btn.active .l-header__nav--btnLine1::after,
  .l-header__nav--btn.active .l-header__nav--btnLine2::before,
  .l-header__nav--btn.active .l-header__nav--btnLine2::after,
  .l-header__nav--btn.active .l-header__nav--btnLine3::before,
  .l-header__nav--btn.active .l-header__nav--btnLine3::after {
    content: none;
  }
  .l-header__nav--btn.active .l-header__nav--btnLine1 {
    top: 21px;
    background-color: #ffffff;
    width: 26px;
    height: 2px;
    left: 0;
    transform: translateY(6px) rotate(-45deg);
    border-radius: 2px;
  }
  .l-header__nav--btn.active .l-header__nav--btnLine2 {
    opacity: 0;
  }
  .l-header__nav--btn.active .l-header__nav--btnLine3 {
    top: 33px;
    background-color: #ffffff;
    width: 26px;
    height: 2px;
    left: 0;
    transform: translateY(-6px) rotate(45deg);
    border-radius: 2px;
  }
  .l-header__nav--btn span {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .l-header__nav--btnLine1 {
    top: 11px;
  }
  .l-header__nav--btnLine1::before {
    content: "";
    width: 16px;
    height: 2px;
    background-color: #2A2626;
    position: absolute;
    top: 0;
    left: 10px;
    border-radius: 2px;
  }
  .l-header__nav--btnLine1::after {
    content: "";
    width: 4px;
    height: 2px;
    background-color: #2A2626;
    position: absolute;
    top: 0;
    right: 10px;
    border-radius: 2px;
  }
  .l-header__nav--btnLine2 {
    top: 48%;
  }
  .l-header__nav--btnLine2::before {
    content: "";
    width: 10px;
    height: 2px;
    background-color: #2A2626;
    position: absolute;
    top: 0;
    left: 10px;
    border-radius: 2px;
  }
  .l-header__nav--btnLine2::after {
    content: "";
    width: 10px;
    height: 2px;
    background-color: #2A2626;
    position: absolute;
    top: 0;
    right: 10px;
    border-radius: 2px;
  }
  .l-header__nav--btnLine3 {
    bottom: 13px;
  }
  .l-header__nav--btnLine3::before {
    content: "";
    width: 4px;
    height: 2px;
    background-color: #2A2626;
    position: absolute;
    top: 0;
    left: 10px;
    border-radius: 2px;
  }
  .l-header__nav--btnLine3::after {
    content: "";
    width: 16px;
    height: 2px;
    background-color: #2A2626;
    position: absolute;
    top: 0;
    right: 10px;
    border-radius: 2px;
  }  

  .l-header__nav--menu {
    position: fixed;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #2A2626;
    transition: all 0.6s;
    opacity: 0;
    z-index: 9999;
  }
  .l-header__nav--menu.panelactive {
    top: 0;
    opacity: 1;
  }
  .l-header__nav--container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    flex-direction: column;
  }
  .l-header__nav--item {
    text-align: center;
    font-size: 2rem;
    line-height: 30px;
    color: #ffffff;
    width: 100%;
    padding: 12px 0;
    text-transform: capitalize;
  }
  .l-header__nav--itemA {
    color: #ffffff;
  }
  /* moreボタン----------------------*/
  .more-btn {
    margin     : 20px auto 0 auto;
    text-align : center;
    line-height: 50px;
    border     : 1px solid #333;
  }

  /* ページャー--------------------- */
  .pager a {
    margin: 0 10px;
  }
  /* header============================================ */
  .header-top.flex {
    /* padding: 0 0 20px 0; */
    padding: 0;
    position: relative;
    z-index: 99999;
  }

  .sns {
    display: none
  }

  .sns a {
    margin: 0 10px;
  }

  .sns__sp {
    display: flex;
    justify-content: center;
    padding: 5%;
    color: #fff;
  }

  .sns__sp li {
    padding: 0 2%;
  }

  /* fv */
  .keycatch {
    font-size: 1.8rem;  
  }

  /* servece */
  #service h2 {
    margin-top: 30px;
  }

  .services.flex {
    flex-direction: column;
  }

  .services i {
    font-size: 3.5em;
    margin: 10px auto;
  }

  .direction,
  .coding,
  .wordpress {
    padding   : 2%;
    margin-bottom: 30px;
    width: 100%;
  }

  /* works */
  .works-thums {
    flex-direction: column;
  }

  .works-thums a {
    width        : 100%;
    margin-bottom: 20px;
  }

   /* works（個別ページ） */
  /* --関連記事パーツ-- */
  .relatedposts .post_thumb {
    width: 80px;
    height: 80px;
  }
  
  .relatedposts .list-text h3 {
    font-size: 1.4rem;
  }

  /* news */
  .news-topic-row.flex {
    flex-direction: column;
  }

  .news-topic-row dt,
  .news-topic-row dd {
    width: 100%;
  }

  /* about(固定ページ) */
  .about-desc {
    padding: 3%;
    margin-bottom: 30px;
  }

  .about-me {
    flex-direction: column;
    align-items: center;
    padding: 3%;
  }

  .about-me img {
    margin-right: 0;
  }

  .about-info {
    margin: 20px auto 30px auto;
  }

  .about-info dt {
    width: 30%;
  }

  .about-info dd {
    width: 80%;
  }

  /* contact-page(固定ページ) */
  .sp-br {
    display: block;
  }

  /* price-page（固定ページ） */
  .price-inner {
    margin: 30px auto;
  }

  .price-inner:nth-of-type(even) .price-base-top,
  .price-inner:nth-of-type(odd) .price-base-top {
    display: none;
  }

  .box__head{
    background-color: #A0E4CB;
    width: 100%;
    font-weight: 700;
    text-align: center;
  }

  .box__head2{
    background-color: #FEBE8C;
    width: 100%;
    font-weight: 700;
    text-align: center;
  }

  .box__head3{
    background-color: #FF8787;
    width: 100%;
    font-weight: 700;
    text-align: center;
  }

  .price-inner:nth-of-type(even) .price-base-contents,
  .price-inner:nth-of-type(odd) .price-base-contents{
    background-color: #CFF5E7;
    display: grid;
    grid-template-columns:  1fr 4fr;  
    margin-bottom: 3rem;
    grid-auto-rows: minmax(100px, auto);
  }
  
  .price-inner:nth-of-type(even) .price-base-contents2,
  .price-inner:nth-of-type(odd) .price-base-contents2{
    background-color: #FFE9B1;
    display: grid;
    grid-template-columns:  1fr 4fr;  
    margin-bottom: 3rem;
    grid-auto-rows: minmax(100px, auto);
  }

  .price-inner:nth-of-type(even) .price-base-contents3,
  .price-inner:nth-of-type(odd) .price-base-contents3{
    background-color: #FFCACA;
    display: grid;
    grid-template-columns:  1fr 4fr;  
    margin-bottom: 3rem;
    grid-auto-rows: minmax(80px, auto);
  }

  .price-contents > div {
    justify-self: center;
  }

  .about-desc p {
    text-indent: -1em;
    padding-left: 1em;
    margin-bottom: 0;
  }

  .contents-etc-p {
    display: inline-block;
    text-align: left;
  }

  .price-base-contents div.contents-etc .contents-etc-p {
    font-size: 1.2rem;
  }

  .price-base-top2 {
    display: none;
  }
  /* footer============================================= */
}

@media screen and (max-width: 430px) {
  #news-page h2 {
  font-size: 2.2rem;
  }

  .header-logo {
    width: 18%;
  }

  .keycatch {
    font-size: 2.2rem;
  }

  .footer-logo {
    width: 18%;
  }
}