/* === reset.css === */
/*! kiso.css v1.2.1 | MIT License | https://github.com/tak-dcxi/kiso.css */

/* ======================================================
//  MARK: Universal
// ====================================================== */
*,
::before,
::after {
  /*
  * Includes `padding` and `border` in the element's specified dimensions.
  * It is highly recommended to set `box-sizing: border-box;` by default, as it makes styling much easier, especially when specifying `width: 100%;`.
  */
  box-sizing: border-box;
}

/* ======================================================
//  MARK: Document and Body Elements
// ====================================================== */
:where(:root) {
  /* In Safari, if `font-family` is not specified, a serif font is applied by default, so `sans-serif` is set as the default here. */
  font-family: sans-serif;

  /*
  * For accessibility, it is recommended to set the `line-height` to at least 1.5 times the text size within paragraphs.
  * @see https://waic.jp/translations/WCAG21/#visual-presentation
  */
  line-height: 1.5;

  /* Remove space when punctuation marks are adjacent, and also remove leading spaces in a line. */
  text-spacing-trim: trim-start;

  /* Improves readability by inserting a small space between Japanese and alphanumeric characters. */
  text-autospace: normal;

  /* Prevents misreading by applying strict line-breaking rules. */
  line-break: strict;

  /* Wraps English words mid-word. Specifying `anywhere` also prevents content from overflowing in layouts like `flex` or `grid`. */
  overflow-wrap: anywhere;

  /*
  * Mobile browsers have an algorithm that automatically adjusts font sizes to prevent text from becoming too small.
  * This controls the auto-adjustment feature to prevent unwanted resizing.
  */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;

  /* Prevents layout shift caused by the appearance or disappearance of the scrollbar. */
  scrollbar-gutter: stable;

  /* Suppresses the tap highlight on iOS. */
  -webkit-tap-highlight-color: transparent;
}

:where(body) {
  /*
  * When creating a sticky footer, a minimum height is often required.
  * Setting the `min-block-size` to the dynamic viewport height ensures enough space for the footer.
  */
  min-block-size: 100dvb;

  /* The `margin` specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset here. */
  margin: unset;
}

/* ======================================================
// MARK: Sections
// ------------------------------------------------------ */
:where(h1, h2, h3, h4, h5, h6) {
  /* Prevents the last line of text from ending with a single word, which can look awkward (known as an orphan). */
  text-wrap: pretty;
}

:where(h1) {
  /*
  * Adjusts user agent (UA) styles for `h1` elements within sectioning content.
  * This addresses DevTools warnings that appear when `h1` elements nested within sectioning content lack `font-size` and `margin` properties.
  * @see https://html.spec.whatwg.org/#sections-and-headings
  */
  margin-block: 0.67em;
  font-size: 2em;
}

:where(h2, h3, h4, h5, h6) {
  /* The `margin-block` specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  margin-block: unset;
}

:where(search) {
  /*
  * The `<search>` element is supported from Safari 17.
  * This prevents it from being displayed as an inline element in unsupported environments.
  */
  display: block flow;
}

/* ======================================================
//  MARK: Grouping content
// ====================================================== */
:where(p, blockquote, figure, pre, address, ul, ol, dl, menu) {
  /* The `margin-block` specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  margin-block: unset;
}

:where(blockquote, figure) {
  /* The `margin-inline` specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  margin-inline: unset;
}

:where(p:lang(en)) {
  /*
  * In English, a single word on the last line is called a "widow" or "orphan" and is considered something to avoid as it makes the text harder to read.
  * Therefore, when lang="en", this prevents the last line from ending with a single word.
  */
  text-wrap: pretty;
}

:where(address:lang(ja)) {
  /* Italic style is not common in Japanese, so the `font-style` is reset. */
  font-style: unset;
}

:where(ul, ol, menu) {
  /* The `padding-inline-start` specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  padding-inline-start: unset;

  /*
  * In Safari, using `list-style: none` prevents screen readers from announcing lists.
  * `list-style-type: ""` is used to hide markers without affecting accessibility.
  * @see https://matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics
  */
  list-style-type: "";
}

:where(dt) {
  /* It is common to display `<dt>` elements in bold, so `font-weight: bolder;` is set by default. */
  font-weight: bolder;
}

:where(dd) {
  /* The `margin-inline-start` specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  margin-inline-start: unset;
}

:where(pre) {
  /*
  * Since `text-spacing-trim` can affect spacing in `<pre>` elements even with its initial value, the final rendering may depend on the user's font settings.
  * To ensure consistent alignment, `space-all` is explicitly specified and inheritance is prevented.
  */
  text-spacing-trim: space-all;

  /* Set to `no-autospace` as it can cause misalignment with monospaced fonts. */
  text-autospace: no-autospace;
}

