/*
Theme Name: cusTheYj
Theme URI: 
Author: yj
Author URI: 
Description: Custom theme for Yj
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: custheyj
*/

/* Reset CSS */
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}

/* 全体のリセット系 */
html,
body {
  margin: 0;
  padding: 0;
  /* overflow-x: hidden; */
}

@media screen and (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html {
  zoom: 1;
}

@media screen and (max-width: 480px) {
  html {
    zoom: 1;
  }
}

body {
  line-height: 1;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Base styles */
*,
*:before,
*:after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* WordPress Core CSS */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Global Layout */
.site-main {
  position: relative;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* 背景設定 */
.bg-features-section {
  background: url(../custheyj/assets/images/bg_features_pc.png) no-repeat center center;
  background-size: 100% 100%;
  position: relative;
}

.bg-column-section {
  background: url(../custheyj/assets/images/bg_column_section_pc.png) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  margin-top: -36%;
}

@media screen and (max-width: 768px) {
  .bg-features-section {
    background: url(../custheyj/assets/images/bg_features_sp.png) no-repeat center center;
    background-size: 100% 100%;
  }

  .bg-column-section {
  background: url(../custheyj/assets/images/bg_column_section_sp.png) no-repeat center center;
  background-size: cover;
  background-attachment: unset;
  margin-top: -64%;
  }
}

/* 各種独自設定 */
.a-block {
  display: block;
  width: 100%;
  height: auto;
}

.d-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.d-flex-st {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.fw-bold {
  font-weight: bold;
}

.t-center {
  text-align: center;
}

body {  
  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  body {  
    .pc-only {
      display: none;
    }

    .sp-only {
      display: block;
    }
  }
}

/* aタグ、buttonタグ、ボタン内のimgタグをホバー時に薄くする */
a:hover,
button:hover,
a img:hover,
button img:hover {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

a,
button,
a img,
button img {
  transition: opacity 0.3s ease;
}

/* カラー設定 */
.cl-000 {
  color: #000;
}

.cl-FFF {
  color: #FFF;
}

.bc-000 {
  background-color: #000;
}

.bc-FFF {
  background-color: #FFF;
}