
/* お試しでView Transitions APIを使用 */
@view-transition {
  navigation: auto;
  
  /* 動きの最小化が求められる環境では無効化 */
  @media (prefers-reduced-motion: reduce) {
    navigation: none;
  }
  
}


:root {
  /* 色 */
  --primary-color: var(--green600);
  --secondary-color: var(--green800);
  --tarshary-color: var(--green1000);
  --background-color: var(--green50);
  
  --link-default-color: var(--light-blue600);
  --link-visited-color: var(--magenta1000);
  
  /* ヘッダの高さ */
  --header-height: 70px;
  
  /* ページ両サイドのpadding領域 */
  --padding-side: 5vw;
}

* {
  box-sizing: border-box;
}

html {
  /* セクションへのリンククリック時にヘッダーがセクションタイトルに被るのを防止 */
  scroll-padding-top: var(--header-height);
}

body {
  font-size: 20px;
  background-color: #fff;
  line-height: 1.6;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  width: 100%;
  min-height: 100svh;
  
  margin: 0;
  padding: 0;
  
  overflow-y: scroll;
}


h1, h2, h3 {
  margin: 0;
  line-height: 1.4;

}

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

p {
  margin: 0;
  line-height: 1.7;
}

/* スマホで見るときのみ改行を入れる */
.sp-br {
  display: block;
}

/* ======= header ======= */

#top-header {
  position: fixed;
  top: 0;
  left: 0;
  
  padding-right: 1rem;
  padding-left:  1rem;
  
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  height: var(--header-height);
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.88);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  
  -webkit-backdrop-filter: saturate(180%) blur(0.5rem);
  backdrop-filter: saturate(180%) blur(0.5rem);
}

.header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 50;
}

.site-name {
  margin-left: 10px;
}

.logo-img {
  width: min(68vw, 360px);
  
  @media screen and (min-width: 720px) and (max-width: 790px) {
    width: 46vw;
  }
  
}

.str-hidden {
  line-height: 0;
  margin: 0;
  width: 0;
  visibility: hidden;
}

.header-container > .logo {
  font-size: 0;
  margin: 0;
  line-height: 0;
}

.list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-block: 0;
  padding-inline: 0;
}

.nav {
  display: flex;
  flex-direction: row-reverse;
  flex-grow: 1;
  padding-right: min(2vw, 10px);

  > .list {
    display: flex;
    flex-direction: column;
  }

}

.nav-item {
  

}

/* =================== */


.main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  font: var(--std-16N-170);
  letter-spacing: 0.02em;
  width: 100%;
  margin-top: var(--header-height); /* 固定ヘッダの高さを考慮し、下に下げる */
}

.top-image-container {
  width: 100%;
}

.breadcrumb {
  padding: 0.2rem 0;
  
  display: grid;
  align-items: center;
  justify-items: start;
  width: 100%;
  
  color: var(--tarshary-color);
  /* background-color: var(--background-color);  */
  
  ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 1.2rem;
  }
  
  li:not(:last-child)::after {
    display: inline-block;
    margin: 0 0.5rem;
    content: "/";
  }
  
  [aria-current="page"] {
    font-weight: 700;
  }

}


.h2-sec {
  width: 100%;
  margin-bottom: min(8vw, 64px);
  padding-left: var(--padding-side);
  padding-right: var(--padding-side);
  
  > h2 {
    color: var(--primary-color);
    font: var(--std-32B-150);
    letter-spacing: 0.01em;
    margin-block-start: 0.2em;
    margin-block-end: 0.2em;
    text-align: center;
  }
}

.h2-subtext {
  display: block;
  color: var(--secondary-color);
  font: var(--oln-16B-100);
  letter-spacing: 0.2em;
  margin-top: 0.25em;
}

.h3-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  
  margin-bottom: 5rem;

  h3 {
    color: var(--tarshary-color);
    width: 100%;
    border-bottom: 1px solid var(--secondary-color);
    
    font: var(--std-22B-150);
  }
  
  p.text {
  
    padding-inline: 0;
  
  }

}

.h3-content:last-child {
  margin-bottom: 0;

}


p.text {
  
  @media screen and (max-width:400px ) {
    font: var(--std-14N-170);
  }
  
  line-height: 1.8;
  font-weight: 400;
}

.item-list {
  margin-left: max(10px, 5vw);
  margin-right: max(10px, 5vw);

  .item {
    padding-top: var(--m12px);
    padding-bottom: var(--m12px);
    border-bottom: var(--split-line-green);
    
    display: grid;
    align-content: center;
    justify-content: start;
    align-items: center;
    justify-items: start;
    
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 2rem auto;
  }
  
  .item:only-child, .item:last-child {
    border-bottom: none;
  }

  .item-date, .item-name {
    font: var(--oln-17B-100);
    
    grid-column: 1/5;
    grid-row: 1/2;
  }

  .item-content {
    padding-inline-start: 1rem;
    
    grid-column: 1/5;
    grid-row: 2/3;
    
    ul {
      padding-inline-start: 0;
      margin-block: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: center;
      align-content: center;
    }
    
  }

}

.article {

  .term {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

}

/* 言葉を右寄せしたい時 */
.align-right {
  display: block;
  text-align: end;

}

.description {
  width: 100%;

  .item-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px 5vw;
  }
}

.cases {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  
  mse-card {
    margin-bottom: 5rem;
  
  }


}


/* フォントサイズを小さめにしたい時 */
.small-gray {
  font-size: 14px;
  color: rgba(68, 68, 68, 100);
}

/* 引用 */
.citation {
  margin-block: 1rem;
  font: var(--std-14N-170);
}


