@charset "UTF-8";

:root {
  /* color */
  --color-black: #000000;
  --color-black-2: #231815;
  --color-white: #ffffff;
  --color-gray: #808080;
  --color-gray-light: #ebebeb;
  --color-gray-light-2: #efeff0;
  --color-gray-light-3: #d8d8d8;
  --color-blue: #0080c8;
  --color-blue-light: #7daed5;
  --color-blue-light-2: #0075c3;
  --color-blue-dark: #014099;
  --color-steel-blue: #4682bf;
  --color-cyan-blue: #149ddb;
  --color-sky-blue: #3097ff;
  --color-blue-works1: #155d8c;
  --color-blue-works2: #2f74bf;
  --color-blue-works2-2: #2b83bc;
  --color-blue-works3: #52a2d9;
  --color-blue-works4: #75c3e6;
  --color-lime-green: #d7ef6e;
  --color-orange: #f09401;

  /* font */
  --font-ibm: "IBM Plex Sans JP", sans-serif;
  --font-jost: "Jost", sans-serif;
  --font-zen: "Zen Kaku Gothic New", sans-serif;

  /* font-size */
  --fs-xxxxl: clamp(4rem, 4.8vw, 4.8rem);
  --fs-xxxl: clamp(3.2rem, 4vw, 4rem);
  --fs-xxl: clamp(2.8rem, 4vw, 3.6rem);
  --fs-xl: clamp(2.4rem, 3.5vw, 3.2rem);
  --fs-xl-2: clamp(2.3rem, 3vw, 3rem);
  --fs-lg: clamp(2.2rem, 3vw, 2.6rem);
  --fs-lg-2: clamp(2rem, 2.5vw, 2.5rem);
  --fs-md: clamp(1.8rem, 2.2vw, 2.2rem);
  --fs-md-2: clamp(1.6rem, 2vw, 2rem);
  --fs-base-2: clamp(1.5rem, 1.7vw, 1.7rem);
  --fs-base: clamp(1.4rem, 1.5vw, 1.5rem);
  --fs-sm: clamp(1.2rem, 1.4vw, 1.4rem);
  --fs-sm-2: clamp(1rem, 1.2vw, 1.3rem);
  --fs-xs: clamp(1rem, 1.2vw, 1.2rem);
  --fs-xxs: clamp(0.8rem, 1vw, 1rem);

  /* 余白  単位は rem（1rem = 16px)*/
  /* 40px 固定上限 */
  --space-40: clamp(24px, 4vw, 40px); /* 24px〜40px */
  /* 64px 固定上限 */
  --space-64: clamp(32px, 6.4vw, 64px); /* 32px〜64px */
  /* 80px 固定上限 */
  --space-80: clamp(40px, 8vw, 80px); /* 40px〜80px */
  /* 100px 固定上限 */
  --space-100: clamp(64px, 10vw, 100px); /* 64px〜100px */
  /* 120px 固定上限 */
  --space-120: clamp(64px, 12vw, 120px); /* 80px〜120px */
  /* 140px 固定上限 */
  --space-140: clamp(80px, 14vw, 140px); /* 80px〜140px */
  /* 160px 固定上限 */
  --space-160: clamp(80px, 16vw, 160px); /*80px〜160px */
  /* 200px 固定上限 */
  --space-200: clamp(96px, 20vw, 200px); /* 96px〜200px */
}

body {
  font-family: var(--font-ibm);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--color-black);
  background-color: var(--color-white);
  letter-spacing: 0.1em;
  font-weight: 500;
  overflow: hidden;
}
p {
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: var(--fs-base);
  font-family: var(--font-ibm);
  text-align: justify;
}
.container-1000 {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 1100px) {
  .container-1000 {
    padding-left: 5%;
    padding-right: 5%;
  }
}

.container-840 {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 940px) {
  .container-840 {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/* ページオーバーレイ
======================================== */
#page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-blue-dark);
  z-index: 9999;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.6s ease-out;
}

/* フェードアウト後は非表示に */
#page-overlay.hidden {
  opacity: 0;
}

/* section-ttl
======================================== */
.sec-ttl {
  position: relative;
}