/* ======================================================
//  MARK: Text-level semantics
// ====================================================== */
:where(em:lang(ja)) {
  /* In Japanese, emphasis is commonly represented by bold text, so `font-weight: bolder;` is set by default. */
  font-weight: bolder;
}

:where(:is(i, cite, em, dfn, var):lang(ja)) {
  /* Italic style is not common in Japanese, so the `font-style` is reset. */
  font-style: unset;
}

:where(code, kbd, samp) {
  /*
  * Set a monospace font family referencing Tailwind.
  * @see https://tailwindcss.com/docs/font-family
  */
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* Font feature settings can have adverse effects on monospaced fonts, so their values are explicitly set to `initial` to prevent inheritance. */
  font-feature-settings: initial;
  font-variation-settings: initial;

  /* Resets the `font-size` specified in the UA stylesheet to allow inheritance. */
  font-size: unset;

  /*
  * Disables font ligatures for programming fonts (like Fira Code)
  * to prevent character combinations like `=>` from being rendered as a single symbol (e.g., `⇒`).
  */
  font-variant-ligatures: none;
}

:where(abbr[title]) {
  /*
  * The `<abbr>` element with the `title` attribute isn't helpful regarding accessibility because support is inconsistent, and it's only accessible to some users.
  * This rule shows a dotted underline on abbreviations in all browsers (there's a bug in Safari) and changes the cursor.
  * @see https://adrianroselli.com/2024/01/using-abbr-element-with-title-attribute.html
  */
  text-decoration-line: underline;
  text-decoration-style: dotted;
  cursor: help;
}

:where(time) {
  /* Set to `no-autospace` because date notations in typography do not include spaces. */
  text-autospace: no-autospace;
}

@media (forced-colors: active) {
  :where(mark) {
    /*
    * In forced-colors mode, the color of the mark element may not change, which can be problematic. Use system colors in forced-colors mode.
    * @see https://adrianroselli.com/2017/12/tweaking-text-level-styles.html#MarkWHCM
    */
    background-color: Highlight;
    color: HighlightText;
  }
}

@media print {
  :where(mark) {
    /*
    * Not all printers support color, and users might print in grayscale.
    * It's worth adding a non-disruptive style that scales with the text, as an alternative to relying only on background color.
    * @see https://adrianroselli.com/2017/12/tweaking-text-level-styles.html#MarkPrint
    */
    border-width: 1px;
    border-style: dotted;
  }
}

/* ======================================================
//  MARK: Links
// ====================================================== */
:where(a:any-link) {
  /* The default `color` from the UA stylesheet is rarely used as is, so it's reset to allow inheritance. */
  color: unset;

  /*
  * While link underlines can be useful, they are often obstructive.
  * They are disabled by default.
  * If needed, restore them using `text-decoration-line: revert;`.
  */
  text-decoration-line: unset;

  /* Set the underline thickness to the font's default thickness. */
  text-decoration-thickness: from-font;
}

/* ======================================================
//  MARK: Embedded content
// ====================================================== */
:where(img, svg, picture, video, canvas, model, audio, iframe, embed, object) {
  /* Automatically adjust block size based on content. */
  block-size: auto;

  /* Prevents overflow by setting the maximum width to `100%`. */
  max-inline-size: 100%;

  /* Prevents extra space from appearing at the bottom of the element. */
  vertical-align: bottom;
}

:where(iframe) {
  /* The `border` specified in the UA stylesheet is often unnecessary, so it is reset. */
  border: unset;
}

/* ======================================================
//  MARK: Tabular data
// ====================================================== */
:where(table) {
  /* Collapse borders for a more refined table design. */
  border-collapse: collapse;
}

:where(caption, th) {
  /* The `text-align` specified in the UA stylesheet is often unnecessary, so it is reset. */
  text-align: unset;
}

:where(caption) {
  /* Prevents the last line of text from ending with a single word, which can look awkward (known as an orphan). */
  text-wrap: pretty;
}

/* ======================================================
//  MARK: Forms
// ====================================================== */
:where(button, input, select, textarea),
::file-selector-button {
  /*
  * These elements are often styled with a border, so a `1px` border is applied by default for consistency.
  * This ensures readability even for unstyled elements.
  * When resetting, it's recommended to use `border-color: transparent` instead of `border: none` to account for forced color modes.
  */
  border-width: 1px;
  border-style: solid;

  /* These styles specified in the UA stylesheet are often unnecessary, so they are reset to allow for inheritance. */
  border-color: unset;
  border-radius: unset;
  color: unset;
  font: unset;
  letter-spacing: unset;
  text-align: unset;
}

