@charset "utf-8";

/* ------------------
--------RESET--------
------------------ */
/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -webkit-tap-highlight-color: transparent;
    /* 3*/
    margin: 0 !important;
}

/* Sections */
/* ============================================ */

section {
    padding: 0;
}

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
    overflow-x: hidden;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
    margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
    font-weight: bold;
}

dd {
    margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
    border-top-width: 1px;
    margin: 0;
    clear: both;
    color: inherit;
}

/**
 * 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: inherit;
    /* 2 */
}

address {
    font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    text-decoration: underline dotted;
    /* 2 */
}

/**
 * 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: inherit;
    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
    vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
    -webkit-appearance: none;
    /* 1 */
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit;
    /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
    cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

:-moz-focusring {
    outline: auto;
}

select:disabled {
    opacity: inherit;
}

/**
 * Remove padding
 */

option {
    padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
    margin: 0;
    padding: 0;
    min-width: 0;
}

legend {
    padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * Correct the outline style in Safari.
 */

[type="search"] {
    outline-offset: -2px;
    /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type="number"] {
    -moz-appearance: textfield;
}

/**
 * Clickable labels
 */

label[for] {
    cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
    outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
    border-color: inherit;
    /* 1 */
    border-collapse: collapse;
}

caption {
    text-align: left;
}

td,
th {
    vertical-align: top;
    padding: 0;
}

th {
    text-align: left;
    font-weight: bold;
}


/*====================================*/
/* base contents */
/*====================================*/
:root {
    /* color */
    --wht: #fff;
    --wht-gray: #f7f7f7;
    --blk: #2C2C2C;
    --accent: #CDAD0B;
    --main-color: #FA365F;
    --sub-color: #FA365F;
    --bg-pink: #FAE9E6;
    --gray: #9B9B9B;
    --green: #44AB5F;
    --yellow: #FDDB05;
    --blue: #2ACFF5;
}

/*====================================*/
/* base contents */
/*====================================*/
html,body {
    font-family: Lato, 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体',
        'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN',
        'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック',
        'MS PGothic', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: .1em;
    font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
    color: #1C1C1C;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    word-break: break-all;
}

@media screen and (min-width: 768px) {
    html,body {
        font-size: 16px;
    }
}

body {
    background-color: var(--wht);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* ----pc,sp/on_off---- */
.pc {
    display: none;
}

.tb {
    display: none;
}

.sp {
    display: block;
}

@media screen and (min-width: 959px) {
    .tb {
        display: block;
    }

    .sp {
        display: none;
    }
}

@media screen and (min-width: 1200px) {
    .pc {
        display: block;
    }

    .tb {
        display: none;
    }
}

/*====================================*/
/* common contents */
/*====================================*/
/* ----color-style---- */
.green {
    color: var(--green);
}

.yellow {
    color: var(--yellow);
}

.blue {
    color: var(--blue);
}

.pink {
    color: var(--main-color);
}

.wh-now {
    white-space: nowrap;
}


/* ----flexbox---- */
.fl,
.col_2,
.col_3,
.col_2_3,
.col_2_4,
.col_3_5 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.col_1,
.col_1_2 {
    display: flex;
    justify-content: space-between;
}

.col_1>* {
    display: block;
    width: 100%;
}

.col_1_2>* {
    flex-basis: calc(100% / 2 - 1.5rem);
    margin-bottom: 1.6rem;
}

.col_1_3>* {
    flex-basis: calc(100% / 2 - 1.2rem);
    margin-bottom: 0;
}

.col_right>*:last-child {
    flex-basis: calc(75% - .9rem);
}

.col_3>* {
    flex-basis: calc(100% / 3 - .8rem);
}

.col_2_3>*,
.col_2_4>* {
    flex-basis: calc(100% / 2 - .5rem);
    margin-bottom: 1rem;
}

.col_3_5>* {
    flex-basis: calc(100% / 3 - .8rem);
    margin-bottom: 1rem;
}

.cols>* {
    width: 100%;
    min-width: 0;
}

.col-25 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-50 {
    flex: 0 0 50%;
    max-width: 50%;
}


.gap_1 {
    gap: 1.5rem;
}

.gap_2 {
    gap: 2rem;
}

.gap_3 {
    gap: 3rem;
}

.fld-clm {
    flex-direction: column;
}

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

    .fl,
    .col_2,
    .col_3,
    .col_2_3,
    .col_2_4,
    .col_3_5 {
        display: block;
    }

    .col_1,
    .col_1_2 {
        display: block;
    }

    .col_1_2>* {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }
}

/* @media screen and (max-width: 959px) {
    .flex {
        display: flex;
    }

    .col_1_3>* {
        flex-basis: calc(100% / 3 - 1.5rem);
        margin-bottom: 0;
    }

    .col_right>*:last-child {
        flex-basis: calc(80% - .9rem);
    }

    .col_2_3>* {
        flex-basis: calc(100% / 3 - 2rem);
        margin-bottom: 0;
    }

    .col_2_4>* {
        flex-basis: calc(100% / 4 - 1.5rem);
        margin-bottom: 0;
    }

    .col_3_5>* {
        flex-basis: calc(100% / 5 - .5rem);
        margin-bottom: 0;
    }
} */

.jf_fs {
    justify-content: flex-start;
}

.jf_sb {
    justify-content: space-between;
}

.jf_c {
    justify-content: center;
}

.jf_e {
    justify-content: space-evenly;
}

.jf_fe {
    justify-content: flex-end;
}

.item-c {
    align-items: center;
}

/* ----grid-layout---- */
.grid,
.grid_1_2,
.grid_1_3,
.grid_3,
.grid_4,
.grid_5,
.grid_1_4,
.grid_2_4,
.grid_2_3 {
    display: grid;
}

.grid_1_2 {
    grid-template-columns: 1fr;
}

.grid_2_4, .grid_2_3 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 1rem;
}

