@charset "UTF-8";
/*
Theme Name: 医療社団法人ONE TEAM公式サイト テーマ
Theme URI: https://www.haku89.com/
Author: gemco
Author URI: https://www.haku89.com/
Description: 医療社団法人ONE TEAM公式サイトのWordPressテーマ。「HAPPY ＆ WELLNESS あなたの幸せと健康をともに感じる」という理念の医療法人の企業のためのオリジナルテーマです。
Version: 1.0.0
License: GNU General Public License v2 or later
*/

/* ------------------------------
   ROOT VARIABLES
------------------------------ */
:root {
  --color-text: #000000;
  --color-main: #4d4d4d;
  --color-brand:#00aa44;
  --color-bg: #fff;
  --color-bg-light: #e6e6e6;
  --font-main: "Noto Sans JP", sans-serif;
  --container-width: 1280px;
  --gutter: 16px;
  --color-bl:#0d50d3;
  --color-gr:#92d216;
}

/* ------------------------------
   RESET CSS
   normalize + modern minimal reset
------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  font-weight: normal;
}

ul, ol,dl,dd,dt {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

textarea {
  resize: vertical;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

blockquote, figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid #ccc;
  outline-offset: 2px;
}

/* ===============================================
   PAGE TEMPLATE (右サイドバー付き)
=============================================== */

.page__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px var(--gutter);
}

/* メインコンテンツ */
.page__content {
  flex: 1 1 68%;
  max-width: 68%;
}

.page__title {
  font-size: 1.8rem;
  margin-bottom: 1em;
  font-weight: 700;
  border-bottom: 2px solid var(--color-main, #87774a);
  padding-bottom: 0.4em;
}

.page__body {
  line-height: 1.9;
  color: #222;
}

.page__body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5em 0;
}

/* サイドバー */
.page__sidebar {
  flex: 0 0 28%;
  max-width: 28%;
  background: #f9f7f3;
  border-left: 3px solid var(--color-main, #87774a);
  padding: 24px;
  border-radius: 8px;
}

.widget {
  margin-bottom: 2em;
}

.widget__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-main, #87774a);
  margin-bottom: 0.8em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3em;
}

.widget__list li {
  margin-bottom: 0.5em;
}

.widget__list a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget__list a:hover {
  color: var(--color-main, #87774a);
}

/* -----------------------------------------------
   レスポンシブ
----------------------------------------------- */
@media (max-width: 1024px) {
  .page__inner {
    gap: 30px;
  }
  .page__content {
    flex-basis: 65%;
    max-width: 65%;
  }
  .page__sidebar {
    flex-basis: 30%;
    max-width: 30%;
  }
}

@media (max-width: 768px) {
  .page__inner {
    flex-direction: column;
    padding: 40px var(--gutter);
  }
  .page__content,
  .page__sidebar {
    max-width: 100%;
  }
  .page__sidebar {
    border-left: none;
    border-top: 3px solid var(--color-main, #87774a);
  }
}

/* ===============================================
   ARCHIVE PAGE
=============================================== */

.archive__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px var(--gutter);
  justify-content: center;
}

.archive__content {
  flex: 1 1 68%;
  max-width: 68%;
}

.archive__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5em;
  border-bottom: 2px solid var(--color-main, #87774a);
  padding-bottom: 0.4em;
}

.archive__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.archive__item {
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

.archive__link {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.archive__link:hover { opacity: 0.8; }

.archive__thumb {
  flex: 0 0 30%;
  border-radius: 6px;
  overflow: hidden;
}
.archive__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.archive__meta {
  flex: 1;
}

.archive__post-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4em;
}

.archive__date {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.8em;
}

.archive__excerpt {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
}

/* pagination */
.pagination {
  margin-top: 60px;
  text-align: center;
}
.pagination .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 4px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.pagination .current,
.pagination .page-numbers:hover {
  background-color: #00aa44;
  color: #fff;
  border-color: #00aa44;
}

/* ===============================================
   404 PAGE
=============================================== */

.notfound {
  padding: 120px var(--gutter);
  text-align: center;
}

.notfound__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1em;
  color: var(--color-main, #87774a);
}

.notfound__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

.notfound__text .btn {
  margin-top: 2em;
  display: inline-block;
}

/* ===============================================
   SINGLE PAGE
=============================================== */

.single__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px var(--gutter);
  justify-content: center;
}

/* メインコンテンツ */
.single__content {
  flex: 1 1 68%;
  max-width: 68%;
}

.single__head {
  margin-bottom: 2em;
}

.single__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.6em;
  border-bottom: 2px solid var(--color-main, #87774a);
  padding-bottom: 0.4em;
  line-height: 1.4;
}

.single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1.5em;
}

.single__date {
  color: #999;
}

