@charset "UTF-8";

/*********************************
preset variables
*********************************/
:root {
    --fontSize: 16px;
    --linkColor: #2982cf;
    --textColor: #333;
    /* color preset */
    --mainColor: #149ec8;
    --mainDarkColor: #1d3b66;
    --mainLightColor: #f2f6f7;
    --subColor1: #ff5317;
    --subColor2: #445e8b;
    --subColor3: #f9eeed;
    --subColor4: #e1f3f4;
    /* width preset */
    --gutter: 1.3rem;
    --gap: 3rem;
    --contentWidth: 1080px;
    /* Auto kerning */
    font-feature-settings: "palt";

    @media only screen and (max-width: 541px) {
        --fontSize: 14px;
        }
}

span.color_red {
    color: #ff0000;
}

/* OVERWRITE RADIX */

/* OVERWRITE end */

html{
    letter-spacing: 0.1em;
}

.pc-br{
    display:inline;
  
    @media only screen and (max-width: 541px) {
      display:none;
      }
  }

  .sp-br{
    display:none;
  
    @media only screen and (max-width: 541px) {
        display:inline;
      }
  }  

/*************************************
* START header
*************************************/
/* Top menu */

header {
border-bottom: solid 3px #c8d4d9;
/*margin-bottom: 50px;*/
}

header .header-menu {
    height: 80px;
    /*border-bottom: 1px solid #dddddd;*/
    font-size: 14px;
    padding: 20px 0;
}

header .header-menu .centering {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

header .header-menu h1 {
    width: 100%;
    margin-right: 3rem;
}

header .header-menu h1 a {
    font-size: 36px;
    font-weight: 700;
    color: #008fe7;
    letter-spacing: 0.1em;
    padding: 0 23px 0 0;
}

header .header-menu h1 a span {
    background: linear-gradient(to right, #008fe7, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header .header-menu h1 a span:hover {
    color: #0070b6;
    background: none;
    -webkit-background-clip:text;
    -webkit-text-fill-color: #0070b6;
    background-clip: unset;
}

header .header-menu h1 a:hover {
    color: #0070b6;
    text-decoration: none;
}

header .header-menu h1 i {
    transform: scaleX(-1);
    margin-right: 12px;
}

header .header-menu a.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #008fe7;
    color: #ffffff;
    width: 200px;
    height: 100%;
    text-align: center;
    line-height: 1.5;
    /*padding: 0 46px;*/
    margin-left: 23px;
}

header .header-menu a.contact i {
    margin-right: 12px;
}

header .header-menu a.contact:hover {
    background-color: #0070b6;
    color: #ffffff;
    text-decoration: none;
}

/* Navigation */
header .header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    width: 100%;
    max-width: calc(var(--contentWidth) + 32px);
    padding: 0 16px;
    margin: 0 auto;
}

header .header-main h1 {
    width: 100%;
    max-width: 280px;
    margin-right: 3rem;
    /*background: url(../content/images/template/header_logo.png) no-repeat left center;
    background-size: contain;*/
}

header .header-main h1 a {
    content: "";
    display: block;
    padding-top: calc(100% * 37 / 280);
    font: 0/0 a;
}

header nav {
    display: flex;
    justify-content: space-between;
    column-gap: 1rem;
    height: 100%;
    width: 100%;
    max-width: var(--contentWidth);
    margin: 0 auto;
}

header nav a {
    display: grid;
    place-items: center;
    padding: .5rem 0;
    color: #333;

}

header nav a:hover {
    color: var(--subColor1);
    text-decoration: none;
}

/* Sub page bottom navigation */
nav.sub-nav {
    background: #fff;
}

nav.sub-nav .snav-body {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 80px;
}

nav.sub-nav .snav-body a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    /*padding: 1rem .5rem;*/
    text-align: center;
    line-height: 1.4;
    color: #fff;
    background: #149ec8;
    /*font-size: .8rem;*/
}

nav.sub-nav a:hover {
    text-decoration: none;
    background: #0e82a5;
}

