@charset "UTF-8";
* {
  box-sizing: border-box;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN", "メイリオ", Meiryo, sans-serif;
  font-size: 17px;
  color: #333;
  font-feature-settings: "palt";
  line-height: 1.6;
}

a {
  color: #0052cc;
  text-decoration: none;
}
a:hover {
  color: #191970;
}

.font-en {
  font-family: "Century Gothic", "Futura", "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.nondisp {
  display: none !important;
}

h1, h2, h3 {
  font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background-color: white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header * {
  box-sizing: border-box;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  width: 100%;
}
.header-container .logo {
  display: inline-block;
  font-size: 0;
}
.header-container .logo img {
  width: auto;
  height: 40px;
}

.head-catch {
  display: flex;
  justify-content: center;
  align-items: center;
}
.head-catch .hc-inner .hc-title {
  font-family: "Century Gothic", "Futura", "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.9;
}
.head-catch .hc-inner .hc-sub-title {
  font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.head-catch .hc-img {
  display: none;
}
.head-catch .hc-img img {
  width: 200px;
  height: auto;
}

.head-web {
  background-color: #bcddff;
}

.head-photo {
  background-color: #e8ffd1;
}

.head-pc-repair {
  background-color: #c6c6ff;
}

.head-aboutus {
  background-color: #ffe0e0;
}

.head-digitallab {
  background-color: #ffefe0;
}

.head-search {
  background-color: #d1ffd1;
}

.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 40px;
  height: 100%;
}
.header-cart .cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #e60012;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(230, 0, 18, 0.2);
}
.header-cart .cart-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.header-cart .cart-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(230, 0, 18, 0.3);
}
@media (min-width: 1025px) {
  .header-cart {
    display: none;
  }
}

@media (max-width: 767px) {
  .header-cart .cart-icon {
    width: 32px;
    height: 32px;
  }
  .header-cart .cart-icon img {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 767px) {
  .header-cart .cart-icon img {
    width: 22px;
    height: 22px;
  }
}
@media (min-width: 1025px) {
  .header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
  }
  .header .nav {
    display: flex;
    align-items: center;
  }

  .head-catch .hc-inner {
    padding: 40px;
  }
}
@media (max-width: 1024px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
  }
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: block;
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    height: calc(100% - 80px);
    background: rgba(255, 255, 255, 0.9);
    z-index: 999;
  }

  .head-catch .hc-inner {
    width: 100%;
    margin: 40px auto 40px auto;
    padding: 16px 26px;
  }
  .head-catch .hc-inner .hc-title {
    font-size: 2.5rem;
    letter-spacing: 0.9;
    text-align: center;
  }
}
@media (max-width: 767px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
  }
  .header-container .logo {
    display: inline-block;
    font-size: 0;
  }
  .header-container .logo img {
    width: auto;
    height: 32px;
  }

  .nav {
    display: none;
  }

  .header {
    height: 60px;
  }
  .header .nav.open {
    top: 60px;
    right: 0;
  }
  .header .nav-toggle {
    top: calc(60px / 2 - 20px);
  }
}
body.nav-open {
  overflow: hidden;
}

