@charset "UTF-8";
:root {
  --main-color: #00a1ea;
  --sub-color: #97F36B;
  --kitakyu-bg: #f18d00;
  --fukuoka-bg: #008437;
}
body {
  color: #666;
}
#wrapper {
  max-width: 100%;
}
#content {
  padding: 0;
}
.inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px;
}
.indent {
  text-indent: -1em;
  padding-left: 1em;
}
header.top {
  position: sticky;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.78);
  .flex {
    gap: 10px;
    justify-content: space-between;
  }
  & h1 {
    flex: 0 0 320px;
    & img {
      width: 300px;
    }
  }
  #mainnav {
    flex: auto;
    & ul {
      justify-content: flex-end;
      & li {
        border: none;
        flex: initial;
        & a {
          background-color: transparent;
          color: #333;
        }
      }
    }
  }
}
.greeting {
  width: fit-content;
  max-width: 1200px;
  margin: 20px auto 30px;
  font-size: 1.2rem;
  line-height: 2em;
  text-align: center;
    & h3 {
        font-size: 2rem;margin-bottom: 10px;
        border-bottom: solid 3px var(--main-color);
        padding-bottom: 10px;
    }
    & ul {
        & li {
            border-bottom: dotted 1px #999;
        }
    }
    
}
p.entry.mcafe {
        & a {
            display: block;
            margin: 50px auto;
            width: 100%;
            max-width: 25em;
            background-color: var(--main-color);
            line-height: 1.3em;
            padding: 12px 20px 10px;
            text-align: center;
            color: #fff;
            font-size: 1.5rem;
            border-radius: 10px;
        }
    }
p.nodata {
		text-align: center;
		font-size: 1.2rem;
	margin: 50px;
	}