/*nav.sub-nav .snav-body a::after {
    font-family: "Font Awesome 5 Free";
    content: '\f105';
    font-weight: 900;
    color: var(--mainColor);
    margin-left: .5rem;
}*/

/*************************************
* END header START main
*************************************/
.grid-centering {
    display: grid;
    grid-template-columns: 1fr min(100%, calc(var(--contentWidth) + 2rem)) 1fr;
    width: 100%;
}

.grid-centering>.full-bleed {
    grid-column: 1/4;
    width: 100%;
}

.grid-centering>*:not(.full-bleed) {
    grid-column: 2;
    width: 100%;
}

.sub-pagetitle {
    padding: 2rem 1rem;
    background: var(--mainLightColor);
    border-top: solid 2px #149ec8;
}

.sub-pagetitle h1 {
    padding-bottom: 0;
    color: var(--mainDarkColor);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.sub-pagetitle h1::before {
    display: none
}

.grid-centering>.bc-wrap{
    grid-column: 1/4;
    width: 100%;
    border-bottom: solid 1px #ccc;
}

.breadcrumb {
    width: 100%;
    max-width: var(--contentWidth);
    padding: .5rem 0;
    /*margin-bottom: 0;*/
    margin: 0 auto;
    list-style: none;
}

.breadcrumb a {
    color: var(--subColor1);
}

.breadcrumb li {
    display: inline-block;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    display: inline-block;
    margin: 0 .5rem;
}

main article {
    padding: 2rem 1rem;
}

main h1 {
    position: relative;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
    padding: 0rem 0 .5rem;
    margin-bottom: 2rem;
    margin-left: calc(50px + 1rem);
}

main h1::before {
    content: "";
    position: absolute;
    top: 1.3rem;
    left: calc(-50px + -1rem);
    width: 50px;
    height: 5px;
    background: var(--subColor2);
}

main h2 {
    color: var(--mainDarkColor);
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: 2px solid var(--subColor1);
    padding-bottom: .5rem;
    margin-bottom: 1.5rem;
}

main h3 {
    /*padding-bottom: .2rem;
    border-bottom: 3px solid var(--mainColor);*/
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mainColor);
    margin-bottom: 1.5rem;
}

main h4 {
    border-left: 5px solid var(--mainDarkColor);
    padding-left: 8px;
    margin-bottom: .8rem;
    line-height: 1.2;
    font-size: 1.1rem;
    font-weight: 600;
}

main .index-intro {
    background-color: var(--mainLightColor);
    border-top: solid 2px #149ec8;
}

main .index-intro>div {
    padding: 1.5rem 0 2rem;
}

main .index-intro .about_content_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

main .index-intro .about_content_wrapper a {
    display: block;
    margin: 0.5rem;
}

main .index-intro .about_content_wrapper a:nth-child(1) {
    background: url(../content/images/template/index_1.jpg) no-repeat center center;
    width: 240px;
    height: 240px;
}

main .index-intro .about_content_wrapper a:nth-child(2) {
    background: url(../content/images/template/index_2.jpg) no-repeat center center;
    width: 240px;
    height: 240px;
}

main .index-intro .about_content_wrapper a:nth-child(3) {
    background: url(../content/images/template/index_3.jpg) no-repeat center center;
    width: 240px;
    height: 240px;
}

main .index-intro .about_content_wrapper a:nth-child(4) {
    background: #d4232b;
    width: 240px;
    height: 240px;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0.5rem 1rem;
    font-size: 0.9rem;
}

main .index-intro .about_content_wrapper a:nth-child(4) p:first-child {
    padding-bottom: 1rem;
    border-bottom: solid 1px #ffffff;
}


main article.index-achievement {
    padding: 2rem 0;
}

main .index-achievement section {
    padding: 3rem 1rem;
    margin-bottom: 0;
    border-bottom: solid 1px var(--subColor2);
}

main .index-achievement section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

main .achievement_content_wrapper {
    display: flex;
    column-gap: 2rem;
}

main .achievement_content_wrapper h2 {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    background-color: var(--mainColor);
}

main .achievement_content_wrapper h2 a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 1rem;
    color: #ffffff;
}

