@charset "utf-8";
@media screen, print {
  * {
    box-sizing: border-box;
  }

  :root {
    --ff-serif: "Noto Serif JP", serif;
  }

  html {
    font-size: 62.5%;  /* 1rem = 10px */
  }

  body {
    box-sizing: border-box;
    color: #4e4e4e;
    font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ','Meiryo',sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: justify;
  }

  a {
    color: #2a1f6c;
    cursor: pointer;
    text-decoration: underline;
  }

  a:hover {
    text-decoration: none;
  }

  .bodyscrolloff {
    overflow-y: hidden;
  }

  .cf:before,
  .c:after {
    content:"";
    display: table;
  }

  .cf:after {
    clear: both;
  }

  /*** reset css ***/
  sup {
    vertical-align: super;
  }

  figure {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
  }
}

/*** md Tablet ***/
@media screen and (min-width: 768px){
}


/** --- ics --- **/
@media screen, print {
  .ic-mleft5::before {
    margin-left: .5rem;
  }

  .ic-mright5::before {
    margin-right: .5rem;
  }

  .ic-selflink::before {
    border-top: .1rem solid #2a1f6c;
    border-right: .1rem solid #2a1f6c;
    content: '';
    display: inline-block;
    height: .8rem;
    margin-right: .5rem;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: .8rem;
  }

  .ic-blanklink::before {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
    content: "\e89e";
    display: inline-block;
    font-family: 'Material Symbols Outlined';
    margin-right: .2rem;
    vertical-align: middle;
  }

  .ic-gnav-blanklink::before {
    background: url(../img/ic-gnav-blanklink.svg);
    background-size: contain;
    content: '';
    display: inline-block;
    height: 12px;
    margin-right: 4px;
    width: 12px;
  }

  .ic-prev::before {
    border-top: 1px solid #2a1f6c;
    border-right: 1px solid #2a1f6c;
    content: '';
    display: inline-block;
    height: 8px;
    margin-right: 5px;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    width: 8px;
  }

  .ic-next::after {
    border-top: 1px solid #2a1f6c;
    border-right: 1px solid #2a1f6c;
    content: '';
    display: inline-block;
    height: 8px;
    margin-left: 5px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 8px;
  }

  .ic-kirari::before {
    background: url(../img/ic-kirari.png);
    background-size: contain;
    content: '';
    display: inline-block;
    height: 12px;
    width: 12px;
  }

  .ic-ji::before {
    background: url(../img/ic-ji.svg);
    background-size: contain;
    content: '';
    display: inline-block;
    height: 12px;
    width: 12px;
  }
}
/** --- ics --- **/


/** --- .container --- **/
@media screen, print {
  .container {
    margin: 0 3vw;
  }

  .container-inner {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

/*** SP BP ***/
@media screen and (min-width: 640px){
   .container-inner {
    width: min(100%, 40em);
   }
}

  /*** md Tablet ***/
@media screen and (min-width: 768px){
  .container {
    /* margin: 0 20px; */
  }

  .container-inner {
    width: min(95%, 42em);
    width: 72rem;
   }
}

/*** lg PC ***/
@media screen and (min-width: 992px) {
  .container {
    margin: 0 5vw;
  }

  .container-inner {
    width: 45em;
    width: 88rem;
   }
}

/*** extra lg PC ***/
@media screen and (min-width: 1200px) {
  .container {
    margin: 0 auto;
    width: 1170px;
    width: 108rem;
  }
}
/** --- container --- **/


/** --- responsive --- **/
@media screen, print {
  .img-responsive {
    display: block;
    height: auto;
    max-width: 100%;
  }

  .hidden-sm-blck,
  .hidden-sm-inln,
  .hidden-sm-inblck,
  .visible-tab-only {
    display: none;
  }
}

/** SP splg **/
@media screen and (min-width: 480px) {
  .spsm-only {
    display: none;
  }
}

/*** md Tablet ***/
@media screen and (min-width: 768px) {
  .visible-sm-only {
    display: none;
  }

  .visible-tab-only {
    display: block;
  }

  .hidden-sm-blck {
    display: block;
  }

  .hidden-sm-inln {
    display: inline;
  }

  .hidden-sm-inblck {
    display: inline-block;
  }
}

/*** lg PC ***/
@media screen and (min-width: 992px) {
  .visible-tab-only {
    display: none;
  }
}


/** --- responsive --- **/

/* ============================= */
/* #header                        */
/* ============================= */
@media screen {
  #header {
    margin: 20px 3vw 0;
  }
}

/*** md Tablet ***/
@media screen and (min-width: 768px), print {
  #header {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin: 20px 20px 0;
  }

  #header-logo-link:hover {
    opacity: .7;
  }
}

