
html {
    font-size: 62.5%;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;

    font-size: min(2.6667vw, 1.28rem);
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
}

@media (min-width: 768px)
{
    body {
        font-size: min(2.0rem, 2.0833vw);
    }
}

@media (max-width: 767px)
{
    .pc-only {
        display: none;
    }
}
@media (min-width: 768px)
{
    .sp-only {
        display: none;
    }
}




/* iOS Safari Address Bar */
#ios-safari-status-bar,
#ios-safari-address-bar {
  pointer-events: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}
#ios-safari-status-bar {
  top: 4px;
  width: 89%;
  height: 11px;
  display: block;
  /* Rainbow effect disabled for clarity, static color used instead */
  background: #003b7a;
  /* Hack to style the browser UI while making it invisible to the user */
  mask-image: linear-gradient(to right, transparent, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, transparent);
}
#ios-safari-address-bar {
  bottom: 3px;
  width: 89%;
  height: 11px;
  display: block;
  /* Rainbow effect disabled for clarity, static color used instead */
  background: #003b7a;
  /* Hack to style the browser UI while making it invisible to the user */
  mask-image: linear-gradient(to right, transparent, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, transparent);
}




/* マウスストーカー */

#mouse-stolker {
    display: none;
}

@media (hover: hover)
{
    #mouse-stolker {
        position: fixed;
        display: block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        z-index: 9999;
        pointer-events: none;
        transform: translate(-50%, -50%) scale(0);
        transition: width 0.2s ease, height 0.2s ease, transform 0.2s ease;

        background: linear-gradient(197.37deg, #7450DB -0.38%, rgba(138, 234, 240, 0) 101.89%), linear-gradient(115.93deg, #3E88F6 4.86%, rgba(62, 180, 246, 0.33) 38.05%, rgba(62, 235, 246, 0) 74.14%), radial-gradient(56.47% 76.87% at 6.92% 7.55%, rgba(62, 136, 246, 0.7) 0%, rgba(62, 158, 246, 0.182) 52.16%, rgba(62, 246, 246, 0) 100%), linear-gradient(306.53deg, #2EE4E3 19.83%, rgba(46, 228, 227, 0) 97.33%);
        background-blend-mode: normal,normal,normal,normal,normal,normal;
        filter: blur(1px);
        /*
        background-color: #ffffff;
        mix-blend-mode: difference;
        */
    }
    #mouse-stolker.active {
        transform: translate(-50%, -50%) scale(1);
    }
    #mouse-stolker.clickable {
        transform: translate(-50%, -50%) scale(1.5);
    }
}





/* フレーム */

#outer-frame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: 0.7em solid #003b7a;
    z-index: 998;
    pointer-events: none;
    transform: translateZ(0);
}

#header-logo {
    position: absolute;
    width: 10.0em;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
}
#header-logo-link {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    aspect-ratio: 2/1;
    background-color: #003b7a;
    border-bottom-left-radius: 5.0em;
    border-bottom-right-radius: 5.0em;
    pointer-events: auto;
}
#header-logo-img {
    display: block;
    width: 42%;
    aspect-ratio: 10/9;
}

@media (min-width: 768px)
{
    #outer-frame {
        border-width: 1.5em;
    }
    #header-logo {
        width: 12.0em;
    }
    #header-logo-link {
        border-bottom-left-radius: 6.0em;
        border-bottom-right-radius: 6.0em;
    }
    #header-logo-img {
        width: 41.6667%;
    }
}





/* ヘッダーナビゲーション */

.header-nav {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 23em;
    height: 100%;
    max-width: 100%;
    background-color: rgba(0, 59, 122, 0.68);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.nav-open .header-nav {
    opacity: 1;
    pointer-events: auto;
}
.header-nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8em;
    padding: 0 2em;
    margin-top: 10em;
}
.header-nav-link {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 0.8em;
    color: #fff;
    font-weight: 300;
    transition: color 0.3s ease;
}
.header-nav-link-en {
    font-size: 1.6em;
    line-height: 1.2;
}
.header-nav-link-ja {
    font-size: 1.0em;
    line-height: 1.55;
}
.header-nav-link::before {
    content: '';
    display: block;
    width: 0;
    height: 0.6rem;
    background-color: #000;
    mix-blend-mode: difference;
    position: absolute;
    bottom: 0;
    left: -0.5rem;
    z-index: 1;
    transition: width 0.3s ease;
}