main .achievement_content_wrapper h2 a:hover {
    text-decoration: none;
    background: rgba(0, 0, 0, 0.2);
}

main .achievement_content_wrapper h2 a::after {
    content: '';
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: block;
    width: 50px;
    height: 10px;
    border-right: solid 1px #ffffff;
    border-bottom: solid 1px #ffffff;
    transform: skew(45deg);
}

main .achievement_content_wrapper h2.arc {
    position: relative;
    padding: 1rem;
    color: #ffffff;
}

main .achievement_content_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 2rem;
    flex-grow: 4;
}

main.achievement_content_container:after {
    content: "";
    display: block;
    width: 200px;
    height: 0;
}

/*　制作実績にaタグでリンクをつける*/
/*main .achievement_content_wrapper>a {
    display: block;
    max-width: 200px;
    margin-bottom: 2rem;
}*/
/*　制作実績にdivタグでリンクをつけない*/
main .achievement_content_container>div {
    display: block;
    max-width: 200px;
    margin-bottom: 2rem;
}

main .achievement_content_wrapper img {
    display: block;
}

main .achievement_content_wrapper p {
    color: #000;
    font-size: .9rem;
    margin: .5rem 0;
}

main .achievement_content_wrapper .tag {
    color: var(--mainColor);
    font-size: .8rem;
    border: solid 1px var(--mainColor);
    display: inline-block;
    padding: 0 0.5rem;
}

main .archive-achievement:not(:last-child) {
    padding-bottom: var(--gap);
    border-bottom: 1px solid var(--subColor2);
}

main .index-topics {
    background-color: #fff;
}

main .topics-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

main .topics-wrapper .topics-body {
    width: 100%;
    padding: 2rem;
    margin-bottom: 3rem;
}

main .topics-body h1 {
    position: relative;
    padding: 0 1rem 1rem 0;
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 0;
}

/*main .topics-body h1::after {
    content: '';
    width: 100%;
    max-width: none;
    height: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(0);
    background: repeating-linear-gradient(135deg, var(--mainColor), var(--mainColor) 3px, transparent 5px, transparent 10px);
}*/

/*main .topics-wrapper h1 a {
    display: block;
    width: 4rem;
    height: 1.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: .5rem 1rem;
}

main .topics-wrapper h1 a span {
    display: block;
    width: 100%;
    height: 100%;
    font: 0/0 a;
}

main .topics-wrapper h1 a span::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-right: solid 1px #000000;
    border-bottom: solid 1px #000000;
    transform: skew(45deg);
}*/

main .topics-wrapper>div {
    background-color: #ffffff;
    border-radius: 20px;
    border: solid 1px var(--subColor1);
}

main .topics-wrapper .twitter-card {
    flex-shrink: 0;
    width: 270px;
    margin-left: 2rem;
}

ol.topics-list {
    list-style-type:none;
    padding: 0;
    margin-bottom: 0;
}

ol.topics-list li {
    display: flex;
    padding: 0.5rem 0;
    /*border-bottom: solid 1px #ccc;*/
}

ol.topics-list li span {
    margin-right: 1rem;
}

ol.topics-list li a {
    color: var(--mainColor);
}

ol.topics-list li a:hover {
    color: #999;
    text-decoration: none;
}

a.topics-btn{
    width: 300px;
    padding: 0.5rem;
    color: #fff;
    background: var(--mainColor);
    text-align: center;
}

a.topics-btn:hover {
    text-decoration: none;
    background: #0e82a5;
}

/* Eyecatch */
main .eyecatch {
    /*background-color: var(--mainDarkColor);*/
}

main .eyecatch img {
    display: block;
    margin: auto;
}

/* index-nav */
.index-nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 80px;
}

.index-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 1.4;
    color: #fff;
    background: #149ec8;
}

/*.index-nav a::after {
    font-family: "Font Awesome 5 Free";
    content: '\f078';
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--mainColor);
}*/

.index-nav a:hover {
    text-decoration: none;
    background: #0e82a5;
}

