@charset "utf-8";


@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&family=Zen+Kaku+Gothic+New:wght@500&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');


/* 基本設定 */
html {
    font-size: 62.5%;
    background-color: #ffffff;
}
body {
    min-height: 100vh;
    font-size: 1.3rem;
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 500;
    font-style: normal;;
    letter-spacing: 0.2em;
    line-height: 1.8;
    
}



ul {
    list-style: none;
}

.list2{
    
    display: grid;
    width: fit-content;
    column-gap: 2em;
    grid-template-columns: repeat(2, auto);

}

/* フォント指定まとめて */
h2,
h3,
h4,
.nav,
.navTrigger {
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 500;
    font-style: normal;
}


/* 見出し、強調 */
.page-header {
    padding-top: 5rem;
}
.title {
    width: 210px;
}
h2 {
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 30px;
}

h3 {
    margin: 20px 0 15px;
}
h3 > span {
    border-bottom: solid 1px black;
}
h4 {
    margin: 15px 15px;
}
h4 > span {
    padding: 5px 5px;
    border-bottom: #243444 solid 1px;
}

em {
    font-style: normal;
    display: inline-block;
    background: #fff;
    border: solid 1px #000000;
    width: 80px;
    text-align: center;
    color: #000000;
    border-radius: 15px;
    position: relative;
}

strong {
    background: #657fa2;
    color: #fff;
}


/* フォーム関連基本設定 */
textarea,
input[type] {
    background: #fff0;
    border: #243444 solid 1px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 100%;
}
.form .enter {
    padding: 3px;
    margin-bottom: 5px;
}
.form .button {
    padding: 3px 10px;
    margin-bottom: 5px;
    border: #243444 solid 1px;
    box-sizing: border-box;
}


/* 段落、余白、リンク */
p {
    margin: 0 2em;
}
.box {
    padding: 50px;
    margin: 50px 0;
    border: #000000;
    box-sizing: border-box;
}

img{
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
}

.boxtop {
        position: relative;
        margin: 50px 0 ;
        padding: 20px;
        border-radius: 20px;
        background-image: url('../img/top.png');
        width: 100%;
        height: 150px;
        box-sizing: border-box;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-color: #a1a1a1;
}



img{
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
}
/*ボタン*/

.button-20 {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    border: solid 1px #000000;
    border-radius: 50px;
    padding:  1em;
    margin: 0.5em 0 ;
    text-decoration: none;
  }
  
  .text {
    display: inline-block;
    margin-right: 1em;
    font-size: 1em;
    color: #000000;
  }
  
  .arrow {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 1px;
    background: #000000;
    border: #000000;
  }
  
  .arrow::before {
    position: absolute;
    top: -2px;
    right: -5px;
    display: block;
    width: 0;
    height: 0;
    content: '';
    border-right: 7px solid transparent;
    border-bottom: 3px solid #000000;
  }

.space {
    margin: 2em 30px;
}

.allWrap {
    margin: 10vh auto;
   
}

.mainWrap {
    position: relative;
    width: 50%;
     min-width: 600px;
    margin: 10vh auto;
    z-index: 2;
}
a {
    color: #a1a1a1;
    text-decoration: none;
}
.mainWrap a {
    color: #a1a1a1;
}
.box a:hover {
    color: #d4d4d4;
}

.text_img{
    width: 3%;
    vertical-align: middle;
}



/* メインコンテンツ */
/* 名前変換フォーム */
.nameChange .enter {
    width: 10em;
}