@media (min-width: 768px)
{
    .header-nav {
        width: 13.0em;
    }
    .header-nav-list {
        gap: 1.1em;
        padding: 0 1.2em;
        margin-top: 5em;
    }
    .header-nav-link {
        gap: 0.6em;
    }
    .header-nav-link-en {
        font-size: 1.0em;
    }
    .header-nav-link-ja {
        font-size: 0.6em;
    }
    .header-nav-link::before {
        height: 0.8rem;
        left: -0.6rem;
    }
}

@media (hover: hover) and (max-width: 767px)
{
    .header-nav-link:hover::before {
        width: calc(100% + 1.0rem);
    }
}

@media (hover: hover) and (min-width: 768px)
{
    .header-nav-link:hover::before {
        width: calc(100% + 1.2rem);
    }
}





/* ハンバーガーメニュー */

.header-nav-toggle {
    position: absolute;
    top: 0.8em;
    right: 0.8em;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2em;
    width: 2.4em;
    pointer-events: auto;
    cursor: pointer;
    transition: width 0.3s ease;
}
.header-nav-toggle-line {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2/1;
    transition: 0.3s ease;
}
.header-nav-toggle-line::before,
.header-nav-toggle-line::after,
.header-nav-toggle-line-item {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #003b7a;
    border-radius: 2px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: 0.3s ease;
}
.header-nav-toggle-line::before {
    top: auto;
}
.header-nav-toggle-line::after {
    bottom: auto;
}
.header-nav-toggle-label {
    font-size: 0.7em;
    line-height: 1.5;
    color: #003b7a;
    transition: color 0.3s ease;
}
.nav-open .header-nav-toggle-line {
    border: solid 2px #fff;
    overflow: hidden;
}
.nav-open .header-nav-toggle-line::before,
.nav-open .header-nav-toggle-line::after,
.nav-open .header-nav-toggle-line-item {
    background-color: #fff;
}
.nav-open .header-nav-toggle-line::before {
    top: 0;
    transform: rotate(25deg);
    width: 120%;
    left: -10%;
    border-radius: 0;
}
.nav-open .header-nav-toggle-line::after {
    bottom: 0;
    transform: rotate(-25deg);
    width: 120%;
    left: -10%;
    border-radius: 0;
}
.nav-open .header-nav-toggle-line-item {
    opacity: 0;
}
.nav-open .header-nav-toggle-label {
    color: #fff;
}

@media (min-width: 768px)
{
    .header-nav-toggle {
        top: 1.1em;
        right: 1.6em;
        gap: 0.2em;
        width: 2.5em;
    }
    .header-nav-toggle-line::before,
    .header-nav-toggle-line::after,
    .header-nav-toggle-line-item {
        height: 3px;
        border-radius: 3px;
    }
    .header-nav-toggle-label {
        font-size: 0.6em;
    }
    .nav-open .header-nav-toggle-line {
        border-width: 3px;
    }
}





/* コピーライト */

#copyright {
    position: absolute;
    bottom: 0.5em;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    font-size: 0.6em;
    line-height: 1.5;
    color: #003b7a;
    text-align: center;
    pointer-events: none;
}

@media (min-width: 768px)
{
    #copyright {
        font-size: 0.6em;
        bottom: calc(-2em);
        color: #fff;
    }
}





/* セクション */

.section {
    padding: 8.0em 0.7em;
}

.section-header,
.section-content {
    width: 100%;
    max-width: 1360px;
    padding: 0 1.8em;
    margin: 0 auto;
}
.section-content {
    margin-top: 3.0em;
}

.section-header-title {
    display: flex;
    align-items: flex-end;
    gap: 0.6em;
    font-weight: 700;
}
.section-header-title--en {
    font-size: 2.4em;
    line-height: 1.2;
}
.section-header-title--ja {
    font-size: 1.6em;
    line-height: 1.55;
}
.section-header-title--extra-01 {
    font-family: "Shippori Mincho", serif;
    font-size: 1.0em;
    line-height: 1.8;
}
.section-header-title--extra-02 {
    font-family: "Shippori Mincho", serif;
    font-size: 1.4em;
    line-height: 1.725;
    margin-left: -0.35em;
}

