/* -----------------------------------------------------
base
----------------------------------------------------- */
body {
  font-family: 'Inter', sans-serif;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 18px;
}
p {
  line-height: 1.7;
}
/* -----------------------------------------------------
wrapper
----------------------------------------------------- */
.c-wrapper__800 {
  width: 90%;
  margin: auto;
  max-width: 800px;
}
.c-wrapper__900 {
  width: 90%;
  margin: auto;
  max-width: 900px;
}
.c-wrapper__1152 {
  width: 90%;
  margin: auto;
  max-width: 1152px;
}
/* -----------------------------------------------------
block
----------------------------------------------------- */
.u-block__sp {
  display: block;
}
/* -----------------------------------------------------
img
----------------------------------------------------- */
.u-img__full {
  height: 100%;
  width: 100%;
}
/* -----------------------------------------------------
heading
----------------------------------------------------- */
.c-heading__title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 0;
}
.c-heading__title::before {
  content: attr(data-title);
  display: block;
  color: #1F5AD9;
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 16px;
}

/* -----------------------------------------------------
header
----------------------------------------------------- */
.p-header {
  z-index: 9999;
  width: 100%;
  position: fixed;
}

.p-header__inner {
  height: inherit;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-header__hachi a{
	z-index: 1;
    width: 150px;
	height:80px;
	margin:0px 0px;
	text-indent: -9999px;
    background-image: url(../images/logo_ichi01.png);
    background-position: top center;
	background-repeat:no-repeat;
	background-size: 150px 160px;
	-webkit-background-size: 150px 160px;
	-moz-background-size: 150px 160px;
	display:block;
}
.p-header__hachi a:hover{
	filter:alpha(opacity=70);
	-moz-opacity:0.7;
	opacity:0.7;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
}
.p-header__hachi.active a{
	z-index: 100;
    width: 150px;
	height:80px;
	margin:0px 0px;
	text-indent: -9990px;
    background-image: url(../images/logo_ichi01.png);
    background-position: bottom center;
	background-repeat:no-repeat;
	background-size: 150px 160px;
	-webkit-background-size: 150px 160px;
	-moz-background-size: 150px 160px;
	display:block;
}
.p-header__hachi.active a:hover{
	filter:alpha(opacity=70);
	-moz-opacity:0.7;
	opacity:0.7;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
}

.p-header__nav {
  background-color: #fff;
  position: absolute;
  right: 0;
  left: 0px;
  top: 0;
  height: 100vh;
  transform: translateX(100%);
  transition:  ease .4s;
  padding: 80px 0;
  width: 100vw;
}

.p-header__nav.active {
  transform: translateX(0);
}

.p-header__nav-items {
  margin-bottom: 0;
  padding: 0 40px;

}

.p-header__nav-item {
  list-style: none;
}

.p-header__nav-link {
  color: #333;
  border-bottom: 1px solid #eee;
  display: block;
  font-weight: bold;
  padding: 16px 12px;
  text-decoration: none;
}

.p-header__nav-link:hover {
  color: #111;
}

/* ハンバーガーメニュー設定 */
.p-header__ham {
  background-color: transparent;
  height: 48px;
  width: 40px;
  border: none;
}

.p-header__ham-line {
  background-color: #fff;
  height: 1px;
  transition: ease .3s;
  position: relative;
  display: block;
}

.p-header__ham-line:nth-child(2) {
  margin: 10px 0;
}

.p-header__ham-line.active {
  background-color: #333;
}

.p-header__ham-line.change-black {
  background-color: #333;
}

.p-header__ham-line.active {
  transform: rotate(45deg);
  top: 10px;
}

.p-header__ham-line:nth-child(2).active {
  opacity: 0;
}

.p-header__ham-line:nth-child(3).active {
  transform: rotate(-45deg);
  top: -11px;
}

/* -----------------------------------------------------
fv
----------------------------------------------------- */
.p-fv {
  position: relative;
  background-image: url("../images/fv-bg.png");
  height: 72vh;
  background-size: cover;
  background-position: 60% 0;
}

.p-fv__title {
  font-size: 48px;
  line-height: 120%;
  top: 160px;
  left: 16px;
  position: absolute;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0;
}

.p-fv__title-sub {
  bottom: 124px;
  left: 16px;
  right: 16px;
  top: 320px;
  position: absolute;
  font-weight: bold;
  color: #fff;
}

.p-fv-sub {
  background-color: #184880;
  padding: 40px 0;
}

.p-fv-sub__text {
  color: #fff;
}

/* -----------------------------------------------------
cosme
----------------------------------------------------- */
.p-cosme {
  padding: 60px 0;
}

.p-cosme__catch {
  text-align: center;
  margin: 20px 0 0;
  font-weight: bold;
}

.p-cosme__text {
  margin: 20px 0 0;
}

.p-cosme__items {
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 40px 0;
}

.p-cosme__item {
  padding: 32px 16px;
  background-color: #E1F3FF;
  display: flex;
  flex-direction: column;
}

.p-cosme__title {
  margin-top: 20px;
  color: #1F5AD9;
  font-weight: bold;
}

.p-cosme__desc {
  margin-top: 12px;
}

.p-cosme__agency {
  margin-top: 40px;
  padding: 32px 16px;
  background-color: #eee;
  position: relative;
}
.p-cosme__agency::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: #184880;
  position: absolute;
  top: 8px;
  left: -8px;
  z-index: -1;
}

