@charset "UTF-8";
/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: A child theme of Astra
Text Domain: astra-child
Template: astra
*/
/**
 * uaplus.css version 0.0.1
 */
/**
 * Different box model
 * 
 * We use the traditional box model, where the padding and border 
 * of the element is drawn inside and not outside the specified 
 * width and height. That makes combining relative and absolute 
 * units in properties like <code>inline-size</code> and 
 * <code>block-size</code> easier.
 * 
 * 2025/05/22 :where(html) のgutter外すこと！！！

* {
  box-sizing: border-box;

  &::after,
  &::before {
    box-sizing: border-box;
  }
}

/**
 * Improve focus styles
 *
 * Add spacing between content and its focus outline.
 */
:focus-visible {
  outline-offset: 3px;
}

/**
 * Disable text size adjustment
 * 
 * To improve readability on non-mobile optimized websites, browsers
 * like mobile Safari increase the default font size when you switch
 * a website from portrait to landscape. We don't want that for our 
 * optimized sites.
 *
 * See https://kilianvalkhof.com/2022/css-html/your-css-reset-needs-text-size-adjust-probably/
 */
:where(html) {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  line-height: 1.5;
}

/**
 * Increase line height
 *
 * Long paragraphs are easier to read if the line height is higher.
 */
/**
 * Add scrollbar gutter
 *
 * Prevent the page from “jumping” when switching from a long to a short page.
 *
 */
/**
 * Remove UA styles for h1s nested in sectioning content
 *
 * Nesting h1s in section, articles, etc., shouldn't influence the 
 * styling of the heading since nesting doesn't influence 
 * semantics either.
 * 
 * See https://github.com/whatwg/html/issues/7867#issuecomment-2632395167
 * See https://github.com/whatwg/html/pull/11102
 * See https://html.spec.whatwg.org/#sections-and-headings
 */
:where(h1) {
  font-size: 2em;
  margin-block: 0.67em;
}

/**
 * Improve abbreviations with titles
 * 
 * The abbr element with the title isn't helpful regarding 
 * accessibility because support is inconsistent, and it's only 
 * accessible to some users. Still, it's commonly used. 
 * 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
 */
:where(abbr[title]) {
  cursor: help;
  text-decoration-line: underline;
  text-decoration-style: dotted;
}

/**
 * Optimize mark element in Forced Colors Mode
 *
 * The colors of the mark element don't change in Forced Colors Mode,
 * which can be problematic. Use system colors instead.
 * 
 * See https://adrianroselli.com/2017/12/tweaking-text-level-styles.html#MarkWHCM
 */
@media (forced-colors: active) {
  mark {
    color: HighlightText;
    background-color: Highlight;
  }
}
/**
 * Announce del, ins, and s to screen readers
 * 
 * With the exception of NVDA (2024.4.2), which announces "deletion",
 * none of the common screen readers announces the <s> element.
 * Voice Over on macOS and iOS and Narrator don't announce 
 * <ins> and <del>. Usually, screen readers not announcing text-level
 * semantics is something we just accept, but devs using elements 
 * like <s> without knowing that they may not convey semantics is a 
 * common issue. We announce the start and end of stricken, inserted,
 * and deleted content with pseudo-elements. For languages other 
 * than English, you should provide translations, e.g. :lang(de) 
 * :where(s::before) { content: "Durchgestrichener Text Beginn "; }
 * 
 * See https://adrianroselli.com/2017/12/tweaking-text-level-styles.html
 */
:where(del, ins, s)::before, :where(del, ins, s)::after {
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  content: "test";
}

:where(s)::before {
  content: "stricken text start ";
}
:where(s)::after {
  content: " stricken text end";
}

:where(del)::before {
  content: "deletion start ";
}
:where(del)::after {
  content: " deletion end";
}

:where(ins)::before {
  content: "insertion start ";
}
:where(ins)::after {
  content: " insertion end";
}

/**
 * Avoid overflow caused by embedded content
 * 
 * Ensure that embedded content (audio, video, images, etc.) 
 * doesn't overflow its container.
 */
:where(audio, iframe, img, svg, video) {
  max-block-size: 100%;
  max-inline-size: 100%;
}

/**
 * Prevent fieldsets from causing overflow
 *
 * Reset the default `min-inline-size: min-content` to prevent
 * children from stretching fieldsets
 *
 * See https://github.com/twbs/bootstrap/issues/12359
 * and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
 */
:where(fieldset) {
  min-inline-size: 0;
}

/**
 * Turn labels into block elements
 * 
 * Labels for inputs, selects, and textarea should be block 
 * elements.
 */
:where(label):has(+ :where(textarea, input, select)) {
  display: block;
}

/**
 * Increase the block-size of textareas
 *
 * The default height of textareas is small. We increase it a bit.
 */
:where(textarea:not([rows])) {
  min-block-size: 6em;
}

/**
 * Inherit font styling in form elements
 * 
 * buttons, inputs, selects, and textarea should have the same font
 * family and size as the rest of the page.
 */
:where(button, input, select, textarea) {
  font-family: inherit;
  font-size: inherit;
}

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

/* iOS only */
@supports (-webkit-touch-callout: none) {
  :where([type=search]) {
    border: 1px solid -apple-system-secondary-label;
    background-color: canvas;
  }
}
/**
 * Maintain direction in some input types
 * 
 * Some input types should remain left-aligned in right-to-left
 * languages,but only if the value isn't empty because the 
 * placeholder should be right-aligned.
 *
 * See https://rtlstyling.com/posts/rtl-styling#form-inputs
 */