.footer {

  margin-top: auto;
  padding: 12px 0;

  font-size: 14px;
  background-color: var(--tarshary-color);
  
  width: 100%;
  
  color: var(--background-color);
  
  display: flex;
  flex-direction: column;
  align-items: center;

  > .list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  
  a {
    color: var(--background-color);
  }


}


/* ======= catch ======== */

.catch {
  display: block;
  position: relative;
  
  .catch-copy {
    position: absolute;
    bottom: 0;
    right: 1.2rem;
    max-width:min(600px, 60vw);
    z-index: 2;
  }
  
  .catch-copy > img {

    filter: drop-shadow(1px 1px 1px rgba(30, 30, 30, .7)) drop-shadow(0px 0px 2px rgba(30, 30, 30, .3));

  }
  
  .catch-image {
    position: relative;
    z-index: 1;
    aspect-ratio: 16/9;
    vertical-align: bottom;
    font-size: 0;
  }
}



/* ====================== */


/* =========== dt/dd 説明リスト ========== */

.description-list {
  width: 100%;
  dl {
    width: 100%;
  
  }

}

.description-list-container {

  padding-top: 0.5rem;
  padding-bottom: 1.8rem;
  padding-right: 1rem;
  padding-left: 1rem;
  
  border-bottom: var(--split-line-green);
  
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-items: center;
  align-content: flex-start;
  justify-content: center;

  dt {
    font: var(--std-20B-150);
    line-height: 1.2;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 8px;
  }
  
  dd {
    margin-inline-start: 0;
    width: 100%;
  
  }
  
}

.description-list-container:last-child {
  border-bottom: none;
}

/* ============================== */


/* ======= ディスクロージャー ======== */

.disclosure {
  margin: 0.4rem 0;
  width: 100%;
  border: 1px solid var(--green300);
  border-radius: 0.4rem;
  padding: calc(4 / 16 * 1rem) calc(6 / 16 * 1rem);
}


.disclosure__summary {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: calc(8 / 16 * 1rem);
  width: fit-content;
  cursor: default;
  list-style-type: none;
}

@media (hover: hover) {
  .disclosure__summary:hover {
    text-decoration: underline;
    text-underline-offset: calc(3 / 16 * 1rem);
  }
}

.disclosure__summary:focus-visible {
  outline: calc(4 / 16 * 1rem) solid var(--color-neutral-black);
  outline-offset: calc(2 / 16 * 1rem);
  border-radius: calc(4 / 16 * 1rem);
  background-color: var(--orange300);
  box-shadow: 0 0 0 calc(2 / 16 * 1rem) var(--orange300);
}

.disclosure__summary::marker {
  content: "";
}

.disclosure__summary::-webkit-details-marker {
  display: none;
}

.disclosure__icon {
  flex-shrink: 0;
  margin-top: calc((1lh - 24px) / 2);
  color: var(--green1000);
}

@media (forced-colors: active) {
  .disclosure__icon {
    color: inherit;
  }
}

.disclosure[open] .disclosure__icon {
  rotate: 180deg;
}

.disclosure__icon-hover {
  display: none;
}

@media (hover: hover) {
  .disclosure__summary:hover .disclosure__icon-circle {
    fill: Canvas;
  }

  .disclosure__summary:hover .disclosure__icon-triangle {
    fill: currentcolor;
  }
}

.disclosure__content {
  padding-left: calc(32 / 16 * 1rem);
  margin: calc(16 / 16 * 1rem) 0;
}

.disclosure__back-link:any-link {
  display: flex;
  align-items: start;
  gap: calc(6 / 16 * 1rem);
  width: fit-content;
  color: var(--light-blue1000);
  text-decoration: underline;
  text-decoration-thickness: calc(1 / 16 * 1rem);
  text-underline-offset: calc(3 / 16 * 1rem);
  text-spacing-trim: trim-start;
}

@media (hover: hover) {
  .disclosure__back-link:hover {
    color: var(--light-blue900);
    text-decoration-thickness: calc(3 / 16 * 1rem);
  }
}

.disclosure__back-link:active {
  color: var(--green800);
  text-decoration-thickness: calc(1 / 16 * 1rem);
}

.disclosure__back-link:focus-visible {
  outline: calc(4 / 16 * 1rem) solid var(--color-neutral-black);
  outline-offset: calc(2 / 16 * 1rem);
  border-radius: calc(4 / 16 * 1rem);
  background-color: var(--orange300);
  box-shadow: 0 0 0 calc(2 / 16 * 1rem) var(--orange300);
}

.disclosure__back-link-icon {
  margin-top: calc((1lh - 24 / 16 * 1rem) / 2);
  flex-shrink: 0;
}

/* ============================== */



/* ========= カード ========== */

.card {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  row-gap: 0.6rlh;
  width: min(80vw, 420px);
  max-width: 100%;
  border: 1px solid var(--gray500);
  border-radius: 1rem;
  
  /* padding: 1rem 1.25rem; */
  
  color: var(--gray800);
  font: var(--std-14N-170);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  
  > :not(.card__content_image) {
    padding: 0 1.25rem;
  }
  
  
}

.card__heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  row-gap: calc(4/16 * 1rem);
  min-width: 0;
  padding-top: calc(4/16 * 1rem);
  font: var(--std-18B-160);
  letter-spacing: 0.02em;
  
  grid-column: 1/-1;
  
  h3 {
    color: var(--gray900);
    border-bottom: none;
  }
}

.card__content {
  grid-column: 1/-1;
  min-width: 0;
  padding-bottom: 0.5lh !important;
}

.card__content_image {
    display: block;
    max-height: 6lh;
    width: 100%;
    border-radius: 1rem 1rem 0 0;
    grid-column: 1/-1;
    
}



/*============================*/


/*============= 工事中 =========*/

.work-in-progress {
  text-align: center;
  font: var(--std-26N-150);
}

/*============================*/

