@charset "UTF-8";

/* Document
 * ========================================================================== */
/**
 * Add border box sizing in all browsers (opinionated).
 */
*,
::before,
::after {
    box-sizing: border-box;
}

/**
 * 1. Add text decoration inheritance in all browsers (opinionated).
 * 2. Add vertical alignment inheritance in all browsers (opinionated).
 */
::before,
::after {
    text-decoration: inherit;
    /* 1 */
    vertical-align: inherit;
    /* 2 */
}

/**
 * 1. Use the default cursor in all browsers (opinionated).
 * 2. Change the line height in all browsers (opinionated).
 * 3. Use a 4-space tab width in all browsers (opinionated).
 * 4. Remove the grey highlight on links in iOS (opinionated).
 * 5. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 * 6. Breaks words to prevent overflow in all browsers (opinionated).
 */
html {
    cursor: default;
    /* 1 */
    line-height: 1.5;
    /* 2 */
    -moz-tab-size: 4;
    /* 3 */
    -o-tab-size: 4;
    tab-size: 4;
    /* 3 */
    -webkit-tap-highlight-color: transparent;
    -ms-text-size-adjust: 100%;
    /* 5 */
    -webkit-text-size-adjust: 100%;
    /* 5 */
    word-break: break-word;
    /* 6 */
}

/* Sections
 * ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
    margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Edge, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
 * ========================================================================== */
/**
 * Remove the margin on nested lists in Chrome, Edge, IE, and Safari.
 */
dl dl,
dl ol,
dl ul,
ol dl,
ul dl {
    margin: 0;
}

/**
 * Remove the margin on nested lists in Edge 18- and IE.
 */
ol ol,
ol ul,
ul ol,
ul ul {
    margin: 0;
}

/**
 * 1. Add the correct sizing in Firefox.
 * 2. Show the overflow in Edge 18- and IE.
 */