/*** lg PC ***/
@media screen and (min-width: 992px) {
  #header {
    margin: 20px auto 0;
    width: 970px;
  }
}

/*** extra lg PC ***/
@media screen and (min-width: 1200px) {
  #header {
    width: 1170px;
  }
}
/* ---------------------- */
/* #gnav                  */
/* ---------------------- */
@media screen {
  #gnav-toggle {
    background-color: #fff;
    cursor: pointer;
    padding: 9px 10px;
    position: absolute;
    right: 3vw;
    top: 20px;
  }

  .toggle-bar {
    background-color: #4e4e4e;
    display: block;
    width: 30px;
    height: 3px;
  }

  .toggle-bar + .toggle-bar {
    margin-top: 5px;
  }

  #gnav-toggle,
  .toggle-bar {
    transition: all .7s;
  }

  #gnav-toggle.closed {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }

  #gnav-toggle.closed .toggle-bar:nth-of-type(1) {
    -webkit-transform: translateY(8px) rotate(-315deg);
    transform: translateY(8px) rotate(-315deg);
  }

  #gnav-toggle.closed .toggle-bar:nth-of-type(2) {
    opacity: 0;
  }

  #gnav-toggle.closed .toggle-bar:nth-of-type(3) {
    -webkit-transform: translateY(-8px) rotate(315deg);
    transform: translateY(-8px) rotate(315deg);
  }

  #gnav-list-area {
    display: none;
    height: 100vh;
  }

  #gnav-list {
    border-top: 1px solid #4e4e4e;
    margin: 15px 0 20px;
    width: 100%;
  }

  .gnav-item {
    border-bottom: 1px solid #4e4e4e;
    text-align: center;
  }

  .gnav-link {
    align-items: center;
    color: #373E48;
    display: flex;
    font-family: "Josefin Slab", serif;
    font-optical-sizing: auto;  
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 600;
    justify-content: center;
    padding: 15px;
    text-decoration: none;
  }

  .gnav-link.ic-blanklink::before {
    font-size: 1.6rem;
  }

  .gnav-nolink {
    opacity: .7;
    pointer-events: none;
  }
}

/*** md Tablet ***/
@media screen and (min-width: 768px), print {
  #gnav-toggle {
    display: none;
  }

  #gnav-list-area {
    display: block!important;
    height: auto; /* reset */
  }

  #gnav-list {
    border-top: none;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    margin: 0;
  }

  .gnav-item {
    border-bottom: none;
    height: 25px;
  }

  .gnav-item:nth-of-type(n+1) {
    margin-left: 30px;
  }

  .gnav-link {
    font-size: 2rem;
    padding: 0;
  }

  .gnav-link:hover {
    border-bottom: 2px solid #fff100;
    opacity: 1;
  }

  .gnav-link-active {
    border-bottom: 2px solid #fff100;
    opacity: 1;
  }
}


/* ============================= */
/* #mainbody                     */
/* ============================= */
@media screen, print {
  #mainbody {
    margin-top: 40px;
  }

  .default-block {
    margin-left: auto;
    margin-right: auto;
    max-width: 50rem;
  }

  .default-h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .default-txt {
    line-height: 1.8;
    margin-bottom: 2rem;
  }

  .default-txt:last-of-type {
    margin-bottom: 0;
  }

  .tag-para {
    font-family: var(--ff-serif);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 2rem;
  }

  .default-link {
    line-height: 2rem;
  }

  #inquiry {
    display: block;
    margin: 8rem auto 6rem;
    width: fit-content;    
  }

  .inquiry-link {
    border: 1px solid #4e4e4e;
    color: #4e4e4e;
    display: block;
    padding: 3rem;
    text-decoration: none;
  }

  .inquiry-link:hover {
    background-color: #fff100;
    border-color: #fff100;
    /* opacity: .8; */
  }

  .inquiry-txt {
    line-height: 2.8rem;
    text-align: center;
  }

  .inquiry-txt + .inquiry-txt {
    margin-top: 1.5rem;
  }

  .mitsubachi-list {
    margin-bottom: 2rem;
  }

  .mitsubachi-item {
    padding-left: 1.3rem;
    text-indent: -1.3rem;
  }

  .mitsubachi-item::before {
    background: url(../img/liststyle-pt3-2.png);
    background-size: contain;
    content: "";
    display: inline-block;
    height: 10px;
    margin-right: 2px;
    opacity: .8;
    transform: translateY(-1px);
    width: 10px;
  }

  .mitsubachi-item + .mitsubachi-item {
    margin-top: 5px;
  }
}

