@import url("https://fonts.googleapis.com/css2?family=BIZ+UDGothic:wght@400;700&family=Ropa+Sans&display=swap");
@import url("https://use.typekit.net/nnn2jhh.css");

/*
Theme Name: 神田法人会テーマ
Theme URI: http://underscores.me/
Author: qualia
Author URI: https://qualia-ga.co.jp
Description: Description
Version: 1.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kanda
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

kanda is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/*--------------------------------------------------------------
総会フォーム用カスタマイズ
----------------------------------------------------------------*/

.soukai-form div{
    margin-bottom: 2em;
}
.soukai-form .wpcf7-list-item:has(input[type="radio"]:checked) label {
    background-color: #ffb900; /* チェック時の背景色 */
}
.soukai-form .wpcf7-list-item:first-child{
    margin: 0;
}

.soukai-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    border: 0;
    border-radius: 5px;
    background-color: #efefef; /* 未選択時の背景色 */
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%; /* クリック範囲を広げる */
    box-sizing: border-box; /* paddingの影響で幅が崩れないように */
}

.soukai-form .wpcf7-list-item input[type="radio"] {
    appearance: none; /* デフォルトのラジオボタンスタイルを非表示に */
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff; /* 未選択時の背景色 */
    position: relative;
    margin-right: 8px; /* ラジオボタンと文字の間隔調整 */
}

.soukai-form .wpcf7-list-item input[type="radio"]:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #000; /* 内側の円の色を黒に変更 */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*ボタン部分装飾*/

.soukai-form .wpcf7cp-btns{
    margin: auto;
    text-align: center;
}

.soukai-form button.wpcf7cp-cfm-edit-btn,
.soukai-form button.wpcf7cp-cfm-submit-btn {
    background: #0098db;
    border: 2px solid #0098db;
    border-radius: 5px;
    padding: 0 2em;
    color: #fff;
    line-height: 4rem;
    text-indent: 0;
    box-shadow: 5px 5px 5px #00000029;
}
.soukai-form button.wpcf7cp-cfm-submit-btn:hover,
.soukai-form button.wpcf7cp-cfm-edit-btn:hover {
    opacity: 0.8;
    cursor: pointer;
}

.soukai-form button.wpcf7cp-cfm-edit-btn::before {
    padding-right: 1em;
    content: "\f0a8";
    /* 追記したコード */
    font-family: "Font Awesome 6 Free";
    /* 追記したコード */
    font-weight: 900;
    /* 追記したコード */
}

.soukai-form button.wpcf7cp-cfm-submit-btn::after {
    padding-left: 1em;
    content: "\f0a9";
    /* 追記したコード */
    font-family: "Font Awesome 6 Free";
    /* 追記したコード */
    font-weight: 900;
    /* 追記したコード */
}

@media (max-width:480px) {
    .wpcf7 .top_button input,
    .soukai-form .wpcf7-list-item label,
    .soukai-form button.wpcf7cp-cfm-edit-btn,
    .soukai-form button.wpcf7cp-cfm-submit-btn {
        font-size: 0.875rem;
    }
    .soukai-form .wpcf7-list-item label{
        padding: 15px;
    }

    .soukai-form button.wpcf7cp-cfm-edit-btn,
    .soukai-form button.wpcf7cp-cfm-submit-btn {
        padding: 0 1em;
    }
    .soukai-form button.wpcf7cp-cfm-edit-btn::before {
        padding-right: 0.5em;
    }
    .soukai-form button.wpcf7cp-cfm-submit-btn::after {
        padding-left: 0.5em;
    }
}


#wpcf7cpcnf table{
    border: solid 1px #d7d7d7;
    border-collapse: collapse;
}

#wpcf7cpcnf table th,
#wpcf7cpcnf table td{
    margin: 10px;
    border: solid 1px #d7d7d7;
    text-align: justify;
}

#wpcf7cpcnf table p{
    margin: 0;
}

@media (max-width:480px) {
    #wpcf7cpcnf table th,
    #wpcf7cpcnf table td{
        display: block;
        margin: 0;
        padding: 5px;
    }
    #wpcf7cpcnf table th{
        background-color:#d7d7d7;
    }

}



/*--------------------------------------------------------------
ポップアップ
----------------------------------------------------------------*/
.popup-password{
    line-height: 1.8;
}