.p-cosme__agency-title {
  font-weight: bold;
  text-align: center;
  color: #184880;
}

.p-cosme__agency-text {
  margin-top: 20px;
  font-weight: bold;
}

/* -----------------------------------------------------
dev
----------------------------------------------------- */
.p-dev {
  background-color: #E1F3FF;
  padding: 40px 0;
}

.p-dev__catch {
  margin-top: 20px;
}

.p-dev__catch2 {
  margin-top: 36px;
}

.p-dev__items {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-dev__item {
  padding: 32px 16px;
  background-color: #fff;
  border-radius: 8px;
}

.p-dev__img-layout {
  margin: auto;
  width: 48px;
}

.p-dev__item-title {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}

.p-dev__item-text {
  margin-top: 20px;
}

.p-dev__title-sub {
  color: #1F5AD9;
  margin-top: 60px;
  text-align: center;
  font-weight: bold;
}

.p-dev-answer__items {
  background-color: #fff;
  border-radius: 8px;
  margin-top: 40px;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
}

.p-dev__check {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
  gap: 12px;
}

.p-dev-flow__catch {
  margin-top: 16px;
}

.p-dev__flow-items {
  margin-top: 28px;
}

.p-dev__flow-item {
  background-color: #fff;
  padding: 32px 16px;
  border-radius: 8px;
  position: relative;
}

.p-dev__flow-item:not(:first-child) {
  margin-top: 66px;
}

.p-dev__flow-item:not(:last-child)::after {
  content: "";
  display: block;
  border-top: 24px solid #184880;
  border-right: 24px solid transparent;
  border-left: 24px solid transparent;
  position: absolute;
  bottom: -45px;
  left: 50%;
  width: 48px;
  margin-left: -24px;
}

.p-dev__flow__step {
  color: #1F5AD9;
  font-weight: bold;
}

.p-dev__flow__text {
  margin-top: 16px;
}

/* -----------------------------------------------------
.p-ec
----------------------------------------------------- */
.p-ec {
  padding: 60px 0;
}

.p-ec__catch {
  margin-top: 20px;
}

.p-ec__title-sub {
  color: #1F5AD9;
  margin-top: 60px;
  text-align: center;
  font-weight: bold;
}

.p-ec__catch2 {
  margin-top: 12px;
}

.p-ec-mall__items {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
}

.p-ec-mall__item {
  width: 50%;
}

.p-ec-consul__items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-ec-merit__items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-ec-merit__item {
  padding: 32px 16px;
  background-color: #E1EFF9;
  border-radius: 8px;
}

.p-ec-merit__block {
  display: flex;
  flex-direction: column;
}

.p-ec-merit__title {
  font-weight: bold;
  text-align: center;
}
.p-ec-merit__title::after {
  content: '';
  display: block;
  background-color: #184880;
  width: 48px;
  height: 2px;
  margin: 8px auto 0;
}

.p-ec-merit__img-layout {
  margin-top: 24px;
}

.p-ec-merit__text {
  margin-top: 16px;
}

.p-ec-merit__caption {
  margin-top: 20px;
  text-align: center;
}

.p-ec-merit__rookie {
  margin-top: 40px;
  padding: 32px 16px;
  background-color: #E1EFF9;
  position: relative;
  font-weight: bold;
}

.p-ec-merit__rookie::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: #184880;
  position: absolute;
  top: 8px;
  left: -8px;
  z-index: -1;
}