.grid_3 {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}

.grid_4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid_5 {
    grid-template-columns: repeat(5, 1fr);
}

@media screen and (min-width:959px) {
    .grid_1_2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid_1_3, .grid_2_3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid_1_4, .grid_2_4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 768px) {
    .reverse>*:last-child {
        order: -1;
    }
}

/* ----text-style---- */
.bold {
    font-weight: 900;
}

.inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.1rem;
}

/* @media screen and (max-width: 1400px) {
    .inner {
        max-width: 1080px;
    }
} */

.main__ttl__box {
    display: flex;
    align-items: baseline;
    gap: .5rem;
}

.main__ttl__box .main__ttl {
    color: var(--blk);
    font-size: 3rem;
    font-weight: bold;
}

.main__ttl__box.-wh .main__ttl {
    color: var(--wht);
}

.main__ttl__box .main__ttl::first-letter {
    color: var(--main-color);
}

.main__ttl__box .slash {
    font-style: italic;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.main__ttl__box .sub__ttl {
    color: var(--blk);
}

.main__ttl__box.-wh .sub__ttl {
    color: var(--wht);
}

/* ----ここからオリジナルスタイル---- */
/*====================================*/
/* header */
/*====================================*/
header .nav__item::before {
    content: none;
}

/*　上に上がる動き　*/
#header.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}

/*　下に下がる動き　*/
#header.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#header {
    position: fixed;
    width: 100%;
    z-index: 5;
    transition: 0.2s;
}

#header.change-style {
    background-color: #003964;
    top: 0;
}

.header__logo {
    width: 250px;
    transition: ease .6s;
}

@media screen and (max-width: 767px) {
    .header__logo {
        opacity: 0;
        position: relative;
        visibility: hidden;
        z-index: 10000;
        margin-right: auto;
    }
    .header__logo.active {
        opacity: 1;
        visibility: unset;
    }
}

.header__logo img {
    width: 100%;
}

/* ヘッダー */
#header {
    width: 100%;
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0;
}

@media screen and (max-width: 767px) {
    #header {
        top: 0rem;
    }
}

.header__inner {
    max-width: 1080px;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 auto;
    justify-content: space-between;
    height: initial;
    width: initial;
    padding: 1rem 1.2rem 1rem 2.5rem;
    background-color: var(--wht);
    border-radius: 50px;
}

@media screen and (max-width:767px) {
    .header__inner {
           justify-content: end;
           background-color: inherit;
           padding: 1rem 1.2rem 1rem 1.2rem;
    }
}

/* ヘッダーのロゴ部分 */

.header__title {
    width: 80px;
}

@media screen and (min-width:960px) {
    .header__title {
        width: 120px;
    }
}

.header__title img {
    display: block;
    width: 100%;
    height: 100%;
}


/* ヘッダーのナビ部分 */
.header__nav {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: auto;
    transform: translateX(100%);
    background-color: #fff;
    box-shadow: 0px 0px 15px -5px rgb(51 51 51 / 50%);
    transition: ease .4s;
    z-index: 1000;
}

@media screen and (min-width:960px) {
    .header__nav {
        position: static;
        transform: initial;
        box-shadow: initial;
        background-color: inherit;
        height: inherit;
        display: flex;
        justify-content: end;
    }

    .header__inner {
        /* padding: initial; */
    }
}

@media screen and (min-width:960px) {
    .nav__list {
        display: flex;
        align-items: center;
        height: initial;
        gap: 1.5rem;
    }
}

@media screen and (min-width:1440px) {
    .nav__list {
        gap: 1.5rem;
    }
}

.nav__list {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
}

@media screen and (max-width:767px) {
    .nav__list {
        position: static;
        top: inherit;
        left: inherit;
        transform: inherit;
        padding: 0;
    }
}

@media screen and (min-width:960px) {
    .nav__list {
        position: inherit;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        justify-content: right;
    }
}

/* ナビのリンク */
.nav__item {
    border-bottom: none !important;
    width: 140px;
}

@media screen and (max-width:767px) {
    .nav__item {
        width: 100%;
    }
}

.nav__item::after {
    content: none;
}

.nav__item>a::before {
    content: none;
}

.nav__item a {
    width: 100%;
    display: block;
    white-space: nowrap;
    font-weight: bold;
}

header .nav__item>a {
    position: relative;
    padding: initial;
    margin-bottom: 2.2rem;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    height: initial;
    font-size: 1rem;
    color: var(--blk);
    text-align: left;
}

@media screen and (max-width:767px) {
    header .nav__item:not(:last-child)>a {
        padding-left: 0;
        padding-bottom: .5rem;
        border-bottom: var(--wht-gray) solid 2px;
    }

    header .nav__item:not(:last-child)>a::before {
        position: absolute;
        content: "";
        bottom: 0;
        left: 0;
        transform: translateY(2px);
        width: 3rem;
        height: 2px;
        background-color: var(--main-color);
    }
}

header .nav__item>li:last-child>a {
    margin-bottom: initial;
}

.nav__item.contact {
    cursor: pointer;
    text-align: center;
    background: var(--blk);
    border-radius: 50px;
}

@media screen and (max-width:767px) {
    .nav__item.contact {
        width: 100%;
        max-width: 320px;
        margin: auto;
        justify-content: end;
    }
}

.nav__item.contact>a {
    color: #fff;
    border-left: initial;
    display: flex;
    justify-content: center;
    text-align: center;
    gap: .4rem;
    padding: .7rem 0rem;
    margin-bottom: initial;
}

@media screen and (max-width:767px) {
   .nav__item.contact>a {
        display: none;
    }
}