.pum-close.popmake-close{
}

@media (max-width: 480px) {
    .pum-container.pum-responsive img.pc_only{display: none;}
}



/*--------------------------------------------------------------
アルティメットメンバー
----------------------------------------------------------------*/

/* 歯車クリックのPOPUP */
.um-new-dropdown{
    font-size: 14px !important;
}

/* TOP 登録情報バーの非表示 */
.home .um-profile-nav {
    display: none;
}


/* グループ一覧 */
.um-groups-directory .um-group-item .actions ul, .um-groups-directory .um-group-item .um-group-meta ul{
    margin-bottom: 0;
}
.um-groups-directory .um-group-item .actions ul li{
    font-size: 12px !important;
    margin-bottom: 0.3em;
}
.um-groups-directory .um-group-item .actions ul li:last-child{
    margin-bottom: 0;
}


/* グループ招待 会員一覧 */
.um-groups-members-list{
    padding-top: 40px;
    border-top: #f2f2f2 solid;
}
.um-groups-single .um-groups-invites-users-wrapper .um-member-directory-header .um-member-directory-header-row .um-member-directory-search-line{
    width: 100%;
}
.um-groups-single .um-groups-invites-users-wrapper .um-member-directory-header .um-member-directory-header-row .um-member-directory-search-line .um-do-search{
    color: #fff;
    background: #3ba1da;
    font-size: 12px;
    padding: 12px 15px!important;
    border-radius: 4px!important;
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
}


/* 会員一覧 編集ボタン */
.um-directory .um-members-wrapper .um-members.um-members-grid .um-member .um-member-card .um-members-edit-btn a.um-edit-profile-btn{
    min-width: auto !important;
}
.um-directory .um-members-wrapper .um-members.um-members-grid .um-member .um-member-card .um-members-edit-btn{
    position: absolute;
    bottom: 0;
    right: 10px;
}