/* 長編リスト */
.longList {
    display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 40px 30px;
    margin: 30px 20px 40px;
}
.longList li a {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: minmax(1.2em, auto) 1fr;
    gap: 0 10px;
    min-height: 100px;
    color: #243444;
}
/* ↓グリッド設定 */
.longList a > img {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.longInfo {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    font-size: 1rem;
}
.longList a > img {
    width: 100px;
    height: 100px;
    background: #d5dee8;
    border-radius: 50%;
    object-position: center;
    object-fit: cover;
}
.longTitle {
    font-size: 1.1em;
}

/*mailアイコン*/

div {
    width: 100%;
    margin: 0 2em;
  }
  
  /* アイコンを配置したい要素に「position: relative;」を記述 */
  .mail {
    position: relative;
  }
  
  .mail::before {
    /* 基本的に変更しないプロパティ */  
    content: '';
    position: absolute;
    top: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  
    /* アイコンとテキストの間隔を調整するプロパティ */
    left: -25px;
  
    /* アイコンの上下位置を調整するプロパティ */
    transform: translateY(-50%);
  
    /* アイコンのサイズを調整するプロパティ */
    width: 1.1em;
    height: 1.1em;
  
    /* 表示させるアイコンのパスを指定 */
    background-image: url('../img/mail.png');

  }
  
  /*personアイコン*/

div {
    width: 100%;
    margin: 0 2em;
  }
  
  /* アイコンを配置したい要素に「position: relative;」を記述 */
  .person {
    position: relative;
  }
  
  .person::before {
    /* 基本的に変更しないプロパティ */  
    content: '';
    position: absolute;
    top: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  
    /* アイコンとテキストの間隔を調整するプロパティ */
    left: -25px;
  
    /* アイコンの上下位置を調整するプロパティ */
    transform: translateY(-50%);
  
    /* アイコンのサイズを調整するプロパティ */
    width: 1.1em;
    height: 1.1em;
  
    /* 表示させるアイコンのパスを指定 */
    background-image: url('../img/person.png');
  }

  /*houseアイコン*/

div {
    width: 100%;
    margin: 0 2em;
  }
  
  /* アイコンを配置したい要素に「position: relative;」を記述 */
  .house {
    position: relative;
  }
  
  .house::before {
    /* 基本的に変更しないプロパティ */  
    content: '';
    position: absolute;
    top: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  
    /* アイコンとテキストの間隔を調整するプロパティ */
    left: -25px;
  
    /* アイコンの上下位置を調整するプロパティ */
    transform: translateY(-50%);
  
    /* アイコンのサイズを調整するプロパティ */
    width: 1.1em;
    height: 1.1em;
  
    /* 表示させるアイコンのパスを指定 */
    background-image: url('../img/house.png');
  }

  /*linkアイコン*/

div {
    width: 100%;
    margin: 0 2em;
  }
  
  /* アイコンを配置したい要素に「position: relative;」を記述 */
  .link {
    position: relative;
  }
  
  .link::before {
    /* 基本的に変更しないプロパティ */  
    content: '';
    position: absolute;
    top: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  
    /* アイコンとテキストの間隔を調整するプロパティ */
    left: -25px;
  
    /* アイコンの上下位置を調整するプロパティ */
    transform: translateY(-50%);
  
    /* アイコンのサイズを調整するプロパティ */
    width: 1.1em;
    height: 1.1em;
  
    /* 表示させるアイコンのパスを指定 */
    background-image: url('../img/link.png');
  }

  /*heartアイコン*/

div {
    width: 100%;
    margin: 0 2em;
  }
  
  /* アイコンを配置したい要素に「position: relative;」を記述 */
  .heart {
    position: relative;
  }
  
  .heart::before {
    /* 基本的に変更しないプロパティ */  
    content: '';
    position: absolute;
    top: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  
    /* アイコンとテキストの間隔を調整するプロパティ */
    left: -25px;
  
    /* アイコンの上下位置を調整するプロパティ */
    transform: translateY(-50%);
  
    /* アイコンのサイズを調整するプロパティ */
    width: 1.1em;
    height: 1.1em;
  
    /* 表示させるアイコンのパスを指定 */
    background-image: url('../img/heart.png');
  }
  
  /*fukidashiアイコン*/

div {
    width: 100%;
    margin: 0 2em;
  }
  
  /* アイコンを配置したい要素に「position: relative;」を記述 */
  .fukidashi {
    position: relative;
  }
  
  .fukidashi::before {
    /* 基本的に変更しないプロパティ */  
    content: '';
    position: absolute;
    top: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  
    /* アイコンとテキストの間隔を調整するプロパティ */
    left: -25px;
  
    /* アイコンの上下位置を調整するプロパティ */
    transform: translateY(-50%);
  
    /* アイコンのサイズを調整するプロパティ */
    width: 1.1em;
    height: 1.1em;
  
    /* 表示させるアイコンのパスを指定 */
    background-image: url('../img/fukidashi.png');
  }


/*新規box*/
  

.box27 {
    position: relative;
    margin: 5px 5px;
    padding: 20px;
    background-color: #fff;
    border-bottom: solid 1px #a1a1a1;
}


.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    font-size: 17px;
    color: #000000;
    font-weight: bold;
}
.box27 p {
    margin: 0; 
    padding: 0;
}