.sec-ttl .sec-ttl-1 {
  font-size: var(--fs-lg-2);
  padding-bottom: 24px;
  display: block;
  font-weight: 500;
}

.sec-ttl .sec-ttl-2 {
  font-size: var(--fs-xxxxl);
  text-shadow: 6px 6px 0 rgba(70, 131, 192, 0.2);
  position: relative;
  display: inline-flex;
  flex-direction: column;
  padding-right: 3rem;
}

.sec-ttl .sec-ttl-2:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: calc(100vw - 100% - 3rem);
  height: 10px;
  background-color: var(--color-steel-blue);
}

.sec-ttl .sec-ttl-en {
  font-family: var(--font-jost);
  color: var(--color-sky-blue);
  display: block;
  padding-top: 20px;
}

@media screen and (max-width: 960px) {
  .sec-ttl .sec-ttl-1 {
    padding-bottom: 16px;
  }
  .sec-ttl .sec-ttl-2 {
    font-size: var(--fs-xxxl);
  }
  .sec-ttl .sec-ttl-en {
    padding-top: 12px;
  }
}

@media screen and (max-width: 600px) {
  .sec-ttl .sec-ttl-1 {
    font-size: var(--fs-md-2);
    padding-bottom: 12px;
  }

  .sec-ttl .sec-ttl-2 {
    padding-right: 2rem;
    font-size: var(--fs-xxl);
  }
  .sec-ttl .sec-ttl-2:before {
    height: 6px;
    width: 100vw;
  }
}

/* ser-ttl (縦と横のライン装飾あり幅広) */
.ser-ttl {
  position: relative;
  padding-left: calc(18px + 16px);
  line-height: 1.75;
  display: inline-block;
  padding-right: 2em;
}

.ser-ttl.ser-ttl-center {
  width: fit-content;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.ser-ttl h3 {
  font-size: var(--fs-lg);
  width: fit-content;
  text-align: justify;
  line-height: 1.5;
  letter-spacing: 0.24em;
}

.ser-ttl:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 18px;
  height: 100%;
  background-color: var(--color-blue);
  z-index: 1;
}
.ser-ttl:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 18px;
  height: 6px;
  background-color: var(--color-blue-dark);
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .ser-ttl {
    padding-left: calc(10px + 16px);
    padding-right: 1em;
  }
  .ser-ttl:before,
  .ser-ttl:after {
    width: 10px;
  }
  .ser-ttl h3 {
    letter-spacing: 0.1em;
    font-size: var(--fs-lg-2);
  }
}

/* blog
======================================== */
.blog-item {
  padding-bottom: 20px;
}

.blog-link {
  flex-wrap: nowrap;
}

