body {
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
    color: #333333;
    background-color: #f9f9f9;
}

.out_wrapper {
    max-width: 1080px;
    margin: 0 auto;
    background-color: #ffffff;
}
.wrapper {
    width: 960px;
    margin: 20px auto 0px;
    padding-bottom: 50px;
    background-color: #ffffff;
}

.icon {
    max-width: 150px;
    height: auto;
    margin: 20px 0;
}

.icon img {
    max-width: 100%;
    height: auto;
    margin: 0 20px;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    background-color: #ffffff;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0;
    width: 100px;
}

.nav_list {

}

.nav_list a {
    text-align: center;
    padding: 5px;
    border-radius: 10px;
    color: #333333;
    font-family: "游ゴシック Medium";
    font-weight: 700;
    border: #ffffff solid, 3px;
    display: block;
}

.nav_list :hover {
    color: #229799;
    background-color: #f5f5f5;
    transition: 0.1s;
}

.home_header img {
    width: 100%;
    max-width: 1920px;
    height: auto;
    object-fit: cover;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/*recent_article*/

.recent_article {
    flex-direction: column;
    /*display: flex;*/
    justify-content: space-between;
    padding-top: 50px;
}

.three_article {
    display: flex;
    justify-content: space-between;
}

.card {
    padding-bottom: 50px;
    width: 30%;
    margin: 0 auto;
}

.card img {
    max-width:80%;
    height: auto;
    border-radius: 10px;
}

.text_upper {
    text-align: center;
}

.card_thumb {
    width: 30%;
}

.card_info {
    margin: 0 auto;
    width: 68%;
    flex-direction: column;
}


.dammy_img {
    width: 250px;
    height: auto;
}

.ttl {
    text-align: center;
    font-size: 1.1rem;
    margin: 10px 0;
}

.text {
    text-align: center;
    font-size: 1rem;
    margin-top: 5px;
}

.detail {
    margin: auto;
    font-size: 1rem;
    padding: 5px;
    width: 50%;
    background-color: #48cfcb;
    border-radius: 10px;
    color: #f4f7f0;
}

footer {
    text-align: center;
    border-top: #555151 solid 3px;
    padding-bottom: 50px;
}

#footer_site_nav ul {
    text-align: center;
}

#footer_site_nav ul li {
    margin: 20px;
    display: inline-block;
    color: #555151;
}

#copyright {
    font-family: sans-serif;
    font-size: 0.8rem;
    color: #11999e;
}

/*article*/
.article {

}

.article img {
    width: 300px;
}

.article .img_exp {
    font-size: 0.8rem;
}

.article h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 15px auto;
    border-bottom: #555151 solid 5px;
    color: #555151;
    width: 90%;
}

/*.article h2 {
    width: fit-content;
    font-size: 1.5rem;
    font-weight: 600;
    background-color: #f4f7f0;
    padding: 10px;
    border-left: 10px solid #769aef;
    border-radius: 10px;
    margin: 15px 0px;
}
*/

/*.article h2 {
    width: 100%;
    font-size: 1.5rem;
    font-weight: 600;
    background-color: #11999e;
    color: #f5f5f5;
    padding: 17px 15px 15px 15px;
    margin: 15px 0px;
}*/

.article h2 {
    width: fit-content;
    font-size: 1.5rem;
    font-weight: 600;
    color: #7172ac;
    padding: 0px 15px 0px 15px;
    border-bottom: #11999e 5px solid;
    margin: 50px 0px 30px 0px;
}

/* h2:first-letter {
    font-size: 1.5em;
    color: #7172ac;
} */



.article h3 {
    font-size: 1.3rem;
    font-weight: bold;
    position: relative;
    padding: 0.25em 0;
    margin: 30px 0px 20px 0px;
    border-bottom: solid 2px #11999e;
    width: fit-content;
}

/* .article h3:after {
    content: "";
    display: block;
    height: 4px;
    background: -webkit-linear-gradient(to right, #229799, transparent);
    background: linear-gradient(to right, #229799, transparent);
} */

.spacer {
    display: block;
    height: 12px;
}

.article p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 10px;
}


/*.article ul {
    border-top: solid 2px #48cfcb;
    border-bottom: solid 2px #48cfcb;
    background-color: #ffffff;
    width: fit-content;
    padding: 0.5em 1em 0.5em 1em;
    position: relative;
}

.article ul li{
    position: relative;
    padding-left: 10px;
    padding-bottom: 2px;
    color: #333333;
}


.article ul li:not(:first-child):before {
    content: "";
    position: absolute;
    top: .35em;
    left: 0;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #48cfcb;
}

.article ul :first-child {
    width: fit-content;
    margin: auto;
}*/