hr {
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
 * Add the correct display in IE.
 */
main {
    display: block;
}

/**
 * Remove the list style on navigation lists in all browsers (opinionated).
 */
nav ol,
nav ul {
    list-style: none;
    padding: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
 * ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * Add the correct text decoration in Edge 18-, IE, and Safari.
 */
abbr[title] {
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/* Embedded content
 * ========================================================================== */
/*
 * Change the alignment on media elements in all browsers (opinionated).
 */
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/**
 * Add the correct display in IE 9-.
 */
audio,
video {
    display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Remove the border on iframes in all browsers (opinionated).
 */
iframe {
    border-style: none;
}

/**
 * Remove the border on images within links in IE 10-.
 */
img {
    border-style: none;
}

/**
 * Change the fill color to match the text color in all browsers (opinionated).
 */
svg:not([fill]) {
    fill: currentColor;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
    overflow: hidden;
}

/* Tabular data
 * ========================================================================== */
/**
 * Collapse border spacing in all browsers (opinionated).
 */
table {
    border-collapse: collapse;
}

/* Forms
 * ========================================================================== */
/**
 * Remove the margin on controls in Safari.
 */
button,
input,
select {
    margin: 0;
}

/**
 * 1. Show the overflow in IE.
 * 2. Remove the inheritance of text transform in Edge 18-, Firefox, and IE.
 */
button {
    overflow: visible;
    /* 1 */
    text-transform: none;
    /* 2 */
}

/**
 * Correct the inability to style buttons in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button;
}

/**
 * 1. Change the inconsistent appearance in all browsers (opinionated).
 * 2. Correct the padding in Firefox.
 */
fieldset {
    border: 1px solid #a0a0a0;
    /* 1 */
    padding: 0.35em 0.75em 0.625em;
    /* 2 */
}

/**
 * Show the overflow in Edge 18- and IE.
 */
input {
    overflow: visible;
}

/**
 * 1. Correct the text wrapping in Edge 18- and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 */
legend {
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    white-space: normal;
    /* 1 */
}

/**
 * 1. Add the correct display in Edge 18- and IE.
 * 2. Add the correct vertical alignment in Chrome, Edge, and Firefox.
 */
progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}

/**
 * Remove the inheritance of text transform in Firefox.
 */
select {
    text-transform: none;
}

/**
 * 1. Remove the margin in Firefox and Safari.
 * 2. Remove the default vertical scrollbar in IE.
 * 3. Change the resize direction in all browsers (opinionated).
 */
textarea {
    margin: 0;
    /* 1 */
    overflow: auto;
    /* 2 */
    resize: vertical;
    /* 3 */
}

/**
 * Remove the padding in IE 10-.
 */
[type=checkbox],
[type=radio] {
    padding: 0;
}

/**
 * 1. Correct the odd appearance in Chrome, Edge, and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Safari.
 */
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */
::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.54;
}

/**
 * Remove the inner padding in Chrome, Edge, and Safari on macOS.
 */
::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style upload buttons in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/**
 * Remove the inner border and padding of focus outlines in Firefox.
 */
::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus outline styles unset by the previous rule in Firefox.
 */
:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Remove the additional :invalid styles in Firefox.
 */
:-moz-ui-invalid {
    box-shadow: none;
}

/* Interactive
 * ========================================================================== */
/*
 * Add the correct display in Edge 18- and IE.
 */
details {
    display: block;
}

/*
 * Add the correct styles in Edge 18-, IE, and Safari.
 */
dialog {
    background-color: white;
    border: solid;
    color: black;
    display: block;
    height: -moz-fit-content;
    height: fit-content;
    left: 0;
    margin: auto;
    padding: 1em;
    position: absolute;
    right: 0;
    width: -moz-fit-content;
    width: fit-content;
}

dialog:not([open]) {
    display: none;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Scripting
 * ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
    display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
    display: none;
}

/* User interaction
 * ========================================================================== */
/*
 * 1. Remove the tapping delay in IE 10.
 * 2. Remove the tapping delay on clickable elements
      in all browsers (opinionated).
 */
a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] {
    /* 1 */
    touch-action: manipulation;
    /* 2 */
}

/**
 * Add the correct display in IE 10-.
 */
[hidden] {
    display: none;
}

/* Accessibility
 * ========================================================================== */
/**
 * Change the cursor on busy elements in all browsers (opinionated).
 */
[aria-busy=true] {
    cursor: progress;
}

/*
 * Change the cursor on control elements in all browsers (opinionated).
 */
[aria-controls] {
    cursor: pointer;
}

/*
 * Change the cursor on disabled, not-editable, or otherwise
 * inoperable elements in all browsers (opinionated).
 */
[aria-disabled=true],
[disabled] {
    cursor: not-allowed;
}

/*
 * Change the display on visually hidden accessible elements
 * in all browsers (opinionated).
 */
[aria-hidden=false][hidden] {
    display: initial;
}

[aria-hidden=false][hidden]:not(:focus) {
    clip: rect(0, 0, 0, 0);
    position: absolute;
}

h1 {
    font-size: 72px;
    margin: 0;
}

h2 {
    font-size: 24px;
    margin: 0;
}

h3 {
    font-size: 20px;
    margin: 0;
}

p {
    font-size: 16px;
}

body,
body * {
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #424141;
}

a:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 1s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.l-wrapper {
    width: 90vw;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 90vw;
    margin: 20px auto 0;
    padding: 30px 0;
}

nav.no-bg-image {
    margin: 0 auto;
}

nav .p-nav__list {
    display: flex;
    justify-content: start;
    margin: 0 auto;
    gap: 30px;
}

nav .p-nav__list li a {
    text-decoration: none;
    font-size: 13px;
}

nav .p-nav__list li:first-child {
    border-bottom: 1px solid #424141;
}

nav .p-nav__list li:last-child {
    border-bottom: 1px solid #424141;
}

/* タブレット,スマホ用 */
@media (max-width: 768px) {
    nav {
        display: none;
    }
}

footer {
    position: relative;
    background-color: #E9EBF2;
    color: #424141;
    text-align: center;
    margin-top: 72px;
    padding: 72px 0 10px 0;
    overflow: visible;
}

footer .c-line--footer {
    top: 0;
    left: 50%;
    background-color: #424141;
    transform-origin: bottom;
    animation: stretchShrink 2s infinite;
}

footer p {
    font-size: 10.5px;
}

header .p-top-visual {
    position: relative;
    width: 90vw;
    height: 50vw;
    margin: 3vw auto 23px;
    background-image: url("images/okinawa.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header .p-top-visual.no-bg-image {
    height: 0;
    margin: 0 auto;
    background-image: none;
}

header .p-top-visual .p-nav-sp {
    display: none;
}

header .p-top-visual .p-catch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

header .p-top-visual .p-catch h1 {
    color: #fff;
    letter-spacing: 0.3em;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

header .p-top-visual.no-bg-image .p-catch h1 {
    display: none;
}

header .p-top-visual .p-catch p {
    font-size: 18px;
    margin: 0;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

header .p-top-visual.no-bg-image .p-catch p {
    display: none;
}

header .p-top-visual>p {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 10.5px;
}

header .p-top-visual.no-bg-image>p {
    display: none;
}

header .p-top-visual .c-line--header {
    bottom: 0;
    left: 50%;
    background-color: #fff;
    transform-origin: top;
    animation: stretchShrink 2s infinite;
}

header .p-top-visual.no-bg-image .c-line--header {
    display: none;
}

header .p-header__right {
    position: fixed;
    right: 0;
    top: calc(3vw + 60px);
    z-index: 100;
}

header .p-header__right p {
    writing-mode: vertical-rl;
    font-size: 10.5px;
}

header .p-header__right p::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -60px;
    width: 1px;
    height: 50px;
    background-color: #424141;
}

header .p-header__left {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

header .p-header__left.is-hidden {
    opacity: 0;
    visibility: hidden;
}

header .p-header__left p {
    writing-mode: vertical-rl;
    font-size: 8px;
}

/* タブレット用 */
@media (max-width: 768px) {
    header .p-top-visual {
        width: 100%;
        height: 95vh;
        margin: 0 auto 23px;
        background-image: url("images/okinawa_sp.JPG");
    }

    header .p-top-visual .p-nav-sp {
        position: absolute;
        top: 0px;
        right: 0px;
        display: block;
        width: 100%;
        z-index: 100;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__header p {
        position: absolute;
        top: 0px;
        right: 60px;
        color: #fff;
        font-weight: 400;
        letter-spacing: 0.1em;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__header.no-bg-image p {
        position: absolute;
        top: 0px;
        right: 60px;
        color: #424141;
        font-weight: 400;
        letter-spacing: 0.1em;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__header .p-nav-sp__hamburger {
        position: fixed;
        top: 18px;
        right: 16px;
        z-index: 100;
        width: 25px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__header .p-nav-sp__hamburger span {
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: background-color 0.5s ease, transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__header.no-bg-image .p-nav-sp__hamburger span {
        width: 100%;
        height: 2px;
        background-color: #424141;
        transition: background-color 0.5s ease, transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__header .p-nav-sp__hamburger.is-open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__header .p-nav-sp__hamburger.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__header .p-nav-sp__hamburger.is-open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__menu {
        width: 100vw;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 90;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__menu .p-nav-sp__list {
        list-style: none;
        margin: 70px auto 0;
        padding: 0;
        opacity: 0;
        transform: translateY(-100%);
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__menu .p-nav-sp__list.is-open {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__menu .p-nav-sp__list.is-closing {
        opacity: 0;
        transform: translateY(-100%);
        max-height: 0;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__menu .p-nav-sp__list li {
        margin-top: 1px;
    }

    header .p-top-visual .p-nav-sp .p-nav-sp__menu .p-nav-sp__list li a {
        width: 100%;
        display: block;
        text-decoration: none;
        font-size: 12px;
        color: #424141;
        font-weight: 700;
        letter-spacing: 0.1em;
        background-color: #A9A9A8;
        padding: 14px;
    }

    header .p-header__right {
        display: none;
    }

    header .p-header__left {
        display: none;
    }
}

/* スマホ用 */
@media (max-width: 640px) {
    header .p-top-visual .p-catch h1 {
        font-size: 42px;
    }
}

.p-works__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 72px auto;
}

.p-works__item {
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.p-works__item a {
    display: block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.p-works__item img {
    width: 100%;
    transition: transform 0.3s ease;
}

.p-works__item:hover img {
    transform: scale(1.05);
}

.p-works__item-desc {
    margin-top: 35px;
}

.p-works__item-title {
    font-size: 20px;
    margin: 0;
}

.p-works__item-tag {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 0;
}

/* タブレット用 */
@media (max-width: 768px) {
    .p-works__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .p-works__item-desc {
        margin-top: 10px;
    }
}

/* スマホ用 */
@media (max-width: 640px) {
    .p-works__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    }
}

.p-about__profile {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 0 72px 0;
}

.p-about__img {
    flex: 0 0 40%;
}

.p-about__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.p-about__text {
    flex: 0 0 60%;
}

.p-about__text p {
    font-weight: 400;
    padding: 0 0 0 5vw;
}

/* タブレット,スマホ用 */
@media (max-width: 768px) {
    .p-about__profile {
        flex-direction: column;
    }

    .p-about__img {
        text-align: center;
    }

    .p-about__img img {
        width: 50%;
        height: 50%;
    }
}

.p-problems {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    background-image: url("images/spain.JPG");
    background-attachment: fixed;
    /* 背景画像の固定表示 */
    background-size: cover;
    /* 画面全体にフィット */
    background-position: center;
    /* 中央表示 */
    background-repeat: no-repeat;
    /* 繰り返しなし */
    text-align: center;
    margin: 72px 0 0 0;
    padding: 120px 0;
}

.p-problems__inner {
    background-color: white;
    width: 90vw;
    max-width: 854px;
    margin: 0 auto;
}

.p-problems__inner h3 {
    width: 90%;
    font-weight: 400;
    margin: 0 auto;
}

.p-problems__list {
    width: 90%;
    margin: 0 auto;
}

.p-problems__list ol {
    width: 350px;
    text-align: left;
    padding: 0;
    margin: 0 auto;
    padding-bottom: 72px;
}

.p-problems__list ol li {
    padding-top: 36px;
}

.p-problems__list ol li p {
    font-weight: 400;
    margin: 0;
}

/* タブレット用 */
@media (max-width: 768px) {
    .p-problems__inner .p-problems__list ol {
        width: 60%;
    }
}

.p-services__grid {
    margin: 0 auto 72px auto;
    max-width: 854px;
}

.p-services__item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 1s ease;
}

.p-services__item:nth-child(even) {
    flex-direction: row-reverse;
    margin-left: auto;
    transform: translateX(50px);
}

.p-services__item:nth-child(odd) {
    transform: translateX(-50px);
}

.p-services__item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.p-services__item:not(:first-child) {
    margin-top: 36px;
}

.p-services__icon {
    width: 30%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.p-services__text {
    margin: auto 0;
}

.p-services__headline {
    font-size: 28px;
    margin: 0 0 20px 0;
    text-align: center;
}

.p-services__desc {
    margin: 0;
    font-weight: 400;
}

/* スマホ用 */
@media (max-width: 640px) {
    .p-services__item {
        display: block;
        text-align: center;
    }

    .p-services__icon {
        width: 50%;
        margin: 0 auto;
    }

    .p-services__headline {
        font-size: 20px;
    }

    .p-services__desc {
        text-align: left;
    }
}

.p-contact {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    background-image: url("images/okinawa_contact.JPG");
    background-size: cover;
    /* 画面全体にフィット */
    background-position: center;
    /* 中央表示 */
    background-repeat: no-repeat;
    /* 繰り返しなし */
    margin: 72px 0;
    padding: 120px 0;
}

.p-contact__inner {
    background-color: white;
    width: 90vw;
    max-width: 854px;
    margin: 0 auto;
    padding-bottom: 72px;
}

.p-contact__text {
    display: block;
    width: 90%;
    margin: 0 auto 72px;
    font-weight: 400;
}

.p-contact-detail__text {
    display: block;
    width: 90%;
    max-width: 854px;
    margin: 0 auto 72px;
    font-weight: 400;
}

.wpcf7-form {
    max-width: 854px;
    margin: 0 auto;
}

.wpcf7-form p label {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 1em;
}

.wpcf7-form p .wpcf7-form-control {
    width: 100%;
    padding: 13px 20px;
    margin-bottom: 1em;
}

.wpcf7-form p .wpcf7-submit {
    display: block;
    position: relative;
    width: 230px;
    height: 45px;
    margin: 0 auto;
    padding: 10px 25px;
    /* padding-left: 110px; */
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    border: 1px solid #424141;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.wpcf7-form p .wpcf7-submit:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* .wpcf7-form p .wpcf7-submit::before {
    content: "";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url("images/arrow.png");
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
} */

.p-works-detail__note {
    width: 90%;
    margin: 0;
    font-size: 10.5px;
    font-weight: 400;
}

.p-works-detail__img {
    width: 100%;
    height: 51vw;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #424141;
}

.p-works-detail__img img {
    width: 100%;
    height: auto;
    display: block;
}

.p-works-detail__desc {
    width: 90%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    margin: 72px auto 72px;
}

.p-works-detail__title {
    font-size: 28px;
}

.p-works-detail__tag,
.p-works-detail__commitment,
.p-works-detail__period {
    font-weight: 400;
}

.p-about-detail__profile {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 0 72px 0;
}

.p-about-detail__img {
    flex: 0 0 40%;
}

.p-about-detail__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.p-about-detail__text {
    flex: 0 0 60%;
}

.p-about-detail__text p {
    font-weight: 400;
    padding: 0 0 0 5vw;
}

/* タブレット,スマホ用 */
@media (max-width: 768px) {
    .p-about-detail__profile {
        flex-direction: column;
    }

    .p-about-detail__img {
        text-align: center;
    }

    .p-about-detail__img img {
        width: 50%;
        height: 50%;
    }
}

.p-values {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    background-image: url("images/sanjo-sky.JPG");
    background-attachment: fixed;
    /* 背景画像の固定表示 */
    background-size: cover;
    /* 画面全体にフィット */
    background-position: center;
    /* 中央表示 */
    background-repeat: no-repeat;
    /* 繰り返しなし */
    text-align: center;
    margin: 72px 0 0 0;
    padding: 120px 0;
}

.p-values__inner {
    background-color: white;
    width: 90vw;
    max-width: 854px;
    margin: 0 auto;
}

.p-values__inner h3 {
    width: 90%;
    font-weight: 400;
    margin: 0 auto;
}

.p-values__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 72px;
}

.p-values__item-title {
    font-size: 20px;
    margin: 0 0 20px 0;
}

.p-values__item-text {
    text-align: left;
    font-weight: 400;
}

/* タブレット用 */
@media (max-width: 768px) {
    .p-values__inner .p-values__list {
        width: 60%;
        grid-template-columns: repeat(1, 1fr);
    }
}

.p-skills__list {
    max-width: 1400px;
}

.p-skills__item {
    text-align: center;
    padding: 30px 0 30px 0;
    border-bottom: 1px solid #424141;
}

.p-skills__item:first-child {
    padding-top: 0;
}

.p-skills__item-title {
    margin: 0 0 20px 0;
}

.p-skills__item-title p {
    font-size: 20px;
}

.p-skills__item-detail {
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-skills__item-img {
    display: flex;
    justify-content: center;
    width: calc((90vw - 150px) / 2);
    height: 100px;
}

.p-skills__item-img img {
    width: 100px;
    height: 100px;
}

.p-skills__item-level {
    margin: 0;
    width: 20vw;
}

.p-skills__item-text {
    width: calc((90vw - 150px) / 2);
    text-align: left;
    margin: 0;
    font-weight: 400;
}

/* スマホ用 */
@media (max-width: 640px) {
    .p-skills__item-detail {
        display: block;
        text-align: center;
    }

    .p-skills__item-img {
        width: 100%;
        margin: 32px auto;
    }

    .p-skills__item-level {
        width: 100%;
        margin: 32px auto;
    }

    .p-skills__item-text {
        width: 100%;
        margin: 32px auto;
        text-align: center;
    }
}

.p-strengths__grid {
    margin: 0 auto 72px auto;
    max-width: 854px;
}

.p-strengths__item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 1s ease;
}

.p-strengths__item:nth-child(even) {
    flex-direction: row-reverse;
    margin-left: auto;
    transform: translateX(50px);
}

.p-strengths__item:nth-child(odd) {
    transform: translateX(-50px);
}

.p-strengths__item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.p-strengths__item:not(:first-child) {
    margin-top: 36px;
}

.p-strengths__icon {
    width: 30%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.p-strengths__text {
    margin: auto 0;
}

.p-strengths__headline {
    font-size: 28px;
    margin: 0 0 20px 0;
    text-align: center;
}

.p-strengths__desc {
    margin: 0;
    font-weight: 400;
}

/* スマホ用 */
@media (max-width: 640px) {
    .p-strengths__item {
        display: block;
        text-align: center;
    }

    .p-strengths__icon {
        width: 50%;
        margin: 0 auto;
    }

    .p-strengths__headline {
        font-size: 20px;
    }

    .p-strengths__desc {
        text-align: left;
    }
}

.p-services-detail .p-services__cat--troubleshooting,
.p-services-detail .p-services__cat--creation {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.p-services-detail .p-services__cat--troubleshooting h2,
.p-services-detail .p-services__cat--creation h2 {
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.p-services-detail .p-services__cat--troubleshooting p,
.p-services-detail .p-services__cat--creation p {
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.p-services-detail .p-services__cat--troubleshooting {
    background-color: #B4C7E7;
}

.p-services-detail .p-services__cat--creation {
    background-color: #dcc0ab;
}

.p-services-detail .p-services-detail__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 72px auto;
}

.p-services-detail .p-services-detail__item {
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.p-services-detail .p-services-detail__item .p-services-detail__item-desc .p-services-detail__item-title {
    font-size: 20px;
    margin: 24px 0;
    height: 100%;
}

.p-services-detail .p-services-detail__item .p-services-detail__item-desc .p-services-detail__item-text {
    font-weight: 400;
    text-align: left;
    margin: 0;
}

.p-services-detail .p-services-one-column {
    grid-column: 2;
    text-align: center;
}

.p-services-detail .p-services-detail__item img {
    width: 96px;
    height: 96px;
}

/* タブレット用 */
@media (max-width: 768px) {
    .p-services-detail .p-services-detail__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 72px;
    }

    .p-services-detail .p-services-detail__grid:last-child {
        gap: 0;
    }
}

/* スマホ用 */
.c-section__title {
    text-align: center;
    padding: 72px 0 48px 0;
    margin: 0 auto;
}

.c-section__title p {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
}

.c-more-button {
    display: block;
    position: relative;
    width: 230px;
    height: 45px;
    margin: 0 auto;
    padding: 10px 25px;
    padding-left: 110px;
    text-decoration: none;
    text-align: left;
    font-size: 14px;
    border: 1px solid #424141;
}

.c-more-button::before {
    content: "";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url("images/arrow.png");
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
}

.c-back-to-top-button {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    margin: 0 auto;
    padding: 5px 15px;
    text-decoration: none;
    text-align: center;
    font-size: 10.5px;
    border: 1px solid #424141;
}

.c-line--header,
.c-line--footer {
    position: absolute;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
}

@keyframes stretchShrink {

    /* 伸びる：上部固定で下部に向って伸びる */
    0% {
        transform: scaleY(0);
    }

    50% {
        transform: scaleY(1);
    }

    /* 縮む：下部固定で上部から下部に向って縮む */
    100% {
        transform: scaleY(0);
    }
}

/*# sourceMappingURL=style.css.map */