/*
Theme Name: carefreeasy
*/


@charset "UTF-8";
/*! destyle.css v1.0.14 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model */
/* ============================================ */
* {
  box-sizing: border-box;
}

::before,
::after {
  box-sizing: inherit;
}

/* 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*/
}

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

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  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: 0;
  border-top: 1px solid;
  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] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          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;
}

/* Embedded content */
/* ============================================ */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
  vertical-align: bottom;
  width: 100%;
  height: 100%;
}

embed,
object,
iframe {
  border: 0;
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */
[type=checkbox] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
       appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
  -moz-appearance: radio;
       appearance: radio;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

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

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Remove arrow in IE10 & IE11
 */
select::-ms-expand {
  display: none;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

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

/**
 * 1. 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. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * 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] {
  outline: none;
}

/* Table */
/* ============================================ */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption {
  text-align: left;
}

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

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

/* Misc */
/* ============================================ */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

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

body {
  font-family: "Zen Old Mincho", serif;
  line-height: 2;
}
@media screen and (max-width: 768px){
  body{
    line-height: 1.6;
  }
}

.l-header {
  position: fixed;
  z-index: 5;
  width: 100%;
  height: 7rem;
  top: 0;
  background-color: #4A4C52;
  z-index: 6;
}
@media (max-width: 768px) {
  .l-header {
    height: 6rem;
    width: 100%;
    /*height: 100%;*/
  }
  .l-header.toggle {
    width: 100%;
    height: 100vh;
  }
}
.l-header__inner {
  padding-right: 2rem;
  padding-left: 2rem;
}
@media (max-width: 768px) {
  .l-header__inner {
    padding-right: 0;
    padding-left: 0;
  }
}
.l-header__inner {
  height: 100%;
}
.l-header__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .l-header__container {
    display: block;
  }
}
@media (max-width: 768px) {
  .l-header__nav {
    height: 100%;
    visibility: hidden;
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .l-header__list-item {
    text-align: center;
    line-height: 2;
  }
}
.l-header__list-item {
  position: relative;
  text-align: center;
  float: left;
  width: 24%;
}
.l-header__list-item:hover .header__submenu {
  visibility: visible;
  opacity: 1;
  height: auto;
}
.l-header__title a {
  font-size: 1.5rem;
  text-transform: capitalize;
  color: #fff;
  position: relative;
  z-index: 9;
  line-height: 1;
}
@media (max-width: 768px) {
  .l-header__title a {
    padding-left: 3vw;
    line-height: 6rem;
  }
}
.l-footer {
  background-color: #4A4C52;
}
.l-footer__inner {
  color: #fff;
}
.l-footer__container {
  padding-top: 4rem;
  padding-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .l-footer__container {
    display: block;
    padding-bottom: 5.5rem;
  }
}
.l-footer__content {
  width: 33%;
  text-align: center;
}
@media (max-width: 768px) {
  .l-footer__content {
    width: 100%;
  }
}
.l-footer__title {
  margin-bottom: 2rem;
  text-align: left;
  font-size: 1.3rem;
  text-transform: capitalize;
}
.l-footer__item a {
  line-height: 3;
  display: block;
}
.l-footer__item a:hover {
  opacity: 0.8;
}
.section-heading--title {
  font-size: 2.1rem;
}
.section-heading--subtitle {
  font-size: 1rem;
  margin: 0.75rem 0 1.5rem;
}

.l-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding-right: 2rem;
  padding-left: 2rem;
}
@media (max-width: 1440px) {
  .l-inner {
    max-width: 1200px;
  }
}
@media (max-width: 768px) {
  .l-inner {
    padding-right: 5vw;
    padding-left: 5vw;
  }
}

.l-contact {
  background-image: url(./img/contact.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.l-contact:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #4A4C52;
  opacity: 0.7;
}
.l-contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.c-btn {
  display: block;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}
.c-btn--header {
  position: fixed;
  z-index: 5;
  top: 7rem;
  right: 0;
  background-color: #928670;
  color: #fff;
  width: 15rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .c-btn--header {
    width: 100%;
    height: 5rem;
    top: auto;        /* ←ここを変更 */
    bottom: 0;        /* 画面下に固定 */
    left: 0;
  }
}
.c-btn--header:hover {
  color: #928670;
  background-color: #fff;
}
.c-btn--footer {
  background-color: #928670;
  color: #fff;
  width: 19rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 0;
}
@media (max-width: 768px) {
  .c-btn--footer {
    width: 100%;
    height: 3rem;
  }
}
.c-btn--footer:hover {
  color: #928670;
  background-color: #fff;
}
.c-btn-menu {
  display: none;
}
@media (max-width: 768px) {
  .c-btn-menu {
    display: block;
    width: 44px;
    height: 26px;
    position: fixed;
    z-index: 10;
    top: 2.5rem;
    right: 2.5rem;
  }
  .c-btn-menu.open .c-btn-menu__line:nth-of-type(1) {
    width: 40px;
    top: 16px;
    transform: rotate(45deg);
  }
  .c-btn-menu.open .c-btn-menu__line:nth-of-type(2) {
    opacity: 0;
  }
  .c-btn-menu.open .c-btn-menu__line:nth-of-type(3) {
    width: 40px;
    top: 16px;
    transform: rotate(-45deg);
  }
}
.c-btn-menu__line {
  background-color: #fff;
  left: 10px;
  height: 1px;
  transition: 0.7s;
  position: absolute;
}
.c-btn-menu__line:nth-of-type(1) {
  top: 0;
  width: 20px;
}
.c-btn-menu__line:nth-of-type(2) {
  top: 10px;
  width: 30px;
}
.c-btn-menu__line:nth-of-type(3) {
  top: 20px;
  width: 40px;
}
.c-btn--link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.8rem;
  text-align: left;
  width: fit-content;
  padding-right: 4rem;
}
.c-btn--arrow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  
  display: flex;
  align-items: center;
  justify-content: center;

  width: 3.1rem;
  height: 3.1rem;

  color: #4A4C52;
  background-color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.c-btn--link:hover {
  opacity: 0.7;
}
.c-btn--link:hover:after {
  color: #fff;
  background-color: #4A4C52;
}
.c-btn--black {
  color: #4A4C52;
}
.c-btn--black::after {
  color: #fff;
  background-color: #4A4C52;
}
.c-btn--black:hover:after {
  color: #4A4C52;
  background-color: #fff;
}
.c-btn--white {
  color: #fff;
}
.c-btn--white::after {
  color: #4A4C52;
  background-color: #fff;
}
.c-btn--white:hover:after {
  color: #fff;
  background-color: #4A4C52;
}
.c-btn--archive {
  margin: 0 auto;
}
.c-btn--submit {
  margin: 0 auto;
  width: 12rem;
  border-radius: 100px;
  background-color: #4A4C52;
  color: #fff;
  padding: 0.9rem 0;
  display: block;
  text-align: center;
}
.c-btn--back {
  width: 9rem;
  margin: 0 auto;
  padding: 0.7rem 0;
  color: #fff;
  background-color: #928670;
}
.c-btn--black .c-btn--arrow{
  color: #fff;
  background-color: #4A4C52;
}
.c-btn--back:hover {
  background-color: #eee;
  color: #928670;
}
.c-btn--return {
  width: 9rem;
  margin: 0 auto;
  padding: 0.7rem 0;
  color: #fff;
  background-color: #4A4C52;
}
.c-demo__tag-item{
  width: 11rem;
  text-align: center;
  color: #4A4C52;
  background-color: #fff;
  height: 2.3rem;
  line-height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  transition: 0.6s;
}
@media screen and (max-width: 1024px){
	.c-demo__tag-item{
  width: 32%;
}
}
.term-all .c-demo__tag-item:nth-of-type(1){
  background-color: #424348;
  color: #ffff;
}
.term-corporate .c-demo__tag-item:nth-of-type(2){
  background-color: #424348;
  color: #ffff;
}
.term-lp .c-demo__tag-item:nth-of-type(3){
  background-color: #424348;
  color: #ffff;
}
.term-recruit .c-demo__tag-item:nth-of-type(4){
  background-color: #424348;
  color: #ffff;
}
.term-school .c-demo__tag-item:nth-of-type(5){
  background-color: #424348;
  color: #ffff;
}
@media screen and (max-width: 768px){
  .c-demo__tag-item{
    height: 2.2rem;
    line-height: 2.2rem;
    width: 48.2%;
  }
}
.c-demo__tag-item a{
  display: block;
  width: 100%;
  height: 100%;
}
.c-demo__tag-item:hover{
  color: #fff;
  background-color: #4A4C52;
}
.c-demo__tag-list{

	max-width: 1024px;
	margin-right: auto;
	margin-left: auto;
  margin-bottom: 3.5rem;
  gap: 2rem;
}
@media screen and (max-width: 1024px){
  .c-demo__tag-list{
    max-width: 768px;
  }
}

.c-news__tag-list,.c-demo__tag-list {
  display: flex;
  align-items: center;
  gap: 0.7rem;
	flex-wrap: wrap;
}
@media screen and (max-width: 768px){
  .c-news__tag-list{
    flex-wrap: initial;
  }
}
.c-news__tag-item {
  width: 6.2rem;
  text-align: center;
  border: 1px solid #4A4C52;
  color: #4A4C52;
  height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  transition: 0.6s;
  line-height: 2.3rem;
}
@media screen and (max-width: 1024px){
	.c-news__tag-item{
		width: 31%;
		margin-right: 1%;
	}
}
.c-news__tag-item a{
  width: 100%;
  height: 100%;
}
.category-news .c-news__tag-item:nth-of-type(2){
    color: #fff !important;
    background-color: #4A4C52;
}
.category-blog .c-news__tag-item:nth-of-type(3){
    color: #fff !important;
    background-color: #4A4C52;
}
.category-news .c-news__tag-item:nth-of-type(2):hover {
    color: #4A4C52 !important;
    background-color: #fff !important;
}

.category-blog .c-news__tag-item:nth-of-type(3):hover {
    color: #4A4C52 !important;
    background-color: #fff !important;
}
.c-news__tag-item a {
  display: block;
}
.c-news__tag-item:hover {
  color: #fff;
  background-color: #4A4C52;
}

.c-scroll-indicator {
  display: inline-block;
  font-size: 0.8rem;
  position: absolute;
  right: 20px;
  top: 13rem;
  color: #fff;
  padding: 10px 10px 90px;
  letter-spacing: 0.2em;
  line-height: 1;
  text-decoration: none;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  writing-mode: vertical-lr;
}
@media (max-width: 768px) {
  .c-scroll-indicator {
    top: 10rem;
    right: 5px;
    padding: 10px 10px 60px;
    font-size: .45rem;
  }
}
.c-scroll-indicator:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: #fff;
  content: "";
  animation: scrolldown 1.5s infinite;
}
@media (max-width: 768px) {
  .c-scroll-indicator:after {
    height: 50px;
  }
}