.um-group-form input::placeholder,
.um-group-form a.um-button,
.um-group-form input[type="button"],
.um-group-form input[type="reset"],
.um-group-form input[type="submit"],
.um-group-form input[type="number"],
.um-group-form input[type="password"],
.um-group-form input[type="tel"],
.um-group-form input[type="text"] {
    font-family: "BIZ UDGothic", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

/* パンくず */
.breadcrumb-001 {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    font-size: 14px;
    margin: 0;
}

.breadcrumb-001 li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-001 li a:hover {
    text-decoration: underline;
}

.breadcrumb-container.theme1 a {
    display: contents !important;
}

/*
.breadcrumb-001 li:first-child::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.7%207.5%204%2013.8v6.8c0%20.4.3.7.7.7h4.7c.4%200%20.7-.3.7-.7v-4c0-.4.3-.7.7-.7h2.7c.4%200%20.7.3.7.7v4c0%20.4.3.7.7.7h4.7c.4%200%20.7-.3.7-.7v-6.8l-7.7-6.3h-.9zm12.1%204.4L20.3%209V3.2c0-.3-.2-.5-.5-.5h-2.3c-.3%200-.5.2-.5.5v2.9L13.3%203c-.7-.6-1.8-.6-2.5%200L.2%2011.8c-.2.2-.3.5-.1.7l1.1%201.3c.2.2.5.2.7.1l9.8-8.1h.6l9.8%208.1c.2.2.5.1.7-.1l1.1-1.3c.2-.2.1-.5-.1-.6z%22%20style%3D%22fill%3A%23333333%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    content: "";
}
*/

.breadcrumb-001 li:not(:last-child)::after {
    display: inline-block;
    margin-left: 7px;
    margin-right: 7px;
    content: "＞";
}

.breadcrumb-001 a {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 10px;
    line-height: 1;
    text-decoration: none;
}

.um-group-meta .user,
.um_groups .activity_box_tag {
    display: none;
}

.um-3701.um .um-profile-body {
    max-width: 90% !important;
}

/* グループ一覧表示 */
.um-groups-directory .um-group-item .um-group-image {
    width: 100px !important;
}

/* 会員一覧グリッド表示 */
.um-directory
    .um-members-wrapper
    .um-members.um-members-list
    .um-member
    .um-member-card-container {
    margin: 0 !important;
}

.um-directory
    .um-members-wrapper
    .um-members.um-members-grid
    .um-member
    .um-member-card
    .um-member-name {
    height: 2.5em !important;
}
.um-directory
    .um-members-wrapper
    .um-members.um-members-grid
    .um-member
    .um-member-card
    .um-member-name
    a {
    font-size: 13px !important;
    line-height: 20px !important;
}

.um-directory
    .um-members-wrapper
    .um-members.um-members-grid
    .um-member
    .um-member-card
    .um-member-tagline.um-member-tagline-name_shain1,
.um-directory
    .um-members-wrapper
    .um-members.um-members-grid
    .um-member
    .um-member-card
    .um-member-tagline.um-member-tagline-name_shain2 {
    display: inline;
    padding: 0 10px;
}

/* 会員一覧リスト表示 */
.um-directory
    .um-members-wrapper
    .um-members.um-members-list
    .um-member
    .um-member-card-container
    .um-member-photo {
    width: 80px !important;
}

.um-directory
    .um-members-wrapper
    .um-members.um-members-list
    .um-member
    .um-member-card-container
    .um-member-photo
    a {
    width: 80px !important;
    height: 80px !important;
}

.um-directory
    .um-members-wrapper
    .um-members.um-members-list
    .um-member
    .um-member-card-container
    .um-member-photo
    a
    img {
    width: 80px !important;
    height: 80px !important;
}

.um-directory
    .um-member-directory-header
    .um-member-directory-header-row
    .um-member-directory-search-line
    .um-do-search {
    color: #ffffff !important;
    background: #0098db !important;
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

a[target="_blank"]::after {
    content: "\f35d";
    /* 追記したコード */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    /* サイズ調整 */
    font-size: 10px;
    padding-left: 5px;
}

.wp-block-button a[target="_blank"]::after {
    font-size: 16px;
}

.kyosan_box a:hover,
.kyosan_box2 a:hover {
    opacity: 0.6;
    cursor: pointer;
}

.um-main-meta a[target="_blank"]::after,
.kyosan_box a[target="_blank"]::after,
.kyosan_box2 a[target="_blank"]::after {
    content: "";
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

.mt0 {
    margin-top: 0 !important;
}

.mt20 {
    margin-top: 20px !important;
}

/* Typography
--------------------------------------------- */
body,
button,
select,
optgroup,
textarea {
    color: #404040;
    font-family: "BIZ UDGothic", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "BIZ UDGothic", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    clear: both;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

.bg-arrow-right {
    background-image: url(img/bg_arrow_right.png);
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}

@media (max-width: 480px) {
    .bg-arrow-right {
        background-color: rgba(255, 255, 255, 0.8);
        background-blend-mode: lighten;
        background-position-x: 100px;
    }
}

.uk-section-muted {
    background: #eff3f8;
}

/* Elements
--------------------------------------------- */

@media (min-width: 1001px) {
    #gtranslate_wrapper {
        display: none;
    }
}

@media (max-width: 480px) {
    .uk-slider {
        margin-top: 10px;
    }
}

body {
    background: #fff;
}

/* 20220715 TOPページ
------------------------------------------------------------------------------------------ */
#mega-menu-wrap-menu-1 {
    box-shadow: 0 0 5px #00000029;
}

.breadcrumbs {
    background-color: #e9e4d4;
    border-radius: 20px;
    padding: 10px 20px;
}

@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .floating_btn_pc {
        display: none;
    }

    .floating_btn_sp {
        position: fixed;
        width: 100%;
        bottom: 0;
        z-index: 9999;
        display: flex;
        justify-content: space-around;
    }

    .floating_btn_sp div {
        flex-basis: 45%;
    }

    .floating_btn_sp div a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        text-decoration: none;
        background-color: #0098db;
        padding: 10px 15px;
        border-radius: 15px 15px 0 0;
        color: #fff;
        font-size: 14px;
    }
}

@media (min-width: 769px) {
    .floating_btn_sp {
        display: none;
    }

    .floating_btn_pc {
        position: fixed;
        z-index: 9999;
        width: 50px;
        top: 200px;
        right: 0;
    }

    .floating_btn_pc img {
        width: 100%;
        margin-bottom: 30px;
        border-radius: 10px 0 0 10px;
        box-shadow: 0 5px 5px #00000029;
    }

    .floating_btn_pc a img:hover {
        opacity: 0.8;
    }
}

.uk-container-expand.top_main {
    margin-top: 0px;
}