.nav__item.contact>a>.icn {
    width: 20px;
    height: auto;
}

@media screen and (min-width:960px) {
    .nav__item {
        width: initial;
        margin: initial;
    }

    .nav__item>a {
        padding: initial;
        margin-bottom: 2rem;
        padding-left: initial;
        border-left: initial;
    }

    header .nav__item>a {
        border-left: none;
        margin-bottom: initial;
    }

    .nav__item.contact>a {
        padding: rem 1.5rem;
    }

    .nav__item.contact>a>.icn {
        width: 28px;
    }

    .nav__item.contact {
        position: relative;
        width: 140px;
        display: flex;
        height: 100%;
    }

    .nav__item>a {
        margin-bottom: 0;
        border-bottom: 0;
        color: #003964;
    }
}

@media screen and (min-width:1600px) {
    .nav__item a {
        font-size: 1rem;
    }
}

/* ハンバーガーメニュー */
.header__hamburger {
    width: 22px;
    height: 100%;
}

.hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
}

@media screen and (min-width:768px) {
    .hamburger {
        display: none;
    }
}

@media screen and (max-width:767px) {
    .hamburger {
        position: relative;
        margin-right: .5rem;
        margin-top: .5rem;
    }
     .hamburger::before {
        position: absolute;
         content: "";
         top: 50%;
         left: 50%;
         transform: translate(-50%,-50%);
         width: 44px;
         height: 44px;
         background-color: var(--wht);
         border-radius: 50px;
    }
}

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    border-radius: 2px;
    background-color: var(--main-color);
    position: relative;
    transition: ease .4s;
    display: block;
    height: 3px;
}

.hamburger.active span {
    background-color: var(--main-color);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    margin: 5px 0px;
}

.hamburger span:nth-child(3) {
    top: 0;
    width: 12px;
    margin-left: auto;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
    transform: translateX(0);
}

@media screen and (max-width:767px) {
    .header__nav {
        display: block;
        padding: 6rem 1.1rem 3rem;
        border-radius: 0 0 30px 30px;
    }

    /* .header__nav::before {
        position: absolute;
        content: "";
        background-color: var(--main-color);
        height: 3rem;
        width: 100%;
        bottom: 0;
    } */
}

.hamburger.active span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: -10px;
    transform: rotate(-45deg);
    width: 100%;
}

.overlay {
    background-color: #000;
    cursor: pointer;
    height: 100vh;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: all 0.4s;
    visibility: hidden;
    width: 100vw;
    z-index: 1;
}

@media screen and (max-width:768px) {
    .overlay.active {
        visibility: visible;
        opacity: .4;
    }
}

@media screen and (max-width: 1200px) {
    .nav__item {
        display: flex;
    }
}

#mv {
    position: relative;
    z-index: 1;
    background: var(--bg_red, linear-gradient(180deg, #FC4269 49.4%, #EF3A60 71.4%, #D5294D 100%));
    height: 100vh;
}

#mv .mv__bg {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: left;
    align-items: center;
}

#mv .mv__bg .ttl__box {
    position: relative;
    font-size: 6rem;
    z-index: 1;
    padding-left: 4rem;
}

@media screen and (max-width:768px) {
    #mv .mv__bg .ttl__box {
        padding-left: 0;
        padding: 0 1.1rem;
    }
}

#mv .mv__bg .ttl__box .jp__ttl {
    position: relative;
    font-size: 9vh;
    line-height: 1.5;
    font-weight: bold;
    color: var(--wht);
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 10000000000;
    margin-bottom: 2rem;
}

@media screen and (max-width:768px) {
    #mv .mv__bg .ttl__box .jp__ttl {
        font-size: 4.5vh;
        margin-bottom: 1.5rem;
    }

    #mv .mv__bg .ttl__box .jp__ttl .txt-L {
        font-size: 6vh;
    }
}

#mv .mv__bg .ttl__box .jp__ttl .icn__1 {
    margin-left: -1rem;
}

#mv .mv__bg .ttl__box .jp__ttl .icn__1, #mv .mv__bg .ttl__box .jp__ttl .icn__2 {
    display: inline-block;
    width: 15rem;
    margin-bottom: -1.5rem;
}

@media screen and (max-width:768px) {
    #mv .mv__bg .ttl__box .jp__ttl .icn__1, #mv .mv__bg .ttl__box .jp__ttl .icn__2 {
        display: inline-block;
        width: 6.5rem;
        margin-left: 0;
        transform: translate(0, 0.6rem);
        margin-bottom: 0;
    }
}

#mv .mv__bg .ttl__box .en__ttl {
    font-size: 10vh;
    color: var(--main-color);
    font-weight: bold;
    line-height: 1.1;
}

@media screen and (max-width:768px) {
    #mv .mv__bg .ttl__box .en__ttl {
        font-size: 5vh;
    }
}

#mv .mv__bg .btn__box {
    display: flex;
    gap: 1.5rem;
}

@media screen and (max-width:768px) {
    #mv .mv__bg .btn__box {
        flex-direction: column;
        align-items: center;
    }
}

.loop__slide {
    margin-bottom: 2rem;
}
.loop__slide > div {
    display: flex;
    animation: slide-to-left 7s linear infinite;
    gap: 1rem;
}
.loop__slide > div > * {
    max-width: calc(100% / 2.7);
}
@keyframes slide-to-left {
    100% { transform: translateX(-100%) }
}

@media screen and (min-width: 768px) {
    .loop__slide {
        display: none;
    }
}

/* スライドする要素 */
#slot {
    position: absolute;
    top: 0;
    right: 0;
    height: 100svh;
    overflow: hidden;
    display: flex;
    justify-content: end;
    gap: 1rem;
}