/* -----------------------------------------------------
seo
----------------------------------------------------- */
.p-seo {
  background-color: #E1EFF9;
  padding: 40px 0;
}

.p-seo__catch {
  margin-top: 20px; 
}

.p-seo__items {
  margin-top: 32px;
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}

.p-seo__step {
  padding: 12px 28px;
  background-color: #184880;
  display: flex;
  align-items: center;
  gap: 16px;
}
.p-seo__step:not(:last-child) {
  border-bottom: 1px solid #fff;
}

.p-seo__number {
  font-weight: bold;
  padding: 9px 12px;
  background-color: #fff;
  color: #1F5AD9;
  border-radius: 100%;
}

.p-seo__text {
  color: #fff;
  font-weight: bold;
}

.p-seo__desc {
  margin-top: 32px;
}

/* -----------------------------------------------------
ad
----------------------------------------------------- */
.p-ad {
  background-color: #E1EFF9;
  padding: 40px 0;
  margin-top: 60px;
  position: relative;
  z-index: -2;
}

.p-ad__items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-ad__img-layout {
  height: 240px;
}

.p-ad__text {
  background-color: #fff;
  padding: 20px 16px;
}

.p-ad__merit {
  margin-top: 64px;
  padding: 32px 16px;
  background-color: #eee;
  position: relative;
}

.p-ad__merit::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: #184880;
  position: absolute;
  top: 8px;
  left: -8px;
  z-index: -1;
}

.p-ad__merit-text {
  font-weight: bold;
}



/* -----------------------------------------------------
shop
----------------------------------------------------- */
.p-shop {
  background-color: #E1EFF9;
  padding: 40px 0;
  margin-top: 60px;
  position: relative;
  z-index: -2;
  text-align: center;
}

.p-shop__title-sub {
  color: #1F5AD9;
  margin-top: 40px;
  text-align: center;
  font-weight: bold;
}

.p-shop__img-layout {
  margin: auto;
  width: auto;
  margin-top: 40px;
}

.p-p-shop__txt {
  margin-top: 20px; 
}





/* -----------------------------------------------------
cta
----------------------------------------------------- */
.p-cta {
  padding: 80px 0;
}

.p-cta__text {
  text-align: center;
  font-weight: bold;
  width: 90%;
  margin: auto;
}

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

.p-cta__link {
  display: inline-block;
  padding: 12px 80px;
  margin: 16px auto 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  background-color: #FDB448;
  color: #fff;
  border: 1px solid #FDB448;
  transition: .4s;
}
.p-cta__link:hover {
  background-color: #fff;
  color: #FDB448;
}

/* -----------------------------------------------------
company
----------------------------------------------------- */
.p-company {
  background-color: #eee;
  padding: 32px 0;
}

.p-company__list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
}

.p-company__term {
  padding: 16px 0;
  font-weight: bold;
  border-bottom: 1px solid #184880;
  width: 30%;
}

.p-company__desc {
  padding: 16px 0;
  border-bottom: 1px solid #184880;
  width: 70%;
}

/* -----------------------------------------------------
map
----------------------------------------------------- */
.p-map {
  padding: 60px 0;
}

/* -----------------------------------------------------
footer
----------------------------------------------------- */
.p-footer {
  background-color: #184880;
  margin-top: 32px;
  padding: 8px 0;
}

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