.top_h2 h2,
.top_h3 h3,
.top_h3 h4 {
    font-weight: bold;
    font-style: normal;
    letter-spacing: 0.15rem;
}

.top_main {
    margin-bottom: 100px;
}

.top_main img.message {
    width: 70%;
}

.top_main .top_h2 span {
    display: block;
    font-size: small;
}

.top_main .top_h2 h2 {
    position: relative;
    display: inline-block;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 45px;
}

.top_main .top_h2 h2:before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    /*線の上下位置*/
    display: inline-block;
    width: 280px;
    /*線の長さ*/
    height: 5px;
    /*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /*位置調整*/
    background-color: #00a1e8;
    /*線の色*/
    border-radius: 0;
    /*線の丸み*/
}

.top_main p {
    display: inline-block;
    max-width: 80%;
    line-height: 2.5;
    margin: 0;
}

.top_service {
    margin-bottom: 50px;
}

.top_service_list {
    border: 4px solid #00a1e8;
    padding: 30px 50px 330px;
    background-image: url(/wp-content/themes/kanda/img/service_bg.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 50px;
}

.top_h2 {
    position: relative;
    margin: 100px auto;
}

.top_h2 span {
    display: block;
    font-size: small;
}

.top_h2 h2 {
    position: relative;
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin: auto;
}

.top_h2 h2:before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    /*線の上下位置*/
    display: inline-block;
    width: 40%;
    /*線の長さ*/
    height: 4px;
    /*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /*位置調整*/
    background-color: #00a1e8;
    /*線の色*/
    border-radius: 2px;
    /*線の丸み*/
}

.top_h3 {
    position: relative;
    margin-bottom: 40px;
}

.top_h3 span {
    display: block;
    font-size: small;
}

.top_h3 h3 {
    position: relative;
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 4px solid #00a1e8;
}

disable.top_h3 h3:before {
    content: "";
    position: absolute;
    left: 5%;
    bottom: -20px;
    /*線の上下位置*/
    display: inline-block;
    width: 10%;
    /*線の長さ*/
    height: 4px;
    /*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /*位置調整*/
    background-color: #00a1e8;
    /*線の色*/
    border-radius: 2px;
    /*線の丸み*/
}

.top_h4 {
    position: relative;
    margin-bottom: 40px;
}

.top_h4 h4 {
    position: relative;
    display: inline-block;
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00a1e8;
}

disable.top_h4 h4:before {
    content: "";
    position: absolute;
    bottom: -15px;
    /*線の上下位置*/
    display: inline-block;
    width: 9%;
    /*線の長さ*/
    height: 3px;
    /*線の太さ*/
    /*位置調整*/
    background-color: #00a1e8;
    /*線の色*/
    border-radius: 2px;
    /*線の丸み*/
}

.top_service_list a > img {
    padding: 15%;
}

.top_service_list img:hover {
    transition: all 0.3s 0.05s ease-in-out;
    background: #00a1e8;
    border-radius: 20%;
}

.top_banner_chatwork img {
    max-width: 90%;
    margin: auto;
}

.top_info .top_h3,
footer .top_h3 {
    margin-bottom: 0;
}

.top_info_list {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    gap: 20px;
    margin: auto;
}

.top_info_list .desc {
    font-size: 12px;
}

.top_info_list .desc p {
    margin: 0;
    padding: 5px 0;
}

.top_button_box {
    margin: auto;
}

a:hover .top_button_box,
.top_button_box a:hover {
    text-decoration: none;
}

.top_button_box_r {
    margin: ;
}

.top_button {
    background: #ffffff;
    box-shadow: 5px 5px 5px #00000029;
    border: 2px solid #0098db;
    color: #0098db;
    font-size: 1rem;
    font-weight: bold;
    padding: 1.2rem;
    position: relative;
    text-indent: -1rem;
    border-radius: 4px;
}

.wpcf7 .top_button {
    background: #0098db;
    border: 2px solid #0098db;
    padding: 0;
    color: #fff;
    line-height: 4rem;
    text-indent: 0;
}
.wpcf7 .top_button:hover {
    opacity: 0.8;
}

.wpcf7 .top_button input {
    border: 0;
    background: #0098db;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    line-height: 4rem;
    width: 100%;
    padding: 0;
}