.c-archive-tag__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0.8rem 0;
}
@media (max-width: 768px) {
  .c-archive-tag__list {
    justify-content: initial;
    gap: 0.8rem;
    justify-content: center;
  }
}
.c-archive-tag__item {
  color: #fff;
  font-size: 0.7rem;
}
.c-news__tag {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.c-news__date {
  font-size: 0.8rem;
  color: #928670;
}
.c-news__category {
  color: #fff;
  background-color: #4A4C52;
  font-size: 0.9rem;
  padding: 0 0.4rem;
}
.c-news__headline {
  margin-top: 0.8rem;
  font-size: 1rem;
}
.c-news__item:not(:first-of-type) a {
  padding-top: 1rem;
}
.c-news__item a {
  padding-bottom: 1rem;
  border-bottom: 1px solid #4A4C52;
  display: block;
}

.c-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
  color: #ffff;
}
.c-pagination .page-numbers.current {
  font-weight: bold;
}

.c-breadcrumb {
  margin-bottom: 3rem;
}

.p-top-hero {
  background-color: #4A4C52;
  padding-top: 7rem;
  position: relative;
}
@media (max-width: 768px) {
  .p-top-hero {
    padding-top: 6rem;
  }
}
.p-top-hero__img {
  position: relative;
  width: 100%;
  top: 7rem;
  height: 23rem;
  display: block;
}
@media (max-width: 768px) {
  .p-top-hero__img {
    top: 9rem;
  }
}
.p-top-hero__img img {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-top-hero__inner {
  padding-right: 2rem;
  padding-left: 2rem;
  position: relative;
  z-index: 1;
  margin-top: 2.8rem;
}
@media (max-width: 768px) {
  .p-top-hero__inner {
    padding-right: 4vw;
    padding-left: 4vw;
    margin-top: 2.3vw;
  }
}
.p-top-hero__catch {
  color: white;
  font-size: 6.5rem;
}
@media (max-width: 768px) {
  .p-top-hero__catch {
    font-size: 4.8rem;
  }
}
@media (max-width: 540px) {
  .p-top-hero__catch {
    font-size: 4.7rem;
  }
}
@media (max-width: 490px) {
  .p-top-hero__catch {
    font-size: 4.2rem;
  }
}
.p-top-hero__content {
  position: relative;
  top: 10.6rem;
  z-index: 1;
  padding: 0 2rem;
}
@media (max-width: 768px) {
  .p-top-hero__content {
    top: 10.75rem;
    padding: 0 3vw;
  }
}
@media (max-width: 540px) {
  .p-top-hero__content {
    top: 10.5rem;
  }
}

.p-sub-hero__img {
  height: 16rem;
}
.p-sub-hero__catch {
  font-size: 5.1rem;
}

@media (max-width: 540px) {
  .p-sub-hero__catch {
    font-size: 3.3rem;
  }
}
@media (max-width: 540px) {
  .p-sub-hero__catch {
    font-size: 4rem;
  }
}
.p-sub-hero__content {
  top: 10rem;
}
@media (max-width: 768px) {
  .p-sub-hero__content {
    top: 11rem;
  }
}
@media (max-width: 540px) {
  .p-sub-hero__content {
    top: 10.5rem;
  }
}

.p-global-nav {
  width: 71%;
}
@media (max-width: 1920px) {
  .p-global-nav {
    width: 50%;
  }
}
@media (max-width: 1380px) {
  .p-global-nav {
    width: 60%;
  }
}
@media (max-width: 1024px) {
  .p-global-nav {
    width: 55%;
  }
}
@media (max-width: 1024px) {
  .p-global-nav {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .p-global-nav {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 9;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    background-color: #4A4C52;
    transition: 0.7s;
  }
}
@media (max-width: 768px) {
  .p-global-nav.toggle {
    opacity: 1;
    visibility: visible;
	  width: 100%;
	  height: 100%;
  }
}
.p-global-nav__list--secondary {
  margin-top: 1rem;
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: 0.3s;
  position: absolute;
  left: -80%;
  width: 100%;
  transition: .3s;
}
@media (max-width: 1440px) {
  .p-global-nav__list--secondary {
    width: -96%;
  }
}
@media (max-width: 768px) {
  .p-global-nav__list--secondary {
    position: static;
    opacity: 1;
    visibility: visible;
    height: auto;
    position: initial;
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .p-global-nav__list {
    position: absolute;
    top: 7rem;
    width: 100%;
  }
}
.p-global-nav__item {
  position: relative;
  float: left;
  width: 20%;
  text-align: center;
  color: #fff;
}
@media (max-width: 768px) {
  .p-global-nav__item {
    text-align: center;
    line-height: 2;
    float: initial;
    width: 100%;
    float: none;
  }
}
.p-global-nav__item:hover .p-global-nav__list--secondary {
  visibility: visible;
  opacity: 1;
  height: auto;
}
.p-global-nav__item--secondary {
  background-color: #fff;
  color: #4A4C52;
  width: 180%;
  text-align: right;
  position: relative;
  z-index: 6;
  transition: .3s;
}
@media screen and (max-width: 1440px){
  .p-global-nav__item--secondary{
    width: 200%;
  }
}
@media (max-width: 768px) {
  .p-global-nav__item--secondary {
    color: #fff;
  }
}
.p-global-nav__item--secondary:hover{
  color: #fff;
  background-color: #424348;
}
@media (max-width: 768px) {
  .p-global-nav__item--secondary {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    background-color: transparent;
  }
}
.p-global-nav__item--secondary a {
  display: block;
  padding: 2rem 1.4rem 2rem 1rem;
  transition: 0.3s;
}
@media (max-width: 768px) {
  .p-global-nav__item--secondary a {
    padding: 0;
  }
}
@media (max-width: 768px) {
  .p-global-nav__item a {
    line-height: 3;
  }
}

.p-intro {
  background-image: url(./img/artboard.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 9rem 0;
  margin-top: 5.85rem;
  color: #fff;
}
@media (max-width: 768px) {
  .p-intro {
    background-image: url(./img/intro-sp.webp);
    padding: 6rem 0 4rem;
  }
}
.p-intro__content {
  line-height: 2;
}

.p-top-merit {
  background-color: #4A4C52;
  color: #fff;
}
.p-top-merit__inner {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  display: flex;
  position: relative;
}
@media (max-width: 768px) {
  .p-top-merit__inner {
    display: block;
  }
}
.p-top-merit__info {
  margin-right: auto;
}
.p-top-merit__img {
  width: 50%;
  position: absolute;
  top: -5rem;
  right: 0;
}
@media (max-width: 1024px) {
  .p-top-merit__img {
    right: 3vw;
  }
}
@media (max-width: 768px) {
  .p-top-merit__img {
    position: initial;
  }
}
@media (max-width: 768px) {
  .p-top-merit__img img {
    margin-top: 4.5rem;
  }
}

@keyframes scrolldown {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
.p-top-skill {
  margin: 6rem 0;
}
.p-top-skill__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.p-top-skill__list {
  flex-wrap: wrap;
  display: flex;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .p-top-skill__list {
    display: block;
  }
}
.p-top-skill__item {
  width: 50%;
  height: 26rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}
@media (max-width: 768px) {
  .p-top-skill__item {
    width: 100%;
  }
}
.p-top-skill__item:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #4A4C52;
  opacity: 0.8;
}
.p-top-skill__content {
  position: absolute;
  z-index: 3;
  color: white;
  top: 44%;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
.p-top-skill__name {
  font-size: 2.3rem;
}
#p-top-skill__html {
  background-image: url(./img/skill-img1.webp);
}
#p-top-skill__jquery {
  background-image: url(./img/skill-img2.webp);
}
#p-top-skill__photoshop {
  background-image: url(./img/skill-img3.webp);
}
#p-top-skill__xd {
  background-image: url(./img/skill-img4.webp);
}

.p-top-demo {
  background-color: #4A4C52;
  padding: 6rem 0;
  color: #fff;
}
.p-top-demo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .p-top-demo__inner {
    flex-direction: column;
  }
}
.p-top-demo__wrapper {
  width: 100%;
}
.p-top-demo__container {
  align-items: flex-start;
}
@media (max-width: 768px) {
  .p-top-demo__container {
    display: block;
  }
}
.p-top-demo__list {
  width: 84%;
  margin-top: 1rem;
}
.p-top-demo__list a {
  transition: 0.3s;
}
.p-top-demo__list a:hover {
  opacity: 0.8;
}
.p-top-demo__list a:hover .p-top-demo__list-item:after {
  color: #4A4C52;
}
@media (max-width: 768px) {
  .p-top-demo__list {
    width: 100%;
  }
}
.p-top-demo__item {
  border-bottom: 1px solid #fff;
  position: relative;
  padding-bottom: 2rem;
}
.p-top-demo__item:nth-of-type(n+2) {
  padding-top: 2rem;
}
.p-top-demo__item:nth-of-type(n+2):after {
  top: 2rem;
}
.p-top-demo__item:hover::after {
  color: #4A4C52;
  background-color: #fff;
}
.p-top-demo__item a {
  display: block;
  cursor: pointer;
}
.p-top-demo__item:after {
  content: "→";
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  color: #fff;
  border-radius: 100%;
  border: 1px solid #fff;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-top-demo__item:hover .p-top-demo__text {
  visibility: visible;
  opacity: 1;
  height: 100%;
  width: 100%;
  margin-top: 2rem;
}
.p-top-demo__text {
  line-height: 1.6;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  height: 0;
  width: 0;
	padding-top: 1.2rem;
} 
@media screen and (max-width: 768px){
	.p-top-demo__text{
		opacity: 1;
		height: auto;
		width: auto;
		visibility: visible;
	}
}
.p-top-demo__caption {
  font-size: 1.6rem;
}
.p-top-demo__image {
  width: 90%;
}
@media (max-width: 768px) {
  .p-top-demo__image {
    margin: 2rem auto 0;
    display: block;
  }
}