.p-footer__cr {
  margin: auto; 
  color: #fff;
  font-size: 12px;
}


/* -----------------------------------------------------
お問い合わせページ
----------------------------------------------------- */
.p-contact {
  background-color: #FFFFFF;
  padding: 40px 0;
  margin-top: 60px;
  position: relative;
  z-index: -2;
  text-align: center;
}

.p-contact__title-sub {
  color: #1F5AD9;
  margin-top: 40px;
  text-align: center;
  font-weight: bold;
}


.p-contact__txt {
  margin-top: 20px; 
}


/* ===============================================================
tab
=============================================================== */
@media screen and (min-width:768px) {

  /* -----------------------------------------------------
  base
  ----------------------------------------------------- */
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  /* -----------------------------------------------------
  block
  ----------------------------------------------------- */
  .u-block__sp {
    display: none;
  }
  /* -----------------------------------------------------
  heading
  ----------------------------------------------------- */
  .c-heading__title::before {
    font-size: 48px;
  }

  /* -----------------------------------------------------
  fv
  ----------------------------------------------------- */
  .p-fv {
    height: 52vh;
    padding: 220px 0;
  }

  .p-fv__title {
    text-align: center;
    font-size: 60px;
    position: static;
  }

  .p-fv__title-sub {
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
    position: static;
  }

  /* -----------------------------------------------------
  cosme
  ----------------------------------------------------- */
  .p-cosme {
    padding: 100px 0;
  }

  .p-cosme__catch {
    margin-top: 24px;
  }

  .p-cosme__items {
    margin-top: 60px;
  }

  .p-cosme__item {
    flex-direction: row;
    padding: 36px;
    gap: 40px;
  }

  .p-cosme__img-layout {
    width: 40%;
    height: 182px;
  }

  .p-cosme__block {
    width: 60%;
  }

  .p-cosme__title {
    margin-top: 0px;
    text-align: left;
  }

  .p-cosme__agency {
    margin-top: 60px;
    padding: 40px 80px;
  }

  /* -----------------------------------------------------
  dev
  ----------------------------------------------------- */
  .p-dev {
    padding: 80px 0;
  }

  .p-dev__catch {
    margin-top: 24px;
    text-align: center;
  }

  .p-dev__catch2 {
    max-width: 600px;
    margin: 36px auto 0;
  }

  .p-dev__items {
    margin-top: 60px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
  }

  .p-dev__item {
    width: 45%;
  }

  .p-dev__title-sub {
    margin-top: 80px;
  }

  .p-dev__flow-items {
    margin-top: 60px;
  }

  .p-dev__flow-item {
    padding: 32px 80px;
  }


  .p-dev-flow__catch { 
    text-align: center;
  }

  .p-dev__flow__item {
    padding: 80px;
  }

  /* -----------------------------------------------------
  ec
  ----------------------------------------------------- */
  .p-ec {
    padding: 100px 0;
  }

  .p-ec__catch {
    margin-top: 24px;
    text-align: center;
  }

  .p-ec__title-sub {
    margin-top: 80px;
  }

  .p-ec__catch2 {
    margin-top: 16px;
    text-align: center;
  }

  .p-ec-consul__items {
    margin-top: 40px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
  }

  .p-ec-consul__item {
    width: 46%;
  }

  .p-ec-merit__item { 
    padding: 40px;
  }

  .p-ec-merit__block {
    margin-top: 32px;
  }

  .p-ec-merit__img-layout {
    margin: 0 auto 0;
    width: 50%;
  }

  .p-ec-merit__rookie {
    margin-top: 60px;
    padding: 40px 80px;
  }

  /* -----------------------------------------------------
  seo
  ----------------------------------------------------- */
  .p-seo {
    padding: 80px 0;
  }

  .p-seo__catch {
    margin-top: 24px; 
    text-align: center;
  }

  .p-seo__items { 
    margin-top: 60px;
    flex-direction: row;
  }

  .p-seo__steps {
    width: 44%;
  }

  .p-seo__step {
    padding: 24px;
  }

  .p-seo__img-layout {
    width: 56%;
    height: 280px;
  }

  .p-seo__img-layout img {
    object-fit: cover;
  }

  .p-seo__desc {
    margin-top: 48px;
  }

  /* -----------------------------------------------------
  ad
  ----------------------------------------------------- */
  .p-ad {
    margin-top: 100px;
    padding: 80px 0;
  }

  .p-ad__items {
    margin-top: 60px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 280px 32px;
  }

  .p-ad__item {
    width: 45%;
    position: relative;
  }

  .p-ad__img-layout {
    height: auto;
  }

  .p-ad__text {
    position: absolute;
    top: 171px;
    left: 30px;
    right: -20px;
    padding: 24px;
  }

  .p-ad__merit {
    margin-top: 237px;
    padding: 40px 80px;
  }

  /* -----------------------------------------------------
  cta
  ----------------------------------------------------- */
  .p-cta {
    padding: 100px 0;
  }

  .p-cta__link {
    padding: 16px 100px;
  }

  /* -----------------------------------------------------
  company
  ----------------------------------------------------- */
  .p-company {
    padding: 80px 0;
  }

  .p-company__list {
    margin-top: 60px;
  }

  /* -----------------------------------------------------
  map
  ----------------------------------------------------- */
  .p-map {
    padding: 100px 0;
  }

  /* -----------------------------------------------------
  footer
  ----------------------------------------------------- */
  .p-footer {
    margin: 60px 0 0;
  }

}