.top_button::after {
    position: absolute;
    right: 5%;
    content: "\f0a9";
    /* 追記したコード */
    font-family: "Font Awesome 6 Free";
    /* 追記したコード */
    font-weight: 900;
    /* 追記したコード */
}

.mini_button {
    color: #0098db;
    font-size: 1rem;
    font-weight: bold;
}

.mini_button::after {
    padding-left: 5px;
    content: "\f0a9";
    /* 追記したコード */
    font-family: "Font Awesome 6 Free";
    /* 追記したコード */
    font-weight: 900;
    /* 追記したコード */
}

.top_button input:hover,
.top_button:hover {
    background: #0098db;
    color: #fff !important;
    transition: 0.2s ease;
    cursor: pointer;
}

.top_button:hover::after {
    color: #fff !important;
}

.activity_box {
    position: relative;
    border-radius: 10px;
    border: 1px solid #00000017;
}

.activity_box img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.activity_box_img img {
}

.activity_box_img2 img {
    border-radius: 10px 10px 0 0;
}

.activity_box_txt {
    background-color: #fff;
    min-height: 6rem;
    padding: 1px 10px 10px;
    border-radius: 0 0 10px 10px;
}

.activity_box h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

.activity_box_tag {
    margin-top: 10px;
    margin-bottom: 8px;
}