:where([type=tel], [type=url], [type=email], [type=number]):not(:placeholder-shown) {
  direction: ltr;
}

/**
 * Improve table styling
 *  
 * With the default styling, tables are hard to scan. These rules 
 * add padding and collapsed borders.
 */
:where(table) {
  border-collapse: collapse;
  border: 1px solid;
}

:where(th, td) {
  border: 1px solid;
  padding: 0.25em 0.5em;
}

/**
 * Fading dialogs
 *  
 * Add fade in and fade out transitions for the dialog element
 * and backdrops
 */
:where(dialog) {
  opacity: 0;
  transition: opacity 300ms ease-out, display 300ms allow-discrete, overlay 300ms allow-discrete;
}
:where(dialog)::backdrop {
  background: oklch(0% 0 0/0.3);
  opacity: 0;
  transition: opacity 300ms ease-out, display 300ms allow-discrete, overlay 300ms allow-discrete;
}

:where(dialog[open]) {
  opacity: 1;
}
:where(dialog[open])::backdrop {
  opacity: 1;
}

@starting-style {
  :where(dialog[open]) {
    opacity: 0;
  }
  :where(dialog[open])::backdrop {
    opacity: 0;
  }
}
/**
 * Increase specificity of [hidden]
 *  
 * Make it harder to accidentally unhide elements with the 
 * [hidden] attribute while still maintaining the until-found 
 * functionality.
 */
[hidden]:not([hidden=until-found]) {
  display: none !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "TsukuGoPro-B-HelveticaNowTextMedium" !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: none !important;
  letter-spacing: 0.05px !important;
}

body,
p,
li,
button,
input,
label {
  font-family: "TsukuGoPr5-R-HelveticaNowTextLight" !important;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.125rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.05px !important;
}

p {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.125rem) !important;
}

strong,
b,
th {
  font-family: "TsukuGoPro-B-HelveticaNowTextMedium", sans-serif !important;
  font-weight: 700 !important;
}

a {
  outline: none !important;
}

input:focus {
  outline: none !important;
}

input[type=email],
input[type=number],
input[type=password],
input[type=reset],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
  padding: 0.2em 0.5em !important;
}

.wp-block-search__inside-wrapper .wp-block-search__input {
  border-color: var(--ast-global-color-3) !important;
  border-right: none !important;
}

.elementor-posts .elementor-post__title {
  font-size: 30px !important;
}

.post-286 h1 {
  font-family: "HelveticaNeueeTextPro-Bold" !important;
  font-weight: 900 !important;
  letter-spacing: -7px !important;
  font-size: 250px !important;
}

form[CLASS*=wp-block-search__].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button.has-icon {
  padding-top: 5px;
  padding-right: 15px;
  padding-bottom: 5px;
  padding-left: 15px;
}

.wp-block-search__inside-wrapper .wp-block-search__input {
  padding: 0 6px !important;
}

.ast-search-menu-icon.slide-search a:focus-visible:focus-visible,
.astra-search-icon:focus-visible,
#close:focus-visible,
a:focus-visible,
.ast-menu-toggle:focus-visible,
.site .skip-link:focus-visible,
.wp-block-loginout input:focus-visible,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.ast-header-navigation-arrow:focus-visible,
.woocommerce .wc-proceed-to-checkout > .checkout-button:focus-visible,
.woocommerce .woocommerce-MyAccount-navigation ul li a:focus-visible,
.ast-orders-table__row .ast-orders-table__cell:focus-visible,
.woocommerce .woocommerce-order-details .order-again > .button:focus-visible,
.woocommerce .woocommerce-message a.button.wc-forward:focus-visible,
.woocommerce #minus_qty:focus-visible,
.woocommerce #plus_qty:focus-visible,
a#ast-apply-coupon:focus-visible,
.woocommerce .woocommerce-info a:focus-visible,
.woocommerce .astra-shop-summary-wrap a:focus-visible,
.woocommerce a.wc-forward:focus-visible,
#ast-apply-coupon:focus-visible,
.woocommerce-js .woocommerce-mini-cart-item a.remove:focus-visible,
#close:focus-visible,
.button.search-submit:focus-visible,
#search_submit:focus,
.normal-search:focus-visible,
.ast-header-account-wrap:focus-visible,
.woocommerce .ast-on-card-button.ast-quick-view-trigger:focus,
.astra-cart-drawer-close:focus,
.ast-single-variation:focus,
.ast-woocommerce-product-gallery__image:focus,
.ast-button:focus {
  outline: none !important;
  display: flex !important;
}

ol.wp-block-latest-comments {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.elementor-widget-sidebar li {
  font-size: 14px !important;
}
.elementor-widget-sidebar h2 {
  margin-top: 2rem !important;
}

.wp-block-latest-posts,
.wp-block-latest-comments,
.wp-block-categories-list {
  margin-top: 1rem !important;
}
.wp-block-latest-posts > li > *, .wp-block-latest-posts:not(.is-grid) > li,
.wp-block-latest-comments > li > *,
.wp-block-latest-comments:not(.is-grid) > li,
.wp-block-categories-list > li > *,
.wp-block-categories-list:not(.is-grid) > li {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  line-height: 1 !important;
}