/*** SP BP ***/
@media screen and (min-width: 640px) {
}

/*** md Tablet ***/
@media screen and (min-width: 768px) {
  .default-block {
    max-width: none;
    width: calc(67vw + 183px);
  }

  .default-h2 {
    font-size: 1.8rem;
  }

  .default-txt {
    line-height: 2;
  }

  .tag-para {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .default-link {
    font-size: 1.4rem;
  }

  #inquiry {
    margin: 10rem auto 8rem;
  }

  .inquiry-link {
    padding: 3rem 5rem;
  }

  .inquiry-txt {
    font-size: 1.6rem;
    line-height: 2;
  }

  .inquiry-txt + .inquiry-txt {
    margin-top: 1rem;
  }
}

/*** lg PC ***/
@media screen and (min-width: 992px) {
  .default-block {
    width: 85rem;
  }

  .tag-para {
  }

  #inquiry {
    margin: 12rem auto 10rem;
  }

  .inquiry-link {
    padding: 3rem 8rem;
  }
}

/*** extra lg PC ***/
@media (min-width: 1200px) {
}

/* ============================= */
/* pagetitle                     */
/* ============================= */
@media screen, print {
  #pagetitle-area {
    margin-bottom: 30px;
  }

  #pagetitle {
    border-bottom: 3px solid #fff100;
    display: inline-block;
    font-family: 'Josefin Slab','HelveticaNeueW01-Thin','Helvetica Neue',Helvetica,Arial,serif;
    font-size: 3.5rem;
    line-height: 1;
    padding-bottom: .5rem;
  }
}

/*** lg PC ***/
@media screen and (min-width: 992px) {
  #pagetitle-area {
    margin-bottom: 40px;
  }
}

/* ============================= */
/* cases                         */
/* ============================= */

.cases-list {
  align-items: start;
  display: grid;
  gap: 5rem;
  grid-template-columns: 1fr;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  width: min(100%, 50rem);
}

.cases-link {
  text-decoration: none; /* reset */
}

.cases-link:hover {
  opacity: .7;
}

.cases-img {
  aspect-ratio: 55/34;
  border: .1rem solid #eee;
  height: auto;
  margin-bottom: .5rem;
  width: 100%;
}

.cases-name {
  line-height: 1.4;
  /* margin-bottom: .5rem; */
  text-decoration: underline;
}

.cases-point,
.cases-tast {
  color: #4e4e4e;
}

.cases-point::before {
  content: '\301C';
}

/*** md Tablet ***/
@media screen and (min-width: 768px){
  .cases-list {
    gap: 6rem 5rem;
    grid-template-columns: repeat(2, 1fr);
    width: 100%; /* reset */
  }
}

/*** lg PC ***/
@media screen and (min-width: 992px){
}

/*** extra lg PC ***/
@media screen and (min-width: 1200px) {
  .cases-list {
    gap: 7rem 5rem;
  }
}



/* ============================= */
/* #pagetop                      */
/* ============================= */
@media screen {
  #pagetop {
    background-color: #fff100;
    background-image: url(../img/pagetop-arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border-radius: 50%;
    bottom: 3vh;
    box-shadow: 0 5px 10px 0 #ccc;
    height: 40px;
    position: fixed;
    right: 3vw;
    width: 40px;
  }

  #pagetop-link-logo {
    display: none;
  }

  #pagetop-link-txt {
    display: none;
  }
}

/*** speclial bp (material design) ***/
@media screen and (min-width: 461px) {
  #pagetop {
    height: 56px;
    width: 56px;
  }
}

