/*
Theme Name: sample
* contents max width 1200px
*/
@import "css/gridlayout.css"; /* gridlayout template */
@import "css/normalize.css"; /* normalize css */
@import "css/font-awesome.min.css"; /* font-awesome */
/* root */
:root {
  /* ベースカラー */
  --color_white: #ffffff;
  --color_black: #000000;
  --color_bg: #dff1f9;
  --color_text: #333333;
  --color_text_light:#666666;

  /* ブランドカラー */
  --color_primary: #fd0000;
  --color_primary_light: #ff6060;
  --color_secondary: #e75649;
  --color_secondary_dark: #943830;

  /* アクセント・状態カラー */
  --color_accent: #FFDB43;
  --color_link: #4682b4;
  --color_link_hover: #b22222;
  --color_01: #fff2f3;
  --color_02: #fff8dc;
  --color_03: #d8f1ff;
  --color_04: #E0E0E0;
  --color_05: #fff193;
  --color_stripe: #a6cbf0;
  --color_stripe_dark: #83afd8;

  /* フォントウェイト */
  --font_weight_light: 100;
  --font_weight_regular: 400;
  --font_weight_bold: 700;

  /* フォントサイズ */
  --font_size_xxs: 10px;
  --font_size_xs: 12px;
  --font_size_sm: 14px;
  --font_size_md: 16px;
  --font_size_lg: 18px;
  --font_size_xl: 20px;
  --font_size_2xl: 24px;
  --font_size_3xl: 32px;

  /* マージン・パディング */
  --space_xxs: 4px;
  --space_xs: 8px;
  --space_sm: 12px;
  --space_md: 16px;
  --space_lg: 24px;
  --space_xl: 32px;
  --space_2xl: 48px;
  --space_3xl: 64px;

  /* ボーダー・シャドウ */
  --border_radius_sm: 4px;
  --border_radius_md: 8px;
  --border_radius_lg: 16px;
  --border_radius_circle: 50%;

  --shadow_sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow_md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow_lg: 0 10px 20px rgba(0,0,0,0.15);

  /* swiper */
  --swiper-navigation-size: 22px;
  --swiper-theme-color: rgba(0, 0, 0, 0.5);
  --swiper-pagination-bullet-width: 12px;
  --swiper-pagination-bullet-height: 12px;
  --swiper-pagination-bullet-size: 12px;
  --swiper-pagination-bullet-horizontal-gap: 8px;
}
/* font-face
----------------------------------------------------------
font-family: 'M PLUS 1p', sans-serif;
font-weight: 100,400,700;
----------------------------------------------------------*/
* {
  font-family: 'M PLUS 1p',
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  margin: 0;
}
body {
  color: var(--color_text);
  background-color: var(--color_bg);
  background-image: url('images/bg_img.png');
  background-repeat: repeat;
}
p {
  margin: 0 0 var(--space_md) 0;
}
a,
a img {
  transition: all 0.3s ease;
  color: var(--color_link);
}
a:hover,
a img:hover {
  opacity: 0.8;
}
a:hover {
  color: var(--color_link_hover);
  text-decoration: underline;
}
img {
  width: 100%;
  height: auto;
}
.sp_view {
  display: none;
}
/*header
----------------------------------------------------------*/
header,
footer {
  background-color: var(--color_bg);
}
header h1.logo {
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  padding: var(--space_xxs) 0;
}
header h1.logo img {
  width: 165px;
  height: auto;
}
/* footer
----------------------------------------------------------*/
footer {
  width: 100%;
  padding: var(--space_md) 0;
  text-align: center;
}
.copy {
  font-size: var(--font_size_sm);
}
.to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background: var(--color_secondary);
  color: var(--color_white);
  text-decoration: none;
  border-radius: var(--border_radius_circle);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}