.p-top-news {
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.p-top-news__header{
  width: 40%;
}
@media screen and (max-width: 768px){
  .p-top-news__header{
    width: 100%;
  }
}
.p-top-news__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 1024px) {
  .p-top-news__inner {
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .p-top-news__inner {
    flex-direction: column;
  }
}
.p-top-news__container {
  width: 61%;
}
@media (max-width: 768px) {
  .p-top-news__container {
    width: 100%;
    margin-top: 2rem;
  }
}

.p-thanks__inner {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .p-thanks__inner {
    padding-top: 10rem;
  }
}
.p-thanks__title {
  font-size: 2rem;
  text-align: center;
  color: #4A4C52;
}
@media (max-width: 1024px) {
  .p-thanks__title {
    font-size: 1.7rem;
  }
}
@media (max-width: 768px) {
  .p-thanks__title {
    font-size: 1.5rem;
  }
}
.p-thanks__text {
  text-align: center;
  margin: 1.8rem 0 1.2rem;
  line-height: 1.5;
}

.p-archive {
  background-color: #4A4C52;
}
.p-archive__inner {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .p-archive__inner {
    padding-top: 10rem;
  }
}
.p-archive__headline {
  font-size: 2.4rem;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}
.p-archive__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
@media screen and (max-width: 1024px){
	.p-archive__list{
		  justify-content: space-between;
	}
}
@media (max-width: 768px) {
  .p-archive__list {
    flex-direction: column;
  }
}
.p-archive__item {
  width: 30%;
	margin-right: 3.333%;
}
@media screen and (max-width: 1024px){
	.p-archive__item{
		  margin-right: 0;
	}
}
.p-archive__item:nth-of-type(n+4) {
  margin-top: 1.5rem;
}
@media screen and (max-width:1024px){
  .p-archive__item:nth-of-type(n+4) {
    margin-top: 1.2rem;
  }
}
@media (max-width: 1024px) {
  .p-archive__item {
    width: 47.5%;
  }
  .p-archive__item:nth-of-type(n+3){
    margin-top: 2rem;
  }
}
@media (max-width: 768px) {
  .p-archive__item {
    width: 100%;
  }
}
.p-archive__item img{
  aspect-ratio: 300 / 150;
  object-fit: cover;
}
@media (max-width: 768px) {
  .p-archive__item:not(:last-of-type) {
    margin-bottom: 2.5rem;
  }
}
.p-archive__tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
}
.p-archive__tag-item {
  color: #fff;
} 


