@charset "utf-8";

/**
 * MobileFirstCorporate用に追加
 * 
 */
:root {
  --accent-light: #60a5fa; /* 例: light (blue-400 相当) */
  --accent-dark:  #1e3a8a; /* 例: dark  (blue-900 相当) */
  --white: #fff;
  --black: #030712;
  --black-4per: #03071209;  /* --blackの4% */
  --black-7per: #03071212;  /* --blackの7% */
  --black-80per: #030712cc; /* --blackの80% */
  --gray-700: #364153;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --link-color: #0e7490;
}

/* 背景用 */
.bg-accent-light {
  background-color: var(--accent-light);
}
.bg-accent-lighter {
  background-color: color-mix(in srgb, var(--accent-light) 50%, white 50%);
}
.bg-accent-lightest {
  background-color: color-mix(in srgb, var(--accent-light) 13%, white 97%);
}
.bg-accent-dark {
  background-color: var(--accent-dark);
}
/* 装飾用 */
.before\:bg-accent-dark::before {
  background-color: var(--accent-dark);
}
/* テキスト用 */
.text-accent {
  color: var(--accent-dark);
}

 .font-noto {
  font-family: "Noto Sans JP", sans-serif;
}

.font-noto-serif {
  font-family: "Noto Serif JP", serif;
}

.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

.palt {
  font-feature-settings: "palt";
  letter-spacing: 0.05rem;
}
.just-palt {
  font-feature-settings: "palt";
}
.text-justify-customize {
  text-align: justify;
  word-break: break-all;
  text-justify: inter-character;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.palt-0 {
  font-feature-settings: "palt" 0;
}
.list-increment {
  counter-increment: count 1;
}

 /**
 * MobileFirstCorporateここまで
 * 
 */

*,:after,:before {
  min-inline-size: 0;
}
html{
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img{
  max-width: 100%;
  height: auto;
}
iframe[src*="youtube"],
iframe[src*="vimeo"]{
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
}


/**
 * layout
 * 
 */
.theme-wrapper{
  display: grid;
  gap: 1px;
  background: var(--gray-200);
}
@media (min-width: 992px){
  .theme-wrapper{
    grid-template-columns: 13.5rem 1fr;
    grid-template-columns: 13.5rem minmax(0, 1fr);
    grid-template-rows: 1fr max-content;
  }
}
.theme-skippy{
  position: fixed;
  top: 4px;
  left: 4px;
}
@media (min-width: 992px){
  .theme-nav{
    position: sticky;
    top: 0;
    grid-row: 1/-1;
    height: min(100dvh,100%);
  }
}
body:not(.MTSE) .theme-CTA[href=""]{
  display: none;
}
.theme-footer-logo{
  width: min(var(--theme-footer-logo-max-width, 300px), 100%);
}
body:not(.MTSE) .theme-footer-sns-list:not(:has(a[href^="http"])){
  display: none;
}
body:not(.MTSE) .theme-footer-sns-list a[href=""]{
  display: none;
}
.theme-footer-sns-item{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  color: inherit;
}


/**
 * webpages, webpage-item
 * 
 */
.theme-webpages{
  --theme-block-columns-gap: 3rem;
}

/**
 * MT custom blocks
 * button
 * 
 */

.theme-block-button {
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  border: 1px solid transparent;
  text-align: center;
  cursor: pointer;
  text-decoration: none !important; /* 下線を無効化 */
  transition: all 0.2s ease-in-out;
  background-color: transparent;
  position: relative;
  margin: 0 20px 20px 20px;
}

/* アウトラインボタン */
.theme-block-button.outline {
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
  background-color: transparent;
}

.theme-block-button.outline:hover {
  background-color: var(--accent-dark);
  color: var(--white);
}

/* 塗りつぶしボタン */
.theme-block-button.filled {
  color: var(--white);
  border: 1px solid var(--accent-dark);
  background-color: var(--accent-dark);
  overflow: hidden; /* 擬似要素を内に収める */
  z-index: 0; /* ボタン本体を上に */
}

/* 背景オーバーレイ用 ::before */
.theme-block-button.filled::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  border-radius: inherit;
  z-index: -1; /* 文字より下に配置 */
  transition: background-color 0.2s ease-in-out;
  mix-blend-mode: multiply;
}

/* ホバー時に少し暗く */
.theme-block-button.filled:hover::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.theme-block-button.large {
  padding: 0.75rem 1.25rem;
  padding-right: 2.5rem;
  font-size: 1.5rem;
  border-radius: 1.25rem;
}

.theme-block-button.medium {
  padding: 0.5rem 1rem;
  padding-right: 2.5rem;
  font-size: 1.25rem;
  border-radius: 1rem;
}

.theme-block-button.small {
  padding: 0.375rem 0.75rem;
  padding-right: 2.5rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}

/* ボタン内アイコン用 */
.theme-block-button .material-symbols-outlined {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.25em;
  transition: transform 0.2s ease-in-out;
}

/* ホバー時にアイコンを右にスライド */
.theme-block-button:hover .material-symbols-outlined {
  transform: translateY(-50%) translateX(0.25rem);
}

/**
 * MT custom blocks
 * section
 * 
 */
.theme-block-section{
  --theme-section-padding: 5rem;
  --theme-section-bg: var(--gray-200);
  padding-block: 5rem;
  border-image-source: linear-gradient(to top, var(--theme-section-bg), var(--theme-section-bg));
  border-image-slice: 0 fill;
  border-image-outset: 0 100vw;
}
.theme-block-section-white{
  --theme-section-bg: var(--white);
}

/**
 * MT custom blocks
 * columns
 * 
 */
.theme-block-columns{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--theme-block-columns-width, min(200px, 100%)), 1fr));
  gap: var(--theme-block-columns-gap, 2rem);
}