/* ▼ 通常のリストスタイル */
.article ul {
    list-style: none;
    background-color: #f9f9f9 ;
    border-radius: 8px;
    padding: 1em 1.2em ;
    margin: 1.5em 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .article ul li {
    position: relative;
    margin-bottom: 0.8em;
    padding-left: 1.2em;
  }
  
  .article ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #4CAF50;
    font-weight: bold;
  }
  
  .article ul li:last-child {
    margin-bottom: 0;
  }
  
  /* ▼ olはスタイル維持 */
  .article ol {
    list-style: decimal inside;
    padding-left: 1.5em;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
  }
  
  .article ol li {
    margin-bottom: 0.8em;
  }
  
  /* ▼ スマホ対応（ulの背景を保つ） */
  @media (max-width: 600px) {
    .article ul {
      font-size: 0.95rem;
      padding: 1em 1em ;
      background-color: #f5f5f5 ;
    }
  
    .article ol {
      font-size: 0.95rem;
      padding-left: 1.2em;
    }
  }

.no_bullets ul {
    box-shadow: none;
}

.no_bullets ul li::before {
    content: none;
}



.known ul {
    border: dotted 2px #769aef;
    background-color: #f4f7f0;
    border-radius: 5px;
    padding: 0.5em 1em 0.5em 1em;
    position: relative;
}

.known ul li {
    position: relative;
    line-height: 1.8;
}

.known ul li::before {
    content: none;
}


.known ul li::after {
    content: "";
    display: block;
    position: absolute;
    top: .7em;
    left: -0.5em;
    width: 10px;
    height: 5px;
    border-left: 3px solid #769aef;
    border-bottom: 3px solid #769aef;
    transform: rotate(-45deg);
}

.known ul li:first-child {
    padding-left: 3px;
}

.known ul li:first-child::after {
    content: none;
}

.list_head {
    font-weight: bold;
    font-size: 1.2rem;
}

/* テーブル全体のデザイン */
.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 1rem;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  
/* テーブルヘッダー（th） */
.article table th {
    background-color: #f5f5f5;
    font-weight: bold;
    padding: 0.8em;
    text-align: left;
    border: 1px solid #ddd;
    white-space: nowrap;
}

/* テーブルデータ（td） */
.article table td {
    padding: 0.8em;
    border: 1px solid #ddd;
    vertical-align: top;
}

/* 交互の行に背景色 */
.article table tr:nth-child(even) {
    background-color: #fafafa;
}

/* スマホ表示対応（テーブルの横スクロール） */
@media (max-width: 768px) {
.article table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
}

hr {
    color: #c2c2c2;
    background-color: #c2c2c2;
    border: none;
}

.fusen {
    font-weight: 800;
    display: inline-block;
    position: relative;
    padding: .5em 3em;
    border-right: 27px solid #409cdd;
    background-color: #f5f5f5;
    color: #555555;
}

.fusen::before {
    position: absolute;
    bottom: 2px;
    right: -20px;
    z-index: -1;
    transform: rotate(5deg);
    width: 100%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}

.x_post {
    max-width: 300px;
}

/***　ルーズリーフ風ボックス　***/
/*外枠の設定*/
.notebox {
    border: solid 2px #999; /*外枠の線*/
    padding: 0 1em 0 2em; /*内側の余白*/
    position: relative;
    border-radius: 10px;
}

/*文字、罫線の設定*/
.notebox p {
    border-bottom: dashed 1px #ccc; /*罫線*/
    line-height: 1.5; /*行の高さ*/
    padding: 0.5em 0 0.5em 0.5em; /*文字の位置*/
    margin:0;
}
.notebox p:last-of-type {
    border-bottom: none;
}