p.line{
    border-bottom: solid 1px #ccc;
}

/** START sub page content */
.inpage-nav {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.5rem;
    row-gap: .7rem;
    padding-left: 0;
    list-style: none;
}

.inpage-nav li {
    display: inline-block;
}

.inpage-nav li a {
    display: grid;
    place-items: center;
    position: relative;
    padding: .5rem 1.7rem .5rem 2.2rem;
    border-radius: 1.2rem;
    background: var(--mainColor);
    color: #fff;
    line-height: 1.4;
    transition: .2s all;
}

.inpage-nav li a::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.inpage-nav li a:hover {
    text-decoration: none;
    background: var(--mainDarkColor);
}

.evenly-2-col {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.evenly-2-col>* {
    width: 48%;
}

.A4-board {
    position: relative;
    border: 2px solid #eee;
}

.A4-board::before {
    content: "";
    display: block;
    padding-top: calc(100% * 1.41421356);
}

.A4-board>* {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.A4-board>img {
    object-fit: contain;
}

img.img-center {
    display: block;
    margin: 0 auto;
}

img.img-right {
    float: right;
    padding: .5rem;
}

img.img-right::after {
    content: "";
    display: block;
    clear: both;
}

table {
    width: 100%;
    min-width: 700px;
    border-top: 3px solid var(--mainDarkColor);
    border-bottom: 3px solid var(--mainDarkColor);
}

thead {
    background-color: var(--mainColor);
    color: #fff;
}

tr:nth-child(2n) {
    background-color: var(--mainLightColor);
}

tr.head {
    background-color: var(--subColor2);
    font-weight: 600;
}

th {
    padding: .5rem 1rem;
    vertical-align: middle;
}

td {
    padding: .5rem 1rem;
}

td.strong {
    font-weight: 500;
}

td:nth-child(n+2):nth-child(-n+4) {
    vertical-align: middle;
}

ol.appeal {
    counter-reset: appeal;
    padding-left: 0;
    list-style: none;
}

ol.appeal li {
    counter-increment: appeal;
    position: relative;
    padding: .5rem 1rem .5rem 3.5rem;
    margin-bottom: 1rem;
    background: var(--subColor2);
    font-size: 1.3rem;
    font-weight: 700;
}

ol.appeal li::before {
    content: counter(appeal);
    display: block;
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 50%;
    left: .7rem;
    transform: translateY(-50%);
    border-radius: 1rem;
    background: #fff;
    color: var(--subColor2);
    text-align: center;
    line-height: 2rem;
}

/* faq.html */
.qa-list{
    counter-reset: my-qalist-counter;
    }
.qa-wrap{
counter-reset: my-question-counter my-answer-counter;
}

.qa-list-wrap{
/*width: 80%;*/
width: 100%;
padding: 2rem;
border: solid 1px var(--subColor2);
border-radius: 20px;
}

.qa-list li a:before{
    content: "Q" counter(my-qalist-counter)". ";
        counter-increment: my-qalist-counter;
}

article .qa-wrap dl.qa>dt::before {
    content: "Q" counter(my-question-counter);
        counter-increment: my-question-counter;
}

.qa-wrap dl.qa>dd::before {
    content: "A" counter(my-answer-counter);
        counter-increment: my-answer-counter;
}

dl.qa+dl.qa {
    margin-top: 3rem;
}

dl.qa>dt,
dl.qa>dd {
    position: relative;
    padding: 0.5rem 1rem 0.5rem 4rem;
}

dl.qa>dt {
    border: 4px solid var(--subColor3);
    background-color: var(--subColor3);
    color: var(--textColor);
    margin-bottom: 1rem;
    font-weight: bold;
}

dl.qa>dd {
    border: 4px solid var(--subColor4);
    background-color: var(--subColor4);
    color: var(--textColor);
}

dl.qa>dt::before,
dl.qa>dd::before {
    position: absolute;
    left: 0;
    top: 0;
    height: 36px;
    width: 42px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .25rem;
}

article dl.qa>dt::before {
    content: "Q";
    background-color: #fff;
    color: var(--subColor1);
}

dl.qa>dd::before {
    content: "A";
    background-color: #fff;
    color: var(--subColor2);
}

div.inquiry_button {
    display: flex;
    justify-content: center;
}

div.inquiry_button a {
    display: inline-block;
    padding: 1rem;
    margin-bottom: 2rem;
    background-color: var(--mainColor);
    color: #fff;
}

/* dd直下の要素間を1rem空けて、全体の上下には余白なし */
dl.qa>dd>* {
    margin-bottom: 0;
}

dl.qa>dd>*+* {
    margin-top: 1rem;
}

/* works-card START */
.works-cards {
    /* 1行に入れる数 */
    --card-num: 3;
    /* 間隔 縦横 */
    --card-gap-vertical: 1.5rem;
    --card-gap-horizontal: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--card-gap-vertical) var(--card-gap-horizontal);
}

.works-cards .works-card {
    --card-padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-basis: calc((100% - (var(--card-gap-horizontal) * (var(--card-num) - 1))) / var(--card-num));
    border-radius: 10px;
    overflow: hidden;
    background-color: #fafafa;
    border: 2px solid #eeeeee;
}

.works-cards .works-card .works-card-thumbnail {
    position: relative;
    display: flex;
    justify-content: center;
    padding: var(--card-padding) var(--card-padding) 0 var(--card-padding);
    background-color: #fafafa;
}

.works-cards .works-card .works-card-thumbnail>a::after {
    position: absolute;
    display: block;
    right: calc(var(--card-padding) + .5rem);
    top: calc(var(--card-padding) + .5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 5px;
    content: '\f0c1';
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    font-size: 1rem;
    color: #fafafa;
    background-color: var(--mainColor);
}

.works-cards .works-card .works-card-thumbnail a,
.works-cards .works-card .works-card-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.works-cards .works-card .works-card-thumbnail a>img {
    display: block;
}

.works-cards .works-card .works-card-text {
    padding: 0 var(--card-padding) var(--card-padding) var(--card-padding);
    font-size: .9rem;
}

/* works-card END */

.media-aspect {
    position: relative;
    overflow: hidden;
}

.media-aspect iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    border-style: none;
}

/** END sub page content */
/*************************************
* END main START footer
*************************************/
.banners-outer {
    border-top: 1px solid #ccc;
    padding: 4rem 1rem 3rem;
}

.banners-inner {
    display: flex;
    justify-content: space-around;
    column-gap: 1rem;
    flex-wrap: wrap;
}

.banners-inner a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(25% - 1rem);
    aspect-ratio: 500 / 240;
    color: var(--mainDarkColor);
    font-size: 21px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.banners-inner a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.banners-inner img {
    position: absolute;
    display: block;
    border: solid 1px #999;
    z-index: -1;
}

#pagetop {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 0;
    right: max(5vw, 1rem);
    z-index: 998;
    transform: translateY(100%);
    opacity: 1;
    padding: 15px;
    background: #fff;
    color: var(--mainColor);
    border: solid 1px var(--mainColor);
    border-radius: 50px;
    transition: .2s ease-out;
}