.p-archive__heading {
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
}
.p-archive .header-title {
  color: #fff;
}

.p-single {
  background-color: #4A4C52;
}
.p-single__inner {
  padding-top: 8rem;
  padding-bottom: 5rem;
  color: #fff;
}
@media (max-width: 768px) {
  .p-single__inner {
    padding-top: 10rem;
  }
}
.p-single__title {
  font-size: 1.8rem;
  margin-bottom: 2.7rem;
}
.p-single__headline {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.p-single__wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 5rem;
}
@media (max-width: 1024px) {
  .p-single__wrapper {
    align-items: center;
  }
}
@media (max-width: 768px) {
  .p-single__wrapper {
    flex-direction: column;
    margin-bottom: 0;
  }
}
.p-single__fv {
  width: 49%;
}
@media (max-width: 768px) {
  .p-single__fv {
    width: 100%;
  }
}
.p-single__container {
  width: 47%;
}
@media (max-width: 768px) {
  .p-single__container {
    width: 100%;
    margin: 2rem 0 4rem;
  }
}
.p-single__item {
  display: flex;
  line-height: 2;
}
.p-single__item--comment{
  display: block;
}
.p-single__term {
  margin-right: 1rem;
}
.p-single__desc a{
  text-decoration: underline;
}

.p-news-page__title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.p-news-page__content {
  margin-top: 2rem;
}