/*ドットの設定*/
.notebox::before {
    content: '';  /* 疑似要素に必須 */
    width: 10px;  /* 穴の幅を指定(穴の幅以上あればOK) */
    height: 90%;  /* 穴をあける距離を指定。紙の高さの90%に指定 */
    background-image: radial-gradient(circle, #ddd 5px ,transparent 5px);  /* 円形のグラデーションを作成。色はbodyの背景色と同じ */
    background-repeat: repeat-y; /* Y軸方向に繰り返す */
    background-size: 10px 20px;  /* 「背景の穴のサイズ(10px)」「穴のサイズ(10px)＋穴から次の穴までの距離(10px)」を指定 */
    display: inline-block; /* インラインブロック要素にする */
    position: absolute;    /* 相対位置に指定 */
    left: 10px;            /* 左から10pxの位置に指定 */
    top: 0;                /* 上下中央に配置するため0に指定 */
    bottom: 0;             /* 上下中央に配置するため0に指定 */
    margin: auto;          /* 上下中央に配置するためautoを指定 */
}

.futoji {
    font-weight: bold;
    color: #222222;
}

.underline {
    /*background: linear-gradient(transparent 60%, rgba(255, 182, 118, 0.588) 30%);*/
    background: linear-gradient(transparent 60%, rgba(240, 255, 31, 0.588) 30%);
}

.orange {
    color: #d5630c;
    font-weight: bold;
}

.komoji {
    color: #3b3b3b;
    font-size: 0.7rem;
}

.maru::before {
    display: inline-block;
    margin: 0 3px 0 3px;
    width: 10px;
    height: 10px;
    content: '';
    border-radius: 100%;
    background:#2a4585;
}

/*マップ*/
.map{
    position: relative;
    width: 300px;
    height: 0;
    padding-top: 225px;
  }
  
.map iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.product_link {
    width: 300px;
}


.page_privacy {
    font-family: sans-serif;
}

/*contact*/

.page_contact {
    text-align: center;
}

.page_contact h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 50px;
}

.page_contact .button {
    background-color: #769aef;
    border-radius: 10px;
    margin: 10px auto 10px auto;
    width: 50px;
}

/*spinner*/
span.wpcf7-spinner {
    display: none;
}

.contact_element {
    width: 330px;
    border: 2px solid rgb(0, 0, 0, 0.2);
    margin: auto auto 30px auto;
    border-radius: 5px;
    height: 20px;
}

.contact_element_message {
    width: 330px;
    border: 2px solid rgb(0, 0, 0, 0.2);
    margin: auto auto 30px auto;
    border-radius: 5px;
    height: 150px;
}

.wpcf7 input[name="your-name"] { /* 名前入力欄 */
	width: 100%;
    height: 20px;
}
.wpcf7 input[name="your-furigana"] { /* 名前入力欄 */
	width: 100%;
    height: 20px;
}
.wpcf7 input[name="your-email"] { /* メール入力欄 */
	width: 100%;
    height: 20px;
}
.wpcf7 input[name="your-subject"] { /* タイトル入力欄 */
	width: 100%;
    height: 20px;
}
.wpcf7 textarea[name="your-message"] { /* 本文入力欄 */
	width: 100%;
    height: 150px;
}


/*articles*/
.article_block {
    display: flex;
    height: 150px;
    border-bottom: solid #222222 1px;
    align-items: center;
}

.article_ttl {
    font-size: 1.2rem;
    font-weight: bold;
}

.article_thumbnail img {
    width: 80px;
    height: auto;
    margin: 20px;
}

.article_detail {
    width: 85%;
    margin: 0 0 0 auto;
}


/*page-navi*/
.wp-pagenavi {
    
}
.wp-pagenavi .pages {
    
}
.wp-pagenavi .previouspostslink {
    
}
.wp-pagenavi .page {
    
}
/*現在のページ番号*/
.wp-pagenavi .current {
    
}
.wp-pagenavi .nextpostslink {
    
}


/*response*/

@media screen and (max-width: 600px){

    .wrapper {
        width: 90%;
    }

    .out_wrapper {
        width: 100%;
    }

    .article p {
        line-height: 1.5rem;
    }

    .article ul {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .icon img {
        max-width: 100px;
        margin: 10px;
    }

    nav {
        width: 100%;
    }

    nav ul li {
        margin: 10px;
    }

    .three_article {
        flex-direction: column;
        width: 100%;
    }

    .card {
        width: 100%;
        max-width: 300px;
        margin: 0px auto 50px auto;
        padding-bottom: 0;
        flex-direction: column;
    }

    .text_upper {
        width: 100%;
    }

    .card_thumb{
        width: 100%;
        margin: auto;
        display: block;
    }

    .card_info{
        margin: auto;
    }

    .detail{
        width: fit-content;
    }

    .ttl {
        font-size: 1rem;
    }

    .article h1 {
        font-size: 1.4rem;
        font-weight: 500;
        margin: 15px;
    }

    .article h2 {
        font-size: 1.1rem;
    }

    .article h3 {
        font-size: 1rem;
    }

    #footer_site_nav ul li {
        display: block;
        margin: auto;
    }

        /*articles*/
    .article_block {
        display: flex;
        height: 150px;
        border-bottom: solid #222222 1px;
        align-items: center;
    }



    .article_thumbnail img {
        width: 50px;
        height: auto;
        margin: 20px;
    }

    .article_detail {
        width: 85%;
        margin: 0 0 0 auto;
    }



    .map{
        width: 100%;
        height: 0;
        padding-top: 100%;
    }
}

iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}