#pagetop.active {
    transform: translateY(0);
    bottom: max(4vw, 1rem);
}

footer {
    color: #fff;
    background: var(--mainDarkColor);
    padding: 2rem 0 0;
}

.footer-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-title {
    width: 100%;
    max-width: 480px;
    font-size: 36px;
    font-weight: 700;
    /*background: url(../content/images/template/header_logo.png) no-repeat left center;
    background-size: contain;*/
}

.footer-title a {
    display: block;
    color: #fff;
    /*padding-top: calc(100% * 37 / 480);*/
    line-height: 1.5;
}

.footer-title a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.footer-title i {
    transform: scaleX(-1);
    margin-right: 12px;
}

.footer-body p.text-s{
    font-size: 16px;
}

.footer-body .twitter-link {
    display: none;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.footer-menu li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg);
    margin-right: 0.5rem;
    vertical-align: middle;
}

.footer-menu a {
    color: #fff;
    font-size: .9rem;
}

.copyright {
    padding: 0.5rem 0;
    font-size: .9rem;
    color: #333;
    background: #fff;
    text-align: center;
}

_::-webkit-full-page-media,
_:future,
:root .inpage-nav li a {
    margin-bottom: .7rem;
}

/*************************************
* END footer START only for sp
*************************************/
@media only screen and (max-width: 950px) {
    .sp-hide {
        visibility: hidden;
        opacity: 0
    }

    .sp-visible {
        visibility: visible;
        opacity: 1
    }

    .sp-none {
        display: none !important
    }

    .rdx-btn {
        display: block
    }

    body {
        --headerHeight: 70px;
        /*padding-top: var(--headerHeight);*/
        padding-top: calc(var(--headerHeight) + 30px);
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        background: #fff;
        /*box-shadow: 0 0 10px 0 rgb(102 102 102);*/
        margin-bottom: 0;
    }

    header .header-menu .centering{
        justify-content: flex-start;
        padding-left: 10px;
    }

    header .header-menu h1 {
        width: 100%;
        margin-right: 0.5rem;
    }
    
    header .header-menu h1 a {
        padding: 0;
    }

    header .header-menu h1 i {
        margin-right: 6px;
    }
    
    header .header-menu a.contact {
        display: none;
        width: 80px;
        height: auto;
        padding: 6px 12px;
        margin-left: 12px;
        font-size: 10px;
    }

    header .header-main {
        width: auto;
        height: var(--headerHeight);
        padding: 0;
        margin: 0;
    }

    header .header-main h1 {
        margin-right: .5rem;
    }

    #global-nav {
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        height: calc(100% - var(--headerHeight));
        position: fixed;
        top: var(--headerHeight);
        right: 0;
        z-index: 999;
        background: #fff;
        overflow-y: auto;
        transition: .3s ease-out;
        opacity: 0;
        visibility: hidden;
    }

    #global-nav.opened {
        opacity: 1;
        visibility: visible;
    }

    #global-nav a {
        display: block;
        padding: .75rem 1rem;
        color: #333;
        font-weight: 400;
        transform: translateX(20%);
        opacity: 0;
        transition: .3s ease-out;
        transition-delay: .3s;
    }

    #global-nav.opened a {
        transform: translateX(0);
        opacity: 1;
    }

    #global-nav a.contact {
        background: #008fe7;
        color: #fff;
        text-align: center;
        width: 80%;
        margin: 2em auto 0;
    }

    #global-nav a.contact:hover {
        background-color: #0070b6;
        color: #fff;
        text-decoration: none;
    }

    #toggle-nav {
        width: var(--headerHeight);
        height: var(--headerHeight);
        color: var(--mainDarkColor);
        padding: 10px;
    }

    .eyecatch img {
        width: 100%;
    }

    /*nav.sub-nav {
        background: #fff;
    }*/

    nav.sub-nav .snav-body {
        height: 70px;
        width: 95%;
        margin: 0 auto;
    }

    nav.sub-nav .snav-body a {
        /*flex-direction: column;
        padding: 0;
        border: 1px solid #ccc;*/
        font-size: .8rem;
    }

    /*nav.sub-nav .snav-body a:not(:last-child) {
        border-right: none;
    }

    nav.sub-nav .snav-body a:after {
        content: '\f078';
    }*/

    .grid-centering>*:not(.full-bleed, .bc-wrap) {
        width: 95%;
        margin: 0 auto;
    }

    .index-nav {
        height: 70px;
    }

    .index-nav a {
        /*border: 1px solid #ccc;*/
        font-size: .8rem;
    }

    .index-nav a:not(:last-child) {
        /*border-right: none;*/
    }
    
    .banners-inner a {
        /*max-width: 180px;*/
        font-size: 14px;
    }

    .breadcrumb{
        width: 95%;
        margin: 0 auto;
        padding: .5rem 1rem;
    }

    .qa-list-wrap{
        width: 100%;
    }

    footer {
        padding: 0;
    }

    .footer-body {
        flex-direction: column;
    }

    .f-sp-menu {
        width: 100%;
        padding: 0 1rem 3rem;
        border-bottom: 1px solid #ccc;
    }

    .f-sp-menu ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .f-sp-menu ul li {
        width: calc(50% - .5rem);
    }

    .f-sp-menu li a {
        display: flex;
        align-items: center;
        height: 100%;
        position: relative;
        padding: .5rem .5rem;
        border: 1px solid #000;
        color: #333;
        line-height: 1.2;
    }

    .f-sp-menu a.contact {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem 1.5rem;
        border-radius: 1.5rem;
        background: var(--subColor1);
        color: #fff;
        font-weight: 700;
        line-height: 1;
    }

    .f-sp-menu a.contact::after {
        font-family: "Font Awesome 5 Free";
        content: '\f105';
        font-weight: 900;
        margin-left: 1rem;
        font-size: 1rem;
    }

    .f-sp-body {
        width: 100%;
        position: relative;
        padding: 1rem 50px 1rem 1rem;
    }

    .footer-body .twitter-link {
        display: block;
        width: 35px;
        height: 35px;
        position: absolute;
        top: 2rem;
        right: .8rem;
        background: url(../content/images/template/twitter_logo_min.png) no-repeat center center;
        background-size: contain;
        font: 0/0 a;
    }

    .footer-menu {
        display: none;
    }

    .copyright {
        padding: 1rem;
        font-size: .6rem;
        /*background: var(--mainLightColor);*/
    }

    main .achievement_content_wrapper {
        column-gap: 1rem;
    }

    main .achievement_content_wrapper h2 {
        width: calc(50% - .5rem);
        max-width: 200px;
    }

    /*　制作実績にaタグでリンクをつける*/
    /*    main .achievement_content_wrapper>a {
        width: calc(50% - .5rem);
    }*/
    /*　制作実績にdivタグでリンクをつけない*/
    main .achievement_content_wrapper>div {
        width: calc(50% - .5rem);
    }

    main .topics-wrapper {
        padding: 0;
    }

    main table.no-scroll {
        min-width: initial;
    }

    img.img-right {
        float: none;
        display: block;
        margin: 0 auto;
    }

    .evenly-2-col>* {
        width: 100%;
    }

    .works-cards {
        /* 1行に入れる数 */
        --card-num: 2;
    }

    .media-aspect::before {
        content: "";
        display: block;
        padding-top: 100%;
    }
}