.nav {
  display: block;
  position: fixed;
  top: 80px;
  right: -100%;
  width: 100%;
  height: calc(100% - 80px);
  background: rgba(255, 255, 255, 0.9);
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  z-index: 999;
  -moz-transition: right 0.3s ease-in-out, top 0.3s ease, height 0.3s ease;
  -o-transition: right 0.3s ease-in-out, top 0.3s ease, height 0.3s ease;
  -webkit-transition: right 0.3s ease-in-out, top 0.3s ease, height 0.3s ease;
  transition: right 0.3s ease-in-out, top 0.3s ease, height 0.3s ease;
}
.nav * {
  box-sizing: border-box;
}
.nav.open {
  right: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-list {
  list-style-type: none;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.nav-item {
  position: relative;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.nav-item:last-child {
  margin-top: auto;
  border-bottom: none;
}
.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  -moz-transition: color 0.3s ease, padding 0.3s ease;
  -o-transition: color 0.3s ease, padding 0.3s ease;
  -webkit-transition: color 0.3s ease, padding 0.3s ease;
  transition: color 0.3s ease, padding 0.3s ease;
  padding: 15px 15px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 40px;
  height: 40px;
  position: fixed;
  top: 20px;
  right: 10px;
  z-index: 1001;
  -moz-transition: -moz-transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
  -o-transition: -o-transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.nav-toggle-bar {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #333;
  position: absolute;
  left: 5px;
  -moz-transition: -moz-transform 0.3s ease, opacity 0.3s ease;
  -o-transition: -o-transform 0.3s ease, opacity 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle-bar:nth-child(1) {
  top: calc(50% - 8px - 1px);
  height: 2px;
}
.nav-toggle-bar:nth-child(2) {
  top: calc(50% - 1px);
}
.nav-toggle-bar:nth-child(3) {
  top: calc(50% + 8px - 1px);
}
.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.submenu {
  background-color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  -moz-transition: height 0.3s ease-out;
  -o-transition: height 0.3s ease-out;
  -webkit-transition: height 0.3s ease-out;
  transition: height 0.3s ease-out;
  height: 0;
  padding: 0;
  width: 100%;
  list-style-type: none;
}
.submenu-inner {
  opacity: 0;
  transform: translateY(-10px);
  -moz-transition: opacity 0.3s ease, -moz-transform 0.3s ease;
  -o-transition: opacity 0.3s ease, -o-transform 0.3s ease;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 10px 0;
}
.submenu.open .submenu-inner {
  opacity: 1;
  transform: translateY(0);
}
.submenu-link {
  display: block;
  padding: 8px 0 8px 32px;
  color: #333;
  text-decoration: none;
  -moz-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.submenu-link:hover {
  color: #333;
  background-color: rgba(255, 255, 255, 0.9);
}
.submenu-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 53px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.submenu-toggle svg {
  width: 12px;
  height: 8px;
  -moz-transition: -moz-transform 0.3s ease;
  -o-transition: -o-transform 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
}
.submenu-toggle svg path {
  stroke: #888;
}
.submenu-toggle.open svg {
  transform: rotate(180deg);
}

@media (min-width: 1025px) {
  .nav {
    display: block;
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    overflow-y: visible;
    transition: none;
    right: auto;
  }
  .nav-list {
    display: flex;
    flex-direction: row;
    padding: 0;
    height: 80px;
  }
  .nav-toggle {
    display: none;
  }
  .nav-item {
    margin: 0;
    border-bottom: none;
  }
  .nav-item > a {
    font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
  }
  .nav-item:last-child {
    margin-top: 0;
  }
  .nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scaleY(1);
    height: auto;
  }
  .nav-link {
    color: #333;
    padding: 30px 15px;
    position: relative;
    font-size: 1em;
  }
  .nav-link:hover {
    color: #333;
  }
  .nav-contact {
    display: none;
  }

  .submenu {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    z-index: 1;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #f8f8f8;
    font-size: .8rem;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    opacity: 0.8;
  }
  .submenu-inner {
    opacity: 1;
    transform: none;
    padding: 0;
  }
  .submenu-link {
    color: #333;
    padding: 8px 15px;
    font-size: 1.1em;
  }
  .submenu-link:hover {
    background-color: #004da0;
    color: #fff;
  }
  .submenu-toggle {
    display: none;
  }

  .nav-item:last-child .submenu {
    left: auto;
    right: 0;
    transform: translateX(0) scaleY(0);
  }
  .nav-item:last-child .submenu::before, .nav-item:last-child .submenu::after {
    left: auto;
    right: 20px;
    transform: none;
  }
  .nav-item:last-child .submenu-link {
    padding-right: 15px;
  }
  .nav-item:last-child:hover .submenu {
    transform: translateX(0) scaleY(1);
  }

  .header-compacta .nav-link {
    padding: 20px 15px;
  }
  .header-compacta .submenu {
    top: calc(100% - 5px);
  }
}
@media (max-width: 1024px) {
  .nav {
    top: 80px;
    height: calc(100% - 80px);
    font-size: 16px !important;
  }
  .nav.open {
    top: calc(80px + 0px);
    height: calc(100% - 80px - 0px);
  }
  .nav-toggle {
    display: block;
    top: calc(var(--header-height, 80px) / 2 - 20px);
  }
  .nav-contact {
    display: block;
  }
  .nav-link {
    height: 56px;
    padding-right: 40px;
    font-size: 1rem;
  }
  .nav .submenu.open .submenu-item {
    border-top: 1px solid #eee;
  }
  .nav .submenu.open .submenu-item a {
    font-size: 16px !important;
  }

  .submenu {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: none;
  }
  .submenu-toggle {
    right: 0;
    top: 0;
    width: 40px;
    height: 56px;
  }
}
@media (max-width: 767px) {
  .nav {
    position: fixed;
    top: calc(60px - 10px);
    right: -100%;
    width: 100%;
    height: calc(100vh - 60px + 20px);
    display: block;
  }

  .nav.open {
    height: calc(100vh - 60px + 0px);
  }

  .nav-toggle {
    top: 60px;
  }

  .nav-item-consultation a {
    display: block;
    background-color: #333;
  }
}
#page-top {
  position: fixed;
  right: 0;
  top: 50%;
  -moz-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  z-index: 9999;
}
#page-top a {
  display: block;
  background-color: #004da0;
  padding: 12px 16px;
  border-radius: 10px 0 0 10px;
  transition: background-color 0.3s ease-in-out;
}
#page-top a img {
  width: 16px;
  height: auto;
}

.def-footer {
  margin: 5em 0 0 0;
  line-height: 1.3;
  text-align: center;
  padding: 2em 0;
  background-color: #f0f8ff;
  clip-path: polygon(0 80px, 50% 0, 100% 80px, 100% 100%, 0 100%);
}
.def-footer .info-footer {
  padding: 2em 0;
}
.def-footer .info-footer .logo-footer {
  margin: 0 0 16px 0;
}
.def-footer .info-footer .logo-footer img {
  width: auto;
}
.def-footer .info-footer p {
  font-size: .8rem;
}
.def-footer .info-footer address {
  font-size: .8rem;
  font-style: normal;
}
.def-footer #copyright {
  font-family: "Century Gothic", "Futura", "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #004da0;
  color: #eee;
  font-size: .8rem;
  text-align: center;
  line-height: 1;
  padding: 1em 0;
}