.p-news-page__inner {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .p-news-page__inner {
    padding-top: 10rem;
  }
}
.p-news-page__tag {
  margin-bottom: 1.2rem;
}

.p-form__inner {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .p-form__inner {
    padding-top: 10rem;
  }
}
.p-form-item:not(:last-of-type) {
  margin-bottom: 2rem;
}
.p-form-item:last-of-type {
  margin-bottom: 2rem;
}
.p-form-item__error {
  display: none;
}
.p-form-item__label{
  display: inline-block;
  width: 100%;
}
.p-form-item input, .p-form-item textarea {
  background-color: #eee;
  border: 1px solid #4A4C52;
  border-radius: 0.1rem;
  padding: 1.5rem 0.2rem;
  display: block;
  width: 100%;
  transition: 0.6s;
}
.p-form-item input:focus, .p-form-item textarea:focus {
  border: 1px solid #fff;
  background-color: #4A4C52;
  color: #fff;
}
.p-form-item input.wpcf7-not-valid, .p-form-item textarea.wpcf7-not-valid {
  border: 1px solid #ff0000 !important;
  background-color: rgba(255, 0, 0, 0.05);
}
.p-form-item input.wpcf7-not-valid:focus, .p-form-item textarea.wpcf7-not-valid:focus {
  background-color: #4A4C52;
}
.p-form-item textarea {
  height: 15rem;
}
.p-form-item__tag {
  width: 62px;
  height: 32px;
  text-align: center;
  display: inline-block;
  margin-left: 0.5rem;
  line-height: 2;
  color: #fff;
  margin-bottom: 0.7rem;
}
.p-form-item__tag--required {
  background-color: #4A4C52;
}
.p-form-item__tag--optional {
  background-color: #928670;
}