@media screen and (max-width:768px) {
    #slot {
        opacity: 0;
        visibility: hidden;
    }
}

.content_slide {
    width: 360px;
    border-radius: 1.2rem;
}

.content_slide:last-child {
    margin-bottom: 1rem;
}

/* スライドレールの枠 */
.wrap {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* content4つをまとめたスライドブロック */
.slideshow_1 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    -webkit-animation: loop__slide-up 30s infinite linear 1s both;
    animation: loop__slide-up 30s infinite linear 1s both;
}

.slideshow_2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    -webkit-animation: loop__slide-down 30s infinite linear 1s both;
    animation: loop__slide-down 30s infinite linear 1s both;
}

.slideshow_3 {
    display: flex;
    gap: 1rem;
    animation: loop__slide 30s infinite linear 1s both;
}

@media screen and (max-width:768px) {
    .sp__slide .slideshow_1 {
        flex-direction: inherit;
    }
    .sp__slide .slideshow_2 {
        flex-direction: inherit;
    }
    .sp__slide .wrap {
            flex-direction: inherit;
    }
}

@-webkit-keyframes loop__slide-up {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

@keyframes loop__slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop__slide-up {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

@-webkit-keyframes loop__slide-down {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0%);
    }
}

@keyframes loop__slide-down {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0%);
    }
}

/* ホバー時に動きを止める */
/* .slide-paused:hover .slideshow_2 {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
} */

.btn-wrap {
    align-content: center;
    border-bottom: 1px solid var(--blk);
    border-left: 1px solid var(--blk);
    border-radius: 48px;
    border-right: 1px solid var(--blk);
    border-top: 1px solid var(--blk);
    height: auto;
    padding: .5rem .5rem .5rem 2rem;
    transform: translate(0px, 0px);
    transition-duration: 600ms;
    width: auto;
    max-width: 300px;
}

@media screen and (max-width:768px) {
    .btn-wrap {
        width: 100%;
    }
}

.btn-wrap.-wh {
    background: var(--wht);
}

.btn-wrap.-bl {
    background: var(--blk);
}

.side__icn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.side__icn>img {
    height: 1.5rem;
    width: 1.5rem;
}

.btn-wrap a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-wrap:hover {
    opacity: 1;
}

.btn-wrap .txt {
    color: var(--blk);
    font-size: 16px;
    font-weight: 600;
    height: auto;
    line-height: 1.01;
    opacity: 1;
    text-align: left;
    transform: translate(0px, 0px);
    transition-duration: 600ms;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
}

.btn-wrap.-bl .txt {
    color: var(--wht);
}

.btn-icn__box {
    position: relative;
    align-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.0);
    border-radius: 0;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 40px;
    justify-content: center;
    margin: 0px 0px 0px 30px;
    overflow-x: visible;
    overflow-y: visible;
    transform: scale(1, 1);
    width: 40px;
    max-width: calc(100% - 30px);
    display: flex;
}

.top__arrow {
    backdrop-filter: brightness(100%);
    flex: none;
    height: auto;
    transition-duration: 0ms;
    width: 12px;
    z-index: 3;
    max-width: 100%;
    display: flex;
    position: relative;
    z-index: 1;
}

.btn-wrap:hover .top__arrow {
    opacity: 0;
    transform: translate(10px, 0px);
    transition-duration: 600ms;
}

.btn-icn__box .bottom__arrow__box {
    align-content: center;
    align-items: center;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: center;
    left: 0;
    margin: 0 0 0 0;
    padding: 0px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
    max-width: 100%;
    display: flex;
}

.btn-icn__box .bottom__arrow {
    flex: none;
    height: auto;
    transform: translate(-10px, 0px);
    opacity: 0;
    position: absolute;
    transition-delay: 0ms;
    transition-duration: 0ms;
    width: 12px;
    max-width: 100%;
}

.btn-wrap:hover .btn-icn__box .bottom__arrow {
    opacity: 1;
    transform: translate(0px, 0px);
    transition-delay: 250ms;
    transition-duration: 600ms;
}

.btn-icn__box .arrow__bg {
    background: var(--blk);
    border-radius: 50%;
    flex: none;
    height: 100%;
    left: 0;
    margin: 0 0 0 0;
    position: absolute;
    top: 0;
    transition-duration: 600ms;
    width: 100%;
    max-width: 100%;
}

.btn-wrap.-bl .arrow__bg {
    background: var(--wht);
}

.btn-wrap:hover .btn-icn__box .arrow__bg {
    transform: scale(1.3, 1.3);
}

/*====================================*/
/* about */
/*====================================*/
#about {
    position: relative;
    background-color: var(--bg-pink);
}

#about .bg__img01 {
    position: absolute;
    top: -47vh;
    left: 0;
    z-index: 0;
}

@media screen and (max-width:768px) {
    #about .bg__img01 {
        position: absolute;
        top: -29%;
        left: -15%;
        width: 300px;
        z-index: 0;
    }
}

#about .bg__img02 {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(0%, 50%);
}

#about .l__box {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 12rem;
}

@media screen and (max-width: 767px) {
    #about .l__box {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding-top: 3rem;
    }
}

.side__txt {
    font-size: 2rem;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .side__txt {
        font-size: 1.5rem;
    }
}

#about .l__box .side__txt {
    position: absolute;
    left: -30%;
    writing-mode: vertical-rl;
}

@media screen and (max-width: 767px) {
    #about .l__box .side__txt {
        top: -11.5rem;
        left: 0;
    }
}

#about .l__box .lead {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.7;
}

@media screen and (max-width: 767px) {
    #about .l__box .lead {
            font-size: 1.5rem;
    }
}

#about .l__box .txt__box {
    line-height: 2.5;
    margin-bottom: 7rem;
}