/* ===============================================================
lg
=============================================================== */
@media screen and (min-width:1024px) {

  /* -----------------------------------------------------
  fv
  ----------------------------------------------------- */
  .p-header {
    height: 80px;
    transition: .3s;
  }
  .p-header.active {
    background-color: #fff;
  }

  .p-header__nav {
    display: flex;
    justify-content: end;
    padding: 0;
    position: static;
    transform: initial;
    background-color: transparent;
    height: inherit;
    width: 50%;
  }

  .p-header__nav-items {
    display: flex;
    align-items: center;
    padding: 0;
    width: max-content;
    height: initial;
    justify-content: space-between;
    gap: 0 20px;
  }

  .p-header__nav-link {
    color: #fff;
    border: none;
    transition: .3s;
  }
  .p-header__nav-link.active {
    color: #111;
  }
  .p-header__nav-link.active:hover {
    color: #0055ce;
}

  .p-header__ham {
    display: none;
  }

  /* -----------------------------------------------------
  fv
  ----------------------------------------------------- */
  .p-fv {
    padding: 200px 0;
    height: 80vh;
  }
  .p-fv__title {
    font-size: 60px;
    line-height: 105%;
  }

  .p-fv__title-sub {
    font-size: 28px;
  }

  /* -----------------------------------------------------
  cosme
  ----------------------------------------------------- */
  .p-cosme__img-layout {
    width: 28%;
  }

  /* -----------------------------------------------------
  dev
  ----------------------------------------------------- */
  .p-dev__items {
    gap: 0;
  }

  .p-dev__item {
    width: 22%;
  }

  .p-dev-answer__items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .p-dev__check {
    width: 48%;
  }

  /* -----------------------------------------------------
  ec
  ----------------------------------------------------- */
  .p-ec-mall__item {
    width: 25%;
  }

  .p-ec-consul__item {
    width: 30%;
  }

  .p-ec-merit__items {
    margin: 40px;
    align-items: center;
  }

  .p-ec-merit__item {
    width: 76%;
  }

  .p-ec-merit__block {
    flex-direction: row;
    gap: 28px;
  }

  .p-ec-merit__img-layout {
    width: 40%;
    height: 120px;
  }

  .p-ec-merit__text {
    margin-top: 0;
    width: 60%;
  }

  /* -----------------------------------------------------
  ad
  ----------------------------------------------------- */
  .p-ad__items {
    gap: 195px 32px;
  } 

  .p-ad__text {
    top: 84%;
    left: 50px;
    right: -50px;
  }

  .p-ad__merit {
    margin-top: 190px;
  }

  /* -----------------------------------------------------
  shop
  ----------------------------------------------------- */

}