.p-intro-page__inner {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .p-intro-page__inner {
    padding-top: 10rem;
  }
}
.p-intro-page__text {
  line-height: 1.6;
}

@keyframes scrolldown {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
.u-sp-only {
  display: none;
}
@media (max-width: 768px) {
  .u-sp-only {
    display: block;
  }
}

/* newsページのとき */
.c-news__tag-item.is-active {
    background: #4A4C52 !important;
}

.c-news__tag-item.is-active a {
    color: #fff !important;
}
.p-splash {
    position: fixed;
    inset: 0;
    background: #4A4C52;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* ★フェードアウトをゆっくり */
    animation: splashFade 1.5s ease forwards;
    animation-delay: 2s;
  }
  
  /* ロゴ */
  .p-splash-logo {
    color: white;
    font-size: 40px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    /* ★出現をゆっくり */
    animation: logoIn 1s ease forwards;
    animation-delay: 1s;
  }
  
  /* ロゴ出現 */
  @keyframes logoIn {
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  /* 全体フェードアウト */
  @keyframes splashFade {
    to {
      opacity: 0;
      visibility: hidden;
    }
  }

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 1.3s ease;
  }
  
  .fade-in.active {
    opacity: 1;
    transform: translateY(0);
  }

.category-archive .c-news__tag-list .c-news__tag-item:nth-of-type(1){
  color: #fff;
  background-color: #4A4C52;
}
.category-news .c-news__tag-list .c-news__tag-item:nth-of-type(2){
  color: #fff;
  background-color: #4A4C52;
}
.category-blog .c-news__tag-list .c-news__tag-item:nth-of-type(3){
  color: #fff;
  background-color: #4A4C52;
}

strong{
  font-weight: bold;
  font-size: 1.12rem;
}
.p-blog__strong{
  font-size: 1.1rem;
  font-weight: bold;
}
.p-blog__heading{
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: #fff;
  background-color: #4A4C52;
  padding: .6rem 1rem;
  font-weight: bold;
}
.p-blog__headline{
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.p-blog__section{
  margin-top: 2rem;
}
.p-blog__section--last,.p-news__section--last{
  margin-bottom: 5rem;
}
.p-blog__item{
  margin-left: 1.5rem;
}
.p-blog__item::before{
  content: "-";
  padding-right: .3rem;
}
.p-blog__item--child::before{
  content: "・";
  padding-right: .3rem;
}
.p-blog__coad{
  background-color: #4A4C52;
  color: #fff;
  padding: .8rem 1rem;
  margin-top: 1.2rem;
}
.p-intro-page__container{
	display: flex;
	align-items:flex-start;
	gap: .8rem;
}
.p-intro-page__container img{
	width: 120px;
	height: auto;
}
@media screen and (max-width: 768px){
	.p-intro-page__container img{
	width: 90px;
	height: auto;
}
}