.section-header-description {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1.0em;
    gap: 0.2em;

    /* font-size: 1.5em; */
    font-size: 1.2em;
}
.section-header-description-part {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.2em 0;

    /* padding-left: 0.2em; */
}
.section-header-description-part > span {
    display: inline-block;
    padding: 0.0667em 0.2em 0.1em 0.2em;
    margin-left: -0.2em;
    margin-right: -0.2em;

    /*
    background-color: #003b7a;
    color: #c3d84e;
    */
}

@media (min-width: 768px)
{
    .section {
        padding: 6.0em 1.5em;
    }

    .section-header,
    .section-content {
        max-width: 1360px;
        padding: 0 2.0em;
    }
    .section-content {
        margin-top: 2.0em;
    }

    .section-header-title {
        gap: 0.6em;
    }
    .section-header-title--en {
        font-size: 2.4em;
        line-height: 1.2;
    }
    .section-header-title--ja {
        font-size: 1.6em;
        line-height: 1.55;
    }
    .section-header-title--extra-01 {
        font-size: 1.0em;
        line-height: 1.8;
    }
    .section-header-title--extra-02 {
        font-size: 1.5em;
        line-height: 1.625;
        margin-left: -0.3em;
    }

    .section-header-description {
        line-height: 1.2;
        margin-top: 1.3334em;
        gap: 0.25em 0;

        /*
        font-size: 1.5em;
        margin-left: calc(-1.3334em - 1px);
        */
        font-size: 1.2em;
        margin-left: 0;
    }
    .section-header-description-part {
        gap: 0.25em 0;
        padding-left: 0.1667em;
    }
    .section-header-description-part > span {
        padding: 0.0667em 0.1667em 0.1em 0.1667em;
        margin-left: -0.1667em;
        margin-right: -0.1667em;
    }
}





/* ホーム */

.carousel-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6em;
    width: 10em;
    height: 100%;
    color: #003b7a;
    background: linear-gradient(.25turn, transparent, 10%, #fff, 90%, transparent);
}
.carousel-title-text {
    font-size: 2.6em;
    font-weight: 700;
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    pointer-events: none;
}
.carousel-title-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(3.6em + 2px);
    height: calc(3.6em + 2px);
    border: solid 1px #003b7a;
    border-radius: 50%;
    color: inherit;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s ease;
    pointer-events: auto;
}
.carousel-title-link::after {
    content: '';
    display: block;
    width: 20%;
    height: 20%;
    border-right: solid 1px #003b7a;
    border-bottom: solid 1px #003b7a;
    transform: rotate(45deg);
    margin-top: -5%;
    margin-bottom: 5%;
    transition: border-color 0.3s ease;
}
.carousel-title-link:hover {
    background-color: #003b7a;
    color: #fff;
}
.carousel-title-link:hover::after {
    border-color: #fff;
}

@media (min-width: 768px)
{
    .carousel-title {
        gap: 1em;
        width: 6em;
    }
    .carousel-title-text {
        font-size: 1.4em;
    }
    .carousel-title-link {
        width: calc(3.6363em + 2px);
        height: calc(3.6363em + 2px);
        font-size: 0.55em;
    }
}


.carousel-outer {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.carousel-outer::before,
.carousel-outer::after {
    content: '';
    display: block;
    width: 100%;
    height: 20%;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    margin: 0 auto;
}
.carousel-outer::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 30px, rgba(255, 255, 255, 0) 100%);
    top: 0;
}
.carousel-outer::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 30px, rgba(255, 255, 255, 0) 100%);
    bottom: 0;
}

.carousel-inner {
    position: absolute;
    display: flex;
    gap: 1.0em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.carousel-row {}
.carousel {
    flex-grow: 2;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    animation-play-state: paused;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 32s;
}
.carousel-row:nth-of-type(odd) .carousel {
    animation-name: carousel-row-odd;
}
.carousel-row:nth-of-type(even) .carousel {
    animation-name: carousel-row-even;
    flex-direction: column-reverse;
}
.active .carousel-row:nth-of-type(odd) .carousel {
    animation-play-state: running;
}
.active .carousel-row:nth-of-type(even) .carousel {
    animation-play-state: running;
}

.carousel-item {
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    width: 16em;
    aspect-ratio: 1/1;
    margin-top: 1.0em;
    border-radius: 0.6em;
    overflow: hidden;
}
.carousel-item-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-item-caption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border: solid 0 #bdccd4;
    background-color: rgba(0, 59, 122, 0.6);
    color: #fff;
    font-weight: 700;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, border-width 0.3s linear;
}
.carousel-item:hover .carousel-item-caption {
    opacity: 1;
    border-width: 0.8em;
}