@media screen and (max-width: 767px) {
    #about .l__box .txt__box {
        line-height: 2.5;
        margin-bottom: 2rem;
    }
}

#about .l__box .img__box {
    position: relative;
}

#about .l__box .img__box .img__wrap {
    margin-left: calc(100% - 50vw);
    max-width: 860px;
}

@media screen and (max-width: 767px) {
    #about .l__box .img__box .img__wrap {
        margin-left: inherit;
        max-width: 860px;
        margin-bottom: 1rem;
        width: 85vw;
        margin-left: calc(50% - 50vw);
    }
}

#about .about__cnt {
    width: calc(100% / 2);
}

@media screen and (max-width: 767px) {
    #about .about__cnt {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
}

#about .r__box {
    width: calc(100% / 2);
    position: absolute;
    top: 0;
    right: 0;
}

@media screen and (max-width: 767px) {
    #about .r__box {
        width: inherit;
        position: relative;
        order: -1;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        padding-left: 6rem;
    }
}

#about .r__box .side__txt {
    position: absolute;
    width: 100%;
    bottom: -20vh;
    left: 65%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 767px) {
    #about .r__box .side__txt {
        margin-left: inherit;
        width: 85vw;
        margin-left: calc(50% - 50vw);
        opacity: 0;
        visibility: hidden;
    }
}

@media screen and (min-width: 1400px) {
    #about .r__box .side__txt {
        bottom: -10vh;
    }
}

/*====================================*/
/* service */
/*====================================*/
#service {
    position: relative;
    background: linear-gradient(180deg, #2C2C2C 0%, #1C1C1C 68.4%, #000 100%);
}

#service::before {
    position: absolute;
    content: "";
    top: -3rem;
    left: 0;
    height: 3rem;
    width: 100%;
    background: #2C2C2C;
    border-radius: 50px 50px 0 0;
}

@media screen and (max-width: 767px) {
    #service::before {
        border-radius: 30px 30px 0 0;
    }
}

#service::after {
    position: absolute;
    content: "";
    bottom: -3rem;
    left: 0;
    height: 3rem;
    width: 100%;
    background: #000;
    border-radius: 0 0 50px 50px;
    z-index: 2;
}

@media screen and (max-width: 767px) {
    #service::after {
        border-radius: 0 0 30px 30px;
    }
}

#service .inner {
    padding: 3rem 1.1rem;
}

@media screen and (max-width: 767px) {
    #service .inner {
        padding: 0 1.1rem;
    }
}

#service .main__ttl__box {
    margin-bottom: 3rem;
}

/*====================================*/
/* why */
/*====================================*/
#why {
    position: relative;
    padding-top: 3.5rem;
    background-color: var(--main-color);
    z-index: 1;
}

@media screen and (max-width: 767px) {
    #why {
        padding-top: 1.5rem
    }
}

#why::after {
    position: absolute;
    content: "";
    bottom: -3rem;
    left: 0;
    height: 3rem;
    width: 100%;
    background: var(--main-color);
    border-radius: 0 0 50px 50px;
    z-index: 1;
}

@media screen and (max-width: 767px) {
    #why::after {
        border-radius: 0 0 30px 30px;
    }
}

#why .img__box {
    transform: translate(0%, 3.2rem);
    position: relative;
    padding: 0 1.1rem;
    z-index: 2;
}

/*====================================*/
/* reason */
/*====================================*/
#reason {
    position: relative;
    background-color: var(--bg-pink);
}

#reason .bg__img01 {
    position: absolute;
    top: -5%;
    right: -5%;
    z-index: 0;
}

@media screen and (max-width: 767px) {
    #reason .bg__img01 {
        position: absolute;
        width: 250px;
        top: -2%;
        right: -25%;
        z-index: 0;
    }
}

#reason .inner {
    padding: 9rem 1.1rem;
}

@media screen and (max-width: 767px) {
    #reason .inner {
        padding: 8rem 1.1rem 4rem;
    }
}

#reason .inner>.ttl__box {
    text-align: center;
    margin-bottom: 5rem;
}

#reason .ttl__box .sub__ttl .pink {
    font-size: 1.5rem;
}

.main__ttl__center {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin-bottom: 2.5rem;
}

.main__ttl__center::first-letter {
    color: var(--main-color);
}

.main__ttl__center::after {
    position: absolute;
    content: "";
    background-color: var(--main-color);
    width: 3rem;
    height: .2rem;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
}

#reason .reason__items {
    position: relative;
    padding: 1.5rem 1.2rem 1rem 1.2rem;
    background-color: var(--main-color);
    color: var(--wht);
    width: calc(100% / 3);
    border-radius: 1rem;
}

@media screen and (max-width: 767px) {
    #reason .reason__items {
        width: 100%;
    }
}

#reason .reason__items.-blk {
    background-color: var(--blk);
}

#reason .reason__items .num {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 3;
    color: var(--main-color);
    transform: translate(0px, -1rem);
}

#reason .reason__items.-blk .num {
    color: var(--blk);
}

#reason .reason__items .num::before {
    position: absolute;
    content: "";
    background-color: var(--main-color);
    height: 3rem;
    width: 3rem;
    border-radius: 50px;
    z-index: -1;
}

#reason .reason__items.-blk .num::before {
    background-color: var(--blk);
}

#reason .reason__items .num::after {
    position: absolute;
    content: "";
    background-color: var(--wht);
    height: 2.2rem;
    width: 2.2rem;
    border-radius: 50px;
    z-index: -1;
}