.activity_box_tag .date {
    font-weight: bold;
    margin-right: 0.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.activity_box_tag .tag {
    font-size: 12px;
    color: #fff;
    margin-right: 5px;
    padding: 3px 8px;
    border-radius: 3px;
}

.seminar_box {
}

.seminar_box_bg {
    background-color: #e9e4d4;
    background-image: url(/wp-content/themes/kanda/img/bg_asanoha.png);
    background-size: 60%;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}

.seminar_box .uk-container {
    padding: 60px 40px;
}

.seminar_box ul {
    margin-left: 0;
}

.seminar_box li {
    line-height: 2;
}

.seminar_box .tagbox {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: center;
}

.seminar_box .tag {
    font-size: 14px;
    margin-right: 5px;
    padding: 3px 8px;
    border-radius: 3px;
}

.seminar_box table {
    font-size: 14px;
}

.seminar_box table th {
    background-color: #ededed;
    color: #000;
    text-align: center;
    width: 25%;
}

.seminar_box table th:first-child {
    width: 12%;
}

.seminar_box table th:last-child {
    width: 13%;
}

.seminar_box table td {
    background-color: #fff;
    padding: 10px 5px;
    text-align: center;
}

.uk-table-bordered {
    border: 1px solid #999;
}

.uk-table-bordered th {
    border-bottom: 2px dotted #999;
    border-right: 1px solid #999;
}

.uk-table-bordered td {
    border-bottom: 1px solid #999;
    border-right: 1px solid #999;
}

@media (max-width: 959px) {
    .uk-table-bordered {
        border: 0;
    }

    .uk-table-bordered tr:first-child {
        display: none;
    }

    .uk-table-bordered tr {
        border: 1px solid #999 !important;
        margin-bottom: 20px;
    }

    .uk-table-bordered td {
        border: 0;
    }
}

.ippan {
    background-color: #8cdafc;
    color: #000;
}

.kaiin {
    background-color: #bced4f;
    color: #000;
}

.seinen,
.kenshu {
    background-color: #3075ff;
}

.josei,
.konshin {
    background-color: #d480ad;
}

.gensen,
.bukai {
    background-color: #54cb33;
}

.other {
    background-color: #a3a3a3;
}

.activity_box .small {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    text-align: right;
    color: #555;
    margin-top: 5px;
}

.kanda_box {
    padding: 50px 0;
    background-color: #e2f2f8;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}

.kanda_box .txt {
    line-height: 2;
}

.kanda_box img {
    width: 90%;
}

@media (min-width: 769px) {
    .kanda_box .box_mini {
        box-sizing: border-box;
        padding: 0 50px;
    }
}

.top_tokucho div {
    font-size: 0.875rem;
}

.top_tokucho div:hover {
    opacity: 0.8;
}

.top_tokucho h4 {
    font-weight: bold;
}

.top_tokucho img {
    width: 40%;
}

.kyosan_box img {
    max-width: 70%;
}

.kyosan_box .uk-flex {
    gap: 20px 0;
}

.top_tokucho a,
.top_tokucho a:visited {
    text-decoration: none;
    color: #000;
}

/* 20220715 TOPページ　↑↑↑↑
------------------------------------------------------------------------------------------ */

/* 20220715 下層
------------------------------------------------------------------------------------------ */

.page .table-nowrap td:first-child,
.page-id-12 .staff-nowrap td:first-child {
    word-break: keep-all;
}

.page .site,
.single .site,
.archive .site {
    background-color: #4baad3;
    background-color: #b7d9e8;
}

.home .site {
    background-color: #b7d9e8;
}

.page .site .site-main,
.single .site .site-main {
    background-color: #fff;
    border-radius: 10px;
    margin-top: 70px;
    padding: 50px;
    box-shadow: 5px 5px 5px #00000029;
}

.archive .page-header {
    position: relative;
    margin: 60px auto 30px;
}

@media (max-width: 768px) {
    .archive .page-header {
        margin: 20px auto;
        padding: 0;
    }

    .page .site .site-main,
    .single .site .site-main {
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 20px;
    }
}

.archive_title_box {
    box-sizing: border-box;
    position: relative;
    background-color: #1e50a2;
    color: #fff;
    padding: 50px 30px;
    border-radius: 180px;
    width: 70%;
    margin: auto;
    text-align: center;
}

.archive_title_box div {
    line-height: 1.6;
    letter-spacing: 0.1rem;
}

.archive_title_box div a,
.archive_title_box div a:active,
.archive_title_box div a:visited {
    color: #fff !important;
}

.archive_title_box::before {
    position: absolute;
    right: 0;
    content: "";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 3rem;
}

@media (max-width: 768px) {
    .archive_title_box {
        padding: 40px 20px;
        border-radius: 0;
        width: 100%;
        margin: auto;
    }

    .archive_title_box div {
        line-height: 1.6;
        font-size: 0.875rem;
        letter-spacing: 0.1rem;
        text-align: left;
    }

    .archive_title_box::before {
        position: absolute;
        right: 0;
        content: "";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 3rem;
    }
}

.archive .archive-news {
    background-color: #fff;
    padding: 40px;
}

.archive .archive-news article:last-child {
    margin-bottom: 0;
}

@media (min-width: 769px) {
    .type-page h1.entry-title,
    .type-seminar h1.entry-title {
        margin: 1em 1.5em 1em 0.5em;
    }
}

h1.page-title {
    color: #fff;
    position: relative;
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin: 0 auto 40px;
    letter-spacing: 0.15rem;
}

h1.page-title:before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    /*線の上下位置*/
    display: inline-block;
    width: 40%;
    /*線の長さ*/
    height: 2px;
    /*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /*位置調整*/
    background-color: #fff;
    /*線の色*/
    border-radius: 2px;
    /*線の丸み*/
}

.entry-content h2 {
    position: relative;
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.2;
    margin: 40px 0;
}

.entry-content h2:before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    /*線の上下位置*/
    display: inline-block;
    width: 100%;
    /*線の長さ*/
    height: 3px;
    /*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /*位置調整*/
    background-color: #00a1e8;
    /*線の色*/
    border-radius: 2px;
    /*線の丸み*/
}

.entry-content h3 {
    font-size: 1.5rem;
    color: #00a1e8;
    margin: 30px 0 10px;
}

.entry-content h4 {
}

.entry-content p {
    line-height: 1.8;
}

.entry-content .wp-block-spacer {
    height: 80px !important;
}

@media (max-width: 1000px) {
    .page-header,
    .entry-header {
        padding: 80px 0 50px;
    }
}

@media (max-width: 480px) {
    .entry-header {
        padding: 20px 0 0;
    }

    h1.page-title,
    h1.entry-title {
        font-size: 1.3rem;
    }

    .entry-content h2 {
        font-size: 1.3rem;
        line-height: 1.4;
        margin: 40px 0 30px;
    }

    .seminar .entry-content h2 {
        margin-top: 0;
    }

    .entry-content h3 {
        font-size: 1.2rem;
        color: #00a1e8;
    }

    .entry-content .top_service_list {
        padding-bottom: 100px;
    }

    .entry-content .top_service_list h2 {
        margin: 0 0 20px;
    }

    .entry-content .wp-block-spacer {
        height: 40px !important;
    }
}