@keyframes carousel-row-odd {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes carousel-row-even {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

@media (min-width: 768px)
{
    .carousel-outer::before,
    .carousel-outer::after {
        height: 20%;
    }
    .carousel-inner {
        gap: 0.5em;
    }
    .carousel-item {
        width: 11.8em;
        margin-top: 0.6em;
        border-radius: 0.3em;
    }
    .carousel-item:hover .carousel-item-caption {
        border-width: 0.5em;
    }
}





/* プランテックの想い */

.about-content {
    display: grid;
    place-items: end;
    padding: 1.6em 0 0 0;
}
.about-content-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6em;
    line-height: 1.6;
    font-weight: 700;
    font-family: "Shippori Mincho", serif;
    letter-spacing: 0.05em;
}
.about-content-quote {
    font-feature-settings: 'palt';
    font-size: 1.5em;
    line-height: 1.2;
    font-weight: 700;
    background-color: #000;
    color: #fff;
    padding: 0 0 0.1em 0;
}

@media (min-width: 768px)
{
    .about-content {
        padding-left: 2.4em;
    }
    .about-content-inner-text > p > span {
        display: block;
    }
}





/* サービス */

#service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
#service .section-content {
    position: relative;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.slider-container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.0rem 0;
    overflow: hidden;
}
.slider-container::before,
.slider-container::after {
    content: '';
    display: block;
    width: 16%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    z-index: 2;
}
.slider-container::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) calc(0% + 0.7rem), rgba(255, 255, 255, 0) 100%);
    left: 0;
}
.slider-container::after {
    background: linear-gradient(270deg, rgba(255, 255, 255, 1) calc(0% + 0.7rem), rgba(255, 255, 255, 0) 100%);
    right: 0;
}
.slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max(calc(77.8666vw - 40px), 250px);
    grid-auto-columns: clamp(250px, calc(77.8666vw - 40px), 320px);
    gap: 20px;
}
.slider-item {
    min-width: clamp(250px, calc(77.8666vw - 40px), 320px);
    width: clamp(250px, calc(77.8666vw - 40px), 320px);
    border-radius: 0.8em;
    overflow: hidden;
    box-shadow: 0.2em 0.2em 1.0em 0 rgba(0, 0, 0, 0.2);
    background-color: #fff;
    z-index: 1;
    transition: transform 0.3s ease;
}
.slider-item.swiper-slide-active {
    z-index: 2;
}
.slider-item-image {
    width: 100%;
    aspect-ratio: 310/168;
    background-color: #fafafa;
}
.slider-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-item-content {
    padding: 1.6em 0.8em;
}
.slider-item-content-header {
    padding: 0;
}
.slider-item-title {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}
.slider-item-summary {
    position: relative;
    font-size: 1.0em;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    padding-top: calc(0.5em + 2px);
    margin-top: 0.5em;
}
.slider-item-summary::before {
    content: '';
    display: block;
    width: calc(100% - 3.2em);
    height: 2px;
    background-color: #003b7a;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.slider-item-content-body {
    margin-top: 1.4em;
}
.slider-item-description {  
    font-size: 1.0em;
    line-height: 1.6667;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    z-index: 10;
    display: block;
    width: 4.0em;
    height: 4.0em;
    background-color: #003b7a;
    border-radius: 50%;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.slider-prev::before,
.slider-next::before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    border: solid 2px #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: rotate(45deg);
}
.slider-prev {
    left: 0.8em;
}
.slider-prev::before {
    border-top: none;
    border-right: none;
    left: 10%;
}
.slider-next {
    right: 0.8em;
}
.slider-next::before {
    border-left: none;
    border-bottom: none;
    right: 10%;
}

.slider-prev span,
.slider-next span {
    display: none;
}