.reason__list {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

@media screen and (max-width: 767px) {
    .reason__list {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
}

.reason__num {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.reason__num .l__icn {
    transform: translate(-40%, -115%);
}

.reason__num .r__icn {
    transform: translate(40%, -115%);
}

@media screen and (max-width: 767px) {
    .reason__num .l__icn {
        transform: translate(-35%, -100%);
    }
    
    .reason__num .r__icn {
        transform: translate(35%, -100%);
    }
}

.reason__num .l__icn img {
    width: 30px;
    height: 18px;
    flex-shrink: 0;
}

.reason__num .r__icn img {
    width: 30px;
    height: 18px;
    flex-shrink: 0;
}

#reason .reason__items .reason__cnt {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#reason .reason__items .ttl__box {
    text-align: left;
}

@media screen and (max-width: 767px) {
    #reason .reason__items .ttl__box {
        font-size: 1.5rem;
    }
}

#reason .reason__items .reason__cnt img {
    border-radius: .8rem;
}

#reason .reason__items .reason__cnt .txt__box {
    margin-bottom: 2rem;
}

#reason .achieve .main__ttl {
    font-size: 2rem;
    line-height: 2.2;
    background-color: var(--wht);
    padding: 2rem 4rem 0rem 4rem;
    border-radius: 0 2rem 0 0;
    display: inline-block;
}

@media screen and (max-width: 767px) {
    #reason .achieve .main__ttl {
        padding: 2rem 1.1rem 0rem 1.1rem;
        margin-right: 1.1rem;
        font-size: 1.5rem;
    }
}

#reason .achieve .main__ttl .icn__1 {
    display: inline-block;
    max-width: 200px;
    margin-bottom: -1.5rem;
    margin-right: .5rem;
}

@media screen and (max-width: 767px) {
    #reason .achieve .main__ttl .icn__1 {
        max-width: 95px;
        margin-bottom: -1rem;
    }
}

#achieve__slide {
    background-color: var(--wht);
    padding: 5rem 0 8rem 0;
}

#achieve__slide .achieve__slide .content_slide:nth-child(1n) {
    transform: translate(0, -10%);
    margin-left: -1.5rem;
    position: relative;
    z-index: 3;
}

#achieve__slide .achieve__slide .content_slide:nth-child(2n) {
    transform: translate(0, 10%);
    position: relative;
    z-index: 1;
}

#achieve__slide .achieve__slide .content_slide:first-child {
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

#achieve__slide .achieve__slide .content_slide:last-child {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

#achieve__slide .achieve__slide .content_slide img {
    border-radius: 1rem;
    border: .5px solid var(--blk);
}

#achieve__slide .achieve__slide__wrap {
    display: flex;
    align-items: center;
}

#achieve__slide .achieve__slide {
    display: flex;
    -webkit-animation: loop__slide 30s infinite linear 1s both;
    animation: loop__slide 30s infinite linear 1s both;
}

@-webkit-keyframes loop__slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop__slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/*====================================*/
/* contact */
/*====================================*/
#contact {
    position: relative;
    background: linear-gradient(180deg, #FC4269 49.4%, #EF3A60 71.4%, #D5294D 100%);
}

#contact::before {
    position: absolute;
    content: "";
    top: -3rem;
    left: 0;
    height: 3rem;
    width: 100%;
    background: #FC4269;
    border-radius: 50px 50px 0 0;
}

#contact::after {
    position: absolute;
    content: "";
    bottom: -3rem;
    left: 0;
    height: 3rem;
    width: 100%;
    background: #D5294D;
    border-radius: 0 0 50px 50px;
    z-index: 2;
}

@media screen and (max-width: 767px) {
    #contact::before{
        border-radius: 30px 30px 0 0;
    }
    
    #contact::after {
        border-radius: 0 0 30px 30px;
    }
}

#contact .inner {
    padding: 3rem 1.1rem;
}

@media screen and (max-width: 767px) {
    #contact .inner {
        padding: 0rem 1.1rem;
    }
}

#contact .ttl__box {
    color: var(--wht);
}

#contact .ttl__box .ttl {
    font-size: 4rem;
    margin-bottom: 1rem;
}

#contact .ttl__box .ttl::first-letter {
    color: var(--blk);
}

#contact .ttl__box .txt {
    margin-bottom: 2.5rem;
}

#contact .contact__cnt .l__box .btn__box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#contact .contact__cnt {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 767px) {
    #contact .contact__cnt .l__box .btn__box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    #contact .contact__cnt {
        flex-direction: column;
        gap: 3rem;
    }
}

#contact .contact__cnt .r__box .img {
    border-radius: 1rem;
    border: .5px solid var(--blk);
}

#contact .contact__cnt>* {
    width: calc(100% / 2);
}

@media screen and (max-width: 767px) {
    #contact .contact__cnt>* {
        width: 100%;
    }
}

/*====================================*/
/* how */
/*====================================*/
#how {
    position: relative;
    padding-top: 3.5rem;
    background-color: var(--blk);
    z-index: 1;
}

@media screen and (max-width: 767px) {
    #how {
        padding-top: 2.5rem;
    }
}

#how::after {
    position: absolute;
    content: "";
    bottom: -3rem;
    left: 0;
    height: 3rem;
    width: 100%;
    background: var(--blk);
    border-radius: 0 0 50px 50px;
    z-index: 1;
}

#how .img__box {
    transform: translate(0%, 3.7rem);
    position: relative;
    z-index: 2;
    padding: 0 1.1rem;
}

@media screen and (max-width: 767px) {
    #how::after {
        border-radius: 0 0 30px 30px;
    }
    #how .img__box {
        transform: translate(0%, 3.2rem);
    }
}

/*====================================*/
/* method */
/*====================================*/
#method {
    background-color: var(--bg-pink);
}

#method .inner {
    padding: 9rem 1.1rem;
}

#method .btn__box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 7rem;
}