/* 20220715 下層　↑↑↑↑
------------------------------------------------------------------------------------------ */

.archive .site-main .posts-navigation {
    margin-top: 40px;
}

.archive .site-main .posts-navigation .nav-links a {
    background-color: #edeff0;
    padding: 15px;
}

.top-pickup {
    background-color: rgba(17, 17, 17, 0.116);
    border: 1px solid rgba(17, 17, 17, 0.116);
    text-align: center;
    height: 135px;
    overflow: hidden;
}

.top-pickup img {
    object-fit: cover;
    width: 100vw;
    height: 135px;
}

.post-thumbnail {
    margin-top: 10px;
}

/*hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}*/

.uk-label-info {
    width: 80px;
    font-size: 0.7rem;
    background-color: #c295ff;
    font-weight: bold;
    text-align: center;
    line-height: 2;
}

.uk-label-news {
    background-color: #b0afc7;
}

.uk-label-report,
.uk-label-regular {
    background-color: #e19661;
}

.uk-label-column {
    background-color: #448bb4;
}

.top-info {
}

.top-info-date {
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0 0.5rem;
}

.top-info-title a,
.top-info-title a:visited {
    text-decoration: none;
    color: #333;
}

.top-info-title a:hover {
    text-decoration: underline;
}

ul,
ol {
    margin: 0 0 1.5em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li {
    margin-bottom: 0.5em;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: #0d64bb;
}

a:visited {
    color: #0d64bb;
}

a:hover,
a:focus,
a:active {
    color: #0d0d3b;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    cursor: pointer !important;
    outline: 0;
}

a.wp-block-button__link {
    background-color: #1e87f0;
}

/* 入会案内 入会の流れ
--------------------------------------------- */

.join-flow {
    position: relative;
    border: #0190d5 4px solid;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.join-flow div {
    padding: 10px 0 0px;
}

.join-flow h4 {
    background: #0190d5;
    border-radius: 15px;
    margin: 10px 0;
    padding: 5px 15px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    width: 10rem;
}

/*.join-flow:after {
    content: "";
    position: absolute;
    right: 50%;
	left: 50%;
    top: 100%;
    width: 40px;
    height: 40px;
    border-top: 5px solid #0190D5;
    border-right: 5px solid #0190D5;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}*/

.join-flow:after {
    content: "";
    position: absolute;
    left: calc(50% - 40px);
    bottom: -50px;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 30px solid #0190d5;
}

div.join-flow:last-child:after {
    border: 0;
}

@media (max-width: 768px) {
    .join-flow div {
        padding: 0 1rem;
    }

    .join-flow div p {
        margin-top: 10px;
    }

    .join-flow h4 {
        margin: 15px 0 0;
    }

    .join-flow:after {
        bottom: -40px;
    }
}

/* Forms
--------------------------------------------- */

div.wpcf7 .wpcf7-spinner {
    display: none;
}

/* Forms
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}
--------------------------------------------- */

/*--------------------------------------------------------------
# Google reCAPTCHA v3 バッヂ非表示
--------------------------------------------------------------*/

.grecaptcha-badge {
    visibility: hidden;
}

/*--------------------------------------------------------------
# contact form7 お問い合わせフォームの入力
--------------------------------------------------------------*/

input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
    display: block;
    width: 100%;
    height: 45px;
    margin-bottom: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 3px;
    background-color: #eff1f5;
    box-shadow: none;
    color: #5c6b80;
    font-size: 1.2em;
    vertical-align: middle;
    line-height: 45px;
    transition: background-color 0.24s ease-in-out;
}

input[type="number"] {
    width: 30%;
}

@media (max-width: 480px) {
    input[type="number"] {
        width: 100%;
    }
}

textarea {
    max-width: 100%;
    min-height: 120px;
    line-height: 1.5em;
    padding: 0.5em;
    overflow: auto;
}

@media (max-width: 500px) {
    .inquiry td,
    .inquiry th,
    .inquiry th.w70 {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important;
    }

    .inquiry tr th {
        padding: 5px 5px 5px 5px;
        margin: 0;
    }

    .inquiry tr td {
        padding: 0 0 20px 0;
    }

    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important;
    }

    .inquiry span.any,
    .inquiry span.haveto {
        font-size: 10px;
    }
}

.inquiry h4 {
    margin-bottom: 5px;
}