:where(input:is([type="radio" i], [type="checkbox" i])) {
  /* The `margin` specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset here. */
  margin: unset;
}

:where(input[type="file" i]) {
  /* The `border` is often unnecessary, so it is reset here. */
  border: unset;
}

:where(input[type="search" i]) {
  /* Remove the rounded corners of search inputs on macOS and normalize the background color. */
  -webkit-appearance: textfield;
}

@supports (-webkit-touch-callout: none) {
  :where(input[type="search" i]) {
    /* normalize the background color on iOS. */
    background-color: Canvas;
  }
}

:where(
    input:is(
        [type="tel" i],
        [type="url" i],
        [type="email" i],
        [type="number" i]
      ):not(:placeholder-shown)
  ) {
  /*
  * Certain input types need to maintain left alignment even in right-to-left (RTL) languages.
  * However, this only applies when the value is not empty, as the placeholder should be right-aligned.
  * @see https://rtlstyling.com/posts/rtl-styling#form-inputs
  */
  direction: ltr;
}

:where(textarea) {
  /* The `margin-block` specified in Firefox's UA stylesheet is often unnecessary, so it is reset. */
  margin-block: unset;

  /* Allows vertical resizing for `<textarea>` elements. */
  resize: block;
}

:where(
    input:not([type="button" i], [type="submit" i], [type="reset" i]),
    textarea,
    [contenteditable]
  ) {
  /* Set to `no-autospace` because `text-autospace` can insert spaces during input, potentially causing erratic behavior. */
  text-autospace: no-autospace;
}

:where(
    button,
    input:is([type="button" i], [type="submit" i], [type="reset" i])
  ),
::file-selector-button {
  /* The `background-color` specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset here. */
  background-color: unset;
}

:where(
    button,
    input:is([type="button" i], [type="submit" i], [type="reset" i]),
    [role="tab" i],
    [role="button" i],
    [role="option" i]
  ),
::file-selector-button {
  /*
  * On iOS, double-tapping a button can cause zooming, which harms usability.
  * `touch-action: manipulation` is specified to disable zooming on double-tap.
  * Third-party plugins such as Swiper sometimes use div elements with these roles as buttons, since double-tapping a div can still trigger zooming, it's advisable to specify this property.
  */
  touch-action: manipulation;
}

:where(
    button:enabled,
    label[for],
    select:enabled,
    input:is(
        [type="button" i],
        [type="submit" i],
        [type="reset" i],
        [type="radio" i],
        [type="checkbox" i]
      ):enabled,
    [role="tab" i],
    [role="button" i],
    [role="option" i]
  ),
:where(:enabled)::file-selector-button {
  /* Indicate clickable elements with a pointer cursor. */
  cursor: pointer;
}

:where(fieldset) {
  /*
  * Prevent fieldset from causing overflow.
  * Reset the default `min-inline-size: min-content` to prevent children from stretching fieldset.
  * @see https://github.com/twbs/bootstrap/issues/12359
  */
  min-inline-size: 0;

  /* The following default styles are often unnecessary, so they are reset. */
  margin-inline: unset;
  padding: unset;
  border: unset;
}

:where(legend) {
  /* The default `padding-inline` is often unnecessary, so it is reset. */
  padding-inline: unset;
}

:where(progress) {
  /* Resets the vertical alignment of the `<progress>` element to its initial value. */
  vertical-align: unset;
}

::placeholder {
  /* Standardize the opacity of placeholder text (it may be set lower by default in Firefox). */
  opacity: unset;
}

/* ======================================================
//  MARK: Interactive elements
// ====================================================== */
:where(summary) {
  /* The default triangle marker is often unnecessary, so it is disabled. */
  list-style-type: "";

  /* Changing the cursor to a pointer clarifies the clickability of the element. */
  cursor: pointer;
}

:where(summary)::-webkit-details-marker {
  /* In Safari versions earlier than 18.4 (released in April 2025), a triangle icon is displayed using the -webkit-details-marker CSS pseudo-element, so it should be removed. */
  display: none;
}

:where(dialog, [popover]) {
  /*
  * When these fixed-position elements are scrolled, preventing scroll chaining on the underlying page and bounce effects on mobile improves usability.
  * Disabling block-direction scroll chaining is recommended.
  */
  overscroll-behavior-block: contain;

  /* The following default styles are often unnecessary, so they are reset. */
  padding: unset;
  border: unset;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
  /*
  * These elements can be easily displayed by explicitly setting their `display` property.
  * To prevent them from appearing when not in an open state, they are forcibly hidden.
  */
  display: none !important;
}