@media (min-width: 768px)
{
    #service {
        min-height: 100vh;
    }
    #service .section-content {
        padding-left: 0;
        padding-right: 0;
    }

    .slider-container {
        padding: 5.0rem 0;
        margin: -3.0rem 0 -5.0rem 0;
    }
    .slider-container::before,
    .slider-container::after {
        width: 20%;
    }
    .slider-container::before {
        background: linear-gradient(90deg, rgba(255, 255, 255, 1) calc(10% + 3.0rem), rgba(255, 255, 255, 0) 100%);
    }
    .slider-container::after {
        background: linear-gradient(270deg, rgba(255, 255, 255, 1) calc(10% + 3.0rem), rgba(255, 255, 255, 0) 100%);
    }
    .slider {
        grid-auto-columns: 15.5em;
        gap: 32px;
    }
    .slider-item {
        min-width: 15.5em;
        width: 15.5em;
        border-radius: 0.5em;
        box-shadow: 0.1em 0.1em 0.5em 0 rgba(0, 0, 0, 0.2);
    }
    .slider-item.swiper-slide-active {
        transform: scale(1.1);
    }
    .slider-item-content {
        padding: 1.2em 0.8em;
    }
    .slider-item-content-header {
        padding: 0;
    }
    .slider-item-title {
        font-size: 0.9em;
        font-weight: 700;
        line-height: 1.25;
    }
    .slider-item-summary {
        font-size: 0.6em;
        line-height: 1.5;
        padding-top: calc(0.5em + 2px);
        margin-top: 0.5em;
    }
    .slider-item-summary::before {
        width: calc(100% - 1.5em);
    }
    .slider-item-content-body {
        margin-top: 1.2em;
    }
    .slider-item-description {  
        font-size: 0.6em;
        line-height: 1.6667;
    }

    .slider-prev,
    .slider-next {
        width: 4.0em;
        height: 4.0em;
    }
    .slider-prev::before,
    .slider-next::before {
        width: 25%;
        height: 25%;
        border-width: 2px;
    }
    .slider-prev {
        left: 3.9em;
    }
    .slider-prev::before {
        left: 10%;
    }
    .slider-next {
        right: 3.9em;
    }
    .slider-next::before {
        right: 10%;
    }
}

@media (hover: hover)
{
    .slider-prev:hover,
    .slider-next:hover {
        opacity: 1;
        transform: scale(1.1);
    }
}





/* works */

#works {
    background-color: #012a5b;
    color: #fff;
    padding: 4em 2.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.0em;
    margin-bottom: 8.0em;
}
.works-title {
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.2;
}
.works-list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2.4em;
}
.works-item {
    width: calc(50% - 1.2em);
    max-width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.works-item-image {
    width: calc(100% - 0.6em);
    aspect-ratio: 1/1;
    background-color: #fafafa;
}
.works-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.works-item-content {
    margin-top: 0.25em;
}
.works-item-title {
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}
.works-item-title span {
    display: inline-block;
}
.works-item-description {
    font-size: 0.9em;
    line-height: 1.6667;
}
.works-description {
    font-size: 1.0em;
    margin-top: 1.4em;
}

@media (min-width: 768px)
{
    #works {
        padding: 4em 1.5em;
        gap: 1.8em;
        margin-bottom: 6.0em;
    }
    .works-title {
        font-size: 1.6em;
    }
    .works-list {
        flex-wrap: wrap;
        gap: 2.4em;
    }
    .works-item {
        width: 11em;
        max-width: none;
    }
    .works-item-image {
        width: 10em;
    }

    .works-item-content {
        margin-top: 0.25em;
    }
    .works-item-title {
        font-size: 1em;
        line-height: 1.2;
        min-height: 2.5em;
    }
    .works-item-description {
        font-size: 0.6em;
    }
    .works-description {
        font-size: 1.4em;
        margin-top: 1em;
    }
}





/* company */

.common-table {
    width: 100%;
    border-collapse: collapse;
}
.common-table th,
.common-table td {
    border-bottom: solid 1px rgba(0, 0, 0, 0.6);
    text-align: left;
    padding: 1.2em 0;
}
.common-table th {
    white-space: nowrap;
}
.common-table td {
    padding-left: 1.5em;
}
.common-table td *+p,
.common-table td *+ul {
    margin-top: 1.0em;
}
.common-table ul {
    list-style-type: none;
}
.common-table ul li {
    position: relative;
    padding-left: 1.25em;
}
.common-table ul li::before {
    content: '';
    display: block;
    width: 0.25em;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #000000;
    position: absolute;
    left: 0.35em;
    top: 0.7em;
}
.common-table ol {
    list-style-type: none;
    counter-reset: ordered-list;
}
.common-table ol li {
    position: relative;
    padding-left: 1.25em;
    counter-increment: ordered-list;
}
.common-table ol li::before {
    content: counter(ordered-list) '）';
    display: block;
    position: absolute;
    left: 0;
}