.single__cat a {
  color: var(--color-main, #87774a);
  text-decoration: none;
}
.single__cat a:hover {
  text-decoration: underline;
}

.single__thumb {
  margin-bottom: 2em;
  overflow: hidden;
  border-radius: 6px;
}
.single__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* 本文 */
.single__body {
  line-height: 1.9;
  color: #222;
}

.single__body h2,
.single__body h3 {
  margin-top: 2.5em;
  margin-bottom: 1em;
  line-height: 1.4;
}
.single__body h2 {
  font-size: 1.6rem;
  border-left: 4px solid var(--color-main, #87774a);
  padding-left: 0.5em;
}
.single__body h3 {
  font-size: 1.3rem;
  color: #444;
}

.single__body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5em 0;
}

/* タグ */
.single__tags {
  margin-top: 3em;
}
.single__tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.single__tags li {
  background: #f9f7f3;
  border: 1px solid #ddd;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.single__tags a {
  color: var(--color-main, #87774a);
  text-decoration: none;
}
.single__tags a:hover {
  text-decoration: underline;
}

/* 前後ナビゲーション */
.single__pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 4em;
  padding-top: 2em;
  border-top: 1px solid #eee;
}
.single__pagination a {
  color: var(--color-main, #87774a);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.single__pagination a:hover {
  opacity: 0.8;
}

/* ----------------------------------------
* side
---------------------------------------- */
.side-widget-area {
  padding: 0;
}

.side-widget {
  margin-bottom: 40px;
  padding-bottom: 40px;
  line-height: 1.6;
  font-size: 14px;
}
.side-widget .side-title {
  margin: 0 0 32px;
  font-size: 15px;
}
.side-widget ul li {
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}
.side-widget .side-title {
  margin: 0 0 13px;
  font-size: 16px;
}
.side-widget a {
  color: #5e6265;
  text-decoration: none;
}
.side-widget a:hover {
  color: #1b7bc1;
}
.side-widget.widget_recent_comments a {
  background: none;
}
.side-widget .post-date {
  margin: 0 0 0 36px;
  font-size: 13px;
  color: #999999;
}

#views-2 ul li span {
  margin: 0 0 0 36px;
  font-size: 13px;
  color: #999999;
}

.widget_recent_entries a,
.widget_archive a,
.widget_categories a,
.widget_meta a,
.side-widget a {
  color: #5e6265;
  text-decoration: none;
  padding-left: 36px;
  display: block;
  background: url("lib/images/icont_arw_lit.png?1418372717") left center
    no-repeat;
}

.widget_categories a {
  display: inline-block;
}

.widget_recent_entries a:hover,
.widget_archive a:hover,
.widget_categories a:hover,
.widget_meta a:hover,
.side-widget a:hover {
  color: #1b7bc1;
  background: url("lib/images/icon_arw_gry.png?1418372717") left center
    no-repeat;
}

/* comment */
.recentcomments {
  color: #808080;
  font-size: 12px;
}
.recentcomments a {
  color: #383838;
  font-size: 14px;
}

/* 実装中止----------- */
/* calendar */
.widget_calendar {
  border-radius: 3px;
  font-size: 16px;
}
.widget_calendar .side-widget-inner {
  border-radius: 3px;
  padding: 0 0 20px;
}
.widget_calendar table {
  width: 100%;
}
.widget_calendar caption {
  border-radius: 3px 3px 0 0;
  padding: 14px 20px;
  margin: 0 0 20px;
  font-size: 18px;
  text-align: center;
}
.widget_calendar a {
  color: #666;
}
.widget_calendar li {
  margin-bottom: 1em;
}
.widget_calendar thead,
.widget_calendar tfoot,
.widget_calendar tbody {
  margin: 0 20px;
}
.widget_calendar th,
.widget_calendar td {
  text-align: center;
  white-space: nowrap;
  padding: 8px;
}
.widget_calendar tbody a {
  display: block;
}
.widget_calendar tbody a:hover {
  text-decoration: none;
}


/* search */
.wp-block-search__button-outside {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  padding-bottom: 0;
  border-radius: 2px;
}
.wp-block-search__button-outside div {
  position: relative;
  padding-right: 40px;
}
.wp-block-search__button-outside label {
  display: none;
}
.wp-block-search__button-outside input[type=text] {
  line-height: 18px;
  padding: 8px 13px;
  font-size: 14px;
  box-sizing: border-box;
  border: none;
  float: left;
  width: 200px;
}
.wp-block-search__button-outside button {
  content: '';
  position: absolute;
  top: 10px;
  right: 8px;
  mask: url("assets/images/search.svg") no-repeat;
  mask-size: contain;
  width:18px;
  height:18px;
  background: #808080;
  transition: background .3s ease-in-out;
}

.wp-block-search__button-outside .wp-block-search__input{
  border:none !important;
}
.wp-block-search__button-outside button:hover {
  cursor: pointer;
}