:where(dialog) {
  /*
  * The max width and height of a `<dialog>` element are typically determined by the design.
  * These UA stylesheet properties are reset as they can be obstructive, especially when trying to make the dialog full-screen.
  */
  max-inline-size: unset;
  max-block-size: unset;
}

:where(dialog)::backdrop {
  /* Normalize the background color of the `::backdrop` element. */
  background-color: oklch(0% 0 0deg / 30%);
}

:where([popover]) {
  /*
  * While the UA stylesheet's `margin` for `<dialog>` elements is useful for centering with `inset: 0`,
  * but `margin` for `popover` elements is often obstructive as they frequently use Anchor Positioning.
  */
  margin: unset;
}

/* ======================================================
//  MARK: Focus Styles
// ====================================================== */
:where(:focus-visible) {
  /* Add space between the content and the focus outline. */
  outline-offset: 3px;
}

[tabindex="-1"]:focus {
  /* Prevent programmatically focused elements from displaying an outline unless they are naturally focusable. */
  outline: none !important;
}

/* ======================================================
//  MARK: Misc
// ====================================================== */
:where(:disabled, [aria-disabled="true" i]) {
  /* Display the default cursor on disabled elements to reflect their non-interactive state. */
  cursor: default;
}

[hidden]:not([hidden="until-found" i]) {
  /* Ensure that elements intended to be hidden are not displayed, improving clarity and layout control. */
  display: none !important;
}

@supports selector(::scroll-button(*)) {
  ::scroll-button(*) {
    /* Apply the same reset as for `<button>` elements. */
    border-width: 1px;
    border-style: solid;
    border-color: unset;
    border-radius: unset;
    background-color: unset;
    color: unset;
    font: unset;
    letter-spacing: unset;
    text-align: unset;
    touch-action: manipulation;
  }

  ::scroll-button(*):enabled {
    /* Make the scroll button indicate interactivity when enabled. */
    cursor: pointer;
  }
}


/* === variables.css === */
/* ========================================
  CSS Custom Properties (Variables)
   ======================================== */

:root {
  /* Colors */
  --color-text-main: #555;
  --color-text-light: #fff;
  --color-bg-main: #efecea;
  --color-bg-footer: #faf8f8;
  --color-bg-lightGray: #f2f2f2;
  --color-bg-beige: #ebe9e1;
  --color-border-black: #555;
  --color-border-dark: #c5c5c5;
  --color-border-light: #ccc;
  --color-border-main: #e5e5e5;
  --color-border-lightest: #f2f2f2;
  --color-border-white: #fff;
  --color-accent-red: #d62d28;
  --color-accent-orange: #f89825;

  /* Typography */
  --font-family-base: yu-gothic-pr6n, sans-serif;
  --font-family-en: garamond-premier-pro, serif;
  --font-family-mincho: garamond-premier-pro, "Hannari", serif;

  /* カスタマイザーで設定される変数 */
  --color-bg-top: var(--color-bg-main);
  --color-bg-chapter1: var(--color-bg-main);
  --color-bg-chapter2: var(--color-bg-main);
  --color-text-top: var(--color-text-main);
  --color-text-chapter1: var(--color-text-main);
  --color-text-chapter2: var(--color-text-main);

  /* Border radius */
  --border-radius-primary: 4px;

  /* Transitions */
  --transition-base: all 0.3s ease-in-out;
  --transition-fast: all 0.15s ease-in-out;
  --transition-slow: all 0.5s ease-in-out;
}


/* === base.css === */
/*
  base
-----------------------------------------------------*/
html {
  box-sizing: border-box;
  font-family: var(--font-family-base);
  height: 100%;
  word-break: break-all;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  font-size: 1rem;
  height: 100%;
  line-height: 1.5;
}

