/*
Theme Name: JS Company
Theme URI: 
Author: Your Name
Author URI: 
Description: Custom theme for JS Company website
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: js-company
*/

/* Reset CSS */
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}

/* モバイル表示専用の改行クラス */
.mobile-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .mobile-only {
    display: inline;
  }
}

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: 0.75;
}

@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;
}

/* 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;
  overflow: hidden;
  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;
  overflow: hidden;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
/* リンクボタンのスタイル */
.link-buttons {
  width: 100%;
  margin-left: 50%;
  transform: translateX(-50%);
  position: relative;
  left: 0;
  margin-top: 0px;
  z-index: 1;
}
.link-buttons-container {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  max-height: 380px;
}
.link-button {
  width: 50%;
  position: relative;
  overflow: hidden;
}
.link-button video {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  display: block;
}
.link-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.link-button .move-icon {
  position: absolute;
  transition: transform 0.3s ease;
}
.recruit-button .move-icon {
  bottom: 80px;
  right: 80px;
  width: 270px;
  height: 32px;
}
.contact-button .move-icon {
  bottom: 85px;
  right: 80px;
  width: 400px;
  height: 32px;
}
.recruit-button:hover .move-icon,
.contact-button:hover .move-icon {
  transform: translateX(20px);
}
.link-button-content {
  position: absolute;
  top: 80px;
  left: 90px;
  z-index: 1;
}
.link-button-title {
  color: #333;
  font-family: "Noto Sans JP";
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 4.8px;
  margin-bottom: 10px;
}
.link-button-subtitle {
  color: #333;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 2.4px;
}
/* お問い合わせボタンの文字色を白に */
.contact-button .link-button-title,
.contact-button .link-button-subtitle {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .link-buttons-container {
    flex-direction: column;
  }

  .link-button {
    width: 100%;
  }

  .link-button-title {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .link-button-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }
}
@media screen and (max-width: 575px) {
  .link-button-content {
    top: 30px;
    left: 30px;
  }
  .link-button-title {
    font-size: 24px;
    letter-spacing: 3.6px;
  }

  .link-button-subtitle {
    font-size: 12px;
    letter-spacing: 1.8px;
  }

  .recruit-button .move-icon,
  .return-button .move-icon {
    bottom: 23px;
    right: 27px;
    width: 172px;
    height: 20px;
  }

  .contact-button .move-icon {
    bottom: 26px;
    right: 26px;
    width: 263px;
    height: 21px;
  }
}