@media only screen and (max-width: 541px) {
    header .header-menu h1 a {
        font-size: 1.4rem;
    }

    main h1 {
        font-size: 1.3rem;
    }
    
    main h1::before {
        top: 1.1rem;
    }

    main .topics-body h1 {
        font-size: 1.3rem;
    }
    
    main h2 {
        font-size: 1.2rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }

    .sub-pagetitle h1 {
        font-size: 1.4rem;
    }

    .works-cards {
        /* 1行に入れる数 */
        --card-num: 1;
    }

    .banners-inner a {
        width: calc(50% - 1rem);
    }

    .footer-title {
        font-size: 1.3rem;
    }

    .footer-title i {
        margin-right: 6px;
    }

    .footer-body p.text-s{
        font-size: 12px;
    }
}

/*************************************
* END only for sp START only for pc
*************************************/
@media print,
screen and (min-width: 950px) {
    .pc-hide {
        visibility: hidden;
        opacity: 0
    }

    .pc-visible {
        visibility: visible;
        opacity: 1
    }

    .pc-none {
        display: none !important
    }


    /* .index-achievement section:nth-of-type(odd) .achievement_content_wrapper {
        padding-left: 300px;
    }

    .index-achievement section:nth-of-type(even) .achievement_content_wrapper {
        padding-right: 300px;
    }

    .index-achievement section:nth-of-type(odd) h2 {
        position: absolute;
        top: 0;
        left: 0;
    }

    .index-achievement section:nth-of-type(even) h2 {
        position: absolute;
        top: 0;
        right: 0;
    } */

    .media-aspect::before {
        content: "";
        display: block;
        padding-top: calc(100% * 9 /16);
    }
}