.cafes {
    background-color: #DFECFF;padding: 50px 0;
	.showcase-header {
		margin-bottom: 30px;
		& h2 {
			font-size: 2rem;
			text-align: center;
		}
		& p {
			text-align: center;
		}
		.flex {
			margin-top: 30px;
		}
	}
    .showcase-subtitle {
        margin-bottom: 20px;
		
    }
    .desc {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
  .flex {
    justify-content: space-around;
    gap: 20px;
    .cafe {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
      overflow: hidden;
      padding: 20px;
      & h3 {
        font-size: 1.5rem;
      }
    }
  }
    .can_mcafe {
        margin-top: 20px;
        text-align: left;
        & h3 {
            font-size: 1.5rem;
            text-align: center;
           margin: 30px;
        }
        .grid {
            display: grid;
            grid-template-columns: auto auto auto auto;
            gap: 20px;
            & dl {
                & dt {
                    background-color: #8cc63f;
                    color: #fff;
                    text-align: center;
                    border-radius: 50px;
                    font-size: 1.2rem;
                    line-height: 1em;
                    padding: 5px 5px 2px;margin-bottom: 10px;
                }
                & dd {
                    & img {
                        float: left;
                        height: 80px;
                        width: auto;
                        margin-right: 20px;
                    }
                }
            }
        }
    }
}
.news {
  background-color: #f6f6f6;
  padding: 80px 0;
  & h2 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: bold;
  }
  .items {
    .item {
      display: grid;
      gap: 10px 20px;
      grid-template-columns: 8em 8em auto;
      border-top: solid 1px #ccc;
      padding: 30px 0;
      .cate {
        & a {
          color: #333;
          font-size: 0.8em;
          border: solid 1px #ccc;
          display: inline-block;
          border-radius: 30px;
          line-height: 1em;
          padding: 5px 10px 2px;
        }
      }
      .title {
        & a {
          color: #333;
        }
      }
    }
    :first-child {
      border: none;
    }
  }
}
.companys {
	.home-companies-empty {
		& p {
			text-align: center;
			margin: 50px;
		}
	}
}
.seekers {
	.home-jobs-empty {
		& p {
			text-align: center;
			margin: 50px;
		}
	}
}
.contact {
  padding: 50px 0;
  & h2 {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
  }
  #forminator-module-9.forminator-ui {
    max-width: 800px;
    margin: 30px auto;
  }
}
.slidein, .slidein2 {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 1.0s;
  &.slidein-left {
    transform: translate(-100%, 0);
  }
  &.slidein-right {
    transform: translate(100%, 0);
  }
  &.slidein-up {
    transform: translate(0, -100%);
  }
  &.slidein-bottom {
    transform: translate(0, 50%);
  }
  &.scrollin {
    transform: translate(0, 0) !important;
    opacity: 1 !important;
  }
}
.wpcf7cp-btns {
  text-align: center;
}
#confirmation {
  margin: 10px;
  & ol {
    margin: 1em 2em;
    li {
      list-style-type: decimal;
    }
  }
}
.fixed-button {
  position: fixed;
  top: 120px;
  right: 0px;
  background-color: #28a745;
  color: white;
  border: none;
  padding: 15px 10px;
  font-size: 16px;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  z-index: 50;
  font-size: 1.2rem;
  writing-mode: vertical-rl; /* 縦書きの設定 */
  text-orientation: upright; /* 文字の方向を直立に */
  letter-spacing: 2px;
}
.fixed-button.contact {
  top: 270px;
  background-color: #f90;
}
.fixed-button:hover {
  background-color: #218838;
  text-decoration: none;
}
.fixed-button.contact:hover {
  background-color: #c70;
  text-decoration: none;
}
#confirmation {
  border: solid 1px #ccc;
  background-color: #fff;
  margin: 5px;
  padding: 10px;
  height: 200px;
  overflow-y: auto;
  & dl {
    margin-top: 10px;
    & dd {
      margin-bottom: 0.5em;
      padding-left: 1em;
    }
  }
}
.wpcf7-form {
  & input.wpcf7-form-control {
    padding: 2px 10px 1px;
  }
  & input.address {
    width: 90%;
  }
  & table {
    & table {
      width: 100%;
    }
  }
}
.privacy {
  & h3 {
    font-size: 1.5rem;
    margin: 30px 0 10px;
  }
  & p {
    margin: 10px;
  }
  & ul {
    margin: 20px;
  }
}
footer {
  background-color: var(--main-color);
  color: #fff;
  padding: 50px;
  & a {
    color: #fff;
  }
  & h3 {
    display: inline-block;
    background-color: #fff;
    padding: 5px 20px 3px;
    margin: 10px auto;
    color: #333;
    border-radius: 10px;
  }
    .menu-footermenu-container {
        & ul {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 0.8rem;
        }
    }
}
/* 新着情報 */
.single-post {
    #content {
        gap: 20px;
        margin-bottom: 20px;
    }
    #mainbox {
        flex: 0 1 75%;
        & h1 {
            font-size: 2rem;
            
        }
        & article {
            & h2 {
                font-size: 1.5rem;
                border-bottom: solid 1px #999;
                
            }
            .newsdate {
                text-align: right;
            }
        }
        
    }
    #subbox {
        flex: 0 1 25%;
        & aside {
            border: solid 1px #999;
            border-radius: 10px;
            padding: 10px;
            margin-bottom: 20px;
            .wp-block-search__label {
                display: none;
            }
            & h2 {
                padding-bottom: 5px;
                border-bottom: dotted 1px #999;
                margin-bottom: 10px;
            }
            & ul {
                & li {
                    & a {
                       display: block;margin-top: 10px; 
                        color: #333;
                        &::before {
                        content: '▶︎';
                        margin-right: 10px;
                    }
                    }
                }
            }
        }
    }
}