/*特殊box*/
.box214 {
    position: relative;
    margin: 50px 0 ;
    padding: 50px;
    border: solid 2px #fe8080;
    background-color: #ffc6c6;
}
.box214 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -2px;
    padding:0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #fe8080;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box214 p {
    margin: 0; 
    padding: 0;
    font-color: #fe8080;
}

ul.cp_list {
    padding:0.5em;
    list-style-type:none;
  }
  ul.cp_list li {
    position:relative;
    padding: 0em 0.3em 0.3em 1.3em;
    font-weight: bold;
  }
  ul.cp_list li::before {
    position: absolute;
    content: '';
    display: block;
    top: 0.5em;
    left: -5px;
    width: 6px;
    height: 6px;
    border-right: 3px solid #000000;
    border-bottom: 3px solid #000000;
    transform: rotate(-45deg);
  }

  .home_btn {
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 100;
	
}
.home_btn a {
	display: block;
	text-align: center;
	color: #ffffff;
	background-color: #000000;
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 50%;
    
        content:'\e88a';
        font-family: "Material Icons Round";
        font-size: 30px;
    }

.home_btn a:hover { background-color: #a1a1a1;}

/* 短編リスト */
.shortList {
    columns: 2;
}
.shortList li {
    margin-bottom: 5px;
    color: #999;
    break-inside: avoid;
    page-break-inside: avoid;
}
.shortList li a {
    margin-right: .5em;
}

/* 注意マーク */
.caution::after {
    content: '*';
    display: inline;
    color: #ea7781;
}


/* ヘッダー */
.mainHeader {
    position: relative;
    width: 40%;
     min-width: 500px;
    padding: 50px;
    margin: auto;
    background: ##000000;
    border: #000000 solid 2px;
    box-sizing: border-box;
    text-align: center;
}
h1 {
    position: center;
    text-align: center;
    font-size: 2em;
    z-index: 2;
}
.mainHeader::before {
    content: '';
    display: block;
    width: 90px;
    height: 90px;
    margin: 20px auto;
    background: url('../img/top.png') center / contain no-repeat;
}
.url {
    font-size: 1rem;
    letter-spacing: 2px;
}
.headerNav {
    margin-top: 30px;
}
.headerNav li {
    margin-bottom: 5px;
    font-size: 1.1em;
}
.mainHeader a {
    color: #243444;
}


/* ナビゲーション（ハンバーガーメニュー） */
.mainNav {
    position: fixed;
     top: 0;
    opacity: 0;
    transition: .5s;
    visibility: hidden;
    z-index: -1;
}
.mainNav a {
    color: #243444;
}
.mainNav::before {
    content: '';
    display: block;
    position: absolute;
     top: 0;
     left: 0;
    width: calc(100vw + 400px);
    height: 100vh;
    transform: translateX(-400px);
}
.mainNav ul {
    width: 400px;
    height: 100vh;
    padding: 100px 50px;
    background: #fffb;
    backdrop-filter: blur(2px);
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}
.mainNav li {
    margin: 20px 0;
}
.mainNav li a {
    padding: 10px;
}


/* ナビゲーション開閉 */
.navTrigger {
    position: fixed;
     top: 20px;
    font-size: 1rem;
    opacity: 0;
    text-transform: uppercase;
    transition: .5s;
    visibility: hidden;
    z-index: 3;
}
.navTrigger a {
    display: inline-block;
    width: 5em;
    padding: 10px;
    border-right: #243444 solid 1px;
    border-bottom: #243444 solid 1px;
    color: #243444;
    cursor: pointer;
    text-align: center;
    transform: translateX(-140%);
}
.navTrigger a::before {
    content: 'menu';
    position: relative;
    z-index: 2;
}

/* ↓スクロールに応じてmenuボタンを表示＆子ページで最初から表示 */
.view.navTrigger,
.page .navTrigger {
    opacity: 1;
    visibility: visible;
}

/* ↓クリックで開いたとき */
.mainNav.open {
    z-index: 0;
    opacity: 1;
    visibility: visible;
}
.open.navTrigger a::before {
    content: 'close';
}


/* フッター（削除OK※デフォルト非表示） */
.mainFooter {
    margin: 10vh 0;
    font-size: 1rem;
    text-align: center;
}
.mainFooter a {
    color: #000000;
}


/* レスポンシブ調整用 */
@media(max-width:1500px) {
    .longList {
        display: block;
    }
    .longList li {
        margin-bottom: 30px;
    }
    .longList li a {
        display: inline-grid;
        gap: 0 20px;
        width: auto;
    }
    .shortList {
        columns: 1;
    }
}


@media(max-width:800px) {
    body {
        font-size: 1.1rem;
    }
    h4 {
        margin: 15px 0;
    }
    p {
        margin: 0 .5em;
    }
    .box {
        padding: 30px 20px;
    }
    .space {
        margin: 10px;
    }
    .mainWrap {
        width: 90%;
        max-width: 600px;
        min-width: 250px;
    }
    .longList li {
        margin-bottom: 15px;
    }
    .longList li a {
        grid-template-columns: 80px 1fr;
        grid-template-rows: minmax(1.2em, auto) 1fr;
        min-height: 70px;
    }
    .longList a > img {
        width: 80px;
        height: 80px;
    }
    .mainHeader {
        width: 70%;
        min-width: 250px;
    }
    .mainHeader::before {
        width: 70px;
        height: 70px;
    }
    .mainNav::before {
        background: #fffb;
        backdrop-filter: blur(2px);
    }
    .mainNav ul {
        background: #fff0;
        backdrop-filter: none;
    }
    .navTrigger a {
        transform: translateX(-10px);
    }
    .navTrigger a::after {
        content: '';
        display: block;
        position: absolute;
         top: 35%;
         left: 10%;
        width: 80%;
        height: 30%;
        background: #fff0;
        backdrop-filter: blur(2px);
        filter: blur(5px);
    }
}



  .card3 {
    height: 50px;
    margin-left: 0px;
    padding-left: 0px;
}

.box3 {
    display: flex;
    position: relative;/*相対配置*/
    margin-left: 0px;
    
}

.box3 img {
    width: 500px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px ;
    border: #000000 solid 1px;
    filter: brightness(50%);

}

.box3 p {
    position: absolute;/*絶対配置*/
    color: white;/*文字は白に*/
    
    top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
    }

    .original-button {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-decoration: none;
        color: #ffffff;
        font-size: 18px;
        border-radius: 0px;
        width: 150px;
        height: 40px;
        font-weight: bold;
        position: relative;
        transition: 0.3s;
        background-color: #000000ff;
      }
      
      .original-button::before, .original-button::after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: 15px;
        transform-origin: 100% 50%;
        height: 1px;
        width: 11px;
        background-color: #fff;
        border-radius: 2px;
        will-change: transform;
        transition: .3s;
      }
      
      .original-button::before {
        transform: translateY(-50%) rotate(30deg);
      }
      
      .original-button::after {
        transform: translateY(-50%) rotate(-30deg);
      }
      
      .original-button:hover::before {
        transform: translate(5px, -50%) rotate(30deg);
      }
      
      .original-button:hover::after {
        transform: translate(5px, -50%) rotate(-30deg);
      }

      p.top img {
        width: 20%;
        margin: 0 0 0 auto;
        }

        .background {
            background-image: url('http://paindemie.sakura.ne.jp/img/top.png');
            background-attachment: fixed;
            background-size: cover;
            background-position: center;
          }


.select {
    margin: auto;
    width: fit-content;
    gap: 1rem i.5rem;  
}

.border-radius {
  line-height: 1em;
  border: solid 2px #000000;
  border-radius: 100vh;
  text-align: center;
}

.midashi {
    height: 25px;
    width: auto;
    margin-bottom: 40px;
    margin-left: 0px;
}
          