@media (min-width: 768px)
{
    .common-table th,
    .common-table td {
        padding: 0.75em 3.2em 0.125em 3.2em;
    }
    .common-table td *+p,
    .common-table td *+ul {
        margin-top: 0.75em;
    }
    .common-table ul li {
        padding-left: 1.0em;
    }
    .common-table ul li::before {
        width: 0.25em;
        left: 0.25em;
        top: 0.625em;
    }
    .common-table ol li {
        padding-left: 1.0em;
    }
}





/* contact */

.contact-description {
    line-height: 2;
    padding: 1em 0;
}
.contact-info {
    display: flex;
    flex-direction: column;
    margin-top: 3em;
}
.contact-info-title {
    text-align: center;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.2;
}
.contact-info-items {
    display: table;
    margin: 0.5em auto 0 auto;
}
.contact-info-item {
    display: table-row;
}
.contact-info-item-title,
.contact-info-item-content {
    display: table-cell;
    vertical-align: middle;
    padding: 0.5em 0;
}
.contact-info-item-title {
    text-align: right;
    padding-right: 1.25em;
}
.contact-info-telephone-link {
    font-size: 2.3em;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
.contact-info-mail-link {
    display: block;
    width: 10em;
    height: 1.5em;
}
.contact-info-mail-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (min-width: 768px)
{
    .contact-description {
        text-align: center;
        padding: 2em 0;
    }
}



/* footer */

#footer {
    max-width: 1360px;
    margin: 0 auto;
    padding: 15.0em 0 0 0;
}
.footer-nav {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.8em 2.2em;
    flex-wrap: wrap;
    padding: 1.6em;
}

.footer-logo {
    width: 10.4em;
}
.footer-logo-link {
    display: block;
}
.footer-logo-img {
    flex-shrink: 0;
    display: block;
    width: 100%;
    height: auto;
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4em 1.6em;
    flex-wrap: wrap;
    margin-bottom: -0.1em;
}
.footer-nav-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0.4em;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.footer-nav-link-en {
    line-height: 1.2;
}
.footer-nav-link-ja {
    font-size: 0.6em;
    line-height: 1.55;
}
.footer-nav-link::before {
    content: '';
    display: block;
    width: 0;
    height: 0.3em;
    background-color: #fff;
    mix-blend-mode: difference;
    position: absolute;
    bottom: 0;
    left: -0.2em;
    z-index: 1;
    transition: width 0.3s ease;
}

@media (min-width: 768px)
{
    #footer {
        padding: 10.0em 0 6.0em 0;
    }
    .footer-nav {
        gap: 1.6em 3.2em;
        padding: 0;
    }
    .footer-logo {
        width: 10.4em;
    }
    .footer-nav-list {
        gap: 1.6em 2.0em;
        margin-bottom: -0.1em;
    }
    .footer-nav-link {
        gap: 0.6em;
    }
    .footer-nav-link-en {
        font-size: 1.0em;
    }
    .footer-nav-link-ja {
        font-size: 0.6em;
    }
    .footer-nav-link::before {
        height: 0.4em;
        left: -0.3em;
    }
}

@media (hover: hover) and (max-width: 767px)
{
    .footer-nav-link:hover::before {
        width: calc(100% + 0.4em);
    }
}

@media (hover: hover) and (min-width: 768px)
{
    .footer-nav-link:hover::before {
        width: calc(100% + 0.6em);
    }
}





#back-to-top {
    position: absolute;
    bottom: 0em;
    left: 0;
    right: 0;
    z-index: 10;
    width: 7.0em;
    margin: 0 auto;
    pointer-events: none;
}
#back-to-top-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2/1;
    border-top-left-radius: 3.5em;
    border-top-right-radius: 3.5em;
    background-color: #003b7a;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#back-to-top-link.active {
    pointer-events: auto;
    opacity: 1;
}
#back-to-top-link::before {
    content: '';
    display: block;
    width: 20%;
    aspect-ratio: 1/1;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    margin: auto;
    border-top: solid 2px #fff;
    border-left: solid 2px #fff;
    transform: rotate(45deg);
    z-index: 1;
}