@media screen and (max-width: 767px) {
    #method .btn__box {
        flex-direction: column;
        margin-bottom: 5rem;
    }
}

#method .inner>.ttl__box {
    text-align: center;
    margin-bottom: 3.5rem;
}

#method .inner>.ttl__box .sub__ttl {
    margin-bottom: 3rem;
}

#method .btn-icn__box {
    transform: rotate(90deg) scale(1, 1);
}

#method .method__item {
    color: var(--blk);
}

#method .main__txt {
    margin-bottom: .5rem;
}

#method .recommend {
    border: 2px solid var(--main-color);
    border-radius: 1rem;
    padding: 1rem;
}

#method .method__item .main__ttl {
    position: relative;
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--blk);
    margin-bottom: 2.5rem;
}

#method .method__item .main__ttl::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    content: "";
    height: 3px;
    width: 60px;
    background-color: var(--main-color);
}

#method .method__item .txt {
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

#method .recommend__ttl__box {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px dotted var(--main-color);
}

#method .recommend__ttl__box>.point {
    margin-bottom: 1rem;
}

#method .point {
    background-color: var(--main-color);
    color: var(--wht);
    font-weight: bold;
    display: inline-block;
    padding: .2rem 1rem;
    border-radius: 50px;
}

#method .recommend__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#method .recommend__list .recommend__item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#method .method__cnt .method__list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/*====================================*/
/* casestudy */
/*====================================*/
#casestudy {
    position: relative;
    background: linear-gradient(180deg, #2C2C2C 0%, #1C1C1C 68.4%, #000 100%);
}

#casestudy::before {
    position: absolute;
    content: "";
    top: -3rem;
    left: 0;
    height: 3rem;
    width: 100%;
    background: #2C2C2C;
    border-radius: 50px 50px 0 0;
}

#casestudy::after {
    position: absolute;
    content: "";
    bottom: -3rem;
    left: 0;
    height: 3rem;
    width: 100%;
    background: #000;
    border-radius: 0 0 50px 50px;
    z-index: 2;
}

@media screen and (max-width: 767px) {
    #casestudy::before {
        border-radius: 30px 30px 0 0;
    }
    
    #casestudy::after {
        border-radius: 0 0 30px 30px;
    }
}

#casestudy .inner {
    padding: 3rem 1.1rem;
}

@media screen and (max-width: 767px) {
    #casestudy .inner {
        padding: 0 1.1rem;
    }
}

#casestudy .main__ttl__box {
    margin-bottom: 3rem;
}

#casestudy .btn-wrap.-wh {margin: auto;}

/*====================================*/
/* flow */
/*====================================*/
#flow {
    position: relative;
    background-color: var(--bg-pink);
}

#flow .bg__img01,#flow .bg__img02 {
    position: absolute;
}

@media screen and (max-width: 767px) {
    #flow .bg__img01,#flow .bg__img02 {
        opacity: 0;
        visibility: hidden;
    }
}
#flow .bg__img01 {
    top: -5%;
}

#flow .bg__img02 {
    bottom: -5%;
    right: -20%;
}

#flow .inner {
    padding: 10rem 1.1rem;
}

@media screen and (max-width: 767px) {
    #flow .inner {
        padding: 8rem 1.1rem;
    }
}

#flow .ttl__box {
    text-align: center;
    margin-bottom: 5rem;
}

@media screen and (max-width: 767px) {
    #flow .ttl__box {
        margin-bottom: 3rem;
    }
}

.flow__list {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow__list > * {
    width: calc(100% / 5);
}

.flow__item {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--wht);
    height: 4.5rem;
    padding: 0 1rem;
}

@media screen and (max-width: 767px) {
    .flow__item {
        flex-direction: column;
        height: 15rem;
        padding: .5rem 1rem 0  0;
        gap: 1rem;
    }
}

.flow__item:first-child {
    border-radius: 50px 0px 0px 50px;
}

@media screen and (max-width: 767px) {
    .flow__item:first-child {
        border-radius: 0;
    }
}

.flow__item:nth-child(1n) {
    background-color: var(--main-color);
}

.flow__item:nth-child(2n) {
    background-color: var(--blk);
}

.flow__item:nth-child(1n)::before {
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    border-top: 2.25rem solid var(--blk);
    border-right: 0 solid var(--blk);
    border-left: 1.2rem solid transparent;
    border-bottom: 2.25rem solid var(--blk);
    z-index: 1;
}

.flow__item:nth-child(2n)::before {
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    border-top: 2.25rem solid var(--main-color);
    border-right: 0 solid var(--main-color);
    border-left: 1.2rem solid transparent;
    border-bottom: 2.25rem solid var(--main-color);
    z-index: 1;
}

.flow__item:last-child::before {
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    border-top: 2.25rem solid var(--bg-pink);
    border-right: 0 solid var(--bg-pink);
    border-left: 1.2rem solid transparent;
    border-bottom: 2.25rem solid var(--bg-pink);
    z-index: 1;
}

@media screen and (max-width: 767px) {
        .flow__item:nth-child(1n)::before {
        border-top: 7.5rem solid var(--blk);
        border-left: 1.2rem solid transparent;
        border-bottom: 7.5rem solid var(--blk);
    }
    
    .flow__item:nth-child(2n)::before {
        border-top: 7.5rem solid var(--main-color);
        border-left: 1.2rem solid transparent;
        border-bottom: 7.5rem solid var(--main-color);
    }
    
    .flow__item:last-child::before {
        border-top: 7.5rem solid var(--bg-pink);
        border-left: 1.2rem solid transparent;
        border-bottom: 7.5rem solid var(--bg-pink);
    }
}

.flow__item .num {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--wht);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    line-height: 1.2rem;
}

.flow__item:nth-child(1n) .num {
    color: var(--main-color);
}