figure {
  margin: 0;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

a {
  color: inherit;
}

button {
  color: inherit;
  appearance: none;
  background-color: transparent;
  border: none;
}

a,
button {
  transition: var(--transition-base);
}

@media (hover: hover) {
  a:hover,
  button:hover {
    opacity: 0.7;
  }
}

h1,
h2,
h3,
h4,
h5,
strong {
  font-weight: bold;
  margin: 0;
}

input,
textarea {
  font-family: inherit;
  font-size: 100%;
}

small {
  font-size: inherit;
}


/* === common.css === */
/*
  common
-----------------------------------------------------*/

/* メニュー展開時のスクロール禁止 */
body.is-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
.l-header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: 30px 30px;
  padding-inline: 32px 16px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
}
.l-header--article {
  background-color: var(--color-bg-main);
  height: 96px;
}
.l-header--top {
  justify-content: flex-end;
}
.l-headerMainLogo {
  width: 168px;
}
.l-headerMainLogo a,
.l-headerMainLogo img {
  display: block;
}
.l-headerButton {
  display: block;
  width: 40px;
  height: 40px;
  background-color: transparent;
  position: relative;
  z-index: 5;
}
.l-headerButtonLine {
  display: inline-block;
  width: 26px;
  height: 1px;
  background-color: var(--color-border-black);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  transition: 0.3s all ease-in-out;
}
.l-headerButtonLine::before,
.l-headerButtonLine::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: var(--color-border-black);
  position: absolute;
  left: 0;
  transition: 0.3s all ease-in-out;
}
.l-headerButtonLine::before {
  top: -6px;
}
.l-headerButtonLine::after {
  top: 6px;
}
.l-headerButton.is-active .l-headerButtonLine {
  background-color: transparent;
}
.l-headerButton.is-active .l-headerButtonLine::before,
.l-headerButton.is-active .l-headerButtonLine::after {
  top: 50%;
  translate: 0 -50%;
}
.l-headerButton.is-active .l-headerButtonLine::before {
  rotate: 45deg;
}
.l-headerButton.is-active .l-headerButtonLine::after {
  rotate: -45deg;
}

@media screen and (min-width: 768px) {
  .l-header {
    justify-content: flex-end;
    padding-inline: 32px;
  }
  .l-header--article {
    height: 116px;
  }
  .l-headerMainLogo {
    width: 200px;
    position: absolute;
    top: 40px;
    left: 50%;
    translate: -50% 0;
  }
}