.inquiry th {
    text-align: left;
    font-size: 14px;
    color: #fff;
    padding-right: 5px;
    width: 30%;
    background: #4baad3;
    border-top: solid 5px #fff;
    border-bottom: solid 5px #fff;
}
.inquiry th.w70 {
    width: 70%;
}

.inquiry th.any {
    color: #333;
    background: #ccc;
}

.inquiry td {
    font-size: 13px;
    border: solid 0px #d7d7d7;
}

.entry-content .inquiry tr,
.entry-content table {
    border: solid 0px #d7d7d7;
}

.entry-content table {
    box-sizing: border-box;
}

span.haveto {
    font-size: 7px;
    padding: 5px;
    background: #fff;
    color: #f00;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px;
}

span.any {
    font-size: 7px;
    padding: 5px;
    background: #fff;
    color: #333;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px;
}

.verticallist .wpcf7-list-item {
    display: block;
}

#formbtn {
    display: block;
    padding: 20px 15px;
    width: 300px;
    background: #efc31a;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 25px auto 0;
}

#formbtn:hover {
    background: #0190d5;
    color: #fff;
    cursor: pointer;
}

th {
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px;
}

td {
    border-top: 1px solid #ededed;
    padding: 12px;
}

input,
select,
textarea {
    border: 1px solid #dfdfdf;
    letter-spacing: 1px;
    margin: 0;
    max-width: 100%;
    resize: none;
    box-sizing: border-box;
}

.your-area .wpcf7-checkbox {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.your-reason .wpcf7-checkbox {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, 1fr);
}

@media (max-width: 480px) {
    .your-area .wpcf7-checkbox {
        grid-template-columns: repeat(3, 1fr);
    }

    .your-reason .wpcf7-checkbox {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 100px) {
    .inquiry td.birth-area {
        display: flex !important;
        align-items: end;
        gap: 10px;
    }
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

@media (min-width: 961px) {
    footer {
        margin-top: 70px;
        padding: 20px 0 0;
    }

    .pc_only {
        display: block !important;
    }

    .sp_only {
        display: none !important;
    }
}

@media (max-width: 960px) {
    footer {
        padding-top: 20px;
    }

    .pc_only {
        display: none !important;
    }

    .sp_only {
        display: block !important;
    }

    .top_main {
        margin-bottom: 50px;
    }

    .top_main .top_h2 {
        margin-top: 50px;
    }

    .top_h3 .txt {
        bottom: 0;
    }

    .top_service_list {
        padding: 30px 50px 150px;
    }

    .top_info_list {
        font-size: 0.875rem;
    }
}

.hide,
.hide_content {
    display: none !important;
}

/* Footer
--------------------------------------------- */

footer {
    background-color: #ededed;
}

footer .footer_navi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    footer {
        margin-bottom: 50px;
    }

    footer .footer_navi {
        flex-flow: column;
        align-items: center;
        gap: 20px;
    }

    footer .footer_navi div {
        display: none;
    }
}

/* Navigation
--------------------------------------------- */

.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post {
    margin: 0 0 1.5em;
}

.page {
    margin: 0 0;
}

.updated:not(.published) {
    display: none;
}

.post-thumbnail,
.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em auto 0;
    max-width: 1000px;
}

.entry-content {
    margin-bottom: 50px;
}

@media (max-width: 500px) {
    .entry-content {
        margin-bottom: 20px;
    }
}

.post-thumbnail img {
    width: 100%;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* テーブル
--------------------------------------------- */
.wp-block-table.is-style-stripes tbody th,
.wp-block-table.is-style-stripes tbody td {
    padding: 10px;
}

@media (max-width: 640px) {
    .wp-block-table.mini {
        overflow: auto;
        white-space: nowrap;
    }

    .wp-block-table.mini.is-style-stripes tbody td {
        display: block;
        font-size: 0.875rem;
    }

    .wp-block-table.mini.is-style-stripes tbody tr:nth-child(odd) {
        background-color: #fff;
    }

    .wp-block-table.mini.is-style-stripes tbody tr td:nth-child(odd) {
        background-color: #f0f0f0;
    }
}

/*
投稿内の表
*/

@media print {
    .wp-block-table.mini.is-style-stripes tbody td {
        display: table-cell;
        font-size: 12px;
    }
}

/* GoogleMap
--------------------------------------------- */

.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}

.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