@media (min-width: 1025px) {
  .def-footer .logo-footer img {
    height: 48px;
    width: auto;
  }
}
@media (max-width: 1024px) {
  .def-footer .logo-footer img {
    height: 48px;
    width: auto;
  }
}
@media (max-width: 767px) {
  .def-footer {
    clip-path: polygon(0 50px, 50% 0, 100% 50px, 100% 100%, 0 100%);
  }
  .def-footer .logo-footer {
    margin: 0 0 16px 0;
  }
  .def-footer .logo-footer img {
    height: 32px;
    width: auto;
  }
}
html {
  background-color: #fff;
}
html * {
  box-sizing: border-box;
}

#page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-wrap {
  flex: 1 0 auto;
}

/* アクセシビリティのための非表示テキスト */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 入力フィールドを相対位置に設定 */
.search-field {
  display: none;
  width: 100%;
  padding: 12px 40px 12px 16px;
  /* 上下のpaddingを16pxから12pxに変更 */
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 9999px;
  position: relative;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.search-field:focus {
  border-color: #0073e6;
  box-shadow: 0 0 5px rgba(0, 115, 230, 0.5);
  outline: none;
}

.icon-button {
  position: absolute;
  right: 16px;
  /* 右端の位置を10pxから16pxに変更 */
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("../images/elements/icons/serch-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  /* パディングを0に設定 */
}

.notfound {
  text-align: center;
  margin: 5em 0 0 0;
}
.notfound .entry-title {
  font-family: "Century Gothic", "Futura", "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2em;
  font-weight: 400;
  margin: 0;
  padding: 0;
  line-height: 1;
}
.notfound .entry-title span {
  display: block;
  margin: 0;
  border: none;
  font-size: 8rem;
}
.notfound .wp-block-heading {
  font-weight: 400;
}
.notfound .backhome {
  margin: 2em 0 0 0;
}
.notfound .backhome a {
  display: inline-block;
  padding: .7em 2em;
  background-color: #0052cc;
  color: #fff;
  border-radius: 8px;
}
.notfound .backhome a:hover {
  background-color: #191970;
}

/* 初期状態: 非表示と下に移動 */
/* アニメーションの基本スタイル */
/* 初期状態: 非表示 */
main * {
  opacity: 0;
  transform: translateY(20px);
  /* 下から浮き上がる効果 */
  transition: opacity 0.8s ease, transform 0.8s ease;
  /* アニメーション設定 */
}

/* アニメーション適用後: 表示状態 */
main *:not(.animate) {
  pointer-events: none;
  /* アニメーション中の要素に対する操作を無効化（オプション） */
}

.animate {
  opacity: 1;
  transform: translateY(0);
  /* 元の位置に戻る */
}

/* アニメーション無効化クラス */
.not-animate,
.not-animate * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  pointer-events: auto !important;
}

/* 初期状態 */
main * {
  opacity: 0;
  transform: translateY(30px);
  /* 下からスライドイン */
}