/* menu */
.l-headerMenu {
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-main);
  top: 0;
  left: 0;
  z-index: 3;
}
.l-headerMenuInner {
  padding-block: 148px 100px;
  padding-inline: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.l-headerMenuLogo {
  width: 180px;
}
.l-headerMenuList {
  font-family: var(--font-family-mincho);
  list-style: none;
  display: grid;
  gap: 24px;
}
.l-headerMenuList a {
  font-size: 22px;
}
.l-headerMenuSns {
  list-style: none;
}
.l-headerMenuSns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
@media screen and (min-width: 768px) {
  .l-headerMenuInner {
    padding-block: 210px;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 110px;
  }
  .l-headerMenuLogo {
    position: absolute;
    bottom: 40px;
    right: 64px;
    z-index: 1;
  }
}
@media screen and (min-width: 1024px) {
  .l-headerMenuInner {
    padding-inline: 160px;
  }
  .l-headerMenuLogo {
    bottom: 64px;
    right: 80px;
  }
}

/* footer */
.l-footer {
  padding-block: 100px 164px;
  background-color: var(--color-bg-footer);
}
.l-footerContainer {
  width: 84.62%;
  margin-inline: auto;
}
.l-footerList {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px 24px;
}
.l-footerListItem {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.l-footerLink {
  display: block;
  transition: var(--transition-base);
}
.l-footerLinkImage img {
  width: 100%;
}
.l-footerLinkText {
  font-size: 16px;
  line-height: 1.7;
}

/* ウィジェット用スタイル */
.l-footerListItem .widget {
  margin: 0;
}
.l-footerListItem .widget-title {
  display: none; /* フッターではタイトルを非表示 */
}
.l-footerListItem .widget p {
  margin: 0;
}
.l-footerListItem .widget img {
  width: 100%;
  height: auto;
}
.l-footerListItem .widget a {
  display: block;
  transition: var(--transition-base);
}

.l-footerLogoWrapper {
  margin-top: 172px;
}
.l-footerLogo {
  width: 214px;
  margin-inline: auto;
}
@media screen and (min-width: 580px) {
  .l-footerList {
    flex-direction: row;
    justify-content: center;
  }
  .l-footerListItem {
    width: calc((100% - 24px) / 2);
    max-width: 330px;
  }
}
@media screen and (min-width: 768px) {
  .l-footer {
    padding-block: 160px 180px;
  }
  .l-footerList {
    gap: 80px 60px;
  }
}

/* top footer */
.l-topFooter {
  padding-block: 100px 156px;
}
.l-topFooterLogo {
  width: 214px;
  margin-inline: auto;
  position: relative;
  left: 16px;
}
@media screen and (min-width: 768px) {
  .l-topFooter {
    padding-block: 110px 200px;
    padding-inline: 80px;
  }
  .l-topFooterLogo {
    width: 280px;
    margin-inline: 0 auto;
    left: 0;
  }
}

.l-main {
  padding-top: 168px;
}
@media screen and (min-width: 768px) {
  .l-main {
    padding-top: 224px;
  }
}

.l-section {
  padding-block: 0 100px;
}
.l-sectionContents {
  padding-block: 100px;
  border-top: 0.2px solid var(--color-border-light);
}
.l-container {
  width: 1340px;
  max-width: 84.62%;
  margin-inline: auto;
}
.l-container.--small {
  width: 640px;
}
@media screen and (min-width: 768px) {
  .l-section {
    padding-block: 100px;
  }
  .l-sectionContents {
    padding-top: 0;
    border-top: none;
  }
}

.l-headingPrimary {
  font-family: var(--font-family-en);
  font-weight: 400;
  text-align: center;
  font-size: 18px;
  margin-bottom: 50px;
}
.l-headingSecondary {
  font-family: var(--font-family-en);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.036em;
  margin-bottom: 40px;
}
@media screen and (min-width: 768px) {
  .l-headingPrimary {
    font-size: 35px;
  }
}


/* === top.css === */
/*
  top
-----------------------------------------------------*/
.p-mainVisual {
  padding-bottom: 100px;
}
.p-mainVisualInner {
  padding-block: 48px 30px;
  padding-inline: 32px;
  position: relative;
  z-index: 2;
}
.p-mainVisualLogo {
  width: 168px;
}
.p-mainVisualContents {
  min-height: fit-content;
  display: flex;
  flex-direction: row-reverse;
  gap: 32px;
  margin-top: 100px;
}
.p-mainVisualHeading {
  font-family: var(--font-family-mincho);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.p-mainVisualText {
  font-size: 13px;
  letter-spacing: 0.4em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.75;
  margin-top: 56px;
  white-space: nowrap;
  height: fit-content;
}
.p-mainVisualText span {
  display: block;
}
.p-mainVisualImages {
  list-style: none;
  overflow: hidden;
}
.p-mainVisualImagesList {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 75px;
}
.p-mainVisualImagesList li {
  width: 120px;
  flex-shrink: 0;
}
.p-mainVisualImagesList li:first-child {
  display: none;
}
.p-mainVisualImagesList li:nth-child(odd) {
  margin-top: 80px;
}
.p-mainVisualImagesList {
  justify-content: center;
  position: relative;
}
.p-mainVisualSubText {
  font-size: 14px;
  margin-top: 100px;
  letter-spacing: 0.025em;
  line-height: 1.75;
  text-align: center;
  margin-inline: 30px;
}
.p-mainVisualSubText span {
  display: block;
}
.p-mainVisualSubText.--tab {
  display: none;
}
@media screen and (min-width: 768px) {
  .p-mainVisualInner {
    padding-block: 40px 30px;
    padding-inline: 80px;
  }
  .p-mainVisualContents {
    margin-top: 0;
    gap: 48px;
  }
  .p-mainVisualHeading {
    font-size: 28px;
  }
  .p-mainVisualText {
    font-size: 16px;
    line-height: 2.5;
    letter-spacing: 0.1em;
  }
  .p-mainVisualImages {
    padding-inline: 48px 0;
  }
  .p-mainVisualImagesList {
    justify-content: flex-start;
    gap: 40px;
  }
  .p-mainVisualImagesList li {
    width: 130px;
  }
  .p-mainVisualImagesList li:first-child {
    display: block;
  }
  .p-mainVisualImagesList li:nth-child(odd) {
    margin-top: 36px;
  }
  .p-mainVisualSubText {
    text-align: left;
    margin-top: 30px;
  }
  .p-mainVisualSubText.--sp {
    display: none;
  }
  .p-mainVisualSubText.--tab {
    display: block;
  }
}
@media screen and (min-width: 1024px) {
  .p-mainVisualInner {
    padding-block: 60px 0;
    padding-inline: 80px 100px;
  }
  .p-mainVisualLogo {
    width: 286px;
  }
  .p-mainVisualImages {
    padding-inline: 80px 0;
    margin-top: -24px;
    position: relative;
    z-index: 1;
  }
}

.p-subTitle {
  font-family: var(--font-family-en);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
}
.p-textContents {
  font-weight: 500;
  font-size: 11px;
  text-align: center;
  line-height: 1.75;
}
@media screen and (min-width: 768px) {
  .p-textContents {
    font-size: 14px;
  }
  .p-textContents .--sp {
    display: none;
  }
}

.p-cardGridList {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 20px;
}
.p-cardGridLink {
  display: block;
}
.p-cardGridTextContents {
  padding-left: 5px;
  border-left: 0.3px solid var(--color-border-light);
  margin-top: 8px;
}
.p-cardGridImage img {
  width: 100%;
}
.p-cardGridImageBg {
  width: 100%;
  aspect-ratio: 316 / 420; /* 横316px、縦420pxの比率 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.p-cardGridImageOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.p-cardGridImageOverlayText {
  color: #fff;
  font-size: 16px;
  text-align: center;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p-cardGridImageOverlayText span {
  display: inline-block;
}
.p-cardGridDate {
  font-size: 10px;
  color: #939191;
  margin-bottom: 4px;
}
.p-cardGridTitle {
  font-size: 12px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-cardGridList {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 24px;
  }
  .p-cardGridDate {
    font-size: 11px;
  }
  .p-cardGridTitle {
    font-size: 14px;
  }
}
@media screen and (min-width: 1024px) {
  .p-cardGridList {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Splideスライダーのスタイル */
.p-largeCardSlider {
  width: 100%;
  overflow: hidden;
}
.p-largeCardSlider .splide__track {
  overflow: hidden;
}
.p-largeCardSlider .splide__list {
  display: flex;
}
.p-largeCardSlider .splide__slide {
  width: 327px !important;
  flex-shrink: 0;
  margin-right: 20px;
}
.p-largeCardSlider .splide__arrow {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border-radius: 0;
  opacity: 1;
  transform: inherit;
  top: 200px;
}
.p-largeCardSlider svg {
  display: none;
}
.p-largeCardSlider .splide__arrow--prev {
  left: 0;
}
.p-largeCardSlider .splide__arrow--prev::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 23px;
  background-image: url("data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4LjIwNyIgaGVpZ2h0PSIxNS40MTQiIHZpZXdCb3g9IjAgMCA4LjIwNyAxNS40MTQiPg0KICA8cGF0aCBpZD0iY2hldnJvbi1yaWdodCIgZD0iTTE3LDZsLTcsNyw3LDdoMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTkuNSAtNS4yOTMpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxIi8+DQo8L3N2Zz4=");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.p-largeCardSlider .splide__arrow--next {
  right: 0;
}
.p-largeCardSlider .splide__arrow--next::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 23px;
  background-image: url("data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMi40MTQiIGhlaWdodD0iMjIuODI4IiB2aWV3Qm94PSIwIDAgMTIuNDE0IDIyLjgyOCI+DQogIDxwYXRoIGlkPSJjaGV2cm9uLXJpZ2h0IiBkPSJNMTAsNiwyMCwxNiwxMCwyNmgwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOC41ODYgLTQuNTg2KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIvPg0KPC9zdmc+");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.p-largeCardLink {
  display: block;
  width: 100%;
}
.p-largeCardImage {
  display: block;
  width: 100%;
  height: 436px;
  background-size: cover;
  position: relative;
}
.p-largeCardImageOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.p-largeCardImageOverlayText {
  color: #fff;
  font-size: 16px;
  text-align: center;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p-largeCardImageOverlayText span {
  display: inline-block;
}
.p-largeCardTextContents {
  padding-top: 16px;
  padding-left: 22px;
  position: relative;
}
.p-largeCardTextContents::before {
  content: "";
  display: inline-block;
  width: 0.3px;
  height: calc(100% - 16px);
  background-color: var(--color-border-light);
  position: absolute;
  top: 16px;
  left: 15px;
}
.p-largeCardDate {
  color: #939191;
  font-size: 11px;
  margin-bottom: 4px;
}
.p-largeCardTitle {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}
.p-largeCardText {
  font-size: 11px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

/* タブレット以上でのスライダー設定 */
@media screen and (min-width: 768px) {
  .p-largeCardSlider .splide__slide {
    width: 750px !important;
    margin-right: 20px;
  }
  .p-largeCardSlider .splide__track {
    overflow: visible;
  }
  .p-largeCardSlider .splide__list {
    display: flex;
    align-items: flex-start;
  }
  .p-largeCardSlider .splide__arrow {
    top: 260px;
  }
  .p-largeCardImage {
    height: 550px;
  }
  .p-largeCardTextContents {
    padding-top: 20px;
    padding-left: 30px;
  }
  .p-largeCardTextContents::before {
    left: 20px;
  }
  .p-largeCardDate {
    font-size: 14px;
  }
  .p-largeCardTitle {
    font-size: 17px;
  }
  .p-largeCardText {
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
  }
  .p-largeCardImageOverlay {
    padding: 45px 30px;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .p-largeCardImageOverlayText {
    text-align: left;
  }
}

.p-epilogue .l-sectionContents {
  padding-bottom: 0;
}
.p-epilogueHeading {
  font-family: var(--font-family-mincho);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  margin-bottom: 48px;
}
.p-epilogueImage {
  text-align: center;
}
.p-epilogueComment {
  margin-top: 150px;
}
.p-epilogueCommentText {
  font-size: 13px;
  letter-spacing: 0.026em;
  text-align: center;
  line-height: 2.5;
}
.p-epilogueCommentName {
  font-size: 13px;
  letter-spacing: 0.026em;
  text-align: right;
  line-height: 2.5;
  margin-top: 40px;
}
.p-epilogueCommentSign {
  text-align: right;
  margin-top: -8px;
}
.p-epilogueCommentSign img {
  width: 152px;
}
@media screen and (min-width: 768px) {
  .p-epilogue .l-sectionContents {
    display: flex;
    justify-content: flex-end;
  }
  .p-epilogueHeading {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }
  .p-epilogueCommentText {
    font-size: 14px;
  }
  .p-epilogueCommentText span {
    display: block;
  }
  .p-epilogueCommentName,
  .p-epilogueCommentSign {
    text-align: center;
  }
  .p-epilogueCommentSign {
    margin-top: 32px;
  }
}


/* === single.css === */
.l-singleHeader {
  width: 980px;
  max-width: 84.62%;
  margin-inline: auto;
  margin-bottom: 10px;
}
.l-singleTitle {
  font-size: 24px;
}
.l-singleTitleIcon {
  width: 1.5em;
  height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.l-singleTitleIcon img {
  max-width: 100%;
  max-height: 100%;
}
.l-singleHeaderNumber {
  text-align: right;
  font-size: 16px;
  margin-top: 40px;
}
.l-singleThumbnail {
  width: 980px;
  max-width: 100%;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .l-singleHeaderNumber {
    margin-top: 10px;
  }
}

.l-singleContent {
  margin-top: 40px;
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .l-singleContent {
    margin-top: 64px;
  }
}

/* 投稿記事 */
.l-singlePost > *,
.l-singlePost .wp-block-media-text__content > * {
  margin-bottom: 1.5em;
}
.l-singlePost .wp-block-media-text__media {
  margin-bottom: 1.5em;
}
.l-singlePost .wp-block-media-text__content {
  padding-inline: 0;
}
.l-singlePost h2,
.l-singlePost h3 {
  margin-top: 2em;
}
@media screen and (min-width: 768px) {
  .l-singlePost .wp-block-media-text__media {
    margin-bottom: 0;
  }
  .l-singlePost .wp-block-media-text__content {
    padding-inline: 8% 0;
  }
  .l-singlePost
    .wp-block-media-text.has-media-on-the-right
    > .wp-block-media-text__content {
    padding-inline: 0 8%;
  }
}

.l-singleOtherList {
  padding-top: 50px;
  position: relative;
}
.l-singleOtherList::before {
  content: "";
  display: block;
  width: 84.62%;
  height: 1px;
  background-color: var(--color-border-black);
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
}

@media screen and (min-width: 768px) {
  .l-singleOtherList {
    padding-top: 156px;
  }
  .l-singleOtherList::before {
    display: none;
  }
}

/* profile */
.p-profileContents {
  padding-top: 50px;
  margin-top: 50px;
  position: relative;
}
.p-profileContents::before {
  content: "";
  display: block;
  width: 84.62%;
  max-width: 640px;
  height: 1px;
  background-color: var(--color-border-black);
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
}
.p-profileTitle {
  font-family: var(--font-family-en);
  font-weight: 400;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 40px;
}
.p-profileHeader {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 24px;
}
.p-profileHeaderUpperText {
  font-size: 13px;
  line-height: 1;
  margin-bottom: 15px;
}
.p-profileName {
  font-size: 18px;
  font-weight: bold;
}
.p-profilePosition {
  font-size: 13px;
  margin-top: 10px;
}
.p-profileImage {
  width: 94px;
  flex-shrink: 0;
}
.p-profileText {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 40px;
}
.p-profileSns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.p-profileSnsItem {
  width: 22px;
}
@media screen and (min-width: 768px) {
  .p-profileContents {
    padding-top: 80px;
    margin-top: 80px;
  }
  .p-profileContentsInner {
    position: relative;
  }
  .p-profileHeader {
    flex-direction: row;
    justify-content: space-between;
  }
  .p-profileImage {
    width: 136px;
    position: absolute;
    top: 0;
    right: 0;
  }
  .p-profileSns {
    margin-top: 40px;
  }
}

/* share link */
.p-share {
  padding-block: 50px;
  margin-top: 50px;
  position: relative;
}
.p-share::before {
  content: "";
  display: block;
  width: 84.62%;
  max-width: 640px;
  height: 1px;
  background-color: var(--color-border-black);
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
}
.p-shareLinks {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.p-shareLinks li {
  width: 24px;
}
.p-shareText {
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}
@media screen and (min-width: 768px) {
  .p-share {
    padding-bottom: 0;
  }
}


/* === utility.css === */
/*
  utility
-----------------------------------------------------*/
.u-visuallyHidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}