/**
 * MT custom blocks
 * link
 * 
 */
.theme-block-file{
  --theme-block-file-columns: 1fr;
  --theme-block-file-decoration-label: 'リンク';
  --theme-block-file-decoration-fontSize: 0.75rem;
  --theme-block-file-decoration-materialSymbols-name: 'attach_file';
  --theme-block-file-decoration-materialSymbols-fontSize: 1rem;
}
.theme-block-file:has(a[href*=".docx"]){
  --theme-block-file-decoration-label: 'Word';
  --theme-block-file-decoration-materialSymbols-name: 'description';
}
.theme-block-file:has(a[href*=".xlsx"]){
  --theme-block-file-decoration-label: 'Excel';
  --theme-block-file-decoration-materialSymbols-name: 'view_list';
}
.theme-block-file:has(a[href*=".pdf"]){
  --theme-block-file-decoration-label: 'PDF';
  --theme-block-file-decoration-materialSymbols-name: 'description';
}
.theme-block-file:has(a[href*=".zip"]){
  --theme-block-file-decoration-label: 'zip';
  --theme-block-file-decoration-materialSymbols-name: 'folder_zip';
}
.theme-block-file:has(code){
  --theme-block-file-decoration-label: '';
  --theme-block-file-decoration-materialSymbols-name: 'code';
}
.theme-block-file:has(a[href*=".pdf"]):has(img){
  --theme-block-file-columns: 80px 1fr;
}
@media (min-width: 768px){
  .theme-block-file{
    --theme-block-file-decoration-fontSize: 1rem;
    --theme-block-file-decoration-materialSymbols-fontSize: 1.33333rem;
  }
  .theme-block-file:has(a[href*=".pdf"]):has(img){
    --theme-block-file-columns: 128px 1fr;
  }
}
.theme-block-file-decoration{
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  width: fit-content;
  padding: 0.75rem 1rem;
  font-size: var(--theme-block-file-decoration-fontSize);
  font-weight: 700;
  line-height: 1;
  background: var(--gray-200);
  border-radius: 4px 4px 0 0;
}
.theme-block-file-decoration-icon::before{
  display: block;
  content: var(--theme-block-file-decoration-materialSymbols-name);
  font-size: var(--theme-block-file-decoration-materialSymbols-fontSize);
  width: var(--theme-block-file-decoration-materialSymbols-fontSize);
  height: auto;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.theme-block-file-decoration-label::before{
  content: var(--theme-block-file-decoration-label);
}
.theme-block-file a{
  display: grid;
  grid-template-columns: var(--theme-block-file-columns);
  justify-items: center;
  align-items: center;
  gap: 12px 16px;
  padding: 0.75rem 1rem;
  text-align: center;
  border-radius: 4px;
  background: var(--gray-100);
  transition: color .15s ease-in-out, background-color .15s ease-in-out;
}
.theme-block-file-decoration + a{
  border-top-left-radius: 0;
}
@media (any-hover: hover) {
  .theme-block-file a:hover {
    color: var(--white);
    background: var(--gray-700); 
  }
}

/**
 * MT custom blocks
 * chats
 * 
 */
.theme-block-chats{
  display: grid;
  gap: var(--theme-block-margin, 2rem);
}
.theme-block-chat-item{
  display: flex;
  gap: var(--gap, 1rem);
}
.theme-block-chat-item-head{
  flex: 0 0 var(--fig-size, 4.625rem);
}
.theme-block-chat-item-head figure{
  margin: 0;
}
@media (min-width: 768px){
  .theme-block-chat-item-head{
    --fig-size: 6rem;
    --gap: 2rem;
  }
}
.theme-block-chat-item-caption{
  font-weight: 700;
  text-align: center;
  color: var(--black);
}
.theme-block-chat-item-caption:empty{
  display: none;
}


/**
 * prose
 */
.theme-prose > * + *{
  margin-block-start: var(--theme-block-margin, 2rem);
}
.theme-prose > :last-child{
  margin-bottom: 0;
}
.theme-prose > :where(h1,.h1,h2,.h2){
  --theme-block-margin: 2.5rem;
}
@media (min-width: 768px){
  .theme-prose > :where(h1,.h1,h2,.h2){
    --theme-block-margin: 3rem;
  }
}
.theme-prose > :where(h3,.h3){
  --theme-block-margin: 2.5rem;
}
@media (min-width: 768px){
  .theme-prose > :where(h3,.h3){
    --theme-block-margin: 3rem;
  }
}
.theme-prose > :where(h4,.h4){
  --theme-block-margin: 2rem;
}
.theme-prose > :where(h5,.h5,h6,.h6){
  --theme-block-margin: 1.75rem;
}
.theme-prose > :where(figure, table, .table-responsive){
  --theme-block-margin: 3rem;
}
.theme-prose div {
  margin-top: 40px;
}
.theme-prose p {
  margin: 0 0 20px 0;
}
.theme-prose h1{
  font-size: 2rem;  line-height: 1.75;
  margin-bottom: 20px;
}
.theme-prose h2{
  font-size: 1.8rem;  line-height: 1.5;
  margin-bottom: 20px;
}
.theme-prose h3{
  font-size: 1.5rem;  line-height: 1.5;
  margin-bottom: 16px;
}
.theme-prose h4{
  font-size: 1.3rem;  line-height: 1.25;
  margin-bottom: 16px;
}
.theme-prose h5{
  font-size: 1.15rem;  line-height: 1.25;
  margin-bottom: 12px;
}
.theme-prose h6{
  font-size: 1.05rem;  line-height: 1.5;
  margin-bottom: 12px;
}
.theme-prose ol,
.theme-prose ul{
  list-style-type: decimal;
  margin-left: 1.25rem;
  margin-bottom: 20px;
}
.theme-prose ol > li{
  margin-block-start: 0.75rem;
}
.theme-prose li + li{
  margin-block-start: 0.75rem;
}
.theme-prose ul li{
  padding-inline-start: 0.5rem;
}
.theme-prose ul li::marker{
  content: '\2014';
}
.theme-prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--link-color);
}
.theme-prose pre{
  padding: 1.5rem;
  border-radius: 4px;
  background: var(--gray-100);
}
.theme-prose blockquote{
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  font-size: 1rem;
  background: var(--black-4per);
  border-left: 4px solid var(--black-7per);
}
.theme-prose blockquote p{
  margin-bottom: 0.5rem;
}
.theme-prose blockquote::before{
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  display: block;
  width: 31px;
  height: 24px;
  background: var(--black-80per);
  clip-path: path('M0 23.3182V17.1818C0 15.3182 0.329545 13.3409 0.988636 11.25C1.67045 9.13636 2.64773 7.10227 3.92045 5.14773C5.21591 3.17045 6.77273 1.45454 8.59091 0L12.9545 3.54545C11.5227 5.59091 10.2727 7.72727 9.20455 9.95455C8.15909 12.1591 7.63636 14.5227 7.63636 17.0455V23.3182H0ZM17.4545 23.3182V17.1818C17.4545 15.3182 17.7841 13.3409 18.4432 11.25C19.125 9.13636 20.1023 7.10227 21.375 5.14773C22.6705 3.17045 24.2273 1.45454 26.0455 0L30.4091 3.54545C28.9773 5.59091 27.7273 7.72727 26.6591 9.95455C25.6136 12.1591 25.0909 14.5227 25.0909 17.0455V23.3182H17.4545Z');
}
.theme-prose blockquote cite{
  margin-block-start: 0.5rem;
  font-size: 0.777777777777778rem;
  font-style: normal;
  line-height: 1.15;
}
.theme-prose table{
  border: solid 2px var(--black);
}
.theme-prose td{
  padding: 10px;
  border: solid 1px var(--black);
}
.theme-prose th{
  background-color: var(--black-7per);
  padding: 10px;
  border: solid 1px var(--black);
}
.theme-prose tr:nth-child(2n+1){
  background-color: var(--black-7per);
}
.theme-block-margin-0{
  --theme-block-margin: 0;
}
.theme-prose hr {
  height: 0.125rem; 
  margin-left: 1.25rem;
  margin-right: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-color: var(--gray-300);
  border: 0;
  border-radius: 0.125rem;
}


/*
 * カスタムブロック用追加設定
 */

/*
 * Youtubeカスタムブロック
 */

/* youtubeの幅固定 */
.youtube_wrap {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
 
.youtube_wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}


/*
 * カルーセルカスタムブロック
 */
/*
.swiper {

};

.swiper-wrapper {

};

.swiper-slide {

};

.swiper-pagenation {

};

.swiper-button-prev {

};

.swiper-button-next {

};
*/