.blog-hd {
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.blog-category {
  display: block;
  width: 140px;
  padding: 8px 16px;
  background-color: var(--color-blue);
  border-radius: 30px;
  color: var(--color-white);
  text-align: center;
  font-size: var(--fs-sm-2);
  line-height: 1;
  margin-right: 40px;
  text-align: justify;
  text-align-last: justify;
}
.blog-date,
.blog-ttl {
  font-size: var(--fs-base-2);
}
.blog-date {
  padding-right: 40px;
  border-right: 1px solid var(--color-black);
}

.blog-ttl {
  padding-left: 40px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  flex: 1 1 auto;
}

@media screen and (max-width: 768px) {
  .blog-item {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 16px;
  }
  .blog-link {
    flex-direction: column;
    gap: 8px;
  }
  .blog-category {
    margin-right: 8px;
    width: 112px;
    line-height: 1;
    border-radius: 15px;
    text-align-last: initial;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .blog-date {
    padding-right: 0;
    border-right: none;
    font-size: var(--fs-sm);
  }

  .blog-ttl {
    padding-left: 0;
  }
}

/* 共通タブリスト
======================================== */
.cmn-tab-list {
  gap: 4px;
}

.cmn-tab-item {
  padding: 12px 0;
  width: 208px;
  text-align: center;
  font-size: var(--fs-base-2);
  color: var(--color-blue-works1);
  border: 1px solid var(--color-blue-works1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmn-tab-contents {
  padding-top: 56px;
  padding-bottom: 56px;
}

.cmn-cards {
  gap: 24px;
  margin-bottom: 56px;
}

.cmn-card {
  width: calc(50% - 12px);
  padding: 16px;
  background-color: var(--color-white);
}

.cmn-card-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 454/278;
}

.cmn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmn-card-inr {
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 40px;
}

.cmn-card-hd {
  padding-top: 24px;
  flex-wrap: nowrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-black-2);
  align-items: center;
}

.cmn-card-ttl {
  flex: 1 1 auto;
  text-wrap: initial;
  line-height: 1.5;
  font-size: var(--fs-base-2);
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.cmn-card-category {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 32px;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--fs-xs);
  padding: 6px 16px;
  border-radius: 30px;
  background-color: var(--color-blue);
}

.cmn-card-category a {
  color: var(--color-white);
}

.cmn-card-txt {
  padding-top: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}
.cmn-card-link {
  display: block;
  text-align: center;
  padding-bottom: 40px;
}

/* 非アクティブなパネルは表示 */
.cmn-tab-panel {
  display: none;
}

/* .active の付いたパネルのみ表示 */
.cmn-tab-panel.active {
  display: block;
}

/* 各カテゴリーのタブとタグの色 */
.cmn-tab-item.active {
  color: var(--color-white);
}
.cmn-tab-item:first-of-type.active,
.cmn-card-category.category-works1,
.cmn-card-category.category-blog1 {
  background-color: var(--color-blue-works1);
  border: 1px solid var(--color-blue-works1);
}

.cmn-tab-item:nth-of-type(2).active,
.cmn-card-category.category-works2,
.cmn-card-category.category-blog2 {
  background-color: var(--color-blue-works2);
  border: 1px solid var(--color-blue-works2);
}
.cmn-tab-item:nth-of-type(3).active,
.cmn-card-category.category-works3,
.cmn-card-category.category-blog3 {
  background-color: var(--color-blue-works3);
  border: 1px solid var(--color-blue-works3);
}
.cmn-tab-item:nth-of-type(4).active,
.cmn-card-category.category-works4,
.cmn-card-category.category-blog4 {
  background-color: var(--color-blue-works4);
  border: 1px solid var(--color-blue-works4);
}

@media screen and (max-width: 960px) {
  .cmn-tab-item {
    width: calc(25% - 4px);
  }
  .cmn-card-inr {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
  }
  .cmn-cards {
    gap: 16px;
  }
  .cmn-card {
    width: calc(50% - 8px);
  }
  .cmn-card-link {
    padding-bottom: 20px;
  }

  .cmn-card-category {
    border-radius: 15px;
    padding: 8px 12px;
    height: initial;
  }
  .cmn-card-category a {
    line-height: 1;
  }
}
@media screen and (max-width: 800px) {
  .cmn-card-inr {
    padding-left: 0;
    padding-right: 0;
  }
  .cmn-tab-item {
    font-size: var(--fs-base);
    padding: 8px 0;
  }
  .cmn-card-hd {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 8px;
  }
}
@media screen and (max-width: 600px) {
  .cmn-tab-contents {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .cmn-tab-item {
    width: calc(50% - 4px);
  }
  .cmn-cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }
  .cmn-card-body {
    display: flex;
    gap: 8px;
    padding-bottom: 12px;
    align-items: center;
  }
  .cmn-card {
    width: 100%;
    padding: 16px 8px;
  }
  .cmn-card-img {
    flex-basis: 50%;
    aspect-ratio: initial;
    height: 120px;
  }
  .cmn-card-inr {
    padding-bottom: 0;
    flex-basis: 50%;
  }
  .cmn-card-hd {
    padding-top: 0;
    padding-bottom: 4px;
  }
  .cmn-card-ttl {
    font-size: var(--fs-sm);
  }
  .cmn-card-category {
    padding: 6px 8px;
  }

  .cmn-card-txt {
    -webkit-line-clamp: 2;
    padding-top: 8px;
    font-size: var(--fs-sm);
    line-height: 1.2;
  }
  .cmn-card-link {
    padding-bottom: 0;
    padding-top: 8px;
    line-height: 1;
  }
}

/* blog-list,works-list*/
.cmn-tab-contents.ud-tab-contents {
  padding-top: 16px;
  padding-bottom: 0;
}
.cmn-tab-contents.ud-tab-contents .cmn-card-inr {
  padding: 0;
}

.cmn-tab-contents.ud-tab-contents .cmn-cards {
  gap: 24px;
  margin-bottom: initial;
}

.cmn-tab-contents.ud-tab-contents .cmn-card {
  width: calc(33.333% - 16px);
  padding: 0;
}

.cmn-tab-contents.ud-tab-contents .cmn-card-img {
  aspect-ratio: 317 / 217;
}
.cmn-card-tab-inr {
  padding-bottom: 12px;
}

.cmn-card-list li a {
  border: 1px solid var(--color-black);
  padding: 4px 8px;
  font-size: var(--fs-xs);
  line-height: 1;
}

.cmn-card-list li a:hover {
  border: 1px solid var(--color-blue-works1);
}

.cmn-card-tag-inr {
  background-color: #f9f9f9;
  padding: 8px 12px;
  margin-top: 12px;
}

.cmn-card-tag-ttl {
  gap: 4px;
  font-size: var(--fs-xs);
}
.cmn-card-tag-ttl img {
  width: 9px;
  height: 10px;
  object-fit: contain;
}

.cmn-card-tag {
  font-weight: 400;
}

.cmn-card-link.icon-link {
  text-align: right;
  font-weight: 400;
  margin-top: 12px;
  padding-bottom: 0;
}

.cmn-card-link.icon-link .material-icons {
  font-size: var(--fs-base);
  font-weight: 400;
}

/* ページネーション */
.cmn-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cmn-pagination .page-numbers .current {
  background-color: #ebebeb;
  border: 1px solid #ebebeb;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-weight: 400;
}

.cmn-pagination .page-numbers li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid #ebebeb;
  font-family: var(--font-jost);
  background-color: var(--color-white);
  font-weight: 400;
}

@media screen and (max-width: 960px) {
  .cmn-card-tab-inr {
    gap: 8px;
    align-items: flex-start;
  }
}

@media screen and (max-width: 768px) {
  .cmn-tab-contents.ud-tab-contents .cmn-card {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 600px) {
  .cmn-tab-contents.ud-tab-contents {
    padding-top: 24px;
  }

  .cmn-tab-contents.ud-tab-contents .cmn-cards {
    gap: 16px;
  }

  .cmn-tab-contents.ud-tab-contents .cmn-card {
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid var(--color-gray-light);
    padding-bottom: 16px;
  }

  .cmn-tab-contents.ud-tab-contents .cmn-card:last-of-type {
    border-bottom: none;
  }
  .cmn-tab-contents.ud-tab-contents .cmn-card-img {
    aspect-ratio: initial;
  }
  .cmn-tab-contents.ud-tab-contents .cmn-card-link.icon-link {
    margin-top: 0;
    font-size: var(--fs-sm);
  }
  .cmn-card-tag-ttl-txt,
  .cmn-card-tag,
  .cmn-card-link.icon-link .material-icons {
    font-size: var(--fs-sm);
  }
  .cmn-card-tag-inr {
    padding: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .cmn-card-tag {
    font-size: var(--fs-sm-2);
  }
}

/* 背景画像
======================================== */
.cmn-bg {
  position: absolute;
}
.cmn-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cmn-bg.circle-1-sm {
  width: 107px;
  height: 80px;
}

.cmn-bg.circle-1-lg {
  width: 515px;
  height: 384px;
}

.cmn-bg.circle-2 {
  width: 238px;
  height: 231px;
}

.cmn-bg.circle-4-sm {
  width: 189px;
  height: 133px;
}
.cmn-bg.circle-4-lg {
  width: 272px;
  height: 133px;
}

.cmn-bg.circle-5 {
  width: 238px;
  height: 231px;
}

.cmn-bg.circle-6 {
  width: 48px;
  height: 48px;
}

.cmn-bg.circle-7 {
  width: 298px;
  height: 195px;
}