/*** md Tablet ***/
@media screen and (min-width: 768px) {
  #pagetop {
    background: rgba(255, 255, 255, .8);
    border-radius: 50%;
    bottom: 3vh;
    box-shadow: none;
    cursor: pointer;
    height: auto;
    padding: 25px;
    position: fixed;
    right: 3vw;
    width: auto;
  }

  #pagetop-link {
    display: block;
    text-decoration: none;
  }

  #pagetop-link:hover {
    opacity: .7;
    text-decoration: none;
  }

  #pagetop-link-logo {
    background: url(../img/pagetop-logo.png) no-repeat;
    background-size: 100%;
    display: block;
    height: 40px;
    margin: 0 auto 10px;
    width: 70px;
  }

  #pagetop-link-logo.shake {
    animation: logo-shake .1s infinite;
  }

  #pagetop-link-logo.launch {
    animation: logo-launch 2s ease;
  }

  #pagetop-link-txt {
    color: #4e4e4e;
    display: block;
    font-size: 1.2rem;
    line-height: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
  }

  #pagetop-link-txt::before {
    content: url(../img/pagetop.svg);
    display: inline-block;
    height: 10px;
    margin-right: 5px;
    width: 10px;
  }
}


/* out of @media */
@keyframes logo-shake {
  0% {transform: translate(0px, 0px) rotateZ(0deg)}
  25% {transform: translate(2px, 2px) rotateZ(2deg)}
  50% {transform: translate(0px, 2px) rotateZ(0deg)}
  75% {transform: translate(2px, 0px) rotateZ(-2deg)}
  100% {transform: translate(0px, 0px) rotateZ(0deg)}
}

@keyframes logo-launch {
  0% {transform: translateY(0px)}
  100% {transform: translateY(-100vh)}
}
/* out of @media */


/* ============================= */
/* #footer                       */
/* ============================= */
@media screen {
  #footer {
    padding-bottom: 1rem;
  }
}

/*** md Tablet ***/
@media screen and (min-width: 768px) {
  #footer {
  }
}

/*** lg PC ***/
@media screen and (min-width: 992px) {
  #footer {
    margin-top: 70px;
  }
}


/* ================== */
/*    print setting   */
/* =================== */
@media print {
  body {
    font-size: 10px;
  }

  .container {
    margin: 0 auto;
    width: 100%;
  }

  .container-inner {
    width: 100%;
  }

  #header {
    margin: 0;
  }

  #header-logo {
    height: auto;
    width: 150px;
  }

  .gnav-item {
    height: auto;
  }

  .gnav-item:nth-of-type(n+1) {
    margin-left: 18px;
  }

  .gnav-link {
    color: #373E48;
    display: block;
    font-family: 'Josefin Slab','HelveticaNeueW01-Thin','Helvetica Neue',Helvetica,Arial,serif;
    font-size: 15px;
    line-height: 1.3;
    text-decoration: none;
  }

  .visible-sm-only {
    display: none;
  }

  .hidden-sm-blck {
    display: block;
  }

  .hidden-sm-inln {
    display: inline;
  }

  .hidden-sm-inblck {
    display: inline-block;
  }

  #pagetitle-area {
    margin-bottom: 20px;
  }

  #pagetitle {
    font-size: 22px;
    line-height: 1.3;
    padding-bottom: 0;
  }

  .default-block {
    max-width: none;
    width: 85%;
  }

  .default-h2 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .default-txt {
    line-height: 1.8;
    margin-bottom: 15px;
  }

  .ic-selflink::before {
    height: 4px;
    margin-right: 5px;
    width: 4px;
  }

  .ic-blanklink::before {
    /* height: 10px;
    width: 10px; */
  }

  .ic-kirari::before {
    height: 10px;
    margin-right: 3px;
    vertical-align: middle;
    width: 10px;
  }

  .mitsubachi-list {
    margin-bottom: 5px;
  }

  .mitsubachi-item::before {
    transform: translateY(0);
    vertical-align: middle;
  }

  #inquiry {
    margin: 0 auto 50px;
    padding: 40px 0;
    text-align: center;
    width: 80%;
  }

  #footer {
    margin-top: 70px;
  }

  #rights {
    text-align: right;
  }

  #pagetop {
    display: none!important;
  }
}