/* 企業カード */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.company-card {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.company-card h3 {
  color: #333;
  margin-bottom: 10px;
}
.employee-count {
  color: #666;
  font-size: 14px;
}
.contact-btn {
  background: #007cba;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  margin-top: 10px;
}
/* 求人リスト */
.jobs-list {
  margin: 20px 0;
}
.job-item {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #fff;
}
.job-item h3 a {
  color: #333;
  text-decoration: none;
}
.company-name {
  font-weight: bold;
  color: #007cba;
}
/* フォームスタイル */
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn-primary {
  background: #007cba;
  color: white;
}
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
}
/* 求人管理テーブル */
.company-jobs-management {
  margin: 20px 0;
}
.management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ddd;
}
.jobs-management-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.jobs-management-table th, .jobs-management-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.jobs-management-table th {
  background: #f8f9fa;
  font-weight: bold;
  color: #333;
}
.jobs-management-table tr:hover {
  background: #f8f9fa;
}
.row-actions {
  margin-top: 5px;
  font-size: 12px;
}
.row-actions a {
  color: #666;
  text-decoration: none;
  margin-right: 10px;
}
.row-actions a:hover {
  color: #007cba;
}
.status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}
.status-publish {

}
.status-draft {
  background: #f8d7da;
  color: #721c24;
}
.actions {
  white-space: nowrap;
}
.btn-small {
  padding: 6px 12px;
  font-size: 12px;
  margin-right: 5px;
}
.btn-edit {
  background: #007cba;
  color: white;
}
.btn-delete {
  background: #dc3545;
  color: white;
}
.btn-secondary {
  background: #6c757d;
  color: white;
  text-decoration: none;
  display: inline-block;
}
.form-actions {
  margin-top: 20px;
}
.form-actions .btn {
  margin-right: 10px;
}
.no-jobs {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 8px;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .jobs-management-table {
    font-size: 14px;
  }
  .jobs-management-table th, .jobs-management-table td {
    padding: 8px 4px;
  }
  .management-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
}
@media screen and (max-width: 559px) {
  .alignright {
    float: none;
    margin: 0;
  }
  header {
    & h1 {
      text-align: center;
      & a {
        & img {
          width: 90%;
        }
      }
    }
  }
  .homeimgbt {
    & .btbox {
      & li {
        line-height: 1.3em;
        & a {
          padding: 8px 5px 5px;
          margin-bottom: 10px;
        }
      }
    }
  }
  span.bt {
    position: fixed;
    display: block;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 100;
    text-align: center;
    padding-top: 10px;
    & a {
      position: static;
      display: inline-block;
      writing-mode: horizontal-tb;
      text-orientation: mixed;
      border-radius: 10px;
    }
  }
  a.pagetop {
    bottom: 90px;
  }
  #content {
    & table {
      & tr:nth-child(odd) {
        background-color: transparent;
      }
    }
  }
    .greeting {
        & h3 {
            font-size: 1.5rem;
        }
    }
    .news {
        .items {
            .item {
                display: block;
            }
        }
    }
    .cafes {
        .desc {
            font-size: 1rem;
            text-align: left;
            & br {
                display: none;
            }
        }
        .flex {
            .cafe {
                margin-bottom: 20px;
            }
        }
        .can_mcafe {
            .grid {
                display: block;
                & dl {
                    clear: left;
                    & dt {
                        margin-top: 20px;
                    }
                    & dd {
                        & img {
                            margin-bottom: 20px;
                        }
                    }
                }
            }
        }
    }
  .text {
    & h2 {
      padding-bottom: 30px;
    }
    & p {
      padding: 0px 30px 20px;
      font-size: 0.7rem;
    }
  }
  .courses {
    & archive {
      & ul.flex {
        display: flex;
        justify-content: flex-start;
      }
      & header {
        position: static;
        & h3 {
          font-size: 1.5rem;
        }
      }
      & .details {
        & tr {
          & th {
            width: auto;
            padding-bottom: 10px;
            clip-path: polygon(0% 0%, /* 左上 */ 100% 0%, /* 右上 */ 100% 80%, /* 右の中央を少し右に */ 50% 100%, /* 右下 */ 0% 80% /* 左下 */ );
          }
          & td {
            padding: 20px 0;
            font-size: 1rem;
            text-align: center;
          }
        }
      }
      .itpasport {
        word-break: break-all;
        margin: 20px 0;
      }
    }
  }
  .text2 {
    .caution {
      margin: 20px 10px;
      font-size: 1rem;
    }
  }
  .slidein, .slidein2 {
    opacity: 0;
    transform: translate(0, 0);
    transition: all 1.0s;
    &.slidein-left {
      transform: translate(-100%, 0);
    }
    &.slidein-right {
      transform: translate(100%, 0);
    }
    &.slidein-up {
      transform: translate(0, -100%);
    }
    &.slidein-bottom {
      transform: translate(0, 50px);
    }
    &.scrollin {
      transform: translate(0, 0) !important;
      opacity: 1 !important;
    }
  }
  .voices {
    & .introduction {
      & figure {
        text-align: center;
        margin: 20px;
      }
    }
  }
  .place {
    .flex {
      display: block;
      .fukuoka {
        margin-bottom: 20px;
      }
    }
  }
  .syousai {
    padding: 10px;
    .inner {
      margin-bottom: 20px;
      & figure {
        height: 200px;
        text-align: center;
      }
    }
  }
  #confirmation {
    width: 90vw;
  }
  footer {
    padding: 20px;
  }
  main {
    & section {
      padding: 20px 10px;
      & h2 {
        font-size: 1.5rem;
      }
      & p {
        font-size: 0.9rem;
      }
      & ul {
        & li {
          font-size: 0.9rem;
        }
      }
      .date {
        font-size: 1.5rem;
      }
    }
  }
  .wpcf7-form {
    & input.wpcf7-submit {
      font-size: 1.5rem;
      width: auto;
    }
    & input {
      font-size: 1.0rem;
      width: 80%;
    }
    & input[type="radio"], input[type="checkbox"] {
      width: auto;
    }
  }
}