.to-top:hover {
  opacity: 0.8;
  text-decoration: none;
  color: var(--color_white);
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.to-top:hover.show {
  opacity: 0.8;
}
/*menu
----------------------------------------------------------*/
/* メニューの共通スタイル */
.global_menu {
  position: relative;
  width: 1060px;
  margin: 0 auto var(--space_lg);
  padding: 0;
}
.global_menu ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global_menu li {
  flex: 1;
  text-align: center;
  position: relative;
}
.global_menu li a {
  display: block;
  padding: var(--space_xs) 0;
  color: var(--color_text);
  font-size: var(--font_size_sm);
  font-weight: var(--font_weight_bold);
  background-color: var(--color_white);
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.global_menu li:first-child a {
  border-radius: var(--border_radius_md) 0 0 var(--border_radius_md);
}
.global_menu li:last-child a {
  border-radius: 0 var(--border_radius_md) var(--border_radius_md) 0 ;
}
.global_menu li a:hover{
  background-color: var(--color_accent);
}
/* チェックボックスは非表示 */
input[type="checkbox"].menu-toggle {
  display: none;
}
/* ハンバーガーアイコン（label） */
.menu-icon {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  width: 30px;
  height: 24px;
  z-index: 1003;
  cursor: pointer;
}
.menu-icon span {
  display: block;
  position: relative;
  width: 100%;
  height: 3px;
  background-color: var(--color_text);
  transition: background-color 0.3s ease;
}
.menu-icon span::before,
.menu-icon span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: var(--border_radius_sm);
  background-color: var(--color_text);
  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}
.menu-icon span::before {
  top: -8px;
}
.menu-icon span::after {
  bottom: -8px;
}
/* メニュー展開時：中央線を透明にし、上下線で「×」を作る */
.menu-toggle:checked + .menu-icon span {
  background-color: transparent;
}
.menu-toggle:checked + .menu-icon span::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle:checked + .menu-icon span::after {
  bottom: 0;
  transform: rotate(-45deg);
}
/* オーバーレイ */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
.menu-toggle:checked ~ .overlay {
  display: block;
}
/* container
----------------------------------------------------------*/
.container {
  background-color: var(--color_white);
  border-radius: var(--border_radius_md);
  margin-bottom: var(--space_lg);
}
.blklink_btn a {
  display: block;
  text-align: right;
  padding: 0;
  margin: 0;
  line-height: 0;
}
.blklink_btn a img {
  width: auto;
  height: 26px;
}
#category .blklink_btn a img,
#information .blklink_btn a img,
#other .blklink_btn a img {
  width: auto;
  height: 32px;
}
/* TOP
==========================================================*/
/* swiper
----------------------------------------------------------*/
.swiper_cont {
  position: relative;
}
.swiper-pagination {
  bottom: -32px !important;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-family: 'FontAwesome';
  font-weight: var(--font_weight_bold);
}
.swiper-button-next::after {
  content: "\f138";
}
.swiper-button-prev::after {
  content: "\f137";
}
.swiper {
  width: 100%;
  height: 100%;
  border-radius: var(--border_radius_md);
}
.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
/* staff blog
----------------------------------------------------------*/
.staff_blog_cont {
  background-color: var(--color_01);
  padding: var(--space_sm) var(--space_md) var(--space_md);
  border-radius: var(--border_radius_md);
}
.staff_blog_cont h2 {
  margin-top: 0;
}
.ameblo_list .ameblo_item {
  border-bottom: 1px solid var(--color_04);
  padding-bottom: var(--space_lg);
  margin-bottom: var(--space_lg);
}
.ameblo_list .ameblo_item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ameblo_list .ameblo_item a {
  display: flex;
  gap: var(--space_sm);
  color: var(--color_text);
}
.ameblo_list .ameblo_item a .ameblo_img {
  flex: 1;
  line-height: 0;
}
.ameblo_list .ameblo_item a .ameblo_text {
  flex: 3;
}
.ameblo_list .ameblo_item a .ameblo_text h3 {
  font-size: var(--font_size_md);
  margin: 0 0 var(--space_xs) 0;
}
.ameblo_list .ameblo_item a .ameblo_text p {
  font-size: var(--font_size_xs);
  color: var(--color_text_light);
  margin: 0;
}
/* information
----------------------------------------------------------*/
.information {
  background-color: var(--color_02);
  padding: 0 var(--space_sm) var(--space_md) var(--space_md);
  border-radius: var(--border_radius_md);
}
.information h2 img {
  width: auto;
  height: 60px;
}
.information ul {
  list-style: none;
}
.information li {
  border-bottom: 1px solid var(--color_04);
  padding-bottom: var(--space_lg);
  margin-bottom: var(--space_lg);
}
.information li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.information li a {
  display: flex;
  gap: var(--space_sm);
  color: var(--color_text);
}
.information_img {
  flex: 1;
  line-height: 0;
}
.information_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.information_text {
  flex: 7;
}
.information_text h3 {
  font-size: var(--font_size_md);
  margin: 0 0 var(--space_xs) 0;
}
.information_text p {
  font-size: var(--font_size_xs);
  color: var(--color_text_light);
}
.information_text p.day {
  font-size: var(--font_size_xs);
}
/* gallery
----------------------------------------------------------*/
.instragram {
  background-color: var(--color_03);
  padding: 0 var(--space_sm) var(--space_md) var(--space_md);
  border-radius: var(--border_radius_md);
}
.instragram h2 img {
  width: auto;
  height: 60px;
}
/* banner
----------------------------------------------------------*/
ul.banner {
  display: flex;
  list-style: none;
  width: 100%;
  gap: var(--space_sm);
  list-style: none;
  justify-content: center;
}
ul.banner li img {
  width: auto;
  height: 40px;
}
/* PAGE
==========================================================*/
#page h2:has(img) {
  margin: 0 0 var(--space_lg) 0;
  line-height: 0;
}
#page h2 img{
  width: auto;
  height: 80px;
}
/* FAQ/accomplishment(派遣実績)
----------------------------------------------------------*/
.faq h3,
.accomplishment h3 {
  font-size: var(--font_size_lg);
  margin: var(--space_md) 0;
  padding: var(--space_xs) var(--space_md);
  background-color: var(--color_05);
  border-radius: var(--border_radius_md);
}
.faq p,
.accomplishment p {
  margin-bottom: var(--space_xl);
}
.faq p:last-child,
.accomplishment p:last-child {
  margin-bottom: 0;
}
.faq .wp-block-columns:last-child,
.accomplishment .wp-block-columns:last-child {
  margin-bottom: 0;
}
/* about_cont
----------------------------------------------------------*/
.about_cont {
  display: flex;
  gap: var(--space_lg);
}
.about_item {
  flex: 3;
}
.about_item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.side_menu {
  flex: 1;
}
.side_menu ul {
  list-style: none;
  margin: 0;
  background-color: var(--color_03);
  border-radius: var(--border_radius_md);
  padding: var(--space_sm);
}
.side_menu li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: var(--space_sm) var(--space_md) var(--space_sm) 2em;
  transition: all 0.3s ease;
}
.side_menu li a::before {
  position: absolute;
  font-family: "FontAwesome";
  content: '\f138';
  color: var(--color_black);
  margin-left: -1.5em;
}
.side_menu li a:hover {
  background-color: var(--color_white);
  border-radius: var(--border_radius_sm);
}
/* Category
==========================================================*/
#category h2:has(img) {
  margin: 0 0 var(--space_lg) 0;
  line-height: 0;
}
#category h2 img{
  width: auto;
  height: 80px;
}
.pagenavi {
  margin: 0 auto;
}
.wp-pagenavi a, .wp-pagenavi span {
  border-radius: var(--border_radius_sm);
}
/* staff
----------------------------------------------------------*/
.staff_toplist {
  border-bottom: 1px solid var(--color_04);
}
.staff_toplist:last-child {
  border-bottom: none;
}
.staff_thum img {
  border-radius: var(--border_radius_md);
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.job_title {
  font-size: var(--font_size_xl);
  font-weight: var(--font_weight_bold);
}
.joining {
  font-size: var(--font_size_md);
  margin-bottom: var(--space_md);
}
dl.program_cont dt {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 1.5em;
}
dl.program_cont dt::before {
  content: '';
  position: absolute;
  margin-left: -1.5em;
  width: 1em;
  height: 1em;
  background-image: url(images/arrow_r.jpg);
  background-size: contain;
}
dl.program_cont dd {
  margin-bottom: var(--space_lg);
}
.staff_dtl h3 {
  position: relative;
  font-size: var(--font_size_lg);
  display: flex;
  align-items: center;
  padding-left: 1.5em;
}
.staff_dtl h3::before {
  font-family: "FontAwesome";
  font-size: var(--font_size_2xl);
  content: '\f0d7';
  position: absolute;
  margin-left: -1em;
}
/* information
----------------------------------------------------------*/
.cate_information {
  padding: 0 var(--space_sm) var(--space_md) var(--space_md);
  border-radius: var(--border_radius_md);
}
.cate_information ul {
  list-style: none;
}
.cate_information li {
  border-bottom: 1px solid var(--color_04);
  padding-bottom: var(--space_lg);
  margin-bottom: var(--space_lg);
}
.cate_information li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cate_information li a {
  display: flex;
  gap: var(--space_sm);
  color: var(--color_text);
}
.cate_information_img {
  flex: 1;
  line-height: 0;
}
.cate_information_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cate_information_text {
  flex: 5;
}
.cate_information_text h3 {
  font-size: var(--font_size_md);
  margin: 0 0 var(--space_xs) 0;
}
.cate_information_text p {
  font-size: var(--font_size_xs);
  color: var(--color_text_light);
}
.cate_information_text p.day {
  font-size: var(--font_size_xs);
}
/*post*/
#information h2 {
  border: 3px solid var(--color_black);
  border-radius: var(--border_radius_md);
  background-image:
    linear-gradient(130deg,
    var(--color_stripe_dark) 7.14%,
    var(--color_stripe) 7.14%,
    var(--color_stripe) 50%,
    var(--color_stripe_dark) 50%,
    var(--color_stripe_dark) 57.14%,
    var(--color_stripe) 57.14%,
    var(--color_stripe) 100%);
  background-size: 9.14px 10.89px;
  margin: 0 0 var(--space_sm) 0;
  padding: var(--space_xs) var(--space_sm);
}
#information .day {
  text-align: right;
}
/*  #1200px- Tablet(Portrait) & Mobile (Landscape)
==================================================================================================== */
@media only screen and (min-width: 600px) and (max-width: 960px) {
    /*menu
  ----------------------------------------------------------*/
  .menu-icon {
    display: block;
  }
  .global_menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: var(--color_bg);
    transition: left 0.3s ease;
    z-index: 1002;
  }
  .global_menu ul {
    display: flex;
    flex-direction: column;
    padding-top: var(--space_3xl);
  }
  .global_menu li a {
    display: flex;
    align-items: center;
    font-size: var(--font_size_md);
    text-align: left;
    padding: var(--space_md) var(--space_md);
    border-bottom: 1px solid var(--color_black);
    background-color: var(--color_bg);
  }
  .global_menu li:first-child a,
  .global_menu li:last-child a {
    border-radius: 0;
  }
  .global_menu li a::before {
    content: '\f105';
    font-family: "FontAwesome";
    position: absolute;
    right: 20px;
  }
  .menu-toggle:checked ~ .global_menu {
    left: 0;
  }
  .overlay {
    cursor: pointer;
  }
  /* swiper
  ----------------------------------------------------------*/
  .swiper_cont {
    margin-bottom: var(--space_2xl);
  }
}
/*  #599px- Mobile (Portrait)
==================================================================================================== */
@media only screen and (max-width: 599px) {
  .pc_view {
    display: none;
  }
  .sp_view {
    display: block;
  }
  /*menu
  ----------------------------------------------------------*/
  .menu-icon {
    display: block;
  }
  .global_menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: var(--color_bg);
    transition: left 0.3s ease;
    z-index: 1002;
  }
  .global_menu ul {
    display: flex;
    flex-direction: column;
    padding-top: var(--space_3xl);
  }
  .global_menu li a {
    display: flex;
    align-items: center;
    font-size: var(--font_size_md);
    text-align: left;
    padding: var(--space_md) var(--space_md);
    border-bottom: 1px solid var(--color_black);
    background-color: var(--color_bg);
  }
  .global_menu li:first-child a,
  .global_menu li:last-child a {
    border-radius: 0;
  }
  .global_menu li a::before {
    content: '\f105';
    font-family: "FontAwesome";
    position: absolute;
    right: 20px;
  }
  .menu-toggle:checked ~ .global_menu {
    left: 0;
  }
  .overlay {
    cursor: pointer;
  }
  /* swiper
  ----------------------------------------------------------*/
  .swiper_cont {
    margin-bottom: var(--space_2xl);
  }
  /* staff blog
  ----------------------------------------------------------*/
  .ameblo_list .ameblo_item a .ameblo_text {
    flex: 2;
  }
  /* information
  ----------------------------------------------------------*/
  .information h2 img,
  .instragram h2 img {
    width: 100%;
    height: auto;
  }
  .information li a {
    align-items: flex-start;
  }
  .information {
    flex: 1.5;
  }
  .information img {
    object-fit: contain;
  }
  .information_text {
  flex: 2;
  }
  /* PAGE
  ==========================================================*/
  #page h2:has(img) {
    margin: 0 0 24px 0;
  }
  #page h2 img{
    width: 100%;
    height: auto;
  }
  /* about_cont
  ----------------------------------------------------------*/
  .about_cont {
    flex-direction: column;
  }
  /* Category
  ==========================================================*/
  .cate_information_text {
    flex: 2;
  }
  #category h2:has(img) {
    margin: 0 0 24px 0;
  }
  #category h2 img{
    width: 100%;
    height: auto;
  }
  /* staff
  ----------------------------------------------------------*/
  .staff_toplist {
    margin-bottom: 24px;
  }
  .staff_thum {
    text-align: center;
  }
  .staff_thum img {
    width: 75%;
    height: auto;
  }
}