.flow__item:nth-child(2n) .num {
    color: var(--blk);
}

.flow__item .ttl {
    flex-grow: 1;
    display: grid;
    place-items: center;
}

@media screen and (max-width: 767px) {
    .flow__item .ttl {
        writing-mode: vertical-rl;
        place-items: inherit;
    }
}

.flow__border {
    display: grid;
    height: 5rem;
    grid-template-columns: repeat(10, 1fr);
}

.border__solid {
    border-left: 2px solid var(--blk);
}

.border__dot {
    border-left: 1px dashed var(--blk);
}

.flow__blk {
    border: 2px solid var(--blk);
    background-color: var(--wht);
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    gap: 2rem;
}

@media screen and (max-width: 767px) {
    .flow__blk {
        flex-direction: column;
        padding: 1.1rem 1.1rem 2rem;
    }
}

.flow__blk .l__box {
    width: 220px;
    max-width: 220px;
}


@media screen and (max-width: 767px) {
    .flow__blk .l__box {
        width: inherit;
        max-width: inherit;
    }
}

.flow__blk .r__box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    line-height: 1.8;
}

.flow__blk .r__box .ttl {
    position:relative;
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.flow__blk .r__box .ttl::after {
    position: absolute;
    content: "";
    background-color: var(--main-color);
    width: 5rem;
    height: .2rem;
    bottom: -1.2rem;
    left: 0;
}

.flow__blk .r__box .flow__service__list .flow__service__item {
    list-style-type: disc;
    margin-left: 1rem;
}

#contact.cta .inner {
    padding: 5rem 1.1rem 3rem;
}

@media screen and (max-width: 767px) {
    #contact.cta .inner {
        padding: 3rem 1.1rem 3rem;
    }
}

#contact.cta {
    position: relative;
    overflow: hidden;
}

#contact.cta .bg__img01,#contact.cta .bg__img02 {
    position: absolute;
    width: 50px;
    top: 0;
}

@media screen and (max-width: 767px) {
    #contact.cta .bg__img01,#contact.cta .bg__img02 {
        width: 30px;
    }
}

#contact.cta .bg__img01 {
    left: 0;
}

#contact.cta .bg__img02 {
    right: 0;
}

@media screen and (max-width: 767px) {
    #contact.cta {
        overflow: inherit;
    }
}

#contact.cta::after {
    content: none;
} 

#contact.cta .ttl__box .txt {
    font-size: 1.2rem;
}

#contact.cta .ttl__box .sub__txt {
    margin-bottom: 2rem;
}

#contact.cta .r__box {
    position: relative;
}

#contact.cta .r__box .wrap {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
}

@media screen and (max-width: 767px) {
    #contact.cta .r__box .wrap {
        position: static;
        overflow: inherit;
        transform: inherit;
        flex-direction: row;
        margin-bottom: 3rem;
    }
}

#contact.cta .r__box .wrap .content_slide img {
    border-radius: .9rem;
}

@media screen and (max-width: 767px) {
    #contact.cta .r__box .wrap .slideshow_1 {
        display: flex;
        flex-direction: inherit;
        animation: loop__slide 30s infinite linear 1s both;
    }
}

/*====================================*/
/* casestudy */
/*====================================*/
.casestudy__list {
    display: flex;
}

.casestudy__list > * {
    width: calc(100% / 3 - .8rem);
    color: var(--wht);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.casestudy__list .casestudy__item .img__box img {
    border-radius: 1rem;
}

.casestudy__list .casestudy__item .cat__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.casestudy__list .casestudy__item .cat__list .cat__item {
    color: var(--gray);
    background-color: var(--wht);
    display: inline-block;
    padding: .2rem 1rem;
    border-radius: 50px;
}

.casestudy__list .casestudy__item .ttl  {
    position: relative;
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--wht);
}

.casestudy__list .casestudy__item .txt  {
    padding-top: 1rem;
}

.casestudy__list .casestudy__item .ttl::before {
    position: absolute;
        content: "";
        bottom: 0;
        left: 0;
        transform: translateY(3px);
        width: 3rem;
        height: 3px;
        background-color: var(--main-color);
}

.swiper-scrollbar-drag {
    height: 20px;
    cursor: pointer;
    background-color: var(--main-color);
    background-clip: content-box;
    border-radius: inherit;
}

.swiper {
    overflow: hidden;
    margin-bottom: 2rem;
}

.swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal {
    position: inherit;
    height: inherit;
    overflow: hidden;
    height: 4px;
    cursor: pointer;
    background-color: var(--wht);
    border-radius: inherit;
}

.swiper-button-next, .swiper-button-prev {
    position: inherit;
}

.swiper-button-next, .swiper-button-prev {
    width: inherit;
    height: inherit;
    margin-top: inherit;
}

.switch__box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.switch__box .btn__box {
    display: flex;
    gap: 1rem;
    padding-left: 5rem;
}

@media screen and (max-width: 767px) {
    .switch__box .btn__box {
        padding-left: 2.5rem;
    }
}

.swiper-button-prev,.swiper-button-next {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
    text-align: center;
    background-color: var(--wht);
    border: 1px solid var(--wht);
    left: 0;
    border-radius: 50%;
    padding: 0;
    transition: 0.3s;
    cursor: pointer;
}

.swiper-button-prev::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 11px;
    height: 11px;
    border-right: 3px solid var(--main-color);
    border-top: 3px solid var(--main-color);
    transition: all 0.3s;
    transform: translateX(-30%) translateY(-50%) rotate(225deg);
}

.swiper-button-next::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 11px;
    height: 11px;
    border-right: 3px solid var(--main-color);
    border-top: 3px solid var(--main-color);
    transition: all 0.3s;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: none;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: none;
}